[go: up one dir, main page]

CN117632063A - Display processing methods, devices, equipment and media based on virtual reality space - Google Patents

Display processing methods, devices, equipment and media based on virtual reality space Download PDF

Info

Publication number
CN117632063A
CN117632063A CN202210993897.7A CN202210993897A CN117632063A CN 117632063 A CN117632063 A CN 117632063A CN 202210993897 A CN202210993897 A CN 202210993897A CN 117632063 A CN117632063 A CN 117632063A
Authority
CN
China
Prior art keywords
layer
virtual reality
spatial location
reality space
display
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
CN202210993897.7A
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.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202210993897.7A priority Critical patent/CN117632063A/en
Priority to EP23854465.4A priority patent/EP4575748A1/en
Priority to PCT/CN2023/113360 priority patent/WO2024037565A1/en
Publication of CN117632063A publication Critical patent/CN117632063A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the disclosure relates to a display processing method, a device, equipment and a medium based on a virtual reality space, wherein the method comprises the following steps: in response to a user's operation to enter a virtual reality space, presenting virtual reality video information within a virtual screen in the virtual reality space; and, a plurality of layers are respectively displayed in a plurality of space position areas in the virtual reality space; wherein, each spatial position area is different from the display distance of the current watching position of the user and is positioned in front of the virtual screen. In the embodiment of the disclosure, the structural display of the related layers of the video between the virtual screen and the current viewing position of the user is realized, the depth information in the virtual reality space is fully utilized through the hierarchical arrangement of the distances between the layers and the current viewing position of the user, the three-dimensional display effect is realized, and the viewing experience of the user is promoted.

Description

基于虚拟现实空间的显示处理方法、装置、设备及介质Display processing methods, devices, equipment and media based on virtual reality space

技术领域Technical field

本公开涉及虚拟现实技术领域,尤其涉及一种基于虚拟现实空间的显示处理方法、装置、设备及介质。The present disclosure relates to the field of virtual reality technology, and in particular, to a display processing method, device, equipment and medium based on virtual reality space.

背景技术Background technique

虚拟现实(Virtual Reality,VR)技术,又称虚拟环境、灵境或人工环境,是指利用计算机生成一种可对参与者直接施加视觉、听觉和触觉感受,并允许其交互地观察和操作的虚拟世界的技术。Virtual Reality (VR) technology, also known as virtual environment, spiritual environment or artificial environment, refers to the use of computers to generate a virtual environment that directly exerts visual, auditory and tactile sensations on participants and allows them to observe and operate interactively. world technology.

相关技术中,可基于虚拟现实技术显示直播视频等,在显示视频的过程中,如何充分利用虚拟现实空间中的深度信息,以提升用户的交互体验为一种主流需求。In related technologies, live video can be displayed based on virtual reality technology. In the process of displaying videos, how to make full use of the depth information in the virtual reality space to improve the user's interactive experience is a mainstream demand.

发明内容Contents of the invention

为了解决上述技术问题或者至少部分地解决上述技术问题,本公开提供了一种基于虚拟现实空间的显示处理方法、装置、设备及介质,实现了在虚拟屏幕和用户当前观看位置之间对视频有关图层的结构化显示,通过图层与用户当前观看位置的距离的层级设置,充分利用了虚拟现实空间中的深度信息,实现了立体化的显示效果,有助于提升用户的观看体验。In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a display processing method, device, equipment and medium based on virtual reality space, which realizes video correlation between the virtual screen and the user's current viewing position. The structured display of layers makes full use of the depth information in the virtual reality space through the hierarchical setting of the distance between the layer and the user's current viewing position, achieving a three-dimensional display effect and helping to improve the user's viewing experience.

本公开实施例提供了一种基于虚拟现实空间的显示处理方法,所述方法包括以下步骤:响应于用户进入虚拟现实空间的操作,在所述虚拟现实空间中的虚拟屏幕内呈现虚拟现实视频信息;且,在所述虚拟现实空间中的多个空间位置区域分别显示多个图层;其中,各个所述空间位置区域与用户当前观看位置的显示距离不同,且位于所述虚拟屏幕前方。本公开实施例还提供了一种基于虚拟现实空间的显示处理装置,所述装置包括:显示处理模块,用于响应于用户进入虚拟现实空间的操作,在所述虚拟现实空间中的虚拟屏幕内呈现虚拟现实视频信息;且,在所述虚拟现实空间中的多个空间位置区域分别显示多个图层;其中,各个所述空间位置区域与用户当前观看位置的显示距离不同,且位于所述虚拟屏幕前方。Embodiments of the present disclosure provide a display processing method based on a virtual reality space. The method includes the following steps: in response to a user's operation of entering the virtual reality space, presenting virtual reality video information in a virtual screen in the virtual reality space. ; And, multiple layers are respectively displayed in multiple spatial location areas in the virtual reality space; wherein each of the spatial location areas has a different display distance from the user's current viewing position and is located in front of the virtual screen. Embodiments of the present disclosure also provide a display processing device based on the virtual reality space. The device includes: a display processing module, configured to respond to the user's operation of entering the virtual reality space, within the virtual screen in the virtual reality space. Present virtual reality video information; and display multiple layers respectively in multiple spatial location areas in the virtual reality space; wherein each of the spatial location areas has a different display distance from the user's current viewing position, and is located in the In front of the virtual screen.

本公开实施例还提供了一种电子设备,所述电子设备包括:处理器;用于存储所述处理器可执行指令的存储器;所述处理器,用于从所述存储器中读取所述可执行指令,并执行所述指令以实现如本公开实施例提供的基于虚拟现实空间的显示处理方法。An embodiment of the present disclosure also provides an electronic device. The electronic device includes: a processor; a memory used to store instructions executable by the processor; and the processor is used to read the instruction from the memory. The instructions can be executed and executed to implement the display processing method based on the virtual reality space as provided by the embodiments of the present disclosure.

本公开实施例还提供了一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序用于执行如本公开实施例提供的基于虚拟现实空间的显示处理方法。An embodiment of the present disclosure also provides a computer-readable storage medium, the storage medium stores a computer program, and the computer program is used to execute the display processing method based on the virtual reality space as provided by the embodiment of the present disclosure.

本公开实施例提供的技术方案与现有技术相比具有如下优点:Compared with the existing technology, the technical solution provided by the embodiments of the present disclosure has the following advantages:

本公开实施例提供的基于虚拟现实空间的显示处理方案,响应于用户进入虚拟现实空间的操作,在虚拟现实空间中的虚拟屏幕内呈现虚拟现实视频信息,且,在虚拟现实空间中的多个空间位置区域分别显示多个图层,其中,各个空间位置区域与用户当前观看位置的显示距离不同,且位于虚拟屏幕前方。由此,实现了在虚拟屏幕和用户当前观看位置之间对视频有关图层的结构化显示,通过图层与用户当前观看位置的距离的层级设置,充分利用了虚拟现实空间中的深度信息,实现了立体化的显示效果,有助于提升用户的观看体验。The display processing solution based on the virtual reality space provided by the embodiment of the present disclosure presents virtual reality video information on the virtual screen in the virtual reality space in response to the user's operation of entering the virtual reality space, and multiple The spatial location areas display multiple layers respectively, wherein each spatial location area is at a different display distance from the user's current viewing position and is located in front of the virtual screen. As a result, the structured display of video-related layers between the virtual screen and the user's current viewing position is realized. Through the hierarchical setting of the distance between the layer and the user's current viewing position, the depth information in the virtual reality space is fully utilized. A three-dimensional display effect is achieved, which helps improve the user's viewing experience.

附图说明Description of drawings

结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。The above and other features, advantages, and aspects of various embodiments of the present disclosure will become more apparent with reference to the following detailed description taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It is to be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.

图1为本公开实施例提供的一种虚拟现实设备的应用场景示意图;Figure 1 is a schematic diagram of an application scenario of a virtual reality device provided by an embodiment of the present disclosure;

图2为本公开实施例提供的一种基于虚拟现实空间的显示处理方法的流程示意图;Figure 2 is a schematic flowchart of a display processing method based on virtual reality space provided by an embodiment of the present disclosure;

图3为本公开实施例提供的一种基于虚拟现实空间的显示场景示意图;Figure 3 is a schematic diagram of a display scene based on virtual reality space provided by an embodiment of the present disclosure;

图4为本公开实施例提供的另一种基于虚拟现实空间的显示场景示意图;Figure 4 is a schematic diagram of another display scene based on virtual reality space provided by an embodiment of the present disclosure;

图5为本公开实施例提供的另一种基于虚拟现实空间的显示处理方法的流程示意图;Figure 5 is a schematic flowchart of another display processing method based on virtual reality space provided by an embodiment of the present disclosure;

图6为本公开实施例提供的另一种基于虚拟现实空间的显示场景示意图;Figure 6 is a schematic diagram of another display scene based on virtual reality space provided by an embodiment of the present disclosure;

图7为本公开实施例提供的另一种基于虚拟现实空间的显示场景示意图;Figure 7 is a schematic diagram of another display scene based on virtual reality space provided by an embodiment of the present disclosure;

图8为本公开实施例提供的另一种基于虚拟现实空间的显示场景示意图;Figure 8 is a schematic diagram of another display scene based on virtual reality space provided by an embodiment of the present disclosure;

图9为本公开实施例提供的另一种基于虚拟现实空间的显示场景示意图;Figure 9 is a schematic diagram of another display scene based on virtual reality space provided by an embodiment of the present disclosure;

图10A为本公开实施例提供的另一种基于虚拟现实空间的显示场景示意图;Figure 10A is a schematic diagram of another display scene based on virtual reality space provided by an embodiment of the present disclosure;

图10B为本公开实施例提供的另一种基于虚拟现实空间的显示场景示意图;Figure 10B is a schematic diagram of another display scene based on virtual reality space provided by an embodiment of the present disclosure;

图11为本公开实施例提供的另一种基于虚拟现实空间的显示场景示意图;Figure 11 is a schematic diagram of another display scene based on virtual reality space provided by an embodiment of the present disclosure;

图12为本公开实施例提供的一种基于虚拟现实空间的显示处理装置的结构示意图;Figure 12 is a schematic structural diagram of a display processing device based on virtual reality space provided by an embodiment of the present disclosure;

图13为本公开实施例提供的一种电子设备的结构示意图。FIG. 13 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, which rather are provided for A more thorough and complete understanding of this disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of the present disclosure.

应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that various steps described in the method implementations of the present disclosure may be executed in different orders and/or in parallel. Furthermore, method embodiments may include additional steps and/or omit performance of illustrated steps. The scope of the present disclosure is not limited in this regard.

本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。As used herein, the term "include" and its variations are open-ended, ie, "including but not limited to." The term "based on" means "based at least in part on." The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; and the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below.

需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。It should be noted that concepts such as “first” and “second” mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units. Or interdependence.

需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modifications of "one" and "plurality" mentioned in this disclosure are illustrative and not restrictive. Those skilled in the art will understand that unless the context clearly indicates otherwise, it should be understood as "one or Multiple”.

本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are for illustrative purposes only and are not used to limit the scope of these messages or information.

对本文中涉及到的一些技术概念或者名词概念进行相关说明:Explain some technical concepts or noun concepts involved in this article:

虚拟现实设备,实现虚拟现实效果的终端,通常可以提供为眼镜、头盔式显示器(Head Mount Display,HMD)、隐形眼镜的形态,以用于实现视觉感知和其他形式的感知,当然虚拟现实设备实现的形态不限于此,根据需要可以进一步小型化或大型化。Virtual reality equipment, a terminal that realizes virtual reality effects, can usually be provided in the form of glasses, helmet-mounted displays (HMD), and contact lenses to achieve visual perception and other forms of perception. Of course, virtual reality equipment realizes The form is not limited to this, and can be further miniaturized or enlarged as needed.

本公开实施例记载的虚拟现实设备可以包括但不限于如下几个类型:The virtual reality devices recorded in the embodiments of this disclosure may include but are not limited to the following types:

电脑端虚拟现实(PCVR)设备,利用PC端进行虚拟现实功能的相关计算以及数据输出,外接的电脑端虚拟现实设备利用PC端输出的数据实现虚拟现实的效果。Computer-side virtual reality (PCVR) equipment uses the PC side to perform calculations and data output related to virtual reality functions. The external computer-side virtual reality equipment uses the data output from the PC side to achieve virtual reality effects.

移动虚拟现实设备,支持以各种方式(如设置有专门的卡槽的头戴式显示器)设置移动终端(如智能手机),通过与移动终端有线或无线方式的连接,由移动终端进行虚拟现实功能的相关计算,并输出数据至移动虚拟现实设备,例如通过移动终端的APP观看虚拟现实视频信息。Mobile virtual reality equipment supports setting up a mobile terminal (such as a smartphone) in various ways (such as a head-mounted display with a special card slot), and through a wired or wireless connection with the mobile terminal, the mobile terminal performs virtual reality Function-related calculations and output data to mobile virtual reality devices, such as viewing virtual reality video information through an APP on a mobile terminal.

一体机虚拟现实设备,具备用于进行虚拟功能的相关计算的处理器,因而具备独立的虚拟现实输入和输出的功能,不需要与PC端或移动终端连接,使用自由度高。The all-in-one virtual reality device has a processor for performing calculations related to virtual functions, so it has independent virtual reality input and output functions. It does not need to be connected to a PC or mobile terminal, and has a high degree of freedom in use.

虚拟现实对象,虚拟场景中进行交互的对象,受到用户或机器人程序(例如,基于人工智能的机器人程序)的控制,能够在虚拟场景中静止、移动以及进行各种行为的对象,例如直播场景下的用户对应的虚拟人。Virtual reality objects, objects that interact in a virtual scene, are controlled by users or robot programs (for example, robot programs based on artificial intelligence), and can be still, move, and perform various behaviors in the virtual scene, such as in live broadcast scenarios. The virtual person corresponding to the user.

如图1所示,HMD为相对较轻的、在人体工程学上舒适的,并且提供具有低延迟的高分辨率内容。虚拟现实设备中设置有姿态检测的传感器(如九轴传感器),用于实时检测虚拟现实设备的姿态变化,如果用户佩戴了虚拟现实设备,那么当用户头部姿态发生变化时,会将头部的实时姿态传给处理器,以此计算用户的视线在虚拟环境中的注视点,根据注视点计算虚拟环境的三维模型中处于用户注视范围(即虚拟视场)的图像,并在显示屏上显示,使人仿佛在置身于现实环境中观看一样的沉浸式体验。As shown in Figure 1, HMDs are relatively lightweight, ergonomically comfortable, and provide high-resolution content with low latency. The virtual reality device is equipped with a posture detection sensor (such as a nine-axis sensor), which is used to detect posture changes of the virtual reality device in real time. If the user wears a virtual reality device, when the user's head posture changes, the head posture will be changed. The real-time posture is passed to the processor to calculate the gaze point of the user's line of sight in the virtual environment. Based on the gaze point, the image in the three-dimensional model of the virtual environment within the user's gaze range (i.e., the virtual field of view) is calculated and displayed on the display screen. display, giving people an immersive experience as if they were watching in a real environment.

本实施例中,当用户佩戴HMD设备并打开预定的应用程序时,如视频直播应用程序时,HMD设备会运行相应的虚拟场景,该虚拟场景可以是对真实世界的仿真环境,也可以是半仿真半虚构的虚拟场景,还可以是纯虚构的虚拟场景。虚拟场景可以是二维虚拟场景、2.5维虚拟场景或者三维虚拟场景中的任意一种,本申请实施例对虚拟场景的维度不加以限定。例如,虚拟场景可以包括人物、天空、陆地、海洋等,该陆地可以包括沙漠、城市等环境元素,用户可以控制虚拟对象在该虚拟场景中进行移动,还可以通过手柄设备等操控设备、裸手手势等方式来对虚拟场景中的控件、模型、展示内容、人物等等进行交互控制。In this embodiment, when the user wears the HMD device and opens a predetermined application, such as a live video application, the HMD device will run a corresponding virtual scene. The virtual scene can be a simulation environment of the real world or a semi-real-world simulation environment. Simulate a semi-fictional virtual scene or a purely fictitious virtual scene. The virtual scene may be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene. The embodiments of this application do not limit the dimensions of the virtual scene. For example, the virtual scene can include people, sky, land, ocean, etc. The land can include environmental elements such as deserts and cities. Users can control virtual objects to move in the virtual scene, and can also control devices through handle devices, bare hands, etc. Use gestures and other methods to interactively control controls, models, display content, characters, etc. in the virtual scene.

为了充分利用虚拟现实空间中的深度信息,提升用户观看视频时的交互体验,本公开实施例提供了一种基于虚拟现实空间的显示处理方法,下面结合具体的实施例对该方法进行介绍。In order to make full use of the depth information in the virtual reality space and improve the user's interactive experience when watching videos, embodiments of the present disclosure provide a display processing method based on the virtual reality space. This method is introduced below with reference to specific embodiments.

图2为本公开实施例提供的一种基于虚拟现实空间的显示处理方法的流程示意图,该方法可以由基于虚拟现实空间的显示处理装置执行,其中该装置可以采用软件和/或硬件实现,一般可集成在电子设备中。如图2所示,该方法包括以下步骤:Figure 2 is a schematic flowchart of a display processing method based on virtual reality space provided by an embodiment of the present disclosure. The method can be executed by a display processing device based on virtual reality space, where the device can be implemented using software and/or hardware. Generally, Can be integrated into electronic equipment. As shown in Figure 2, the method includes the following steps:

