WO2022135133A1 - Vr playback synchronization method and apparatus, storage medium, and electronic device - Google Patents

Vr playback synchronization method and apparatus, storage medium, and electronic device Download PDF

Info

Publication number
WO2022135133A1
WO2022135133A1 PCT/CN2021/135864 CN2021135864W WO2022135133A1 WO 2022135133 A1 WO2022135133 A1 WO 2022135133A1 CN 2021135864 W CN2021135864 W CN 2021135864W WO 2022135133 A1 WO2022135133 A1 WO 2022135133A1
Authority
WO
WIPO (PCT)
Prior art keywords
top box
synchronization
playback
parameter information
information
Prior art date
Application number
PCT/CN2021/135864
Other languages
French (fr)
Chinese (zh)
Inventor
梁国柱
朱兴昌
张忠威
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2022135133A1 publication Critical patent/WO2022135133A1/en

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
    • 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
    • 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
    • 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

Definitions

  • the embodiments of the present application relate to the field of VR video playback, and in particular, to a synchronization method, device, storage medium, and electronic device for VR playback.
  • VR is the abbreviation of Virtual Reality (Virtual Reality) technology, and its basic implementation is to simulate a virtual environment through a computer to give people an immersive experience.
  • VR headsets are gradually gaining popularity.
  • the VR headset When users use VR headsets to watch VR movies or play VR games, usually only the wearer can see the picture, and there is a lack of interaction between multiple people.
  • the VR headset is synchronized with the large screen of the TV, which can satisfy the simultaneous viewing of multiple people.
  • the synchronization is realized by connecting the transmission between the terminal head-mounted display and the large screen through a wired connection, so as to realize the picture synchronization between the two.
  • the way of wired connection greatly limits the range of activities of the VR wearer, which is very inconvenient to use.
  • Embodiments of the present application provide a method, device, storage medium, and electronic device for synchronizing VR playback, so as to solve one of the related technical problems at least to a certain extent, including VR caused by VR synchronous playback through wired connection The problem of limited range of user activities.
  • a method for synchronizing VR playback comprising: a set-top box receiving a same-screen message sent by a VR device to perform VR synchronous playback between the set-top box and the VR device; The set-top box obtains corresponding media data from the media server according to the same-screen message and performs VR playback; the set-top box receives the synchronization parameter information sent by the VR device; the set-top box maintains the synchronization parameter information with the VR device according to the synchronization parameter information. Synchronization of the VR playback.
  • a method for synchronizing VR playback comprising: a VR device sending a same-screen message to a set-top box to perform VR synchronous playback between the VR device and the set-top box, so that The set-top box obtains the corresponding media data from the media server and performs VR playback; the synchronization parameter information sent by the VR device to the set-top box, so that the set-top box can maintain the synchronization parameter information with the VR device according to the synchronization parameter information. Synchronization of VR playback.
  • a synchronization device for VR playback is located in a set-top box, and the device includes: a first receiving module configured to receive a data sent by a VR device for displaying between the set-top box and the set-top box. The same-screen message for performing VR synchronous playback between the VR devices; the acquiring module is configured to acquire corresponding media data from the media server according to the same-screen message and perform VR playback; the second receiving module is configured to receive the Synchronization parameter information sent by the VR device; a synchronization module configured to maintain the synchronization of the VR playback with the VR device according to the synchronization parameter information.
  • a synchronization device for VR playback located in a VR device, the device includes: a first sending module configured to send to a set-top box to be displayed between the VR device and the set-top box The same-screen message for performing VR synchronous playback between the set-top boxes, so that the set-top box obtains corresponding media data from the media server and performs VR playback; the second sending module is set to the synchronization parameter information sent to the set-top box, so as to facilitate the said set-top box.
  • the set-top box maintains the synchronization of the VR playback with the VR device according to the synchronization parameter information.
  • a computer-readable storage medium is also provided, and a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute any one of the above methods when running steps in the examples.
  • an electronic device comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute any one of the above Steps in Method Examples.
  • FIG. 1 is a flowchart of a method for synchronizing VR playback according to an embodiment of the present application
  • FIG. 2 is a flowchart of a method for synchronizing VR playback according to another embodiment of the present application
  • FIG. 3 is a structural block diagram of a synchronization device for VR playback according to an embodiment of the present application
  • FIG. 4 is a structural block diagram of a synchronization device for VR playback according to another embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a system for synchronizing pictures between a VR head-mounted display and a set-top box according to an embodiment of the present application
  • FIG. 6 is a flowchart of screen synchronization between a VR head-mounted display and a set-top box according to an embodiment of the present application.
  • FIG. 1 is a flowchart of a method for synchronizing VR playback according to an embodiment of the present application. As shown in FIG. 1 , the process includes the following steps:
  • Step S102 the set-top box receives the same-screen message sent by the VR device to perform VR synchronous playback between the set-top box and the VR device;
  • Step S104 the set-top box obtains corresponding media data from the media server according to the on-screen message and performs VR playback;
  • Step S106 the set-top box receives the synchronization parameter information sent by the VR device
  • Step S108 the set-top box maintains the synchronization of the VR playback with the VR device according to the synchronization parameter information.
  • the method may further include: establishing a TCP connection between the set-top box and the VR device through DLNA or a transit server.
  • the synchronization parameter information may include at least one of the following: posture information of the VR device, position information of the VR device, and playback progress information.
  • step S108 of this embodiment the set-top box calculates a posture matrix according to the posture information of the VR device, and maintains posture synchronization with the VR device according to the posture matrix; the set-top box calculates the posture matrix according to the posture information of the VR device; The playback progress information is synchronized with the playback progress of the VR device.
  • the method may further include: the set-top box receives the synchronization parameter information updated by the VR device at a predetermined frequency, and when the difference between the playback progress of the set-top box and the VR device reaches a preset value, Re-synchronize the playback progress.
  • the method may further include: after the set-top box receives a message for ending the same screen sent by the VR device, exiting the synchronization of the VR playback.
  • FIG. 2 is a flowchart of a method for synchronizing VR playback according to an embodiment of the present application. As shown in FIG. 2 , the flowchart includes the following steps:
  • Step S202 the VR device sends the same-screen message to the set-top box to perform VR synchronous playback between the VR device and the set-top box, so that the set-top box obtains corresponding media data from the media server and performs VR playback;
  • Step S204 the VR device sends the synchronization parameter information to the set-top box, so that the set-top box can maintain the synchronization of the VR playback with the VR device according to the synchronization parameter information.
  • the method may further include: establishing a TCP connection between the VR device and the set-top box through DLNA or a transit server.
  • the synchronization parameter information includes at least one of the following: posture information of the VR device, position information of the VR device, and playback progress information.
  • the method may further include: the VR device sending an end same-screen message to the set-top box instructing the set-top box to quit the VR playback synchronization.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) execute the methods described in the various embodiments of this application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM
  • a synchronization device for VR playback is also provided, and the device is used to implement the above-mentioned embodiment and other implementation manners, and what has been described will not be repeated.
  • the term “module” or “unit” may be a combination of software and/or hardware that implements a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, implementations in hardware, or a combination of software and hardware, are also possible and contemplated.
  • FIG. 3 is a structural block diagram of a synchronization apparatus for VR playback according to an embodiment of the present application.
  • the synchronization device is located in the set-top box, which may be a functional component in the set-top box, or be co-located with the set-top box. As shown in Figure 3, the synchronization device includes:
  • the first receiving module 10 is configured to receive the same-screen message sent by the VR device to perform VR synchronous playback between the set-top box and the VR device;
  • the acquiring module 20 is configured to acquire corresponding media data from the media server according to the same-screen message and perform VR playback;
  • the second receiving module 30 is configured to receive the synchronization parameter information sent by the VR device;
  • the synchronization module 40 is configured to maintain the synchronization of the VR playback with the VR device according to the synchronization parameter information.
  • the synchronization parameter information includes at least one of the following: posture information of the VR device, position information of the VR device, and playback progress information.
  • the synchronization module 40 may further include: a first synchronization unit 41, configured to calculate an attitude matrix according to the attitude information of the VR device, and maintain attitude synchronization with the VR device according to the attitude matrix;
  • the second synchronization unit 42 is configured to keep the playback progress synchronized with the VR device according to the position information of the VR device and the playback progress information.
  • FIG. 4 is a structural block diagram of a synchronization apparatus for VR playback according to an embodiment of the present application.
  • the synchronization device is located in the VR device, and the synchronization device may be a functional component in the VR device.
  • the synchronization device includes:
  • the first sending module 50 is configured to send the same-screen message to the set-top box to perform VR synchronous playback between the VR device and the set-top box, so that the set-top box obtains corresponding media data from the media server and performs VR playback. ;
  • the second sending module 60 is configured to send synchronization parameter information to the set-top box, so that the set-top box can maintain the synchronization of the VR playback with the VR device according to the synchronization parameter information.
  • the above modules can be implemented by software or hardware, and the latter can be implemented in the following ways, but not limited to this: the above modules are all located in the same processor; or, the above modules can be combined in any combination The forms are located in different processors.
  • this embodiment provides a system and method for real-time synchronization of a VR head-mounted display and a set-top box.
  • a link is established between the VR head-mounted display and the set-top box through DLNA or a relay server. If the user performs the same-screen operation during the VR head-mounted display and the game, the same-screen command is sent to the set-top box, and the set-top box synchronously requests the media server. data flow.
  • the VR head-mounted display synchronizes the posture, position, playback status and other information to the set-top box in real time through DLNA or a transit server. After the set-top box performs corresponding analysis and conversion, it is set to the player or game application on the set-top box to maintain the screen synchronization.
  • FIG. 5 is a structural diagram of a system for real-time synchronization of images between a VR head-mounted display and a set-top box according to an embodiment of the present application. As shown in Figure 5, the system includes four parts: VR head display, set-top box, DLNA or transit server, and media server.
  • the VR head-mounted display terminal is responsible for VR playback and manipulation.
  • a TCP connection is established between the VR head display and the set-top box.
  • the VR head display obtains the media stream from the media server for VR video playback or games.
  • the same screen is sent through the established TCP link. message to the set-top box.
  • the VR head display synchronizes attitude and position information to the set-top box in real time through the above link. After the same screen is completed, the VR head display terminal will actively disconnect the above link or automatically disconnect the link after timeout.
  • the set-top box is responsible for receiving the real-time command of the screen of the VR head display terminal, parsing and responding to the execution, and outputting it to the large screen of the TV.
  • the set-top box establishes a TCP connection with the VR head-mounted display.
  • the set-top box When receiving the same-screen command, it actively requests the media server to pull the stream, and receives the attitude and position information sent by the VR head-mounted display terminal in real time.
  • the set-top box may be other functional devices, including smart TVs and the like.
  • the DLNA or the transit server is responsible for the communication between the VR head-mounted display and the set-top box, and transmits the real-time picture synchronization command from the head-mounted display to the set-top box.
  • a media server is responsible for media content storage and distribution, and provides media streams for downloading and playing by terminal devices.
  • FIG. 6 is a flowchart of the real-time synchronization of the screen of the VR head display and the set-top box according to an embodiment of the present application.
  • the real-time synchronization process of the screen of the VR head-mounted display and the set-top box may include the following steps:
  • Step S602 the set-top box terminal receives the DLNA broadcast and reports the device; the VR head-mounted display obtains a list of online set-top boxes and establishes a TCP link with the set-top box.
  • the VR head-mounted display and the set-top box are in the same local area network, it is realized by DLNA.
  • the VR head-mounted display and the set-top box are not in the local area network, Realized through a transit server;
  • Step S604 the VR head display terminal pulls the stream from the media server to play the VR video or play the game
  • step S606 when the VR terminal performs the same-screen operation, the same-screen message is sent to the set-top box through the established TCP link in step S602;
  • Step S608 after receiving the same-screen message, the set-top box requests media data from the media server, and performs VR video playback or game;
  • step S610 the VR head-mounted display sends the posture of the head-mounted display unidirectionally through the link established in step S602, and the position message is sent to the set-top box, and the posture information is described by Euler angles or quaternions;
  • Step S612 the set-top box calculates the attitude matrix after receiving the on-screen message
  • the corresponding rotation matrix is:
  • T final T VR-STB ⁇ T rot
  • the set-top box side can rotate according to T final and then The VR side maintains the posture synchronization, and the VR side needs to send the headset position and playback progress information synchronously, so that the video screen of the set-top box side can keep the progress synchronization;
  • the VR head display side needs to send attitude and position information at a sampling rate of, for example, 20 times or more per second, and when the playback progress is synchronized, in order to avoid multiple screen jumps, it is agreed that when When the playback progress difference between the VR terminal and the set-top box terminal reaches more than 2 seconds, the screen will be synchronized; when the VR terminal performs operations such as play, pause, time-shift, etc., it will synchronously send corresponding instructions to the set-top box terminal to ensure the screen synchronization;
  • Step S614 when it is necessary to end the same screen, the VR terminal sends an exit instruction to the set-top box, and the process ends.
  • Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.
  • the above-mentioned computer-readable storage medium may include, but is not limited to, a USB flash drive, a read-only memory (Read-Only Memory, referred to as ROM), a random access memory (Random Access Memory, referred to as RAM), mobile Various media that can store computer programs, such as hard disks, magnetic disks, or optical disks.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • Embodiments of the present application further provide an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above method embodiments.
  • the electronic device may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
  • a technical solution for realizing real-time screen synchronization between a VR head-mounted display and a set-top box in a near-field within a local area network or in a far-field between different networks is provided, allowing the wearer of the VR head-mounted display to Simultaneously experience the fun of watching VR videos with onlookers.
  • the set-top box can maintain the synchronization of the VR playback with the VR device according to the obtained synchronization parameter information, thereby solving the problem that the VR user's range of activities is limited. It enables VR users and bystanders to experience the viewing pleasure of VR videos simultaneously.
  • modules or steps of the present application can be implemented by a general-purpose computing device, and they can be centralized on a single computing device, or distributed in a network composed of multiple computing devices
  • they can be implemented in program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, can be performed in a different order than shown here.
  • the described steps, or they are respectively made into individual integrated circuit modules, or a plurality of modules or steps in them are made into a single integrated circuit module to realize.
  • the present application is not limited to any particular combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A VR playback synchronization method and apparatus, a storage medium and an electronic device. Said method comprises: a set-top box receiving a screen synchronization message sent by a VR device to perform VR synchronization playback between the set-top box and the VR device (S102); the set-top box acquiring corresponding media data from a media server according to the screen synchronization message, and performing VR playback (S104); the set-top box receiving synchronization parameter information sent by the VR device (S106); and the set-top box maintaining synchronization of the VR playback with the VR device according to the synchronization parameter information (S108).

