A kind of system and method realizing video seamless switching between multi-screen
Technical field
The present invention relates to audio frequency and video processing technology field, be specifically related to a kind of system and method realizing video seamless switching between multi-screen.
Background technology
A user has polylith screen usually, such as TV (television set), mobile terminal (smart mobile phone or panel computer, iOS or android operating system), PC (computer) etc.In a terminal, realize video playback breakpoint management commonplace.
Such as: application number is 201110144970.5, the Chinese invention patent that denomination of invention is " a kind of audio/video continuous play seamless switching system and method " discloses a kind of audio/video continuous play seamless switching system and method, comprise: multi-route management module, data buffering module, data outputting module and at least two document storage servers, padding is carried out after system initialization, when running into the abnormal conditions such as network failure or read error for TV in audio-video document playing process, carry out bumpless transfer operation, the object that the system that reaches is broadcasted continuously, the triviality avoiding manual operation to bring and uncertainty.
Again such as, the Chinese invention patent application that application number is 201510150780.2, denomination of invention is " seamless handover method of live video stream " discloses a kind of seamless handover method of live video stream, comprise: after video flowing acquisition terminal receives the specification handover request of user terminal, keep original encoding device example to continue to run, and start a new encoder example; Again new video stream and original video stream are carried out frame number synchronization; Then in new video stream, a key frame is selected, and new video stream is transmitted to user terminal from this key frame, original video stream terminates after having transmitted the previous frame data of this key frame, and the spacing between the frame number of last key frame of the frame number of this key frame and original video stream is greater than 1/2 of new video stream GOP length; And then close original encoding device example.The method is applicable to the front-end collection compression device in RTP Transport System for Real-time.
Above-mentioned prior art is all play seamless switching based on the breakpoint in same terminal.In reality, the multi-media information terminal quantity that user has and type are progressively enriched, but due to the access network of multiple terminal, the difference of information acquisition platform, cause the situation that plurality of devices is independent of one another, resource can not be shared.Along with the continuous propelling of integration of three networks process, how efficient association is carried out to terminals such as the Set Top Box of user, computer, PAD terminal and smart mobile phones, thus the multi-screen interactive providing multiple business to merge for user is experienced and has been become current considered subject matter.Multi-screen interactive technology refers to that TV, computer, mobile phone, PAD and the various multi-media information terminal part with network accessibility set up correspondence by related protocol, realize multi-screen and can watch the video content that operator's platform provides simultaneously, and the functions such as video sharing, seamless switching, Play Control can be carried out between multiple screen.
But, existing across screen handoff technique between different file format, carry out the switching based on identical time stamp time, usually rely on dynamic analysis, be difficult to accomplish breakpoint seamless switching, even occur the problem that the handoff procedure point of interruption cannot be connected.
Summary of the invention
Goal of the invention of the present invention is to provide a kind of system and method realizing video seamless switching between multi-screen, and user can repeatedly complete certain video of viewing with being intended to continued access on multiple screen, realizes seamless switching across screen broadcasting.
In order to solve the problems of the technologies described above, the technical solution used in the present invention is as follows:
Realize a system for video seamless switching between multi-screen, comprise the first video playing terminal and the second video playing terminal, screens switch server, wherein,
Described first video playing terminal and the second video playing terminal are applicable to playing video file, and carry out screens switch operation to the current video file play;
Described screens switch server is applicable to detect and records the information of the facility information of described first video playing terminal and described second video playing terminal, screens switch operation, according to the information that described facility information and described screens switch operate, determine to switch to time point corresponding to the incision frame of video file that described second video playing terminal plays from described first video playing terminal, described time point is sent to described second video playing terminal;
The media player of described first video playing terminal and/or described second video playing terminal comprises media formats decoder, stream media protocol stack module and audio/video decoder, also comprise screens switch communication module and screens switch data buffer, described screens switch communication module is for realizing the data communication function of described first video playing terminal and described second video playing terminal, described screens switch data buffer is used for, when described first video playing terminal performs screens switch operation, storing the switch data of the current video play.
Further, described screens switch server comprises central server, resolver and decision device, described central server is connected with described first video playing terminal, the second video playing terminal and described decision device respectively, described resolver is connected with described first video playing terminal and described second video playing terminal respectively, wherein
Described central server is applicable to the information recording screens switch operation, and the information of described screens switch operation at least comprises the timestamp information of described first video playing terminal up-to-date execution screens switch operation when playing described video file;
Described resolver is applicable to described video file off-line to generate the time static table corresponding to described first video playing terminal and described second video playing terminal;
Described decision device is applicable to, according to described timestamp information and described time static table, obtain the first video playing terminal described in same timestamp and the time offset between described second video playing terminal, as described time point.
Further, described screens switch server also comprises bit stream converter, described bit stream converter connects described decision device, and it is applicable to the described time offset receiving the transmission of described bit stream converter, pushes code stream enter described second video playing terminal according to described time offset.
Further, described central server comprises user information store, facility information memory, binding relationship memory and video playback information-storing device, wherein,
Described user information store is applicable to store the log-on message of user in described first video playing terminal and/or described second video playing terminal, and described log-on message comprises user account information and password;
Described facility information memory is applicable to the facility information storing described first video playing terminal and described second video playing terminal, comprises device type, resolution and/or code check;
Described binding relationship memory is applicable to store the corresponding relation between the facility information of described first video playing terminal and described second video playing terminal and described log-on message;
Described video playback information-storing device is applicable to the described screens switch operation information storing described first video playing terminal and/or described second video playing terminal.
Further, also comprise video server, described video server is connected with described resolver, described first video playing terminal and described second video playing terminal respectively, it is applicable to process all media contents entering system, generates the relative index file for different media formats.
According to another aspect of the present invention, additionally provide a kind of method realizing video seamless switching between multi-screen, comprise the following steps:
By the first video playing terminal playing video file;
Execution screens switch operates;
According to facility information and the described screens switch operation information of described first video playing terminal and described second video playing terminal, determine that described second video playing terminal plays time point corresponding to the incision frame of described video file;
Described time point is sent to described second video playing terminal, to continue to play described video file according to described time point by described second video terminal.
Further, the described facility information according to described first video playing terminal and described second video playing terminal and described screens switch operation information, determine that described second video playing terminal plays the step of time point corresponding to the incision frame of described video file, specifically comprise the following steps:
The information of record screens switch, the information of described screens switch at least comprises the timestamp information of described video file in the up-to-date execution screens switch operation of described first video playing terminal;
Described video file off-line is generated the time static table corresponding to described first video playing terminal and described second video playing terminal;
According to described timestamp information and described time static table, obtain the first video playing terminal described in same timestamp and the time offset between described second video playing terminal, as described time point.
Further, the method also comprises:
Push code stream according to described time offset and enter described second video playing terminal;
Described second video playing terminal continues to play described video file.
Further, described pass through the step of the first video playing terminal playing video file before, further comprising the steps of:
Store the log-on message of user in described first video playing terminal and/or described second video playing terminal, described log-on message comprises user account information and password;
Store the facility information of described first video playing terminal and described second video playing terminal, comprise device type, resolution and/or code check;
Store the corresponding relation between the facility information of described first video playing terminal and described second video playing terminal and described log-on message.
Further, also comprise:
Receive all media contents entering system;
Generate for different media formats relative index file described first video playing terminal perform screens switch operation time, store the switch data of the current video play, and the switch data of storage sent to the second video playing terminal.
Further, also comprise media content treatment step, specifically comprise:
Receive all media contents entering system;
Generate the relative index file for different media formats.
The invention discloses a kind of system and method realizing video seamless switching between multi-screen, realize the multimedia terminals such as computer, mobile phone, PAD in media content playing process, media content is by the seamless switching of a terminal screen to another terminal screen, improve the convenience of user's access, obtain the flexibility of content, user can repeatedly complete certain video of viewing with being intended to continued access on multiple screen, realizes seamless switching across screen broadcasting.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, clearly understand in order to technological means of the present invention can be made, reach the degree that those skilled in the art can be implemented according to the content of specification, and in order to above and other objects of the present invention, feature and advantage can be allowed to become apparent, be illustrated with the specific embodiment of the present invention below.
Accompanying drawing explanation
By reading the detailed description in hereafter preferred embodiment, the present invention various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Figure of description only for illustrating the object of preferred implementation, and does not think limitation of the present invention.Apparently, accompanying drawing described below is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.And in whole accompanying drawing, represent identical parts with identical Reference numeral.In the accompanying drawings:
Fig. 1 shows the system configuration schematic diagram realizing video seamless switching between multi-screen according to the embodiment of the present invention one;
Fig. 2 shows the system configuration schematic diagram realizing video seamless switching between multi-screen according to the embodiment of the present invention two;
The rise time static representations in the system of video seamless switching between multi-screen that realizes that Fig. 3 shows based on the embodiment of the present invention two is intended to;
Fig. 4 shows the method flow diagram realizing video seamless switching between multi-screen according to the embodiment of the present invention three.
Embodiment
In more detail specific embodiments of the invention are described below with reference to accompanying drawings.Although show specific embodiments of the invention in accompanying drawing, however should be appreciated that can realize the present invention in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the present invention can be understood, and complete for scope of the present invention can be conveyed to those skilled in the art.
It should be noted that, in the middle of specification and claim, employ some vocabulary to censure specific components.Those skilled in the art should be appreciated that hardware manufacturer may call same assembly with different noun.This specification and claims are not used as with the difference of noun the mode distinguishing assembly, but are used as the criterion of differentiation with assembly difference functionally." comprising " or " comprising " as mentioned in the middle of specification and claim is in the whole text an open language, therefore should be construed to " comprise but be not limited to ".Specification subsequent descriptions is for implementing better embodiment of the present invention, and right described description is for the purpose of the rule of specification, and is not used to limit scope of the present invention.Protection scope of the present invention is when being as the criterion depending on the claims person of defining.
For ease of the understanding to the embodiment of the present invention, be further explained explanation below in conjunction with accompanying drawing for several specific embodiment, and each accompanying drawing does not form the restriction to the embodiment of the present invention.
Embodiment one, a kind of system realizing video seamless switching between multi-screen.
Fig. 1 is the system configuration schematic diagram realizing video seamless switching between multi-screen of the embodiment of the present invention one, and composition graphs 1 is specifically described by the embodiment of the present invention.
As shown in Figure 1, embodiments provide a kind of system 100 realizing video seamless switching between multi-screen, comprise the first video playing terminal 101 and the second video playing terminal 103, screens switch server 102, described screens switch server 102 can with described first video playing terminal 101 and described second video playing terminal 103 two-way communication, wherein
Described first video playing terminal 101 and the second video playing terminal 103 comprise media player (the first media player 1011, second media player 1031) and display (the first display 1012, second display 1032), it is applicable to playing video file, and screens switch operation can be carried out to the current video file play, described video file can be switched to described second video playing terminal 103 and continue to play by described first video playing terminal 101;
Described screens switch server 102 is applicable to detect and records the screens switch operation information of the facility information of described first video playing terminal 101 and described second video playing terminal 103, described first video playing terminal 101, according to described facility information and described screens switch operation information, determine the time point that incision frame that described second video playing terminal 103 plays described video file is corresponding.
Preferred in the embodiment of the present invention, described first video playing terminal 101 is used to refer to the subscriber terminal equipment for initial play video file, described second video playing terminal 103 is used to refer to the subscriber terminal equipment putting same video file for the follow-up continued broadcasting of screens switch, here " first " and " second " be not used to represent quantity number, generation order neither be used to refer to, wherein, described first video playing terminal can be used as the second video playing terminal in other scene, described second video playing terminal also can as the first video playing terminal, described second video playing terminal is in an other use procedure, the video file that described second video playing terminal does not finish can be switched to described first video playing terminal to continue to play.
Preferred in the embodiment of the present invention, described first video playing terminal 101 and described second video playing terminal 103 can be mobile terminal, such as smart mobile phone, panel computer etc.; Also can be intelligent television, comprise Set Top Box, millet box etc.; Can also be computer, such as desktop computer, notebook computer etc.; Can also be can to network arbitrarily and can the electronic equipment of displaying video.Described first video playing terminal 101 and described second video playing terminal 103 can be the user terminals of same type, such as, be smart mobile phone, same video file is switched to another smart mobile phone from a smart mobile phone and continues to play; Also can be dissimilar user terminal, such as described first video playing terminal 101 be TV end, and described second video playing terminal 103 is mobile terminal, same video file is switched to mobile terminal from TV end and continues to play.
Preferred in the embodiment of the present invention, the media player of described first video playing terminal and/or described second video playing terminal or display have " screens switch " button, directly " confirmation " described second video playing terminal can be switched to by it.
Preferred in the embodiment of the present invention, video switch instruction is triggered by user, the mode of user's triggering video switching command has multiple, such as, playing the trigger key of auto-building html files for user's triggering video switching command of current video in advance, user can trigger described video switch instruction by the described trigger key touching described first video playing terminal; Or trigger described video switch instruction by remote controller; Or click described trigger key by mouse, triggering video switching command.
Preferred in the embodiment of the present invention, described screens switch operation comprises any one situation following: described first video playing terminal initiates screens switch operation to described screens switch server, such as, trigger " screens switch " button on described first media player; Described first video playing terminal initiates screens switch operation directly to described second video playing terminal; Described second video playing terminal initiates screens switch operation to described screens switch server, such as, trigger " screens switch " button on described second media player; Described second video playing terminal initiates screens switch operation directly to described first video playing terminal; Described screens switch server detects the video playback progress msg in described first video playing terminal in real time, according to the operation information to the current video file play, the described screens switch operation of automatic triggering, such as, there is time-out when described screens switch server detects the video file that described first video playing terminal is being play, to have exited or described first video playing terminal is standby, shutdown or described first media player windows such as to minimize at the operation.
Preferred in the embodiment of the present invention, described screens switch server 102 comprises central server, resolver and decision device, described central server is connected with described first video playing terminal 101, second video playing terminal 103 and described decision device respectively, described resolver is connected with described first video playing terminal 101 and described second video playing terminal 103 respectively, wherein
Described central server is applicable to recording status information, and described state information at least comprises the timestamp information of described video file in the up-to-date execution screens switch operation of described first video playing terminal 101;
Described resolver is applicable to described video file off-line to generate the time static table corresponding to described first video playing terminal 101 and described second video playing terminal 103;
Described decision device is applicable to according to described timestamp information and described time static table, obtains the first video playing terminal 101 described in same timestamp and the time offset between described second video playing terminal 103.
Preferred in the embodiment of the present invention, also comprise bit stream converter, described bit stream converter connects described decision device, and it is applicable to the described time offset receiving the transmission of described bit stream converter, pushes code stream enter described second video playing terminal 103 according to described time offset.
Preferred in the embodiment of the present invention, described central server comprises user information store, facility information memory, binding relationship memory and video playback information-storing device, wherein,
Described user information store is applicable to store the log-on message of user in described first video playing terminal 101 and/or described second video playing terminal 103, and described log-on message comprises user account information and password;
Described facility information memory is applicable to the facility information storing described first video playing terminal 101 and described second video playing terminal 103, comprises device type, resolution and/or code check;
Described binding relationship memory is applicable to store the corresponding relation between the facility information of described first video playing terminal 101 and described second video playing terminal 103 and described log-on message;
Described video playback information-storing device is applicable to the described screens switch operation information storing described first video playing terminal 101 and/or described second video playing terminal 103.
Preferred in the embodiment of the present invention, described central server realizes the binding between user's multiple terminal, such as, user's first has a smart mobile phone, a panel computer, a desktop computer, a notebook computer and a television set, user's first can pass through described smart mobile phone, panel computer, desktop computer, notebook computer or television set wherein any one electronic equipment send registration request to described central server, described registration request comprises user account ID and (or is called user ID, user name), the essential informations such as password, personal settings information can also be comprised, the preference of the viewing video of such as user, watching mode etc.Described central server receives described registration request, and the log-on message of user's first is stored in described user information store.
Preferred in the embodiment of the present invention, the behavioural characteristic of all right same user of track record further of described video playback information-storing device, user can increase more customize services, such as can in the first video playing terminal 101 automatic recording user information, after first video playing terminal 101 stops broadcasting, described central server can be recorded to, in such user again plays on other equipment, whether can continue the play content of last time by reminding user, also can provide data for commercial advertisement, individual service.
Preferred in the embodiment of the present invention, after user's first uses described user ID to log in the success of described central server, the electronic equipment that can be had be added into described central server in whole or in part, such as, user's first can add its smart mobile phone, notebook computer and television set to described central server, the smart mobile phone that user's first has with it by described central server, notebook computer and television set are bound, and are stored in described binding relationship memory.
Preferred in the embodiment of the present invention, user can also arrange the default objects equipment of a certain user terminal as another user terminal, such as, acquiescence second video playing terminal when described smart mobile phone can be performed screens switch is described panel computer, acquiescence second video playing terminal when described panel computer being performed screens switch is described notebook computer, acquiescence second video playing terminal when described notebook computer being performed screens switch is described smart mobile phone, like this, when user triggers screens switch operation, do not need to carry out manual selection, can continue to play same video file on described default objects equipment.Certainly, also a certain user terminal can be selected as described second video playing terminal by the mode of drop-down selection.
Preferred in the embodiment of the present invention, the media player of described first video playing terminal and/or described second video playing terminal comprises media formats decoder, stream media protocol stack module and audio/video decoder, also comprise screens switch communication module and screens switch data buffer, described screens switch communication module is for realizing the data communication function of described first video playing terminal and described second video playing terminal, described screens switch data buffer is used for when described first video playing terminal performs screens switch operation, store the switch data of the current video play.
When user starts described first media renderer plays media file, first media player is first at described first video playing terminal playing video file, each module of the first media player sends related control information automatically to described screens switch data buffer, and described screens switch data buffer also cushions the data after nearest previous frame.
When user click " screens switch " button switch time, described first video playing terminal first with default objects equipment connection, unsuccessfully just connect next default objects equipment, or connect the target device that user specifies.Once successful connection, screens switch communication module in described first video playing terminal just initiatively obtains audio-video frequency content switch data from screens switch data buffer, and sending to described second video playing terminal according to screens switch agreement with network data form, described audio-video frequency content switch data comprises the original compression data stream of all parameters of video decode needs, control information and the video file from previous frame.Parameter required for described current playing video file decoding can comprise: the stream media protocol of the audio compression format of current broadcasting media, data sampling rate, sampled data position, video compression format, video resolution, video frame rate, support and version number, file size, current broadcasting relative position.
The media player that support screen switches, once enter screens switch or simultaneously broadcast state, audio/video decoder just sends to screens switch data buffer the data of its input simultaneously, until stop playing or getting back to described first video playing terminal play mode.Like this, just can realize direct propelling movement and the switching of video content between described first video playing terminal and described second video playing terminal, do not need to send video file to video server request again, screens switch can be realized neatly, seamlessly at each equipment room, and it is low to take the network bandwidth, provide users with the convenient.
Preferred in the embodiment of the present invention, described central server can detect the terminal equipment of user automatically, and described facility information is stored into described facility information memory, wherein, described facility information comprises device id, IP address of equipment, device type, resolution and/or code check etc.
Preferred in the embodiment of the present invention, described central server realizes the binding between user's multiple terminal, pass through HTTP, communication between the standard traffics such as RTSP and host-host protocol completing user terminal to user terminal and message parse, and complete a user terminal to the control of another user terminal according to message signaling, namely concerned control command is sent to described central server by described first video playing terminal, described central server completes the parsing of related protocol and the control signal of the applicable described second video playing terminal parsing of generation, and control signal is sent to described second video playing terminal, complete the broadcasting of film on multiple user terminal, and in playing process, seamlessly switch to the free of discontinuities broadcasting of another user terminal by a user terminal and control.
Preferred in the embodiment of the present invention, described central server both can accept the log-on message of the same account of same user, the user terminal of the current use of this user is judged according to the Account Logon information of this user, and according to described screens switch information, automatically the up-to-date video file do not finished of described first video playing terminal 101 is switched to current described second video playing terminal logged in of this user; Also the screens switch request between different user can be accepted, plusing good friend can be passed through between different user, its video file play in described first video playing terminal 101 is switched to described second video playing terminal 103, thus realizes the video sharing function between good friend.
Preferred in the embodiment of the present invention, also comprise video server, described video server is connected with described resolver, described first video playing terminal 101 and described second video playing terminal 103 respectively, it is applicable to process all media contents entering system, generates the relative index file for different media formats.Concrete, described video server processes all media contents entering system, and the secondary completing streaming media content compiles transcoding and encapsulation process, and generates the relative index file (XML format ADI document) for different media formats.
Preferred in the embodiment of the present invention, after described first video playing terminal 101 receives video switch instruction, current video can continue to play at the first video playing terminal 101 place, also can suspend the broadcasting of current video in the first video playing terminal 101.
If after the first video playing terminal 101 receives video switch instruction, current video continues to play at the first video playing terminal 101 place, after then the first video playing terminal 101 receives video switch instruction, described central server can record the playing progress rate of current video at the first video playing terminal 101 place when it receives video switch instruction, and generates playing progress rate information according to the playing progress rate of record; The current video that first video playing terminal 101 is play is switched to the second video playing terminal 103 when playing, do not affect the broadcasting of current video at the first video playing terminal 101 place.
If after the first video playing terminal 101 receives video switch instruction, current video suspends at the first video playing terminal 101 place to be play, the then playing progress rate of described central server records current video at time-out place, and generate playing progress rate information according to the playing progress rate of current video at time-out place.
Preferred in the embodiment of the present invention, described screens switch operation information, except comprising the playing progress rate information of the described current video recorded after the first video playing terminal receives described video switch instruction, also comprises the URL address information of current video.
Wherein, URL address information refers to the network address of the current video of the first video playing terminal viewing, is the address of the resource of standard on internet.
Because when video playback information comprises the URL address information of current video, the second terminal according to URL address information, can be directly switch to the broadcasting webpage of current video.
Preferred in the embodiment of the present invention, described user information store, facility information memory, binding relationship memory and video playback information-storing device can be server databases, the video of corresponding described first video playing terminal viewing, when not finishing watching, described central server initiatively records this broadcast address, play position, terminal iidentification.Described second video playing terminal resolves the data in described server database, is presented on its terminal screen by described video, and according to different demand bit rates to video server request optimal code rates.Best video code check and network condition, terminal processing capacity, video format are relevant.The broadcasting code check different according to network condition, each terminal configuration is different and/or different choice that is video format is different, thus reach best result of broadcast.
The embodiment of the invention discloses a kind of system realizing video seamless switching between multi-screen, realize the multimedia terminals such as computer, mobile phone, PAD in media content playing process, media content is by the seamless switching of a terminal screen to another terminal screen, improve the convenience of user's access, obtain the flexibility of content, user can repeatedly complete certain video of viewing with being intended to continued access on multiple screen, realizes seamless switching across screen broadcasting.
Embodiment two, a kind of system realizing video seamless switching between multi-screen.
Fig. 2 is the system configuration schematic diagram realizing video seamless switching between multi-screen of the embodiment of the present invention two, and composition graphs 2 is specifically described by the embodiment of the present invention.
As shown in Figure 2, embodiments provide a kind of system realizing video seamless switching between multi-screen, comprise: comprise central server 201, resolver 202 and decision device 203, bit stream converter 204, first video playing terminal 101, second video playing terminal 103, described decision device 203 is connected with described central server 201 and described resolver 202, described bit stream converter 204 respectively, described central server 201 and described resolver 202 are connected with described first video playing terminal 101 and described second video playing terminal 103 respectively, wherein
Described central server 201 is for state recording, and recorded information comprises: user account information, facility information, time point (synchronous point) information and user are to the information of certain section of vision operation.
Concrete, comprising: extract user ID; The information of recording user multiple devices, such as device type, applicable resolution or code check; Record is the last to this section of vision operation type, such as, close, suspend, shut down or minimize; Record the timestamp that this section of video stopped place last time.
Also comprise video server (not shown), described video server connects described resolver 202, described resolver 202 is for generating the time static table corresponding to plurality of devices by video off-line, such as, can comprise TV holds time static table, mobile phone terminal time static table and/or PC to hold time static table etc.Because same video content, the code check when distinct device is play is different, and code is frequently various, and therefore, identical time stamp correspond to different time offset on different devices.Described time static table is as shown in table 1.
Table 1 time static table
Such as, to same audio content, the timestamp that the incision frame nearest on PC end of 10 ' timestamp is corresponding is 9 ' 59 ", then the time offset of PC end is-1 "; And timestamp corresponding to incision frame nearest on mobile phone terminal is 10 ' 3 ", then the time offset of mobile phone terminal is+3 ".
Described decision device 203 is according to state record information in described central server 201, read user account information, first video playing terminal (such as, TV hold) the breakpoint moment, user to the last operation information of the video that described first video playing terminal is play and the second video playing terminal (such as, mobile phone terminal) facility information, and hold time static table by TV described in described parser queries, mobile phone terminal time static table, PC holds time static table, determine the time offset that described TV holds, the time offset of mobile phone terminal, the time offset of PC end, obtain side-play amount between the two under synchronization, described side-play amount is transported to described bit stream converter 204, described bit stream converter 204 pushes code stream and enters current described second video playing terminal.
Fig. 3 shows the schematic diagram realizing resolver rise time static table in the system of video seamless switching between multi-screen of the embodiment of the present invention.Comprise: mobile terminal video file 301, PC look closely frequency file 302 and TV looks closely frequency file 303, resolver 202 and time static table 304, described mobile terminal video file 301, PC look closely frequency file 302 and look closely frequency file 303 with TV and be connected described resolver 202, and described resolver connects described time static table 304.
Preferred in the embodiment of the present invention, for realizing the streaming media content service providing identical content to different terminals, described central server realizes the streaming media content service of the different terminals to heterogeneous networks access style by set-top box video program request platform, computer video program request platform and mobile terminal video program request platform.
Preferred in the embodiment of the present invention, described set-top box video program request platform finished surface spreads to the order video of Set Top Box and sends out and control, and provides TV to look closely frequency file 303; Described computer video program request platform finished surface spreads to the order video of terminal and sends out and control, and provides PC to look closely frequency file 302; Described mobile terminal video program request flat surface is broadcast and control to the video flowing of the mobile terminals such as Multiple Type smart mobile phone, PAD, provides mobile terminal video file 301.
Such as, described Set Top Box is connected with set-top box video program request platform, completes the commentary of the video contents of streaming media in Set Top Box, and the video breakpoint information that collection user produces when Set Top Box exits also reports to central server described in central server; Described computer is connected with computer video program request platform, completes the commentary of the video contents of streaming media on computer, and the video breakpoint information that collection user produces when computer exits also reports to central server; Described smart mobile phone is connected with mobile terminal video program request platform, completes the commentary of the video contents of streaming media on mobile terminal, and the video breakpoint information that collection user produces when smart mobile phone exits also reports to central server.
All real-time/non-real time streaming medium content sources import described video server, and wherein, real-time content transmission is based on udp protocol, and non-real-time content transmission is based on File Transfer Protocol.
Video server injects in real time and non-real-time streaming media content respectively to set-top box video program request platform, computer video program request platform, mobile terminal video program request platform through communication interface, externally provides streaming medium content order program service for set-top box video program request platform, computer video program request platform, mobile terminal video program request platform.
Between Set Top Box and set-top box video program request platform by interface using HTTP.1 as control signal host-host protocol, using TSoverUDP as media flow transmission mode.When Set Top Box have time-out, the operation such as to exit time, associated user is suspended by interface by Set Top Box, the information that exits sends central server in xml format.The relevant information such as video content reproduction time stamp when video content ID, the user of central server records subscriber computer set-top box customer ID, user's viewing exit.
Between terminal equipment computer and computer video program request platform by interface using HTTP.1 as control signal host-host protocol, and media flow transmission mode.When computer have time-out, the operation such as to exit time, associated user is suspended by interface by computer, the information that exits sends central server in xml format.The relevant information such as video content reproduction time stamp when video content ID, the user of central server records subscriber computer user ID, user's viewing exit.
Between terminal equipment smart mobile phone and mobile terminal video program request platform by interface using HTTP.1 as control signal host-host protocol, and media flow transmission mode.When smart mobile phone have time-out, the operation such as to exit time, associated user is suspended by interface by smart mobile phone, the information that exits sends central server in xml format.The relevant information such as video content reproduction time stamp when video content ID, the user of central server records user smart phone user ID, user's viewing exit.
When the Set Top Box of user terminal, computer, smart mobile phone trigger screens switch operation, through external network, relevant switching command is published to central server by interface, the packets of information entrained by interface triggers the timestamp information of video when multi-screen switches containing user's login account information, user's current viewing video information, user, the currently used end message of user, user continue viewing used terminal information.
Central server is according to the information entrained by interface, notice associated video program request platform interrupt user video flowing that present terminal is watched, and user is continued viewing used terminal information, programme information, video time stamp information be sent to video request program platform, the video request program platform being continued to watch used terminal by applicable user to user continue to appreciate video use terminal to push motion pictures resource.
The embodiment of the invention discloses a kind of system realizing video seamless switching between multi-screen, by stabbing settling time and video file side-play amount static mappings table on different devices, the time needed when changing broadcasting with memory space, user is enable to utilize the scrappy time, watch recorded broadcast video with seizing every opportunity, there is splendid Consumer's Experience, and video server load reduction.
In the embodiment of the present invention, other content is see the content in foregoing invention embodiment, does not repeat them here.
Embodiment three, a kind of method realizing video seamless switching between multi-screen.
Fig. 4 is the method flow diagram realizing video seamless switching between multi-screen of the embodiment of the present invention three, and composition graphs 4 is specifically described by the embodiment of the present invention.
As shown in Figure 4, embodiments provide a kind of method realizing video seamless switching between multi-screen, comprise the following steps:
Step S401: the first video playing terminal playing video file;
Step S402: perform screens switch operation;
Step S403: according to facility information and the described screens switch operation information of described first video playing terminal and described second video playing terminal, determines that described second video playing terminal plays time point corresponding to the incision frame of described video file;
Step S404: described video file is switched to described second video playing terminal and continue to play.
Preferred in the embodiment of the present invention, the described facility information according to described first video playing terminal and described second video playing terminal and described screens switch operation information, determine that described second video playing terminal plays the step of time point corresponding to the incision frame of described video file, specifically comprise the following steps:
Recording status information, described state information at least comprises the timestamp information of described video file in the up-to-date execution screens switch operation of described first video playing terminal;
Described video file off-line is generated the time static table corresponding to described first video playing terminal and described second video playing terminal;
According to described timestamp information and described time static table, obtain the first video playing terminal described in same timestamp and the time offset between described second video playing terminal.
Preferred in the embodiment of the present invention, the described step described video file being switched to described second video playing terminal and continue to play, specifically comprises the following steps:
Push code stream according to described time offset and enter described second video playing terminal;
Described second video playing terminal continues to play described video file.
Preferred in the embodiment of the present invention, before the step of described first video playing terminal playing video file, further comprising the steps of:
Store the log-on message of user in described first video playing terminal and/or described second video playing terminal, described log-on message comprises user account information and password;
Store the facility information of described first video playing terminal and described second video playing terminal, comprise device type, resolution and/or code check;
Store the corresponding relation between the facility information of described first video playing terminal and described second video playing terminal and described log-on message.
Preferred in the embodiment of the present invention, also comprise media content treatment step, specifically comprise:
Receive all media contents entering system;
Generate the relative index file for different media formats.
In the embodiment of the present invention, resolver is resolved video, obtains the time static table of plurality of devices, such as, can comprise TV and hold time static table, mobile phone terminal time static table and/or PC to hold time static table etc.
Described central server records state information, extracts and comprises user account information, facility information, time point (synchronous point) information and user to the information of certain section of vision operation.
Described time static table and described state information are inputted decision device simultaneously, obtains side-play amount corresponding on current playback equipment, determine the cutting point of code stream on current device.
Such as, the process forwarding mobile phone terminal to is held to comprise following operation from TV:
From described central server, read user account information, the breakpoint moment of TV end, user look closely frequently last operation information to TV, the facility information of mobile phone;
Obtain mobile phone terminal time static table and TV end time static table, obtain side-play amount between the two in the same time;
Above-mentioned side-play amount is flowed to bit stream converter, and described bit stream converter pushes code stream and enters current playback equipment.
Embodiments provide a kind of method realizing video seamless switching between multi-screen, by stabbing settling time and video file side-play amount static mappings table on different devices, the time needed when changing broadcasting with memory space, user can repeatedly complete certain video of viewing with being intended to continued access on multiple screen, realizes seamless switching across screen broadcasting.
In the embodiment of the present invention, other content is see the content in foregoing invention embodiment, does not repeat them here.
The present invention can bring these useful technique effects: the system and method realizing video seamless switching between multi-screen disclosed in the embodiment of the present invention, realize the multimedia terminals such as computer, mobile phone, PAD in media content playing process, media content is by the seamless switching of a terminal screen to another terminal screen, improve the convenience of user's access, obtain the flexibility of content, user can repeatedly complete certain video of viewing with being intended to continued access on multiple screen, realizes seamless switching across screen broadcasting.
Various embodiment provided by the invention can combine as required in any way mutually, the technical scheme obtained by this combination, also within the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.