CN104244069A - Network video playing method, storing method, playing equipment, server side and system - Google Patents
Network video playing method, storing method, playing equipment, server side and system Download PDFInfo
- Publication number
- CN104244069A CN104244069A CN201410467911.5A CN201410467911A CN104244069A CN 104244069 A CN104244069 A CN 104244069A CN 201410467911 A CN201410467911 A CN 201410467911A CN 104244069 A CN104244069 A CN 104244069A
- Authority
- CN
- China
- Prior art keywords
- video
- video segment
- mode
- analogue
- fragment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention provides a network video playing method, a caching method, playing equipment, a server side and a system. The network video playing method includes the steps that when a video source switching instruction is received, a first mode video clip which is played currently is switched to be a second mode video clip to be played; the first mode video clip and a second mode video clip are mutually independent and are the same in content. According to the technical scheme, when the first mode video clip is played and the video source switching instruction is received, the first mode video clip which is played currently is switched to be the second mode video clip with the same content; for example, a 2D video clip is switched into a 3D video clip with the same content, or the 3D video clip is switched into the 2D video clip with the same content. Due to the fact that the two mode video clips are mutually independent, extraction or conversion time is saved, and therefore the video blocking phenomenon can be avoided in the video source switching process.
Description
Technical field
The present invention relates to network video-on-demand technology, in particular to a kind of Internet video player method, caching method, playback equipment, service end and system.
Background technology
Current, some Large video websites are when providing video source, and the video source that service end is provided usually carries out segment processing, are divided into multiple video segment by a video source completed.Like this, when receiving the video cache demand of request end, usual first buffer memory one video segment of service end is to service end, waiting when receiving the demand of next video segment of buffer memory that request end sends, then gives next video segment of request end buffer memory.The largest benefit of such process is, when user does not continue viewing video, request end can not continue to send video source request to service end, so then can save certain flow.
On the other hand, Large video website not only provides 2D video source through segment processing and 3D video source, and can realize the mutual switching of 2D video source and 3D video source.In prior art, the mode realizing the switching of 2D/3D video source mainly contains the following two kinds:
First kind of way is: service end provides the 3D video source of complete set.When 3D plays, playback equipment (can support that 3D shows) obtains a certain section of 3D video segment from service end, and is decoded by the 3D video segment of this acquisition, obtains the right figure of left figure and 3D of 3D, realizes 3D and plays, present 3D display effect.Now, if when playback equipment receives the request being switched to 2D broadcasting, playback equipment is response demand, then can extract half video source (extracting the right figure of left figure or 3D of 3D out) out from the 3D video source obtained, and the right figure of left for the 3D of extraction figure or 3D is stretched to whole screen, thus realize 2D broadcasting.
The second way is: service end provides the 2D video source of complete set.When 2D plays, playback equipment (can support that 3D shows) obtains 2D video segment from service end, and is decoded by the 2D video segment of this acquisition, can realize 2D and play.When playback equipment receives the request being switched to 3D broadcasting, be response demand, its built-in processor can be utilized, convert the 2D video segment of acquisition to 3D video segment by certain algorithm, and then the 3D realizing video segment plays.
When realizing 2D/3D video switch, above-mentioned two kinds of switching modes come with some shortcomings.Such as, when adopting first kind of way, no matter playback equipment carries out 2D broadcasting or 3D broadcasting, and it is all 3D video source from service end acquisition, and this can cause great flow to waste to a certain extent; Further, due to when carrying out 2D and playing, it extracts half video source and plays to realize 2D from 3D video source, and therefore can cause picture distortion to a certain extent, when causing 2D to play, video effect is bad.Again such as, when adopting the second way, play for realizing 3D, when playback equipment needs 2D Video Quality Metric to be become 3D video, the processor height running needing playback equipment built-in, so not only expends the memory source of playback equipment, and very power consumption, greatly shorten playback equipment, as the cruising time of mobile terminal, be not too applicable to promoting.In addition, all there is Caton phenomenon when video switch in above-mentioned two kinds of video playback modes.
Summary of the invention
Existing when 2D/3D video switch in order to overcome, there is Caton phenomenon and the problem such as display frame is unintelligible, the invention provides a kind of Internet video player method, caching method, playback equipment, service end and system.
In order to solve the problems of the technologies described above, the invention provides following technical scheme:
On the one hand, embodiments provide a kind of Internet video player method, comprising:
When receiving video source switching command, the first mode video segment of current broadcasting being switched to the second analogue video fragment and plays; Described first mode video segment is with described second analogue video fragment is separate and content is identical.
Wherein, described first mode video segment and the second analogue video fragment comprise 2D video segment and 3D video segment, when described first mode video segment is 2D video segment, described second analogue video fragment is 3D video segment, when described first mode video segment is 3D video segment, described second analogue video fragment is 2D video segment.
Wherein, the described first mode video segment by current broadcasting switches to the step of the second analogue video fragment, comprising:
Search this locality and whether store the second analogue video fragment identical with the first mode video segment content of current broadcasting;
If have, then switch to the local described second analogue video fragment stored;
If no, then from network, obtain the second analogue video fragment identical with the first mode video segment content of current broadcasting, and after the described second analogue video fragment of acquisition, described first mode video segment is switched to described second analogue video fragment.
Wherein, described in search the local step whether storing the second analogue video fragment identical with the first mode video segment content of current broadcasting, comprising:
Search this locality and whether store the second analogue video fragment identical with the first mode video segment identification code of current broadcasting.
Wherein, the described first mode video segment by current broadcasting switches to the step of the second analogue video fragment, comprising:
The second analogue video fragment identical with the first mode video segment content of current broadcasting is obtained from network;
The first mode video segment of current broadcasting is switched to the second analogue video fragment of described acquisition.
Wherein, the described step obtaining the second analogue video fragment identical with the first mode video segment content of current broadcasting from network, comprising:
Send video source switching command, carry the identification code of first mode video segment of current broadcasting and the mode identifier of the video segment of request in described switching command, the video segment of this mode identifier instruction request is the second analogue video fragment;
Receive the second analogue video fragment transmitted, described second analogue video fragment has the identification code identical with described first mode video segment.
Wherein, the step of described broadcasting second analogue video fragment, comprising:
Obtain the play position of the first mode video segment of current broadcasting;
Described second analogue video fragment is play from the play position of the first mode video segment of current broadcasting.
Wherein, play described first mode video segment when initial start before, also comprise:
Read the configuration information of self, first mode video segment or the second analogue video fragment are play in the instruction of this configuration information;
When first mode video segment is play in configuration information instruction, play described first mode video segment.
On the other hand, the embodiment of the present invention additionally provides a kind of Internet video storage means, comprising:
Store the identical and separate first mode video segment of content and the second analogue video fragment;
When receiving video source switching command, send but video segment that content identical different from the video segment pattern of previous transmission.
Wherein, before the step of the first mode video segment that described storage content is identical and separate and the second analogue video fragment, comprising:
Separate first mode video source and the second analogue video source are divided into respectively N section described first mode video segment and the described second analogue video fragment of N section, the first mode video segment that each described second analogue video fragment is identical with its content has identical identification code, and N is integer and is more than or equal to 2.
Wherein, described transmission but the step of video segment that content identical different from the video segment pattern of previous transmission, comprising:
Extract the mode identifier of the identification code of video segment and the video segment of request carried in described video source switching command;
Search the video segment all identical with mode identifier with the identification code of described extraction and send.
Correspondingly, the embodiment of the present invention additionally provides a kind of Internet video playback equipment, comprising:
Playing module, for playing first mode video segment;
With, handover module, for when receiving video source switching command, switches to the second analogue video fragment by the first mode video segment of current for described playing module broadcasting; Described first mode video segment is with described second analogue video fragment is separate and content is identical;
Described playing module, also for playing described second analogue video fragment.
Wherein, described first mode video segment and the second analogue video fragment comprise 2D video segment and 3D video segment; When described first mode video segment is 2D video segment, described second analogue video fragment is 3D video segment, and when described first mode video segment is 3D video segment, described second analogue video fragment is 2D video segment.
Wherein, described handover module comprises:
Searching unit, whether storing the second analogue video fragment identical with the first mode video segment content of the current broadcasting of described playing module for searching this locality;
Switch unit, for when the described lookup result searching unit is for being, switches to local the second analogue video fragment stored by described first mode video segment;
With, acquiring unit, for when the described lookup result searching unit is no, obtains the second analogue video fragment identical with the first mode video segment content of the current broadcasting of described playing module from network;
Described switch unit, also for after described acquiring unit obtains described second analogue video fragment, switches to the second analogue video fragment that described acquiring unit obtains by described first mode video segment.
Wherein, described handover module comprises:
Acquiring unit, for obtaining the second analogue video fragment identical with the first mode video segment content of the current broadcasting of described playing module from network;
With, switch unit, for after described acquiring unit obtains described second analogue video fragment, switches to the second analogue video fragment that described acquiring unit obtains by described first mode video segment.
Correspondingly, the embodiment of the present invention additionally provides a kind of service end, comprising:
Memory module, for storing the identical and separate first mode video segment of content and the second analogue video fragment;
With, transport module, for when receiving video source switching command, send but video segment that content identical different from video segment pattern that is previous transmission that be that store in described memory module.
Wherein, described service end also comprises:
Segmentation module, before storing the identical and separate first mode video segment of content and the second analogue video fragment in described memory module, separate first mode video source and the second analogue video source are divided into respectively N section described first mode video segment and the described second analogue video fragment of N section, the first mode video segment that each described second analogue video fragment is identical with its content has identical identification code, and N is integer and is more than or equal to 2.
Wherein, described transport module, comprising:
Extraction unit, for extracting the mode identifier of the identification code of video segment and the video segment of request carried in described video source switching command;
Search unit, for searching the video segment all identical with mode identifier with the identification code that described extraction unit extracts;
Transmission unit, for searching the video segment that unit searches described in sending.
The embodiment of the present invention additionally provides a kind of Internet video Play System, comprising:
Above-mentioned arbitrary described Internet video playback equipment, and above-mentioned arbitrary described service end.
Beneficial effect of the present invention:
At broadcasting first mode video segment and when receiving video source switching command, the first mode video segment of current broadcasting is switched to the second analogue video fragment that content is identical.Such as, 2D video segment is switched to the 3D video segment that content is identical, or 3D video segment is switched to the identical 2D video segment of content.Because the video segment of two patterns is separate, eliminate the time extracted or change, therefore can avoid the video Caton phenomenon occurred in video source handoff procedure.And the 2D video segment play and 3D video segment all obtain respectively from network, compared with first kind of way in background technology, are not all 3D video source, therefore, it is possible to save flow to a certain extent due to what obtain at first; And due to when carrying out 2D and playing, its video source play is not extracted out from 3D video source, therefore can not cause picture distortion, can ensure display effect; And compared with the second way in background technology, client does not need to carry out 2D/3D conversion to the video source received, therefore the hardware configuration belonging to client is not had high requirements, also there will not be the problem of the mobile device reduction in cruising time belonging to client caused because of the running of processor height.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the first embodiment of Internet video player method provided by the invention;
Fig. 2 is the schematic flow sheet of the second embodiment of Internet video player method provided by the invention;
Fig. 3 is the schematic flow sheet of the 3rd embodiment of Internet video player method provided by the invention;
Fig. 4 is the schematic flow sheet of the 4th embodiment of Internet video player method provided by the invention;
Fig. 5 is the schematic diagram of the video segment of Internet video player method provided by the invention;
Fig. 6 is the schematic flow sheet of the 5th embodiment of Internet video player method provided by the invention;
Fig. 7 is the structured flowchart of the first embodiment of Internet video playback equipment provided by the invention;
Fig. 8 is the structured flowchart of the second embodiment of Internet video playback equipment provided by the invention;
Fig. 9 is the structured flowchart of the 3rd embodiment of Internet video playback equipment provided by the invention;
Figure 10 is the structured flowchart of the embodiment of service end provided by the invention;
Figure 11 is the structured flowchart of the embodiment of Internet video Play System provided by the invention.
Embodiment
In order to more clearly understand above-mentioned purpose of the present invention, feature and advantage, below in conjunction with the drawings and specific embodiments, the present invention is further described in detail.It should be noted that, when not conflicting, the feature in various embodiments of the present invention can combine mutually.
The Internet video player method of the embodiment of the present invention, its executive agent can be: the playback equipment with Internet video playing function, such as, be provided with the playback equipment of Internet video client end of playing back (APP), as mobile device etc.
The basic ideas of this Internet video player method are: service end provides two cover patterns different but the video source that content is identical, and this two covers video source is separate, without any relations of dependence (extracting or transformational relation) described in background technology.Two to overlap independently video source can be such as first mode video source and the second analogue video source for this.When first mode video source is 2D video source, the second analogue video source can be 3D video source, otherwise also sets up.Two cover video source can be carried out segmentation by service end respectively, as 2D video source is divided into N section 2D video segment, 3D video source are divided into N section 3D video segment.Further, each 2D video segment 3D video segment identical with its content can also be made to have identical and unique identification code but pattern identification identifier is not identical, namely one is 2D pattern, and one is 3D pattern.Client after establishing the link with service end, then can obtain 2D video segment or 3D video segment from service end and play.
When video playback, what suppose the current broadcasting of client is certain section of first mode video segment, if now client receives the video source switching command of user's input, the first mode video segment of current broadcasting then can be switched to the second analogue video fragment by client, such as 2D video segment is switched to 3D video segment, or 3D video segment is switched to 2D video segment.
This kind of Internet video player method, client, when playing 2D video segment, if receive video source switching command, namely can switch to the 3D video segment identical with 2D video segment content.In like manner, client, when playing 3D video segment, if receive video source switching command, namely can switch to the 2D video segment identical with 3D video segment content.Because 2D video segment and 3D video segment are separate, therefore eliminate extraction required in handoff procedure in background technology or the time of conversion, the video Caton phenomenon occurred in video source handoff procedure can be avoided, ensure that the fluency of video.And compared with the first 2D/3D video source switching mode in background technology, known client at first from service end obtain be not 3D video source entirely, therefore, it is possible to save flow to a certain extent; And when carrying out 2D and playing, the video source of client terminal playing is not extracted out from 3D video source, therefore can not cause picture distortion, can ensure the display effect of video; And compared with the second way in background technology, client does not need to carry out 2D/3D conversion to the video source received, because this reducing the configuration requirement of the hardware device belonging to client, and also there will not be the problem causing the hardware device belonging to client to reduce cruising time as mobile device because the running of processor height.
First mode video segment is switched to the mode of the second analogue video fragment, during specific implementation, can be such as: from network, obtain the second analogue video fragment identical with the first mode video segment content of current broadcasting, as client sends video source switching command to service end, to obtain the second analogue video fragment with the first mode video segment of current broadcasting with identical content from service end.
First mode video segment is switched to the mode of the second analogue video fragment, during specific implementation, can be again such as: first search this locality and whether store the second analogue video fragment identical with the first mode video segment content of current broadcasting, and when finding the second identical analogue video fragment in this locality, switch and play this second analogue video fragment found; And when not find the second identical analogue video fragment in this locality, the second analogue video fragment identical with the first mode video segment content of current broadcasting is obtained from network, as client sends video source switching command to service end, to obtain the second analogue video fragment with the first mode video segment of current broadcasting with identical content from service end.
Client can play this second analogue video fragment after being switched to the second analogue video fragment identical with the first mode video segment content of current broadcasting by any one mode above-mentioned.Client adopts the second switching mode and when judged result is for being, can play-overs local the second analogue video fragment stored, and need not obtain from network again, thus can save flow.Wherein, the second analogue video fragment that client stores can be that client was asked and stores before playing current first mode video segment.Further, this kind of mode can also solve user in prior art and frequently carry out the problem that card appears in video when video source switches, and promotes the result of broadcast of Internet video further, the viewing experience of lifting user.
Further, client, when searching this locality and whether storing the second analogue video fragment identical with the first mode video segment content of current broadcasting, can be specifically:
Search this locality and whether store the second analogue video fragment identical with the first mode video segment identification code of current broadcasting.The second analogue video fragment identical with its content at first mode video segment has identical and unique identification code, by searching the whether identical mode of identification code, just can judge whether this locality stores the second analogue video fragment identical with the first mode video segment content of current broadcasting.
Further, when client switches to the second analogue video fragment from first mode video segment and plays, can be specifically:
Obtain the play position of the first mode video segment of current broadcasting, this play position is used to indicate the play time of the first mode video segment of current broadcasting.After getting this play position, client then can search play position identical with the play position of this first mode video segment in the second analogue video fragment, and start to play the second analogue video fragment from the play position found, then play the second analogue video fragment the play position that client is identical with the play position residing for the first mode video segment of current broadcasting from the second analogue video fragment in other words.When broadcasting second analogue video source, owing to being start to play play position identical with the play position residing for first mode video segment from the second analogue video fragment, therefore, it is possible to continuity when ensureing that user watches Internet video, promote viewing experience when user watches Internet video further.
Below, will by specific embodiment, composition graphs 1-Fig. 6 is described in detail Internet video player method provided by the invention, caching method.Set forth a lot of detail in the following description so that fully understand the present invention, but the present invention can also adopt other to be different from other modes described here to be implemented.Therefore, the present invention is not limited to the restriction of following public specific embodiment.
As shown in Figure 1, be the schematic flow sheet of the first embodiment of Internet video player method provided by the invention, this Internet video player method, comprises the steps:
Step S11, plays first mode video segment;
The executive agent playing first mode video segment can be the playback equipment with Internet video playing function, the playback equipment of Internet video client end of playing back (APP) is such as installed, as PC, mobile device or panel computer etc. can certainly be that other have the equipment of Internet video playing function.Below for the client of installing in mobile device, be described in detail.
The precondition of client terminal playing first mode video segment is: client terminal start-up is also successful obtains first mode video segment from network, such as, from providing the service end of Internet video resource to obtain first mode video segment.The mode that client obtains first mode video segment can be: client and service end set up network linking, link successfully, and client obtains first mode video segment from service end.
The time point of client terminal playing first mode video segment can have two classes substantially: play first and again play.Play first and divide two kinds of modes: one is that client plays first mode video segment when initial startup; Another kind is that client plays the second analogue video fragment switching when initial startup, when receiving video source switching command, switches to first mode video segment first by the second analogue video fragment of current broadcasting.
Client starts and before broadcasting the first video segment, can also comprise: the configuration information reading self initial, this configuration information instruction client this broadcasting first mode video segment current or the second analogue video fragment; And when first mode video segment is play in configuration information instruction, play and obtain first mode video segment from network.
When client terminal playing first mode video segment, if now receive video source switching command, namely perform step S12-S13.
Step S12, switches to the second analogue video fragment identical with its content by the first mode video segment of current broadcasting.
In this step, first mode video segment is with the second analogue video fragment is separate and content is identical.Here so-called separate, refer to first mode video segment and the second analogue video fragment does not exist the mutual relations of dependence, as there is not transformational relation or extraction relation each other.First mode video segment and the second analogue video fragment can comprise 2D video segment and 3D video segment, when first mode video segment is 2D video segment, second analogue video fragment is 3D video segment, when first mode video segment is 3D video segment, the second analogue video fragment is then 2D video segment.Wherein, the video segment of two patterns is all that client obtains from network at first, and that is this will provide two to overlap independently video source to client in network.
For example, if the service end in network stores the different but video source that content is identical of two cover patterns, first mode video source and the second analogue video source is referred to as in an embodiment.When first mode video source is 2D video source, first mode video segment is 2D video segment, and the second analogue video source is then 3D video source, and the second analogue video fragment is then 3D video segment; When first mode video source is 3D video source, first mode video segment is 3D video segment, and the second analogue video source is then 2D video source, 2D video segment during the second analogue video fragment.
Video source different for two cover patterns is carried out segment processing by service end in advance, can be specifically first mode video source to be divided into N section first mode video segment, and N is integer and is more than or equal to 2.Meanwhile, the second analogue video source is also divided into N section second analogue video fragment by service end.N section first mode video segment is from N section second analogue video fragment one_to_one corresponding and content is identical but pattern is different.For the value of N, can determine according to the concrete length of video source, when the length of video source is determined, such as, when being M, the ratio of M/N so can be made to be the occurrence determining N in 5 minutes.Certainly, being other values thus determining N of M/N can also be made.Further, service end can also be that content is identical but the identification code that the first mode video segment that pattern is different is identical and unique with the second analogue video segments configure, but first mode video segment is different with the mode identifier of the second analogue video fragment.Wherein, mode identifier is 2D or 3D for identifying the pattern of video segment.
Step S13, plays the second analogue video fragment.
In this step, after the second analogue video fragment that the first mode video segment of current broadcasting switches to content identical by client, the second analogue video fragment can be play, and then the switching realizing video source is play.
The Internet video player method of step S11-S13, at broadcasting first mode video segment and when receiving video source switching command, the first mode video segment of current broadcasting is switched to the second analogue video fragment that content is identical.Such as, 2D video segment is switched to the 3D video segment that content is identical, or 3D video segment is switched to the identical 2D video segment of content.Because the video segment of two patterns is separate, therefore to eliminate in background technology extraction required in handoff procedure or the time of conversion, and then the video Caton phenomenon that occurs in video source handoff procedure can be avoided.And because the 2D video segment play and 3D video segment all obtain respectively from network, compared with first kind of way in background technology, because of initial acquisition is not all 3D video source, therefore, it is possible to save flow to a certain extent; And when carrying out 2D and playing, its video source play is not extracted out from 3D video source, therefore can not cause picture distortion, can ensure that Internet video has preferably display effect; And compared with the second way in background technology, client does not need to carry out 2D/3D conversion to the video source received, therefore the hardware configuration of the mobile device belonging to client is not had high requirements, also there will not be the problem of the mobile device reduction in cruising time belonging to client caused because of the running of processor height.
Please refer to Fig. 2 below, video segment is 3D video segment in a first pattern, and the second analogue video fragment is 2D video segment is example, introduces the Internet video player method of the embodiment of the present invention in detail.Flow process according to Fig. 2, in like manner can release first mode video segment is 2D video segment, and the second analogue video fragment is the flow process of 3D video segment.
Wherein, the Internet video player method shown in Fig. 2, specifically comprises:
Step S21, plays 3D video segment.
After execution step S21, step S22 or step S25 can be performed or continue to perform step S21.
After execution step S21, if now client receives video source switching command, then show that user needs to carry out video source switching, then perform step S22.
After execution step S21, if now user does not think to continue to watch video again, then perform step S25, client exits broadcasting.
After execution step S21, if now user wants to continue with 3D pattern viewing video, then to continue to perform step S21.Now, client obtains next section of 3D video segment of the 3D video segment of current broadcasting from network.Such as, as shown in Figure 5, that suppose the current broadcasting of client is 3D video segment P2, when continuing to perform step S21, then continues to play 3D video segment P3.
Step S22, when receiving video source switching command, by the 2D video segment that the 3D video segment of current broadcasting switches to content identical.
When performing step S22, can be described in detail by Fig. 5.
Please refer to Fig. 5, that suppose the current broadcasting of client is 3D video segment P4, and so when receiving switching command, client then needs to switch to the 2D video segment P4 identical with 3D video segment P4 content.
Step S23, plays 2D video segment.
After execution step S23, step S24 or step S25 can be performed or continue to perform step S23.
After execution step S23, if now client receives video source switching command, then show that user needs to carry out video source switching, then perform step S24.
After execution step S23, if now user does not think to continue to watch video again, then perform step S25, client exits broadcasting.
When after execution step S23, if now user wants to continue with 2D pattern viewing video, then to continue to perform step S23.Now, client sends video request instruction, obtains next section of 2D video segment of the 2D video segment of current broadcasting from network.Such as, as shown in Figure 5, that suppose the current broadcasting of client is 2D video segment P2, when continuing to perform step S23, then continues to play 2D video segment P3.
Step S24, receives video source switching command, the 2D video segment of current broadcasting is switched to the identical 3D video segment of content.
When performing step S24, can be described in detail by Fig. 5.
Please refer to Fig. 5, that suppose the current broadcasting of client is 2D video segment P6, and so when receiving switching command, client then needs to switch to the 2D video segment P6 identical with 2D video segment P6 content.
After execution step S24, step S21 can be returned again.
Step S25, receives end play instruction, exits broadcasting;
As seen from Figure 2, step S21-step S24 is a process constantly circulated, and its condition exiting circulation is: receive end play instruction, performs step S25.
Please refer to Fig. 3, be the flow chart of the 3rd embodiment of Internet video player method provided by the invention, comprise the steps:
Step S31, plays first mode video segment.
This step is identical with step S11, does not repeat them here.
Step S32, when receiving video source switching command, searching this locality and whether storing the second analogue video fragment identical with the first mode video segment content of current broadcasting;
In this step, when judged result is for being, performing step S33, when judged result is no, then performing step S34.
Step S33, switches to local the second analogue video fragment stored;
After this step is finished, then perform step S35.
Step S34, obtains the second analogue video fragment identical with the first mode video segment content of current broadcasting from network.
In step S32-step S34 process, client before obtaining the second analogue video fragment from network, first can judge whether this locality stores the second analogue video fragment identical with the first video segment content of current broadcasting, its objective is: on the basis of meeting consumers' demand, save flow as much as possible.
Particularly, client when judged result is for being, then can perform step S33, is directly switch into the second analogue video fragment of local storage and again to obtaining from network, thus need not can saves flow.Wherein, the second analogue video fragment that client stores can be that client was asked and stores before playing current first mode video segment.If client is when judged result is no, then performs step S34, from network, namely obtain the second analogue video fragment.Increase determining step S32, not only flow can be saved, and when user frequently carries out video source switching, because the video segment switched all is stored in this locality, therefore can also solve video when user frequently switches in prior art and occur the problem that card pauses, the result of broadcast of further lifting Internet video, promotes the viewing experience of user.
In step S34, when specifically performing, such as, can be: client, by sending the mode of video source switching command to service end, obtains the second analogue video fragment identical with the first mode video segment content of current broadcasting from network.Service end, when receiving the switching command that client is sent, sends but video segment that content identical different from the video segment pattern of previous transmission to client.Specifically, as shown in Figure 5, suppose that the video request instruction request that service end received last time obtains 2D video segment P3, if now receive switching command, then server side searches but 3D video segment P3 that pattern different identical from the 2D video segment P3 content of previous transmission send to client.
Step S35, after acquisition second analogue video fragment, switches to the second analogue video fragment by the first mode video segment of current broadcasting.
In step s 35, need the regular hour because client obtains video resource from service end, therefore before client unsuccessful acquisition second analogue video fragment, client can continue to play first mode video segment.After acquisition second analogue video fragment, client is after successful buffer memory second video segment in other words, just the first mode video segment of current broadcasting is switched to the second analogue video fragment, so then can avoid the Caton phenomenon occurred in video process further.
Step S36, plays the second analogue video fragment.
Further, the second analogue video fragment identical with its content at first mode video segment is set as same identification code, the second identical with its content for first mode video segment analogue video fragment is set as having identical identification code when carrying out segment processing by such as service end, when performing step S32, step S34, following process can be done further:
Perform step S32 time, specifically can:
Search this locality and whether store the second analogue video fragment identical with the first mode video segment identification code of current broadcasting.Search the second analogue video fragment identical with the first mode video segment content of current broadcasting by the mode whether identification code is identical, simple to operate, applicability is strong.
When performing step S34, can in the following way:
Send video source switching command to service end, carry the identification code of first mode video segment of current broadcasting and the mode identifier of the video segment of request in this switching command, the video segment of this mode identifier instruction request is the second analogue video fragment; And the second analogue video fragment that reception service end transmits, this second analogue video fragment has the identification code identical with first mode video segment.
Service end, when receiving switching command, extracts identification code and the mode identifier of the first mode video segment of the current broadcasting of client from this switching command, and searches the second analogue video fragment with this identification code in this locality.Wherein, the video segment of this mode identifier instruction request is the second analogue video fragment.Service end is after the first mode video segment finding the current broadcasting with client has the second analogue video fragment of same identification code, in other words this locality search from the video segment pattern of a request instruction request different but after the video segment that content is identical, this second analogue video fragment can be sent to client.When client receives this second analogue video fragment, switch to this video segment.
Further, when performing step S36, can also in the following way:
Obtain the play position of the first mode video segment of current broadcasting, and search play position corresponding with the play position of first mode video segment in the second analogue video fragment; And from the play position of the second analogue video fragment found, start the second analogue video fragment playing step S35 acquisition.Adopt this kind of broadcast mode, its objective is: the continuity ensureing video display effect in video source handoff procedure, namely ensure to switch to the second analogue video fragment process from first mode video segment, the video content of broadcasting can not repeat, and also constantly occurs the phenomenon of breakthrough.
Below, will by Fig. 4, video segment is 3D video segment in a first pattern, and the second analogue video fragment is 2D video segment is example, illustrates Internet video player method said in Fig. 3.According to the flow process of Fig. 4, in like manner can release first mode video segment is 2D video segment, and the second analogue video fragment is the flow process of 3D video segment, in this not repeated description.
Wherein, the Internet video player method described in Fig. 4, comprising:
Step S41, plays 3D video segment;
After step S41, step S42-S46 can be performed or continue perform step S41 or perform step S411.
Step S42, when receiving video source switching command, searching this locality and whether storing the 2D video segment identical with the 3D video segment identification code of current broadcasting;
If the judged result of step S42 is yes, then perform step S43, if judged result is no, then perform step S44.
Step S43, switches to the local 2D video segment stored;
After this step of execution, then perform step S46.
Step S44, sends video source switching command, carries the identification code of 3D video segment of current broadcasting and the mode identifier of the video segment of request in this switching command;
Step S45, the 3D video segment of current broadcasting is also switched to 2D video segment by the 2D video segment that reception is transmitted;
Step S46, plays 2D video segment;
After execution step S46, step S47-S410 or step S411 can be performed or continue to perform step S46.
Step S47, receives video source switching command, searches this locality and whether stores the 3D video segment identical with the 2D video segment identification code of current broadcasting.
Step S48, switches to the local 3D video segment stored.
After performing step S28, can transfer to perform step S41.
Step S49, sends video source switching command, carries the identification code of 2D video segment of current broadcasting and the mode identifier of the video segment of request in this switching command.
Step S410, the 2D video segment of current broadcasting is also switched to 3D video segment by the 3D video segment that reception is transmitted;
After execution step S410, then perform step S41.
Step S411, receives end play instruction, exits broadcasting.
The condition that this method exits circulation is: perform step S411.
Below, by composition graphs 5, the Internet video playing process shown in Fig. 4 is described further.
As shown in Figure 5, two overlap independently 2D video source and 3D video source serviced end segment processing respectively, form identification code and are respectively P1, P2 ... 7 sections of 2D video segments of P7 and 3D video segment.Below will by way of example, describe 3D video segment respectively and switch to the process that 2D video segment and 2D video segment switch to 3D video segment.
3D video segment switches to 2D video segment:
Please refer to the flow process of Fig. 4, the 3D video segment of to be identification code the be P1 supposing current broadcasting in step S41.In the process playing 3D video segment P1, if do not receive video source switching command or terminate play instruction, then continue to perform step S41, i.e. client terminal playing 3D video segment P1 after the buffer memory completing P1 section, continue buffer memory 3D video segment P2; If after 3D video segment P2 buffer memory completes, 3D video segment P1 finishes not yet, then client no longer continues buffer memory 3D video segment P3, even if user exits viewing in the process of viewing video segment P1 like this, the flow of waste is also only a certain section of 3D video segment P2 at most, therefore to a certain degree can save flow further.Suppose in the process playing 3D video segment P1, if the end play instruction that client inputs to user at T1 reception, then perform step S411, stop the broadcasting of 3D video segment and exit; If client at T1 reception to video source switching command, then perform step S42, namely search local whether to store the 2D video segment that identification code is P1.If lookup result is yes, then perform step S43, if lookup result is no, then perform step S44-S45, namely client obtains 2D video segment P1 from service end.
When performing step S44-S45, client sends video source switching command to service end, carries the mode identifier 2D of the identification code P1 of the 3D video segment of current broadcasting and the video segment of request in this switching command.After service end receives switching command, the identification code P1 carried in switching command can be extracted, and search the 2D video segment that identification code is P1, and the 2D video segment P1 found is sent to client.Client receives the 2D video segment P1 that service end transmits.The regular hour is needed because client obtains video resource from service end, therefore before client unsuccessful buffer memory 2D video segment, client can continue to play 3D video segment P1, and 2D video segment is received in other words after successful buffer memory 2D video segment, the 3D video segment of current broadcasting is switched to 2D video segment, so then can avoid the Caton phenomenon occurred in video process further.
After client success buffer memory 2D video segment, client can perform step S46, namely plays the 2D video segment of acquisition.When performing step S46, can be specifically: client obtains the play position of the 3D video segment P1 of current broadcasting, and this play position identifies the play time of current 3D video segment.Suppose that the time point that client obtains 3D video segment P1 is this moment T2, then client searches the time point T2 identical with this 3D video segment P1 time point T2 in 2D video segment.In 2D video segment, find time point T2, from T2 place, play 2D video segment P1.
Client switches to 2D video segment from 3D video segment and after broadcasting, may occur three kinds of situations:
Client executing step S46, continues to play 2D video segment;
Client executing step S411, receives end play instruction, exits broadcasting;
Client executing step S47, receives video source switching command, needs to switch to 3D video segment.
When client continues to perform step S47, the time point of the switching command received is different, and the response mode of client also may be different, is described below in conjunction with Fig. 5.
A kind of mode is that client plays 2D video segment from the T2-T3 moment always, and at T3 reception to video source switching command, now client needs to judge whether this locality stores the 3D video segment identical with 2D video segment P2 identification code.Described in front, because 3D video segment P2 is before by client-cache, therefore now client then directly can transfer this 3D video segment P2 from this locality, and need not obtain from network again.
This kind of response mode, can solve video when user frequently switches in prior art and easily block the problem of timing.Such as, client plays 2D video segment in the T2-T3 moment always, and at T3 reception to video source switching command, because 3D video segment P2 is buffered in this locality, therefore client can the resource of extracting directly this locality, can complete switching, start to play 3D video segment P2 in the T5 moment.If receive again video source switching command in the T6 moment, equally because 2D video segment P2 is buffered in this locality, therefore client can the resource of extracting directly this locality, completes switching in the T7 moment.Wherein, the time difference between T3 and T5 and between T6 and T7 is very little, can ignore.As can be seen here, when frequently carrying out video source and switching, client directly can call the resource that this locality stores, fast the demand of response user, avoids the Caton phenomenon occurred during frequent switching in prior art.
Another kind of mode is that client plays 2D video segment from the T2-T4 moment always, and at T4 reception to video source switching command.Similarly, client needs to judge whether this locality has the 3D video segment identical with 2D video segment P2 identification code this moment.Described in front, because 3D video segment P3 is not having buffer memory before, therefore now client then needs again to obtain this 3D video segment P3 from service end.
When client obtains 3D video segment P3 again from service end, client sends video source switching command to service end, carries the mode identifier 3D of the identification code P3 of the 2D video segment of current broadcasting and the video segment of request in this switching command.Service end extracts in switching command the identification code P3 and pattern identification code 3D that carry, and searches 3D video segment that identification code is P3 and send to client.The 2D video segment P3 of current broadcasting in other words after buffer memory 3D video segment P3, is switched to 3D video segment P3, so then can avoid the Caton phenomenon occurred in video process further after receiving 3D video segment P3 by client.
Please refer to Fig. 6, be the schematic flow sheet of the 3rd embodiment of Internet video player method provided by the invention, the method comprises:
Step S61, plays first mode video segment.
Step S62, when receiving video source switching command, sending video source switching command, carrying the identification code of first mode video segment of current broadcasting and the mode identifier of the video segment of request in switching command; The video segment of this mode identifier instruction request is the second analogue video fragment;
Step S63, receive the second analogue video fragment transmitted, this second analogue video fragment has the identification code identical with first mode video segment;
Step S64, obtains the play position of the first mode video segment of current broadcasting;
Step S65, broadcasting second analogue video fragment from the play position of the first mode video segment of current broadcasting.
The difference of the method described in the present embodiment and the method described in Fig. 4 embodiment is only: when receiving video source switching command, is directly from network, to obtain the second analogue video fragment.
Please refer to Fig. 5, suppose client current broadcasting 3D video segment P1, sending video source switching command when receiving video source switching command in, client, in this switching command, carrying the mode identifier of the identification code P1 of the 3D video segment of current broadcasting and the video segment of request.After service end receives switching command, extract in switching command the identification code P1 carried, and in this locality, search 2D video segment that identification code is P1 and send to client.
Client, receiving after identification code is the 2D video segment of P1, obtains the play position of the 3D video segment P1 of current broadcasting, and from this play position, plays the 2D video segment obtained, thus complete the switching of video source.
Above-mentioned Fig. 1-Fig. 6 has been described in detail the Internet video player method of the embodiment of the present invention and caching method, below in conjunction with Fig. 7-Figure 11, is described the equipment and system of the Internet video broadcasting adopting aforesaid way to carry out, buffer memory.In the process describing equipment and system, the NM workflow of part can refer to above-mentioned mentioned correlation method.
Please refer to Fig. 7, be the structured flowchart of the first embodiment of a kind of Internet video playback equipment provided by the invention, this Internet video playback equipment 7, comprising: playing module 71 and handover module 72.
Wherein, playing module 71, for playing first mode video segment;
Handover module 72, for when receiving video source switching command, switches to the second analogue video fragment identical with its content by the first mode video segment of current for playing module 71 broadcasting;
Playing module 71, also for playing the second analogue video fragment.
The said Internet video playback equipment of the embodiment of the present invention, it can be the playback equipment being provided with Internet video client end of playing back (APP), as PC, mobile device or panel computer etc. can certainly be that other have the equipment of Internet video playing function.
The precondition that playing module 71 plays first mode video segment is: playback equipment starts and success has obtained first mode video segment from network, such as, from providing the service end of Internet video resource to obtain first mode video segment.The mode that client obtains first mode video segment can be: playback equipment and service end set up network linking, link successfully, and playback equipment obtains first mode video segment from service end.
The time point that playing module 71 plays first mode video segment can have two classes substantially: play first and again play.Play first and divide two kinds of modes: one is that playback equipment plays first mode video segment when initial startup; Another kind is that playback equipment plays the second analogue video fragment switching when initial startup, when receiving video source switching command, switches to first mode video segment first by the second analogue video fragment of current broadcasting.
The playback equipment of the embodiment of the present invention, can further include configuration information read module 73, before playing the first video segment at playing module 71 when starting at first, read the configuration information of self, this configuration information instruction this broadcasting first mode video segment current or the second analogue video fragment; Playing module 71, when first mode video segment is play in the configuration information instruction also for reading at configuration information read module 73, plays the first mode video segment obtained from network.
Wherein, the first mode video segment that switches of handover module 72 is with the second analogue video fragment is separate and content is identical.Here so-called separate, refer to first mode video segment and the second analogue video fragment does not exist the mutual relations of dependence, as there is not transformational relation or extraction relation each other.First mode video segment and the second analogue video fragment can comprise 2D video segment and 3D analogue video fragment, when first mode is 2D video segment, second pattern is 3D video segment, and when first mode is 3D video segment, the second analogue video fragment is then 2D video segment.Wherein, the video segment of two patterns is all that client obtains from network at first, and that is this will provide two to overlap independently video source to client in network.
Playing module 71, also for the second analogue video fragment after playing handover module 72 switching.
The Internet video playback equipment of the embodiment of the present invention, at broadcasting first mode video segment and when receiving video source switching command, the first mode video segment of current broadcasting is switched to the second analogue video fragment identical with its content.Such as, 2D video segment is switched to the 3D video segment identical with its content, or 3D video segment is switched to the 2D video segment identical with its content.Because the video segment of two patterns is separate, therefore to eliminate in background technology extraction required in handoff procedure or the time of conversion, and then the video Caton phenomenon that occurs in video source handoff procedure can be avoided.And because the 2D video segment play and 3D video segment all obtain respectively from network, compared with first kind of way in background technology, because of initial acquisition is not all 3D video source, therefore, it is possible to save flow to a certain extent; And when carrying out 2D and playing, its video source play is not extracted out from 3D video source, therefore can not cause picture distortion, can ensure that Internet video has preferably display effect; And compared with the second way in background technology, client does not need to carry out 2D/3D conversion to the video source received, therefore the hardware configuration of the mobile device belonging to client is not had high requirements, also there will not be the problem of the mobile device reduction in cruising time belonging to client caused because of the running of processor height.
Please refer to Fig. 8, is the structured flowchart of the second embodiment of Internet video playback equipment provided by the invention, and this Internet video playback equipment 7 is with the difference of Fig. 7:
Handover module 72, specifically comprises: search unit 721, switch unit 722 and acquiring unit 723.
Wherein, searching unit 721, whether storing the second analogue video fragment identical with the first mode video segment content of the current broadcasting of playing module 71 for searching this locality;
When receiving video source switching command, playback equipment before obtaining the second analogue video fragment identical with the first mode video segment content of current broadcasting from network, also search local whether to store the second analogue video fragment identical with the first video segment content of current broadcasting by searching unit 721, its objective is: on the basis of meeting consumers' demand, save flow.
Check and accept unit 721 find this locality store the second analogue video fragment identical with the first video segment content of current broadcasting time, then switched to the second analogue video fragment found by switch unit 722.When not finding the second analogue video fragment identical with the second video segment content of current broadcasting, then from network, obtain the second analogue video fragment identical with the first mode video segment content of the current broadcasting of playing module 71 by acquiring unit 723.After acquiring unit 722 gets the second analogue video fragment, the first mode video segment of current broadcasting is also switched to the second analogue video fragment that acquiring unit 723 gets by switch unit 722.
Wherein, the second analogue video fragment identical with its content at first mode video segment is set as identical identification code, the second identical with its content for first mode video segment analogue video fragment is set as having identical identification code when carrying out segment processing by such as service end, search unit 721 when searching this locality and whether storing the second analogue video fragment identical with the first mode video segment content of the current broadcasting of playing module 71, the whether identical mode of identification code of searching specifically can mentioned according to Fig. 3 embodiment judges.Correspondingly, when acquiring unit 723 obtains the second analogue video fragment identical with the first mode video segment content of current broadcasting from network, the identification code of first mode video segment of current broadcasting and the mode identifier of the video segment of request is carried in the video source request instruction sent, the video segment of this mode identifier instruction request is the second analogue video fragment, searches the second analogue video fragment identical with the first mode video content of current broadcasting of acquiring unit 723 request to enable service end according to this identification code.
Further, playing module 71, when broadcasting second analogue video fragment, specifically can also operate as follows:
Obtain the play position of the first mode video segment of current broadcasting, and search play position corresponding with the play position of the first mode video segment of current broadcasting in the second analogue video fragment; And from the play position of the second analogue video fragment found, start the second analogue video fragment playing acquiring unit 723 acquisition.Adopt this kind of broadcast mode, its objective is: the continuity ensureing video display effect in video source handoff procedure, namely ensure to switch to the second analogue video fragment process from first mode video segment, the video content of broadcasting can not repeat, and also constantly occurs the phenomenon of breakthrough.
Please refer to Fig. 9, is the structured flowchart of the 3rd embodiment of Internet video playback equipment provided by the invention, and this Internet video playback equipment 7 is with the difference of Fig. 7:
Handover module 72, comprising: switch unit 722 and acquiring unit 723.
Wherein, acquiring unit 723, for when receiving video source switching command, obtains the second analogue video fragment identical with the first mode video segment content of the current broadcasting of playing module 71 from network; In the present embodiment, acquiring unit 723, when receiving video source switching command, is directly from network, obtain the second analogue video fragment.
And switch unit 722, after successfully obtaining the second schema fragment at acquiring unit, first mode video segment is switched to the second analogue video fragment that acquiring unit 723 obtains.
Need the regular hour because acquiring unit 723 obtains video resource from service end, therefore before acquiring unit 723 unsuccessful acquisition second analogue video fragment, play broadcasting and can continue to play first mode video segment.After acquiring unit 723 obtains the second analogue video fragment, after the buffer memory second of playback equipment success in other words video segment, the first mode video segment of current broadcasting is just switched to the second analogue video fragment by switch unit 722, so then can avoid the Caton phenomenon occurred in video process further.
Further, playing module 71, when broadcasting second analogue video fragment, specifically can also operate as follows:
Obtain the play position of the first mode video segment of current broadcasting, and search play position corresponding with the play position of the first mode video segment of current broadcasting in the second analogue video fragment; And from the play position of the second analogue video fragment found, start the second analogue video fragment playing acquiring unit 723 acquisition.Adopt this kind of broadcast mode, its objective is: the continuity ensureing video display effect in video source handoff procedure, namely ensure to switch to the second analogue video fragment process from first mode video segment, the video content of broadcasting can not repeat, and also constantly occurs the phenomenon of breakthrough.
Please refer to Fig. 5, suppose client current broadcasting 3D video segment P1, when receiving video source switching command in, client, sending video source switching command, in this switching command, carrying the identification code P1 of the 3D video segment of current broadcasting.After service end receives switching command, extract in switching command the identification code P1 carried, and in this locality, search 2D video segment that identification code is P1 and send to client.
Client, receiving after identification code is the 2D video segment of P1, obtains the play position of the 3D video segment P1 of current broadcasting, and from this play position, plays the 2D video segment obtained, thus complete the switching of video source.
Please refer to Figure 10, be the structured flowchart of the embodiment of a kind of service end provided by the invention, this service end 10 comprises: memory module 101 and transport module 102.
Wherein, memory module 101, for storing the first identical and separate video segment of content and the second analogue video fragment;
Particularly, the memory module 102 of service end stores the different but video source that content is identical of two cover patterns, is referred to as first mode video source and the second analogue video source in an embodiment.When first mode video source is 2D video source, the second analogue video source is then 3D video source, and first mode video segment is 2D video segment, and the second analogue video fragment is 3D video segment; When first mode video source is 3D video source, the second analogue video source is 2D video source, 2D video segment during the second analogue video fragment, and first mode video segment is 3D video segment.
Further, service end can also comprise: segmentation module 103, and in advance video source different for two cover patterns being carried out segment processing, can be specifically first mode video source is divided into N section first mode video segment, N be integer and be more than or equal to 2.Meanwhile, the second analogue video source is also divided into N section second analogue video fragment by segmentation module 103.N section first mode video segment is from N section second analogue video fragment one_to_one corresponding and content is identical but pattern is different.For the value of N, can determine according to the concrete length of video source, when the length of video source is determined, such as, when being M, the ratio of M/N so can be made to be the occurrence determining N in 5 minutes.Certainly, being other values thus determining N of M/N can also be made.After segmentation module 103 pairs of first mode video source and the second analogue video source carry out segment processing, can by the first mode video segment that obtains after segment processing and the second analogue video fragments store in memory module 102.
Transport module 102, for when receiving video source switching command, send store in memory module 101 different from the video segment pattern of previous transmission but the video segment that content is identical to client.
Service end of the present invention, for client provides the separate and video segment that content is identical of two covers, make in client when playing first mode video segment and receiving video source switching command, the first mode video segment of current broadcasting can be switched to the second identical analogue video fragment of content.Such as, 2D video segment is switched to the 3D video segment that content is identical, or 3D video segment is switched to the identical 2D video segment of content.The video segment of two patterns provided due to service end is separate, therefore make the 2D/3D of client switch and to eliminate in background technology extraction required in handoff procedure or the time of conversion, and then the video Caton phenomenon that occurs in video source handoff procedure can be avoided.And because the 2D video segment play and 3D video segment all obtain respectively from network, compared with first kind of way in background technology, because of initial acquisition is not all 3D video source, therefore, it is possible to save flow to a certain extent; And when carrying out 2D and playing, its video source play is not extracted out from 3D video source, therefore can not cause picture distortion, can ensure that Internet video has preferably display effect; And compared with the second way in background technology, client does not need to carry out 2D/3D conversion to the video source received, therefore the hardware configuration of the mobile device belonging to client is not had high requirements, also there will not be the problem of the mobile device reduction in cruising time belonging to client caused because of the running of processor height.
Further, segmentation module 103 can also be that content is identical but the identification code that the first mode video segment that pattern is different is identical and unique with the second analogue video segments configure.And by memory module 101 storaging mark code identical but separate and first mode video segment and the second analogue video fragment.Wherein, first mode video segment is different with the mode identifier of the second analogue video fragment.This mode identifier is 2D or 3D for identifying the pattern of video segment.
Further, transport module 102 can also comprise:
Extraction unit 1021, search unit 1022 and transmission unit 1023.When the identical first mode video segment of content that memory module 101 stores and the second analogue video have same identification code, transport module 103 is when receiver, video source switching command, when sending but video segment that content identical different from the video segment pattern of previous transmission to client, specifically can in the following way:
Identification code and the mode identifier of the video segment carried in the video source switching command received is extracted by extraction unit 1021; And search all identical video segment of the identification code mode identifier that extracts with extraction unit 1021 by searching unit 1022; And sent by transmission unit 1023 and search video segment that unit 1022 searches to client.Search the different but video segment that content is identical of the video segment pattern of previous transmission to client by inquiring about the mode of identification code, simple to operate, applicability is strong.
Please refer to Figure 11, be the structured flowchart of the embodiment of a kind of Internet video Play System provided by the invention, this system comprises: Internet video playback equipment 7 and service end 10.
Wherein, this Internet video playback equipment 7 comprises:
Playing module 71, for playing first mode video segment; With, handover module 72, for when receiving video source switching command, switches to the second analogue video fragment by the first mode video segment of current for playing module 71 broadcasting; First mode video segment is with described second analogue video fragment is separate and content is identical; Playing module 71, also for playing the second analogue video fragment.
Wherein, service end 10, comprising:
Memory module 101, for storing the identical and separate first mode video segment of content and the second analogue video fragment; With, transport module 102, for when receiving the video source switching command that Internet video playback equipment 7 transmits, send but video segment that content identical different from the video segment pattern of previous transmission to Internet video playback equipment 7.
System of the present invention, because service end is that Internet video playback equipment provides the separate and video segment that content is identical of two covers, make at playback equipment when playing first mode video segment and receiving video source switching command, the first mode video segment of current broadcasting can be switched to the second identical analogue video fragment of content.Such as, 2D video segment is switched to the 3D video segment that content is identical, or 3D video segment is switched to the identical 2D video segment of content.The video segment of two patterns provided due to service end is separate, therefore make the 2D/3D of playback equipment switch and to eliminate in background technology extraction required in handoff procedure or the time of conversion, and then the video Caton phenomenon that occurs in video source handoff procedure can be avoided.And because the 2D video segment play and 3D video segment all obtain respectively from network, compared with first kind of way in background technology, because of initial acquisition is not all 3D video source, therefore, it is possible to save flow to a certain extent; And when carrying out 2D and playing, its video source play is not extracted out from 3D video source, therefore can not cause picture distortion, can ensure that Internet video has preferably display effect; And compared with the second way in background technology, playback equipment does not need to carry out 2D/3D conversion to the video source received, therefore the hardware configuration of playback equipment is not had high requirements, also there will not be the problem of the mobile playback equipment reduction in cruising time belonging to client caused because of the running of processor height.
What finally illustrate is, above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, although with reference to preferred embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that, can modify to technical scheme of the present invention or equivalent replacement, and not departing from aim and the scope of technical solution of the present invention, it all should be encompassed in the middle of right of the present invention.
Claims (19)
1. an Internet video player method, is characterized in that, comprising:
When receiving video source switching command, the first mode video segment of current broadcasting being switched to the second analogue video fragment and plays; Described first mode video segment is with described second analogue video fragment is separate and content is identical.
2. Internet video player method as claimed in claim 1, it is characterized in that, described first mode video segment and the second analogue video fragment comprise 2D video segment and 3D video segment; When described first mode video segment is 2D video segment, described second analogue video fragment is 3D video segment, and when described first mode video segment is 3D video segment, described second analogue video fragment is 2D video segment.
3. Internet video player method as claimed in claim 2, it is characterized in that, the described first mode video segment by current broadcasting switches to the step of the second analogue video fragment, comprising:
Search this locality and whether store the second analogue video fragment identical with the first mode video segment content of current broadcasting;
If have, then switch to the local described second analogue video fragment stored;
If no, then from network, obtain the second analogue video fragment identical with the first mode video segment content of current broadcasting, and after the described second analogue video fragment of acquisition, described first mode video segment is switched to described second analogue video fragment.
4. Internet video player method as claimed in claim 3, is characterized in that, described in search the local step whether storing the second analogue video fragment identical with the first mode video segment content of current broadcasting, comprising:
Search this locality and whether store the second analogue video fragment identical with the first mode video segment identification code of current broadcasting.
5. Internet video player method as claimed in claim 1, it is characterized in that, the described first mode video segment by current broadcasting switches to the step of the second analogue video fragment, comprising:
The second analogue video fragment identical with the first mode video segment content of current broadcasting is obtained from network;
The first mode video segment of current broadcasting is switched to the second analogue video fragment of described acquisition.
6. the Internet video player method as described in claim 3 or 5, is characterized in that, the described step obtaining the second analogue video fragment identical with the first mode video segment content of current broadcasting from network, comprising:
Send video source switching command, carry the identification code of first mode video segment of current broadcasting and the mode identifier of the video segment of request in described switching command, the video segment of this mode identifier instruction request is the second analogue video fragment;
Receive the second analogue video fragment transmitted, described second analogue video fragment has the identification code identical with described first mode video segment.
7. Internet video player method as claimed in claim 1, it is characterized in that, the step of described broadcasting second analogue video fragment, comprising:
Obtain the play position of the first mode video segment of current broadcasting;
Described second analogue video fragment is play from the play position of the first mode video segment of current broadcasting.
8. the Internet video player method as described in claim 1,3 or 5, is characterized in that, before playing described first mode video segment, also comprises when initial start:
Read the configuration information of self, first mode video segment or the second analogue video fragment are play in the instruction of this configuration information;
When first mode video segment is play in configuration information instruction, play described first mode video segment.
9. an Internet video storage means, is characterized in that, comprising:
Store the identical and separate first mode video segment of content and the second analogue video fragment;
When receiving video source switching command, send but video segment that content identical different from the video segment pattern of previous transmission.
10. Internet video storage means as claimed in claim 9, is characterized in that, before the step of the first mode video segment that described storage content is identical and separate and the second analogue video fragment, comprising:
Separate first mode video source and the second analogue video source are divided into respectively N section described first mode video segment and the described second analogue video fragment of N section, the first mode video segment that each described second analogue video fragment is identical with its content has identical identification code, and N is integer and is more than or equal to 2.
11. Internet video caching methods as claimed in claim 10, is characterized in that, described transmission but the step of video segment that content identical different from the video segment pattern of previous transmission, comprising:
Extract the mode identifier of the identification code of video segment and the video segment of request carried in described video source switching command;
Search the video segment all identical with mode identifier with the identification code of described extraction and send.
12. 1 kinds of Internet video playback equipments, comprising:
Playing module, for playing first mode video segment;
With, handover module, for when receiving video source switching command, switches to the second analogue video fragment by the first mode video segment of current for described playing module broadcasting; Described first mode video segment is with described second analogue video fragment is separate and content is identical;
Described playing module, also for playing described second analogue video fragment.
13. Internet video playback equipments as claimed in claim 12, is characterized in that, described first mode video segment and the second analogue video fragment comprise 2D video segment and 3D video segment; When described first mode video segment is 2D video segment, described second analogue video fragment is 3D video segment, and when described first mode video segment is 3D video segment, described second analogue video fragment is 2D video segment.
14. Internet video playback equipments as claimed in claim 13, it is characterized in that, described handover module comprises:
Searching unit, whether storing the second analogue video fragment identical with the first mode video segment content of the current broadcasting of described playing module for searching this locality;
Switch unit, for when the described lookup result searching unit is for being, switches to local the second analogue video fragment stored by described first mode video segment;
With, acquiring unit, for when the described lookup result searching unit is no, obtains the second analogue video fragment identical with the first mode video segment content of the current broadcasting of described playing module from network;
Described switch unit, also for after described acquiring unit obtains described second analogue video fragment, switches to described second analogue video fragment by described first mode video segment.
15. Internet video playback equipments as claimed in claim 13, it is characterized in that, described handover module comprises:
Acquiring unit, for obtaining the second analogue video fragment identical with the first mode video segment content of the current broadcasting of described playing module from network;
With, switch unit, for after described acquiring unit obtains described second analogue video fragment, switches to described second analogue video fragment by described first mode video segment.
16. 1 kinds of service ends, is characterized in that, comprising:
Memory module, for storing the identical and separate first mode video segment of content and the second analogue video fragment;
With, transport module, for when receiving video source switching command, send but video segment that content identical different from video segment pattern that is previous transmission that be that store in described memory module.
17. service ends as claimed in claim 16, is characterized in that, also comprise:
Segmentation module, before storing the identical and separate first mode video segment of content and the second analogue video fragment in described memory module, separate first mode video source and the second analogue video source are divided into respectively N section described first mode video segment and the described second analogue video fragment of N section, the first mode video segment that each described second analogue video fragment is identical with its content has identical identification code, and N is integer and is more than or equal to 2.
18. service ends as claimed in claim 17, it is characterized in that, described transport module, comprising:
Extraction unit, for extracting the mode identifier of the identification code of video segment and the video segment of request carried in described video source switching command;
Search unit, for searching the video segment all identical with mode identifier with the identification code that described extraction unit extracts;
Transmission unit, for searching the video segment that unit searches described in sending.
19. 1 kinds of Internet video Play Systems, is characterized in that, comprising:
Internet video playback equipment described in any one of claim 12-15, and the service end described in any one of claim 16-18.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410467911.5A CN104244069A (en) | 2014-09-15 | 2014-09-15 | Network video playing method, storing method, playing equipment, server side and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410467911.5A CN104244069A (en) | 2014-09-15 | 2014-09-15 | Network video playing method, storing method, playing equipment, server side and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104244069A true CN104244069A (en) | 2014-12-24 |
Family
ID=52231275
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410467911.5A Pending CN104244069A (en) | 2014-09-15 | 2014-09-15 | Network video playing method, storing method, playing equipment, server side and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104244069A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105376610A (en) * | 2014-08-27 | 2016-03-02 | Tcl集团股份有限公司 | Video switching method and system based on image recognition |
CN105763744A (en) * | 2016-04-22 | 2016-07-13 | 广东欧珀移动通信有限公司 | Video play control method and apparatus of mobile terminal, and the mobile terminal |
CN105898514A (en) * | 2015-12-15 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Video play method and system |
CN107861707A (en) * | 2017-12-08 | 2018-03-30 | 北京酷我科技有限公司 | A kind of data syn-chronization of panorama audio provides method |
CN107885484A (en) * | 2017-12-08 | 2018-04-06 | 北京酷我科技有限公司 | A kind of caching establishing method of panorama audio |
CN108965907A (en) * | 2018-07-11 | 2018-12-07 | 北京字节跳动网络技术有限公司 | For playing the methods, devices and systems of video |
CN109788357A (en) * | 2018-11-07 | 2019-05-21 | 合肥杰发科技有限公司 | A kind of method and device playing media file |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102027749A (en) * | 2008-11-18 | 2011-04-20 | 松下电器产业株式会社 | Reproduction device, integrated circuit, and reproduction method considering specialized reproduction |
CN102224739A (en) * | 2009-10-05 | 2011-10-19 | 索尼公司 | Signal transmission method, signal transmitter apparatus and signal receiver apparatus |
US20140150045A1 (en) * | 2011-08-05 | 2014-05-29 | Panasonic Corporation | Reception/reproduction device, transmission device, reception/reproduction method and transmission method |
-
2014
- 2014-09-15 CN CN201410467911.5A patent/CN104244069A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102027749A (en) * | 2008-11-18 | 2011-04-20 | 松下电器产业株式会社 | Reproduction device, integrated circuit, and reproduction method considering specialized reproduction |
CN102224739A (en) * | 2009-10-05 | 2011-10-19 | 索尼公司 | Signal transmission method, signal transmitter apparatus and signal receiver apparatus |
US20140150045A1 (en) * | 2011-08-05 | 2014-05-29 | Panasonic Corporation | Reception/reproduction device, transmission device, reception/reproduction method and transmission method |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105376610A (en) * | 2014-08-27 | 2016-03-02 | Tcl集团股份有限公司 | Video switching method and system based on image recognition |
CN105898514A (en) * | 2015-12-15 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Video play method and system |
CN105763744A (en) * | 2016-04-22 | 2016-07-13 | 广东欧珀移动通信有限公司 | Video play control method and apparatus of mobile terminal, and the mobile terminal |
CN105763744B (en) * | 2016-04-22 | 2019-08-02 | Oppo广东移动通信有限公司 | A kind of video playing control method of mobile terminal, device and mobile terminal |
CN107861707A (en) * | 2017-12-08 | 2018-03-30 | 北京酷我科技有限公司 | A kind of data syn-chronization of panorama audio provides method |
CN107885484A (en) * | 2017-12-08 | 2018-04-06 | 北京酷我科技有限公司 | A kind of caching establishing method of panorama audio |
CN107861707B (en) * | 2017-12-08 | 2021-07-20 | 北京酷我科技有限公司 | Data synchronization providing method for panoramic sound effect |
CN108965907A (en) * | 2018-07-11 | 2018-12-07 | 北京字节跳动网络技术有限公司 | For playing the methods, devices and systems of video |
CN109788357A (en) * | 2018-11-07 | 2019-05-21 | 合肥杰发科技有限公司 | A kind of method and device playing media file |
CN109788357B (en) * | 2018-11-07 | 2022-04-15 | 合肥杰发科技有限公司 | Method and device for playing media file |
US11463493B2 (en) | 2018-11-07 | 2022-10-04 | Autochips Inc. | Method and apparatus for playing media file |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104244069A (en) | Network video playing method, storing method, playing equipment, server side and system | |
CN111316659B (en) | Dynamically reducing playout of alternate content to help align the end of alternate content with the end of replaced content | |
CN106998485B (en) | Video live broadcasting method and device | |
CN108540816B (en) | Live video acquisition method and device and storage medium | |
CN102036058B (en) | Method, server, terminal and system for switching videos in video monitoring system | |
CN107071502B (en) | Video playing method and device | |
US11202066B2 (en) | Video data encoding and decoding method, device, and system, and storage medium | |
CN110933517B (en) | Code rate switching method, client and computer readable storage medium | |
CN103647991A (en) | Method and system for sharing video in intelligent television | |
CN104519397A (en) | Audio and video screen-projection playing method, set-top box and terminal device | |
CN105144727A (en) | Codec techniques for fast switching | |
CN101656869A (en) | Method, device and system for switching channels | |
CN111836076B (en) | Video resolution switching method and device and electronic equipment | |
CN102685554A (en) | Method and device for processing video play | |
CN111436009B (en) | Real-time video stream transmission and display method and transmission and play system | |
CN103618951A (en) | Method and system for playing video set in intelligent television | |
CN104320701A (en) | Switching method and device for signal source | |
CN115250356A (en) | Multi-camera switchable virtual camera of mobile phone | |
CN107027064A (en) | Method and device for processing video file in wireless screen transmission | |
CN109040018B (en) | Data matching method and device, display terminal and readable storage medium | |
US9113201B2 (en) | Broadcast receiving device and method | |
US10674188B2 (en) | Playback apparatus, method of controlling playback apparatus, playback method and server apparatus | |
CN105025343A (en) | Caching method and device of TS video | |
US20100106837A1 (en) | Information processing apparatus and method for processing data in information processing apparatus | |
CN103533401A (en) | Stream media data switch playing method and player |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 518000 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A Applicant after: Shenzhen super Technology Co., Ltd. Address before: 518000 Guangdong city of Shenzhen province Qianhai Shenzhen Hong Kong cooperation zone before Bay Road No. 1 building 201 room A Applicant before: SHENZHEN RUNHUA CHUANGSHI SCIENCE & TECHNOLOGY CO., LTD. |
|
COR | Change of bibliographic data | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20141224 |