IP Library › Granted Patent US 12,633,317
Granted Patent B2
US 12,633,317 · App. 18/712,266 · Granted May 19, 2026

Method and apparatus for synchronously playing video, and storage medium and electronic device

Inventor: Kaifan Wang (Beijing, CN)
Assignee: BOE TECHNOLOGY GROUP CO., LTD.
G11B27/10G11B27/036
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,633,317
App. No.
18/712,266
Granted
May 19, 2026
Kind
B2
Abstract

The present disclosure relates to a method and apparatus for synchronously playing a video, and a storage medium and an electronic device. The method includes: obtaining a first frame picture and a to-be-played video, wherein the first frame picture corresponds to an original video, and the to-be-played video is generated by splicing a beginning of a last frame video corresponding to the original video at an end of the original video; receiving a video playback instruction sent by a master playback device, creating a top picture layer, and rendering the first frame picture to the top picture layer; and when a playback time carried in the video playback instruction is reached, hiding the top picture layer, and synchronously playing the to-be-played video based on a time synchronization state with the master playback device.

Claims (46)

1 . A method for synchronously playing a video, performed by a slave playback device, comprising:

obtaining a first frame picture and a target video, wherein the first frame picture corresponds to an original video, and the target video is generated by splicing a beginning of a last frame video corresponding to the original video at an end of the original video;

receiving a video playback instruction sent by a master playback device, creating a top picture layer, and rendering the first frame picture to the top picture layer; and

when a playback time carried in the video playback instruction is reached, hiding the top picture layer, and synchronously playing the target video with the master playback device based on a time synchronization state with the master playback device.

2 . The method according to claim 1 , wherein the obtaining the first frame picture and the target video comprises:

obtaining the original video, and intercepting first frame video data and last frame video data from the original video, respectively;

converting the first frame video data and the last frame video data into the first frame picture and a last frame picture, respectively, and converting the last frame picture into the last frame video of a preset duration; and

splicing the beginning of the last frame video at the end of the original video to obtain the target video.

3 . The method according to claim 2 , wherein the method further comprises:

receiving a stop playback instruction sent by the master playback device, wherein the stop playback instruction is sent by the master playback device when a difference between a video duration of the target video and a current playback time is less than the preset duration; and

while stopping playback of the target video, displaying the top picture layer and the first frame picture rendered in the top picture layer.

4 . The method according to claim 1 , wherein the method further comprises:

determining a first reception time for receiving a first master-slave signal, and determining a second reception time for receiving a second master-slave signal, wherein the first master-slave signal and the second master-slave signal are sent by the master playback device to a slave playback device; and

performing calculation for the first reception time and the second reception time to obtain a correction time, and performing time correction for the slave playback device according to the correction time to make the slave playback device in the time synchronization state with the master playback device.

5 . The method according to claim 1 , wherein the creating the top picture layer and rendering the first frame picture to the top picture layer comprises:

obtaining a to-be-played task identity carried in the video playback instruction, and determining a preset playback task identity;

in response to determining that a preset playback task identity consistent with the to-be-played task identity exists, creating the top picture layer and rendering the first frame picture to the top picture layer; and

in response to determining that the preset playback task identity consistent with the to-be-played task identity does not exist, performing no video playback instruction.

6 . An electronic device, comprising:

a processor;

a memory, configured to store executable instructions for the processor;

wherein the processor is configured to perform the method for synchronously playing the video according to claim 1 by performing the executable instructions.

7 . A non-transitory computer readable storage medium having a computer program stored thereon which, when executed by a processor, implements the method for synchronously playing the video according to claim 1 .

8 . A method for synchronously playing a video, performed by a master playback device, comprising:

obtaining a first frame picture and a target video, wherein the first frame picture corresponds to an original video, and the target video is generated by splicing a beginning of a last frame video corresponding to the original video at an end of the original video;

sending a video playback instruction to a slave playback device, creating a top picture layer, and rendering the first frame picture to the top picture layer, wherein a playback time is carried in the video playback instruction; and

when the playback time is reached, hiding the top picture layer, and synchronously playing the target video with the slave playback device based on a time synchronization state with the slave playback device.

9 . The method according to claim 8 , wherein the method further comprises:

obtaining a video duration corresponding to the target video, and monitoring a current playback time of the target video; and

in response to determining that a difference between the current playback time and the video duration is less than a preset duration, sending a stop playback instruction to the slave playback device to make the slave playback device stop playing the target video while displaying the top picture layer and the first frame picture rendered in the top picture layer, wherein the preset duration is a duration of the last frame video.

10 . An electronic device, comprising:

a processor;

a memory, configured to store executable instructions for the processor;