Description

VR播放的同步方法、装置、存储介质及电子装置Synchronization method, device, storage medium and electronic device for VR playback
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请基于申请号为202011555793.5、申请日为2020年12月24日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with the application number of 202011555793.5 and the filing date of December 24, 2020, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is incorporated herein by reference.
技术领域technical field
本申请实施例涉及VR视频播放领域,具体而言,涉及一种VR播放的同步方法、装置、存储介质及电子装置。The embodiments of the present application relate to the field of VR video playback, and in particular, to a synchronization method, device, storage medium, and electronic device for VR playback.
背景技术Background technique
VR是虚拟现实(Virtual Reality)技术的简称,其基本实现方式是通过计算机模拟虚拟环境以给人沉浸式体验。随着5G时代的来临和VR技术逐步发展,VR头显逐渐得到普及。VR is the abbreviation of Virtual Reality (Virtual Reality) technology, and its basic implementation is to simulate a virtual environment through a computer to give people an immersive experience. With the advent of the 5G era and the gradual development of VR technology, VR headsets are gradually gaining popularity.
用户使用VR头显观看VR电影或进行VR游戏时,通常只有佩戴者可以看到画面,缺乏多人之间的互动。VR头显和电视机大屏画面进行同步,能满足多人之间同步观看。目前该同步的实现是通过有线连接的方式,通过缆线连接终端头显和大屏之间的传输,实现两者之间的画面同步。但是有线连接的方式,大大限制了VR佩戴者的活动范围,使用起来存在很大的不便。When users use VR headsets to watch VR movies or play VR games, usually only the wearer can see the picture, and there is a lack of interaction between multiple people. The VR headset is synchronized with the large screen of the TV, which can satisfy the simultaneous viewing of multiple people. At present, the synchronization is realized by connecting the transmission between the terminal head-mounted display and the large screen through a wired connection, so as to realize the picture synchronization between the two. However, the way of wired connection greatly limits the range of activities of the VR wearer, which is very inconvenient to use.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种VR播放的同步方法、装置、存储介质及电子装置,以至少在一定程度上解决相关的技术问题之一,包括在通过有线连接方式实现VR同步播放所导致的VR用户活动范围受限的问题。Embodiments of the present application provide a method, device, storage medium, and electronic device for synchronizing VR playback, so as to solve one of the related technical problems at least to a certain extent, including VR caused by VR synchronous playback through wired connection The problem of limited range of user activities.
根据本申请的一个实施例,提供了一种VR播放的同步方法,该方法包括:机顶盒接收VR设备发送的以在所述机顶盒和所述VR设备之间进行VR同步播放的同屏消息;所述机顶盒根据所述同屏消息从媒体服务器获取对应的媒体数据并进行VR播放;所述机顶盒接收所述VR设备发送的同步参数信息;所述机顶盒根据所述同步参数信息与所述VR设备保持所述VR播放的同步。According to an embodiment of the present application, a method for synchronizing VR playback is provided, the method comprising: a set-top box receiving a same-screen message sent by a VR device to perform VR synchronous playback between the set-top box and the VR device; The set-top box obtains corresponding media data from the media server according to the same-screen message and performs VR playback; the set-top box receives the synchronization parameter information sent by the VR device; the set-top box maintains the synchronization parameter information with the VR device according to the synchronization parameter information. Synchronization of the VR playback.
根据本申请的另一个实施例,提供了一种VR播放的同步方法,该方法包括:VR设备向机顶盒发送以在所述VR设备和所述机顶盒之间进行VR同步播放的同屏消息,以便于所述机顶盒从媒体服务器获取对应的媒体数据并进行VR播放;所述VR设备向所述机顶盒发送的同步参数信息,以便于所述机顶盒根据所述同步参数信息与所述VR设备保持所述VR播放的同步。According to another embodiment of the present application, a method for synchronizing VR playback is provided, the method comprising: a VR device sending a same-screen message to a set-top box to perform VR synchronous playback between the VR device and the set-top box, so that The set-top box obtains the corresponding media data from the media server and performs VR playback; the synchronization parameter information sent by the VR device to the set-top box, so that the set-top box can maintain the synchronization parameter information with the VR device according to the synchronization parameter information. Synchronization of VR playback.
根据本申请的又一个实施例,提供了一种VR播放的同步装置,该同步装置位于机顶盒中,该装置包括:第一接收模块,被设置成接收VR设备发送的以在所述机顶盒和所述VR设备之间进行VR同步播放的同屏消息;获取模块,被设置成根据所述同屏消息从媒体服务器获取对 应的媒体数据并进行VR播放;第二接收模块,被设置成接收所述VR设备发送的同步参数信息;同步模块,被设置成根据所述同步参数信息与所述VR设备保持所述VR播放的同步。According to yet another embodiment of the present application, a synchronization device for VR playback is provided, the synchronization device is located in a set-top box, and the device includes: a first receiving module configured to receive a data sent by a VR device for displaying between the set-top box and the set-top box. The same-screen message for performing VR synchronous playback between the VR devices; the acquiring module is configured to acquire corresponding media data from the media server according to the same-screen message and perform VR playback; the second receiving module is configured to receive the Synchronization parameter information sent by the VR device; a synchronization module configured to maintain the synchronization of the VR playback with the VR device according to the synchronization parameter information.
根据本申请的又一个实施例,提供了一种VR播放的同步装置,位于VR设备中,该装置包括:第一发送模块,被设置成向机顶盒发送以在所述VR设备和所述机顶盒之间进行VR同步播放的同屏消息,以便于所述机顶盒从媒体服务器获取对应的媒体数据并进行VR播放;第二发送模块,被设置成向所述机顶盒发送的同步参数信息,以便于所述机顶盒根据所述同步参数信息与所述VR设备保持所述VR播放的同步。According to yet another embodiment of the present application, there is provided a synchronization device for VR playback, located in a VR device, the device includes: a first sending module configured to send to a set-top box to be displayed between the VR device and the set-top box The same-screen message for performing VR synchronous playback between the set-top boxes, so that the set-top box obtains corresponding media data from the media server and performs VR playback; the second sending module is set to the synchronization parameter information sent to the set-top box, so as to facilitate the said set-top box. The set-top box maintains the synchronization of the VR playback with the VR device according to the synchronization parameter information.
根据本申请的又一个实施例,还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present application, a computer-readable storage medium is also provided, and a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute any one of the above methods when running steps in the examples.
根据本申请的又一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present application, an electronic device is also provided, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute any one of the above Steps in Method Examples.
附图说明Description of drawings
图1是根据本申请实施例的VR播放的同步方法的流程图;1 is a flowchart of a method for synchronizing VR playback according to an embodiment of the present application;
图2是根据本申请另一实施例的VR播放的同步方法的流程图;2 is a flowchart of a method for synchronizing VR playback according to another embodiment of the present application;
图3是根据本申请实施例的VR播放的同步装置的结构框图;3 is a structural block diagram of a synchronization device for VR playback according to an embodiment of the present application;
图4是根据本申请另一实施例的VR播放的同步装置的结构框图;4 is a structural block diagram of a synchronization device for VR playback according to another embodiment of the present application;
图5是根据本申请实施例的VR头显与机顶盒画面同步系统结构示意图;5 is a schematic structural diagram of a system for synchronizing pictures between a VR head-mounted display and a set-top box according to an embodiment of the present application;
图6是根据本申请实施例的VR头显与机顶盒画面同步流程图。FIG. 6 is a flowchart of screen synchronization between a VR head-mounted display and a set-top box according to an embodiment of the present application.
具体实施方式Detailed ways
下文中将参考附图并结合实施例来详细说明本申请的实施例。Hereinafter, the embodiments of the present application will be described in detail with reference to the accompanying drawings and in conjunction with the embodiments.
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first", "second", etc. in the description and claims of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence.
在本实施例中提供了一种VR播放的同步方法,图1是根据本申请实施例的VR播放的同步方法的流程图,如图1所示,该流程包括如下步骤:A method for synchronizing VR playback is provided in this embodiment. FIG. 1 is a flowchart of a method for synchronizing VR playback according to an embodiment of the present application. As shown in FIG. 1 , the process includes the following steps:
步骤S102,机顶盒接收VR设备发送的以在所述机顶盒和所述VR设备之间进行VR同步播放的同屏消息;Step S102, the set-top box receives the same-screen message sent by the VR device to perform VR synchronous playback between the set-top box and the VR device;
步骤S104,所述机顶盒根据所述同屏消息从媒体服务器获取对应的媒体数据并进行VR播放;Step S104, the set-top box obtains corresponding media data from the media server according to the on-screen message and performs VR playback;
步骤S106,所述机顶盒接收所述VR设备发送的同步参数信息;Step S106, the set-top box receives the synchronization parameter information sent by the VR device;
步骤S108,所述机顶盒根据所述同步参数信息与所述VR设备保持所述VR播放的同步。Step S108, the set-top box maintains the synchronization of the VR playback with the VR device according to the synchronization parameter information.
在本实施例的步骤S102之前,还可包括;所述机顶盒与所述VR设备之间通过DLNA或中转服务器建立TCP连接。Before step S102 in this embodiment, the method may further include: establishing a TCP connection between the set-top box and the VR device through DLNA or a transit server.
在本实施例中,所述同步参数信息至少可包括以下之一:所述VR设备的姿态信息、VR设备的位置信息、播放进度信息。In this embodiment, the synchronization parameter information may include at least one of the following: posture information of the VR device, position information of the VR device, and playback progress information.
在本实施例的步骤S108中,所述机顶盒根据VR设备的姿态信息计算姿态矩阵,并根据所述姿态矩阵与所述VR设备保持姿态同步;所述机顶盒根据所述VR设备的位置信息和所述播放进度信息与所述VR设备保持播放进度同步。In step S108 of this embodiment, the set-top box calculates a posture matrix according to the posture information of the VR device, and maintains posture synchronization with the VR device according to the posture matrix; the set-top box calculates the posture matrix according to the posture information of the VR device; The playback progress information is synchronized with the playback progress of the VR device.
在本实施例的步骤S108之后,还可包括:所述机顶盒以预定频率接收所述VR设备更新的同步参数信息,并在所述机顶盒和所述VR设备的播放进度差达到预设值时,重新进行播放进度同步。After step S108 in this embodiment, the method may further include: the set-top box receives the synchronization parameter information updated by the VR device at a predetermined frequency, and when the difference between the playback progress of the set-top box and the VR device reaches a preset value, Re-synchronize the playback progress.
在本实施例的步骤S108之后,还可包括:所述机顶盒在接收到所述VR设备发送的结束同屏消息后,退出所述VR播放的同步。After step S108 in this embodiment, the method may further include: after the set-top box receives a message for ending the same screen sent by the VR device, exiting the synchronization of the VR playback.
在本申请实施例中还提供了一种VR播放的同步方法。图2是根据本申请实施例的VR播放的同步方法的流程图,如图2所示,该流程包括如下步骤:An embodiment of the present application also provides a synchronization method for VR playback. FIG. 2 is a flowchart of a method for synchronizing VR playback according to an embodiment of the present application. As shown in FIG. 2 , the flowchart includes the following steps:
步骤S202,VR设备向机顶盒发送以在所述VR设备和所述机顶盒之间进行VR同步播放的同屏消息,以便于所述机顶盒从媒体服务器获取对应的媒体数据并进行VR播放;Step S202, the VR device sends the same-screen message to the set-top box to perform VR synchronous playback between the VR device and the set-top box, so that the set-top box obtains corresponding media data from the media server and performs VR playback;
步骤S204,所述VR设备向所述机顶盒发送的同步参数信息,以便于所述机顶盒根据所述同步参数信息与所述VR设备保持所述VR播放的同步。Step S204, the VR device sends the synchronization parameter information to the set-top box, so that the set-top box can maintain the synchronization of the VR playback with the VR device according to the synchronization parameter information.
在本实施例的步骤S202之前,还可包括;所述VR设备与所述机顶盒之间通过DLNA或中转服务器建立TCP连接。Before step S202 in this embodiment, the method may further include: establishing a TCP connection between the VR device and the set-top box through DLNA or a transit server.
在本实施例中,所述同步参数信息至少包括以下之一:所述VR设备的姿态信息、VR设备的位置信息、播放进度信息。In this embodiment, the synchronization parameter information includes at least one of the following: posture information of the VR device, position information of the VR device, and playback progress information.
在本实施例的步骤S204之后,还可包括:所述VR设备向所述机顶盒发送指示所述机顶盒退出所述VR播放同步的结束同屏消息。After step S204 in this embodiment, the method may further include: the VR device sending an end same-screen message to the set-top box instructing the set-top box to quit the VR playback synchronization.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) execute the methods described in the various embodiments of this application.
在本实施例中还提供了一种VR播放的同步装置,该装置用于实现上述实施例及其他实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”或“单元”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a synchronization device for VR playback is also provided, and the device is used to implement the above-mentioned embodiment and other implementation manners, and what has been described will not be repeated. As used below, the term "module" or "unit" may be a combination of software and/or hardware that implements a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, implementations in hardware, or a combination of software and hardware, are also possible and contemplated.
图3是根据本申请实施例的VR播放的同步装置的结构框图。该同步装置位于机顶盒中,其可以是机顶盒中的一个功能部件,或与机顶盒合设。如图3所示,该同步装置包括:FIG. 3 is a structural block diagram of a synchronization apparatus for VR playback according to an embodiment of the present application. The synchronization device is located in the set-top box, which may be a functional component in the set-top box, or be co-located with the set-top box. As shown in Figure 3, the synchronization device includes:
第一接收模块10,被设置成接收VR设备发送的以在所述机顶盒和所述VR设备之间进行VR同步播放的同屏消息;The first receiving module 10 is configured to receive the same-screen message sent by the VR device to perform VR synchronous playback between the set-top box and the VR device;
获取模块20,被设置成根据所述同屏消息从媒体服务器获取对应的媒体数据并进行VR播放;The acquiring module 20 is configured to acquire corresponding media data from the media server according to the same-screen message and perform VR playback;
第二接收模块30,被设置成接收所述VR设备发送的同步参数信息;The second receiving module 30 is configured to receive the synchronization parameter information sent by the VR device;
同步模块40,被设置成根据所述同步参数信息与所述VR设备保持所述VR播放的同步。The synchronization module 40 is configured to maintain the synchronization of the VR playback with the VR device according to the synchronization parameter information.
在本实施例中,所述同步参数信息至少包括以下之一:所述VR设备的姿态信息、VR设 备的位置信息、播放进度信息。In this embodiment, the synchronization parameter information includes at least one of the following: posture information of the VR device, position information of the VR device, and playback progress information.
在本实施例中,所述同步模块40还可包括:第一同步单元41,被设置成根据VR设备的姿态信息计算姿态矩阵,并根据所述姿态矩阵与所述VR设备保持姿态同步;第二同步单元42,被设置成根据所述VR设备的位置信息和所述播放进度信息与所述VR设备保持播放进度同步。In this embodiment, the synchronization module 40 may further include: a first synchronization unit 41, configured to calculate an attitude matrix according to the attitude information of the VR device, and maintain attitude synchronization with the VR device according to the attitude matrix; The second synchronization unit 42 is configured to keep the playback progress synchronized with the VR device according to the position information of the VR device and the playback progress information.
图4是根据本申请实施例的VR播放的同步装置的结构框图。该同步装置位于VR设备中,该同步装置可以是VR设备中的一个功能部件。如图4所示,该同步装置包括:FIG. 4 is a structural block diagram of a synchronization apparatus for VR playback according to an embodiment of the present application. The synchronization device is located in the VR device, and the synchronization device may be a functional component in the VR device. As shown in Figure 4, the synchronization device includes:
第一发送模块50,被设置成向机顶盒发送以在所述VR设备和所述机顶盒之间进行VR同步播放的同屏消息,以便于所述机顶盒从媒体服务器获取对应的媒体数据并进行VR播放;The first sending module 50 is configured to send the same-screen message to the set-top box to perform VR synchronous playback between the VR device and the set-top box, so that the set-top box obtains corresponding media data from the media server and performs VR playback. ;
第二发送模块60,被设置成向所述机顶盒发送的同步参数信息,以便于所述机顶盒根据所述同步参数信息与所述VR设备保持所述VR播放的同步。The second sending module 60 is configured to send synchronization parameter information to the set-top box, so that the set-top box can maintain the synchronization of the VR playback with the VR device according to the synchronization parameter information.
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that the above modules can be implemented by software or hardware, and the latter can be implemented in the following ways, but not limited to this: the above modules are all located in the same processor; or, the above modules can be combined in any combination The forms are located in different processors.
为了便于对本申请的理解,下面将结合具体的应用场景实施例对本申请进行详细描述。In order to facilitate the understanding of the present application, the present application will be described in detail below with reference to specific application scenario embodiments.
现有的有线方式实现VR画面实时同步无法满足用户需要,因此需要一种更加便捷、无线实现VR终端设备和机顶盒大屏画面同步的技术方案。The existing wired way to realize the real-time synchronization of VR pictures cannot meet the needs of users, so a more convenient and wireless technical solution for realizing the synchronization of the large-screen pictures of the VR terminal equipment and the set-top box is required.
为此,本实施例提供了一种VR头显和机顶盒画面实时同步的系统及方法。在本实施例中,VR头显与机顶盒之间通过DLNA或者中转服务器建立链接,VR头显播放、游戏过程中若用户执行同屏操作,发送同屏命令给机顶盒,由机顶盒同步向媒体服务器请求数据流。同时VR头显将姿态、位置、播放状态等信息通过DLNA或者中转服务器实时同步给机顶盒,机顶盒进行相应解析转换后,设置给机顶盒端的播放器或游戏应用,即可保持画面同步。To this end, this embodiment provides a system and method for real-time synchronization of a VR head-mounted display and a set-top box. In this embodiment, a link is established between the VR head-mounted display and the set-top box through DLNA or a relay server. If the user performs the same-screen operation during the VR head-mounted display and the game, the same-screen command is sent to the set-top box, and the set-top box synchronously requests the media server. data flow. At the same time, the VR head-mounted display synchronizes the posture, position, playback status and other information to the set-top box in real time through DLNA or a transit server. After the set-top box performs corresponding analysis and conversion, it is set to the player or game application on the set-top box to maintain the screen synchronization.
图5根据本申请实施例的VR头显与机顶盒画面实时同步系统结构图。如图5所示,该系统包括VR头显、机顶盒、DLNA或者中转服务器以及媒体服务器共四部分。FIG. 5 is a structural diagram of a system for real-time synchronization of images between a VR head-mounted display and a set-top box according to an embodiment of the present application. As shown in Figure 5, the system includes four parts: VR head display, set-top box, DLNA or transit server, and media server.
在本实施例中,VR头显端负责VR播放和操控。VR头显端与机顶盒端之间建立TCP连接,VR头显端从媒体服务器获取媒体流,进行VR视频播放或游戏,当VR头显端执行同屏操作时通过已建立的TCP链接发送同屏消息给机顶盒。VR头显通过上述链接实时同步姿态、位置信息给机顶盒。同屏完成后VR头显端主动断开上述链接或超时自动断开链接。In this embodiment, the VR head-mounted display terminal is responsible for VR playback and manipulation. A TCP connection is established between the VR head display and the set-top box. The VR head display obtains the media stream from the media server for VR video playback or games. When the VR head display performs the same screen operation, the same screen is sent through the established TCP link. message to the set-top box. The VR head display synchronizes attitude and position information to the set-top box in real time through the above link. After the same screen is completed, the VR head display terminal will actively disconnect the above link or automatically disconnect the link after timeout.
在本实施例中,机顶盒负责接收VR头显端的画面实时指令,解析和响应执行,并输出到电视机大屏。机顶盒端与VR头显建立TCP连接,当收到同屏命令时主动请求媒体服务器拉流,实时接收VR头显端发送的姿态和位置信息等。注意在本实施例中,机顶盒可以为其他职能设备,包括智能电视等。In this embodiment, the set-top box is responsible for receiving the real-time command of the screen of the VR head display terminal, parsing and responding to the execution, and outputting it to the large screen of the TV. The set-top box establishes a TCP connection with the VR head-mounted display. When receiving the same-screen command, it actively requests the media server to pull the stream, and receives the attitude and position information sent by the VR head-mounted display terminal in real time. Note that in this embodiment, the set-top box may be other functional devices, including smart TVs and the like.
在本实施例中,DLNA或者中转服务器,负责VR头显和机顶盒之间的通讯,将画面实时同步指令从头显传递到机顶盒。In this embodiment, the DLNA or the transit server is responsible for the communication between the VR head-mounted display and the set-top box, and transmits the real-time picture synchronization command from the head-mounted display to the set-top box.
在本实施例中,媒体服务器(CDN)负责媒体内容保存和分发,并提供媒体流共终端设备进行下载和播放。In this embodiment, a media server (CDN) is responsible for media content storage and distribution, and provides media streams for downloading and playing by terminal devices.
图6是根据本申请实施例的VR头显与机顶盒画面实时同步流程图,如图6所示,VR头显和机顶盒画面实时同步流程可包括如下步骤:FIG. 6 is a flowchart of the real-time synchronization of the screen of the VR head display and the set-top box according to an embodiment of the present application. As shown in FIG. 6 , the real-time synchronization process of the screen of the VR head-mounted display and the set-top box may include the following steps:
步骤S602,机顶盒端接收DLNA广播并上报设备;VR头显获取在线机顶盒列表并与机顶 盒建立TCP链接,当VR头显与机顶盒处于同一局域网时通过DLNA实现,当VR头显与机顶盒不在局域网内,通过中转服务器实现;Step S602, the set-top box terminal receives the DLNA broadcast and reports the device; the VR head-mounted display obtains a list of online set-top boxes and establishes a TCP link with the set-top box. When the VR head-mounted display and the set-top box are in the same local area network, it is realized by DLNA. When the VR head-mounted display and the set-top box are not in the local area network, Realized through a transit server;
步骤S604,VR头显端从媒体服务器拉流,进行VR视频播放或游戏;Step S604, the VR head display terminal pulls the stream from the media server to play the VR video or play the game;
步骤S606当VR端执行同屏操作时通过步骤S602已建立的TCP链接发送同屏消息给机顶盒;In step S606, when the VR terminal performs the same-screen operation, the same-screen message is sent to the set-top box through the established TCP link in step S602;
步骤S608,机顶盒接收到同屏消息后,向媒体服务器请求媒体数据,进行VR视频播放或游戏;Step S608, after receiving the same-screen message, the set-top box requests media data from the media server, and performs VR video playback or game;
步骤S610,VR头显通过步骤S602建立的链接单向发送头显姿态,位置消息给机顶盒,姿态信息采用欧拉角或四元数描述;In step S610, the VR head-mounted display sends the posture of the head-mounted display unidirectionally through the link established in step S602, and the position message is sent to the set-top box, and the posture information is described by Euler angles or quaternions;
步骤S612,机顶盒接收到同屏消息后计算姿态矩阵,Step S612, the set-top box calculates the attitude matrix after receiving the on-screen message,
当传递参数为四元数:q=[λ P 1 P 2 P 3]; When the passed parameter is a quaternion: q=[λ P 1 P 2 P 3 ];
对应旋转矩阵为:The corresponding rotation matrix is:
Figure PCTCN2021135864-appb-000001
Figure PCTCN2021135864-appb-000001
在本实施例中,当传递参数为欧拉角:e=[α,β,γ];VR头显的旋转顺序为外旋Z-X-Y,按照该顺序计算旋转矩阵:In this embodiment, when the passed parameter is Euler angle: e=[α, β, γ]; the rotation order of the VR headset is external rotation Z-X-Y, and the rotation matrix is calculated according to this order:
Figure PCTCN2021135864-appb-000002
Figure PCTCN2021135864-appb-000002
得到姿态旋转矩阵后,再根据VR头显至机顶盒坐标系旋转矩阵T VR-STB,得到最终的旋转矩阵:T final=T VR-STB·T rot,机顶盒侧依据T final进行旋转后即可与VR端保持姿态同步,同时VR端需要同步发送头显位置和播放进度信息,使机顶盒端视频画面保持进度同步; After obtaining the attitude rotation matrix, and then rotate the matrix T VR-STB according to the VR head-mounted display to the set-top box coordinate system to obtain the final rotation matrix: T final =T VR-STB ·T rot , the set-top box side can rotate according to T final and then The VR side maintains the posture synchronization, and the VR side needs to send the headset position and playback progress information synchronously, so that the video screen of the set-top box side can keep the progress synchronization;
在本实施例中,为保证同屏效果,VR头显侧需要以例如20次及以上每秒的采样速率发送姿态、位置信息,并且播放进度同步时,为避免画面多次跳转,约定当VR端和机顶盒端播放进度差达到2秒以上时画面进行同步;当VR端执行播放、暂停、时移等操作时,同步发送相应指令给机顶盒端以保证画面同步;In this embodiment, in order to ensure the same screen effect, the VR head display side needs to send attitude and position information at a sampling rate of, for example, 20 times or more per second, and when the playback progress is synchronized, in order to avoid multiple screen jumps, it is agreed that when When the playback progress difference between the VR terminal and the set-top box terminal reaches more than 2 seconds, the screen will be synchronized; when the VR terminal performs operations such as play, pause, time-shift, etc., it will synchronously send corresponding instructions to the set-top box terminal to ensure the screen synchronization;
步骤S614,当需要结束同屏时,VR端发送退出指令给机顶盒,流程结束。Step S614, when it is necessary to end the same screen, the VR terminal sends an exit instruction to the set-top box, and the process ends.
本申请的实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute the steps in any one of the above method embodiments when running.
在一个实施例中,上述计算机可读存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。In one embodiment, the above-mentioned computer-readable storage medium may include, but is not limited to, a USB flash drive, a read-only memory (Read-Only Memory, referred to as ROM), a random access memory (Random Access Memory, referred to as RAM), mobile Various media that can store computer programs, such as hard disks, magnetic disks, or optical disks.
本申请的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算 机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。Embodiments of the present application further provide an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any of the above method embodiments.
在一个实施例中,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。In one embodiment, the electronic device may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
本实施例中的具体示例可以参考上述实施例及其他实施方式中所描述的示例,本实施例在此不再赘述。For specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiment and other implementation manners, and details are not described herein again in this embodiment.
在本申请的上述实施例中,提供了一种可在局域网内近场或者不同网络间远场情况下,实现VR头显和机顶盒之间画面实时同步的技术方案,可让VR头显佩戴者和旁观者同步体验VR视频的观看乐趣。In the above-mentioned embodiments of the present application, a technical solution for realizing real-time screen synchronization between a VR head-mounted display and a set-top box in a near-field within a local area network or in a far-field between different networks is provided, allowing the wearer of the VR head-mounted display to Simultaneously experience the fun of watching VR videos with onlookers.
在本申请上述实施例,通过VR设备与机顶盒的信息交互,使得机顶盒可以根据所获取的同步参数信息保持与VR设备之间的VR播放的同步,从而解决了VR用户活动范围受限的问题,使得VR用户与旁观者可以同步体验VR视频的观看乐趣。In the above-mentioned embodiment of the present application, through the information interaction between the VR device and the set-top box, the set-top box can maintain the synchronization of the VR playback with the VR device according to the obtained synchronization parameter information, thereby solving the problem that the VR user's range of activities is limited. It enables VR users and bystanders to experience the viewing pleasure of VR videos simultaneously.
显然,本领域的技术人员应该明白,上述的本申请的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present application can be implemented by a general-purpose computing device, and they can be centralized on a single computing device, or distributed in a network composed of multiple computing devices On the other hand, they can be implemented in program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, can be performed in a different order than shown here. Or the described steps, or they are respectively made into individual integrated circuit modules, or a plurality of modules or steps in them are made into a single integrated circuit module to realize. As such, the present application is not limited to any particular combination of hardware and software.
以上所述仅为本申请的一些实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only some embodiments of the present application, and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the principles of this application shall be included within the protection scope of this application.

