CN108462901A - A kind of media file playing method and device - Google Patents

A kind of media file playing method and device Download PDF

Info

Publication number
CN108462901A
CN108462901A CN201810268936.0A CN201810268936A CN108462901A CN 108462901 A CN108462901 A CN 108462901A CN 201810268936 A CN201810268936 A CN 201810268936A CN 108462901 A CN108462901 A CN 108462901A
Authority
CN
China
Prior art keywords
media file
file
playing
media
description information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810268936.0A
Other languages
Chinese (zh)
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.)
SHANGHAI QINIU INFORMATION TECHNOLOGIES Co Ltd
Original Assignee
SHANGHAI QINIU INFORMATION TECHNOLOGIES Co 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 SHANGHAI QINIU INFORMATION TECHNOLOGIES Co Ltd filed Critical SHANGHAI QINIU INFORMATION TECHNOLOGIES Co Ltd
Priority to CN201810268936.0A priority Critical patent/CN108462901A/en
Publication of CN108462901A publication Critical patent/CN108462901A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/84Generation or processing of descriptive data, e.g. content descriptors

Abstract

The embodiment of the invention discloses a kind of media file playing method and device, the media file playing method includes:In the playing process of the first media file, current play list is obtained;If there are the second media files in the current play list, the file type of second media file is obtained;If the file type of second media file is identical as the first media file, the description information of second media file is obtained;When receiving play instruction, second media file is played according to the description information.The embodiment of the present invention, which can be realized, is rapidly switched to play next file to be played, reduces taking in media file handoff procedure, reduces user's waiting time, the user experience is improved.

Description

