CN105354002B - A kind of system and method for realizing video seamless switching between multi-screen - Google Patents

A kind of system and method for realizing video seamless switching between multi-screen Download PDF

Info

Publication number
CN105354002B
CN105354002B CN201510719617.3A CN201510719617A CN105354002B CN 105354002 B CN105354002 B CN 105354002B CN 201510719617 A CN201510719617 A CN 201510719617A CN 105354002 B CN105354002 B CN 105354002B
Authority
CN
China
Prior art keywords
video
video playing
playing terminal
terminal
information
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.)
Active
Application number
CN201510719617.3A
Other languages
Chinese (zh)
Other versions
CN105354002A (en
Inventor
陈建文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan miracle cloud Technology Co., Ltd.
Original Assignee
Sichuan Miracle Cloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Miracle Cloud Technology Co Ltd filed Critical Sichuan Miracle Cloud Technology Co Ltd
Priority to CN201510719617.3A priority Critical patent/CN105354002B/en
Publication of CN105354002A publication Critical patent/CN105354002A/en
Application granted granted Critical
Publication of CN105354002B publication Critical patent/CN105354002B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display

Abstract

The invention discloses a kind of system and methods for realizing video seamless switching between multi-screen, belong to audio and video process field.Including:First video playing terminal and the second video playing terminal, screens switch server, first video playing terminal and the second video playing terminal are used for playing video file, and screens switch operation can be carried out to the video file being currently played, video file can be switched to the second video playing terminal and continue to play by the first video playing terminal;The detection of screens switch server and recording equipment information, screens switch operation information determine the incision frame corresponding time point of the second video playing terminal playing video file.The present invention realizes seamless switching of the media content from a terminal screen to another terminal screen, and user repeatedly can complete to watch some video with continued access is intended on multiple screens.

Description

A kind of system and method for realizing video seamless switching between multi-screen
Technical field
The present invention relates to audio and video processing technology fields, and in particular to a kind of system for realizing video seamless switching between multi-screen And method.
Background technology
One user usually possesses polylith screen, such as TV (television set), mobile terminal (smart mobile phone or tablet electricity Brain, iOS android operating systems), PC (computer) etc..In a terminal, realize that video playing breakpoint management compares Generally.
Such as:Application No. is 201110144970.5, it is entitled《A kind of audio/video continuous play seamless switching system And method》Chinese invention patent disclose a kind of audio/video continuous play seamless switching system and method, including:Multipath pipe Module, data buffering module, data outputting module and at least two document storage servers are managed, are filled after system initialization Operation, encounters network failure or read error when abnormal conditions for TV in audio-video document playing process, carries out Bumpless transfer operation achievees the purpose that system is continuously broadcasted, and avoids triviality and uncertainty that manual operation is brought.
For another example application No. is 201510150780.2, it is entitled《The seamless handover method of live video stream》's Chinese invention patent application discloses a kind of seamless handover method of live video stream, including:Video flowing acquisition terminal receives user After the specification handover request of terminal, original encoding device example is kept to continue to run with, and start a new encoder example;It will newly regard again Frequency stream carries out frame number synchronization with original video stream;Then in new video stream select a key frame, and since the key frame to User terminal transmits new video stream, and original video stream terminates after having transmitted the previous frame data of the key frame, and the frame of the key frame Number and original video stream the last one key frame frame number between spacing be more than new video stream GOP length 1/2;Then it closes again Close original encoding device example.Front-end collection compression device of this method suitable for RTP Transport System for Real-time.
The breakpoint that the above-mentioned prior art is all based in same terminal plays seamless switching.In reality, user possesses more Media information number of terminals amount and type are gradually enriched, but due to the access network of multiple terminal, the difference of information acquisition platform, are made Into plurality of devices independently of one another, the situation that cannot share of resource.With the continuous propulsion of integration of three networks process, how to using The terminals such as set-top box, computer, PAD terminals and the smart mobile phone of person carry out efficient association, so as to provide multiple business to the user The multi-screen interactive experience of fusion has become currently considered main problem.Multi-screen interactive technology refers to TV, computer, hand Machine, PAD and the various multi-media information terminal parts with network accessibility establish correspondence by related protocol, realize more Screen can watch the video content that operator's platform provides simultaneously, and video sharing can be carried out between multiple screens, seamless switching, broadcast Put the functions such as control.
But it is existing when screen handoff technique carries out the switching based on identical time stamp between different file formats, lead to Often rely on dynamic analysis, it is difficult to accomplish breakpoint seamless switching or even the problem of handoff procedure point of interruption can not be connected occur.
Invention content
The goal of the invention of the present invention is to provide a kind of system and method for realizing video seamless switching between multi-screen, and user can be with It repeatedly completes to watch some video with continued access is intended on multiple screens, cross screen playing realizes seamless switching.
In order to solve the above-mentioned technical problem, the technical solution adopted by the present invention is as follows:
A kind of system for realizing video seamless switching between multi-screen, it is whole including the first video playing terminal and the second video playing End, screens switch server, wherein,
First video playing terminal and the second video playing terminal are suitable for playing video file, and to currently The video file of broadcasting carries out screens switch operation;
The screens switch server is suitable for detecting and recording first video playing terminal and second video The facility information of playback terminal, the information of screens switch operation, the letter operated according to the facility information and the screens switch Breath determines to switch to the incision frame for the video file that second video playing terminal plays from first video playing terminal The time point is sent to second video playing terminal by corresponding time point.
Further, the screens switch server includes central server, resolver and decision device, the central service Device is connect respectively with first video playing terminal, the second video playing terminal and the decision device, the resolver difference It is connect with first video playing terminal and second video playing terminal, wherein,
The central server is suitable for the information of record screens switch operation, and the information of the screens switch operation is at least Include the timestamp information of first video playing terminal newest execution screens switch operation when playing the video file;
The resolver, which is suitable for offline generating the video file, corresponds to first video playing terminal and institute State the time static table of the second video playing terminal;
The decision device is suitable for according to the timestamp information and the time static table, obtains described in same timestamp Time offset between first video playing terminal and second video playing terminal, as the time point.
Further, the screens switch server further includes bit stream converter, and the bit stream converter connects the decision device, fits For receiving the time offset that the bit stream converter is sent, code stream is pushed according to the time offset and enters described second Video playing terminal.
Further, the central server includes user information store, facility information memory, binding relationship storage Device and video playing information-storing device, wherein,
The user information store is suitable for storage user and is regarded in first video playing terminal and/or described second Log-on message on frequency playback terminal, the log-on message include user account information and password;
The facility information memory is suitable for storing first video playing terminal and second video playing is whole The facility information at end, including device type, resolution ratio and/or code check;
The binding relationship memory is suitable for storing first video playing terminal and second video playing is whole Correspondence between the facility information at end and the log-on message;
The video playing information-storing device is suitable for storing first video playing terminal and/or second video The screens switch operation information of playback terminal.
Further, the screens switch server further includes screens switch data buffer, the screens switch data Buffer is used to, when first video playing terminal performs screens switch operation, store cutting for the video that is currently played Data are changed, and the switch data of storage is sent to the second video playing terminal.
Further, further include video server, the video server respectively with the resolver, first video Playback terminal is connected with second video playing terminal, it is suitable for handling all media contents into system, Generation is for the relative index file of different media formats.
According to another aspect of the present invention, a kind of method for realizing video seamless switching between multi-screen is additionally provided, including Following steps:
Pass through the first video playing terminal playing video file;
Perform screens switch operation;
It is cut according to the facility information and the screen of first video playing terminal and second video playing terminal Operation information is changed, determines that second video playing terminal plays the incision frame corresponding time point of the video file;
The time point is sent to second video playing terminal, will pass through second video terminal according to institute Time point is stated to continue to play the video file.
Further, the facility information according to first video playing terminal and second video playing terminal With the screens switch operation information, determine that the incision frame of the second video playing terminal broadcasting video file is corresponding The step of time point, specifically includes following steps:
The information of screens switch is recorded, the information of the screens switch is regarded including at least the video file described first The newest timestamp information for performing screens switch operation of frequency playback terminal;
By the video file, generation is whole corresponding to first video playing terminal and second video playing offline The time static table at end;
According to the timestamp information and the time static table, the first video playing terminal described in same timestamp is obtained Time offset between second video playing terminal, as the time point.
Further, this method further includes:
Code stream is pushed according to the time offset and enters second video playing terminal;
Second video playing terminal continues to play the video file.
Further, it is described by the step of the first video playing terminal playing video file before, further include following step Suddenly:
Log-on message of the user in first video playing terminal and/or second video playing terminal is stored, The log-on message includes user account information and password;
The facility information of first video playing terminal and second video playing terminal is stored, including equipment class Type, resolution ratio and/or code check;
The facility information for storing first video playing terminal and second video playing terminal is believed with the registration Correspondence between breath.
Further, it further includes:
Receive all media contents into system;
Generation performs screens switch for the relative index file of different media formats in first video playing terminal During operation, the switch data for the video being currently played is stored, and the switch data of storage is sent to the second video playing Terminal.
Further, media content processing step is further included, is specifically included:
Receive all media contents into system;
Generation is for the relative index file of different media formats.
The invention discloses a kind of system and method for realizing video seamless switching between multi-screen, realize computer, mobile phone, The multimedia terminals such as PAD are in media content playing process, and media content is from a terminal screen to another terminal screen Seamless switching improves the convenience of user's access, obtains the flexibility of content, and user can be with being intended to continued access on multiple screens It repeatedly completes to watch some video, cross screen playing realizes seamless switching.
Above description is only the general introduction of technical solution of the present invention, in order to cause the technological means of the present invention clearer Understand, reach the degree that those skilled in the art can be implemented in accordance with the contents of the specification, and in order to allow the present invention Above and other objects, features and advantages can be clearer and more comprehensible, below with the present invention specific embodiment illustrate Explanation.
Description of the drawings
By reading the detailed description hereafter in preferred embodiment, the advantages of present invention is various other and benefit Those of ordinary skill in the art will become clear.Figure of description is only used for showing the purpose of preferred embodiment, And it is not considered as limitation of the present invention.It should be evident that drawings discussed below is only some embodiments of the present invention, For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings Other attached drawings.And throughout the drawings, identical component is presented with like reference characters.In the accompanying drawings:
Fig. 1 show according to embodiments of the present invention one realize multi-screen between video seamless switching system structure diagram;
Fig. 2 shows the system structure diagrams of video seamless switching between according to embodiments of the present invention two realization multi-screen;
Fig. 3 show based on the embodiment of the present invention two realize multi-screen between video seamless switching system in generated time it is quiet State represents to be intended to;
Fig. 4 show according to embodiments of the present invention three realize multi-screen between video seamless switching method flow diagram.
Specific embodiment
Specific embodiments of the present invention are more fully described below with reference to accompanying drawings.Although show the present invention's in attached drawing Specific embodiment, it being understood, however, that may be realized in various forms the present invention without should be limited by embodiments set forth here System.It is to be able to be best understood from the present invention, and can be complete by the scope of the present invention on the contrary, providing these embodiments Be communicated to those skilled in the art.
It should be noted that some vocabulary is used to censure specific components in specification and claim.Ability Field technique personnel it would be appreciated that, hardware manufacturer may call same component with different nouns.This specification and power Profit requirement is used as differentiation not in a manner that the difference of noun is used as and distinguishes component with the difference of component functionally Criterion."comprising" or " comprising " as mentioned in working as in specification in the whole text and claim are an open language, therefore should It is construed to " including but not limited to ".Specification subsequent descriptions are to implement the better embodiment of the present invention, and so description is For the purpose of the rule of specification, it is not limited to the scope of the present invention.Protection scope of the present invention is when regarding appended power Profit is required subject to institute's defender.
For ease of the understanding to the embodiment of the present invention, done further by taking several specific embodiments as an example below in conjunction with attached drawing Explanation, and each attached drawing does not form the restriction to the embodiment of the present invention.
Embodiment one, a kind of system for realizing video seamless switching between multi-screen.
The system structure diagram of Fig. 1 video seamless switchings between the realization multi-screen of the embodiment of the present invention one, the present invention are real Applying example will be specifically described with reference to Fig. 1.
As shown in Figure 1, an embodiment of the present invention provides a kind of system 100 for realizing video seamless switching between multi-screen, including First video playing terminal 101 and the second video playing terminal 103, screens switch server 102, the screens switch server 102 can with first video playing terminal 101 and 103 two-way communication of the second video playing terminal, wherein,
First video playing terminal, 101 and second video playing terminal 103 includes media player, and (the first media are broadcast Put device 1011, the second media player 1031) and display (the first display 1012, second display 1032), it is suitable for Playing video file, and screens switch operation, first video playing can be carried out to the video file being currently played The video file can be switched to second video playing terminal 103 and continue to play by terminal 101;
The screens switch server 102 is suitable for detecting and recording first video playing terminal 101 and described the The screens switch operation information of the facility information of two video playing terminals 103, first video playing terminal 101, according to institute Facility information and the screens switch operation information are stated, determines that second video playing terminal 103 plays the video file Incision frame corresponding time point.
Preferable in the embodiment of the present invention, first video playing terminal 101 is used to refer to for initial play video file Subscriber terminal equipment, second video playing terminal 103 is used to refer to put same video file for the subsequent continued broadcasting of screens switch Subscriber terminal equipment, " first " and " second " here be not intended to represent quantity number, nor be used to refer to generation sequence, Wherein, first video playing terminal may be used as the second video playing terminal, second video in other scene Playback terminal can also be used as the first video playing terminal, second video playing terminal during other first use, The video file that second video playing terminal does not finish can be switched to first video playing terminal to continue It plays.
It is preferable in the embodiment of the present invention, first video playing terminal 101 and second video playing terminal 103 Can be mobile terminal, such as smart mobile phone, tablet computer etc.;Can also be smart television, including set-top box, millet box Deng;It can also be computer, such as desktop computer, laptop etc.;It can also be arbitrarily network and can play and regard The electronic equipment of frequency.First video playing terminal 101 and second video playing terminal 103 can be same type of User terminal, such as be smart mobile phone, same video file is switched into another smart mobile phone after continued broadcasting from a smart mobile phone It puts;Can also be different types of user terminal, such as first video playing terminal 101 is TV ends, second video Playback terminal 103 is mobile terminal, and same video file is switched to mobile terminal from TV ends and continues to play.
It is preferable in the embodiment of the present invention, first video playing terminal and/or second video playing terminal Tool is there are one " screens switch " button on media player or display, and directly " confirmation " described the can be switched to by it Two video playing terminals.
Preferable in the embodiment of the present invention, video switching command is triggered by user, and user triggers video switching command There are many modes, for example, trigger the triggering button of video switching command for user in the auto-building html files for playing current video in advance, User can trigger the video switching command by touching the triggering button of first video playing terminal;It is or logical It crosses remote controler and triggers the video switching command;Or the triggering button is clicked by mouse, trigger video switching command.
Preferable in the embodiment of the present invention, the screens switch operation includes any one following situation:Described first regards Frequency playback terminal initiates screens switch operation to the screens switch server, such as triggers on first media player " screens switch " button;First video playing terminal directly initiates screens switch behaviour to second video playing terminal Make;Second video playing terminal initiates screens switch operation to the screens switch server, such as triggers described second " screens switch " button on media player;Second video playing terminal is directly sent out to first video playing terminal Play screens switch operation;The screens switch server detects the video playing progress in first video playing terminal in real time Information, according to the operation information of the video file to being currently played, screens switch described in automatic trigger operates, for example, working as The screens switch server detects that the video file played in first video playing terminal pause occurs, moves back Go out the operations such as standby either first video playing terminal, shutdown or first media player windows minimum.
Preferable in the embodiment of the present invention, the screens switch server 102 includes central server, resolver and judgement Device, the central server respectively with first video playing terminal 101, the second video playing terminal 103 and the judgement Device connects, and the resolver is connect respectively with first video playing terminal 101 and second video playing terminal 103, Wherein,
The central server is suitable for recording status information, and the status information includes at least the video file in institute State the 101 newest timestamp information for performing screens switch operation of the first video playing terminal;
The resolver, which is suitable for offline generating the video file, corresponds to 101 He of the first video playing terminal The time static table of second video playing terminal 103;
The decision device is suitable for according to the timestamp information and the time static table, obtains described in same timestamp Time offset between first video playing terminal 101 and second video playing terminal 103.
It is preferable in the embodiment of the present invention, bit stream converter is further included, the bit stream converter connects the decision device, and it is suitable for connecing The time offset that the bit stream converter is sent is received, push code stream according to the time offset broadcasts into second video Put terminal 103.
It is preferable in the embodiment of the present invention, the central server include user information store, facility information memory, Binding relationship memory and video playing information-storing device, wherein,
The user information store is suitable for storage user in first video playing terminal 101 and/or described the Log-on message in two video playing terminals 103, the log-on message include user account information and password;
The facility information memory is suitable for storing first video playing terminal 101 and second video playing The facility information of terminal 103, including device type, resolution ratio and/or code check;
The binding relationship memory is suitable for storing first video playing terminal 101 and second video playing Correspondence between the facility information of terminal 103 and the log-on message;
The video playing information-storing device is suitable for storing first video playing terminal 101 and/or described second The screens switch operation information of video playing terminal 103.
Preferable in the embodiment of the present invention, the central server realizes the binding between user's multiple terminal, for example, with Family first is gathered around there are one smart mobile phone, a tablet computer, a desktop computer, a laptop and a television set, user First can be set by the smart mobile phone, tablet computer, desktop computer, laptop or television set any of which electronics Standby to send out registration request to the central server, the registration request includes user account ID (or referred to as User ID, use Name in an account book), the essential informations such as password, personal settings information, such as the preference of the viewing video of user, viewing mould can also be included Formula etc..The central server receives the registration request, and the log-on message of user's first is stored in the user information and is deposited Reservoir.
Preferable in the embodiment of the present invention, the video playing information-storing device can also further track and record same use The behavioural characteristic at family, user can increase more customization services, such as can automatically remember in the first video playing terminal 101 User information is recorded, stops in the first video playing terminal 101 after playing, the central server can be recorded, use in this way Family may remind the user that the broadcasting content for whether continuing last time when being played again in other equipment, also can be that business is wide It accuses, individual service provides data.
It is preferable in the embodiment of the present invention, it, can after user's first logs in the central server success using the User ID The central server is added to the electronic equipment that is possessed in whole or in part, for example, user's first can be by its intelligence Energy mobile phone, laptop and television set are added to the central server, and the central server possesses user's first with it Smart mobile phone, laptop and television set bound, and be stored in the binding relationship memory.
Preferable in the embodiment of the present invention, user can also be set using a certain user terminal as the silent of another user terminal Target device is recognized, for example, the second video playing terminal of acquiescence when the smart mobile phone can be performed to screens switch is described Tablet computer, the second video playing terminal of acquiescence when the tablet computer to be performed to screens switch are the laptop, The second video playing terminal of acquiescence when the laptop to be performed to screens switch is the smart mobile phone, in this way, when using During family triggering screens switch operation, do not need to carry out manual selection, you can continue to play in the default objects equipment same Video file.It is of course also possible to a certain user terminal is selected by way of pulling down and selecting as second video playing end End.
It is preferable in the embodiment of the present invention, first video playing terminal and/or second video playing terminal Media player includes media formats decoder, stream media protocol stack module and audio/video decoder, further includes screens switch and leads to Believe module and screens switch data buffer, the screens switch communication module be used to implement first video playing terminal and The data communication function of second video playing terminal, the screens switch data buffer are used to broadcast in first video When putting terminal execution screens switch operation, the switch data for the video being currently played is stored.
When user starts the first media renderer plays media file, the first media player is first described the One video playing terminal playing video file, each module of the first media player send related control information to the screen automatically Curtain switch data buffer, the screens switch data buffer also buffer the data after nearest previous frame.
When user click " screens switch " button switch over when, first video playing terminal first with default objects Equipment connects, unsuccessful just to connect next default objects equipment or connect the target device that user specifies.Once it connects into Work(, the screens switch communication module in first video playing terminal just actively obtain sound from screens switch data buffer and regard Frequency content switch data, and second video playing terminal, institute are sent in the form of network data according to screens switch agreement It states audio-video frequency content switch data and includes all parameters, control information and the video text since previous frame that video decoding needs The original compression data stream of part.The currently playing video file, which decodes required parameter, may include:Currently playing media Audio compression format, data sampling rate, sampled data position, video compression format, video resolution, video frame rate, the stream supported Media protocol and version number, file size, currently playing relative position.
The media player of support screen switching, once into screens switch or simultaneously broadcast state, audio/video decoder Just the data its input are sent to screens switch data buffer simultaneously, are broadcast until stopping playing or returning to first video Put terminal plays pattern.This way it is possible to realize between first video playing terminal and second video playing terminal The directly push and switching of video content do not need to ask to send video file again to video server, can be in each equipment room Neatly, screens switch is seamlessly realized, and occupancy network bandwidth is low, provides users with the convenient.
Preferable in the embodiment of the present invention, the central server can detect the terminal device of user automatically, and by institute Facility information storage is stated to the facility information memory, wherein, the facility information includes device id, IP address of equipment, sets Standby type, resolution ratio and/or code check etc..
Preferable in the embodiment of the present invention, the central server realizes the binding between user's multiple terminal, passes through The standard traffics such as HTTP, RTSP and transport protocol are completed user terminal and are parsed to the communication between user terminal and message, and foundation Message signaling completes control of the user terminal to another user terminal, i.e., described first video playing terminal controls correlation System order is sent to the central server, and the central server completes the parsing to related protocol and generating and is suitble to described the The control signaling of two video playing terminals parsing, and control signaling is sent to second video playing terminal, complete film Broadcasting on multiple user terminals and the nothing for seamlessly switching to another user terminal by a user terminal in playing process Interruption plays and control.
Preferable in the embodiment of the present invention, the central server can both receive the login letter of the same account of same user Breath, judges the currently used user terminal of the user, and according to the screens switch according to the Account Logon information of the user The newest video file not finished of first video playing terminal 101 is being switched to the user currently just by information automatically In second video playing terminal of login;Can also receive between different user screens switch request, different user it Between its video file played in first video playing terminal 101 can be switched to described by plusing good friend Second video playing terminal 103, so as to fulfill the video sharing function between good friend.
It is preferable in the embodiment of the present invention, further include video server, the video server respectively with the resolver, First video playing terminal 101 and second video playing terminal 103 connect, it is suitable for all into system Media content is handled, and generation is for the relative index file of different media formats.Specifically, the video server is to institute There is the media content into system to be handled, complete the secondary volume transcoding and encapsulation process of streaming media content, and generate needle To the relative index file (XML format ADI documents) of different media formats.
It is preferable in the embodiment of the present invention, after first video playing terminal 101 receives video switching command, currently Video can continue to play at the first video playing terminal 101, can also suspend current video in the first video playing terminal 101 broadcasting.
After if the first video playing terminal 101 receives video switching command, current video is at the first video playing end It holds and continues to play at 101, then after the first video playing terminal 101 receives video switching command, the central server can be remembered Playing progress rate of the current video at the first video playing terminal 101 when it receives video switching command is recorded, and according to record Playing progress rate generation playback progress information;The current video that first video playing terminal 101 plays is switched into the second video When playback terminal 103 plays, broadcasting of the current video at the first video playing terminal 101 is not influenced.
After if the first video playing terminal 101 receives video switching command, current video is at the first video playing end It holds to suspend at 101 and play, then playing progress rate of the central server records current video at pause, and according to current video Playing progress rate generation playback progress information at pause.
Preferable in the embodiment of the present invention, the screens switch operation information is received except including the first video playing terminal Outside the playback progress information of the current video recorded after the video switching command, the unified resource of current video is further included Locator address information.
Wherein, URL address information refers to the network address of the current video of the first video playing terminal viewing, It is the address of the resource of standard on internet.
Because when video playing information includes the URL address information of current video, second terminal can be with According to URL address information, it is directly switch to the broadcasting webpage of current video.
It is preferable in the embodiment of the present invention, the user information store, facility information memory, binding relationship memory Can be a server database with video playing information-storing device, the corresponding first video playing terminal viewing regards Frequently, in the case where not watched, the central server actively records the broadcast address, play position, terminal iidentification.It is described Second video playing terminal parses the data in the server database, and the video is included on its terminal screen, and Optimal code rates are asked to video server according to different demand bit rates.Best video code check and Network status, terminal processes energy Power, video format are related.According to Network status difference, the configuration of each terminal is different, and/or the different of video format select difference Broadcasting code check, so as to reach best result of broadcast.
The embodiment of the invention discloses a kind of system for realizing video seamless switching between multi-screen, realize computer, mobile phone, The multimedia terminals such as PAD are in media content playing process, and media content is from a terminal screen to another terminal screen Seamless switching improves the convenience of user's access, obtains the flexibility of content, and user can be with being intended to continued access on multiple screens It repeatedly completes to watch some video, cross screen playing realizes seamless switching.
Embodiment two, a kind of system for realizing video seamless switching between multi-screen.
The system structure diagram of Fig. 2 video seamless switchings between the realization multi-screen of the embodiment of the present invention two, the present invention are real Applying example will be specifically described with reference to Fig. 2.
As shown in Fig. 2, an embodiment of the present invention provides a kind of system for realizing video seamless switching between multi-screen, including:Packet Include central server 201, resolver 202 and decision device 203, bit stream converter 204, the first video playing terminal 101, the second video are broadcast Terminal 103 is put, the decision device 203 connects respectively with the central server 201 and the resolver 202, the bit stream converter 204 It connects, the central server 201 and the resolver 202 regard respectively with first video playing terminal 101 and described second Frequency playback terminal 103 connects, wherein,
The central server 201 is used for state recording, and record information includes:User account information, facility information, time Point (synchronous point) information and user are to the information of certain section of vision operation.
Specifically, including:Extract User ID;Record the information of user's multiple devices, such as device type, suitable resolution Rate or code check;Record is the last to this section of vision operation type, such as closes, pause, shuts down or minimize;Record the section Video last time stops the timestamp at place.
Video server (not shown) is further included, the video server connects the resolver 202, the resolver 202 for video to be generated to time static table corresponding to plurality of devices offline, for example, can include TV ends time static table, Mobile phone terminal time static table and/or PC ends time static table etc..Because of same video content, the code check when distinct device plays Difference, and code frequency is various, therefore, identical time stamp corresponds to different time offsets on different devices.The time is quiet State table is as shown in table 1.
1 time of table static table
For example, to same audio content, 10 ' the timestamps corresponding timestamp of incision frame nearest on PC ends is 9 ' 59 ", Then the time offset at PC ends is -1 ";And the corresponding timestamp of incision frame nearest on mobile phone terminal is 10 ' 3 ", then mobile phone terminal Time offset be+3 ".
The decision device 203 reads user account information, the according to state record information in the central server 201 Breakpoint moment of one video playing terminal (for example, TV ends), user to the video that is played in first video playing terminal most Operation information afterwards and the facility information of the second video playing terminal (for example, mobile phone terminal), and pass through the parser queries institute TV ends time static table, mobile phone terminal time static table, PC ends time static table are stated, determines time offset, the hand at the TV ends The time offset of generator terminal, the time offset at PC ends obtain offset between the two under synchronization, by the offset The bit stream converter 204 is transported to, the bit stream converter 204 pushes code stream and enters current second video playing terminal.
Fig. 3 show the embodiment of the present invention realize multi-screen between video seamless switching system in resolver generated time it is quiet The schematic diagram of state table.Including:Mobile terminal video file 301, PC ends video file 302 and TV ends video file 303, resolver 202 and time static table 304, the mobile terminal video file 301, PC ends video file 302 and TV ends video file 303 connect The resolver 202, the resolver connect the time static table 304.
It is preferable in the embodiment of the present invention, the streaming media content service of identical content, institute are provided to realize to different terminals State central server by set-top box video program request platform, computer video program request platform and mobile terminal video program request platform come Realize the streaming media content service to the different terminals of heterogeneous networks access style.
Preferable in the embodiment of the present invention, the set-top box video program request platform completes the order video stream towards set-top box It broadcasts and controls, TV ends video file 303 is provided;The computer video program request platform completes the program request towards terminal Video flowing is broadcast and is controlled, and provides PC ends video file 302;The mobile terminal video program request platform is intelligent towards Multiple Type The video flowing of the mobile terminals such as mobile phone, PAD is broadcast and is controlled, and provides mobile terminal video file 301.
For example, the set-top box is connect with set-top box video program request platform, the video contents of streaming media on set-top box is completed Broadcasting and control, collect when user exits from set-top box and generated video breakpoint information and report to described in central server Central server;The computer is connect with computer video program request platform, the video contents of streaming media on completion computer It plays and control, collects when user exits from computer and generated video breakpoint information and report to central server;It is described Smart mobile phone is connect with mobile terminal video program request platform, completes the broadcasting and control of the video contents of streaming media on mobile terminal System is collected when user exits from smart mobile phone and generated video breakpoint information and reports to central server.
All real-time/non-real time streaming medium content source imports the video server, wherein, real-time content transmission with Based on udp protocol, non-real-time content is transmitted based on File Transfer Protocol.
Video server is through communication interface respectively to set-top box video program request platform, computer video program request platform, movement Terminal video program request platform injects real-time and non-real-time streaming media content, for set-top box video program request platform, computer video point Broadcast platform, mobile terminal video program request platform externally provides streaming medium content order program service.
By interface using HTTP.1 as control signaling transport protocol between set-top box and set-top box video program request platform, with TS Over UDP are as media flow transmission mode.When set-top box has pause, exits when operations, set-top box is used correlation by interface Family pause exits information and sends central server in xml format.Central server records user's set-top box users ID, user The relevant informations such as video content reproduction time stamp when video content ID, the user of viewing exit.
It is transmitted between terminal device computer and computer video program request platform by interface using HTTP.1 as control signaling Agreement and media flow transmission mode.When computer has pause, exits when operations, computer is temporary by associated user by interface Stop, exit information and send central server in xml format.Central server records subscriber computer User ID, user's viewing Video content ID, user's relevant informations such as video content reproduction time stamp when exiting.
By interface using HTTP.1 as control signaling between terminal device smart mobile phone and mobile terminal video program request platform Transport protocol and media flow transmission mode.When smart mobile phone has pause, exits when operations, smart mobile phone is by interface by phase User's pause is closed, information is exited and sends central server in xml format.Central server records user's smart phone user The relevant informations such as video content reproduction time stamp when video content ID, the user that ID, user watch exit.
It, will be mutually deeply concerned through external network when set-top box, computer, the smart mobile phone triggering screens switch of user terminal operate It changes instruction and central server is published to by interface, the information entrained by interface is current comprising user's login account information, user Watch video information, user triggers the timestamp information of video, the currently used end message of user, user when multi-screen switches and continues Watch used terminal information.
Central server notifies associated video program request platform interrupt user's present terminal according to the information entrained by interface Watched video flowing, and user is continued into viewing used terminal information, programme information, video time stamp information and is sent to video point Platform is broadcast, is pushed away from user is suitble to continue to watch the video-on-demand platform of used terminal and continue to appreciate video institute using terminal to user The motion pictures resource sent.
The embodiment of the invention discloses a kind of systems for realizing video seamless switching between multi-screen, stab and regard by settling time The offset static mappings table of frequency file on different devices, the time needed during broadcasting is changed with memory space, makes user The scrappy time can be utilized, watch recorded broadcast video with seizing every opportunity, there is splendid user experience, and video server load drop It is low.
Other contents are referring to the content in foregoing invention embodiment in the embodiment of the present invention, and details are not described herein.
Embodiment three, a kind of method for realizing video seamless switching between multi-screen.
The method flow diagram of Fig. 4 video seamless switchings between the realization multi-screen of the embodiment of the present invention three, the embodiment of the present invention It will be specifically described with reference to Fig. 4.
As shown in figure 4, an embodiment of the present invention provides a kind of method for realizing video seamless switching between multi-screen, including following Step:
Step S401:First video playing terminal playing video file;
Step S402:Perform screens switch operation;
Step S403:According to the facility information and institute of first video playing terminal and second video playing terminal Screens switch operation information is stated, determines that second video playing terminal plays the incision frame corresponding time of the video file Point;
Step S404:The video file is switched to second video playing terminal to continue to play.
It is preferable in the embodiment of the present invention, it is described whole according to first video playing terminal and second video playing The facility information at end and the screens switch operation information determine that second video playing terminal plays the video file The step of cutting frame corresponding time point, specifically includes following steps:
Recording status information, the status information include at least the video file in first video playing terminal most The new timestamp information for performing screens switch operation;
By the video file, generation is whole corresponding to first video playing terminal and second video playing offline The time static table at end;
According to the timestamp information and the time static table, the first video playing terminal described in same timestamp is obtained Time offset between second video playing terminal.
It is preferable in the embodiment of the present invention, it is described that the video file is switched into the second video playing terminal continuation The step of broadcasting, specifically includes following steps:
Code stream is pushed according to the time offset and enters second video playing terminal;
Second video playing terminal continues to play the video file.
It is preferable in the embodiment of the present invention, the step of the first video playing terminal playing video file before, also wrap Include following steps:
Log-on message of the user in first video playing terminal and/or second video playing terminal is stored, The log-on message includes user account information and password;
The facility information of first video playing terminal and second video playing terminal is stored, including equipment class Type, resolution ratio and/or code check;
The facility information for storing first video playing terminal and second video playing terminal is believed with the registration Correspondence between breath.
It is preferable in the embodiment of the present invention, media content processing step is further included, is specifically included:
Receive all media contents into system;
Generation is for the relative index file of different media formats.
In the embodiment of the present invention, resolver parses video, the time static table of plurality of devices is obtained, for example, can To include TV ends time static table, mobile phone terminal time static table and/or PC ends time static table etc..
The central server records status information, extraction include user account information, facility information, time point (synchronization Point) information and user be to the information of certain section of vision operation.
The time static table and the status information are inputted into decision device simultaneously, obtained corresponding in currently playing equipment Offset, determine the point of penetration of the code stream on current device.
For example, the process that mobile phone terminal is gone to from TV ends includes following operation:
Reading user account information, the breakpoint moment at TV ends, user are last to TV ends video from the central server Operation information, the facility information of mobile phone;
Obtain mobile phone terminal time static table and TV ends time static table, the offset under obtaining in the same time between the two;
Above-mentioned offset is conveyed to bit stream converter, the bit stream converter push code stream enters currently playing equipment.
An embodiment of the present invention provides a kind of methods for realizing video seamless switching between multi-screen, stab and regard by settling time The offset static mappings table of frequency file on different devices, the time needed during broadcasting, Yong Huke are changed with memory space Repeatedly to complete to watch some video with being intended on multiple screens continued access, cross screen playing realizes seamless switching.
Other contents are referring to the content in foregoing invention embodiment in the embodiment of the present invention, and details are not described herein.
The technique effect that the present invention can bring these beneficial:Video is seamless between realization multi-screen disclosed by the embodiments of the present invention The system and method for switching realizes the multimedia terminals such as computer, mobile phone, PAD in media content playing process, media content From a terminal screen to the seamless switching of another terminal screen, the convenience of user's access is improved, obtains the spirit of content Activity, user repeatedly can complete to watch some video with continued access is intended on multiple screens, and cross screen playing realizes seamless switching.
Various embodiments provided by the invention can be combined with each other in any way as needed, combine what is obtained by this Technical solution, it is also within the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (8)

1. a kind of system for realizing video seamless switching between multi-screen, it is characterised in that:Including the first video playing terminal and second Video playing terminal, screens switch server, the screens switch server can be with first video playing terminal and institutes The second video playing terminal two-way communication is stated, wherein,
First video playing terminal and the second video playing terminal include media player and display, and it is suitable for playing Video file, and screens switch operation, first video playing terminal can be carried out to the video file being currently played The video file can be switched to second video playing terminal to continue to play;
The screens switch server is suitable for detecting and recording first video playing terminal and second video playing The screens switch operation information of the facility information of terminal, first video playing terminal, according to the facility information and described Screens switch operation information determines that second video playing terminal plays the incision frame corresponding time of the video file Point;
The screens switch server include central server, resolver and decision device, the central server respectively with it is described First video playing terminal, the second video playing terminal are connected with the decision device, and the resolver regards respectively with described first Frequency playback terminal is connected with second video playing terminal, wherein,
The central server is suitable for recording status information, and the status information includes at least the video file described the The newest timestamp information for performing screens switch operation of one video playing terminal;
The resolver be suitable for by the video file offline generation corresponding to first video playing terminal and described the The time static table of two video playing terminals;
The decision device is suitable for according to the timestamp information and the time static table, obtains first described in same timestamp Time offset between video playing terminal and second video playing terminal.
2. the system of video seamless switching between realization multi-screen according to claim 1, it is characterised in that:Further include code stream Device, the bit stream converter connect the decision device, the time offset sent it is suitable for receiving the bit stream converter, according to institute It states time offset push code stream and enters second video playing terminal.
3. the system of video seamless switching between realization multi-screen according to claim 1 or 2, it is characterised in that:The center Server includes user information store, facility information memory, binding relationship memory and video playing information-storing device, In,
The user information store is suitable for storage user and is broadcast in first video playing terminal and/or second video The log-on message in terminal is put, the log-on message includes user account information and password;
The facility information memory is suitable for storing first video playing terminal and second video playing terminal Facility information, including device type, resolution ratio and/or code check;
The binding relationship memory is suitable for storing first video playing terminal and second video playing terminal Correspondence between facility information and the log-on message;
The video playing information-storing device is suitable for storing first video playing terminal and/or second video playing The screens switch operation information of terminal.
4. the system of video seamless switching between realization multi-screen according to claim 3, it is characterised in that:Further include video clothes Business device, the video server are whole with the resolver, first video playing terminal and second video playing respectively End connection, it is suitable for handling all media contents into system, generation is for the related rope of different media formats Quotation part.
5. a kind of method for realizing video seamless switching between multi-screen, includes the following steps:
First video playing terminal playing video file;
Perform screens switch operation;
According to first video playing terminal and the facility information of the second video playing terminal and screens switch operation letter Breath determines that second video playing terminal plays the incision frame corresponding time point of the video file;
The video file is switched to second video playing terminal to continue to play;
The facility information and the screen according to first video playing terminal and second video playing terminal is cut Operation information is changed, determines that second video playing terminal plays the step at the incision frame corresponding time point of the video file Suddenly, following steps are specifically included:
Recording status information, the status information include at least the video file and hold first video playing terminal is newest The timestamp information of row screens switch operation;
By the video file offline generation corresponding to first video playing terminal and second video playing terminal Time static table;
According to the timestamp information and the time static table, the first video playing terminal described in same timestamp and institute are obtained State the time offset between the second video playing terminal.
6. the method for video seamless switching between realization multi-screen according to claim 5, it is characterised in that:It is described to be regarded by described in The step of second video playing terminal that frequency file switches to continues to play, specifically includes following steps:
Code stream is pushed according to the time offset and enters second video playing terminal;
Second video playing terminal continues to play the video file.
7. the method for video seamless switching between realization multi-screen according to claim 5, it is characterised in that:First video It is further comprising the steps of before the step of playback terminal playing video file:
Log-on message of the user in first video playing terminal and/or second video playing terminal is stored, it is described Log-on message includes user account information and password;
The facility information of first video playing terminal and second video playing terminal is stored, including device type, is divided Resolution and/or code check;
Store first video playing terminal and second video playing terminal facility information and the log-on message it Between correspondence.
8. the method for video seamless switching between realization multi-screen according to claim 5, it is characterised in that:It further includes in media Hold processing step, specifically include:
Receive all media contents into system;
Generation is for the relative index file of different media formats.
CN201510719617.3A 2015-10-29 2015-10-29 A kind of system and method for realizing video seamless switching between multi-screen Active CN105354002B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510719617.3A CN105354002B (en) 2015-10-29 2015-10-29 A kind of system and method for realizing video seamless switching between multi-screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510719617.3A CN105354002B (en) 2015-10-29 2015-10-29 A kind of system and method for realizing video seamless switching between multi-screen

Publications (2)

Publication Number Publication Date
CN105354002A CN105354002A (en) 2016-02-24
CN105354002B true CN105354002B (en) 2018-06-19

Family

ID=55329979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510719617.3A Active CN105354002B (en) 2015-10-29 2015-10-29 A kind of system and method for realizing video seamless switching between multi-screen

Country Status (1)

Country Link
CN (1) CN105354002B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930123B (en) * 2016-04-29 2020-02-21 联想(北京)有限公司 Display adjusting method and electronic equipment
CN106028061B (en) * 2016-06-21 2019-05-24 天脉聚源(北京)传媒科技有限公司 A kind of method and device of Switch Video format in video playing
CN106375836A (en) * 2016-09-27 2017-02-01 广东小天才科技有限公司 Resolution switching method and device of video
US10701428B2 (en) 2017-02-24 2020-06-30 At&T Mobility Ii Llc System and method for switching video presentations between devices
CN107193480B (en) * 2017-06-01 2019-11-19 孙康 A kind of touch-control double screen interactive system and its control method
CN107357692B (en) * 2017-06-08 2020-11-13 中国铁道科学研究院电子计算技术研究所 Hot backup system and processing method for player
CN107613373B (en) * 2017-09-12 2019-07-30 中广热点云科技有限公司 A kind of method that multi-screen continuously watches TV programme
CN108132812A (en) * 2017-12-21 2018-06-08 维沃移动通信有限公司 A kind of method of data synchronization, mobile terminal and server
CN108449611B (en) * 2018-03-27 2020-09-29 洋浦盒子数码网络科技有限公司 Media transmission method and system
CN111510757A (en) * 2019-01-31 2020-08-07 华为技术有限公司 Method, device and system for sharing media data stream
CN112351412A (en) * 2019-08-06 2021-02-09 华为技术有限公司 Content connection method, system and electronic equipment
CN115396521A (en) * 2019-08-09 2022-11-25 华为技术有限公司 Method, device and system for switching communication protocol
CN115278328A (en) * 2022-06-20 2022-11-01 上海哔哩哔哩科技有限公司 Video cross-screen transmission system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196313A (en) * 2010-03-08 2011-09-21 华为技术有限公司 Method and device for continuous playing of cross-platform breakpoint as well as method and device for continuous playing of breakpoint
CN102510541A (en) * 2011-12-30 2012-06-20 Tcl数码科技(深圳)有限责任公司 Multi-screen interaction video and audio content switching method and media player
CN103116403A (en) * 2013-02-16 2013-05-22 广东欧珀移动通信有限公司 Screen switching method and mobile intelligent terminal
CN103793170A (en) * 2012-10-31 2014-05-14 Lg电子株式会社 Mobile terminal and control method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196313A (en) * 2010-03-08 2011-09-21 华为技术有限公司 Method and device for continuous playing of cross-platform breakpoint as well as method and device for continuous playing of breakpoint
CN102510541A (en) * 2011-12-30 2012-06-20 Tcl数码科技(深圳)有限责任公司 Multi-screen interaction video and audio content switching method and media player
CN103793170A (en) * 2012-10-31 2014-05-14 Lg电子株式会社 Mobile terminal and control method thereof
CN103116403A (en) * 2013-02-16 2013-05-22 广东欧珀移动通信有限公司 Screen switching method and mobile intelligent terminal

Also Published As

Publication number Publication date
CN105354002A (en) 2016-02-24

Similar Documents

Publication Publication Date Title
CN105338425B (en) A kind of system and method for realizing video seamless switching between multi-screen
CN105354002B (en) A kind of system and method for realizing video seamless switching between multi-screen
CN102891886B (en) Multi-screen interacting method and system based on cloud computing
CN101159577B (en) Apparatus for receiving adaptive broadcast signal and method thereof
CN102377823B (en) Method and system for realizing interactive sharing among multiple screens and multiple users by sliding screens
CN100433826C (en) Method and system for recording videoconference data
CA2884407C (en) System and method for broadcasting interactive content
US20090106288A1 (en) Method and system for supporting media data of various coding formats
US20100115575A1 (en) System and method for recording and distributing media content
US20070011710A1 (en) Interactive news gathering and media production control system
US20140344854A1 (en) Method and System for Displaying Speech to Text Converted Audio with Streaming Video Content Data
CN103067776A (en) Program-pushing method and system, intelligent display device, cloud server
CN101321268A (en) Personal media broadcasting system
CN101448134A (en) Broadcast receiver and method for receiving adaptive broadcast signal
Boronat et al. HbbTV-compliant platform for hybrid media delivery and synchronization on single-and multi-device scenarios
CN1980373A (en) Composition type interacting video-performance system
CN102131106A (en) Method, device and system for playing streaming media contents
WO2010051058A1 (en) System and method for recording and distributing media content
CN103096128A (en) Method capable of achieving video interaction, server, terminal and system
CN205230019U (en) System for realize video seamless handover between many screens
CN110324580A (en) A kind of monitor video playback method and device based on view networking
CN110113631A (en) A kind of video flowing sharing method and system
CN106572382A (en) Multi-screen interaction method and system and extensible messaging and presence protocol (XMPP) system
WO2008134979A1 (en) Video system and video playing mothed
CN101365124A (en) Method, system and set-top box for network television video play control

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20170930

Address after: 610000 Building 8, B District, 6, Jing Rong International Plaza, 200 Tianfu five street, Chengdu hi tech Zone, Sichuan

Applicant after: Sichuan miracle cloud Technology Co., Ltd.

Address before: 210000 Qinhuai City, Nanjing Province, the main street in the morning of the day on the morning of the 1865 Creative Park E-8 building, room 388, building, Room 202

Applicant before: NANJING QINSHE MINGSHI INFORMATION TECHNOLOGY CO., LTD.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant