CN104394476A - Time shifting playing method and media player - Google Patents

Time shifting playing method and media player Download PDF

Info

Publication number
CN104394476A
CN104394476A CN201410714706.4A CN201410714706A CN104394476A CN 104394476 A CN104394476 A CN 104394476A CN 201410714706 A CN201410714706 A CN 201410714706A CN 104394476 A CN104394476 A CN 104394476A
Authority
CN
China
Prior art keywords
streaming media
player
resource address
time point
time shifting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410714706.4A
Other languages
Chinese (zh)
Inventor
苍鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin 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 Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201410714706.4A priority Critical patent/CN104394476A/en
Publication of CN104394476A publication Critical patent/CN104394476A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network 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/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection
    • 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/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
    • H04N21/47202End-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 for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Abstract

The invention provides a time shifting playing method and a media player. The media player comprises an application control interface and a bottom layer player. The method includes that the application control interface transmits a playing command to the bottom layer player, the playing command carries time shifting playing time points and resource address index files, the bottom layer player searches for the resource address information that the time shifting playing time points correspond to, the resource address information that the time shifting playing time points correspond to is utilized as the starting cache address, the streaming data fragments that the resource address information in the resource address index file corresponds to are cached one by one, and the streaming data fragments are played from the time shifting playing time points. By means of the scheme, the playing can be conducted through one-step caching, the time interval used by the media player from determination of the playing command to playing of the video file at the time shifting position is reduced, and user experience is better.

Description