A kind of media file playing method and device
Technical field
The present invention relates to technical field of media more particularly to a kind of media file playing methods and device.
Background technology
At this stage, with the continuous development of mobile terminal, it is more prevalent that Online Video is watched by mobile terminal.
When playing multiple Online Videos, due to belonging to different files between video, in handoff procedure, player is logical Chang Huixian destroys process, then opens again, this can cause broadcasting handoff procedure slower, and period of reservation of number is longer, user experience It is bad.
Invention content
A kind of media file playing method of offer of the embodiment of the present invention and device, can fast implement multiple media files Broadcasting.
First aspect of the embodiment of the present invention provides a kind of media file playing method, including:
In the playing process of the first media file, current play list is obtained;
If there are the second media files in the current play list, the files classes of second media file are obtained Type;
If the file type of second media file is identical as the first media file, second media file is obtained Description information;
When receiving play instruction, second media file is played according to the description information.
Optionally, described in the playing process of the first media file, current play list is obtained, including:
The playing progress rate of first media file is detected, if the playing progress rate is more than preset first threshold value, is being worked as Start new process except preceding broadcasting process;
Current interface information is obtained by the new process, playlist is obtained according to the interface information.
Optionally, the description information for obtaining the second media file, including:
Read the target data block of second media file;
Corresponding description information is obtained according to the target data block, wherein the description information includes second matchmaker Resolution ratio, playing duration, coded format and the timestamp information of body file.
Optionally, described when receiving play instruction, second media file, packet are played according to the description information It includes:
The playing progress rate for detecting first media file is generated when the playing progress rate is more than default second threshold Play instruction;
According to the play instruction, the description information is read;
The link information of second media file is generated according to the description information;
The link information is accessed to play second media file.
Optionally, described when receiving play instruction, second media file, packet are played according to the description information It includes:
The operational order for detecting user is determined as receiving broadcasting and refers to when the operational order meets preset condition It enables, wherein the preset condition is to slide past pre-determined distance to preset direction;
According to play instruction, the description information is read;
The link information of second media file is generated according to the description information;
The link information is accessed to play second media file.
Second aspect of the embodiment of the present invention provides a kind of playback of media files device, including:
List acquisition module, in the playing process of the first media file, obtaining current play list;
Type acquisition module, for when in the current play list exist when the second media file, acquisition described second The file type of media file;
Data obtaining module, for when the file type of second media file is identical as the first media file, obtaining Take the description information of second media file;
Playing module, for when receiving play instruction, second media file to be played according to the description information.
Optionally, the list acquisition module is specifically used for:
The playing progress rate of first media file is detected, if the playing progress rate is more than preset first threshold value, is being worked as Start new process except preceding broadcasting process;
Current interface information is obtained by the new process, playlist is obtained according to the interface information.
Optionally, the type acquisition module is specifically used for:
Read the target data block of second media file;
Corresponding description information is obtained according to the target data block, wherein the description information includes second matchmaker Resolution ratio, playing duration, coded format and the timestamp information of body file.
Optionally, the playing module is specifically used for:
The playing progress rate for detecting first media file is generated when the playing progress rate is more than default second threshold Play instruction;
According to the play instruction, the description information is read;
The link information of second media file is generated according to the description information;
The link information is accessed to play second media file.
Optionally, the playing module is specifically used for:
The operational order for detecting user is determined as receiving broadcasting and refers to when the operational order meets preset condition It enables, wherein the preset condition is to slide past pre-determined distance to preset direction;
According to play instruction, the description information is read;
The link information of second media file is generated according to the description information;
The link information is accessed to play second media file.
Implement the embodiment of the present invention, has the advantages that:
Media file playing method in the embodiment of the present invention and device, it is synchronous to obtain in current playing process Next file to be played, and when next file to be played is identical as current played file type, obtain next file to be played Description information, so as to quickly play next file to be played, reduce in media file handoff procedure take, reduce User waiting time, the user experience is improved.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is a kind of method flow diagram of media file playing method first embodiment provided in an embodiment of the present invention.
Fig. 2 is a kind of method flow diagram of media file playing method second embodiment provided in an embodiment of the present invention.
Fig. 3 is a kind of method flow diagram of media file playing method 3rd embodiment provided in an embodiment of the present invention.
Fig. 4 is a kind of method flow diagram of media file playing method fourth embodiment provided in an embodiment of the present invention.
Fig. 5 is a kind of structural schematic diagram of playback of media files device first embodiment provided in an embodiment of the present invention.
Fig. 6 is a kind of structural schematic diagram of mobile terminal provided in an embodiment of the present invention.
Specific implementation mode
The disclosure is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the disclosure, rather than the restriction to the disclosure.It also should be noted that in order to just It is illustrated only in description, attached drawing and the relevant part of the disclosure rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing described as flow chart or method.It is therein to be permitted although each step to be described as to the processing of sequence in flow chart Multi-step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged, when its operation The processing can be terminated when completion, it is also possible to the other steps being not included in attached drawing.Processing can correspond to In method, function, regulation, subroutine, subprogram etc..
Fig. 1 is a kind of method flow diagram of media file playing method first embodiment provided in an embodiment of the present invention.It should Media file playing method is applied to terminal, and the terminal can be computer, desktop computer, tablet computer etc., or Smart mobile phone, e-book, wearable device etc..The terminal can pass through installation application program or the shape of built-in application program The method that formula realizes playback of media files in the embodiment of the present invention, the media file can be the files of terminal local storage, It can also be the file come from network linking.The media file playing method includes the following steps S101-S104.
In step S101, in the playing process of the first media file, current play list is obtained.
Specifically, when terminal is in playing process, current played file is the first media file, obtains terminal at this time Playlist.In the present embodiment, the playlist can be that user chooses in multiple media files and given birth in advance At playlist;Can also be the playlist arisen directly from network linking, such as various movie Lists, song list Deng;Multiple fragments of complete media file during streaming media are can also be, for example, due to being broadcast in Streaming Media All it is the form played using caching side is become in putting, Streaming Media would generally carry out fragment, if what is played at this time is second A fragment, then next fragment in corresponding playlist is exactly the fragment for being ordered as third.It is understood that institute It states and obtains playlist and can also be and obtained by other forms, the playlist can also be other forms, and the present invention is real Example is applied to be not limited thereto.
In step s 102, if there are the second media files in the current play list, second media are obtained The file type of file.
Specifically, in this implementation, second media file is to be sorted in current play list near preceding media file, If the control that i.e. user selects next media file to play out executes, second media file can be automatic jumped to. There are when the second media file in current play list, the file type of the second media file is obtained, the file type can be with There are many forms, such as MP4 (MPEG-4, Moving Picture Experts Group dynamic image expert groups), FLV (FlashVideo) and HLS (HTTP Live Streaming).In other embodiments, file format may be it His format, such as individual video format or individual audio format, the embodiment of the present invention are not limited thereto.
In step s 103, if the file type of second media file is identical as the first media file, institute is obtained State the description information of the second media file.
Specifically, when the file type of the second media file is identical as the first media file, it is used to parse, render at this time The related tool of first media file may be used to the second media file, and surface may be implemented quickly to play at this time.Therefore, The description information of the second media file is further obtained at this time.In the present embodiment, obtain description information mode can have it is more Kind, for example obtained by reading specific data block, or read specific frame structure and obtained.
Optionally, in one embodiment, the description information for obtaining the second media file includes:Read described The target data block of two media files;Corresponding description information is obtained according to the target data block, wherein the description information Include resolution ratio, playing duration, coded format and the timestamp information of second media file.It is understood that institute It includes the relevant information needed in playing process to state description information, can quickly be played by description information.At it In his embodiment, the description information can also include other information, and the present embodiment is not limited thereto.
In step S104, when receiving play instruction, second media file is played according to the description information.
Specifically, the play instruction refers to the play instruction to the second media file, and when receiving play instruction, root The second media file is played according to the description information got not needing so as to realize the quick broadcasting of the second media file The flow for playing out the destruction of device and restarting is realized and is seamlessly connected broadcasting.
Media file playing method in the embodiment of the present invention, in current playing process, synchronous acquisition is next to be waited broadcasting File is put, and when next file to be played is identical as current played file type, obtains the description letter of next file to be played Breath reduces taking in media file handoff procedure, reduces user etc. so as to quickly play next file to be played Wait for duration, the user experience is improved.
Fig. 2 is a kind of method flow diagram of media file playing method second embodiment provided in an embodiment of the present invention.It is right Than first embodiment shown in FIG. 1, in the present embodiment, the step of how obtaining playlist further comprised.In this reality It applies in example, which includes the following steps S201-S205.
In step s 201, in the playing process of the first media file, detect the broadcasting of first media file into Degree starts new process if the playing progress rate is more than preset first threshold value except currently playing process.
Specifically, in the present embodiment, the playing progress rate of the first currently playing media file is detected first, works as playing progress rate When more than preset first threshold value, show that the first media file has played the regular hour, avoids the occurrence of the first matchmaker of user couple Body file lose interest in direct switching the case where occur.The preset first threshold value can be pre-set, and can be one specific Time numerical value, such as 5 minutes or 30 minutes, can also be a ratio value, for example played 50% or 70%, this hair Bright embodiment is not limited thereto.When playing progress rate is more than preset first threshold value, begin preparing for obtaining playlist at this time.This In embodiment, by starting the form of new process except broadcasting process, to determine whether there are playlists.It is described new Process often executes parallel with broadcasting, to take place without composition influence to existing play.
In step S202, current interface information is obtained by the new process, is obtained according to the interface information Playlist.
Specifically, obtaining current interface information by new process, the interface information includes the display of present terminal Interface information, foreground application information etc..By analyzing current interface information, played column is generated from interface information Table includes the media file tabular for next needing to play out in the playlist.
In step S203, if there are the second media files in the current play list, second media are obtained The file type of file.
In step S204, if the file type of second media file is identical as the first media file, institute is obtained State the description information of the second media file.
In step S205, when receiving play instruction, second media file is played according to the description information.
Media file playing method in the embodiment of the present invention, it is same by parallel process in current playing process Step obtains playlist, and next file to be played is judged whether according to playlist, and next file to be played with work as When preceding played file type is identical, the description information of next file to be played is obtained, it is next to be played so as to quickly play File reduces taking in media file handoff procedure, reduces user's waiting time, the user experience is improved.
Fig. 3 is a kind of method flow diagram of media file playing method 3rd embodiment provided in an embodiment of the present invention.It is right Than implementation shown in fig. 1 or fig. 2, in the present embodiment, reception play instruction is further comprised, second is played according to description information The step of media file.In the present embodiment, this approach includes the following steps S301-S307.
In step S301, in the playing process of the first media file, current play list is obtained.
In step s 302, if there are the second media files in the current play list, second media are obtained The file type of file.
In step S303, if the file type of second media file is identical as the first media file, institute is obtained State the description information of the second media file.
In step s 304, the playing progress rate for detecting first media file, when the playing progress rate is more than default the When two threshold values, play instruction is generated.
Specifically, in the playing process of the first media file, implement to detect the playing progress rate, when playing progress rate is more than When default second threshold, show that the first media file will finish playing.The default second threshold can be pre-set, can be with Be a specific time numerical value, such as 9 minutes or 50 minutes, can also be a ratio value, for example, played 95% or Person 98%, it is to be understood that the concrete numerical value of the second threshold can be associated with the duration of first media file with And broadcasting speed.When playing progress rate is more than second threshold, play instruction is generated at this time, the play instruction is for switching first Media file to the second media file plays out.
In step S305, according to the play instruction, the description information is read.
Specifically, after receiving play instruction, the description information of the second media file is read.
In step S306, the link information of second media file is generated according to the description information.
Specifically, according to the corresponding link information of the description information of the second media file generation, in the present embodiment, the chain The address information that information can be network side is connect, described address information is network protocol address information, consequently facilitating directly accessing. In other embodiments, described address information may be the addresses URL, and corresponding net is being obtained after further parsing Network protocol address.
In step S307, the link information is accessed to play second media file.
Specifically, after obtaining link information, when the first playback of media files is completed, the link information is accessed To play second media file, it is switched fast to realize, reduces waiting process.
Media file playing method in the embodiment of the present invention, in current playing process, synchronous acquisition is next to be waited broadcasting File is put, and when next file to be played is identical as current played file type, obtains the description letter of next file to be played Breath reduces taking in media file handoff procedure, reduces user etc. so as to quickly play next file to be played Wait for duration, the user experience is improved.
Fig. 4 is a kind of method flow diagram of media file playing method 3rd embodiment provided in an embodiment of the present invention.It is right Than implementation shown in fig. 1 or fig. 2, in the present embodiment, reception play instruction is further comprised, second is played according to description information The step of media file.In the present embodiment, this approach includes the following steps S401-S407.It should be noted that in the present embodiment Step S304 differences in the embodiment of the flow of play instruction as shown in figure 3 are received in step S404, other steps are identical, herein It does not repeat.
In step S401, in the playing process of the first media file, current play list is obtained.
In step S402, if there are the second media files in the current play list, second media are obtained The file type of file.
In step S403, if the file type of second media file is identical as the first media file, institute is obtained State the description information of the second media file.
In step s 404, the operational order for detecting user is determined as when the operational order meets preset condition Receive play instruction.
Specifically, in the playing process of the first media file, the operational order of user is detected, wherein the operation refers to Order may include diversified forms, for example can be the gesture operation on terminal touch screen, can also be by physical button or Person's virtual key inputs, and can also be the instruction inputted by voice.In the present embodiment, the operational order is logical The gesture operation on terminal touch screen is crossed, when the gesture operation meets preset condition, is determined as receiving play instruction. The preset condition is to slide past pre-determined distance to preset direction.The preset direction can be upper and lower, or left It is right.I.e. when detect user on the screen to preset direction slide certain distance when, show user at this time want carry out media text The action of part switching, is confirmed as receiving play instruction at this time, subsequently be switched over according to play instruction.
In step S405, according to play instruction, the description information is read.
In step S406, the link information of second media file is generated according to the description information.
In step S 407, the link information is accessed to play second media file.
Media file playing method in the embodiment of the present invention, in current playing process, synchronous acquisition is next to be waited broadcasting File is put, and when next file to be played is identical as current played file type, obtains the description letter of next file to be played Breath reduces taking in media file handoff procedure, reduces user etc. so as to quickly play next file to be played Wait for duration, the user experience is improved.
Fig. 5 is a kind of structural schematic diagram of playback of media files device first embodiment provided in an embodiment of the present invention.It should Playback of media files device is applied to terminal, and the terminal can be computer, desktop computer, tablet computer etc., or Smart mobile phone, e-book, wearable device etc..The playback of media files device includes list acquisition module 501, type acquisition Module 502, data obtaining module 503 and playing module 504.
Wherein, the list acquisition module 501, in the playing process of the first media file, obtaining currently playing List;
The type acquisition module 502, for when in the current play list exist when the second media file, acquisition institute State the file type of the second media file;
Described information acquisition module 503, for the file type and the first media file phase when second media file Meanwhile obtaining the description information of second media file;
The playing module 504, for when receiving play instruction, second matchmaker to be played according to the description information Body file.
Optionally, the list acquisition module is specifically used for:
The playing progress rate of first media file is detected, if the playing progress rate is more than preset first threshold value, is being worked as Start new process except preceding broadcasting process;
Current interface information is obtained by the new process, playlist is obtained according to the interface information.
Optionally, the type acquisition module is specifically used for:
Read the target data block of second media file;
Corresponding description information is obtained according to the target data block, wherein the description information includes second matchmaker Resolution ratio, playing duration, coded format and the timestamp information of body file.
Optionally, the playing module is specifically used for:
The playing progress rate for detecting first media file is generated when the playing progress rate is more than default second threshold Play instruction;
According to the play instruction, the description information is read;
The link information of second media file is generated according to the description information;
The link information is accessed to play second media file.
Optionally, the playing module is specifically used for:
The operational order for detecting user is determined as receiving broadcasting and refers to when the operational order meets preset condition It enables, wherein the preset condition is to slide past pre-determined distance to preset direction;
According to play instruction, the description information is read;
The link information of second media file is generated according to the description information;
The link information is accessed to play second media file.
Playback of media files device in the embodiment of the present invention, in current playing process, synchronous acquisition is next to be waited broadcasting File is put, and when next file to be played is identical as current played file type, obtains the description letter of next file to be played Breath reduces taking in media file handoff procedure, reduces user etc. so as to quickly play next file to be played Wait for duration, the user experience is improved.
Fig. 6 is a kind of structural schematic diagram of mobile terminal provided in an embodiment of the present invention.It is understood that Fig. 1-Fig. 4 Shown in media file playing method and playback of media files device shown in fig. 5 can be applied to mobile terminal shown in fig. 6 In.As shown in fig. 6, mobile terminal includes that (quantity of the processor 601 in terminal can be one or more, Fig. 6 for processor 601 By taking a processor as an example) and memory 602.In an embodiment of the present invention, processor 601, memory 602 can be by total Line or other means connects, wherein in Fig. 6 for being connected by bus.
Wherein, executable program is stored in memory 602, processor 601 executes the executable program to realize such as Lower step:
In the playing process of the first media file, current play list is obtained;
If there are the second media files in the current play list, the files classes of second media file are obtained Type;
If the file type of second media file is identical as the first media file, second media file is obtained Description information;
When receiving play instruction, second media file is played according to the description information.
Optionally, the processor 601 obtains current play list in the playing process of the first media file, including:
The playing progress rate of first media file is detected, if the playing progress rate is more than preset first threshold value, is being worked as Start new process except preceding broadcasting process;
Current interface information is obtained by the new process, playlist is obtained according to the interface information.
Optionally, the processor 601 obtains the description information of the second media file, including:
Read the target data block of second media file;
Corresponding description information is obtained according to the target data block, wherein the description information includes second matchmaker Resolution ratio, playing duration, coded format and the timestamp information of body file.
Optionally, the processor 601 plays second matchmaker when receiving play instruction according to the description information Body file, including:
The playing progress rate for detecting first media file is generated when the playing progress rate is more than default second threshold Play instruction;
According to the play instruction, the description information is read;
The link information of second media file is generated according to the description information;
The link information is accessed to play second media file.
Optionally, the processor 601 plays second matchmaker when receiving play instruction according to the description information Body file, including:
The operational order for detecting user is determined as receiving broadcasting and refers to when the operational order meets preset condition It enables, wherein the preset condition is to slide past pre-determined distance to preset direction;
According to play instruction, the description information is read;
The link information of second media file is generated according to the description information;
The link information is accessed to play second media file.
Mobile terminal in the embodiment of the present invention, in current playing process, the synchronous next file to be played of acquisition, and When next file to be played is identical as current played file type, the description information of next file to be played is obtained, so as to It is enough quickly to play next file to be played, reduce taking in media file handoff procedure, reduces user's waiting time, carry User experience is risen.
The embodiment of the present invention additionally provides a kind of computer storage media, and the computer storage media is stored with executable Program, the executable program realize following steps when being performed:
In the playing process of the first media file, current play list is obtained;
If there are the second media files in the current play list, the files classes of second media file are obtained Type;
If the file type of second media file is identical as the first media file, second media file is obtained Description information;
When receiving play instruction, second media file is played according to the description information.
Optionally, it can be also used for realizing that media file as Figure 1-Figure 4 is broadcast when the executable program is performed Method is put, this will not be repeated here.
There is provided in above-described embodiment each module between any two can be achieved communication connection, and each module can in platform The communication of heart control device connects, and can perform in the disclosure by the quick recording device of fingerprint recognition for being provided in above-described embodiment is appointed The method quickly recorded by fingerprint recognition provided in embodiment of anticipating has and executes the corresponding function module of this method and have Beneficial effect, the technical detail not being described in detail in the above-described embodiments, reference can be made to fast provided in disclosure any embodiment The method of speed recording.
It will be appreciated that the disclosure also extends to the computer program for being suitable for that the disclosure tries out, especially Computer program on carrier or in carrier.Program can be with source code, object code, code intermediate source and such as part volume The form of the object code for the form translated, or with any other shape for being suitble to use in realization according to the disclosed method Formula.Also it will be noted that, such program may have many different frame designs.For example, realizing the side according to the disclosure Functional program code of method or system may be subdivided into one or more subroutine.
For that will be apparent for technical personnel in the functional many different modes of these subroutine intermediate distributions. Subroutine can be collectively stored in an executable file, to form self-contained program.Such executable file can To include computer executable instructions, such as processor instruction and/or interpreter instruction (for example, Java interpreter instruction).It can Alternatively, one or more or all subroutines of subroutine may be stored at least one external library file, and And statically or dynamically (such as at runtime) links with main program.Main program contains at least one of subroutine At least one calling.Subroutine can also include to mutual function call.It is related to the embodiment packet of computer program product Include the computer executable instructions corresponding at least one of illustrated method each step of the processing step of method.These refer to Subroutine can be subdivided into and/or be stored in one or more possible static or dynamic link file by enabling.
Another embodiment for being related to computer program product includes corresponding in illustrated system and/or product at least The computer executable instructions of each device in one device.These instructions can be subdivided into subroutine and/or be stored In one or more possible static or dynamic link file.
The carrier of computer program can be any entity or device that can deliver program.For example, carrier can wrap Containing storage medium, such as (ROM such as CDROM either semiconductor ROM) or magnetic recording media (such as floppy disk or hard disk).Into One step, carrier can be the carrier that can be transmitted, such as electricity either optical signalling its can via cable or optical cable, or Person is transmitted by radio or other means.When program is embodied as such signal, carrier can be by such cable Or device composition.Alternatively, carrier can be the integrated circuit for being wherein embedded with program, and the integrated circuit is suitable for holding Row correlation technique, or used in execution for correlation technique.
Should be noted that embodiment mentioned above is to illustrate the disclosure, rather than the disclosure is limited, and this The technical staff in field will design many alternate embodiments, without departing from scope of the appended claims.It is weighing During profit requires, the reference mark of any placement between round parentheses is not to be read as being limitations on claims.Verb " packet Include " and its paradigmatic depositing using the element being not excluded for other than those of recording in the claims or step .Article " one " before element or "one" be not excluded for the presence of a plurality of such elements.The disclosure can pass through Include the hardware of several visibly different components, and is realized by properly programmed computer.Enumerating several devices In device claim, several in these devices can be embodied by the same item of hardware.In mutually different appurtenance Profit states that the simple fact of certain measures does not indicate that the combination of these measures cannot be used to benefit in requiring.
If desired, different function discussed herein can be executed with different order and/or be executed simultaneously with one another. In addition, if if it is expected, one or more functions described above can be optional or can be combined.
If desired, each step is not limited to the sequence that executes in each embodiment, different step as discussed above It can be executed with different order and/or be executed simultaneously with one another.In addition, in other embodiments, described above one or more A step can be optional or can be combined.
Although various aspects of the disclosure provides in the independent claim, the other aspects of the disclosure include coming from The combination of the dependent claims of the feature of described embodiment and/or feature with independent claims, and not only It is the combination clearly provided in claim.
Although it is to be noted here that the foregoing describe the example embodiment of the disclosure, these descriptions are not It should be understood in a limiting sense.It is wanted without departing from such as appended right on the contrary, several change and modification can be carried out The scope of the present disclosure defined in asking.
Will be appreciated by those skilled in the art that each module in the device of the embodiment of the present disclosure can use general meter Device is calculated to realize, each module can concentrate in the group of networks of single computing device or computing device composition, and the disclosure is real The method that the device in example corresponds in previous embodiment is applied, can be realized, can also be led to by executable program code The mode of integrated circuit combination is crossed to realize, therefore the disclosure is not limited to specific hardware or software and its combination.
Will be appreciated by those skilled in the art that each module in the device of the embodiment of the present disclosure can use general shifting Dynamic terminal realizes that each module can concentrate in the device combination of single mobile terminal or mobile terminal composition, the disclosure Device in embodiment corresponds to the method in previous embodiment, can be realized by editing executable program code, It can be realized by way of integrated circuit combination, therefore the disclosure is not limited to specific hardware or software and its knot It closes.