Claims (16)

  1. 一种VR播放的同步方法,包括:A synchronization method for VR playback, including:
    机顶盒接收VR设备发送的以在所述机顶盒和所述VR设备之间进行VR同步播放的同屏消息;The set-top box receives the same-screen message sent by the VR device to perform VR synchronous playback between the set-top box and the VR device;
    所述机顶盒根据所述同屏消息从媒体服务器获取对应的媒体数据并进行VR播放;The set-top box obtains corresponding media data from the media server according to the same-screen message and performs VR playback;
    所述机顶盒接收所述VR设备发送的同步参数信息;receiving, by the set-top box, synchronization parameter information sent by the VR device;
    所述机顶盒根据所述同步参数信息与所述VR设备保持所述VR播放的同步。The set-top box maintains the synchronization of the VR playback with the VR device according to the synchronization parameter information.
  2. 根据权利要求1所述的方法,其中,机顶盒接收VR设备发送的以在所述机顶盒和所述VR设备之间进行VR同步播放的同屏消息之前,还包括;The method according to claim 1, wherein before the set-top box receives the same-screen message sent by the VR device to perform VR synchronous playback between the set-top box and the VR device, the method further comprises:
    所述机顶盒与所述VR设备之间通过DLNA或中转服务器建立TCP连接。A TCP connection is established between the set-top box and the VR device through DLNA or a transit server.
  3. 根据权利要求1所述的方法,其中,所述同步参数信息至少包括以下之一:所述VR设备的姿态信息、VR设备的位置信息、播放进度信息。The method according to claim 1, wherein the synchronization parameter information includes at least one of the following: posture information of the VR device, position information of the VR device, and playback progress information.
  4. 根据权利要求3所述的方法,其中,所述机顶盒根据所述同步参数信息与所述VR设备保持所述VR播放的同步包括:The method according to claim 3, wherein maintaining the synchronization of the VR playback by the set-top box with the VR device according to the synchronization parameter information comprises:
    所述机顶盒根据VR设备的姿态信息计算姿态矩阵,并根据所述姿态矩阵与所述VR设备保持姿态同步;The set-top box calculates a posture matrix according to the posture information of the VR device, and maintains posture synchronization with the VR device according to the posture matrix;
    所述机顶盒根据所述VR设备的位置信息和所述播放进度信息与所述VR设备保持播放进度同步。The set-top box keeps the playback progress synchronized with the VR device according to the location information of the VR device and the playback progress information.
  5. 根据权利要求4所述的方法,其中,所述机顶盒根据所述同步参数信息与所述VR设备保持所述VR播放的同步之后,还包括:The method according to claim 4, wherein after the set-top box maintains the synchronization of the VR playback with the VR device according to the synchronization parameter information, the method further comprises:
    所述机顶盒以预定频率接收所述VR设备更新的同步参数信息,并在所述机顶盒和所述VR设备的播放进度差达到预设值时,重新进行播放进度同步。The set-top box receives the synchronization parameter information updated by the VR device at a predetermined frequency, and re-synchronizes the playback progress when the playback progress difference between the set-top box and the VR device reaches a preset value.
  6. 根据权利要求1所述的方法,其中,所述机顶盒根据所述同步参数信息与所述VR设备保持所述VR播放的同步之后,还包括:The method according to claim 1, wherein after the set-top box maintains the synchronization of the VR playback with the VR device according to the synchronization parameter information, the method further comprises:
    所述机顶盒在接收到所述VR设备发送的结束同屏消息后,退出所述VR播放的同步。The set-top box exits the synchronization of the VR playback after receiving the end of the same-screen message sent by the VR device.
  7. 一种VR播放的同步方法,包括:A synchronization method for VR playback, including:
    VR设备向机顶盒发送以在所述VR设备和所述机顶盒之间进行VR同步播放的同屏消息,以便于所述机顶盒从媒体服务器获取对应的媒体数据并进行VR播放;The VR device sends the same-screen message to the set-top box to perform VR synchronous playback between the VR device and the set-top box, so that the set-top box can obtain corresponding media data from the media server and perform VR playback;
    所述VR设备向所述机顶盒发送的同步参数信息,以便于所述机顶盒根据所述同步参数信息与所述VR设备保持所述VR播放的同步。The synchronization parameter information sent by the VR device to the set-top box, so that the set-top box can maintain the synchronization of the VR playback with the VR device according to the synchronization parameter information.
  8. 根据权利要求7所述的方法,其中,VR设备向机顶盒发送以在所述VR设备和所述机顶盒之间进行VR同步播放的同屏消息之前,还包括;The method according to claim 7, wherein before the VR device sends the same-screen message to the set-top box to perform VR synchronous playback between the VR device and the set-top box, the method further comprises:
    所述VR设备与所述机顶盒之间通过DLNA或中转服务器建立TCP连接。A TCP connection is established between the VR device and the set-top box through DLNA or a transit server.
  9. 根据权利要求7所述的方法,其中,所述同步参数信息至少包括以下之一:所述VR设备的姿态信息、VR设备的位置信息、播放进度信息。The method according to claim 7, wherein the synchronization parameter information includes at least one of the following: posture information of the VR device, position information of the VR device, and playback progress information.
  10. 根据权利要求7所述的方法,其中,在所述机顶盒与所述VR设备保持所述VR同步播放之后,还包括:The method according to claim 7, wherein after the set-top box and the VR device maintain the VR to play synchronously, the method further comprises:
    所述VR设备向所述机顶盒发送指示所述机顶盒退出所述VR播放同步的结束同屏消息。The VR device sends to the set-top box an end same-screen message instructing the set-top box to quit the VR playback synchronization.
  11. 一种VR播放的同步装置,位于机顶盒中,包括:A synchronization device for VR playback, located in a set-top box, comprising:
    第一接收模块,被设置成接收VR设备发送的以在所述机顶盒和所述VR设备之间进行VR同步播放的同屏消息;The first receiving module is configured to receive the same-screen message sent by the VR device to perform VR synchronous playback between the set-top box and the VR device;
    获取模块,被设置成根据所述同屏消息从媒体服务器获取对应的媒体数据并进行VR播放;an acquisition module, configured to acquire corresponding media data from the media server according to the same-screen message and perform VR playback;
    第二接收模块,被设置成接收所述VR设备发送的同步参数信息;The second receiving module is configured to receive the synchronization parameter information sent by the VR device;
    同步模块,被设置成根据所述同步参数信息与所述VR设备保持所述VR播放的同步。A synchronization module configured to maintain the synchronization of the VR playback with the VR device according to the synchronization parameter information.
  12. 根据权利要求11所述的同步装置,其中,所述同步参数信息至少包括以下之一:所述VR设备的姿态信息、VR设备的位置信息、播放进度信息。The synchronization apparatus according to claim 11, wherein the synchronization parameter information includes at least one of the following: posture information of the VR device, position information of the VR device, and playback progress information.
  13. 根据权利要求12所述的同步装置,其中,所述同步模块包括:The synchronization apparatus according to claim 12, wherein the synchronization module comprises:
    第一同步单元,被设置成根据VR设备的姿态信息计算姿态矩阵,并根据所述姿态矩阵与所述VR设备保持姿态同步;a first synchronization unit, configured to calculate a posture matrix according to the posture information of the VR device, and maintain posture synchronization with the VR device according to the posture matrix;
    第二同步单元,被设置成根据所述VR设备的位置信息和所述播放进度信息与所述VR设备保持播放进度同步。The second synchronization unit is configured to maintain the playback progress synchronization with the VR device according to the position information of the VR device and the playback progress information.
  14. 一种VR播放的同步装置,位于VR设备中,包括:A synchronization device for VR playback, located in a VR device, comprising:
    第一发送模块,被设置成向机顶盒发送以在所述VR设备和所述机顶盒之间进行VR同步播放的同屏消息,以便于所述机顶盒从媒体服务器获取对应的媒体数据并进行VR播放;The first sending module is configured to send the same-screen message to the set-top box to perform VR synchronous playback between the VR device and the set-top box, so that the set-top box obtains corresponding media data from the media server and performs VR playback;
    第二发送模块,被设置成向所述机顶盒发送的同步参数信息,以便于所述机顶盒根据所述同步参数信息与所述VR设备保持所述VR播放的同步。The second sending module is configured to send synchronization parameter information to the set-top box, so that the set-top box can maintain the synchronization of the VR playback with the VR device according to the synchronization parameter information.
  15. 一种计算机可读存储介质,存储有计算机程序,其中,所述计算机程序被处理器执行时实现所述权利要求1至10任一项中所述的方法的步骤。A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the method described in any one of claims 1 to 10.
  16. 一种电子装置,包括存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现所述权利要求1至10任一项中所述的方法的步骤。An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the claims 1 to 10 when executing the computer program The steps of the method of any one.
PCT/CN2021/135864 2020-12-24 2021-12-06 Vr playback synchronization method and apparatus, storage medium, and electronic device WO2022135133A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011555793.5A CN114679611A (en) 2020-12-24 2020-12-24 VR playing synchronization method and device, storage medium and electronic device
CN202011555793.5 2020-12-24

Publications (1)

Publication Number Publication Date
WO2022135133A1 true WO2022135133A1 (en) 2022-06-30

Family

ID=82070684

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/135864 WO2022135133A1 (en) 2020-12-24 2021-12-06 Vr playback synchronization method and apparatus, storage medium, and electronic device

Country Status (2)

Country Link
CN (1) CN114679611A (en)
WO (1) WO2022135133A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016209437A1 (en) * 2015-06-23 2016-12-29 Intel Corporation Facilitating media play and real-time interaction with smart physical objects
CN106803984A (en) * 2017-02-13 2017-06-06 福州瑞芯微电子股份有限公司 A kind of method and apparatus of compatible VR and TV functions
US20170318325A1 (en) * 2016-04-28 2017-11-02 Mesa Digital, Llc Wirelessly streaming venue-based data to client devices
CN108063971A (en) * 2017-12-25 2018-05-22 暴风集团股份有限公司 Multimedia playing apparatus and method
US10701426B1 (en) * 2014-07-28 2020-06-30 Verizon Patent And Licensing Inc. Virtual reality system including social graph
CN111510757A (en) * 2019-01-31 2020-08-07 华为技术有限公司 Method, device and system for sharing media data stream

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10701426B1 (en) * 2014-07-28 2020-06-30 Verizon Patent And Licensing Inc. Virtual reality system including social graph
WO2016209437A1 (en) * 2015-06-23 2016-12-29 Intel Corporation Facilitating media play and real-time interaction with smart physical objects
US20170318325A1 (en) * 2016-04-28 2017-11-02 Mesa Digital, Llc Wirelessly streaming venue-based data to client devices
CN106803984A (en) * 2017-02-13 2017-06-06 福州瑞芯微电子股份有限公司 A kind of method and apparatus of compatible VR and TV functions
CN108063971A (en) * 2017-12-25 2018-05-22 暴风集团股份有限公司 Multimedia playing apparatus and method
CN111510757A (en) * 2019-01-31 2020-08-07 华为技术有限公司 Method, device and system for sharing media data stream

Also Published As

Publication number Publication date
CN114679611A (en) 2022-06-28

Similar Documents

Publication Publication Date Title
US11794102B2 (en) Cloud-based game streaming
JP6724110B2 (en) Avatar display system in virtual space, avatar display method in virtual space, computer program
CN107029429B (en) System, method, and readable medium for implementing time-shifting tutoring for cloud gaming systems
WO2017193576A1 (en) Video resolution adaptation method and apparatus, and virtual reality terminal
KR101326739B1 (en) Information processing system and information processing device
US20140320529A1 (en) View steering in a combined virtual augmented reality system
Lelyveld Virtual reality primer with an emphasis on camera-captured VR
US11290573B2 (en) Method and apparatus for synchronizing viewing angles in virtual reality live streaming
WO2018000609A1 (en) Method for sharing 3d image in virtual reality system, and electronic device
JP6695482B1 (en) Control server, distribution system, control method and program
WO2019056904A1 (en) Video transmission method, server, vr playback terminal and computer-readable storage medium
US10289193B2 (en) Use of virtual-reality systems to provide an immersive on-demand content experience
WO2022033494A1 (en) Method, apparatus and system for controlling interactive live streaming co-hosting, device, and medium
WO2020207080A1 (en) Video capture method and apparatus, electronic device and storage medium
CN113542781B (en) Live broadcasting room game interaction method and related device
WO2022062643A1 (en) Game live broadcast interaction method and apparatus
CN107409237A (en) Adjusted for the cloud game data flowable state of output device and network quality
US20240196025A1 (en) Computer program, server device, terminal device, and method
WO2023143217A1 (en) Special effect prop display method, apparatus, device, and storage medium
KR20210084248A (en) Method and apparatus for providing a platform for transmitting vr contents
CN108769755A (en) High-resolution full view frequency live streaming camera system and method
KR101922968B1 (en) Live streaming method for virtual reality contents and system thereof
WO2024027611A1 (en) Video live streaming method and apparatus, electronic device and storage medium
JP2014220572A (en) Content distribution system, distribution device, reception terminal, distribution program, and reception program
WO2022135133A1 (en) Vr playback synchronization method and apparatus, storage medium, and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21909130

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15.11.2023)