CN112954417A - Method for realizing synchronous playing and seamless material switching of multiple terminal devices - Google Patents

Method for realizing synchronous playing and seamless material switching of multiple terminal devices Download PDF

Info

Publication number
CN112954417A
CN112954417A CN202110140282.5A CN202110140282A CN112954417A CN 112954417 A CN112954417 A CN 112954417A CN 202110140282 A CN202110140282 A CN 202110140282A CN 112954417 A CN112954417 A CN 112954417A
Authority
CN
China
Prior art keywords
time
playing
played
materials
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110140282.5A
Other languages
Chinese (zh)
Inventor
甘海洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hemai Technology Development Shenzhen Co ltd
Original Assignee
Hemai Technology Development Shenzhen 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 Hemai Technology Development Shenzhen Co ltd filed Critical Hemai Technology Development Shenzhen Co ltd
Priority to CN202110140282.5A priority Critical patent/CN112954417A/en
Publication of CN112954417A publication Critical patent/CN112954417A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • H04J3/0667Bidirectional timestamps, e.g. NTP or PTP for compensation of clock drift and for compensation of propagation delays
    • 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention relates to the technical field of multimedia information release, and discloses a method for realizing synchronous playing and seamless material switching of multi-terminal equipment, which comprises the following steps: the method comprises the steps of time synchronization of multiple terminal devices, calculating played time T5 of the current round according to current time T4, calculating the sequence of materials needing to be played currently of the terminal devices in a material list according to the played time T5 of the current round, calculating played time T6 of the materials needing to be played currently, calculating the remaining played time T7 of the current materials, starting a first player to play the materials by the terminal devices, starting playing at the time point of subtracting the played time T6 of the current materials from the played time of the current materials, playing the remaining time T7 of the materials, and calling a second player by a program to preload the next material content of the materials. The technical scheme of the invention can realize synchronous playing of multiple terminal devices, realize seamless switching playing among multiple materials, effectively eliminate the phenomenon of black screen and realize complete playing of program materials.

Description