步骤201,响应于用户进入虚拟现实空间的操作,在虚拟现实空间中的虚拟屏幕内呈现虚拟现实视频信息;且,在虚拟现实空间中的多个空间位置区域分别显示多个图层;Step 201: In response to the user's operation of entering the virtual reality space, virtual reality video information is presented on the virtual screen in the virtual reality space; and, multiple layers are displayed in multiple spatial location areas in the virtual reality space;

其中,各个空间位置区域与用户当前观看位置的显示距离不同,且位于虚拟屏幕前方。Each spatial location area has a different display distance from the user's current viewing position and is located in front of the virtual screen.

在现实世界中,直播视频流在进行播放时,在视频界面显示各种各样的信息,比如,可能会显示弹幕信息、显示礼物信息等。在本公开的一个实施例中,充分利用虚拟现实空间中的深度信息,将不同的信息根据场景需求拆分在不同的图层中显示,以实现层级显示效果。In the real world, when a live video stream is played, various information is displayed on the video interface. For example, barrage information, gift information, etc. may be displayed. In one embodiment of the present disclosure, depth information in the virtual reality space is fully utilized, and different information is split and displayed in different layers according to scene requirements to achieve a hierarchical display effect.

在一些可能的实施例中,获取用户进入虚拟现实空间的操作,其中,该操作可以是检测到用户打开虚拟显示设备的开关操作等,进而,响应于用户进入虚拟现实空间的操作,在虚拟现实空间中的虚拟屏幕内呈现虚拟现实视频信息,其中,虚拟屏幕对应于在虚拟场景中预先搭建以显示有关视频的画布,在虚拟屏幕内呈现虚拟现实视频信息,比如,在虚拟屏幕内呈现直播视频或者是线上演唱会视频等。In some possible embodiments, the user's operation of entering the virtual reality space is obtained, where the operation may be detecting the user's switch operation of turning on the virtual display device, etc., and further, in response to the user's operation of entering the virtual reality space, in the virtual reality Virtual reality video information is presented in a virtual screen in the space, where the virtual screen corresponds to a canvas pre-built in the virtual scene to display relevant videos, and virtual reality video information is presented in the virtual screen, for example, a live video is presented in the virtual screen Or online concert videos, etc.

在本实施例中,在虚拟现实空间中的多个空间位置区域分别显示多个图层,其中,各个图层对应的空间位置区域与用户当前观看位置的显示距离不同,且位于虚拟屏幕前方,即在用户当前观看位置与虚拟屏幕之间错落显示多个图层以用于显示不同的图层信息,在视觉上呈现图层信息显示的立体感,其中,利用这种图层的层级结构可以将一些对场景中对用户的注意力需求高的图层信息显示在显示距离较近的空间位置区域,将一些对用户注意力的需求不高的其他图层信息显示在显示距离较远的空间位置区域中,充分利用虚拟现实空间中的深度信息,实现了对图层消息在显示维度上的“强化显示”和“弱化显示”等,提升用户的观看体验。In this embodiment, multiple layers are displayed in multiple spatial location areas in the virtual reality space. The spatial location areas corresponding to each layer are at different display distances from the user's current viewing position and are located in front of the virtual screen. That is, multiple layers are displayed staggered between the user's current viewing position and the virtual screen to display different layer information, visually presenting a three-dimensional sense of layer information display. Among them, using this hierarchical structure of layers can Display some layer information that requires high user attention in the scene in a spatial location area that is closer to the display distance, and display some other layer information that does not require high user attention in a space that is farther from the display distance. In the location area, the depth information in the virtual reality space is fully utilized to achieve "enhanced display" and "weakened display" of layer messages in the display dimension, improving the user's viewing experience.

需要说明的是,上述多个图层对应的各个空间位置区域之间在垂直轴上的垂直坐标值不同,实现用户视觉上的“远近”错落显示,另外,为了避免图层之间的显示遮挡,各个空间位置区域在水平坐标值上对应的坐标值可以不完全相同(即前后图层之间包含在X轴方向上不重叠的图层部分),即在水平方向上“错落”排布多个图层,或者是,各个空间位置区域在竖直坐标值上对应的坐标值可以不完全相同(即前后图层之间包含在Y轴方向上不重叠的图层部分),即在竖直方向上“错落”排布多个图层,或者,也可以同时在水平方向和竖直方向上“错落”排布多个图层等。It should be noted that the vertical coordinate values on the vertical axis between the various spatial location areas corresponding to the above-mentioned multiple layers are different to achieve the user's visual "far and near" staggered display. In addition, in order to avoid display occlusion between layers , the coordinate values corresponding to the horizontal coordinate values of each spatial location area may not be exactly the same (that is, the front and rear layers contain layer parts that do not overlap in the X-axis direction), that is, there are many "staggered" arrangements in the horizontal direction. layers, or the coordinate values corresponding to the vertical coordinate values of each spatial location area may not be exactly the same (that is, the front and rear layers contain layer parts that do not overlap in the Y-axis direction), that is, in the vertical Arrange multiple layers "staggered" in the direction, or you can also arrange multiple layers "staggered" in the horizontal and vertical directions at the same time, etc.

举例而言,如图3所示,当应用场景为直播视频流的播放场景,则在当前播放的虚拟视频帧的前方依次为对应的图层的空间位置显示区域,不同图层之间距离用户当前观看位置的显示距离不同,用户在虚拟现实空间中观看时,显示距离较近的图层显然距离用户的人眼较近,用户更容易注意到,比如,利用这种层级结构关系将一些操作界面类型的图层设置在最靠近用户人眼的位置,显然能够更加方便用户的操作等。For example, as shown in Figure 3, when the application scenario is the playback scenario of a live video stream, in front of the currently played virtual video frame are the spatial position display areas of the corresponding layers, and the distance between different layers is The display distance of the current viewing position is different. When the user watches in the virtual reality space, the layer with a closer display distance is obviously closer to the user's eyes, and the user is more likely to notice. For example, using this hierarchical structure relationship to combine some operations The interface type layer is set closest to the user's eyes, which obviously makes the user's operations more convenient.

继续参照图3,为了避免图层之间的前后遮挡,多个图层所对应的空间位置区域的水平坐标值不完全相同,且,多个图层所对应的空间位置区域的竖直坐标值不完全相同,从而,如图4所示,观看用户可以在虚拟屏幕前方看到多个图层上的图层消息。Continuing to refer to Figure 3, in order to avoid front and rear occlusion between layers, the horizontal coordinate values of the spatial location areas corresponding to multiple layers are not exactly the same, and the vertical coordinate values of the spatial location areas corresponding to multiple layers are not exactly the same. Not exactly the same, so, as shown in Figure 4, the viewing user can see layer messages on multiple layers in front of the virtual screen.

需要强调的是,这种图层之间的层级结构对于观看用户来说,仅仅对不同图层的注意敏感度不同,继续参照图4所示,在视觉上观看用户并不能直观的看到不同图层的目标显示位置之间的层级结构关系,只能感受到不同图层之间内容上的远近等,由于用户倾向于关注更靠近自己的信息,因此,提升了对最靠近用户的图层上信息的注意力。It should be emphasized that this hierarchical structure between layers only has different attention sensitivities to different layers for the viewing user. Continuing to refer to Figure 4, the viewing user cannot intuitively see the difference. The hierarchical structure relationship between the target display positions of the layers can only feel the distance of the content between different layers. Since users tend to focus on information closer to themselves, therefore, the layer closest to the user is improved. attention to information.

下面参照实施例描述,在一些可能的示例中,如何在虚拟现实空间中显示多个图层,如图5所示,在虚拟现实空间中的多个空间位置区域分别显示多个图层,包括:The following describes with reference to the embodiment, in some possible examples, how to display multiple layers in the virtual reality space. As shown in Figure 5, multiple layers are displayed in multiple spatial location areas in the virtual reality space, including :

步骤501,获取与虚拟现实视频信息对应的多个图层的图层类型。Step 501: Obtain the layer types of multiple layers corresponding to the virtual reality video information.

其中,虚拟现实视频信息是在虚拟现实空间中的虚拟场景中显示的视频流,包括但不限于直播视频流、演唱会视频流等。Among them, virtual reality video information is a video stream displayed in a virtual scene in a virtual reality space, including but not limited to live video streams, concert video streams, etc.

在本公开的一个实施例中,获取与虚拟现实视频信息对应的多个图层的图层类型,其中,图层类型可根据场景标定,包括但不限于操作用户界面图层、信息流显示图层、礼物显示图层、表情显示图层等中的多种,其中,每个图层类型下可包括至少一种子图层等,比如对于操作用户界面图层而言可包括操控版图层等,在此不再一一列举。In one embodiment of the present disclosure, layer types of multiple layers corresponding to virtual reality video information are obtained, where the layer types can be calibrated according to the scene, including but not limited to operation user interface layers, information flow display diagrams layer, gift display layer, expression display layer, etc., wherein each layer type can include at least one sub-layer, etc., for example, the operation user interface layer can include a control board layer, etc., I won’t list them all here.

步骤502,根据图层类型确定多个图层在虚拟现实空间中的多个空间位置区域。Step 502: Determine multiple spatial location areas of multiple layers in the virtual reality space according to the layer type.

在本公开的一个实施例中,根据图层类型确定多个图层在虚拟现实空间中的多个空间位置区域,各个空间位置区域与用户当前观看位置的显示距离不同,由此,在视觉上不同图层类型距离用户的远近不同,通常用户最先注意到距离其较近的图层上的内容,因此,可根据场景需要,利用上述图层之间的层级结构显示不用的信息,提升用户的观看体验。In one embodiment of the present disclosure, multiple spatial location areas of multiple layers in the virtual reality space are determined according to the layer type. Each spatial location area has a different display distance from the user's current viewing position. Therefore, visually, Different layer types are at different distances from the user. Usually, users notice the content on the layer that is closer to them first. Therefore, according to the needs of the scene, the hierarchical structure between the above layers can be used to display unnecessary information to enhance the user experience. viewing experience.

在一些可能的实施例中,可根据用户视线方向的变化信息调节图层的显示向量,使得图层上的有关信息始终面向用户显示。其中,用户视线变化信息包括用户视角的变化方向和变化角度等。In some possible embodiments, the display vector of the layer can be adjusted according to the change information of the user's sight direction, so that the relevant information on the layer is always displayed to the user. Among them, the user's sight change information includes the change direction and change angle of the user's perspective, etc.

举例而言,如图6所示,当检测到用户的视线方向由S1变化为的S2时,则控制多个图层A、B、C由正面S1的方向旋转到正面S2的方向,由此,实现了图层的显示空间位置区域的视线跟随效果。For example, as shown in Figure 6, when it is detected that the user's sight direction changes from S1 to S2, multiple layers A, B, and C are controlled to rotate from the direction of the front S1 to the direction of the front S2, thereby , realizing the line-of-sight following effect in the display space position area of the layer.

步骤503,根据空间位置区域对对应图层中的图层消息进行显示处理。Step 503: Display the layer message in the corresponding layer according to the spatial location area.

在本公开的一个实施例中,在确定空间位置区域后,对根据空间位置区域对对应图层中的图层消息进行显示处理,即在实际显示过程中,如图7所示,根据空间位置区域对不同的图层上的图层消息进行显示,即将图层消息显示在对应的图层的空间位置区域上即可,并不需要渲染出对应的图层(图中仅仅示出两个图层的图层消息的显示),由此,降低了图层之间的遮挡,提升了观看体验。其中,正如以上所提到的,为了进一步避免图层之间的前后遮挡,不同的图层的图层消息的显示位置可以“错开”显示,或者,不同的图层的空间位置区域可尽量“错开”,以降低前后图层之间的重叠部分区域等。In one embodiment of the present disclosure, after the spatial location area is determined, the layer messages in the corresponding layer are displayed according to the spatial location area. That is, during the actual display process, as shown in Figure 7, the layer messages in the corresponding layer are displayed according to the spatial location area. The area displays layer messages on different layers, that is, the layer messages are displayed on the spatial location area of the corresponding layer, and there is no need to render the corresponding layer (only two images are shown in the figure) display of layer messages), thereby reducing occlusion between layers and improving the viewing experience. Among them, as mentioned above, in order to further avoid front and rear occlusion between layers, the display positions of layer messages of different layers can be "staggered", or the spatial location areas of different layers can be "staggered" as much as possible. "Stagger" to reduce the overlap between the front and rear layers, etc.

需要说明的是,根据空间位置区域对对应图层中的图层消息进行显示处理时,只需要保证对应的图层消息在对应的空间位置区域内显示即可,显示方式以及显示内容等不作限制,可根据场景需要标定。It should be noted that when displaying layer messages in the corresponding layer according to the spatial location area, you only need to ensure that the corresponding layer message is displayed in the corresponding spatial location area. There are no restrictions on the display method and display content. , which can be calibrated according to scene needs.

在一些可能的实施例中,响应于获取到预设第一类型的第一图层消息,该第一类型的第一图层消息可以认为是可实时显示的消息,比比如,为用户发送的“礼物消息”等,在获取到第一图层消息后,确定与第一图层消息对应的第一图层。In some possible embodiments, in response to obtaining the first layer message of the preset first type, the first layer message of the first type may be considered as a message that can be displayed in real time, such as a message sent to the user. "Gift message", etc., after obtaining the first layer message, determine the first layer corresponding to the first layer message.

比如,可根据场景设定的评判指标确定第一图层消息的第一显示等级,获取可显示预设第一类型消息的每个图层的第二显示等级,确定与第一显示等级匹配的第二等级对应的图层为第一图层等,当然,在可选的其他方式中,也可采用其他方式来确定第一图层,在此不一一列举。For example, the first display level of the first layer message can be determined according to the evaluation index set by the scene, the second display level of each layer that can display the preset first type message can be obtained, and the first display level matching the first display level can be determined. The layer corresponding to the second level is the first layer, etc. Of course, in other optional methods, other methods can also be used to determine the first layer, which are not listed here.

进一步地,在第一图层对应的空间位置区域中显示第一图层消息,从而,充分利用虚拟现实空间中的深度信息对不同的图层消息进行显示位置的确定。Further, the first layer message is displayed in the spatial position area corresponding to the first layer, thereby fully utilizing the depth information in the virtual reality space to determine the display position of different layer messages.

其中,第一图层消息在第一图层对应的空间位置区域中的具体显示位置等可以是随机的,也可以是根据有关场景需要设置的等。Among them, the specific display position of the first layer message in the spatial location area corresponding to the first layer can be random, or can be set according to the needs of the relevant scene.

在一些可能的实施例中,响应于获取到预设第二类型的第二图层消息,其中,第二类型的第二图层消息可以为可不实时显示的图层消息,比如,在直播场景中,由于可能同时存在多个用户发送礼物消息的行为,因此,为了便于提升直播间的氛围感和使得用户直观的看到其发送的第二图层消息,通常将礼物消息以消息队列的形式显示,这种礼物消息即可看作第二类型的第二图层消息。In some possible embodiments, in response to obtaining a preset second type of second layer message, the second type of second layer message may be a layer message that cannot be displayed in real time, for example, in a live broadcast scene Since multiple users may send gift messages at the same time, in order to enhance the atmosphere of the live broadcast room and allow users to intuitively see the second layer messages they send, gift messages are usually sent in the form of a message queue. It is shown that this kind of gift message can be regarded as a second type of second layer message.

在本实施例中,将第二图层消息加入与第二图层消息对应的第二图层的图层消息队列,其中,图层队列中的图层消息按照在消息队列中的顺序在第二图层的空间位置区域显示。In this embodiment, the second layer message is added to the layer message queue of the second layer corresponding to the second layer message, where the layer messages in the layer queue are in the first layer in the order in the message queue. The spatial location area of the second layer is displayed.

在本实施例中,可以对消息队列中的图层消息进一步划分图层消息子类型,在第二图层的空间位置区域中确定与每个图层消息子类型对应的显示子区域,从而,在显示第二图层的图层消息队列中的图层消息时,根据图层消息的图层消息子类型,在第二图层的空间位置区域中对应的显示子区域显示对应的图层消息。即同一个图层类型下的图层消息可共用一个空间位置区域,避免层级结构较为复杂影响用户的观看体验。In this embodiment, the layer messages in the message queue can be further divided into layer message subtypes, and the display subregion corresponding to each layer message subtype is determined in the spatial location area of the second layer, thereby, When displaying the layer message in the layer message queue of the second layer, according to the layer message subtype of the layer message, the corresponding layer message is displayed in the corresponding display sub-area in the spatial location area of the second layer. . That is, layer messages under the same layer type can share a spatial location area to avoid a complex hierarchical structure that affects the user's viewing experience.

举例而言,当第二图层消息为礼物消息、第二图层为图层A时,如图8所示,可将礼物消息划分为半屏礼物消息子类型以及全屏消息子类型,其中,半屏礼物消息子类型对应的显示子区域为X的左半部分,全屏礼物消息子类型对应的显示子区域为X的全部,因此,当获取到当前消息队列中待显示的礼物消息为半屏礼物消息a时,则在X的左半部分确定a的显示位置,当获取到当前消息队列中待显示的礼物消息为全屏礼物消息b时,则在X上确定b的显示位置。For example, when the second layer message is a gift message and the second layer is layer A, as shown in Figure 8, the gift message can be divided into a half-screen gift message subtype and a full-screen message subtype, where, The display sub-area corresponding to the half-screen gift message subtype is the left half of X, and the display sub-area corresponding to the full-screen gift message subtype is the entirety of When the gift message is a, the display position of a is determined on the left half of X. When it is obtained that the gift message to be displayed in the current message queue is a full-screen gift message b, the display position of b is determined on X.

综上,本公开实施例的基于虚拟现实空间的显示处理方法,响应于用户进入虚拟现实空间的操作,在虚拟现实空间中的虚拟屏幕内呈现虚拟现实视频信息,且在虚拟现实空间中的多个空间位置区域分别显示多个图层,,其中,各个空间位置区域与用户当前观看位置的显示距离不同,且位于虚拟屏幕前方。由此,实现了在虚拟屏幕和用户当前观看位置之间对视频有关图层的结构化显示,通过图层与用户当前观看位置的距离的层级设置,充分利用了虚拟现实空间中的深度信息,实现了立体化的显示效果,有助于提升用户的观看体验。In summary, the display processing method based on the virtual reality space according to the embodiment of the present disclosure presents virtual reality video information on the virtual screen in the virtual reality space in response to the user's operation of entering the virtual reality space, and multiple objects in the virtual reality space Each spatial location area displays multiple layers respectively, wherein each spatial location area has a different display distance from the user's current viewing position and is located in front of the virtual screen. As a result, the structured display of video-related layers between the virtual screen and the user's current viewing position is realized. Through the hierarchical setting of the distance between the layer and the user's current viewing position, the depth information in the virtual reality space is fully utilized. A three-dimensional display effect is achieved, which helps improve the user's viewing experience.

基于上述实施例,为了充分利用虚拟显示空间中的深度信息,还可以基于场景需要确定每个图层的图层优先级,基于优先级的高低来确定不同图层的空间位置区域,按照场景中消息的重要性等指标,将需要用户注意力的程度将图层消息划分到不同的图层来显示,进一步提升了用户的观看体验。Based on the above embodiments, in order to make full use of the depth information in the virtual display space, the layer priority of each layer can also be determined based on the needs of the scene, and the spatial location areas of different layers can be determined based on the priority. Indicators such as the importance of the message will divide the layer messages into different layers for display based on the degree to which the user's attention is required, further improving the user's viewing experience.

在本公开的一个实施例中,根据图层类型确定多个图层在虚拟现实空间中的多个空间位置区域,包括:根据多个图层类型确定多个图层的优先级信息,进而,根据优先级信息确定多个图层在虚拟现实空间中的多个空间位置区域。In one embodiment of the present disclosure, determining multiple spatial location areas of multiple layers in the virtual reality space according to the layer type includes: determining priority information of multiple layers according to the multiple layer types, and further, Determine multiple spatial location areas of multiple layers in the virtual reality space based on priority information.

其中,优先级信息越高,则对应的图层中显示的图层消息越需要引起用户的注意力,因此,对应的目标空间区域与用户观看位置的距离越近。图层类型对应的优先级信息可根据场景需要标定,同样的图层类型在不同的场景中对应的优先级信息可能不同等。Among them, the higher the priority information, the more the layer messages displayed in the corresponding layer need to attract the user's attention. Therefore, the distance between the corresponding target space area and the user's viewing position is closer. The priority information corresponding to the layer type can be calibrated according to the needs of the scene. The same layer type may have different priority information in different scenes.

举例而言,当应用场景为虚拟现实空间中的直播场景时,如图9所示,若是多个图层对应的图层类型包括:操作用户界面图层(包括操控版图层)、信息流图层(包括公屏图层(用于显示评论信息等))、礼物显示图层(包括托盘图层(用于显示托盘礼物)、主客态礼物图层(图中为半屏礼物图层和全屏礼物图层,用于显示当前直播视频的任意观看用户发送的全屏礼物或者是半屏礼物等)、客态礼物图层(用于显示其他观看用户发送的飞行类礼物等、包括主态发射图层(用于显示当前观看用户发射的相关礼物等)、表情显示图层(包括主态发射图层(用于显示当前观看用户发射的相关表情等))、客态表情图层类型(用于显示其他观看用户发送的表情等)),则图中的多个图层类型的优先级信息为操控图层=公屏图层>主态发射图层>托盘图层>全屏礼物图层=半屏礼物图层>客态礼物图层>客态表情图层,多个图层对应的多个空间位置区域距离观看用户的显示距离不同,优先级越高的图层类型的空间位置区域越靠近观看用户,由此,由于操控图层最靠近当前观看用户,便于用户执行互动操作,且主态发射图层也距离当前观看用户较近,因此,便于当前观看用户最先注意到本人发送的有关信息。For example, when the application scene is a live broadcast scene in the virtual reality space, as shown in Figure 9, if there are multiple layers, the corresponding layer types include: operation user interface layer (including control board layer), information flow diagram Layers (including public screen layers (used to display comment information, etc.)), gift display layers (including tray layers (used to display tray gifts), host-guest gift layers (the picture shows half-screen gift layers and full-screen Gift layer, used to display full-screen gifts or half-screen gifts sent by any user watching the current live video, etc.), guest gift layer (used to display flying gifts sent by other viewing users, etc., including the main state emission map Layer (used to display related gifts emitted by the currently viewing user, etc.), expression display layer (including main state emitting layer (used to display related emoticons emitted by the currently viewing user, etc.)), guest emoticon layer type (used for To display expressions sent by other viewing users, etc.)), the priority information of multiple layer types in the picture is control layer = public screen layer > main emission layer > tray layer > full screen gift layer = half Screen gift layer > guest gift layer > guest expression layer, multiple spatial location areas corresponding to multiple layers are at different display distances from the viewing user. The higher the priority layer type, the closer the spatial location area is. Viewing user, therefore, since the control layer is closest to the current viewing user, it is convenient for the user to perform interactive operations, and the main emission layer is also closer to the current viewing user. Therefore, it is convenient for the current viewing user to be the first to notice the relevant information sent by him/her. information.

需要说明的是,在实际执行过程中,在不同的应用场景中,根据优先级信息确定多个图层在虚拟现实空间中的多个空间位置区域的方式不同,示例说明如下:It should be noted that during actual execution, in different application scenarios, the methods of determining multiple spatial location areas of multiple layers in the virtual reality space are different based on priority information. Examples are as follows:

在一些可能的实施例中,考虑到虚拟场景中的虚拟视频是相对固定显示在虚拟场景中的,因此,对应的图层的空间位置区域也相对固定设置,在预设数据库中存储不同优先级信息对应的空间位置区域,从而,根据优先级信息查询预设数据库,以获取与多个图层对应的多个空间位置区域。In some possible embodiments, considering that the virtual video in the virtual scene is relatively fixedly displayed in the virtual scene, the spatial position area of the corresponding layer is also relatively fixedly set, and different priorities are stored in the preset database. The spatial location area corresponding to the information, thereby querying the preset database according to the priority information to obtain multiple spatial location areas corresponding to multiple layers.

在一些可能的实施例中,考虑到对应的图层的设置视频显示位置的前方,因此,在本实施例中,确定虚拟现实视频信息在虚拟现实空间中的视频显示位置,该视频显示位置可以根据搭建好的显示视频的画布位置(即虚拟屏幕所在位置)确定,进而,以视频显示位置为起点,根据预设距离间隔和优先级信息由低到高的顺序向靠近用户当前观看位置的方向,逐个确定每个图层的空间位置区域,以确定多个图层的多个空间位置区域。其中,预设距离间隔可根据实验数据标定。In some possible embodiments, considering that the corresponding layer is set in front of the video display position, in this embodiment, the video display position of the virtual reality video information in the virtual reality space is determined, and the video display position can be It is determined based on the position of the canvas that has been built to display the video (that is, the position of the virtual screen), and then, starting from the video display position, based on the preset distance interval and priority information, in order from low to high, in the direction closer to the user's current viewing position. , determine the spatial location area of each layer one by one to determine multiple spatial location areas of multiple layers. Among them, the preset distance interval can be calibrated based on experimental data.

在本实施例中,如图10A所示,若是确定出虚拟现实视频信息在虚拟现实空间中的视频显示位置为P0,预设距离间隔为J1,多个图层按照优先级信息由高到低的顺序分别为L1、L2、L3、L4,则向靠近用户当前观看位置的方向,确定L4的空间位置区域位于P0之前的J1处P1,向靠近用户当前观看位置的方向,确定L3的空间位置区域位于P1之前的J1处P2,向靠近用户当前观看位置的方向,确定L2的空间位置区域位于P2之前的J1处P3,向靠近用户当前观看位置的方向,确定L1的空间位置区域位于P3之前的J1处P4。In this embodiment, as shown in Figure 10A, if it is determined that the video display position of the virtual reality video information in the virtual reality space is P0, the preset distance interval is J1, and multiple layers are arranged in order from high to low according to the priority information The order is L1, L2, L3, L4 respectively. Then in the direction close to the user's current viewing position, determine the spatial location of L4. The area is located at J1 before P0. P1. In the direction close to the user's current viewing position, determine the spatial location of L3. The area is located at J1 before P1 and P2, in the direction closer to the user's current viewing position, determines that the spatial location area of L2 is located at J1 before P2, P3, in the direction close to the user's current viewing position, determines that the spatial location area of L1 is in front of P3 J1 at P4.

在一些可能的实施例中,考虑到对应的图层的设置视频显示位置观看用户的用户视线方向,因此,在本实施例中,根据优先级信息确定最高优先级对应的目标图层,确定目标图层在虚拟现实空间中的空间位置区域,其中,目标图层在虚拟现实空间中的空间位置区域的确定方式在不同的应用场景中不同,在一些可能的实现方式中,可确定距离在用户视线方向距离用户当前观看位置预设距离阈值处为空间位置区域;在一些可能的实现方式中,可确定用户当前观看位置和虚拟现实视频信息在虚拟现实空间中的视频显示位置之间的总距离,以视频显示位置为起点,确定总距离的预设比例阈值处为空间位置区域,由此避免显示的图层距离观看用户过近,使得用户的观看视角范围内观看到的信息有限。In some possible embodiments, considering the setting of the video display position of the corresponding layer and the user's line of sight direction of the viewing user, in this embodiment, the target layer corresponding to the highest priority is determined according to the priority information, and the target is determined The spatial location area of the layer in the virtual reality space. The way to determine the spatial location area of the target layer in the virtual reality space is different in different application scenarios. In some possible implementations, the distance between the user and the target layer can be determined in different application scenarios. The preset distance threshold between the line of sight direction and the user's current viewing position is the spatial location area; in some possible implementations, the total distance between the user's current viewing position and the video display position of the virtual reality video information in the virtual reality space can be determined. , taking the video display position as the starting point, the preset proportion threshold of the total distance is determined as the spatial position area, thereby preventing the displayed layer from being too close to the viewing user, resulting in limited information within the user's viewing angle.

进一步地,在确定出目标图层的空间位置区域后,以空间位置区域为起点,根据预设距离间隔和优先级信息由高到低的顺序向远离用户当前观看位置的方向,逐个确定其他每个图层的空间位置区域,以确定多个图层的多个空间位置区域。其中,预设距离间隔可以和上述实施例中的预设距离间隔相同,也可以不同,具体可根据场景需要设置。Further, after determining the spatial location area of the target layer, taking the spatial location area as the starting point, and in order from high to low according to the preset distance interval and priority information, determine each other one by one in the direction away from the user's current viewing position. The spatial location area of a layer to determine multiple spatial location areas of multiple layers. The preset distance interval may be the same as the preset distance interval in the above embodiment, or may be different, and may be set according to scene requirements.

举例而言,在本实施例中,如图10B所示,预设距离间隔为J2,多个图层按照优先级信息由高到低的顺序分别为L1、L2、L3、L4,目标图层为L1,则确定用户当前观看位置为D,则向远离用户当前观看位置的方向,确定距离D为J3处Z1作为L1的空间位置区域,向远离用户当前观看位置的方向,确定L2的空间位置区域位于Z1之前的J2处Z2,向远离用户当前观看位置的方向,确定L3的空间位置区域位于Z2之前的J2处Z3,向远离用户当前观看位置的方向,确定L4的空间位置区域位于Z3之前的J2处Z4。For example, in this embodiment, as shown in Figure 10B, the preset distance interval is J2, the multiple layers are L1, L2, L3, and L4 in order of priority information from high to low, and the target layer is L1, then determine the user's current viewing position as D, then determine the distance D to J3 in the direction away from the user's current viewing position as the spatial location area of L1, and determine the spatial location of L2 in the direction away from the user's current viewing position. The area is located at J2 before Z1. Z2, in the direction away from the user's current viewing position, determines that the spatial location area of L3 is located at J2 before Z2. Z3, in the direction away from the user's current viewing position, determines that the spatial location area of L4 is in front of Z3. J2 at Z4.

需要说明的是,上述实施例中提到的空间位置区域对应的位置范围可根据空间位置区域的形状等来确定,同一个图层对应的空间位置区域可以是连续的,也可以是如上述图9所示的分开为多个模块,在一些可能的实施例中,考虑到虚拟现实空间的空间特点,如图11所示,每个图层为圆弧形区域(图中的非阴影区域),圆弧形区域位于观看用户的视场角范围内,每个图层对应的空间位置区域位于对应的圆弧形区域上(图中示出两个图层),每个图层对应的圆弧形区域的圆心位置位于用户当前观看位置对应的用户视线方向上,从而,观看用户在观看时的观看立体感更强。It should be noted that the location range corresponding to the spatial location area mentioned in the above embodiment can be determined according to the shape of the spatial location area, etc. The spatial location area corresponding to the same layer can be continuous, or it can be as shown in the above figure. 9 is divided into multiple modules. In some possible embodiments, considering the spatial characteristics of the virtual reality space, as shown in Figure 11, each layer is an arc-shaped area (non-shaded area in the figure) , the arc-shaped area is located within the viewing angle range of the viewing user, the spatial position area corresponding to each layer is located on the corresponding arc-shaped area (two layers are shown in the figure), and the circle corresponding to each layer The center position of the arc-shaped area is located in the direction of the user's line of sight corresponding to the user's current viewing position, so that the viewing user has a stronger three-dimensional viewing experience.

综上,本公开实施例的基于虚拟现实空间的显示处理方法,基于图层的优先级信息来确定图层的空间位置区域,不同图层的空间位置区域与用户当前观看位置的显示距离不同,通过结构化的图层设置,满足了对不同图层信息的层级显示,充分利用了虚拟现实空间中的深度信息,实现了立体化的显示效果。In summary, the display processing method based on the virtual reality space of the embodiment of the present disclosure determines the spatial location area of the layer based on the priority information of the layer. The spatial location area of different layers has different display distances from the user's current viewing position. Through structured layer settings, the hierarchical display of different layer information is satisfied, the depth information in the virtual reality space is fully utilized, and a three-dimensional display effect is achieved.

为了实现上述实施例,本公开还提出了一种基于虚拟现实空间的显示处理装置。In order to implement the above embodiments, the present disclosure also proposes a display processing device based on virtual reality space.

图12为本公开实施例提供的一种基于虚拟现实空间的显示处理装置的结构示意图,该装置可由软件和/或硬件实现,一般可集成在电子设备中进行基于虚拟现实空间的显示处理。如图12所示,该装置包括:显示处理模块1210,其中,Figure 12 is a schematic structural diagram of a display processing device based on virtual reality space provided by an embodiment of the present disclosure. The device can be implemented by software and/or hardware, and generally can be integrated in an electronic device to perform display processing based on virtual reality space. As shown in Figure 12, the device includes: a display processing module 1210, wherein,

显示处理模块1210,用于响应于用户进入虚拟现实空间的操作,在虚拟现实空间中的虚拟屏幕内呈现虚拟现实视频信息;且,在虚拟现实空间中的多个空间位置区域分别显示多个图层;The display processing module 1210 is configured to present virtual reality video information on a virtual screen in the virtual reality space in response to the user's operation of entering the virtual reality space; and to display multiple images in multiple spatial location areas in the virtual reality space. layer;

其中,各个空间位置区域与用户当前观看位置的显示距离不同,且位于虚拟屏幕前方。Each spatial location area has a different display distance from the user's current viewing position and is located in front of the virtual screen.

本公开实施例所提供的基于虚拟现实空间的显示处理装置可执行本公开任意实施例所提供的基于虚拟现实空间的显示处理方法,具备执行方法相应的功能模块和有益效果,其实现原理类似,在此不再赘述。The virtual reality space-based display processing device provided by the embodiments of the present disclosure can execute the virtual reality space-based display processing method provided by any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects of the execution method. Its implementation principles are similar. I won’t go into details here.

为了实现上述实施例,本公开还提出一种计算机程序产品,包括计算机程序/指令,该计算机程序/指令被处理器执行时实现上述实施例中的基于虚拟现实空间的显示处理方法。In order to implement the above embodiments, the present disclosure also proposes a computer program product, which includes a computer program/instructions. When the computer program/instructions are executed by a processor, the display processing method based on the virtual reality space in the above embodiments is implemented.

图13为本公开实施例提供的一种电子设备的结构示意图。FIG. 13 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.

下面具体参考图13,其示出了适于用来实现本公开实施例中的电子设备1300的结构示意图。本公开实施例中的电子设备1300可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图13示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Referring specifically to FIG. 13 below, a schematic structural diagram of an electronic device 1300 suitable for implementing an embodiment of the present disclosure is shown. The electronic device 1300 in the embodiment of the present disclosure may include, but is not limited to, mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals ( Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown in FIG. 13 is only an example and should not bring any limitations to the functions and scope of use of the embodiments of the present disclosure.

如图13所示,电子设备1300可以包括处理器(例如中央处理器、图形处理器等)1301,其可以根据存储在只读存储器(ROM)1302中的程序或者从存储器1308加载到随机访问存储器(RAM)1303中的程序而执行各种适当的动作和处理。在RAM 1303中,还存储有电子设备1300操作所需的各种程序和数据。处理器1301、ROM 1302以及RAM 1303通过总线1304彼此相连。输入/输出(I/O)接口1305也连接至总线1304。As shown in Figure 13, the electronic device 1300 may include a processor (eg, central processing unit, graphics processor, etc.) 1301, which may be loaded into a random access memory according to a program stored in a read-only memory (ROM) 1302 or from a memory 1308 (RAM) 1303 to perform various appropriate actions and processes. In the RAM 1303, various programs and data required for the operation of the electronic device 1300 are also stored. The processor 1301, ROM 1302, and RAM 1303 are connected to each other through a bus 1304. An input/output (I/O) interface 1305 is also connected to bus 1304.

通常,以下装置可以连接至I/O接口1305:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置1306;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置1307;包括例如磁带、硬盘等的存储器1308;以及通信装置1309。通信装置1309可以允许电子设备1300与其他设备进行无线或有线通信以交换数据。虽然图13示出了具有各种装置的电子设备1300,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Generally, the following devices may be connected to the I/O interface 1305: input devices 1306 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker, vibration An output device 1307 such as a computer; a memory 1308 including a magnetic tape, a hard disk, etc.; and a communication device 1309. The communication device 1309 may allow the electronic device 1300 to communicate wirelessly or wiredly with other devices to exchange data. Although FIG. 13 illustrates electronic device 1300 with various means, it should be understood that implementation or availability of all illustrated means is not required. More or fewer means may alternatively be implemented or provided.

特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置1309从网络上被下载和安装,或者从存储器1308被安装,或者从ROM 1302被安装。在该计算机程序被处理器1301执行时,执行本公开实施例的基于虚拟现实空间的显示处理方法中限定的上述功能。In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product including a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart. In such embodiments, the computer program may be downloaded and installed from the network via communication device 1309, or from memory 1308, or from ROM 1302. When the computer program is executed by the processor 1301, the above functions defined in the virtual reality space-based display processing method of the embodiment of the present disclosure are performed.

需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. More specific examples of computer readable storage media may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard drive, random access memory (RAM), read only memory (ROM), removable Programmed read-only memory (EPROM or flash memory), fiber optics, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device . Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wire, optical cable, RF (radio frequency), etc., or any suitable combination of the above.

在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText TransferProtocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and server can communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium. (e.g., communications network) interconnection. Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or developed in the future network of.

上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; it may also exist independently without being assembled into the electronic device.

上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:响应于用户进入虚拟现实空间的操作,在虚拟现实空间中的虚拟屏幕内呈现虚拟现实视频信息,且,在虚拟现实空间中的多个空间位置区域分别显示多个图层,其中,各个空间位置区域与用户当前观看位置的显示距离不同,且位于虚拟屏幕前方虚拟现实视频信息所述虚拟现实视频信息。由此,实现了在虚拟屏幕和用户当前观看位置之间对视频有关图层的结构化显示,通过图层与用户当前观看位置的距离的层级设置,充分利用了虚拟现实空间中的深度信息,实现了立体化的显示效果,有助于提升用户的观看体验。The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: responds to the user's operation of entering the virtual reality space, and displays the virtual screen in the virtual reality space. Virtual reality video information is presented in the virtual reality space, and multiple layers are displayed in multiple spatial location areas in the virtual reality space. Each spatial location area has a different display distance from the user's current viewing position and is located in front of the virtual screen. Video information refers to virtual reality video information. As a result, the structured display of video-related layers between the virtual screen and the user's current viewing position is realized. Through the hierarchical setting of the distance between the layer and the user's current viewing position, the depth information in the virtual reality space is fully utilized. A three-dimensional display effect is achieved, which helps improve the user's viewing experience.

电子设备可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。The electronic device may have computer program code for performing operations of the present disclosure written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, or a combination thereof. , also includes conventional procedural programming languages—such as "C" or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In situations involving remote computers, the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as an Internet service provider through Internet connection).

附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, segment, or portion of code that contains one or more logic functions that implement the specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved. It will also be noted that each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or operations. , or can be implemented using a combination of specialized hardware and computer instructions.

描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。The units involved in the embodiments of the present disclosure can be implemented in software or hardware. Among them, the name of a unit does not constitute a limitation on the unit itself under certain circumstances.

本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logical device (CPLD) and so on.

在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of this disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, laptop disks, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.

以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a description of the preferred embodiments of the present disclosure and the technical principles applied. Those skilled in the art should understand that the disclosure scope involved in the present disclosure is not limited to technical solutions composed of specific combinations of the above technical features, but should also cover solutions composed of the above technical features or without departing from the above disclosed concept. Other technical solutions formed by any combination of equivalent features. For example, a technical solution is formed by replacing the above features with technical features with similar functions disclosed in this disclosure (but not limited to).

此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。Furthermore, although operations are depicted in a specific order, this should not be understood as requiring that these operations be performed in the specific order shown or performed in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, although several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.

尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

Claims (14)

1.一种基于虚拟现实空间的显示处理方法,其特征在于,包括以下步骤:1. A display processing method based on virtual reality space, characterized by including the following steps: 响应于用户进入虚拟现实空间的操作,在所述虚拟现实空间中的虚拟屏幕内呈现虚拟现实视频信息;且,在所述虚拟现实空间中的多个空间位置区域分别显示多个图层;In response to the user's operation of entering the virtual reality space, virtual reality video information is presented in the virtual screen in the virtual reality space; and, multiple layers are respectively displayed in multiple spatial location areas in the virtual reality space; 其中,各个所述空间位置区域与用户当前观看位置的显示距离不同,且位于所述虚拟屏幕前方。Each of the spatial location areas has a different display distance from the user's current viewing position and is located in front of the virtual screen. 2.如权利要求1所述的方法,其特征在于,所述在所述虚拟现实空间中的多个空间位置区域分别显示多个图层,包括:2. The method of claim 1, wherein the multiple spatial location areas in the virtual reality space respectively display multiple layers, including: 获取与虚拟现实视频信息对应的多个图层的图层类型;Obtain the layer types of multiple layers corresponding to the virtual reality video information; 根据所述图层类型确定所述多个图层在虚拟现实空间中的多个空间位置区域;Determine multiple spatial location areas of the multiple layers in the virtual reality space according to the layer type; 根据空间位置区域对对应图层中的图层消息进行显示处理。The layer messages in the corresponding layer are displayed according to the spatial location area. 3.如权利要求2所述的方法,其特征在于,所述根据所述图层类型确定所述多个图层在虚拟现实空间中的多个空间位置区域,包括:3. The method of claim 2, wherein determining multiple spatial location areas of the multiple layers in the virtual reality space according to the layer type includes: 根据所述图层类型确定所述多个图层的优先级信息;Determine priority information of the plurality of layers according to the layer type; 根据优先级信息确定所述多个图层在虚拟现实空间中的多个空间位置区域。Multiple spatial location areas of the multiple layers in the virtual reality space are determined according to the priority information. 4.如权利要求3所述的方法,其特征在于,所述根据优先级信息确定所述多个图层在虚拟现实空间中的多个空间位置区域,包括:4. The method of claim 3, wherein determining the plurality of spatial location areas of the plurality of layers in the virtual reality space according to priority information includes: 确定所述虚拟现实视频信息在所述虚拟现实空间中的视频显示位置;Determine the video display position of the virtual reality video information in the virtual reality space; 以所述视频显示位置为起点,根据预设距离间隔和所述优先级信息由低到高的顺序向靠近所述用户当前观看位置的方向,逐个确定每个所述图层的空间位置区域,以确定所述多个图层的多个空间位置区域。Taking the video display position as the starting point, determine the spatial location area of each layer one by one in a direction close to the user's current viewing position according to the preset distance interval and the priority information in order from low to high, To determine multiple spatial location areas of the multiple layers. 5.如权利要求3所述的方法,其特征在于,所述根据优先级信息确定所述多个图层在虚拟现实空间中的多个空间位置区域,包括:5. The method of claim 3, wherein determining the plurality of spatial location areas of the plurality of layers in the virtual reality space according to priority information includes: 根据所述优先级信息确定最高优先级对应的目标图层;Determine the target layer corresponding to the highest priority based on the priority information; 确定所述目标图层在所述虚拟现实空间中的空间位置区域;Determine the spatial location area of the target layer in the virtual reality space; 以所述空间位置区域为起点,根据预设距离间隔和所述优先级信息由高到低的顺序向远离所述用户当前观看位置的方向,逐个确定其他每个所述图层的空间位置区域,以确定所述多个图层的多个空间位置区域。Taking the spatial location area as the starting point, determine the spatial location area of each other layer one by one in the direction away from the user's current viewing position according to the preset distance interval and the priority information in order from high to low. to determine multiple spatial location areas of the multiple layers. 6.如权利要求3所述的方法,其特征在于,所述根据优先级信息确定所述多个图层在虚拟现实空间中的多个空间位置区域,包括:6. The method of claim 3, wherein determining multiple spatial location areas of the multiple layers in the virtual reality space according to priority information includes: 根据所述优先级信息查询预设数据库,以获取与所述多个图层对应的多个空间位置区域。Query a preset database according to the priority information to obtain multiple spatial location areas corresponding to the multiple layers. 7.如权利要求1-6任一所述的方法,其特征在于,7. The method according to any one of claims 1-6, characterized in that, 每个所述图层对应的空间位置区域位于对应的圆弧形区域上,其中,The spatial location area corresponding to each layer is located on the corresponding arc-shaped area, where, 每个所述图层对应的圆弧形区域的圆心位置位于所述用户当前观看位置对应的用户视线方向上。The center position of the arc-shaped area corresponding to each layer is located in the user's line of sight direction corresponding to the user's current viewing position. 8.如权利要求1-6任一所述的方法,其特征在于,8. The method according to any one of claims 1-6, characterized in that, 各个所述空间位置区域的垂直坐标值不同;且,各个所述空间位置区域对应的水平坐标值不完全相同,和/或,各个所述空间位置区域对应的竖直坐标值不完全相同。The vertical coordinate values of each of the spatial location areas are different; and the horizontal coordinate values of each of the spatial location areas are not exactly the same, and/or the vertical coordinate values of each of the spatial location areas are not exactly the same. 9.如权利要求2-6任一所述的方法,其特征在于,所述多个图层对应的图层类型包括:9. The method according to any one of claims 2 to 6, characterized in that the layer types corresponding to the plurality of layers include: 操作用户界面图层、信息流显示图层、礼物显示图层、表情显示图层中的多个。Operate multiple of the user interface layer, information flow display layer, gift display layer, and expression display layer. 10.如权利要求2所述的方法,其特征在于,所述根据空间位置区域对对应图层中的图层消息进行显示处理,包括:10. The method of claim 2, wherein the display processing of layer messages in the corresponding layer according to the spatial location area includes: 响应于获取到预设第一类型的第一图层消息,确定与所述第一图层消息对应的第一图层;In response to obtaining the first layer message of the preset first type, determine the first layer corresponding to the first layer message; 在所述第一图层的空间位置区域中显示所述第一图层消息。The first layer message is displayed in a spatial location area of the first layer. 11.如权利要求10所述的方法,其特征在于,所述根据空间位置区域对对应图层中的图层消息进行显示处理,包括:11. The method of claim 10, wherein the display processing of layer messages in the corresponding layer according to the spatial location area includes: 响应于获取到预设第二类型的第二图层消息,将所述第二图层消息加入与所述第二图层消息对应的第二图层的图层消息队列,In response to obtaining the second layer message of the preset second type, adding the second layer message to the layer message queue of the second layer corresponding to the second layer message, 以便于根据在所述图层消息队列中的队列顺序在所述第二图层的空间位置区域中显示对应的图层消息。In order to display the corresponding layer message in the spatial location area of the second layer according to the queue order in the layer message queue. 12.一种基于虚拟现实空间的显示处理装置,其特征在于,包括:12. A display processing device based on virtual reality space, characterized by including: 显示处理模块,用于响应于用户进入虚拟现实空间的操作,在所述虚拟现实空间中的虚拟屏幕内呈现虚拟现实视频信息;且,在所述虚拟现实空间中的多个空间位置区域分别显示多个图层;A display processing module configured to present virtual reality video information on a virtual screen in the virtual reality space in response to the user's operation of entering the virtual reality space; and, display the virtual reality video information in multiple spatial location areas in the virtual reality space respectively. multiple layers; 其中,各个所述空间位置区域与用户当前观看位置的显示距离不同,且位于所述虚拟屏幕前方。Each of the spatial location areas has a different display distance from the user's current viewing position and is located in front of the virtual screen. 13.一种电子设备,其特征在于,所述电子设备包括:13. An electronic device, characterized in that the electronic device includes: 处理器;processor; 用于存储所述处理器可执行指令的存储器;memory for storing instructions executable by the processor; 所述处理器,用于从所述存储器中读取所述可执行指令,并执行所述可执行指令以实现上述权利要求1-11中任一所述的基于虚拟现实空间的显示处理方法。The processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the display processing method based on the virtual reality space according to any one of the above claims 1-11. 14.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序用于执行上述权利要求1-11中任一所述的基于虚拟现实空间的显示处理方法。14. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, and the computer program is used to execute the virtual reality space-based virtual reality space described in any one of claims 1-11. Show processing method.
CN202210993897.7A 2022-08-18 2022-08-18 Display processing methods, devices, equipment and media based on virtual reality space Pending CN117632063A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202210993897.7A CN117632063A (en) 2022-08-18 2022-08-18 Display processing methods, devices, equipment and media based on virtual reality space
EP23854465.4A EP4575748A1 (en) 2022-08-18 2023-08-16 Human-computer interaction method, apparatus, device and medium, virtual reality space-based display processing method, apparatus, device and medium, virtual reality space-based model display method, apparatus, device and medium
PCT/CN2023/113360 WO2024037565A1 (en) 2022-08-18 2023-08-16 Human-computer interaction method, apparatus, device and medium, virtual reality space-based display processing method, apparatus, device and medium, virtual reality space-based model display method, apparatus, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210993897.7A CN117632063A (en) 2022-08-18 2022-08-18 Display processing methods, devices, equipment and media based on virtual reality space

Publications (1)

Publication Number Publication Date
CN117632063A true CN117632063A (en) 2024-03-01

Family

ID=90025797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210993897.7A Pending CN117632063A (en) 2022-08-18 2022-08-18 Display processing methods, devices, equipment and media based on virtual reality space

Country Status (1)

Country Link
CN (1) CN117632063A (en)

Similar Documents

Publication Publication Date Title
CA2913650C (en) Virtual object orientation and visualization
US20230405475A1 (en) Shooting method, apparatus, device and medium based on virtual reality space
CN115981544A (en) Interaction method, device, electronic device and storage medium based on extended reality
CN117632063A (en) Display processing methods, devices, equipment and media based on virtual reality space
CN117641026A (en) Model display method, device, equipment and medium based on virtual reality space
US20240046588A1 (en) Virtual reality-based control method, apparatus, terminal, and storage medium
US20240078734A1 (en) Information interaction method and apparatus, electronic device and storage medium
CN119211512B (en) Augmented reality information notification method and device, electronic equipment and storage medium
US20250184562A1 (en) Information interaction method and apparatus, electronic device and storage medium
EP4535290A1 (en) Information exchange method and apparatus, and electronic device and storage medium
CN117994284A (en) Collision detection method, collision detection device, electronic equipment and storage medium
CN117641025A (en) Model display method, device, equipment and medium based on virtual reality space
CN117765207A (en) Virtual interface display method, device, equipment and medium
CN116193246A (en) Prompt method and device for shooting video, electronic equipment and storage medium
CN117631810A (en) Operation processing method, device, equipment and medium based on virtual reality space
WO2024012106A1 (en) Information interaction method and apparatus, electronic device, and storage medium
CN117354484A (en) Shooting processing methods, devices, equipment and media based on virtual reality
CN117435041A (en) Information interaction methods, devices, electronic equipment and storage media
CN117572994A (en) Virtual object display processing method, device, equipment and medium
CN117934769A (en) Image display method, device, electronic device and storage medium
CN118227005A (en) Information interaction method, device, electronic equipment and storage medium
WO2024016880A1 (en) Information interaction method and apparatus, and electronic device and storage medium
CN118890463A (en) Display method, device, electronic device and storage medium based on virtual reality
CN117631921A (en) Information interaction method, device, electronic equipment and storage medium
CN118689363A (en) Method, device, electronic device and storage medium for displaying 3D images

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