CN115499478A - Method, system, device and storage medium for generating space navigation data - Google Patents
Method, system, device and storage medium for generating space navigation data Download PDFInfo
- Publication number
- CN115499478A CN115499478A CN202210946303.7A CN202210946303A CN115499478A CN 115499478 A CN115499478 A CN 115499478A CN 202210946303 A CN202210946303 A CN 202210946303A CN 115499478 A CN115499478 A CN 115499478A
- Authority
- CN
- China
- Prior art keywords
- data
- information
- virtual reality
- audio
- preset
- 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.)
- Granted
Links
Images
Landscapes
- Processing Or Creating Images (AREA)
Abstract
本发明提供一种空间导览数据的生成方法、系统、设备及存储介质,涉及计算机技术领域。通过根据预设用户在预设显示界面的操作行为信息,生成与操作行为信息对应的用户行为指令;根据用户行为指令获取到虚拟现实数据,并对虚拟现实数据进行预处理,得到帧数据集合;根据用户行为指令生成与虚拟现实数据关联的音视频数据;根据音视频数据对应的音视频帧数据和帧数据集合,生成空间导览数据;空间导览数据用于在预设显示界面显示与操作行为信息对应的三维图像。通过本发明提供的实施例实现了通过在预设显示界面进行操作,计算机程序自动对虚拟现实数据进行处理以生成空间导览数据,大大的提高了空间导览数据的生成效率。
The invention provides a method, system, device and storage medium for generating space navigation data, and relates to the technical field of computers. Generate a user behavior instruction corresponding to the operation behavior information according to the preset user's operation behavior information on the preset display interface; obtain virtual reality data according to the user behavior instruction, and preprocess the virtual reality data to obtain a frame data set; Generate audio and video data associated with virtual reality data according to user behavior instructions; generate space navigation data according to audio and video frame data and frame data sets corresponding to audio and video data; space navigation data is used for display and operation on the preset display interface The three-dimensional image corresponding to the behavior information. Through the embodiment provided by the present invention, the computer program can automatically process the virtual reality data to generate the space navigation data by operating on the preset display interface, which greatly improves the generation efficiency of the space navigation data.
Description
技术领域technical field
本发明涉及计算机技术领域,尤其涉及一种空间导览数据的生成方法、系统、设备及存储介质。The present invention relates to the field of computer technology, in particular to a method, system, device and storage medium for generating space navigation data.
背景技术Background technique
虚拟现实技术囊括计算机、电子信息、仿真技术,其基本实现方式是计算机模拟虚拟环境从而给人以环境沉浸感。随着社会生产力和科学技术的不断发展,各行各业对虚拟现实(VR)技术的需求日益旺盛。Virtual reality technology includes computer, electronic information, and simulation technology. Its basic implementation method is to simulate a virtual environment by computer to give people a sense of environmental immersion. With the continuous development of social productivity and science and technology, the demand for virtual reality (VR) technology in all walks of life is increasingly strong.
在现有技术中,空间导览数据是通过人工操作对虚拟现实进行导入处理而得到的。因此,存在通过人工方式进行编辑生成空间导览数据效率比较低的问题。In the prior art, space navigation data is obtained by importing and processing virtual reality through manual operations. Therefore, there is a problem that the efficiency of generating space navigation data through manual editing is relatively low.
发明内容Contents of the invention
本发明提供一种空间导览数据的生成方法、系统、设备及存储介质,用以解决现有技术中通过人工方式进行编辑生成空间导览数据效率比较低的缺陷,实现通过在预设显示界面进行操作,计算机程序自动对虚拟现实数据进行处理以生成空间导览数据,大大的提高了空间导览数据的生成效率。The present invention provides a method, system, device and storage medium for generating space navigation data, which are used to solve the defect in the prior art that the efficiency of generating space navigation data through manual editing is relatively low, and to realize After operation, the computer program automatically processes the virtual reality data to generate space navigation data, which greatly improves the generation efficiency of space navigation data.
第一方面,本发明提供一种空间导览数据的生成方法,包括:In a first aspect, the present invention provides a method for generating space navigation data, including:
根据预设用户在预设显示界面的操作行为信息,生成与所述操作行为信息对应的用户行为指令;generating a user behavior instruction corresponding to the operation behavior information according to the operation behavior information of the preset user on the preset display interface;
根据所述用户行为指令获取到虚拟现实数据,并对所述虚拟现实数据进行预处理,得到帧数据集合;Obtaining virtual reality data according to the user behavior instruction, and preprocessing the virtual reality data to obtain a frame data set;
根据所述用户行为指令生成与所述虚拟现实数据关联的音视频数据;generating audio and video data associated with the virtual reality data according to the user behavior instruction;
根据所述音视频数据对应的音视频帧数据和所述帧数据集合,生成空间导览数据;所述空间导览数据用于在所述预设显示界面显示与所述操作行为信息对应的三维图像。Spatial navigation data is generated according to the audio and video frame data corresponding to the audio and video data and the frame data set; the spatial navigation data is used to display the three-dimensional information corresponding to the operation behavior information on the preset display interface image.
根据本发明提供的空间导览数据的生成方法,所述根据所述用户行为指令获取到虚拟现实数据,包括:According to the method for generating space navigation data provided by the present invention, the acquisition of virtual reality data according to the user behavior instruction includes:
根据所述用户行为指令获取加载所述虚拟现实数据的加载驱动数据;Acquiring loading driving data for loading the virtual reality data according to the user behavior instruction;
根据所述加载驱动数据和预设的轻量级框架,从预设存储空间获取所述虚拟现实数据。According to the loaded driving data and the preset lightweight framework, the virtual reality data is obtained from a preset storage space.
根据本发明提供的空间导览数据的生成方法,根据所述用户行为指令生成与所述虚拟现实数据关联的音视频数据,包括:According to the method for generating space navigation data provided by the present invention, generating audio and video data associated with the virtual reality data according to the user behavior instruction includes:
根据所述用户行为指令确定生成所述音视频数据的生成策略,并根据所述用户行为指令获取与所述虚拟现实数据关联的音视频文本信息;determining a generation strategy for generating the audio and video data according to the user behavior instruction, and acquiring audio and video text information associated with the virtual reality data according to the user behavior instruction;
根据所述用户行为指令和所述生成策略,配置与所述音视频文本信息对应的音调信息;Configuring tone information corresponding to the audio-video text information according to the user behavior instruction and the generation strategy;
基于所述生成策略,结合所述音视频文本信息和配置后的所述音调信息,生成所述音视频数据。Based on the generation strategy, the audio-video data is generated by combining the audio-video text information and the configured tone information.
根据本发明提供的空间导览数据的生成方法,所述对所述虚拟现实数据进行预处理,得到帧数据集合,包括:According to the method for generating space navigation data provided by the present invention, the preprocessing of the virtual reality data to obtain a frame data set includes:
根据所述用户行为指令对所述虚拟现实数据进行编辑处理,得到与每一操作行为信息分别对应的多个帧数据;Editing the virtual reality data according to the user behavior instruction to obtain a plurality of frame data corresponding to each operation behavior information;
将与每一操作行为信息对应的多个所述帧数据进行组合处理,得到所述帧数据集合。A plurality of frame data corresponding to each operation behavior information are combined to obtain the frame data set.
根据本发明提供的空间导览数据的生成方法,所述根据所述用户行为指令对所述虚拟现实数据进行编辑处理,得到与每一操作行为信息分别对应的多个帧数据,包括:According to the method for generating space navigation data provided by the present invention, the virtual reality data is edited according to the user behavior instruction to obtain a plurality of frame data corresponding to each operation behavior information, including:
根据所述用户行为指令获取与所述虚拟现实数据关联的行为参数信息;Obtain behavior parameter information associated with the virtual reality data according to the user behavior instruction;
对所述行为参数信息进行编辑处理,以配置出与每一所述操作行为信息对应的多个目标信息数据;Editing the behavior parameter information to configure a plurality of target information data corresponding to each operation behavior information;
将多个所述目标信息数据和所述虚拟现实数据进行组合处理,得到与每一所述操作行为信息对应的多个所述帧数据。Combining and processing a plurality of the target information data and the virtual reality data to obtain a plurality of the frame data corresponding to each operation behavior information.
根据本发明提供的空间导览数据的生成方法,所述对所述行为参数信息进行编辑处理,以配置出与每一所述操作行为信息对应的多个目标信息数据,包括:According to the method for generating space navigation data provided by the present invention, the editing of the behavior parameter information to configure a plurality of target information data corresponding to each of the operation behavior information includes:
在所述预设显示界面的预设时间行区域,利用预设的拖拽组件对所述行为参数信息对应的数据块进行拖拽处理,以配置出与所述操作行为信息对应的所述目标信息数据;其中,每一所述预设时间行区域至少包括多个所述数据块,所述数据块用于存储所述行为参数信息。In the preset time line area of the preset display interface, use a preset drag component to drag and drop the data block corresponding to the behavior parameter information, so as to configure the target corresponding to the operation behavior information Information data; wherein, each of the preset time line areas includes at least a plurality of the data blocks, and the data blocks are used to store the behavior parameter information.
根据本发明提供的空间导览数据的生成方法,所述行为参数信息至少包括:时间信息;According to the method for generating space navigation data provided by the present invention, the behavior parameter information at least includes: time information;
所述目标信息数据至少包括:目标时间数据;The target information data at least includes: target time data;
所述数据块至少包括:待拖拽时间块;The data block at least includes: a time block to be dragged;
所述利用预设的拖拽组件对所述行为参数信息对应的数据块进行拖拽处理,以配置出与所述操作行为信息对应的所述目标信息数据,包括:The use of the preset drag and drop component to drag and drop the data block corresponding to the behavior parameter information to configure the target information data corresponding to the operation behavior information includes:
根据所述拖拽组件获取与所述待拖拽时间块对应的初始坐标位置信息;并获取到预设置于所述待拖拽时间块两侧的拖动元素;Obtain initial coordinate position information corresponding to the time block to be dragged according to the dragging component; and obtain dragging elements preset on both sides of the time block to be dragged;
在所述预设时间行区域根据所述拖动元素对所述待拖拽时间块进行拖拽处理;performing dragging processing on the time block to be dragged according to the dragging element in the preset time line area;
判断对所述待拖拽时间块拖拽后得到的拖拽坐标位置信息与当前时间块对应的当前坐标位置信息是否存在相同位置信息;其中,所述当前时间块为与所述待拖拽时间块对应的所述预设时间行区域中的多个其他时间块;Judging whether the drag coordinate position information obtained after dragging the time block to be dragged and the current coordinate position information corresponding to the current time block have the same position information; wherein, the current time block is the same position information as the time block to be dragged A plurality of other time blocks in the preset time line area corresponding to the block;
若所述拖拽坐标位置信息与所述当前坐标位置信息存在相同位置信息,则对所述待拖拽时间块进行拖拽处理,直至所述拖拽坐标位置信息与所述当前坐标位置信息不存在相同位置信息时,则停止对所述待拖拽时间块进行的拖拽处理,并确定所述拖拽坐标位置信息为目标坐标位置信息;If the dragging coordinate position information and the current coordinate position information have the same position information, dragging is performed on the time block to be dragged until the dragging coordinate position information is different from the current coordinate position information. When the same location information exists, stop the dragging process on the time block to be dragged, and determine that the dragging coordinate location information is the target coordinate location information;
若所述拖拽坐标位置信息与所述当前坐标位置信息不存在相同位置信息,则确定所述拖拽坐标位置信息为目标坐标位置信息;并根据所述目标坐标位置信息和所述初始坐标位置信息,确定与所述待拖拽时间块对应的所述目标时间数据。If the dragging coordinate position information does not have the same position information as the current coordinate position information, then determine that the dragging coordinate position information is target coordinate position information; and according to the target coordinate position information and the initial coordinate position information to determine the target time data corresponding to the time block to be dragged.
第二方面,本发明还提供一种空间导览数据的生成系统,包括:In the second aspect, the present invention also provides a system for generating space navigation data, including:
生成指令单元,用于根据预设用户在预设显示界面的操作行为信息,生成与所述操作行为信息对应的用户行为指令;A generation instruction unit, configured to generate a user behavior instruction corresponding to the operation behavior information according to the operation behavior information of the preset user on the preset display interface;
预处理单元,用于根据所述用户行为指令获取到虚拟现实数据,并对所述虚拟现实数据进行预处理,得到帧数据集合;A preprocessing unit, configured to acquire virtual reality data according to the user behavior instruction, and preprocess the virtual reality data to obtain a frame data set;
生成音视频数据单元,用于根据所述用户行为指令生成与所述虚拟现实数据关联的音视频数据;generating an audio-video data unit for generating audio-video data associated with the virtual reality data according to the user behavior instruction;
生成空间导览数据单元,用于根据所述音视频数据对应的音视频帧数据和所述帧数据集合,生成空间导览数据;所述空间导览数据用于在所述预设显示界面显示与所述操作行为信息对应的三维图像。Generate a space navigation data unit, which is used to generate space navigation data according to the audio and video frame data corresponding to the audio and video data and the frame data set; the space navigation data is used to display on the preset display interface A three-dimensional image corresponding to the operation behavior information.
第三方面,本发明还提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上述任一种所述一种空间导览数据的生成方法的步骤。In a third aspect, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the program, any of the above-mentioned The steps of a method for generating space navigation data are described.
第四方面,本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述任一种所述一种空间导览数据的生成方法的步骤。In the fourth aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the generation of space navigation data as described in any one of the above is realized. method steps.
本发明提供的一种空间导览数据的生成方法、系统、设备及存储介质,通过根据预设用户在预设显示界面的操作行为信息,生成与所述操作行为信息对应的用户行为指令;根据所述用户行为指令获取到虚拟现实数据,并对所述虚拟现实数据进行预处理,得到帧数据集合;根据所述用户行为指令生成与所述虚拟现实数据关联的音视频数据;根据所述音视频数据对应的音视频帧数据和所述帧数据集合,生成空间导览数据;所述空间导览数据用于在所述预设显示界面显示与所述操作行为信息对应的三维图像。实现了通过在预设显示界面进行操作,计算机程序自动对虚拟现实数据进行处理以生成空间导览数据,大大的提高了空间导览数据的生成效率。A method, system, device, and storage medium for generating space navigation data provided by the present invention generate user behavior instructions corresponding to the operation behavior information according to the preset user operation behavior information on the preset display interface; The user behavior instruction acquires virtual reality data, and preprocesses the virtual reality data to obtain a frame data set; generates audio and video data associated with the virtual reality data according to the user behavior instruction; The audio and video frame data corresponding to the video data and the frame data set generate space navigation data; the space navigation data is used to display a three-dimensional image corresponding to the operation behavior information on the preset display interface. It is realized that by operating on the preset display interface, the computer program automatically processes the virtual reality data to generate the space navigation data, which greatly improves the generation efficiency of the space navigation data.
附图说明Description of drawings
为了更清楚地说明本发明或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the present invention or the technical solutions in the prior art, the accompanying drawings that need to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings in the following description are the present invention. For some embodiments of the invention, those skilled in the art can also obtain other drawings based on these drawings without creative effort.
图1是本发明提供的一种空间导览数据的生成方法的流程示意图之一;Fig. 1 is one of the schematic flow charts of a method for generating space navigation data provided by the present invention;
图2是本发明图1中步骤S120的流程示意图之一;Fig. 2 is one of the schematic flow charts of step S120 in Fig. 1 of the present invention;
图3是本发明图1中步骤S130的流程示意图之一;Fig. 3 is one of the schematic flow charts of step S130 in Fig. 1 of the present invention;
图4是本发明图1中步骤S120的流程示意图之二;Fig. 4 is the second schematic flow diagram of step S120 in Fig. 1 of the present invention;
图5是本发明图4中步骤S410的流程示意图之一;Fig. 5 is one of the schematic flow charts of step S410 in Fig. 4 of the present invention;
图6是本发明提供的一种空间导览数据的生成系统的结构示意图;Fig. 6 is a schematic structural diagram of a system for generating space navigation data provided by the present invention;
图7是本发明提供的电子设备的结构示意图。Fig. 7 is a schematic structural diagram of an electronic device provided by the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明中的附图,对本发明中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention , but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
下面结合图1-图7描述本发明提供的一种空间导览数据的生成方法、系统、设备及存储介质。A method, system, device and storage medium for generating space navigation data provided by the present invention will be described below with reference to FIGS. 1-7 .
其具体通过如下实施例进行说明,首先描述本发明实施例中的一种空间导览数据的生成方法。It is specifically described through the following embodiments. First, a method for generating space navigation data in an embodiment of the present invention is described.
如图1所示,其为本发明实施例提供的一种空间导览数据的生成方法的实施流程示意图,一种空间导览数据的生成方法可以包括但不限于步骤S110至S140。As shown in FIG. 1 , it is a schematic diagram of the implementation flow of a method for generating space navigation data provided by an embodiment of the present invention. A method for generating space navigation data may include but not limited to steps S110 to S140.
S110,根据预设用户在预设显示界面的操作行为信息,生成与所述操作行为信息对应的用户行为指令;S110. Generate a user behavior instruction corresponding to the operation behavior information according to the operation behavior information of the preset user on the preset display interface;
S120,根据所述用户行为指令获取到虚拟现实数据,并对所述虚拟现实数据进行预处理,得到帧数据集合;S120. Obtain virtual reality data according to the user behavior instruction, and preprocess the virtual reality data to obtain a frame data set;
S130,根据所述用户行为指令生成与所述虚拟现实数据关联的音视频数据;S130. Generate audio and video data associated with the virtual reality data according to the user behavior instruction;
S140,根据所述音视频数据对应的音视频帧数据和所述帧数据集合,生成空间导览数据。S140. Generate space navigation data according to the audio and video frame data corresponding to the audio and video data and the frame data set.
在一些实施例的步骤S110中,根据预设用户在预设显示界面的操作行为信息,生成与所述操作行为信息对应的用户行为指令。可以理解的是,计算机程序根据预设用户在预设显示界面上进行的操作,得到预设用户的操作行为信息,计算机控制器或者计算机程序将操作行为信息在后台转化用户行为指令,其中用户行为指令一一对应于预设用户进行操作的操作行为信息。In step S110 of some embodiments, according to the operation behavior information of the preset user on the preset display interface, a user behavior instruction corresponding to the operation behavior information is generated. It can be understood that the computer program obtains the operation behavior information of the preset user according to the operation performed by the preset user on the preset display interface, and the computer controller or the computer program converts the operation behavior information into user behavior instructions in the background, wherein the user behavior The instructions correspond one by one to preset operation behavior information for the user to operate.
在一些实施例的步骤S120中,根据所述用户行为指令获取到虚拟现实数据,并对所述虚拟现实数据进行预处理,得到帧数据集合。可以理解的是,在执行完步骤S110根据预设用户在预设显示界面的操作行为信息,生成与所述操作行为信息对应的用户行为指令之后,计算机程序根据步骤S110中得到的用户行为指令,获取到虚拟现实数据。In step S120 of some embodiments, the virtual reality data is obtained according to the user behavior instruction, and the virtual reality data is preprocessed to obtain a frame data set. It can be understood that, after step S110 is executed to generate a user behavior instruction corresponding to the operation behavior information according to the preset user's operation behavior information on the preset display interface, the computer program, according to the user behavior instruction obtained in step S110, Acquired virtual reality data.
其中,获取到虚拟现实数据的具体步骤可以为根据所述用户行为指令获取加载所述虚拟现实数据的加载驱动数据,根据所述加载驱动数据和预设的轻量级框架,从预设存储空间获取所述虚拟现实数据。Wherein, the specific step of obtaining the virtual reality data may be to obtain the loading driving data for loading the virtual reality data according to the user behavior instruction, and according to the loading driving data and the preset lightweight framework, from the preset storage space Obtain the virtual reality data.
进一步地,在获取到虚拟现实数据之后,对所述虚拟现实数据进行预处理,得到帧数据集合的具体步骤可以为根据所述用户行为指令对所述虚拟现实数据进行编辑处理,得到与每一操作行为信息分别对应的多个帧数据,将与每一操作行为信息对应的多个所述帧数据进行组合处理,得到所述帧数据集合。Further, after the virtual reality data is acquired, the specific step of preprocessing the virtual reality data to obtain the frame data set may be to edit the virtual reality data according to the user behavior instruction to obtain the The plurality of frame data corresponding to the operation behavior information are combined and processed to obtain the frame data set.
在一些实施例的步骤S130中,根据所述用户行为指令生成与所述虚拟现实数据关联的音视频数据。可以理解的是,在执行完步骤S120根据所述用户行为指令获取到虚拟现实数据,并对所述虚拟现实数据进行预处理,得到帧数据集合之后,再根据所述用户行为指令确定生成所述音视频数据的生成策略,并根据所述用户行为指令获取与所述虚拟现实数据关联的音视频文本信息,根据所述用户行为指令和所述生成策略,配置与所述音视频文本信息对应的音调信息,基于所述生成策略,结合所述音视频文本信息和配置后的所述音调信息,生成所述音视频数据。In step S130 of some embodiments, audio and video data associated with the virtual reality data is generated according to the user behavior instruction. It can be understood that, after step S120 is executed to acquire the virtual reality data according to the user behavior instruction, and preprocess the virtual reality data to obtain the frame data set, then determine to generate the virtual reality data according to the user behavior instruction. A generation strategy for audio and video data, and obtain audio and video text information associated with the virtual reality data according to the user behavior instruction, and configure the corresponding audio and video text information according to the user behavior instruction and the generation strategy For tone information, based on the generating strategy, the audio-video data is generated by combining the audio-video text information and the configured tone information.
在一些实施例的步骤S140中,根据所述音视频数据对应的音视频帧数据和所述帧数据集合,生成空间导览数据。可以理解的是,在执行完步骤S130根据所述用户行为指令生成与所述虚拟现实数据关联的音视频数据之后,计算机程序根据步骤S120得到的帧数据集合和步骤S130得到的音视频数据对应的音视频帧数据相互融合,以生成空间导览数据。In step S140 of some embodiments, space navigation data is generated according to the audio and video frame data corresponding to the audio and video data and the frame data set. It can be understood that, after step S130 is executed to generate the audio and video data associated with the virtual reality data according to the user behavior instruction, the computer program according to the frame data set obtained in step S120 corresponds to the audio and video data obtained in step S130 Audio and video frame data are fused with each other to generate spatial navigation data.
进一步地,空间导览数据用于在所述预设显示界面显示与所述操作行为信息对应的三维图像,也便于通过对空间导览数据进行渲染,将渲染得到的三维图像直观的显示在预设显示界面上,并直观的供预设用户进行查看。Further, the space navigation data is used to display the three-dimensional image corresponding to the operation behavior information on the preset display interface, and it is also convenient to render the space navigation data to intuitively display the rendered three-dimensional image on the preset display interface. It is set on the display interface and intuitively provided for the default user to view.
在一些实施例中,参考图2所示,步骤S120还可以包括但不限于步骤S210至S220。In some embodiments, as shown in FIG. 2 , step S120 may also include but not limited to steps S210 to S220.
S210,根据所述用户行为指令获取加载所述虚拟现实数据的加载驱动数据;S210. Acquire loading driving data for loading the virtual reality data according to the user behavior instruction;
S220,根据所述加载驱动数据和预设的轻量级框架,从预设存储空间获取所述虚拟现实数据。S220. Acquire the virtual reality data from a preset storage space according to the loaded driving data and the preset lightweight framework.
在一些实施例的步骤S210中,根据所述用户行为指令获取加载所述虚拟现实数据的加载驱动数据。可以理解的是,根据步骤S110得到的用户行为指令,获取加载虚拟现实数据的加载驱动数据,用于根据该加载驱动数据去加载虚拟现实数据。In step S210 of some embodiments, the loading driving data for loading the virtual reality data is acquired according to the user behavior instruction. It can be understood that, according to the user behavior instruction obtained in step S110, the loading driving data for loading the virtual reality data is obtained, and is used to load the virtual reality data according to the loading driving data.
在一些实施例的步骤S220中,根据所述加载驱动数据和预设的轻量级框架,从预设存储空间获取所述虚拟现实数据。可以理解的是,在执行完步骤S210根据所述用户行为指令获取加载所述虚拟现实数据的加载驱动数据之后,计算机程序根据步骤S210得到的加载驱动数据和预设的轻量级框架,从预设存储空间获取到虚拟现实数据。In step S220 of some embodiments, the virtual reality data is acquired from a preset storage space according to the loaded driving data and the preset lightweight framework. It can be understood that, after step S210 is executed to obtain the loading driving data for loading the virtual reality data according to the user behavior instruction, the computer program uses the loading driving data obtained in step S210 and the preset lightweight framework from the preset Assume that the storage space has obtained virtual reality data.
进一步地,轻量级框架可以为Five.js文件,其是一个轻量级的,易学的,拓展性灵活的nodejs MVC框架文件。Further, the lightweight framework may be a Five.js file, which is a lightweight, easy-to-learn, expandable and flexible nodejs MVC framework file.
预设存储空间可以为预设的云端数据库,用于存储虚拟现实数据。The preset storage space may be a preset cloud database for storing virtual reality data.
在一些实施例中,参考图3所示,步骤S130还可以包括但不限于步骤S310至S330。In some embodiments, as shown in FIG. 3 , step S130 may also include but not limited to steps S310 to S330.
S310,根据所述用户行为指令确定生成所述音视频数据的生成策略,并根据所述用户行为指令获取与所述虚拟现实数据关联的音视频文本信息;S310. Determine a generation strategy for generating the audio and video data according to the user behavior instruction, and acquire audio and video text information associated with the virtual reality data according to the user behavior instruction;
S320,根据所述用户行为指令和所述生成策略,配置与所述音视频文本信息对应的音调信息;S320. Configure tone information corresponding to the audio-video text information according to the user behavior instruction and the generation strategy;
S330,基于所述生成策略,结合所述音视频文本信息和配置后的所述音调信息,生成所述音视频数据。S330. Based on the generation policy, combine the audio-video text information and the configured tone information to generate the audio-video data.
在一些实施例的步骤S310中,根据所述用户行为指令确定生成所述音视频数据的生成策略,并根据所述用户行为指令获取与所述虚拟现实数据关联的音视频文本信息。可以理解的是,在执行完步骤S110根据预设用户在预设显示界面的操作行为信息,生成与所述操作行为信息对应的用户行为指令之后,根据步骤S110中得到的用户行为指令,从多个生成音视频数据的生成策略中选择一个作为最终的生成策略,并根据用户行为指令获取到与虚拟现实数据对应的音视频文本信息。In step S310 of some embodiments, a generation strategy for generating the audio-video data is determined according to the user behavior instruction, and audio-video text information associated with the virtual reality data is acquired according to the user behavior instruction. It can be understood that, after step S110 is executed and the user behavior instruction corresponding to the operation behavior information is generated according to the operation behavior information of the preset user on the preset display interface, according to the user behavior instruction obtained in step S110, from multiple One of the generation strategies for generating audio and video data is selected as the final generation strategy, and the audio and video text information corresponding to the virtual reality data is obtained according to user behavior instructions.
进一步地,生成策略可以为通过本地导入策略、链接导入策略、训练生成策略。Further, the generation strategy may be a strategy generated through local import, link import, or training.
本地导入策略为通过数据端口,将预设的音视频数据上传至云端数据库,并返回一个与音视频数据对应的url地址。The local import strategy is to upload the preset audio and video data to the cloud database through the data port, and return a url address corresponding to the audio and video data.
链接导入策略可以为通过预设的MP3或MP4的url地址导入音视频数据。The link import strategy can import audio and video data through the preset url address of MP3 or MP4.
训练生成策略即结合音视频文本信息和配置后的所述音调信息,生成所述音视频数据。The training generation strategy is to generate the audio and video data by combining the audio and video text information and the configured tone information.
其中,音视频文本信息即音频和/或视频所对应的文本信息,用于作为虚拟现实数据对应的字幕信息和/或标签信息。Wherein, the audio-video text information is the text information corresponding to the audio and/or video, which is used as subtitle information and/or label information corresponding to the virtual reality data.
在一些实施例的步骤S320中,根据所述用户行为指令和所述生成策略,配置与所述音视频文本信息对应的音调信息。可以理解的是,在执行完步骤S310根据所述用户行为指令确定生成所述音视频数据的生成策略,并根据所述用户行为指令获取与所述虚拟现实数据关联的音视频文本信息之后,根据步骤S110得到的用户行为指令和步骤S310中确定的生成策略,配置和音视频文本信息中对应的音调信息。In step S320 of some embodiments, according to the user behavior instruction and the generation strategy, configure tone information corresponding to the audio-video text information. It can be understood that after step S310 is executed to determine the generation strategy for generating the audio and video data according to the user behavior instruction, and to obtain the audio and video text information associated with the virtual reality data according to the user behavior instruction, according to The user behavior instructions obtained in step S110 and the generation strategy determined in step S310 configure the corresponding tone information in the audio-video text information.
进一步地,音调信息可以包括但不限于语速信息,音量信息。通过调节语速信息和音量信息的数值,以配置出与音视频文本信息对应的音调信息。Further, the tone information may include but not limited to speech rate information and volume information. The tone information corresponding to the audio-video text information is configured by adjusting the values of the speech rate information and the volume information.
在一些实施例的步骤S330中,基于所述生成策略,结合所述音视频文本信息和配置后的所述音调信息,生成所述音视频数据。可以理解的是,在执行完步骤S320根据所述用户行为指令和所述生成策略,配置与所述音视频文本信息对应的音调信息之后,计算机程序根据生成策略,结合步骤S310中得到的音视频文本信息和步骤S320得到的音调信息,自动生成音视频数据。In step S330 of some embodiments, the audio-video data is generated based on the generating strategy, combining the audio-video text information and the configured tone information. It can be understood that after step S320 is executed to configure the tone information corresponding to the audio-video text information according to the user behavior instruction and the generation strategy, the computer program combines the audio-video information obtained in step S310 according to the generation strategy. The text information and the tone information obtained in step S320 automatically generate audio and video data.
在一些实施例中,参考图4所示,步骤S120还可以包括但不限于步骤S410至S420。In some embodiments, as shown in FIG. 4 , step S120 may also include but not limited to steps S410 to S420.
S410,根据所述用户行为指令对所述虚拟现实数据进行编辑处理,得到与每一操作行为信息分别对应的多个帧数据;S410. Edit the virtual reality data according to the user behavior instruction to obtain a plurality of frame data respectively corresponding to each operation behavior information;
S420,将与每一操作行为信息对应的多个所述帧数据进行组合处理,得到所述帧数据集合。S420. Combine multiple pieces of frame data corresponding to each operation behavior information to obtain the frame data set.
在一些实施例的步骤S410中,根据所述用户行为指令对所述虚拟现实数据进行编辑处理,得到与每一操作行为信息分别对应的多个帧数据。可以理解的是,根据步骤S110得到的用户行为指令对虚拟现实数据进行编辑处理,得到多个帧数据,其具体执行步骤可以为首先根据所述用户行为指令获取与所述虚拟现实数据关联的行为参数信息再,对所述行为参数信息进行编辑处理,以配置出与每一所述操作行为信息对应的多个目标信息数据,再将多个所述目标信息数据和所述虚拟现实数据进行组合处理,得到与每一所述操作行为信息对应的多个所述帧数据。In step S410 of some embodiments, the virtual reality data is edited according to the user behavior instruction to obtain a plurality of frame data respectively corresponding to each operation behavior information. It can be understood that, according to the user behavior instruction obtained in step S110, the virtual reality data is edited to obtain a plurality of frame data, and the specific execution steps may be to first obtain the behavior associated with the virtual reality data according to the user behavior instruction Parameter information and then edit the behavior parameter information to configure a plurality of target information data corresponding to each of the operation behavior information, and then combine the multiple target information data with the virtual reality data processing to obtain a plurality of frames of data corresponding to each of the operation behavior information.
在一些实施例的步骤S420中,将与每一操作行为信息对应的多个所述帧数据进行组合处理,得到所述帧数据集合。可以理解的是,在执行完步骤S410根据所述用户行为指令对所述虚拟现实数据进行编辑处理,得到与每一操作行为信息分别对应的多个帧数据之后,计算机程序将每一个操作行为信息对应的多个帧数据进行组合处理,从而得到帧数据集合。In step S420 of some embodiments, a plurality of frame data corresponding to each operation behavior information are combined to obtain the frame data set. It can be understood that, after step S410 is executed to edit the virtual reality data according to the user behavior instruction, and obtain a plurality of frame data respectively corresponding to each operation behavior information, the computer program converts each operation behavior information to The corresponding multiple frames of data are combined to obtain a set of frame data.
进一步地,帧数据:通常可以记录一种预设用户的行为/动作,其包括开始时间,结束时间,行为/动作类型,行为/动作数据。Further, frame data: usually a preset user behavior/action can be recorded, which includes start time, end time, behavior/action type, and behavior/action data.
行为/动作:标题栏上的字幕、运镜、标签等都是一种行为/动作。Behavior/Action: Subtitles on the title bar, mirroring, labels, etc. are all behaviors/actions.
帧数据集合为对字幕、云镜、标签进行编辑的数据,其包括多个帧数据。The frame data set is data for editing subtitles, cloud mirrors, and labels, and includes multiple frame data.
在一些实施例中,参考图5所示,步骤S410还可以包括但不限于步骤S510至S530。In some embodiments, as shown in FIG. 5 , step S410 may also include but not limited to steps S510 to S530.
S510,根据所述用户行为指令获取与所述虚拟现实数据关联的行为参数信息;S510. Obtain behavior parameter information associated with the virtual reality data according to the user behavior instruction;
S520,对所述行为参数信息进行编辑处理,以配置出与每一所述操作行为信息对应的多个目标信息数据;S520. Edit the behavior parameter information to configure a plurality of target information data corresponding to each operation behavior information;
S530,将多个所述目标信息数据和所述虚拟现实数据进行组合处理,得到与每一所述操作行为信息对应的多个所述帧数据。S530. Combine and process a plurality of the target information data and the virtual reality data to obtain a plurality of the frame data corresponding to each operation behavior information.
在一些实施例的步骤S510中,根据所述用户行为指令获取与所述虚拟现实数据关联的行为参数信息。可以理解的是,根据步骤S110得到的用户行为指令,获取到与虚拟现实数据关联的行为参数信息。In step S510 of some embodiments, behavior parameter information associated with the virtual reality data is acquired according to the user behavior instruction. It can be understood that, according to the user behavior instruction obtained in step S110, the behavior parameter information associated with the virtual reality data is acquired.
进一步地,行为参数信息可以包括但不限于字幕参数信息,运镜参数信息,标签参数信息。字幕即显示的文本信息,运镜即为将当前镜头通过滑动从a角度转到b角度,标签即在虚拟现实数据中添加一个标签,用于标识其属性。Further, the behavior parameter information may include but not limited to subtitle parameter information, camera movement parameter information, and label parameter information. Subtitles are displayed text information, camera movement is to slide the current lens from angle a to angle b, and label is to add a label to the virtual reality data to identify its attributes.
在一些实施例的步骤S520中,对所述行为参数信息进行编辑处理,以配置出与每一所述操作行为信息对应的多个目标信息数据。可以理解的是,在执行完步骤S510根据所述用户行为指令获取与所述虚拟现实数据关联的行为参数信息之后,在所述预设显示界面的预设时间行区域,利用预设的拖拽组件对所述行为参数信息对应的数据块进行拖拽处理,以配置出与所述操作行为信息对应的所述目标信息数据。In step S520 of some embodiments, the behavior parameter information is edited to configure a plurality of target information data corresponding to each operation behavior information. It can be understood that, after step S510 is executed to obtain the behavior parameter information associated with the virtual reality data according to the user behavior instruction, in the preset time line area of the preset display interface, use the preset drag The component drags and drops the data block corresponding to the behavior parameter information to configure the target information data corresponding to the operation behavior information.
进一步地,每一所述预设时间行区域至少包括多个所述数据块,所述数据块用于存储所述行为参数信息。Further, each preset time line area includes at least a plurality of data blocks, and the data blocks are used to store the behavior parameter information.
在一些实施例的步骤S530中,多个所述目标信息数据和所述虚拟现实数据进行组合处理,得到与每一所述操作行为信息对应的多个所述帧数据。可以理解的是,在执行完步骤S520对所述行为参数信息进行编辑处理,以配置出与每一所述操作行为信息对应的多个目标信息数据之后,计算机程序对步骤S520中得到的多个目标信息数据和虚拟现实数据进行组合处理,从而得到对应用户操作行为信息的帧数据。In step S530 of some embodiments, a plurality of the target information data and the virtual reality data are combined to obtain a plurality of the frame data corresponding to each operation behavior information. It can be understood that, after executing step S520 to edit the behavior parameter information to configure a plurality of target information data corresponding to each operation behavior information, the computer program edits the multiple target information data obtained in step S520 The target information data and the virtual reality data are combined and processed to obtain frame data corresponding to user operation behavior information.
在一些实施例中,行为参数信息至少包括:时间信息;目标信息数据至少包括:目标时间数据;数据块至少包括:待拖拽时间块;In some embodiments, the behavior parameter information includes at least: time information; the target information data includes at least: target time data; the data block includes at least: a time block to be dragged;
根据所述拖拽组件获取与所述待拖拽时间块对应的初始坐标位置信息;并获取到预设置于所述待拖拽时间块两侧的拖动元素;Obtain initial coordinate position information corresponding to the time block to be dragged according to the dragging component; and obtain dragging elements preset on both sides of the time block to be dragged;
在所述预设时间行区域根据所述拖动元素对所述待拖拽时间块进行拖拽处理;performing dragging processing on the time block to be dragged according to the dragging element in the preset time line area;
判断对所述待拖拽时间块拖拽后得到的拖拽坐标位置信息与当前时间块对应的当前坐标位置信息是否存在相同位置信息;其中,所述当前时间块为与所述待拖拽时间块对应的所述预设时间行区域中的多个其他时间块;Judging whether the drag coordinate position information obtained after dragging the time block to be dragged and the current coordinate position information corresponding to the current time block have the same position information; wherein, the current time block is the same position information as the time block to be dragged A plurality of other time blocks in the preset time line area corresponding to the block;
若所述拖拽坐标位置信息与所述当前坐标位置信息存在相同位置信息,则对所述待拖拽时间块进行拖拽处理,直至所述拖拽坐标位置信息与所述当前坐标位置信息不存在相同位置信息时,则停止对所述待拖拽时间块进行的拖拽处理,并确定所述拖拽坐标位置信息为目标坐标位置信息;If the dragging coordinate position information and the current coordinate position information have the same position information, dragging is performed on the time block to be dragged until the dragging coordinate position information is different from the current coordinate position information. When the same location information exists, stop the dragging process on the time block to be dragged, and determine that the dragging coordinate location information is the target coordinate location information;
若所述拖拽坐标位置信息与所述当前坐标位置信息不存在相同位置信息,则确定所述拖拽坐标位置信息为目标坐标位置信息;并根据所述目标坐标位置信息和所述初始坐标位置信息,确定与所述待拖拽时间块对应的所述目标时间数据。If the dragging coordinate position information does not have the same position information as the current coordinate position information, then determine that the dragging coordinate position information is target coordinate position information; and according to the target coordinate position information and the initial coordinate position information to determine the target time data corresponding to the time block to be dragged.
进一步地,拖拽组件可以为React-dnd.js,其具有元素拖放功能,并提供了实时获取当前待拖拽时间块的时间块坐标功能,在拖拽的过程中,实时检测待拖拽时间块与当前预设时间行中的其他时间块是否有交集,若没有交集,则可以放置当前待拖拽时间块,并高亮当前行作为可放置的提示,并在拖放成功后,改变当前帧数据的开始时间和结束时间,用以避免时间块之间的碰撞和/或重叠。Further, the dragging component can be React-dnd.js, which has the function of dragging and dropping elements, and provides the function of obtaining the time block coordinates of the current time block to be dragged in real time, and detects the time block to be dragged in real time during the dragging process Whether the time block intersects with other time blocks in the current preset time line. If there is no intersection, the current time block to be dragged can be placed, and the current line is highlighted as a reminder that it can be placed. After the drag and drop is successful, change The start time and end time of the current frame's data, to avoid collisions and/or overlaps between time blocks.
更进一步的,拖动元素为可以为React-draggable.js,在时间块左右两侧放置一个透明的dom元素作为拖动元素,在拖动开始前,记录左/右侧拖动元素的初始位置信息,在拖动元素被拖动时,通过React-draggable.js可以获取到鼠标移动的相对位置,拖动元素拖动开始时记录的初始位置信息和鼠标移动相对位置为拖动元素的最终位置,即得到目标位置信息。Furthermore, the drag element can be React-draggable.js, place a transparent dom element on the left and right sides of the time block as the drag element, and record the initial position of the left/right drag element before the drag starts Information, when the dragging element is dragged, the relative position of the mouse movement can be obtained through React-draggable.js, the initial position information recorded when the dragging element starts dragging and the relative position of the mouse movement is the final position of the dragging element , that is, the target position information is obtained.
在一些实施例中,在生成空间导览数据之后,并在预设显示界面显示空间导览数据对应的三维图像之后,可以随时播放或者进行暂停。并在退出之后,下次再进行查阅该空间导览数据对应的三维图像时,能够根据已生成的空间导览数据对应的链接地址,直接打开所述空间导览数据,并进行进一步地渲染以得到三维图像。In some embodiments, after the spatial navigation data is generated and the three-dimensional image corresponding to the spatial navigation data is displayed on the preset display interface, it can be played or paused at any time. And after exiting, the next time you look up the 3D image corresponding to the space navigation data, you can directly open the space navigation data according to the link address corresponding to the generated space navigation data, and perform further rendering to Get a 3D image.
本发明实施例提供的上述一种空间导览数据的生成方法,通过根据预设用户在预设显示界面的操作行为信息,生成与所述操作行为信息对应的用户行为指令;根据所述用户行为指令获取到虚拟现实数据,并对所述虚拟现实数据进行预处理,得到帧数据集合;根据所述用户行为指令生成与所述虚拟现实数据关联的音视频数据;根据所述音视频数据对应的音视频帧数据和所述帧数据集合,生成空间导览数据;所述空间导览数据用于在所述预设显示界面显示与所述操作行为信息对应的三维图像。通过本发明提供的实施例实现了通过在预设显示界面进行操作,计算机程序自动对虚拟现实数据进行处理以生成空间导览数据,大大的提高了空间导览数据的生成效率。The above-mentioned method for generating space navigation data provided by an embodiment of the present invention generates a user behavior instruction corresponding to the operation behavior information according to the operation behavior information of the preset user on the preset display interface; according to the user behavior The instruction acquires the virtual reality data, and preprocesses the virtual reality data to obtain a frame data set; generates audio and video data associated with the virtual reality data according to the user behavior instruction; The audio and video frame data and the frame data are set to generate space navigation data; the space navigation data is used to display a three-dimensional image corresponding to the operation behavior information on the preset display interface. Through the embodiment provided by the present invention, the computer program can automatically process the virtual reality data to generate the space navigation data by operating on the preset display interface, which greatly improves the generation efficiency of the space navigation data.
下面对本发明提供的一种空间导览数据的生成系统进行描述,下文描述的一种空间导览数据的生成系统与上文描述的一种空间导览数据的生成方法可相互对应参照。A system for generating space navigation data provided by the present invention is described below. The system for generating space navigation data described below and the method for generating space navigation data described above can be referred to in correspondence.
参照图6所示,本发明还提供一种空间导览数据的生成系统,包括:Referring to Figure 6, the present invention also provides a system for generating space navigation data, including:
生成指令单元610,用于根据预设用户在预设显示界面的操作行为信息,生成与所述操作行为信息对应的用户行为指令;A
预处理单元620,用于根据所述用户行为指令获取到虚拟现实数据,并对所述虚拟现实数据进行预处理,得到帧数据集合;A
生成音视频数据单元630,用于根据所述用户行为指令生成与所述虚拟现实数据关联的音视频数据;generating audio and
生成空间导览数据单元640,用于根据所述音视频数据对应的音视频帧数据和所述帧数据集合,生成空间导览数据;所述空间导览数据用于在所述预设显示界面显示与所述操作行为信息对应的三维图像。The space navigation
本发明实施例提供的上述一种空间导览数据的生成系统,通过生成指令单元610,用于根据预设用户在预设显示界面的操作行为信息,生成与所述操作行为信息对应的用户行为指令;预处理单元620,用于根据所述用户行为指令获取到虚拟现实数据,并对所述虚拟现实数据进行预处理,得到帧数据集合;生成音视频数据单元630,用于根据所述用户行为指令生成与所述虚拟现实数据关联的音视频数据;生成空间导览数据单元640,用于根据所述音视频数据对应的音视频帧数据和所述帧数据集合,生成空间导览数据;所述空间导览数据用于在所述预设显示界面显示与所述操作行为信息对应的三维图像。通过本发明提供的实施例实现了通过在预设显示界面进行操作,计算机程序自动对虚拟现实数据进行处理以生成空间导览数据,大大的提高了空间导览数据的生成效率。The above-mentioned system for generating space navigation data provided by the embodiment of the present invention is used to generate the user behavior corresponding to the operation behavior information according to the operation behavior information of the preset user on the preset display interface through the
根据本发明提供的一种空间导览数据的生成系统,预处理单元620,还具体用于根据所述用户行为指令获取加载所述虚拟现实数据的加载驱动数据;根据所述加载驱动数据和预设的轻量级框架,从预设存储空间获取所述虚拟现实数据。According to a system for generating space navigation data provided by the present invention, the
根据本发明提供的一种空间导览数据的生成系统,生成音视频数据单元630,具体还用于根据所述用户行为指令确定生成所述音视频数据的生成策略,并根据所述用户行为指令获取与所述虚拟现实数据关联的音视频文本信息;根据所述用户行为指令和所述生成策略,配置与所述音视频文本信息对应的音调信息;基于所述生成策略,结合所述音视频文本信息和配置后的所述音调信息,生成所述音视频数据。According to a system for generating space navigation data provided by the present invention, the generating audio and
根据本发明提供的一种空间导览数据的生成系统,预处理单元620,具体还用于根据所述用户行为指令对所述虚拟现实数据进行编辑处理,得到与每一操作行为信息分别对应的多个帧数据;将与每一操作行为信息对应的多个所述帧数据进行组合处理,得到所述帧数据集合。According to a system for generating space navigation data provided by the present invention, the
根据本发明提供的一种空间导览数据的生成系统,预处理单元620,具体还用于根据所述用户行为指令获取与所述虚拟现实数据关联的行为参数信息;对所述行为参数信息进行编辑处理,以配置出与每一所述操作行为信息对应的多个目标信息数据;将多个所述目标信息数据和所述虚拟现实数据进行组合处理,得到与每一所述操作行为信息对应的多个所述帧数据。According to a system for generating space navigation data provided by the present invention, the
根据本发明提供的一种空间导览数据的生成系统,预处理单元620,具体还用于在所述预设显示界面的预设时间行区域,利用预设的拖拽组件对所述行为参数信息对应的数据块进行拖拽处理,以配置出与所述操作行为信息对应的所述目标信息数据;其中,每一所述预设时间行区域至少包括多个所述数据块,所述数据块用于存储所述行为参数信息。According to a system for generating space navigation data provided by the present invention, the
根据本发明提供的一种空间导览数据的生成系统,预处理单元620,具体还用于根据所述拖拽组件获取与所述待拖拽时间块对应的初始坐标位置信息;并获取到预设置于所述待拖拽时间块两侧的拖动元素;在所述预设时间行区域根据所述拖动元素对所述待拖拽时间块进行拖拽处理;判断对所述待拖拽时间块拖拽后得到的拖拽坐标位置信息与当前时间块对应的当前坐标位置信息是否存在相同位置信息;其中,所述当前时间块为与所述待拖拽时间块对应的所述预设时间行区域中的多个其他时间块;若所述拖拽坐标位置信息与所述当前坐标位置信息存在相同位置信息,则对所述待拖拽时间块进行拖拽处理,直至所述拖拽坐标位置信息与所述当前坐标位置信息不存在相同位置信息时,则停止对所述待拖拽时间块进行的拖拽处理,并确定所述拖拽坐标位置信息为目标坐标位置信息;若所述拖拽坐标位置信息与所述当前坐标位置信息不存在相同位置信息,则确定所述拖拽坐标位置信息为目标坐标位置信息;并根据所述目标坐标位置信息和所述初始坐标位置信息,确定与所述待拖拽时间块对应的所述目标时间数据。According to a system for generating space navigation data provided by the present invention, the preprocessing unit 620 is further configured to obtain the initial coordinate position information corresponding to the time block to be dragged according to the dragging component; dragging elements set on both sides of the time block to be dragged; dragging the time block to be dragged according to the drag element in the preset time line area; judging the time block to be dragged Whether the drag coordinate position information obtained after the time block is dragged and the current coordinate position information corresponding to the current time block have the same position information; wherein, the current time block is the preset time block corresponding to the time block to be dragged A plurality of other time blocks in the time line area; if the dragging coordinate position information and the current coordinate position information have the same position information, dragging is performed on the time block to be dragged until the dragging When the coordinate position information does not have the same position information as the current coordinate position information, stop the dragging process on the time block to be dragged, and determine that the dragged coordinate position information is the target coordinate position information; if the If the drag coordinate position information does not have the same position information as the current coordinate position information, it is determined that the drag coordinate position information is the target coordinate position information; and according to the target coordinate position information and the initial coordinate position information, The target time data corresponding to the time block to be dragged is determined.
图7示例了一种电子设备的实体结构示意图,如图7所示,该电子设备可以包括:处理器(processor)710、通信接口(Communications Interface)720、存储器(memory)730和通信总线740,其中,处理器710,通信接口720,存储器730通过通信总线740完成相互间的通信。处理器710可以调用存储器730中的逻辑指令,以执行一种空间导览数据的生成方法,该方法包括:通过根据预设用户在预设显示界面的操作行为信息,生成与所述操作行为信息对应的用户行为指令;根据所述用户行为指令获取到虚拟现实数据,并对所述虚拟现实数据进行预处理,得到帧数据集合;根据所述用户行为指令生成与所述虚拟现实数据关联的音视频数据;根据所述音视频数据对应的音视频帧数据和所述帧数据集合,生成空间导览数据;所述空间导览数据用于在所述预设显示界面显示与所述操作行为信息对应的三维图像。FIG. 7 illustrates a schematic diagram of the physical structure of an electronic device. As shown in FIG. 7, the electronic device may include: a processor (processor) 710, a communication interface (Communications Interface) 720, a memory (memory) 730, and a
此外,上述的存储器730中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above-mentioned logic instructions in the
另一方面,本发明还提供一种计算机程序产品,所述计算机程序产品包括计算机程序,计算机程序可存储在非暂态计算机可读存储介质上,所述计算机程序被处理器执行时,计算机能够执行上述各方法所提供的一种空间导览数据的生成方法,该方法包括:通过根据预设用户在预设显示界面的操作行为信息,生成与所述操作行为信息对应的用户行为指令;根据所述用户行为指令获取到虚拟现实数据,并对所述虚拟现实数据进行预处理,得到帧数据集合;根据所述用户行为指令生成与所述虚拟现实数据关联的音视频数据;根据所述音视频数据对应的音视频帧数据和所述帧数据集合,生成空间导览数据;所述空间导览数据用于在所述预设显示界面显示与所述操作行为信息对应的三维图像。On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can A method for generating space navigation data provided by performing the above-mentioned methods, the method includes: generating a user behavior instruction corresponding to the operation behavior information according to the operation behavior information of the preset user on the preset display interface; The user behavior instruction acquires virtual reality data, and preprocesses the virtual reality data to obtain a frame data set; generates audio and video data associated with the virtual reality data according to the user behavior instruction; The audio and video frame data corresponding to the video data and the frame data set generate space navigation data; the space navigation data is used to display a three-dimensional image corresponding to the operation behavior information on the preset display interface.
又一方面,本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各方法提供的一种空间导览数据的生成方法,该方法包括:通过根据预设用户在预设显示界面的操作行为信息,生成与所述操作行为信息对应的用户行为指令;根据所述用户行为指令获取到虚拟现实数据,并对所述虚拟现实数据进行预处理,得到帧数据集合;根据所述用户行为指令生成与所述虚拟现实数据关联的音视频数据;根据所述音视频数据对应的音视频帧数据和所述帧数据集合,生成空间导览数据;所述空间导览数据用于在所述预设显示界面显示与所述操作行为信息对应的三维图像。In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it is implemented to perform the generation of space navigation data provided by the above-mentioned methods. The method includes: generating a user behavior instruction corresponding to the operation behavior information according to the operation behavior information of the preset user on the preset display interface; acquiring virtual reality data according to the user behavior instruction, and Preprocessing the virtual reality data to obtain a frame data set; generating audio and video data associated with the virtual reality data according to the user behavior instruction; according to the audio and video frame data corresponding to the audio and video data and the frame data set, Generate space navigation data; the space navigation data is used to display a three-dimensional image corresponding to the operation behavior information on the preset display interface.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without any creative efforts.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the implementations, those skilled in the art can clearly understand that each implementation can be implemented by means of software plus a necessary general hardware platform, and of course also by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic discs, optical discs, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210946303.7A CN115499478B (en) | 2022-08-08 | 2022-08-08 | A method, system, device and storage medium for generating spatial navigation data |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210946303.7A CN115499478B (en) | 2022-08-08 | 2022-08-08 | A method, system, device and storage medium for generating spatial navigation data |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN115499478A true CN115499478A (en) | 2022-12-20 |
| CN115499478B CN115499478B (en) | 2025-03-25 |
Family
ID=84466002
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210946303.7A Active CN115499478B (en) | 2022-08-08 | 2022-08-08 | A method, system, device and storage medium for generating spatial navigation data |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115499478B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118732900A (en) * | 2024-09-02 | 2024-10-01 | 元与创科技(南京)有限公司 | Scene analysis method and system based on virtual reality technology |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20160300392A1 (en) * | 2015-04-10 | 2016-10-13 | VR Global, Inc. | Systems, media, and methods for providing improved virtual reality tours and associated analytics |
| CN106683201A (en) * | 2016-12-23 | 2017-05-17 | 深圳市豆娱科技有限公司 | Scene editing method and device based on three-dimensional virtual reality |
| KR20180044653A (en) * | 2016-10-24 | 2018-05-03 | 주식회사 웰스텍 | System for experiencing tour by V.R and for servicing tour plan |
| CN108830941A (en) * | 2018-06-25 | 2018-11-16 | 中国移动通信集团西藏有限公司 | 3D guide method |
| CN112002301A (en) * | 2020-06-05 | 2020-11-27 | 四川纵横六合科技股份有限公司 | Text-based automatic video generation method |
| CN113625863A (en) * | 2020-05-07 | 2021-11-09 | 艾索擘(上海)科技有限公司 | Method, system, device and storage medium for creating autonomous navigation virtual scene |
| US20220065651A1 (en) * | 2020-08-28 | 2022-03-03 | Here Global B.V. | Method, apparatus, and system for generating virtual markers for journey activities |
| CN114201094A (en) * | 2021-12-10 | 2022-03-18 | 中国电信股份有限公司 | Virtual reality display method, device, system and storage medium |
-
2022
- 2022-08-08 CN CN202210946303.7A patent/CN115499478B/en active Active
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20160300392A1 (en) * | 2015-04-10 | 2016-10-13 | VR Global, Inc. | Systems, media, and methods for providing improved virtual reality tours and associated analytics |
| KR20180044653A (en) * | 2016-10-24 | 2018-05-03 | 주식회사 웰스텍 | System for experiencing tour by V.R and for servicing tour plan |
| CN106683201A (en) * | 2016-12-23 | 2017-05-17 | 深圳市豆娱科技有限公司 | Scene editing method and device based on three-dimensional virtual reality |
| CN108830941A (en) * | 2018-06-25 | 2018-11-16 | 中国移动通信集团西藏有限公司 | 3D guide method |
| CN113625863A (en) * | 2020-05-07 | 2021-11-09 | 艾索擘(上海)科技有限公司 | Method, system, device and storage medium for creating autonomous navigation virtual scene |
| CN112002301A (en) * | 2020-06-05 | 2020-11-27 | 四川纵横六合科技股份有限公司 | Text-based automatic video generation method |
| US20220065651A1 (en) * | 2020-08-28 | 2022-03-03 | Here Global B.V. | Method, apparatus, and system for generating virtual markers for journey activities |
| CN114201094A (en) * | 2021-12-10 | 2022-03-18 | 中国电信股份有限公司 | Virtual reality display method, device, system and storage medium |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118732900A (en) * | 2024-09-02 | 2024-10-01 | 元与创科技(南京)有限公司 | Scene analysis method and system based on virtual reality technology |
| CN118732900B (en) * | 2024-09-02 | 2024-11-05 | 元与创科技(南京)有限公司 | Scene analysis method and system based on virtual reality technology |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115499478B (en) | 2025-03-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20190332400A1 (en) | System and method for cross-platform sharing of virtual assistants | |
| CN109771951B (en) | Game map generation method, device, storage medium and electronic equipment | |
| US20180356885A1 (en) | Systems and methods for directing attention of a user to virtual content that is displayable on a user device operated by the user | |
| CN103092612B (en) | Realize method and the electronic installation of Android operation system 3D desktop pinup picture | |
| WO2025251691A1 (en) | Three-dimensional model reconstruction and image generation method, device, storage medium, and program product | |
| WO2017092303A1 (en) | Virtual reality scenario model establishing method and device | |
| US20180143741A1 (en) | Intelligent graphical feature generation for user content | |
| WO2024244666A1 (en) | Animation generation method and apparatus for avatar, and electronic device, computer program product and computer-readable storage medium | |
| CN113411537A (en) | Video call method, device, terminal and storage medium | |
| CN114417452B (en) | Building information model processing method and related device | |
| CN113989442B (en) | Building information model construction method and related device | |
| CN115499478A (en) | Method, system, device and storage medium for generating space navigation data | |
| WO2023236815A1 (en) | Three-dimensional model transmission method and apparatus, and storage medium and program product | |
| CN111589111A (en) | Image processing method, device, equipment and storage medium | |
| US8462163B2 (en) | Computer system and motion control method | |
| US9396574B2 (en) | Choreography of animated crowds | |
| CN110719415B (en) | A video image processing method, apparatus, electronic device and computer readable medium | |
| CN111949122A (en) | Method and device for generating virtual roaming data | |
| CN118710779A (en) | Animation playback method, device, medium, electronic equipment and program product | |
| CN106020809A (en) | Network game literature generation system | |
| CN113609194B (en) | Data processing method, device, storage medium and electronic device | |
| CN111935534B (en) | Method and device for playing back recorded video | |
| CN116156078A (en) | A special effect generation method, device, computer equipment and storage medium | |
| CN115601528A (en) | Multi-view remote mixed reality image generation method, device, equipment and medium | |
| CN114913277A (en) | Method, device, equipment and medium for three-dimensional interactive display of object |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |