CN108462902A - A kind of media file read method and device, multimedia play system - Google Patents
A kind of media file read method and device, multimedia play system Download PDFInfo
- Publication number
- CN108462902A CN108462902A CN201810268945.XA CN201810268945A CN108462902A CN 108462902 A CN108462902 A CN 108462902A CN 201810268945 A CN201810268945 A CN 201810268945A CN 108462902 A CN108462902 A CN 108462902A
- Authority
- CN
- China
- Prior art keywords
- media file
- information
- interface
- target
- read
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/482—End-user interface for program selection
- H04N21/4826—End-user interface for program selection using recommendation lists, e.g. of programs or channels sorted out according to their score
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/41—Indexing; Data structures therefor; Storage structures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/64—Addressing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
- H04N21/64322—IP
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
An embodiment of the present invention provides a kind of media file read method and device, multimedia play system, the method includes:The interface information for detecting terminal obtains the broadcast address of target media file according to the interface information;The broadcast address is parsed, the corresponding internet protocol address of the broadcast address is obtained;The internet protocol address is accessed, the description information of the target media file is obtained;The index position of the target media file is obtained according to the description information;It is created according to the index position and reads the access link.The embodiment of the present invention can realize the quick reading of media file, to realize quick opening and the broadcasting of network media file, reduce period of reservation of number, promote user experience.
Description
Technical field
The present invention relates to the read method and device of technical field of media more particularly to a kind of media file, multimedias to broadcast
Place system.
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 carrying out the broadcasting of Online Video, due to the performance difference of mobile terminal and the difference of network environment, open
When video if buffer time, time-consuming for opening, will give user bad experience.Therefore, video text how is fast implemented
The reading of part is this field urgent problem to be solved.
Invention content
A kind of media file read method of offer of the embodiment of the present invention and device, multimedia play system, can be quickly real
The reading and broadcasting of existing media file.
First aspect of the embodiment of the present invention provides a kind of media file read method, including:
The interface information for detecting terminal obtains the broadcast address of target media file according to the interface information;
The broadcast address is parsed, the corresponding internet protocol address of the broadcast address is obtained;
The internet protocol address is accessed, the description information of the target media file is obtained;
The index position of the target media file is obtained according to the description information;
It is created according to the index position and reads the access link.
Optionally, the interface information of the detecting terminal, the broadcasting of target media file is obtained according to the interface information
Address, including:
Operational order of the user in terminal is obtained, the operational order is executed;
Judge whether the operational order is into preset target interface, wherein the preset target interface is media
Listed files interface;
When the operational order is to enter preset target interface, obtain all on the media file tabular interface
Media file information;
The broadcast address of all media files is obtained according to all media file informations;
When receiving the selection instruction of user, the broadcast address of target media file is determined according to the selection instruction.
Optionally, the parsing broadcast address, obtains the corresponding internet protocol address of the broadcast address, including:
Access cache searches the corresponding parsing information of the broadcast address in the buffer;
Corresponding internet protocol address is generated according to the parsing information.
Optionally, the index position that the target media file is obtained according to the description information, including:
The description information is read, index information is searched in the description information;
The index position of the target media file is obtained according to the index information, wherein the index position refers to rope
Draw table in the position of the target media file, the concordance list includes:Total duration, the data packet of the target media file are total
Number, data packet header size and average bit rate.
Optionally, described to create and read access link according to the index position, including:
The index position is parsed, the access information of the concordance list is obtained;
It is created according to the access information and accesses link;
The access link is directly read, and the target media file is read according to the concordance list.
Second aspect of the embodiment of the present invention provides a kind of media file reading device, including:
Detecting module, the interface information for detecting terminal obtain broadcasting for target media file according to the interface information
Put address;
Parsing module obtains the corresponding internet protocol address of the broadcast address for parsing the broadcast address;
Access modules obtain the description information of the target media file for accessing the internet protocol address;
Acquisition module, the index position for obtaining the target media file according to the description information;
Read module, for the access link to be created and read according to the index position.
Optionally, the detecting module is specifically used for:
Operational order of the user in terminal is obtained, the operational order is executed;
Judge whether the operational order is into preset target interface, wherein the preset target interface is media
Listed files interface;
When the operational order is to enter preset target interface, obtain all on the media file tabular interface
Media file information;
The broadcast address of all media files is obtained according to all media file informations;
When receiving the selection instruction of user, the broadcast address of target media file is determined according to the selection instruction.
Optionally, the parsing module is specifically used for:
Access cache searches the corresponding parsing information of the broadcast address in the buffer;
Corresponding internet protocol address is generated according to the parsing information.
Optionally, the acquisition module is specifically used for:
The description information is read, index information is searched in the description information;
The index position of the target media file is obtained according to the index information, wherein the index position refers to rope
Draw table in the position of the target media file, the concordance list includes:Total duration, the data packet of the target media file are total
Number, data packet header size and average bit rate.
Optionally, the read module is specifically used for:
The index position is parsed, the access information of the concordance list is obtained;
It is created according to the access information and accesses link;
The access link is directly read, and the target media file is read according to the concordance list.
The present invention also provides a kind of multimedia play systems, and it includes that above-mentioned media file is read to change multimedia play system
Take device.
Implement the embodiment of the present invention, has the advantages that:
Media file read method in the embodiment of the present invention and device, multimedia play system, by detecting terminal
Interface information, the broadcast address and internet protocol address of quick obtaining target media file in advance, and further pass through and access net
Network protocol address obtains the description information of corresponding target media file, and then according to the quick reading media file of index position,
To realize the quick reading of media file, realizes quick opening and the broadcasting of network media file, reduces period of reservation of number,
Promote user experience.
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 read method first embodiment provided in an embodiment of the present invention.
Fig. 2 is a kind of method flow diagram of media file read method second embodiment provided in an embodiment of the present invention.
Fig. 3 is a kind of method flow diagram of media file read method 3rd embodiment provided in an embodiment of the present invention.
Fig. 4 is a kind of method flow diagram of media file read method fourth embodiment provided in an embodiment of the present invention.
Fig. 5 is a kind of method flow diagram of the 5th embodiment of media file read method provided in an embodiment of the present invention.
Fig. 6 is a kind of structural schematic diagram of one embodiment of media file reading device provided in an embodiment of the present invention.
Fig. 7 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 read method first embodiment provided in an embodiment of the present invention.It should
Media file read 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..Optionally, when the terminal is smart mobile phone, the terminal passes through installation
Application program realizes function of viewing video, such as the application of all kinds of video classes, short Video Applications, live streaming class application etc..This implementation
In example, it using media file read method provided in this embodiment, can quickly realize the reading of media file, reduce user
Stand-by period.The media file read method includes the following steps S101-S105.
In step S101, the interface information of terminal is detected, broadcasting for target media file is obtained according to the interface information
Put address.
Specifically, depending on the user's operation, the interface information of terminal is detected, when interface information meets preset condition,
The broadcast address of media file is directly obtained according to interface information.In the present embodiment, the interface information can be all kinds of videos
The default interface of class application program is carried out the action for the broadcast address for obtaining media file that is, when entering the default interface,
Without waiting until that user actively clicks, so as to obtain broadcast address in advance, accelerates entire playing process, reduce the waiting of user
Time.
In step s 102, the broadcast address is parsed, the corresponding internet protocol address of the broadcast address is obtained.
Specifically, after getting broadcast address, need broadcast address being converted to corresponding internet protocol address
(IP address), the broadcast address generally play domain name, need to parse the broadcasting domain name, obtain corresponding network association
Address is discussed, the operation of subsequent reading and broadcasting could be carried out.
In step s 103, the internet protocol address is accessed, the description information of the target media file is obtained.
Specifically, after obtaining the internet protocol address of target media file, the internet protocol address is accessed, is obtained
Take corresponding description file.In the present embodiment, the shape to the server transmission request bag where target media file can be passed through
Formula, request description file.The server can return to corresponding information, terminal root to client (being terminal in the present embodiment)
The acquisition of information returned according to server describes file.
In step S104, the index position of the target media file is obtained according to the description information.
Specifically, parsing description file, according to the index position of description file acquisition target media file.The index bit
Set refers to concordance list in the position of the target media file.Quick reading, the rope can be realized by the concordance list
Drawing table includes:Total duration, data packet sum, data packet header size and the average bit rate of the target media file.Its
In his embodiment, other content is can further include in the concordance list, the present embodiment is not limited thereto.
In step S105, is created according to the index position and read the access link.
Link is accessed specifically, being created according to index position, reads the access link to realize to target media file
Quick reading.
Media file read method in the embodiment of the present invention, by detecting the interface information of terminal, in advance quick obtaining
The broadcast address and internet protocol address of target media file, and further corresponding mesh is obtained by accessing internet protocol address
The description information of media file is marked, and then according to the quick reading media file of index position, to realize the quick of media file
It reads, realizes quick opening and the broadcasting of network media file, reduce period of reservation of number, promote user experience.
Fig. 2 is a kind of method flow diagram of media file read 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 broadcast address is further comprised, the media
File reading includes the following steps S201-S209.
In step s 201, operational order of the user in terminal is obtained, the operational order is executed.
Specifically, obtaining the operational order of user first, in the present embodiment, the terminal can be smart mobile phone, user
Touch input can be carried out by touch screen, can also be inputted by physical button or virtual key, in other implementations
In mode, it can also be inputted by way of phonetic order, the present embodiment is not limited thereto.In the behaviour for receiving user
After instructing, corresponding operational order is executed.Optionally, the operational order refers in corresponding video class application program
Command adapted thereto, for example open application program, select video classification, the instructions such as search video.
In step S202, judge whether the operational order is into preset target interface.
Specifically, in this step, further judge whether the operational order is into preset target interface.It is described
Preset target interface be media file tabular interface, the media file tabular interface refer to illustrated on interface it is at least one
Media file, user can select oneself interested media file to play out on media file tabular interface.Terminal is logical
The operational order for crossing parsing user, judges whether the operational order is into preset target interface, if so, entering step
In S203;If it is not, then repeating the action of step S201.
In step S203, all media file informations in the preset target interface are obtained.
Specifically, when operational order is to enter preset target interface, the target interface is media file tabular circle
Face, at this point, obtaining all media file informations on the media file tabular interface.It is understood that in media file
The quantity of list interface, media file can be one, or it is multiple, according to the size of terminal display screen and media text
Depending on the preview display window size of part, the embodiment of the present invention is not limited thereto.In the present embodiment, it obtains and is shown on the page
All media file informations shown.
In step S204, the broadcast address of all media files is obtained according to all media file informations.
Specifically, further obtaining the broadcast address of all media files.In the present embodiment, in order to accelerate to read speed
Degree plays out the acquisition action of address, consequently facilitating subsequent processing when user browses and presets interface.
In step S205, when receiving the selection instruction of user, target medium text is determined according to the selection instruction
The broadcast address of part.
Specifically, further the operational order of investigation user refers to when the operational order is selection instruction according to selection
It enables and determines corresponding target media file, and further obtain the broadcast address of the target media file.
In step S206, the broadcast address is parsed, obtains the corresponding internet protocol address of the broadcast address.
In step S207, the internet protocol address is accessed, obtains the description information of the target media file.
In step S208, the index position of the target media file is obtained according to the description information.
In step S209, is created according to the index position and read the access link.
Media file read method in the embodiment of the present invention, by detecting the interface information of terminal and the behaviour of user
Make, in advance the broadcast address and internet protocol address of quick obtaining target media file, and further by accessing procotol
Address obtains the description information of corresponding target media file, and then according to the quick reading media file of index position, to real
The quick reading of existing media file realizes quick opening and the broadcasting of network media file, reduces period of reservation of number, promoted and used
It experiences at family.
Fig. 3 is a kind of method flow diagram of media file read method 3rd embodiment provided in an embodiment of the present invention.It is right
Than first embodiment shown in FIG. 1, in present embodiment, the step of how obtaining internet protocol address further comprised.It can
With understanding, in the present embodiment, the step of how obtaining internet protocol address, can also be applied to shown in Fig. 2 second and implement
In example.The media file read method includes the following steps S301-S306.
In step S301, the interface information of terminal is detected, broadcasting for target media file is obtained according to the interface information
Put address.
In step s 302, access cache searches the corresponding parsing information of the broadcast address in the buffer.
Specifically, in order to accelerate resolution speed, in the present embodiment, the caching of terminal is accessed first, searches broadcast in the buffer
Put the corresponding parsing information in address.If in the presence of entering in follow-up step.If being not present, traditional interpretive model is used,
Parsed by dns server.
In step S303, corresponding internet protocol address is generated according to the parsing information.
Specifically, IP address is generated according to parsing information, due to being directly to be parsed by the data in access cache,
It is parsed faster than passing through dns server, more can save the time.
In step s 304, the internet protocol address is accessed, the description information of the target media file is obtained.
In step S305, the index position of the target media file is obtained according to the description information.
In step S306, is created according to the index position and read the access link.
Media file read method in the embodiment of the present invention, by detecting the interface information of terminal, in advance quick obtaining
The broadcast address of target media file carries out parsing by caching and generates corresponding internet protocol address, and further passes through visit
Ask that internet protocol address obtains the description information of corresponding target media file, and then according to the quick reading media text of index position
Part realizes quick opening and the broadcasting of network media file, when reducing user's waiting to realize the quick reading of media file
Between, promote user experience.
Fig. 4 is a kind of method flow diagram of media file read method fourth embodiment provided in an embodiment of the present invention.It is right
Than 3rd embodiment shown in Fig. 3, in the present embodiment, the step of obtaining index position is further comprised.The media file is read
Method is taken to include the following steps S401-S407.
In step S401, the interface information of terminal is detected, broadcasting for target media file is obtained according to the interface information
Put address.
In step S402, access cache searches the corresponding parsing information of the broadcast address in the buffer.
In step S403, corresponding internet protocol address is generated according to the parsing information.
In step s 404, the internet protocol address is accessed, the description information of the target media file is obtained.
In step S405, the description information is read, index information is searched in the description information.
Specifically, reading the description information of target media file, corresponding index information is searched according to description information.
In step S406, the index position of the target media file is obtained according to the index information.
Specifically, in this implementation, the index position refers to concordance list in the position of the target media file, the rope
Drawing table includes:Total duration, data packet sum, data packet header size and the average bit rate of the target media file.Due to
The concordance list of file is in the position of file and is not fixed, if concordance list is located at the tail portion of file, according to the conventional method, reads rope
Draw table can take it is longer.In the present embodiment, by directly acquiring index position, it can realize and quickly read concordance list, Jin Ershi
File and played file are now quickly read, the time is saved, file broadcasting speed is improved, reduces the stand-by period of user.
In step S 407, it is created according to the index position and reads the access link.
Media file read method in the embodiment of the present invention, by detecting the interface information of terminal, in advance quick obtaining
The broadcast address of target media file carries out parsing by caching and generates corresponding internet protocol address, and further passes through visit
Ask that internet protocol address obtains the description information of corresponding target media file, and then according to the quick reading media text of index position
Part realizes quick opening and the broadcasting of network media file, when reducing user's waiting to realize the quick reading of media file
Between, promote user experience.
Fig. 5 is a kind of method flow diagram of the 5th embodiment of media file read method provided in an embodiment of the present invention.It is right
Than fourth embodiment shown in Fig. 4, in the present embodiment, the step of further comprising establishment and read access link.The media
File reading includes the following steps S501-S509.
In step S501, the interface information of terminal is detected, broadcasting for target media file is obtained according to the interface information
Put address.
In step S502, access cache searches the corresponding parsing information of the broadcast address in the buffer.
In step S503, corresponding internet protocol address is generated according to the parsing information.
In step S504, the internet protocol address is accessed, obtains the description information of the target media file.
In step S505, the description information is read, index information is searched in the description information.
In step S506, the index position of the target media file is obtained according to the index information.
In step s 507, the index position is parsed, the access information of the concordance list is obtained.
Specifically, according to index position, obtains and read the required access information of file.Wherein, the access information packet
Include coded format, file header packet address and the size etc. of the file.
In step S508, is created according to the access information and access link.
It is linked specifically, creating corresponding access according to access information, in order to subsequently quickly be read and played.
In step S509, the access link is directly read, and the target medium text is read according to the concordance list
Part.
Specifically, read access link is to realize the quick reading to target media file, in the present embodiment, subsequently also
The subsequent lasting broadcasting of media file is further carried out according to concordance list.For example, when receiving the progress bar that user sends out
When changing when instructing or playing control instruction, corresponding play position is obtained in concordance list according to corresponding instruction, to
Subsequent file reading, transmission and broadcasting are carried out according to play position.
Media file read method in the embodiment of the present invention, by detecting the interface information of terminal, in advance quick obtaining
The broadcast address of target media file carries out parsing by caching and generates corresponding internet protocol address, and further passes through visit
Ask that internet protocol address obtains the description information of corresponding target media file, and then according to the quick reading media text of index position
Part realizes quick opening and the broadcasting of network media file, when reducing user's waiting to realize the quick reading of media file
Between, promote user experience.
Fig. 6 is a kind of structural schematic diagram of one embodiment of media file reading device provided in an embodiment of the present invention.The matchmaker
Body document reading apparatus is applied to terminal, and the terminal can be computer, desktop computer, tablet computer etc., or intelligence
The mechanical, electrical philosophical works of expert, wearable device etc..The media file reading device includes detecting module 601, parsing module 602, visits
Ask module 603, acquisition module 604 and read module 605.It should be noted that the function of modules is shown in Fig. 1-Fig. 5
Embodiment of the method in have corresponding detailed description, this will not be repeated here.
Detecting module 601, the interface information for detecting terminal obtain target media file according to the interface information
Broadcast address;
Parsing module 602 obtains the corresponding internet protocol address of the broadcast address for parsing the broadcast address;
Access modules 603 obtain the description information of the target media file for accessing the internet protocol address;
Acquisition module 604, the index position for obtaining the target media file according to the description information;
Read module 605, for the access link to be created and read according to the index position.
Optionally, the detecting module 601 is specifically used for:
Operational order of the user in terminal is obtained, the operational order is executed;
Judge whether the operational order is into preset target interface, wherein the preset target interface is media
Listed files interface;
When the operational order is to enter preset target interface, obtain all on the media file tabular interface
Media file information;
The broadcast address of all media files is obtained according to all media file informations;
When receiving the selection instruction of user, the broadcast address of target media file is determined according to the selection instruction.
Optionally, the parsing module 602 is specifically used for:
Access cache searches the corresponding parsing information of the broadcast address in the buffer;
Corresponding internet protocol address is generated according to the parsing information.
Optionally, the acquisition module 604 is specifically used for:
The description information is read, index information is searched in the description information;
The index position of the target media file is obtained according to the index information, wherein the index position refers to rope
Draw table in the position of the target media file, the concordance list includes:Total duration, the data packet of the target media file are total
Number, data packet header size and average bit rate.
Optionally, the read module 605 is specifically used for:
The index position is parsed, the access information of the concordance list is obtained;
It is created according to the access information and accesses link;
The access link is directly read, and the target media file is read according to the concordance list.
Media file reading device in the embodiment of the present invention, by detecting the interface information of terminal, in advance quick obtaining
The broadcast address and internet protocol address of target media file, and further corresponding mesh is obtained by accessing internet protocol address
The description information of media file is marked, and then according to the quick reading media file of index position, to realize the quick of media file
It reads, realizes quick opening and the broadcasting of network media file, reduce period of reservation of number, promote user experience.
Fig. 7 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. 5
Shown in media file read method and media file reading device shown in fig. 6 can be applied to mobile terminal shown in Fig. 7
In.As shown in fig. 7, mobile terminal includes that (quantity of the processor 701 in terminal can be one or more, Fig. 7 for processor 701
By taking a processor as an example) and memory 702.In an embodiment of the present invention, processor 701, memory 702 can be by total
Line or other means connects, wherein in Fig. 7 for being connected by bus.
Wherein, executable program is stored in memory 702, processor 701 executes the executable program to realize such as
Lower step:
The interface information for detecting terminal obtains the broadcast address of target media file according to the interface information;
The broadcast address is parsed, the corresponding internet protocol address of the broadcast address is obtained;
The internet protocol address is accessed, the description information of the target media file is obtained;
The index position of the target media file is obtained according to the description information;
It is created according to the index position and reads the access link.
Optionally, the processor 701 detects the interface information of terminal, and target medium text is obtained according to the interface information
The broadcast address of part, including:
Operational order of the user in terminal is obtained, the operational order is executed;
Judge whether the operational order is into preset target interface, wherein the preset target interface is media
Listed files interface;
When the operational order is to enter preset target interface, obtain all on the media file tabular interface
Media file information;
The broadcast address of all media files is obtained according to all media file informations;
When receiving the selection instruction of user, the broadcast address of target media file is determined according to the selection instruction.
Optionally, the processor 701 parses the broadcast address, with obtaining the corresponding procotol of the broadcast address
Location, including:
Access cache searches the corresponding parsing information of the broadcast address in the buffer;
Corresponding internet protocol address is generated according to the parsing information.
Optionally, the processor 701 obtains the index position of the target media file according to the description information, packet
It includes:
The description information is read, index information is searched in the description information;
The index position of the target media file is obtained according to the index information, wherein the index position refers to rope
Draw table in the position of the target media file, the concordance list includes:Total duration, the data packet of the target media file are total
Number, data packet header size and average bit rate.
Optionally, the processor 701 creates according to the index position and reads the access link, including:
The index position is parsed, the access information of the concordance list is obtained;
It is created according to the access information and accesses link;
The access link is directly read, and the target media file is read according to the concordance list.
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:
The interface information for detecting terminal obtains the broadcast address of target media file according to the interface information;
The broadcast address is parsed, the corresponding internet protocol address of the broadcast address is obtained;
The internet protocol address is accessed, the description information of the target media file is obtained;
The index position of the target media file is obtained according to the description information;
It is created according to the index position and reads the access link.
Optionally, it can be also used for realizing that media file as Figure 1-Figure 5 is read when the executable program is performed
Method is taken, this will not be repeated here.
In addition, the embodiment of the present invention additionally provides a kind of multimedia play system, the multimedia play system of the present embodiment
Including the media file reading device described in various embodiments of the invention.
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 (11)
1. a kind of media file read method, which is characterized in that including:
The interface information for detecting terminal obtains the broadcast address of target media file according to the interface information;
The broadcast address is parsed, the corresponding internet protocol address of the broadcast address is obtained;
The internet protocol address is accessed, the description information of the target media file is obtained;
The index position of the target media file is obtained according to the description information;
It is created according to the index position and reads the access link.
2. media file read method as described in claim 1, which is characterized in that the interface information of the detecting terminal, root
The broadcast address of target media file is obtained according to the interface information, including:
Operational order of the user in terminal is obtained, the operational order is executed;
Judge whether the operational order is into preset target interface, wherein the preset target interface is media file
List interface;
When the operational order is to enter preset target interface, all media on the media file tabular interface are obtained
Fileinfo;
The broadcast address of all media files is obtained according to all media file informations;
When receiving the selection instruction of user, the broadcast address of target media file is determined according to the selection instruction.
3. media file read method as claimed in claim 1 or 2, which is characterized in that the parsing broadcast address obtains
The corresponding internet protocol address of the broadcast address is taken, including:
Access cache searches the corresponding parsing information of the broadcast address in the buffer;
Corresponding internet protocol address is generated according to the parsing information.
4. media file read method as claimed in claim 3, which is characterized in that described to obtain institute according to the description information
The index position of target media file is stated, including:
The description information is read, index information is searched in the description information;
The index position of the target media file is obtained according to the index information, wherein the index position refers to concordance list
In the position of the target media file, the concordance list includes:The total duration of the target media file, data packet sum,
Data packet header size and average bit rate.
5. media file read method as claimed in claim 4, which is characterized in that described to be created simultaneously according to the index position
The access link is read, including:
The index position is parsed, the access information of the concordance list is obtained;
It is created according to the access information and accesses link;
The access link is directly read, and the target media file is read according to the concordance list.
6. a kind of media file reading device, which is characterized in that including:
Detecting module, the interface information for detecting terminal, the broadcasting of target media file is obtained according to the interface information
Location;
Parsing module obtains the corresponding internet protocol address of the broadcast address for parsing the broadcast address;
Access modules obtain the description information of the target media file for accessing the internet protocol address;
Acquisition module, the index position for obtaining the target media file according to the description information;
Read module, for the access link to be created and read according to the index position.
7. media file reading device as claimed in claim 6, which is characterized in that the detecting module is specifically used for:
Operational order of the user in terminal is obtained, the operational order is executed;
Judge whether the operational order is into preset target interface, wherein the preset target interface is media file
List interface;
When the operational order is to enter preset target interface, all media on the media file tabular interface are obtained
Fileinfo;
The broadcast address of all media files is obtained according to all media file informations;
When receiving the selection instruction of user, the broadcast address of target media file is determined according to the selection instruction.
8. media file reading device as claimed in claims 6 or 7, which is characterized in that the parsing module is specifically used for:
Access cache searches the corresponding parsing information of the broadcast address in the buffer;
Corresponding internet protocol address is generated according to the parsing information.
9. media file reading device as claimed in claim 8, which is characterized in that the acquisition module is specifically used for:
The description information is read, index information is searched in the description information;
The index position of the target media file is obtained according to the index information, wherein the index position refers to concordance list
In the position of the target media file, the concordance list includes:The total duration of the target media file, data packet sum,
Data packet header size and average bit rate.
10. media file reading device as claimed in claim 9, which is characterized in that the read module is specifically used for:
The index position is parsed, the access information of the concordance list is obtained;
It is created according to the access information and accesses link;
The access link is directly read, and the target media file is read according to the concordance list.
11. a kind of multimedia play system, which is characterized in that read dress comprising any media files of claim 6-10
It sets.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810268945.XA CN108462902A (en) | 2018-03-29 | 2018-03-29 | A kind of media file read method and device, multimedia play system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810268945.XA CN108462902A (en) | 2018-03-29 | 2018-03-29 | A kind of media file read method and device, multimedia play system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108462902A true CN108462902A (en) | 2018-08-28 |
Family
ID=63237648
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810268945.XA Pending CN108462902A (en) | 2018-03-29 | 2018-03-29 | A kind of media file read method and device, multimedia play system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108462902A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110971987A (en) * | 2019-12-17 | 2020-04-07 | 广州酷狗计算机科技有限公司 | Video information acquisition method and device, computer equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101383782A (en) * | 2008-10-16 | 2009-03-11 | 深圳市迅雷网络技术有限公司 | Method and system for acquiring network resource identification |
CN103561337A (en) * | 2013-10-30 | 2014-02-05 | 乐视致新电子科技(天津)有限公司 | Live web casting method and device based on intelligent television |
US20160277813A1 (en) * | 2015-03-16 | 2016-09-22 | Viacom International Inc | Systems and Methods for Inserting Breakpoints and Reference Links into a Media File |
US20160316233A1 (en) * | 2015-04-21 | 2016-10-27 | Adsparx USA Inc | System and method for inserting, delivering and tracking advertisements in a media program |
-
2018
- 2018-03-29 CN CN201810268945.XA patent/CN108462902A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101383782A (en) * | 2008-10-16 | 2009-03-11 | 深圳市迅雷网络技术有限公司 | Method and system for acquiring network resource identification |
CN103561337A (en) * | 2013-10-30 | 2014-02-05 | 乐视致新电子科技(天津)有限公司 | Live web casting method and device based on intelligent television |
US20160277813A1 (en) * | 2015-03-16 | 2016-09-22 | Viacom International Inc | Systems and Methods for Inserting Breakpoints and Reference Links into a Media File |
US20160316233A1 (en) * | 2015-04-21 | 2016-10-27 | Adsparx USA Inc | System and method for inserting, delivering and tracking advertisements in a media program |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110971987A (en) * | 2019-12-17 | 2020-04-07 | 广州酷狗计算机科技有限公司 | Video information acquisition method and device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11112942B2 (en) | Providing content via multiple display devices | |
CN111277869B (en) | Video playing method, device, equipment and storage medium | |
CN110062284B (en) | Video playing method and device and electronic equipment | |
CN103517158B (en) | Method, device and system for generating videos capable of showing video notations | |
US11722555B2 (en) | Application control method and apparatus, electronic device, and storage medium | |
US11928152B2 (en) | Search result display method, readable medium, and terminal device | |
CN109862100B (en) | Method and device for pushing information | |
CN103259861A (en) | Method and system for recording and watching network videos | |
JP2022518724A (en) | Document input processing methods, devices, electronic devices and storage media | |
CN107105336A (en) | Data processing method and data processing equipment | |
KR20080082119A (en) | Mobile communication terminal and method of reproducing moving picture provided by webpage in mobile communication terminal | |
CN113535063A (en) | Live broadcast page switching method, video page switching method, electronic device and storage medium | |
CN102959546B (en) | Method and apparatus for converted contents | |
CN111124668A (en) | Memory release method and device, storage medium and terminal | |
CN104615432B (en) | Splash screen information processing method and client | |
CN113163255B (en) | Video playing method, device, terminal and storage medium | |
KR20100092687A (en) | Method for contents playing | |
CN108462902A (en) | A kind of media file read method and device, multimedia play system | |
US20230161464A1 (en) | Method, apparatus, device, medium and program product for replying questions | |
CN114640876B (en) | Multimedia service video display method, device, computer equipment and storage medium | |
CN108763375A (en) | A kind of media file caching method, device and multimedia play system | |
CN115547330A (en) | Information display method and device based on voice interaction and electronic equipment | |
CN112291602B (en) | Video playing method, electronic equipment and storage medium | |
CN108650544A (en) | A kind of media playing method, device and media play system | |
CN108881978B (en) | Resource playing method and device for intelligent 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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180828 |