CN108650544A - A kind of media playing method, device and media play system - Google Patents

A kind of media playing method, device and media play system Download PDF

Info

Publication number
CN108650544A
CN108650544A CN201810476477.5A CN201810476477A CN108650544A CN 108650544 A CN108650544 A CN 108650544A CN 201810476477 A CN201810476477 A CN 201810476477A CN 108650544 A CN108650544 A CN 108650544A
Authority
CN
China
Prior art keywords
information
media
read
sequence
control instruction
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.)
Granted
Application number
CN201810476477.5A
Other languages
Chinese (zh)
Other versions
CN108650544B (en
Inventor
金邦飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201810476477.5A priority Critical patent/CN108650544B/en
Publication of CN108650544A publication Critical patent/CN108650544A/en
Application granted granted Critical
Publication of CN108650544B publication Critical patent/CN108650544B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • 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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content

Abstract

The embodiment of the invention discloses a kind of media playing method, device and media play system, the media playing method includes:Operation information is detected, is generated according to the operation information and plays control instruction;The broadcasting control instruction is parsed, the broadcast address for playing the corresponding target media file of control instruction is obtained;The broadcast address is accessed, first is opened and reads process, the corresponding media information of the target media file is read with the first sequence;If meeting preset condition, opens second and read process, the corresponding media information of the target media file is read with the second sequence;It is loaded according to the media information and plays the target media file.The embodiment of the present invention is read by using two process, can accelerate reading speed, promotes broadcasting speed, saves user time, reduces the waiting in process of caching, promotes user experience.

Description

A kind of media playing method, device and media play system
Technical field
The present invention relates to a kind of technical field of media more particularly to media playing method, device and media play systems.
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 If buffer time is long when video, time-consuming for opening, will give user bad experience.Therefore, how to fast implement and broadcast online It puts, is this field urgent problem to be solved
Invention content
A kind of media playing method of offer of the embodiment of the present invention, device and media play system, can realize and quickly broadcast It puts, saves user time.
First aspect of the embodiment of the present invention provides a kind of media playing method, including:
Operation information is detected, is generated according to the operation information and plays control instruction;
The broadcasting control instruction is parsed, with obtaining the broadcasting for playing the corresponding target media file of control instruction Location;
The broadcast address is accessed, first is opened and reads process, reading the target media file with the first sequence corresponds to Media information;
If meeting preset condition, open second and read process, reading the target media file with the second sequence corresponds to Media information;
It is loaded according to the media information and plays the target media file.
Optionally, the detecting operation information generates according to the operation information and plays control instruction, including:
The touch information on terminal touch screen is detected, if the corresponding icon of the touch information or menu and the presets list In application matches, then confirm the touch information be play instruction;
Corresponding broadcasting control instruction is generated according to the attribute of the touch information.
Optionally, the parsing broadcasting control instruction obtains the corresponding media file of the broadcasting control instruction Broadcast address, including:
Obtain corresponding first address information of the broadcasting control instruction;
First address information is parsed using preset resolution server, obtains the corresponding mesh of first address information Mark the broadcast address of media file, wherein the broadcast address is internet protocol address.
Optionally, first sequence is that sequence is read since head, and the media information includes the target medium Total duration, data packet sum, data packet header size and the average bit rate of file.
Optionally, it if described meet preset condition, opens second and reads process, the target matchmaker is read with the second sequence The corresponding media information of body file, including:
Obtain the described first reading information for reading progress feedback;
The reading information is parsed, estimated read access time is obtained;
If the estimated read access time is more than preset time threshold, opens second and read process, is read with the second sequence The corresponding media information of the target media file, wherein second sequence is that backward is read since tail portion.
Second aspect of the embodiment of the present invention provides a kind of media playing apparatus, including:
Detecting module generates according to the operation information for detecting operation information and plays control instruction;
Parsing module obtains the corresponding target medium of the broadcasting control instruction for parsing the broadcasting control instruction The broadcast address of file;
First read module opens first and reads process, described in the first sequence reading for accessing the broadcast address The corresponding media information of target media file;
Second read module reads process for when meeting preset condition, opening second, described in the second sequence reading The corresponding media information of target media file;
Playing module, for being loaded according to the media information and playing the target media file.
Optionally, the detecting module is specifically used for:
The touch information on terminal touch screen is detected, if the corresponding icon of the touch information or menu and the presets list In application matches, then confirm the touch information be play instruction;
Corresponding broadcasting control instruction is generated according to the attribute of the touch information.
Optionally, the parsing module is specifically used for:
Obtain corresponding first address information of the broadcasting control instruction;
First address information is parsed using preset resolution server, obtains the corresponding mesh of first address information Mark the broadcast address of media file, wherein the broadcast address is internet protocol address.
Optionally, first sequence is that sequence is read since head, and the media information includes the target medium Total duration, data packet sum, data packet header size and the average bit rate of file.
Optionally, second read module is specifically used for:
Obtain the described first reading information for reading progress feedback;
The reading information is parsed, estimated read access time is obtained;
If the estimated read access time is more than preset time threshold, opens second and read process, is read with the second sequence The corresponding media information of the target media file, wherein second sequence is that backward is read since tail portion.
The third aspect of the embodiment of the present invention provides a kind of media play system, including media play described above dress It sets.
Implement the embodiment of the present invention, has the advantages that:
Media playing method, device and media play system provided in an embodiment of the present invention are carrying out online Media text When the broadcasting of part, process is read by first first and read with the first sequence, and it is suitable with second to read process by second Sequence is read out, and to realize that two process is read, is accelerated reading speed, is promoted broadcasting speed, save user time, reduce caching Waiting in the process promotes 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 playing method first embodiment provided in an embodiment of the present invention.
Fig. 2 is a kind of method flow diagram of media playing method second embodiment provided in an embodiment of the present invention.
Fig. 3 is a kind of method flow diagram of media playing method 3rd embodiment provided in an embodiment of the present invention.
Fig. 4 is a kind of method flow diagram of media playing method fourth embodiment provided in an embodiment of the present invention.
Fig. 5 is a kind of structural schematic diagram of media playing apparatus 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 playing method first embodiment provided in an embodiment of the present invention.The media Playback 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 is by installing application program Realize function of viewing video, such as the application of all kinds of video classes, short Video Applications, live streaming class application etc..The media playing method Include the following steps S101-S105.
In step S101, operation information is detected, is generated according to the operation information and plays control instruction.
Specifically, detecting the operation information in terminal first, the operation information can be diversified forms.In the terminal It can be the touch operation for the touch screen that can have touch screen, the operation information.In other embodiments, institute It states operation information and can also be and inputted by physical button or virtual key etc., can also be the side by phonetic order Formula is inputted, and the embodiment of the present invention is not limited thereto.After receiving operation information, according to specific operation information Generate corresponding broadcasting control instruction, the broadcasting control instruction corresponds to corresponding media file, and the media file can be with It is online media file, can also be local media file.Optionally, the broadcasting control instruction can be preset It is operated in application program, can also be to carry out on a web browser.
In step s 102, the broadcasting control instruction is parsed, the corresponding target medium of the broadcasting control instruction is obtained The broadcast address of file.
Specifically, after getting broadcasting control instruction, further parsed to playing control instruction, acquisition pair The broadcast address for the target media file answered, wherein the broadcast address is internet protocol address (IP address).In the present embodiment, The target media file is the media file on network.The internet protocol address is corresponding target media file in network Address on upper corresponding server can be obtained by the access internet protocol address and play the target medium text Part.
In step s 103, the broadcast address is accessed, first is opened and reads process, the target is read with the first sequence The corresponding media information of media file.
Specifically, in the present embodiment, the first reading process is first turned on, the target medium text is read according to the first sequence The media information of part.Wherein, first sequence is that sequence is read since head.The media information includes the target matchmaker Total duration, data packet sum, data packet header size and the average bit rate of body file.The media text played online at this stage Part is all fragmented storage on the server, in order to obtain the corresponding information being each segmented in time, is convenient for subsequent caching and broadcasting, The media information for needing first reading media file can quickly carry out loading medium file according to media information.In the present embodiment, It first opens first and reads process, the media information is read by the way of being read from head sequence.
In step S104, if meeting preset condition, opens second and read process, the target is read with the second sequence The corresponding media information of media file.
Specifically, since the media file size having can be larger, find that file is big when process is read if being read by first It is small larger, cache-time can be caused long, the second reading process can be opened at this time, with the second sequence reading media information, In, second process is to be read out from media file tail portion, with quick obtaining media information.In other embodiments, The media information of media file is not stored in head, and is stored in tail portion, at this time first read process due to read less than Media information, it is also desirable to obtain media information from tail portion by opening the second reading process.In other embodiments, also may be used To be that the first media file is read from tail portion, the second media file is read from head, and the embodiment of the present invention is not limited thereto.
In step S105, is loaded according to the media information and play the target media file.
Specifically, after obtaining media information, is loaded according to media information and play target media file.
It is above-mentioned it is found that media playing method in the embodiment of the present invention, when carrying out the broadcasting of online Media file, first Process is read by first to read with the first sequence, and can be read out with the second sequence by the second reading process, to It realizes that two process is read, accelerates reading speed, promote broadcasting speed, save user time, reduce the waiting in process of caching, carry Rise user experience.
Fig. 2 is a kind of method flow diagram of media playing method second embodiment provided in an embodiment of the present invention.Comparison diagram 1 Shown in first embodiment, further comprise in the present embodiment and how to generate the step of playing control instruction, the media play Method includes the following steps S201-S206.
In step s 201, detect terminal touch screen on touch information, if the corresponding icon of the touch information or Menu and the application matches in the presets list then confirm that the touch information is play instruction.
Specifically, in the present embodiment, by detecting the touch information on touch screen, play instruction is judged whether.When The touch information is corresponding when touching object with application matches in the presets list, confirms that the touch information is to play to refer to It enables.Wherein, the touch object can be icon or menu, and described the presets list can be pre-set, can also be according to end The media class application program installed on end automatically generates, and the media class application program may include:Music class, video are broadcast Put the application programs such as class, live streaming class.In other embodiments, the touch object can also be link information, you can with logical It crosses the link information and opens corresponding application program.
In step S202, corresponding broadcasting control instruction is generated according to the attribute of the touch information.
If specifically, the touch information is slide can generate different broadcastings according to the direction of slide Control instruction shows to play next media file for example, when glide direction is upward;When glide direction is downward, upper one is played Media file;Glide direction to the left, shows to retract to some reproduction time;Glide direction to the right, shows to be fast-forward to some Reproduction time.In other embodiments, the attribute of the touch information can also be other modes, and the embodiment of the present invention is not As limit.
In step S203, the broadcasting control instruction is parsed, obtains the corresponding target medium of the broadcasting control instruction The broadcast address of file.
In step S204, the broadcast address is accessed, first is opened and reads process, the target is read with the first sequence The corresponding media information of media file.
In step S205, if meeting preset condition, opens second and read process, the target is read with the second sequence The corresponding media information of media file.
In step S206, is loaded according to the media information and play the target media file.
It is above-mentioned it is found that media playing method in the embodiment of the present invention, when carrying out the broadcasting of online Media file, first Process is read by first to read with the first sequence, and can be read out with the second sequence by the second reading process, to It realizes that two process is read, accelerates reading speed, promote broadcasting speed, save user time, reduce the waiting in process of caching, carry Rise user experience.
Fig. 3 is a kind of method flow diagram of media playing method 3rd embodiment provided in an embodiment of the present invention.Comparison diagram 1 Shown in first embodiment, the step of obtaining broadcast address is further comprised in the present embodiment.It is understood that this implementation The step of broadcast address is obtained in example can also be applied in second embodiment shown in Fig. 2.The media playing method include with Lower step S301-S306.
In step S301, operation information is detected, is generated according to the operation information and plays control instruction.
In step s 302, corresponding first address information of the broadcasting control instruction is obtained.
Specifically, first address information is the addresses URL.
In step S303, first address information is parsed using preset resolution server, obtains first ground The broadcast address of the corresponding target media file of location information.
Specifically, parsing the addresses URL by resolution server, with obtaining the corresponding procotol in the addresses URL Location (IP address), the broadcast address are internet protocol address.
In step s 304, the broadcast address is accessed, first is opened and reads process, the target is read with the first sequence The corresponding media information of media file.
In step S305, if meeting preset condition, opens second and read process, the target is read with the second sequence The corresponding media information of media file.
In step S306, is loaded according to the media information and play the target media file.
It is above-mentioned it is found that media playing method in the embodiment of the present invention, when carrying out the broadcasting of online Media file, first Process is read by first to read with the first sequence, and can be read out with the second sequence by the second reading process, to It realizes that two process is read, accelerates reading speed, promote broadcasting speed, save user time, reduce the waiting in process of caching, carry Rise user experience.
Fig. 4 is a kind of method flow diagram of media playing method fourth embodiment provided in an embodiment of the present invention.Comparison diagram 1 Shown in first embodiment, the step of how opening the second reading process further comprised in the present embodiment.It is appreciated that The step of being, the second reading process is opened in the present embodiment, can also be applied to second, third embodiment of Fig. 2 or shown in Fig. 3 In.The media playing method includes the following steps S401-S407.
In step S401, operation information is detected, is generated according to the operation information and plays control instruction.
In step S402, the broadcasting control instruction is parsed, obtains the corresponding target medium of the broadcasting control instruction The broadcast address of file.
In step S403, the broadcast address is accessed, first is opened and reads process, the target is read with the first sequence The corresponding media information of media file.
In step s 404, the described first reading information for reading progress feedback is obtained.
Specifically, after the first reading process has been read out, the reading information of feedback is obtained.
In step S405, the reading information is parsed, estimated read access time is obtained.
Specifically, when the read access time refers to the estimated reading being calculated according to the size of the target media file Between.When the size of target media file is larger, the estimated read access time also can be longer.
In step S406, if the estimated read access time is more than preset time threshold, opens second and read process, with Second sequence reads the corresponding media information of the target media file.
Specifically, the preset time threshold can be pre-set, when estimated read access time is more than preset time threshold, Show that read access time can be longer at this time, period of reservation of number also can be longer.At this point, in order to save period of reservation of number, by opening Dynamic second reads process, carries out the reading of media information from tail portion with the second sequence.Wherein, second sequence is to be opened from tail portion Beginning backward is read.
In step S 407, it is loaded according to the media information and plays the target media file.
It is above-mentioned it is found that media playing method in the embodiment of the present invention, when carrying out the broadcasting of online Media file, first Process is read by first to read with the first sequence, and can be read out with the second sequence by the second reading process, to It realizes that two process is read, accelerates reading speed, promote broadcasting speed, save user time, reduce the waiting in process of caching, carry Rise user experience.
Fig. 5 is a kind of method flow diagram of media playing apparatus first embodiment provided in an embodiment of the present invention.The media Playing 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 media playing apparatus includes:Detecting module 501, parsing module 502, first read mould Block 503, the second read module 504 and playing module 505.
Wherein, detecting module 501 generate according to the operation information for detecting operation information and play control instruction;
Parsing module 502 obtains the corresponding target matchmaker of the broadcasting control instruction for parsing the broadcasting control instruction The broadcast address of body file;
First read module 503 is opened first and reads process, read with the first sequence for accessing the broadcast address The corresponding media information of the target media file;
Second read module 504 is read process for when meeting preset condition, opening second, is read with the second sequence The corresponding media information of the target media file;
Playing module 505, for being loaded according to the media information and playing the target media file.
Optionally, the detecting module 501 is specifically used for:
The touch information on terminal touch screen is detected, if the corresponding icon of the touch information or menu and the presets list In application matches, then confirm the touch information be play instruction;
Corresponding broadcasting control instruction is generated according to the attribute of the touch information.
Optionally, the parsing module 502 is specifically used for:
Obtain corresponding first address information of the broadcasting control instruction;
First address information is parsed using preset resolution server, obtains the corresponding mesh of first address information Mark the broadcast address of media file, wherein the broadcast address is internet protocol address.
Optionally, first sequence is that sequence is read since head, and the media information includes the target medium Total duration, data packet sum, data packet header size and the average bit rate of file.
Optionally, second read module 504 is specifically used for:
Obtain the described first reading information for reading progress feedback;
The reading information is parsed, estimated read access time is obtained;
If the estimated read access time is more than preset time threshold, opens second and read process, is read with the second sequence The corresponding media information of the target media file, wherein second sequence is that backward is read since tail portion.
It is above-mentioned it is found that media playing apparatus in the embodiment of the present invention, when carrying out the broadcasting of online Media file, first Process is read by first to read with the first sequence, and can be read out with the second sequence by the second reading process, to It realizes that two process is read, accelerates reading speed, promote broadcasting speed, save user time, reduce the waiting in process of caching, carry Rise user experience.
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 playing method and media playing apparatus shown in fig. 5 can be applied in mobile terminal shown in fig. 6.Such as Fig. 6 Shown, mobile terminal includes that (quantity of the processor 601 in terminal can be one or more, and Fig. 6 is at one for processor 601 For reason device) and memory 602.In an embodiment of the present invention, processor 601, memory 602 can be by buses or other Mode 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:
Operation information is detected, is generated according to the operation information and plays control instruction;
The broadcasting control instruction is parsed, with obtaining the broadcasting for playing the corresponding target media file of control instruction Location;
The broadcast address is accessed, first is opened and reads process, reading the target media file with the first sequence corresponds to Media information;
If meeting preset condition, open second and read process, reading the target media file with the second sequence corresponds to Media information;
It is loaded according to the media information and plays the target media file.
Optionally, the processor 601 detects operation information, is generated according to the operation information and plays control instruction, packet It includes:
The touch information on terminal touch screen is detected, if the corresponding icon of the touch information or menu and the presets list In application matches, then confirm the touch information be play instruction;
Corresponding broadcasting control instruction is generated according to the attribute of the touch information.
Optionally, the processor 601 parses the broadcasting control instruction, obtains the corresponding matchmaker of the broadcasting control instruction The broadcast address of body file, including:
Obtain corresponding first address information of the broadcasting control instruction;
First address information is parsed using preset resolution server, obtains the corresponding mesh of first address information Mark the broadcast address of media file, wherein the broadcast address is internet protocol address.
Optionally, first sequence is that sequence is read since head, and the media information includes the target medium Total duration, data packet sum, data packet header size and the average bit rate of file.
Optionally, the processor 601 is additionally operable to, if meeting preset condition, is opened second and is read process, suitable with second Sequence reads the corresponding media information of the target media file, including:
Obtain the described first reading information for reading progress feedback;
The reading information is parsed, estimated read access time is obtained;
If the estimated read access time is more than preset time threshold, opens second and read process, is read with the second sequence The corresponding media information of the target media file, wherein second sequence is that backward is read since tail portion.
It is above-mentioned it is found that mobile terminal in the embodiment of the present invention passes through first when carrying out the broadcasting of online Media file First reads process is read with the first sequence, and can be read out with the second sequence by the second reading process, to realize Two process is read, and accelerates reading speed, promotes broadcasting speed, saves user time, reduces the waiting in process of caching, is promoted and is used It experiences at family.
The embodiment of the present invention additionally provides a kind of media play system, and the media play system includes matchmaker shown in fig. 5 Body playing device, and can be applied to realize Fig. 1-media playing methods shown in Fig. 4.The specific descriptions of the media play system The description of the media playing method and media playing apparatus of Fig. 1-Fig. 5 is can be found in, this will not be repeated here.
It is above-mentioned it is found that media play system in the embodiment of the present invention, when carrying out the broadcasting of online Media file, first Process is read by first to read with the first sequence, and can be read out with the second sequence by the second reading process, to It realizes that two process is read, accelerates reading speed, promote broadcasting speed, save user time, reduce the waiting in process of caching, carry Rise user experience.
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 playing method, which is characterized in that including:
Operation information is detected, is generated according to the operation information and plays control instruction;
The broadcasting control instruction is parsed, the broadcast address for playing the corresponding target media file of control instruction is obtained;
The broadcast address is accessed, first is opened and reads process, the corresponding matchmaker of the target media file is read with the first sequence Body information;
If meeting preset condition, opens second and read process, the corresponding matchmaker of the target media file is read with the second sequence Body information;
It is loaded according to the media information and plays the target media file.
2. media playing method as described in claim 1, which is characterized in that the detecting operation information, according to the operation Information, which generates, plays control instruction, including:
The touch information on terminal touch screen is detected, if in the corresponding icon of the touch information or menu and the presets list Application matches then confirm that the touch information is play instruction;
Corresponding broadcasting control instruction is generated according to the attribute of the touch information.
3. media playing method as claimed in claim 2, which is characterized in that the parsing broadcasting control instruction obtains The broadcast address for playing the corresponding media file of control instruction, including:
Obtain corresponding first address information of the broadcasting control instruction;
First address information is parsed using preset resolution server, obtains the corresponding target matchmaker of first address information The broadcast address of body file, wherein the broadcast address is internet protocol address.
4. media playing method as claimed in claim 2 or claim 3, which is characterized in that first sequence is suitable since head Sequence read, the media information include the total duration of the target media file, data packet sum, data packet header size and Average bit rate.
5. media playing method as claimed in claim 4, which is characterized in that if described meet preset condition, open second Reading process reads the corresponding media information of the target media file with the second sequence, including:
Obtain the described first reading information for reading progress feedback;
The reading information is parsed, estimated read access time is obtained;
If described be expected that read access time is more than preset time threshold, open second and read process, described in the second sequence reading The corresponding media information of target media file, wherein second sequence is that backward is read since tail portion.
6. a kind of media playing apparatus, which is characterized in that including:
Detecting module generates according to the operation information for detecting operation information and plays control instruction;
Parsing module obtains the corresponding target media file of the broadcasting control instruction for parsing the broadcasting control instruction Broadcast address;
First read module opens first and reads process, the target is read with the first sequence for accessing the broadcast address The corresponding media information of media file;
Second read module reads process for when meeting preset condition, opening second, the target is read with the second sequence The corresponding media information of media file;
Playing module, for being loaded according to the media information and playing the target media file.
7. media playing apparatus as claimed in claim 6, which is characterized in that the detecting module is specifically used for:
The touch information on terminal touch screen is detected, if in the corresponding icon of the touch information or menu and the presets list Application matches then confirm that the touch information is play instruction;
Corresponding broadcasting control instruction is generated according to the attribute of the touch information.
8. media playing apparatus as claimed in claim 7, which is characterized in that the parsing module is specifically used for:
Obtain corresponding first address information of the broadcasting control instruction;
First address information is parsed using preset resolution server, obtains the corresponding target matchmaker of first address information The broadcast address of body file, wherein the broadcast address is internet protocol address.
9. media playing apparatus as claimed in claim 7 or 8, which is characterized in that first sequence is suitable since head Sequence read, the media information include the total duration of the target media file, data packet sum, data packet header size and Average bit rate.
10. media playing apparatus as claimed in claim 9, which is characterized in that second read module is specifically used for:
Obtain the described first reading information for reading progress feedback;
The reading information is parsed, estimated read access time is obtained;
If described be expected that read access time is more than preset time threshold, open second and read process, described in the second sequence reading The corresponding media information of target media file, wherein second sequence is that backward is read since tail portion.
11. a kind of media play system, which is characterized in that filled including such as claim 6-10 any one of them media play It sets.
CN201810476477.5A 2018-05-17 2018-05-17 Media playing method, device and system Active CN108650544B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810476477.5A CN108650544B (en) 2018-05-17 2018-05-17 Media playing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810476477.5A CN108650544B (en) 2018-05-17 2018-05-17 Media playing method, device and system

Publications (2)

Publication Number Publication Date
CN108650544A true CN108650544A (en) 2018-10-12
CN108650544B CN108650544B (en) 2020-09-29

Family

ID=63756781

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810476477.5A Active CN108650544B (en) 2018-05-17 2018-05-17 Media playing method, device and system

Country Status (1)

Country Link
CN (1) CN108650544B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112363986A (en) * 2021-01-15 2021-02-12 北京东方通软件有限公司 Time optimization method for file caching

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1699229A1 (en) * 2005-03-02 2006-09-06 Thomson Licensing Method, circuit arrangement and camera for providing electronic scan reversal
CN101304433A (en) * 2008-04-17 2008-11-12 北京大学 Method and apparatus for providing data to player as well as multimedia play system
CN102332284A (en) * 2011-08-29 2012-01-25 上海文广科技(集团)有限公司 Multimedia data processing method and processing system suitable for digital media broadcast
CN105245912A (en) * 2015-10-21 2016-01-13 东方网力科技股份有限公司 Methods and devices for caching video data and reading video data
CN106331718A (en) * 2016-08-31 2017-01-11 浙江大华技术股份有限公司 Video back-playing method and device
US20170063471A1 (en) * 2015-08-28 2017-03-02 Red Sunrise Co., Ltd. Audio signal transmission system with enhanced audio signal recognition and data processing method for the same
CN106713221A (en) * 2015-07-29 2017-05-24 中兴通讯股份有限公司 Multimedia file download method and device
CN107622067A (en) * 2016-07-13 2018-01-23 杭州海康威视数字技术股份有限公司 A kind of storage, reading and display methods and device to multiple multimedia files
US20180090175A1 (en) * 2016-09-23 2018-03-29 Apple Inc. Seamless Forward-Reverse Video Loops
CN107959668A (en) * 2016-10-14 2018-04-24 南宁富桂精密工业有限公司 Streaming media optimization method and buffer storage

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1699229A1 (en) * 2005-03-02 2006-09-06 Thomson Licensing Method, circuit arrangement and camera for providing electronic scan reversal
CN101304433A (en) * 2008-04-17 2008-11-12 北京大学 Method and apparatus for providing data to player as well as multimedia play system
CN102332284A (en) * 2011-08-29 2012-01-25 上海文广科技(集团)有限公司 Multimedia data processing method and processing system suitable for digital media broadcast
CN106713221A (en) * 2015-07-29 2017-05-24 中兴通讯股份有限公司 Multimedia file download method and device
US20170063471A1 (en) * 2015-08-28 2017-03-02 Red Sunrise Co., Ltd. Audio signal transmission system with enhanced audio signal recognition and data processing method for the same
CN105245912A (en) * 2015-10-21 2016-01-13 东方网力科技股份有限公司 Methods and devices for caching video data and reading video data
CN107622067A (en) * 2016-07-13 2018-01-23 杭州海康威视数字技术股份有限公司 A kind of storage, reading and display methods and device to multiple multimedia files
CN106331718A (en) * 2016-08-31 2017-01-11 浙江大华技术股份有限公司 Video back-playing method and device
US20180090175A1 (en) * 2016-09-23 2018-03-29 Apple Inc. Seamless Forward-Reverse Video Loops
CN107959668A (en) * 2016-10-14 2018-04-24 南宁富桂精密工业有限公司 Streaming media optimization method and buffer storage

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112363986A (en) * 2021-01-15 2021-02-12 北京东方通软件有限公司 Time optimization method for file caching
CN112363986B (en) * 2021-01-15 2021-07-02 北京东方通软件有限公司 Time optimization method for file caching

Also Published As

Publication number Publication date
CN108650544B (en) 2020-09-29

Similar Documents

Publication Publication Date Title
EP2747373B1 (en) Method and apparatus for managing audio playing
CN110062284B (en) Video playing method and device and electronic equipment
CN109542614B (en) Resource allocation method, device, terminal and storage medium
US20090177965A1 (en) Automatic manipulation of conflicting media presentations
KR20070121662A (en) Media timeline processing infrastructure
CN107241511B (en) Music playing method, device, storage medium and terminal
CN108366299A (en) A kind of media playing method and device
CN104615432B (en) Splash screen information processing method and client
CN108600813A (en) a kind of media file playing method, device and media play system
CN108650544A (en) A kind of media playing method, device and media play system
CN108241748B (en) Method, device, medium and equipment for acquiring live broadcast music name
CN108763375A (en) A kind of media file caching method, device and multimedia play system
CN113282268B (en) Sound effect configuration method and device, storage medium and electronic equipment
CN116173507A (en) Game editing method, device, terminal and storage medium
CN114640876B (en) Multimedia service video display method, device, computer equipment and storage medium
CN108462902A (en) A kind of media file read method and device, multimedia play system
US9800905B2 (en) Device based audio-format selection
CN111356006B (en) Video playing method, device, server and storage medium
CN113573121A (en) Video playing method, device and storage medium
CN108462901A (en) A kind of media file playing method and device
CN112291602A (en) Video playing method, electronic equipment and storage medium
CN112437352A (en) Video merging and playing method and device
CN113225495B (en) Method and device for eliminating video playing noise
US20170034232A1 (en) Caching streaming media to user devices
KR102228375B1 (en) Method and system for reproducing multiple streaming contents

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
GR01 Patent grant
GR01 Patent grant