Claims (10)

1. a kind of media file playing method, which is characterized in that including:
In the playing process of the first media file, current play list is obtained;
If there are the second media files in the current play list, the file type of second media file is obtained;
If the file type of second media file is identical as the first media file, retouching for second media file is obtained State information;
When receiving play instruction, second media file is played according to the description information.
2. media file playing method as described in claim 1, which is characterized in that the broadcasting in the first media file Cheng Zhong obtains current play list, including:
The playing progress rate of first media file is detected, if the playing progress rate is more than preset first threshold value, is broadcast currently It puts into and starts new process except journey;
Current interface information is obtained by the new process, playlist is obtained according to the interface information.
3. media file playing method as claimed in claim 1 or 2, which is characterized in that the second media file of the acquisition Description information, including:
Read the target data block of second media file;
Corresponding description information is obtained according to the target data block, wherein the description information includes the second media text Resolution ratio, playing duration, coded format and the timestamp information of part.
4. media file playing method as claimed in claim 3, which is characterized in that described when receiving play instruction, root Second media file is played according to the description information, including:
The playing progress rate for detecting first media file is generated and is played when the playing progress rate is more than default second threshold Instruction;
According to the play instruction, the description information is read;
The link information of second media file is generated according to the description information;
The link information is accessed to play second media file.
5. media file playing method as claimed in claim 3, which is characterized in that described when receiving play instruction, root Second media file is played according to the description information, including:
The operational order of detecting user is determined as receiving play instruction when the operational order meets preset condition, In, the preset condition is to slide past pre-determined distance to preset direction;
According to play instruction, the description information is read;
The link information of second media file is generated according to the description information;
The link information is accessed to play second media file.
6. a kind of playback of media files device, which is characterized in that including:
List acquisition module, in the playing process of the first media file, obtaining current play list;
Type acquisition module, for when existing when the second media file in the current play list, acquisition second media The file type of file;
Data obtaining module, for when the file type of second media file is identical as the first media file, obtaining institute State the description information of the second media file;
Playing module, for when receiving play instruction, second media file to be played according to the description information.
7. playback of media files device as claimed in claim 6, which is characterized in that the list acquisition module is specifically used for:
The playing progress rate of first media file is detected, if the playing progress rate is more than preset first threshold value, is broadcast currently It puts into and starts new process except journey;
Current interface information is obtained by the new process, playlist is obtained according to the interface information.
8. playback of media files device as claimed in claims 6 or 7, which is characterized in that the type acquisition module is specifically used In:
Read the target data block of second media file;
Corresponding description information is obtained according to the target data block, wherein the description information includes the second media text Resolution ratio, playing duration, coded format and the timestamp information of part.
9. playback of media files device as claimed in claim 8, which is characterized in that the playing module is specifically used for:
The playing progress rate for detecting first media file is generated and is played when the playing progress rate is more than default second threshold Instruction;
According to the play instruction, the description information is read;
The link information of second media file is generated according to the description information;
The link information is accessed to play second media file.
10. playback of media files device as claimed in claim 8, which is characterized in that the playing module is specifically used for:
The operational order of detecting user is determined as receiving play instruction when the operational order meets preset condition, In, the preset condition is to slide past pre-determined distance to preset direction;
According to play instruction, the description information is read;
The link information of second media file is generated according to the description information;
The link information is accessed to play second media file.
CN201810268936.0A 2018-03-29 2018-03-29 A kind of media file playing method and device Pending CN108462901A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810268936.0A CN108462901A (en) 2018-03-29 2018-03-29 A kind of media file playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810268936.0A CN108462901A (en) 2018-03-29 2018-03-29 A kind of media file playing method and device