wherein the processor is configured to perform the method for synchronously playing the video according to claim 8 by performing the executable instructions.

11 . A non-transitory computer readable storage medium having a computer program stored thereon which, when executed by a processor, implements the method for synchronously playing the video according to claim 8 .

12 . A system for synchronously playing a video, comprising a master playback device, a slave playback device and an Internet of Things platform, wherein:

the Internet of Things platform is configured to send an original video to the slave playback device and the master playback device;

the master playback device is configured to: obtain a first frame picture and a target video, wherein the first frame picture corresponds to the original video, and the target video is generated by splicing a beginning of a last frame video corresponding to the original video at an end of the original video; send a video playback instruction to the slave playback device, create a top picture layer, and render the first frame picture to the top picture layer, wherein a playback time is carried in the video playback instruction; and when the playback time is reached, hide the top picture layer, and synchronously play the target video with the slave playback device based on a time synchronization state with the slave playback device; and

the slave playback device is configured to: obtain the first frame picture and the target video; receive the video playback instruction sent by the master playback device, create the top picture layer, and render the first frame picture to the top picture layer; and when the playback time is reached, hide the top picture layer, and synchronously play the target video with the master playback device based on the time synchronization state with the master playback device.

13 . The system according to claim 12 , wherein the Internet of Things platform is further configured to send a synchronous playback task to the master playback device, wherein the synchronous playback task corresponds to the target video.

14 . The system according to claim 13 , wherein the master playback device is further configured to start a countdown timer corresponding to the synchronous playback task to send the video playback instruction to the slave playback device when countdown corresponding to the countdown timer ends.

15 . The system according to claim 12 , wherein the slave playback device is further configured to: receive the original video from the Internet of Things platform, and intercept first frame video data and last frame video data from the original video, respectively; convert the first frame video data and the last frame video data into the first frame picture and a last frame picture, respectively, and convert the last frame picture into the last frame video of a preset duration; and splice the beginning of the last frame video at the end of the original video to obtain the target video.

16 . The system according to claim 15 , wherein the slave playback device is further configured to: receive a stop playback instruction sent by the master playback device, wherein the stop playback instruction is sent by the master playback device when a difference between a video duration of the target video and a current playback time is less than the preset duration; and while stopping playback of the target video, display the top picture layer and the first frame picture rendered in the top picture layer.

17 . The system according to claim 12 , wherein the slave playback device is further configured to: determine a first reception time for receiving a first master-slave signal, and determine a second reception time for receiving a second master-slave signal, wherein the first master-slave signal and the second master-slave signal are sent by the master playback device to the slave playback device; and perform calculation for the first reception time and the second reception time to obtain a correction time, and perform time correction for the slave playback device according to the correction time to make the slave playback device in the time synchronization state with the master playback device.

18 . The system according to claim 12 , wherein the slave playback device is further configured to: obtain a to-be-played task identity carried in the video playback instruction, and determine a preset playback task identity; if a preset playback task identity consistent with the to-be-played task identity exists, create the top picture layer and render the first frame picture to the top picture layer; and if the preset playback task identity consistent with the to-be-played task identity does not exist, perform no video playback instruction.

19 . The system according to claim 12 , wherein the master playback device is further configured to: obtain a video duration corresponding to the target video, and monitor a current playback time of the target video; and if a difference between the current playback time and the video duration is less than a preset duration, send a stop playback instruction to the slave playback device to make the slave playback device stop playing the target video while displaying the top picture layer and the first frame picture rendered in the top picture layer, wherein the preset duration is a duration of the last frame video.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 22, 2024
From: WANG, KAIFAN
To: BOE TECHNOLOGY GROUP CO., LTD.
Reel/Frame 067487/0143 →
Priority Claims (1)
CN 202111582762.3 · Dec 22, 2021 · national
Continuity (1)
Related Publication 20250014612A1 · Jan 9, 2025
References Cited (11)
US 11051067B1 · Baxter et al. · 2021 [cited by applicant]
US 11599254B2 · Zhou · 2023 [cited by examiner]
US 20160342319A1 · Wang · 2016 [cited by examiner]
US 20200396498A1 · Wang · 2020 [cited by examiner]
CN 107509100A · 2017 [cited by applicant]
CN 108184158A · 2018 [cited by applicant]
CN 110166788A · 2019 [cited by applicant]
CN 111918129A · 2020 [cited by applicant]
KR 20120036848A · 2012 [cited by applicant]
International Search Report of PCT application No. PCT/CN2022/120051 dated Dec. 15, 2022. [cited by applicant]
Written Opinion of PCT application No. PCT/CN2022/120051 dated Dec. 15, 2022. [cited by applicant]