Method for realizing synchronous playing and seamless material switching of multiple terminal devices
Technical Field
The invention relates to the technical field of multimedia information release, in particular to a method for realizing synchronous playing and seamless material switching of multi-terminal equipment.
Background
Under different application scenes in various industry fields, multiple terminal devices are required to play program contents consistently, however, the multiple terminal devices have the problem of picture asynchronism when playing the program contents, and the problems of screen blackness, incomplete playing and the like exist when switching and playing between program materials, and the main reasons are as follows:
1. the system time of each terminal device is different, and synchronous playing can not be carried out according to a uniform time point;
2. in the current terminal equipment playing mechanism, the terminal equipment starts playing from the first material after receiving the program material, and because the network downloading speeds of the terminal equipment are different, the receiving completion time of the terminal equipment is different, so that the terminal equipment is not played synchronously;
3. after the terminal equipment is restarted and the software is restarted, the terminal equipment plays the first material, and the first material and the other terminal equipment cannot be played synchronously all the time;
4. switching among a plurality of materials in a program, wherein a player needs a certain loading time when playing the current material and then loading the next material, and a display screen is displayed in a black screen state in the loading process of the player, so that when the materials are switched by terminal equipment, a discontinuous black screen phenomenon occurs, and the black screen time is long, so that the last seconds of actual video playing are switched to the next playing material, and finally the program materials are incompletely played;
therefore, a method for realizing seamless program switching and synchronous playing of multiple terminal devices is urgently needed to solve the above problems.
Disclosure of Invention
The invention mainly aims to provide a method for realizing synchronous playing and seamless switching of materials of multi-terminal equipment, aiming at realizing synchronous playing of the materials, seamless switching of the materials, elimination of black screens and realization of complete playing of the materials of the multi-terminal equipment.
In order to achieve the above object, the method for realizing synchronous playing and seamless material switching of multiple terminal devices provided by the present invention comprises the following steps:
the time of the multi-terminal equipment is synchronized, the multi-terminal equipment is connected with a network through a built-in NTP protocol to finish time calibration, and the time of the multi-terminal equipment is always consistent with the time of a server;
forming a material list by all materials to be played in sequence, wherein the material list adopts a circular playing mode, the playing time length of each material is T1, the total time length of one round of playing of the material list is T2, and the starting playing time of the material list is T3;
the terminal equipment is internally provided with a first player and a second player, the played time length T5 of the current round is calculated according to the current time T4, the sequence of the materials needing to be played currently of the terminal equipment in a material list is calculated according to the played time length T5 of the current round, the played time length T6 of the materials needing to be played currently is calculated, and the residual played time length T7 of the current materials is calculated;
the terminal equipment starts a first player to play the material, the time point of the playing time length of the current material minus the playing time length T6 of the current material is played, the residual time length T7 of the material is played, and meanwhile, a program calls a second player to preload the next material content of the material; and
after the first player plays the material content, the program starts the second player to play the next material content of the material, meanwhile, the first player preloads the next material content, seamless switching between the materials is realized by alternately starting the first player and the second player, the black screen is eliminated, and the complete playing of the material is realized.
Further, the multi-terminal time synchronization includes synchronization with a known time server and synchronization with any other terminal device.
Further, the playing time length of the current round is (current time T4-material list start playing time T3)% of the total time length of the program.
Further, the played time length T6 of the current material is the sum of the played time length T5 of the current round and the playing time length of the material before the current material.
Further, the remaining playing time length T7 of the current material is the playing time length of the current material-the played time length T6 of the current played material.
By adopting the technical scheme of the invention, the invention has the following beneficial effects: the technical scheme of the invention is that time calibration is carried out by each terminal device and a server to ensure that the time of each terminal device is consistent with the time of the server, then each terminal device accurately calculates the sequence of the materials to be played currently and the starting time point of the playing of the materials, thereby realizing that a plurality of terminal devices start to play the contents synchronously at any time point, by arranging double players at the terminal devices, when the current player plays the current materials, another player is started by a program to preload the next materials and enable the next materials to be in a standby state, after the current player plays the current materials, the player which finishes loading the materials is started by the program to play, the current player continues to load the next materials and is in the standby state, and the two players alternately preload the materials to work in turn, therefore, the phenomenon of screen blacking caused by waiting for the player to load the materials is effectively avoided, seamless switching playing among a plurality of materials is realized, the phenomenon of screen blacking is effectively eliminated, and the complete playing of the program materials is realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is an overall flowchart of a method for implementing synchronous playing and seamless material switching of multiple terminal devices according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that all the directional indicators (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indicator is changed accordingly.
In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
The invention provides a method for realizing synchronous playing and seamless material switching of multiple terminal devices.
As shown in fig. 1, in an embodiment of the present invention, the method for implementing synchronous playing and seamless material switching of multiple terminal devices includes the following steps:
s100: the time of the multi-terminal equipment is synchronized, the multi-terminal equipment is connected with a network through a built-in NTP protocol to finish time calibration, and the time of the multi-terminal equipment is always consistent with the time of a server;
s200: forming a material list by all materials to be played in sequence, wherein the material list adopts a circular playing mode, the playing time length of each material is T1, the total time length of one round of playing of the material list is T2, and the starting playing time of the material list is T3;
s300: the terminal equipment is internally provided with a first player and a second player, the played time length T5 of the current round is calculated according to the current time T4, the sequence of the materials needing to be played currently of the terminal equipment in a material list is calculated according to the played time length T5 of the current round, the played time length T6 of the materials needing to be played currently is calculated, and the residual played time length T7 of the current materials is calculated;
s400: the terminal equipment starts a first player to play the material, the time point of the playing time length of the current material minus the playing time length T6 of the current material is played, the residual time length T7 of the material is played, and meanwhile, a program calls a second player to preload the next material content of the material; and
s500: after the first player plays the material content, the program starts the second player to play the next material content of the material, meanwhile, the first player preloads the next material content, seamless switching between the materials is realized by alternately starting the first player and the second player, the black screen is eliminated, and the complete playing of the material is realized.
Specifically, the multi-terminal device time synchronization includes synchronization with a known time server and synchronization with any other terminal device.
Specifically, the played time length of the current round is (current time T4 — material list start playing time T3)% of the total time length of the program, and% is the remainder.
Specifically, the played time length T6 of the current material is the sum of the played time length T5 of the current round and the playing time length of the material before the current material.
Specifically, the remaining playing time length T7 of the current material is the playing time length of the current material-the played time length T6 of the current playing material.
Specifically, the technical scheme of the invention is that time calibration is carried out on each terminal device and a server to ensure that the time of each terminal device is consistent with the time of the server, then each terminal device accurately calculates the sequence of the materials to be played currently and the play starting time point of the materials, so as to realize that a plurality of terminal devices start to play the contents synchronously at any time point, double players are arranged on the terminal devices, when the current player plays the current materials, another player is started through a program to preload the next materials and enable the next materials to be in a standby state, after the current player plays the current materials, the player which finishes loading the materials is started through the program to play, the current player continues to load the next materials and is in the standby state, and the two players alternately preload the materials and work in turn, therefore, the phenomenon of screen blacking caused by waiting for the player to load the materials is effectively avoided, seamless switching playing among a plurality of materials is realized, the phenomenon of screen blacking is effectively eliminated, and the complete playing of the program materials is realized.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all modifications and equivalents of the present invention, which are made by the contents of the present specification and the accompanying drawings, or directly/indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (5)

1. A method for realizing synchronous playing and seamless material switching of multi-terminal equipment is characterized by comprising the following steps:
the time of the multi-terminal equipment is synchronized, the multi-terminal equipment is connected with a network through a built-in NTP protocol to finish time calibration, and the time of the multi-terminal equipment is always consistent with the time of a server;
forming a material list by all materials to be played in sequence, wherein the material list adopts a circular playing mode, the playing time length of each material is T1, the total time length of one round of playing of the material list is T2, and the starting playing time of the material list is T3;
the terminal equipment is internally provided with a first player and a second player, the played time length T5 of the current round is calculated according to the current time T4, the sequence of the materials needing to be played currently of the terminal equipment in a material list is calculated according to the played time length T5 of the current round, the played time length T6 of the materials needing to be played currently is calculated, and the residual played time length T7 of the current materials is calculated;
the terminal equipment starts a first player to play the material, the time point of the playing time length of the current material minus the playing time length T6 of the current material is played, the residual time length T7 of the material is played, and meanwhile, a program calls a second player to preload the next material content of the material; and
after the first player plays the material content, the program starts the second player to play the next material content of the material, meanwhile, the first player preloads the next material content, seamless switching between the materials is realized by alternately starting the first player and the second player, the black screen is eliminated, and the complete playing of the material is realized.
2. The method of claim 1, wherein the multi-terminal time synchronization comprises synchronization with a known time server and synchronization with any other terminal device.
3. The method as claimed in claim 1, wherein the playing time of the current round is (current time T4-material list start playing time T3)% of the total time of the program.
4. The method as claimed in claim 1, wherein the playing duration T6 of the current material is equal to the sum of the playing duration T5 of the current round and the playing duration of the material before the current material.
5. The method as claimed in claim 1, wherein the remaining playing time T7 is equal to the playing time T6.
CN202110140282.5A 2021-02-01 2021-02-01 Method for realizing synchronous playing and seamless material switching of multiple terminal devices Pending CN112954417A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110140282.5A CN112954417A (en) 2021-02-01 2021-02-01 Method for realizing synchronous playing and seamless material switching of multiple terminal devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110140282.5A CN112954417A (en) 2021-02-01 2021-02-01 Method for realizing synchronous playing and seamless material switching of multiple terminal devices

Publications (1)

Publication Number Publication Date
CN112954417A true CN112954417A (en) 2021-06-11

Family

ID=76241240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110140282.5A Pending CN112954417A (en) 2021-02-01 2021-02-01 Method for realizing synchronous playing and seamless material switching of multiple terminal devices

Country Status (1)

Country Link
CN (1) CN112954417A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113271489A (en) * 2021-06-15 2021-08-17 青岛聚看云科技有限公司 Method for automatically and alternately broadcasting materials and display equipment
CN116582708A (en) * 2023-07-07 2023-08-11 深圳创维智慧科技有限公司 Video playing method and device, electronic equipment and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006319A (en) * 2010-10-25 2011-04-06 同辉佳视(北京)信息技术有限公司 Method and system for synchronously playing Flash on multiple terminals
CN104581190A (en) * 2014-12-29 2015-04-29 上海智物信息技术有限公司 Multi-screen synchronization method and system
CN104581189A (en) * 2014-12-29 2015-04-29 上海智物信息技术有限公司 Multi-screen controlling method and system
CN109525878A (en) * 2017-09-19 2019-03-26 卡莱特(深圳)云科技有限公司 Playback method, playing device, computer equipment and computer readable storage medium
CN110784747A (en) * 2019-12-06 2020-02-11 成都新潮传媒集团有限公司 Synchronous playing method of advertisement player

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006319A (en) * 2010-10-25 2011-04-06 同辉佳视(北京)信息技术有限公司 Method and system for synchronously playing Flash on multiple terminals
CN104581190A (en) * 2014-12-29 2015-04-29 上海智物信息技术有限公司 Multi-screen synchronization method and system
CN104581189A (en) * 2014-12-29 2015-04-29 上海智物信息技术有限公司 Multi-screen controlling method and system
CN109525878A (en) * 2017-09-19 2019-03-26 卡莱特(深圳)云科技有限公司 Playback method, playing device, computer equipment and computer readable storage medium
CN110784747A (en) * 2019-12-06 2020-02-11 成都新潮传媒集团有限公司 Synchronous playing method of advertisement player

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113271489A (en) * 2021-06-15 2021-08-17 青岛聚看云科技有限公司 Method for automatically and alternately broadcasting materials and display equipment
CN116582708A (en) * 2023-07-07 2023-08-11 深圳创维智慧科技有限公司 Video playing method and device, electronic equipment and readable storage medium
CN116582708B (en) * 2023-07-07 2023-10-03 深圳创维智慧科技有限公司 Video playing method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN112954417A (en) Method for realizing synchronous playing and seamless material switching of multiple terminal devices
US20050272505A1 (en) Game proceeding synchronization system and program
US20240078638A1 (en) Image fusion method and apparatus, electronic device, and storage medium
CN110069227B (en) Data interaction display method and device
CN111314764B (en) Synchronization method of cross-screen animation in distributed rendering environment
CN111569436A (en) Processing method, device and equipment based on interaction in live broadcast fighting
CN114390308A (en) Interface display method, device, equipment, medium and product in live broadcast process
CN117499725A (en) Method, system and medium for providing dynamic media sessions
CN113660301A (en) Control method and device for automobile central control, automobile central control and storage medium
CN108874267B (en) Virtual reality application data processing method, computer device and storage medium
CN112546616B (en) Game skill processing method, system and device and electronic equipment
CN112218175A (en) Processing method and device for live broadcast room state and computing equipment
CN111970572B (en) Method for controlling video occlusion map on smart television
CN112738620A (en) Media resource screen projection method, equipment and system
CN111541531A (en) Double-end time delay alignment method and device, server and storage medium
CN107623872B (en) Startup playing method and device, readable storage medium and video playing device
CN113573114A (en) Screen projection method and device, electronic equipment and storage medium
CN111416994B (en) Method and device for synchronously presenting video stream and tracking information and electronic equipment
CN114866829A (en) Synchronous playing control method and device
CN112866740A (en) Live broadcast interaction method and device, electronic equipment and storage medium
CN108769565B (en) Automatic switching method of picture layout, server and local recording and broadcasting system
CN110650365A (en) Media file seamless switching playing method and system
CN114125516B (en) Video playing method, wearable device and storage medium
CN118175384A (en) Video playing method and device, electronic equipment and storage medium
CN106254651B (en) A kind of picture method for down loading and communication terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210611