Publications (1)

Publication Number Publication Date
CN108462901A true CN108462901A (en) 2018-08-28

Family

ID=63236971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810268936.0A Pending CN108462901A (en) 2018-03-29 2018-03-29 A kind of media file playing method and device

Country Status (1)

Country Link
CN (1) CN108462901A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552791A (en) * 2009-05-22 2009-10-07 腾讯科技(深圳)有限公司 Method and system for playing multiple media file
CN104243394A (en) * 2013-06-06 2014-12-24 腾讯科技(深圳)有限公司 Multimedia file playing method and device
CN105792020A (en) * 2014-12-26 2016-07-20 北京奇虎科技有限公司 Method and device for playing video file
CN107547940A (en) * 2017-09-13 2018-01-05 广州酷狗计算机科技有限公司 Video playback processing method, equipment and computer-readable recording medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101552791A (en) * 2009-05-22 2009-10-07 腾讯科技(深圳)有限公司 Method and system for playing multiple media file
CN104243394A (en) * 2013-06-06 2014-12-24 腾讯科技(深圳)有限公司 Multimedia file playing method and device
CN105792020A (en) * 2014-12-26 2016-07-20 北京奇虎科技有限公司 Method and device for playing video file
CN107547940A (en) * 2017-09-13 2018-01-05 广州酷狗计算机科技有限公司 Video playback processing method, equipment and computer-readable recording medium

Similar Documents

Publication Publication Date Title
CN104205209B9 (en) Playback controlling apparatus, playback controls method
CN109246461A (en) Method, applications client and the electronic equipment that video preloads
CN109640188B (en) Video preview method and device, electronic equipment and computer readable storage medium
WO2013083065A1 (en) Music playing method, third-party application and device
US10319411B2 (en) Device and method for playing an interactive audiovisual movie
CN104918136A (en) Video positioning method and device
US20080229204A1 (en) Apparatus, System And Method For The Navigation Of Aggregated Content Using Skipping And Content Metadata
WO2013176510A1 (en) Method and apparatus for multi-playing videos
CN109257611A (en) A kind of video broadcasting method, device, terminal device and server
CN109151595A (en) Method for processing video frequency, device, terminal and medium
CN111291220B (en) Label display method and device, electronic equipment and computer readable medium
US20090094548A1 (en) Information Processing Unit and Scroll Method
CN106412634A (en) Media file pushing method, media file server and media file pushing system
CN108600813A (en) a kind of media file playing method, device and media play system
CN103618963B (en) Program look back method and device in intelligent television
CN103596034A (en) Control method and control device for desktop display of intelligent television
CN105491440B (en) A kind of application method of play control, terminal and server
CN104967911A (en) Multimedia file insertion position determining method and apparatus
CN110072145A (en) Information broadcasting method, device and terminal device for terminal device
CN108462901A (en) A kind of media file playing method and device
CN103686416A (en) Processing method and device for 3D (Dimensional) setting information in intelligent television
CN106940722A (en) A kind of image display method and device
CN110913135A (en) Video shooting method and device, electronic equipment and storage medium
CN111246304A (en) Video processing method and device, electronic equipment and computer readable storage medium
CN110784753A (en) Interactive video playing method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180828

RJ01 Rejection of invention patent application after publication