A kind of time shifting broadcasting method and media player
Technical field
The present invention relates to video display arts field, particularly a kind of time shifting broadcasting method and media player.
Background technology
Along with the development of internet technique, increasing people pays close attention to the online broadcasting of Internet video.When watching video online by terminal equipment, the time point can watched desired by self, time shifting broadcasting video content.
The scene that time shifting broadcasting is applied can comprise: video initial play time skip head, again displaying video memory play etc.The time shifting broadcasting of prior art is that the application controls interface of media player is to bottom player transmission play instruction, bottom player is made to carry out initializes itself and data buffer storage, application controls interface also sends time shift instruction to bottom player again, makes bottom player carry out carrying out data buffer storage broadcasting in time shifting broadcasting position.
But in prior art, media player, to receive play instruction longer to the time interval of playing from time-shifted positions between this video file, affects Consumer's Experience.
Summary of the invention
In view of this, the invention provides a kind of time shifting broadcasting method and media player, to solve in prior art media player to receive play instruction longer to the time interval of playing from time-shifted positions between this video file, affect the problem of Consumer's Experience.
The invention provides a kind of time shifting broadcasting method, be applied to media player, described media player comprises application controls interface and bottom player, comprising:
Application controls interface sends play instruction to bottom player, and described play instruction carries time shifting broadcasting time point and resource address index file, and described resource address index file comprises the reproduction time segment information of at least two resource address information and correspondence;
Bottom player receives described play instruction, searches resource address information corresponding to described time shifting broadcasting time point according to described resource address index file;
Bottom player using resource address information corresponding for described time shifting broadcasting time point as initial buffer address, and the Streaming Media fragment that resource address information one by one in resource address index file described in buffer memory is corresponding;
When the cache size of Streaming Media fragment reaches the first preset value, bottom player creates corresponding decoding unit according to the Streaming Media fragment of described first preset value, and decodes to data cached according to described decoding unit;
Bottom player plays described Streaming Media fragment from described time shifting broadcasting time point.
Preferably, after described bottom player receives described play instruction, also comprise:
The streaming media type of bottom player determination files in stream media;
Corresponding DST PLAYER is built according to described streaming media type;
Described bottom player plays described Streaming Media fragment from described time shifting broadcasting time point, specifically comprises:
Described DST PLAYER is utilized to play described Streaming Media fragment from described time shifting broadcasting time point.
Preferably, the streaming media type of described bottom player determination files in stream media, specifically comprises:
Bottom player obtains the detected field pre-set;
Detect the parameter entrained by described play instruction according to described detected field, determine the streaming media type that described detected field is corresponding.
Preferably, the streaming media type of described bottom player determination files in stream media, specifically comprises:
Bottom player according to resource address information corresponding to described time shifting broadcasting time point to Streaming Media fragment corresponding to media server buffer memory, when the Streaming Media fragment values of buffer memory reaches the second preset value, and the Streaming Media fragment of described second preset value is resolved, obtain the streaming media type of described files in stream media.
The invention provides a kind of media player, comprising:
Application controls interface, for sending play instruction to bottom player, described play instruction carries time shifting broadcasting time point and resource address index file, and described resource address index file comprises the reproduction time segment information of at least two resource address information and correspondence;
Bottom player, for receiving described play instruction, resource address information corresponding to described time shifting broadcasting time point is searched using resource address information corresponding for described time shifting broadcasting time point as initial buffer address according to described resource address index file, and the Streaming Media fragment that resource address information one by one in resource address index file described in buffer memory is corresponding; When the cache size of Streaming Media fragment reaches the first preset value, bottom player creates corresponding decoding unit according to the Streaming Media fragment of described first preset value, and decodes to data cached according to described decoding unit; Described Streaming Media fragment is play from described time shifting broadcasting time point.
Preferably, described bottom player, also for determining the streaming media type of files in stream media; Corresponding DST PLAYER is built according to described streaming media type;
Described bottom player plays described Streaming Media fragment from described time shifting broadcasting time point, specifically comprises:
Described bottom player utilizes described DST PLAYER to play described Streaming Media fragment from described time shifting broadcasting time point.
Preferably, described bottom player, for determining the streaming media type of files in stream media, specifically comprises:
Bottom player obtains the detected field pre-set;
Detect the parameter entrained by described play instruction according to described detected field, determine the streaming media type that described detected field is corresponding.
Preferably, described bottom player, for determining the streaming media type of files in stream media, specifically comprises:
Bottom player according to resource address information corresponding to described time shifting broadcasting time point to Streaming Media fragment corresponding to media server buffer memory, when the Streaming Media fragment values of buffer memory reaches the second preset value, and the Streaming Media fragment of described second preset value is resolved, obtain the streaming media type of described files in stream media.
The invention provides a kind of time shifting broadcasting method and media player, application controls interface is by adding in play instruction by time shifting broadcasting time point, the resource address information that the time shifting broadcasting time point that bottom player is carried according to play instruction is corresponding starts cache flow media fragment as initial buffer address, thus achieve a buffer memory and can play, relative to twice buffer memory of prior art, make media player receive play instruction to the time interval shortening of playing from time-shifted positions between this video file, Consumer's Experience is better.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram that the embodiment of the present invention provides;
Fig. 2 is the method flow diagram that another embodiment of the present invention provides;
Fig. 3 is the determination method flow diagram of the time shifting broadcasting time point that the embodiment of the present invention provides;
Fig. 4 is the application of installation Organization Chart that the embodiment of the present invention provides;
Fig. 5 is the apparatus structure schematic diagram that the embodiment of the present invention provides;
Fig. 6 is the mutual schematic diagram of method that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The scheme provided to make the embodiment of the present invention is easier to understand, describes time shifting broadcasting method provided by the present invention in detail below in conjunction with Fig. 1, Fig. 2 and Fig. 3.Wherein, the scene that time shifting broadcasting method provided by the invention is applied is aimed at the initial broadcasting of media player, such as, when media player carries out initialization with playing stream media file, carries out time shifting broadcasting by skipping head; And media player is when carrying out initialization playing stream media file, carry out time shifting broadcasting by some memory time.And time shifting broadcasting method provided by the invention is aimed at the time shifting broadcasting of the files in stream media with independent segments, wherein, this streaming media type with the files in stream media of independent segments can be: HLS (HTTPLive Streaming, hypertext live TV stream), MPEG DASH (Dynamic Adaptive Streamingover HTTP, dynamic self-adapting Streaming Media), HDS (HTTP Dynamic Streaming, HTTP dynamic flow) etc.In the present invention, media player is the terminal equipment being arranged in media play, and this terminal equipment can be the equipment that smart mobile phone, notebook computer, intelligent television, panel computer etc. can use application software or webpage displaying video.
Embodiment 1
As shown in Figure 1, embodiments provide a kind of time shifting broadcasting method, the method is performed by media player, and wherein, media player comprises application controls interface and bottom player, and the method can comprise the following steps:
Step 101: application controls interface sends play instruction to bottom player, described play instruction carries time shifting broadcasting time point and resource address index file, and described resource address index file comprises the reproduction time segment information of at least two resource address information and correspondence.
In the present invention, application controls interface is the top of development system, directly for application process provides service, when user uses the Video Applications software on terminal equipment to click video file, triggers application controls interface and sends play instruction to bottom player.Wherein, this play instruction is used to indicate files in stream media corresponding to bottom player plays video file.Wherein, files in stream media refers to the video file play on internet by the mode of stream transmission, and files in stream media comprises multiple Streaming Media fragment.
In the present invention, in order to reduce the data cached wasting of resources of bottom player twice, time shifting broadcasting time point adds in play instruction by application controls interface, application controls interface sends once command to bottom player, makes bottom player know time shifting broadcasting time point according to this play instruction.
In addition, also comprise resource address index file in play instruction, this resource address index file comprises the reproduction time segment information of at least two resource address information and correspondence.Wherein, this resource address information can be URL (Uniform Resource Locator, URL(uniform resource locator)), and URL is for stating the unique address of video file on Internet.Wherein, reproduction time segment information, for state its correspondence resource address information corresponding to the reproduction time section of Streaming Media fragment.
Step 102: bottom player receives described play instruction, searches resource address information corresponding to described time shifting broadcasting time point according to described resource address index file.
Wherein, bottom player, according to resource address index file, determines the reproduction time segment information that time shifting broadcasting time point is positioned at, and namely the resource address information that so this reproduction time segment information is corresponding be the resource address information that time shifting broadcasting time point is corresponding.
Step 103: bottom player using resource address information corresponding for described time shifting broadcasting time point as initial buffer address, and the Streaming Media fragment that resource address information one by one in resource address index file described in buffer memory is corresponding.
In the present invention, bottom player only need from the Streaming Media fragment corresponding to resource address information corresponding to time shifting broadcasting time point buffer memory, relative to the original position buffer memory of prior art from files in stream media, the wasting of resources between the original position saving files in stream media to time shift play position (position of the files in stream media that time shifting broadcasting time point is corresponding).
Step 104: when the cache size of Streaming Media fragment reaches the first preset value, bottom player creates corresponding decoding unit according to the Streaming Media fragment of described first preset value, and decodes to data cached according to described decoding unit.
Step 105: bottom player plays described Streaming Media fragment from described time shifting broadcasting time point.
According to such scheme, application controls interface is by adding in play instruction by time shifting broadcasting time point, the resource address information that the time shifting broadcasting time point that bottom player is carried according to play instruction is corresponding starts cache flow media fragment as initial buffer address, thus achieve a buffer memory and can play, relative to twice buffer memory of prior art, make media player determine that play instruction shortened to the time interval of playing from time-shifted positions between this video file, Consumer's Experience is better.
Embodiment 2
As shown in Figure 2, in order to be further explained above-described embodiment, embodiments provide a kind of time shifting broadcasting method, the method is performed jointly by media player, media server, wherein, media player comprises application controls interface and bottom player.The method can comprise the following steps:
Step 201: application controls interface sends play instruction to bottom player, described play instruction carries time shifting broadcasting time point and resource address index file, and described resource address index file comprises the reproduction time segment information of at least two resource address information and correspondence.
Wherein, use the Video Applications software on terminal equipment as user, click when needing video file, trigger application controls interface sends play instruction from files in stream media to bottom player.
In the present invention, carry two parameters in the play instruction that application controls interface sends to bottom player, one is the resource address index file of files in stream media, comprises reproduction time segment information and corresponding resource address information.Another imports parameter headers into, in prior art, this headers is used to indicate media server information, and in the present invention, time shifting broadcasting time point adds in this headers by application controls interface, makes bottom player in play instruction, know the time shifting broadcasting time point of files in stream media.
In the present invention, this headers is as shown in table 1 below:
Table 1:
Critical field (key) Mark (value) Annotation (comment)
Start-time $time Unit interval is second
Therefore bottom player can pre-set detected field Start-time, when receiving play instruction, the parameter utilizing detected field Start-time to detect entrained by play instruction obtains time shifting broadcasting time point time, and such as, this time shifting broadcasting time point can be 15:00 minute.
In the present invention, user clicks video file, such as video A, and mode determination time shifting broadcasting time point as shown in Figure 3, before sending play instruction to bottom player, can be passed through in application controls interface:
Step 301: application controls interface determines currently whether logged in user profile, if so, performs step 302; Otherwise perform step 304.
Such as, the user profile of this login is: user name: zhangsan, password: * * * * * *.
Step 302: the broadcasting record of video A corresponding to the user profile judging whether to save in current log-on message table current login, if so, performs step 303; Otherwise, perform step 304.
Step 303: using time point corresponding for this broadcasting record as time shifting broadcasting time point.
Wherein, log-on message table can be stated by following table table 2.
Table 2
According to table 2, application controls interface determines that the broadcasting of this user profile viewing video A is recorded as 15:00, so this using time point 15:00 as time shifting broadcasting time point.
Step 304: according to pre-conditioned, determines time shifting broadcasting time point.
If user is pre-conditioned to application software be in advance: skip head.So application controls interface is by resolving the files in stream media information corresponding to video A, determines that the time point that positive starts is 3:21, so using this time point 3:21 as time shifting broadcasting time point.Or user pre-sets other conditions, time shifting broadcasting time point is pre-conditionedly determined according to this in application controls interface.
Step 202: bottom player receives described play instruction, searches resource address information corresponding to described time shifting broadcasting time point according to described resource address index file.
In the present invention, resource address information can comprise the content as shown in following table table 3:
Table 3:
Reproduction time segment information/minute Resource address information
00:00-10:00 http://priv.example.com/fileSequence7794.ts
10:00-20:00 http://priv.example.com/fileSequence7795.ts
20:00-30:00 http://priv.example.com/fileSequence7796.ts
Known according to above-mentioned table 3, the playing duration of files in stream media is total up to 30 minutes, and resource address information comprises 3 resource address information, and each reproduction time segment information corresponding to resource address information.Wherein, the corresponding one section of Streaming Media fragment of each resource address information.
Suppose according to broadcasting record, bottom player determines that time shifting broadcasting time point is 15:00 minute, so determine that this time shifting broadcasting time point corresponds to the 2nd article of resource address information of files in stream media.
Step 203: the streaming media type of bottom player determination files in stream media, and build corresponding DST PLAYER according to streaming media type, and build data buffer storage unit.
Wherein, bottom player can according to the streaming media type of following several mode determination files in stream media:
(1) carry streaming media type in the play instruction that application controls interface sends to bottom player, bottom player determines this streaming media type according to this play instruction.Wherein, this streaming media type is obtained when obtaining the information of files in stream media to media server by application controls interface.
Wherein, this streaming media type is arranged in headers equally, as shown in following table table 4:
Table 4:
Critical field (key) Mark (value) Annotation (comment)
stream-type HLS Streaming media type is HLS
Bottom player, according to arranging another detected field stream-type, detects the parameter entrained by play instruction, determines the streaming media type that this detected field is corresponding.
Or,
(2) bottom player according to the Article 2 resource address information determined in step 202 to media server cache flow media fragment, when the Streaming Media fragment values of buffer memory arrives the second preset value of setting, the Streaming Media fragment of this second preset value is resolved, obtains the streaming media type determining files in stream media.
Wherein, the second preset value can be 2M.
In order to make the broadcasting of files in stream media more smooth, bottom player builds corresponding DST PLAYER according to the streaming media type of files in stream media, such as, if the streaming media type of files in stream media is HLS, so building corresponding DST PLAYER is Nuplayer, and builds corresponding data buffer storage unit HTTP Live Source.
In addition, DST PLAYER and data buffer storage unit also need the initialization notification message sent according to bottom player to carry out initialization.
Step 204: bottom player using resource address information corresponding for described time shifting broadcasting time point as initial buffer address, and the Streaming Media fragment that resource address information one by one in resource address index file described in buffer memory is corresponding.
Data buffer storage unit using the Article 2 resource address information in above-mentioned table 3 as initial buffer address, start the Streaming Media fragment that buffer memory Article 2 resource address information is corresponding, and after the whole buffer memory of Streaming Media fragment that Article 2 resource address information is corresponding completes, continue the Streaming Media fragment that buffer memory Article 3 resource address information is corresponding.
Step 205: when the cache size of Streaming Media fragment reaches the first preset value, bottom player creates corresponding decoding unit according to the Streaming Media fragment of described first preset value, and decodes to data cached according to described decoding unit.
Wherein, this first preset value can be the time period, also can be the size of data value.Such as, arranging this first preset value was 10 seconds.Streaming Media fragment so between 10:00-10:10 minute that data buffer storage unit completes files in stream media, DST PLAYER parses the form of files in stream media according to the Streaming Media fragment between this 10:00-10:10 minute, and create corresponding decoding unit according to the form of files in stream media, wherein, this decoding unit can comprise demultiplexing module and decoder module, for decoding to the Streaming Media fragment of buffer memory.For how the decoding unit corresponding according to the form establishment of files in stream media is prior art, therefore the embodiment of the present invention is not specifically repeating this.
Step 206: bottom player plays described Streaming Media fragment from described time shifting broadcasting time point.
In the present invention, can preset the 3rd preset value, namely when in data buffer storage unit, the Streaming Media fragment values of institute's buffer memory reaches the 3rd preset value, bottom player starts to play.Wherein, the 3rd preset value is not less than the second preset value.Such as, the 3rd preset value is 20 seconds, and time shifting broadcasting time point is 15:00 minute, so data buffer storage unit need buffer memory to complete between 10:00-15:20 minute Streaming Media fragment time, DST PLAYER just can start from 15:00 minute play.
It should be noted that, no matter time shifting broadcasting time point is which position being positioned at reproduction time segment information, all needs to carry out buffer memory from the original position of the Streaming Media fragment corresponding to resource address information corresponding to this reproduction time segment information.
According to such scheme, application controls interface is by adding in play instruction by time shifting broadcasting time point, the resource address information that the time shifting broadcasting time point that bottom player is carried according to play instruction is corresponding starts cache flow media fragment as initial buffer address, thus achieve a buffer memory and can play, relative to twice buffer memory of prior art, make media player determine that play instruction shortened to the time interval of playing from time-shifted positions between this video file, Consumer's Experience is better.
As shown in Figure 4, Figure 5, a kind of media player is embodiments provided.Device embodiment can pass through software simulating, also can be realized by the mode of hardware or software and hardware combining.Say from hardware view; as shown in Figure 4; for a kind of hardware structure diagram of embodiment of the present invention media player place terminal equipment; except the CPU shown in Fig. 4, internal memory, network interface and nonvolatile memory; in embodiment, the equipment at device place can also comprise other hardware usually, as the forwarding chip etc. of responsible process message.For software simulating, as shown in Figure 5, as the device on a logical meaning, be by the CPU of its place equipment, computer program instructions corresponding in nonvolatile memory is read operation in internal memory to be formed.Wherein, the media player 50 that the present embodiment provides comprises application controls interface 501 and bottom player 502, be illustrated in figure 6 application controls interface 501 that the embodiment of the present invention provides, bottom player 502 carry out mutual schematic diagram with media server, comprising:
601: application controls interface 501 sends play instruction to bottom player 502.
Described play instruction carries time shifting broadcasting time point and resource address index file, and described resource address index file comprises the reproduction time segment information of at least two resource address information and correspondence;
In the present invention, application controls interface 501 is the top of development system, directly for application process provides service, when user uses the Video Applications software on terminal equipment to click video file, trigger application controls interface 501 and send play instruction to bottom player 502.Wherein, this play instruction is used to indicate files in stream media corresponding to bottom player 502 playing video file.Wherein, files in stream media refers to the video file play on internet by the mode of stream transmission, and files in stream media comprises multiple Streaming Media fragment.
In the present invention, in order to reduce bottom player 502 twice data cached wasting of resources, time shifting broadcasting time point adds in play instruction by application controls interface 501, application controls interface 501 sends once command to bottom player 502, makes bottom player 502 know time shifting broadcasting time point according to this play instruction.
In addition, also comprise resource address index file in play instruction, this resource address index file comprises the reproduction time segment information of at least two resource address information and correspondence.Wherein, this resource address information can be URL (Uniform Resource Locator, URL(uniform resource locator)), and URL is for stating the unique address of video file on Internet.Wherein, reproduction time segment information, for state its correspondence resource address information corresponding to the reproduction time section of Streaming Media fragment.
602: bottom player 502 receives described play instruction, search resource address information corresponding to described time shifting broadcasting time point according to described resource address index file.
Wherein, bottom player, according to resource address index file, determines the reproduction time segment information that time shifting broadcasting time point is positioned at, and namely the resource address information that so this reproduction time segment information is corresponding be the resource address information that time shifting broadcasting time point is corresponding.
603: bottom player 502 using resource address information corresponding for described time shifting broadcasting time point as initial buffer address, and one by one to the Streaming Media fragment that the resource address information in resource address index file described in media server buffer memory is corresponding.
In the present invention, bottom player 502 only need from the Streaming Media fragment corresponding to resource address information corresponding to time shifting broadcasting time point buffer memory, relative to the original position buffer memory of prior art from files in stream media, the wasting of resources between the original position saving files in stream media to time shift play position (position of the files in stream media that time shifting broadcasting time point is corresponding).
604: when the cache size of Streaming Media fragment reaches the first preset value, bottom player 502 creates corresponding decoding unit according to the Streaming Media fragment of described first preset value, and decodes to data cached according to described decoding unit.
605: bottom player 502 plays described Streaming Media fragment from described time shifting broadcasting time point.
Optionally, described bottom player 502, also for determining the streaming media type of files in stream media; Corresponding DST PLAYER is built according to described streaming media type;
Described bottom player 502 plays described Streaming Media fragment from described time shifting broadcasting time point, specifically comprises:
Described bottom player 502 utilizes described DST PLAYER to play described Streaming Media fragment from described time shifting broadcasting time point.
Optionally, described bottom player 502, for determining the streaming media type of files in stream media, specifically comprises:
Bottom player 502 obtains the detected field pre-set;
Detect the parameter entrained by described play instruction according to described detected field, determine the streaming media type that described detected field is corresponding.
Optionally, described bottom player 502, for determining the streaming media type of files in stream media, specifically comprises:
Bottom player 502 according to resource address information corresponding to described time shifting broadcasting time point to Streaming Media fragment corresponding to media server buffer memory, when the Streaming Media fragment values of buffer memory reaches the second preset value, and the Streaming Media fragment of described second preset value is resolved, obtain the streaming media type of described files in stream media.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (8)

1. a time shifting broadcasting method, is applied to media player, and described media player comprises application controls interface and bottom player, it is characterized in that, comprising:
Application controls interface sends play instruction to bottom player, and described play instruction carries time shifting broadcasting time point and resource address index file, and described resource address index file comprises the reproduction time segment information of at least two resource address information and correspondence;
Bottom player receives described play instruction, searches resource address information corresponding to described time shifting broadcasting time point according to described resource address index file;
Bottom player using resource address information corresponding for described time shifting broadcasting time point as initial buffer address, and the Streaming Media fragment that resource address information one by one in resource address index file described in buffer memory is corresponding;
When the cache size of Streaming Media fragment reaches the first preset value, bottom player creates corresponding decoding unit according to the Streaming Media fragment of described first preset value, and decodes to data cached according to described decoding unit;
Bottom player plays described Streaming Media fragment from described time shifting broadcasting time point.
2. method according to claim 1, is characterized in that, after described bottom player receives described play instruction, also comprises:
The streaming media type of bottom player determination files in stream media;
Corresponding DST PLAYER is built according to described streaming media type;
Described bottom player plays described Streaming Media fragment from described time shifting broadcasting time point, specifically comprises:
Described DST PLAYER is utilized to play described Streaming Media fragment from described time shifting broadcasting time point.
3. method according to claim 2, is characterized in that, the streaming media type of described bottom player determination files in stream media, specifically comprises:
Bottom player obtains the detected field pre-set;
Detect the parameter entrained by described play instruction according to described detected field, determine the streaming media type that described detected field is corresponding.
4. method according to claim 2, is characterized in that, the streaming media type of described bottom player determination files in stream media, specifically comprises:
Bottom player according to resource address information corresponding to described time shifting broadcasting time point to Streaming Media fragment corresponding to media server buffer memory, when the Streaming Media fragment values of buffer memory reaches the second preset value, and the Streaming Media fragment of described second preset value is resolved, obtain the streaming media type of described files in stream media.
5. a media player, is characterized in that, comprising:
Application controls interface, for sending play instruction to bottom player, described play instruction carries time shifting broadcasting time point and resource address index file, and described resource address index file comprises the reproduction time segment information of at least two resource address information and correspondence;
Bottom player, for receiving described play instruction, resource address information corresponding to described time shifting broadcasting time point is searched using resource address information corresponding for described time shifting broadcasting time point as initial buffer address according to described resource address index file, and the Streaming Media fragment that resource address information one by one in resource address index file described in buffer memory is corresponding; When the cache size of Streaming Media fragment reaches the first preset value, bottom player creates corresponding decoding unit according to the Streaming Media fragment of described first preset value, and decodes to data cached according to described decoding unit; Described Streaming Media fragment is play from described time shifting broadcasting time point.
6. device according to claim 5, is characterized in that, described bottom player, also for determining the streaming media type of files in stream media; Corresponding DST PLAYER is built according to described streaming media type;
Described bottom player plays described Streaming Media fragment from described time shifting broadcasting time point, specifically comprises:
Described bottom player utilizes described DST PLAYER to play described Streaming Media fragment from described time shifting broadcasting time point.
7. device according to claim 6, is characterized in that, described bottom player, for determining the streaming media type of files in stream media, specifically comprises:
Bottom player obtains the detected field pre-set;
Detect the parameter entrained by described play instruction according to described detected field, determine the streaming media type that described detected field is corresponding.
8. device according to claim 6, is characterized in that, described bottom player, for determining the streaming media type of files in stream media, specifically comprises:
Bottom player according to resource address information corresponding to described time shifting broadcasting time point to Streaming Media fragment corresponding to media server buffer memory, when the Streaming Media fragment values of buffer memory reaches the second preset value, and the Streaming Media fragment of described second preset value is resolved, obtain the streaming media type of described files in stream media.
CN201410714706.4A 2014-11-28 2014-11-28 Time shifting playing method and media player Pending CN104394476A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410714706.4A CN104394476A (en) 2014-11-28 2014-11-28 Time shifting playing method and media player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410714706.4A CN104394476A (en) 2014-11-28 2014-11-28 Time shifting playing method and media player

Publications (1)

Publication Number Publication Date
CN104394476A true CN104394476A (en) 2015-03-04

Family

ID=52612304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410714706.4A Pending CN104394476A (en) 2014-11-28 2014-11-28 Time shifting playing method and media player

Country Status (1)

Country Link
CN (1) CN104394476A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187919A (en) * 2015-07-24 2015-12-23 青岛海信传媒网络技术有限公司 Television program processing method and equipment
CN106028157A (en) * 2015-09-16 2016-10-12 展视网(北京)科技有限公司 Data address related stream media file play method and device
CN106231344A (en) * 2016-07-21 2016-12-14 青岛海信电器股份有限公司 A kind of video break-point continuous playing method and display device
WO2017092327A1 (en) * 2015-12-03 2017-06-08 乐视控股(北京)有限公司 Playing method and apparatus
CN107809678A (en) * 2016-09-09 2018-03-16 阿里巴巴集团控股有限公司 Processing method, device and the equipment of multimedia file
CN107979570A (en) * 2016-10-25 2018-05-01 北京优朋普乐科技有限公司 Network transceiver resource data processing method and device
CN108259987A (en) * 2017-12-19 2018-07-06 湖北鸿云科技股份有限公司 Mobile terminal low delay DST PLAYER and playback method
CN108696770A (en) * 2017-04-10 2018-10-23 合网络技术(北京)有限公司 Multimedia resource live play method and device
CN109218257A (en) * 2017-06-30 2019-01-15 中国电信股份有限公司 Flow media playing method, system, server and the device for streaming media playing
CN109819310A (en) * 2019-01-25 2019-05-28 青岛海信传媒网络技术有限公司 A kind of stream medium data playback method and device
CN112685329A (en) * 2019-10-17 2021-04-20 云丁网络技术(北京)有限公司 Method for processing data and related device
CN115809027A (en) * 2023-01-11 2023-03-17 杭州广科安德生物科技有限公司 Biological data acquisition and management system, device and method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287107A (en) * 2008-05-29 2008-10-15 腾讯科技(深圳)有限公司 Demand method, system and device of media file
CN101577627A (en) * 2009-06-17 2009-11-11 腾讯科技(深圳)有限公司 System and method for downloading and playing multimedia file
CN102025736A (en) * 2010-12-08 2011-04-20 四川长虹电器股份有限公司 Continuous playing method for cross-platform program and system
CN102131106A (en) * 2010-12-22 2011-07-20 华为技术有限公司 Method, device and system for playing streaming media contents
CN102420840A (en) * 2010-09-27 2012-04-18 西安龙飞软件有限公司 Method for realizing brew-based Http (Hyper Text Transport Protocol) progressive video player
US20120114118A1 (en) * 2010-11-05 2012-05-10 Samsung Electronics Co., Ltd. Key rotation in live adaptive streaming
CN103533401A (en) * 2013-10-22 2014-01-22 中国联合网络通信集团有限公司 Stream media data switch playing method and player

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287107A (en) * 2008-05-29 2008-10-15 腾讯科技(深圳)有限公司 Demand method, system and device of media file
CN101577627A (en) * 2009-06-17 2009-11-11 腾讯科技(深圳)有限公司 System and method for downloading and playing multimedia file
CN102420840A (en) * 2010-09-27 2012-04-18 西安龙飞软件有限公司 Method for realizing brew-based Http (Hyper Text Transport Protocol) progressive video player
US20120114118A1 (en) * 2010-11-05 2012-05-10 Samsung Electronics Co., Ltd. Key rotation in live adaptive streaming
CN102025736A (en) * 2010-12-08 2011-04-20 四川长虹电器股份有限公司 Continuous playing method for cross-platform program and system
CN102131106A (en) * 2010-12-22 2011-07-20 华为技术有限公司 Method, device and system for playing streaming media contents
CN103533401A (en) * 2013-10-22 2014-01-22 中国联合网络通信集团有限公司 Stream media data switch playing method and player

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187919A (en) * 2015-07-24 2015-12-23 青岛海信传媒网络技术有限公司 Television program processing method and equipment
CN106028157A (en) * 2015-09-16 2016-10-12 展视网(北京)科技有限公司 Data address related stream media file play method and device
WO2017092327A1 (en) * 2015-12-03 2017-06-08 乐视控股(北京)有限公司 Playing method and apparatus
CN106231344A (en) * 2016-07-21 2016-12-14 青岛海信电器股份有限公司 A kind of video break-point continuous playing method and display device
CN107809678B (en) * 2016-09-09 2020-09-08 阿里巴巴集团控股有限公司 Multimedia file processing method, device and equipment
CN107809678A (en) * 2016-09-09 2018-03-16 阿里巴巴集团控股有限公司 Processing method, device and the equipment of multimedia file
CN107979570A (en) * 2016-10-25 2018-05-01 北京优朋普乐科技有限公司 Network transceiver resource data processing method and device
CN108696770A (en) * 2017-04-10 2018-10-23 合网络技术(北京)有限公司 Multimedia resource live play method and device
CN109218257A (en) * 2017-06-30 2019-01-15 中国电信股份有限公司 Flow media playing method, system, server and the device for streaming media playing
CN108259987A (en) * 2017-12-19 2018-07-06 湖北鸿云科技股份有限公司 Mobile terminal low delay DST PLAYER and playback method
CN109819310A (en) * 2019-01-25 2019-05-28 青岛海信传媒网络技术有限公司 A kind of stream medium data playback method and device
CN109819310B (en) * 2019-01-25 2021-07-27 青岛海信传媒网络技术有限公司 Streaming media data playing method and device
CN112685329A (en) * 2019-10-17 2021-04-20 云丁网络技术(北京)有限公司 Method for processing data and related device
CN115809027A (en) * 2023-01-11 2023-03-17 杭州广科安德生物科技有限公司 Biological data acquisition and management system, device and method
CN115809027B (en) * 2023-01-11 2023-05-30 杭州广科安德生物科技有限公司 Biological data acquisition and management system, device and method

Similar Documents

Publication Publication Date Title
CN104394476A (en) Time shifting playing method and media player
US11539989B2 (en) Media content redirection
CN103475932B (en) Seamless online player method and device, the network television system of Internet video
JP6379375B2 (en) Method and apparatus for processing social media for multimedia content shifted at a selected time
CN104125229B (en) The player method of Streaming Media and playing device
CN102036058B (en) Method, server, terminal and system for switching videos in video monitoring system
US20120116883A1 (en) Methods and systems for use in incorporating targeted advertising into multimedia content streams
JP2020504922A (en) System and method for interrupting streaming content provided via an inviolable manifest protocol
WO2013032787A1 (en) Media source identification
US20240073279A1 (en) Methods for Determining Second Screen Content Based on Data Events at Primary Content Output Device
WO2017189054A1 (en) Similar introduction caching mechanism
CN104394475A (en) Streaming media file playing method and media player
CN104486682A (en) Method for checking television program comments
WO2018011682A1 (en) Method and system for real time, dynamic, adaptive and non-sequential stitching of clips of videos
JP2019527951A (en) System and method for stitching advertisements into streaming content
CN105100906A (en) Play control method and play control device
CN103747345A (en) Method and equipment for video playing of intelligent televisions
CN103561337A (en) Live web casting method and device based on intelligent television
CN105100912A (en) Streaming media processing method and streaming media processing apparatus
WO2018011686A1 (en) Method and system for navigation between segments of real time, adaptive and non-sequentially assembled video
CN103702178A (en) Play method and electronic equipment
CN105992022A (en) On-line recording and downloading method and system
KR20180016976A (en) Receiving device, transmitting device and data processing method
KR102308877B1 (en) Digital broadcasting receiver, method of controlling a digital broadcasting receiver, sever, method of controlling a sever and computer-readable storage medium
KR102611253B1 (en) Receiving devices, transmitting devices and data processing methods

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20190409