[go: up one dir, main page]

CN102148818B - Method and system for realizing distributed virtual reality and visualization on mobile device - Google Patents

Method and system for realizing distributed virtual reality and visualization on mobile device Download PDF

Info

Publication number
CN102148818B
CN102148818B CN 201010612833 CN201010612833A CN102148818B CN 102148818 B CN102148818 B CN 102148818B CN 201010612833 CN201010612833 CN 201010612833 CN 201010612833 A CN201010612833 A CN 201010612833A CN 102148818 B CN102148818 B CN 102148818B
Authority
CN
China
Prior art keywords
virtual reality
visualization
mobile device
server
command
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.)
Active
Application number
CN 201010612833
Other languages
Chinese (zh)
Other versions
CN102148818A (en
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 Tong Jian Telit Intelligent Systems Engineering Technology Co ltd
Original Assignee
Peking University
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 Peking University filed Critical Peking University
Priority to CN 201010612833 priority Critical patent/CN102148818B/en
Publication of CN102148818A publication Critical patent/CN102148818A/en
Application granted granted Critical
Publication of CN102148818B publication Critical patent/CN102148818B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

本发明公开了一种移动设备上实现分布式虚拟现实与可视化的方法及系统,属于图形与可视化技术领域。本方法为:1)建立移动设备和虚拟现实与可视化服务器的通信连接;2)移动设备将交互操作请求命令解析为虚拟现实与可视化系统的交互命令;3)移动设备将交互命令发送给虚拟现实与可视化系统;4)虚拟现实与可视化系统根据交互命令执行相应的计算,并将执行结果发送给移动设备;5)移动设备对接收数据进行解码,显示虚拟场景与可视化结果。本系统包括移动设备上的客户端、虚拟现实与可视化服务器上的服务器端;移动设备和虚拟现实与可视化服务器通过网络连接。本发明可在普通移动设备上进行高精度的三维场景的浏览和漫游,绘制真实感大大提高。

Figure 201010612833

The invention discloses a method and system for realizing distributed virtual reality and visualization on a mobile device, belonging to the technical field of graphics and visualization. The method is as follows: 1) Establishing a communication connection between the mobile device and the virtual reality and visualization server; 2) The mobile device parses the interactive operation request command into an interactive command between the virtual reality and the visualization system; 3) The mobile device sends the interactive command to the virtual reality 4) The virtual reality and visualization system performs corresponding calculations according to interactive commands, and sends the execution results to the mobile device; 5) The mobile device decodes the received data and displays the virtual scene and visualization results. The system includes a client on a mobile device and a server on a virtual reality and visualization server; the mobile device and the virtual reality and visualization server are connected through a network. The invention can perform high-precision browsing and roaming of three-dimensional scenes on common mobile devices, and greatly improves the realism of drawing.

Figure 201010612833

Description

移动设备上实现分布式虚拟现实与可视化的方法及系统Method and system for realizing distributed virtual reality and visualization on mobile devices

技术领域 technical field

本发明涉及一种在移动设备上实现分布式虚拟现实与可视化的方法,属于虚拟现实与技术、图形与可视化技术、网络通信技术领域。The invention relates to a method for realizing distributed virtual reality and visualization on a mobile device, and belongs to the technical fields of virtual reality and technology, graphics and visualization technology, and network communication.

背景技术 Background technique

当今社会,移动设备以及移动设备上的各种应用软件越来越普及。目前移动设备上的移动计算芯片如最新的嵌入式ARM架构的最新版本Cortex-A9版本,但是内存最高容量为512M,核心频率最高为2GHZ,但是其静态存储与动态能力以及计算性能与传统基于X86框架的计算机以及服务器都相去甚远,尤其该架构下GPU方面性能最为强劲的专用型号为Mali-T604,其参数为支持OpenGL ES 1.1/2.0,几何处理能力极限为每秒千万级别,像素填充率极限为每秒百兆级别,仅仅能够支持一些轻量级的3D数字娱乐,但在虚拟现实与可视化系统中一幅虚拟场景可能包含百万千万级的面片,还可能包含有大量的物理模型、矢量线画,或其他虚拟现实内容如光照、波浪、天空等,完成这些庞大数据的计算和绘制已远远超出移动设备的计算和绘制能力,而且如何存储这些海量数据也面临挑战。In today's society, mobile devices and various application software on the mobile devices are becoming more and more popular. At present, mobile computing chips on mobile devices are like the latest version of the latest embedded ARM architecture, the Cortex-A9 version, but the maximum memory capacity is 512M, and the core frequency is up to 2GHZ, but its static storage and dynamic capabilities and computing performance are comparable to those traditionally based on X86 The computer and server of the frame are far apart, especially the special model with the most powerful GPU performance under this architecture is Mali-T604, its parameters support OpenGL ES 1.1/2.0, the limit of geometric processing capacity is tens of millions per second, and pixel filling The rate limit is hundreds of megabits per second, which can only support some lightweight 3D digital entertainment, but in virtual reality and visualization systems, a virtual scene may contain tens of millions of meshes, and may also contain a large number of Physical models, vector line drawings, or other virtual reality content such as lighting, waves, sky, etc., the calculation and rendering of these huge data has far exceeded the computing and rendering capabilities of mobile devices, and how to store these massive data is also facing challenges.

因此目前的移动设备对一些高级的三维图形绘制和计算应用完全无能为力,更不要说针对具有海量图形数据(包含几何、纹理、影像等)的虚拟现实环境进行实时绘制和进行相关的可视化应用。Therefore, current mobile devices are completely powerless for some advanced 3D graphics rendering and computing applications, not to mention real-time rendering and related visualization applications for virtual reality environments with massive graphics data (including geometry, texture, images, etc.).

发明内容 Contents of the invention

针对移动设备上进行三维图形绘制、虚拟现实与可视化对计算能力和存储能力、三维图形处理能力的限制,本发明的目的在于提出了一种移动设备上实现虚拟现实与可视化功能的方法及系统。Aiming at the limitations of three-dimensional graphics rendering, virtual reality and visualization on mobile devices to computing power, storage capacity, and three-dimensional graphics processing capabilities, the purpose of the present invention is to propose a method and system for realizing virtual reality and visualization functions on mobile devices.

在移动设备上的虚拟现实与可视化系统的计算功能、存储功能以及三维图形处理功能通过分布在虚拟现实与可视化高性能GPU集群服务器上来实现,而移动设备本身仅仅提供用户交互图形界面和交互功能、用户交互指令的解析与发送、虚拟现实与可视化绘制出的流媒体的接收和解码等功能,这对移动设备计算性能的要求很低,几乎只需具备显示图像的功能即可。这样整个虚拟现实及可视化应用的计算负载就几乎完全由GPU集群服务器来承担,GPU集群服务器负责完成整个虚拟现实计算与绘制的所有功能,并且负责接收和执行由移动设备发送来的用户控制指令,并将三维虚拟场景绘制的结果和可视化的结果压缩编码以流媒体为载体反馈给移动设备。依此框架我们开发出原型系统,测试结果表明,该系统实现了在移动设备上进行灵活自如的高效虚拟现实和可视化系统功能,远远超越单个移动设备所能够具备和完成计算和存储的功能,而交互控制也可达到实时。另外医学成像可视化:数字层析X射线照相组合,地球科学可视化:石油与天然气勘探,计算生物学:分子动力学模拟等一系列与可视化相关的应用也可以在此框架之下实现移动设备上的应用。数字地球系统研发和应用的业界领先者Google已经尝试按照现行模式将Google Map移植到移动设备上,推出了GoogleMap Mobile(谷歌地图手机版),使用者可以使用移动设备如PocketPC平台下在线浏览全球影像,但是其实现架构与我们的方法完全不同。The computing function, storage function and three-dimensional graphics processing function of the virtual reality and visualization system on the mobile device are realized by distributing on the virtual reality and visualization high-performance GPU cluster server, while the mobile device itself only provides user interactive graphical interface and interactive functions, Functions such as the analysis and sending of user interaction instructions, the receiving and decoding of streaming media drawn by virtual reality and visualization, etc., have very low requirements on the computing performance of mobile devices, and almost only need to have the function of displaying images. In this way, the computing load of the entire virtual reality and visualization application is almost completely borne by the GPU cluster server. The GPU cluster server is responsible for completing all functions of the entire virtual reality calculation and rendering, and is responsible for receiving and executing user control commands sent by mobile devices. And the results of 3D virtual scene rendering and visualization are compressed and coded and fed back to the mobile device with streaming media as the carrier. Based on this framework, we have developed a prototype system. The test results show that the system realizes flexible and efficient virtual reality and visualization system functions on mobile devices, far exceeding the computing and storage functions that a single mobile device can possess and complete. The interactive control can also be realized in real time. In addition, a series of visualization-related applications such as medical imaging visualization: digital tomography, earth science visualization: oil and gas exploration, computational biology: molecular dynamics simulation, etc. can also be implemented on mobile devices under this framework. application. Google, the industry leader in the development and application of digital earth systems, has tried to transplant Google Map to mobile devices according to the current model, and launched GoogleMap Mobile (Google Map mobile version), users can use mobile devices such as PocketPC to browse global images online , but its implementation architecture is completely different from our approach.

本发明的技术方案为:Technical scheme of the present invention is:

一种移动设备上实现分布式虚拟现实与可视化的方法,其步骤为:A method for realizing distributed virtual reality and visualization on a mobile device, the steps of which are:

1)建立移动设备和虚拟现实与可视化服务器的通信连接;其中,移动设备包括一用户图形界面和进行虚拟现实与可视化显示的客户端,虚拟现实与可视化服务器包括一虚拟现实与可视化系统;1) Establishing a communication connection between the mobile device and the virtual reality and visualization server; wherein, the mobile device includes a graphical user interface and a client for virtual reality and visualization display, and the virtual reality and visualization server includes a virtual reality and visualization system;

2)移动设备通过所述用户图形界面接收交互操作请求命令,并将其解析为虚拟现实与可视化系统的交互命令;2) The mobile device receives an interactive operation request command through the graphical user interface, and parses it into an interactive command between the virtual reality and the visualization system;

3)移动设备将解析的交互命令打包成数据包发送给虚拟现实与可视化服务器;3) The mobile device packs the parsed interactive command into a data packet and sends it to the virtual reality and visualization server;

4)虚拟现实与可视化服务器从数据包中解析出交互命令,并将其发送给所述虚拟现实与可视化系统;4) The virtual reality and visualization server parses out the interactive command from the data packet, and sends it to the virtual reality and visualization system;

5)虚拟现实与可视化系统根据交互命令执行相应的计算,然后进行虚拟绘制并将执行结果压缩编码为流媒体发送给移动设备;5) The virtual reality and visualization system performs corresponding calculations according to interactive commands, then performs virtual rendering and compresses and encodes the execution results as streaming media and sends them to mobile devices;

6)移动设备对接收数据进行解码,显示虚拟场景与可视化结果。6) The mobile device decodes the received data and displays the virtual scene and visualization results.

进一步的,如果交互操作请求命令是所述用户图形界面的三维主窗口视图之外的命令,则虚拟现实与可视化服务器根据设定的图形界面命令消息响应函数解析该命令。Further, if the interactive operation request command is a command other than the three-dimensional main window view of the graphical user interface, the virtual reality and visualization server parses the command according to the set graphical interface command message response function.

进一步的,如果交互操作请求命令是所述用户图形界面的三维主窗口视图之内的命令,其命令格式为二维视图的坐标,则虚拟现实与可视化服务器将该二维视图坐标格式命令映射为对应三维空间中的对象并根据在该窗口之内的动作前后关联,解析出对三维对象的操作动作命令。Further, if the interactive operation request command is a command within the three-dimensional main window view of the graphical user interface, and its command format is the coordinates of the two-dimensional view, then the virtual reality and visualization server maps the two-dimensional view coordinate format command to Corresponding to the objects in the three-dimensional space and according to the contextual association of the actions in the window, the operation commands for the three-dimensional objects are analyzed.

进一步的,所述虚拟现实与可视化系统包括一并行虚拟绘制子系统;当本次所有虚拟现实与可视化计算任务完成之后,所述并行虚拟绘制子系统进行三维图形虚拟绘制。Further, the virtual reality and visualization system includes a parallel virtual rendering subsystem; after all virtual reality and visualization computing tasks are completed this time, the parallel virtual rendering subsystem performs virtual rendering of three-dimensional graphics.

进一步的,所述并行虚拟绘制子系统有GPU集群构建;所述并行虚拟绘制子系统采用sort-first策略进行三维图形绘制。Further, the parallel virtual rendering subsystem is constructed by a GPU cluster; the parallel virtual rendering subsystem adopts a sort-first strategy for three-dimensional graphics rendering.

进一步的,所述用户图像界面包括:菜单、按钮、工具栏、对话框、快捷键、三维导航图形界面以及三维场景中交互手段的容器。Further, the user image interface includes: menus, buttons, toolbars, dialog boxes, shortcut keys, three-dimensional navigation graphic interfaces, and containers for interactive means in three-dimensional scenes.

一种移动设备上实现分布式虚拟现实与可视化的系统,其特征在于包括移动设备上的客户端、虚拟现实与可视化服务器上的服务器端;所述移动设备和所述虚拟现实与可视化服务器通过通信网络连接;其中,所述客户端包括一用户图形界面、一命令解析与发送模块、流媒体解码模块、流媒体绘制模块;所述服务器端包括一虚拟现实与可视化系统、命令接收模块、流媒体压缩编码模块;A system for realizing distributed virtual reality and visualization on a mobile device, characterized in that it includes a client on the mobile device, a server on the virtual reality and visualization server; the mobile device and the virtual reality and visualization server communicate through Network connection; wherein, the client includes a graphical user interface, a command parsing and sending module, a streaming media decoding module, a streaming media drawing module; the server end includes a virtual reality and visualization system, an order receiving module, a streaming media compression coding module;

所述用户图形界面,用于接收交互操作请求命令;The graphical user interface is configured to receive an interactive operation request command;

所述命令解析与发送模块,用于将交互操作请求命令解析为虚拟现实与可视化系统的交互命令,并将其打包成数据包发送给所述命令接收模块;The command parsing and sending module is used to parse the interactive operation request command into an interactive command of the virtual reality and visualization system, and pack it into a data packet and send it to the command receiving module;

所述命令接收模块,用于对接收的数据包进行存储与解析,并将解析出的交互命令发送给所述虚拟现实与可视化系统;The command receiving module is used to store and analyze the received data packets, and send the parsed interactive commands to the virtual reality and visualization system;

所述虚拟现实与可视化系统,用于根据交互命令执行相应的计算和虚拟绘制,并将执行结果发送给流媒体压缩编码模块;The virtual reality and visualization system is used to perform corresponding calculations and virtual renderings according to interactive commands, and send the execution results to the streaming media compression coding module;

所述流媒体压缩编码模块,用于对执行结果进行压缩编码为流媒体,并将其发送给所述流媒体解码模块;The streaming media compression encoding module is used to compress and encode the execution result as streaming media, and send it to the streaming media decoding module;

所述流媒体解码模块,用于对接收数据进行解码;The streaming media decoding module is used to decode the received data;

所述流媒体绘制模块,用于对解码后的数据绘制显示虚拟场景与可视化结果。The streaming media rendering module is used for rendering and displaying virtual scenes and visualization results on the decoded data.

进一步的,所述虚拟现实与可视化系统包括一并行虚拟绘制子系统,用于对本次所有虚拟现实与可视化计算任务完成之后的数据进行三维图形虚拟绘制。Further, the virtual reality and visualization system includes a parallel virtual rendering subsystem, which is used to perform virtual rendering of three-dimensional graphics on the data after all virtual reality and visualization computing tasks are completed this time.

进一步的,所述并行虚拟绘制子系统有GPU集群构建;所述并行虚拟绘制子系统采用sort-first策略进行三维图形绘制。Further, the parallel virtual rendering subsystem is constructed by a GPU cluster; the parallel virtual rendering subsystem adopts a sort-first strategy for three-dimensional graphics rendering.

进一步的,所述服务器端采用独立服务器架构或分布式服务器架构。Further, the server adopts an independent server architecture or a distributed server architecture.

与现有技术相比,本发明的积极效果为:Compared with prior art, positive effect of the present invention is:

谷歌地图手机版仅仅支持一般性的GIS功能,例如地图浏览,地点搜索导航等功能,不具备类似虚拟现实系统的高度可交互性、对三维场景的可操作性和控制性,更不具备三维虚拟现实系统的功能(包括三维虚拟场景的编辑构造、修改,虚拟仿真等)。而且其三维的功能非常弱,仅仅支持非常有限的伪三维浏览模式,无法进行高精度的三维场景的浏览和漫游,三维场景的绘制真实感度差。The mobile version of Google Maps only supports general GIS functions, such as map browsing, location search and navigation, etc. It does not have the high interactivity similar to virtual reality systems, the operability and controllability of 3D scenes, and it does not have 3D virtual reality. Functions of the reality system (including editing construction, modification of 3D virtual scene, virtual simulation, etc.). And its three-dimensional function is very weak, only supports very limited pseudo three-dimensional browsing mode, can't carry out high-precision browsing and roaming of three-dimensional scenes, and the drawing of three-dimensional scenes has poor realism.

本发明的创新性体现在:解决了在硬件性能相对差的移动计算设备上完成了与用现有普通个人计算机和高性能图形工作站、服务器上能够实现的实时虚拟现实与可视化系统一样的功能,而后台采用GPU集群作为高性能计算的服务器来实现虚拟现实与可视化功能使得用户在移动设备上的虚拟现实功能体验效果甚至比在普通的个人计算机和高性能图形工作站上的更加完美。The innovation of the present invention is embodied in: solving the problem of completing the same functions as the real-time virtual reality and visualization system that can be realized on the existing common personal computer, high-performance graphics workstation and server on the mobile computing device with relatively poor hardware performance, In the background, GPU clusters are used as high-performance computing servers to realize virtual reality and visualization functions, so that the user's experience of virtual reality functions on mobile devices is even more perfect than that on ordinary personal computers and high-performance graphics workstations.

附图说明 Description of drawings

图1、本发明移动分布式虚拟现实与可视化系统的运行流程图;Fig. 1, the operation flowchart of mobile distributed virtual reality and visualization system of the present invention;

图2、本发明移动设备上分布式虚拟现实与可视化系统结构图。Fig. 2 is a structural diagram of the distributed virtual reality and visualization system on the mobile device of the present invention.

具体实施方式 Detailed ways

下面结合附图,对本发明进行进一步的详细描述:Below in conjunction with accompanying drawing, the present invention is described in further detail:

本发明的移动分布式虚拟现实与可视化系统的运行流程如图1所示:The operation process of the mobile distributed virtual reality and visualization system of the present invention is as shown in Figure 1:

1)系统的总体概要流程如下:移动设备上的客户端与虚拟现实与可视化应用服务器连接,将计算和操作请求发送给虚拟现实与可视化应用服务器上的虚拟现实应用系统,应用系统将相应的计算和执行结果发送给移动设备上的客户端,一个虚拟现实与可视化应用服务器可以为多个移动设备提供支持和服务;1) The general overview of the system is as follows: the client on the mobile device connects with the virtual reality and visualization application server, and sends calculation and operation requests to the virtual reality application system on the virtual reality and visualization application server, and the application system sends the corresponding calculation and execution results are sent to the client on the mobile device, and a virtual reality and visualization application server can provide support and services for multiple mobile devices;

2)用户根据移动设备上的客户端接收到并显示的结果,通过图形用户界面交互控制整个虚拟现实和可视化系统中的各项功能,用户界面分为两个部分:1)菜单、按钮、工具条等三维主窗口视图之外的图形界面(或者称为窗口主框架)(2)三维主窗口视图之内的交互界面。以上界面由移动设备上的客户端生成,服务器端是不存在交互图形界面的。交互界面其中包括通过键盘、鼠标、菜单图形界面等交互方式浏览虚拟现实系统中的三维虚拟场景,选择、拾取三维虚拟对象,添加、删除、修改三维对象以及其相关状态和属性,进行虚拟场景中三维物体的各种形式的运动控制,调整三维环境的各种绘制属性(例如光照,材质,阴影,真实感绘制等级),进行三维海量数据集合的可视化等一系列与虚拟现实系统相关的各项功能和操作;2) According to the results received and displayed by the client on the mobile device, the user interactively controls various functions in the entire virtual reality and visualization system through the graphical user interface. The user interface is divided into two parts: 1) menu, button, tool Graphical interface (or called window main frame) outside the three-dimensional main window view such as bar (2) Interactive interface within the three-dimensional main window view. The above interface is generated by the client on the mobile device, and there is no interactive graphical interface on the server. The interactive interface includes browsing the 3D virtual scene in the virtual reality system through keyboard, mouse, menu graphic interface and other interactive ways, selecting and picking up 3D virtual objects, adding, deleting, modifying 3D objects and their related states and attributes, Various forms of motion control of 3D objects, adjustment of various rendering attributes of the 3D environment (such as lighting, material, shadow, realistic rendering level), visualization of 3D massive data collections, etc. A series of items related to virtual reality systems function and operation;

本系统与远程控制(例如远程桌面连接)不同,本系统的交互图形界面完全由移动设备上的客户端负责,服务器端只是提供后台的服务,不会向远程移动用户提供任何交互界面,而且服务器端也不会生成任何图形用户界面,更不会在服务器上显示任何界面内容,服务器上的用户可以自由使用服务器进行其他的各种计算与显示任务,而根本感觉不到远程移动客户端的存在。另外远程控制属于系统级的技术,而本发明属于应用级的技术。This system is different from remote control (such as remote desktop connection). The interactive graphical interface of this system is completely in charge of the client on the mobile device. The server only provides background services and does not provide any interactive interface to remote mobile users. The terminal will not generate any graphical user interface, and will not display any interface content on the server. Users on the server can freely use the server to perform other various computing and display tasks, and do not feel the existence of the remote mobile client at all. In addition, the remote control belongs to the technology of the system level, but the present invention belongs to the technology of the application level.

3)虚拟现实系统中的各项计算和绘制功能由虚拟现实与可视化应用服务器和后台的各种服务器集群共同完成。3) Various computing and drawing functions in the virtual reality system are jointly completed by the virtual reality and visualization application server and various server clusters in the background.

●其中数据服务器负责向应用服务器传递数据,而数据服务器之间的协作和调度是通过协调服务器实现。在分布式虚拟现实平台中,数据服务器负责海量地形数据、可视化数据、模型数据等的保存与分发。数据服务器的任务较重,因此平台中可以有多个数据服务器,数据服务器通过协调服务器来平衡负载。当应用服务器所请求的虚拟环境数据不在当前所连接的某一个服务器时,协调服务器会根据用户需要浏览或者可视化的图形、影像、多媒体等数据的请求计算出数据在分布式环境中的位置(即在哪一台数据服务器上),由应用服务器与存储有该数据的数据服务器建立连接,并进行数据的获取和传输。● Among them, the data server is responsible for transferring data to the application server, and the cooperation and scheduling between the data servers are realized through the coordination server. In the distributed virtual reality platform, the data server is responsible for the storage and distribution of massive terrain data, visualization data, model data, etc. The task of the data server is heavy, so there can be multiple data servers in the platform, and the data server balances the load by coordinating the servers. When the virtual environment data requested by the application server is not in a certain server currently connected, the coordinating server will calculate the location of the data in the distributed environment according to the request of the user to browse or visualize graphics, images, multimedia and other data (ie On which data server), the application server establishes a connection with the data server storing the data, and acquires and transmits the data.

●由于分布式虚拟现实系统中会同时有多个客户端对整个虚拟现实进行访问和控制,客户端在虚拟现实环境中动作的协同是通过中心服务器(协同、同步、负载均衡服务器)来负责。●Because in the distributed virtual reality system, there will be multiple clients accessing and controlling the whole virtual reality at the same time, the coordination of the actions of the clients in the virtual reality environment is handled by the central server (coordination, synchronization, load balancing server).

●虚拟现实和可视化应用服务器主要完成虚拟现实系统的管理、计算以及三维环境的绘制功能,在完成以上功能时,如果需要使用到的数据不在当前服务器上,则会向数据服务器发送请求索取相关数据,待获得数据之后再进行计算和绘制等处理。针对三维环境的绘制,应用服务器的硬件结构可以是一台主机上配置多块GPU,也可以是多台主机(每台主机上配置一块或者多块GPU)作为绘制结点共同构成一个异步GPU集群,软件环境采用并行绘制策略,一般采用sort-first并行绘制策略。在虚拟现实与可视化应用服务器进行的绘制动作是“虚拟绘制”,也就是说该绘制并不会有任何图像结果输出显示在显示终端上(如显示器,投影仪等),而是输出到虚拟图像空间(如FBO frame buffer object等),虚拟绘制出的图像结果经过在应用服务器上组合,然后压缩编码由应用服务器发送至移动客户端。●The virtual reality and visualization application server mainly completes the management and calculation of the virtual reality system and the rendering of the 3D environment. When completing the above functions, if the data to be used is not on the current server, it will send a request to the data server for relevant data , after the data is obtained, calculation and drawing are performed. For the rendering of the 3D environment, the hardware structure of the application server can be configured with multiple GPUs on one host, or multiple hosts (one or more GPUs on each host) can be used as rendering nodes to form an asynchronous GPU cluster , the software environment adopts a parallel drawing strategy, and generally adopts a sort-first parallel drawing strategy. The drawing action performed on the virtual reality and visualization application server is "virtual drawing", which means that the drawing will not have any image output displayed on the display terminal (such as a monitor, projector, etc.), but output to a virtual image Space (such as FBO frame buffer object, etc.), the virtual drawn image results are combined on the application server, and then compressed and encoded by the application server and sent to the mobile client.

本发明移动设备上分布式虚拟现实与可视化系统的系统模块结构如图2所示。整个系统由两部分构成,分别是移动设备客户端和若干虚拟现实与可视化应用服务器端。移动设备客户端运行于移动设备上,而虚拟现实与可视化服务器端运行于虚拟现实与可视化应用服务器上。The system module structure of the distributed virtual reality and visualization system on the mobile device of the present invention is shown in FIG. 2 . The whole system consists of two parts, namely the mobile device client and several virtual reality and visualization application servers. The mobile device client runs on the mobile device, and the virtual reality and visualization server runs on the virtual reality and visualization application server.

1)用户图形界面:图形界面部分提供了在移动客户端上用户进行交互的各种界面,包括菜单、按钮、工具栏、对话框、快捷键、三维导航图形界面以及三维场景中的各种交互手段的容器,用户通过以上各种交互界面工具,可以自由操控虚拟现实与可视化系统以及三维虚拟场景中的各种对象。(该图形界面为用户开发,可以利用任何手机图形用户界面开发工具开发)。1) Graphical user interface: The graphical interface part provides various interfaces for users to interact on the mobile client, including menus, buttons, toolbars, dialog boxes, shortcut keys, 3D navigation graphical interfaces, and various interactions in 3D scenes Through the above-mentioned various interactive interface tools, users can freely manipulate various objects in the virtual reality and visualization system and the three-dimensional virtual scene. (The graphical interface is developed for the user and can be developed using any mobile phone graphical user interface development tool).

2)用户交互命令解析与发送模块:该模块首先负责接收用户的操作动作并解析成为对整个虚拟现实系统的交互命令,由于移动客户端本身并不真正执行这些命令,这些虚拟现实系统中的操作命令的执行实际都是由虚拟现实与可视化应用服务器完成,所以该模块负责将这些交互命令打成数据包通过无线网络发送至虚拟现实与可视化应用服务器。2) User interaction command parsing and sending module: This module is first responsible for receiving the user's operation actions and parsing them into interactive commands for the entire virtual reality system. Since the mobile client itself does not actually execute these commands, the operations in these virtual reality systems The execution of commands is actually completed by the virtual reality and visualization application server, so this module is responsible for packaging these interactive commands into data packets and sending them to the virtual reality and visualization application server through the wireless network.

3)用户命令接收模块:在服务器端有专用的数据缓冲存储区,用于接收移动客户端发送的交互控制命令。3) User command receiving module: there is a dedicated data buffer storage area on the server side for receiving interactive control commands sent by the mobile client.

4)窗口主框架用户命令解析模块:根据用户命令的类型的不同,如果该命令是移动客户端的图形界面的窗口主框架上的命令,则在该模块之内有相应的图形界面命令消息响应函数,解析该命令,并将命令的执行任务转给分布式虚拟现实与可视化系统。4) Window main frame user command parsing module: According to the different types of user commands, if the command is a command on the main window frame of the graphical interface of the mobile client, then there is a corresponding graphical interface command message response function in this module , parse the command, and transfer the execution task of the command to the distributed virtual reality and visualization system.

5)三维主窗口二维至三维映射和解析模块:如果用户的交互控制命令是在三维主窗口视图之内的,则传递的命令格式为二维视图的坐标(例如,如果点击的是主窗口视图之内的某一个点,则传送该点的像素级的坐标),利用该二维至三维逆映射的功能,可以获得对应三维空间中的对象,并且根据在窗口之内的动作的前后关联,解析出对三维对象的实际操作动作(例如拖拽,移动等),解析出相应的动作之后,通过消息传递机制,由分布式虚拟现实与可视化系统响应消息,并执行相关的操作命令。5) 2D to 3D mapping and analysis module of the 3D main window: if the user's interactive control command is within the view of the 3D main window, the format of the transmitted command is the coordinates of the 2D view (for example, if the click is on the main window A certain point within the view, then transmit the pixel-level coordinates of the point), using the function of the 2D to 3D inverse mapping, you can obtain the corresponding object in the 3D space, and according to the context of the action in the window , analyze the actual operation actions on the three-dimensional object (such as dragging, moving, etc.), and after analyzing the corresponding actions, through the message passing mechanism, the distributed virtual reality and visualization system responds to the message and executes the relevant operation command.

5)分布式虚拟现实与可视化系统:由该实时运行系统执行相关的指令,完成虚拟现实系统中相关的各项计算任务(包括场景管理、分布式数据管理、系统资源管理、IO管理、物理引擎、碰撞检测系统、脚本引擎、电脑动画、人工智能、网络引擎等)5) Distributed virtual reality and visualization system: the real-time operation system executes relevant instructions to complete various computing tasks related to the virtual reality system (including scene management, distributed data management, system resource management, IO management, physical engine , collision detection system, scripting engine, computer animation, artificial intelligence, network engine, etc.)

6)GPU集群并行虚拟绘制子系统:6) GPU cluster parallel virtual rendering subsystem:

绘制子系统是虚拟现实与可视化系统中的一部分,本发明中对GPU集群进行绘制加速处理。The rendering subsystem is a part of the virtual reality and visualization system, and the GPU cluster is used for rendering acceleration processing in the present invention.

由于虚拟现实与可视化系统中三维图形绘制的任务量都是最繁重的,往往都会成为系统运行的瓶颈,所以我们将绘制这一步从虚拟现实与可视化系统中分离,等待本次所有虚拟现实与可视化计算任务完成之后,由GPU集群构建的并行虚拟绘制子系统来完成整个绘制的工作。并行虚拟绘制子系统采用sort-first策略,即先将场景按照所对应显示窗口区域的不同进行分割为4个子窗口区域(4个子窗口的大小并不是均与划分,根据显示任务量的大小动态调整),将4个子窗口的绘制任务分别交给4个GPU进行并行绘制,这样每个GPU承担的绘制任务量会减少,提高了整体绘制的效率。同时依据4个GPU硬件本身性能的不同,也可以由划分窗口区域内的几何绘制任务量依据自适应调整的策略动态分配相应的GPU来执行绘制任务。Since the task of drawing 3D graphics in the virtual reality and visualization system is the heaviest and often becomes the bottleneck of the system operation, we will separate the drawing step from the virtual reality and visualization system, and wait for all the virtual reality and visualization After the computing task is completed, the parallel virtual rendering subsystem constructed by the GPU cluster completes the entire rendering work. The parallel virtual rendering subsystem adopts the sort-first strategy, that is, first divides the scene into 4 sub-window areas according to the corresponding display window areas (the size of the 4 sub-windows is not evenly divided, and is dynamically adjusted according to the size of the display task. ), assign the drawing tasks of the 4 sub-windows to 4 GPUs for parallel drawing, so that the amount of drawing tasks undertaken by each GPU will be reduced, and the overall drawing efficiency will be improved. At the same time, according to the different performances of the four GPU hardware itself, it is also possible to dynamically allocate the corresponding GPU to perform the drawing task by dividing the geometric drawing task amount in the window area according to the adaptive adjustment strategy.

7)并行绘制生成图像后处理模块:待4个GPU生成图像完毕之后,需要在虚拟现实与可视化系统中进行回收工作,将分散的4幅图像全部取回并拼接合成一张完整的图像。(公知可以实现)7) Post-processing module for image generation by parallel drawing: After the images are generated by the 4 GPUs, it is necessary to perform recycling work in the virtual reality and visualization system to retrieve all the scattered images and splicing them into a complete image. (Known that it can be realized)

8)流媒体压缩与发送模块:该模块负责将图像进行压缩编码为流媒体的一帧(压缩标准可以采用H.263,H.264或者MPEG-4等多种标准编码形式),在经过帧内压缩和帧间压缩后,经由通讯连接发送至移动设备客户端。8) Streaming media compression and sending module: This module is responsible for compressing and encoding the image into a frame of streaming media (the compression standard can adopt various standard encoding forms such as H.263, H.264 or MPEG-4), after passing through the frame After intra-compression and inter-frame compression, it is sent to the mobile device client via a communication connection.

9)流媒体接收与解压缩模块:移动设备端的该模块在收到视频帧后,依据标准解码格式解码恢复成一帧图像。9) Streaming media reception and decompression module: After receiving the video frame, the module on the mobile device side decodes and restores a frame of image according to the standard decoding format.

10)流媒体绘制模块:将一帧图像利用绘制手段实时显示出来,这样用户就实时看到了与利用高性能计算机平台计算显示出的虚拟现实系统完全一样的虚拟场景和可视化结果。10) Streaming media rendering module: a frame of image is displayed in real time by means of rendering, so that the user can see the same virtual scene and visualization results in real time as the virtual reality system calculated and displayed by the high-performance computer platform.

Claims (5)

1. realize distributed virtual reality and visualization method on a mobile device, the steps include:
1) sets up the communication connection of mobile device and virtual reality and visualization server; Wherein, mobile device comprises a graphical interface of user and carries out the client of virtual reality and visualization display, virtual reality and visualization server comprise a virtual reality and visualization system, and described graphical interface of user comprises: the container of interactive means in menu, button, toolbar, dialog box, shortcut, three-dimensional navigation graphical interfaces and the three-dimensional scenic;
2) mobile device receives the interactive operation request command by described graphical interface of user, and it is resolved to the interactive command of virtual reality and visualization system;
3) mobile device is packaged into Packet Generation to virtual reality and visualization server with the interactive command of resolving;
4) virtual reality and visualization server parse interactive command from packet, and send it to described virtual reality and visualization system;
5) virtual reality and visualization system are carried out corresponding calculating according to interactive command, then carry out virtually drawing and are that Streaming Media sends to mobile device with the execution result compressed encoding; Described virtual reality and visualization system comprise one by the parallel virtually drawing subsystem of GPU cluster structure; After these all virtual realities and Visual calculation task are finished, described parallel virtually drawing subsystem adopts the sort-first strategy to carry out the 3-D graphic virtually drawing, this virtually drawing outputs to the virtual image space with image result, and the image result that virtually drawing goes out is through making up in virtual reality and visualization server;
6) mobile device shows virtual scene and visualization result to receiving decoding data.
2. the method for claim 1, it is characterized in that then virtual reality and visualization server are resolved this order according to the graphical interfaces command messages response function of setting if the interactive operation request command is the order outside the three-dimensional main window view of described graphical interface of user.
3. the method for claim 1, it is characterized in that if the interactive operation request command is the order within the three-dimensional main window view of described graphical interface of user, its command format is the coordinate of two dimension view, then virtual reality and visualization server with this two dimension view coordinate format command mapping be in the corresponding three-dimensional space object and according to action forward-backward correlation within this window, parse the operational motion order to three dimensional object.
4. realize distributed virtual reality and visual system on a mobile device, it is characterized in that comprising the server end on client, virtual reality and the visualization server on the mobile device; Described mobile device be connected virtual reality and be connected by communication network with visualization server; Wherein, described client comprises a graphical interface of user, a command analysis and sending module, stream media decoding module, Streaming Media drafting module; Described server end comprises a virtual reality and visualization system, orders receiver module, Streaming Media compressed encoding module;
Described graphical interface of user is used for receiving the interactive operation request command; Described graphical interface of user comprises: the container of interactive means in menu, button, toolbar, dialog box, shortcut, three-dimensional navigation graphical interfaces and the three-dimensional scenic;
Described command analysis and sending module are used for the interactive operation request command is resolved to the interactive command of virtual reality and visualization system, and it is packaged into Packet Generation to described order receiver module;
Described order receiver module is used for the packet that receives is stored and resolved, and the interactive command that parses is sent to described virtual reality and visualization system;
Described virtual reality and visualization system are used for carrying out corresponding calculating and virtually drawing according to interactive command, and execution result are sent to Streaming Media compressed encoding module; Described virtual reality and visualization system comprise one by the parallel virtually drawing subsystem of GPU cluster structure; After these all virtual realities and Visual calculation task are finished, described parallel virtually drawing subsystem adopts the sort-first strategy to carry out the 3-D graphic virtually drawing, this virtually drawing outputs to the virtual image space with image result, and the image result that virtually drawing goes out is through making up in virtual reality and visualization server;
Described Streaming Media compressed encoding module, being used for execution result is carried out compressed encoding is Streaming Media, and sends it to described stream media decoding module;
Described stream media decoding module is used for receiving decoding data;
Described Streaming Media drafting module is used for decoded data are drawn demonstration virtual scene and visualization result.
5. system as claimed in claim 4 is characterized in that described server end adopts separate server framework or distributed server architecture.
CN 201010612833 2010-12-29 2010-12-29 Method and system for realizing distributed virtual reality and visualization on mobile device Active CN102148818B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010612833 CN102148818B (en) 2010-12-29 2010-12-29 Method and system for realizing distributed virtual reality and visualization on mobile device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010612833 CN102148818B (en) 2010-12-29 2010-12-29 Method and system for realizing distributed virtual reality and visualization on mobile device

Publications (2)

Publication Number Publication Date
CN102148818A CN102148818A (en) 2011-08-10
CN102148818B true CN102148818B (en) 2013-10-16

Family

ID=44422815

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010612833 Active CN102148818B (en) 2010-12-29 2010-12-29 Method and system for realizing distributed virtual reality and visualization on mobile device

Country Status (1)

Country Link
CN (1) CN102148818B (en)

Families Citing this family (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571943A (en) * 2011-12-28 2012-07-11 中国人民解放军第四军医大学唐都医院 Narrowband-condition-based medical image operation synchronization interaction method
CN102609971A (en) * 2012-01-11 2012-07-25 南京大学 Quick rendering system using embedded GPU (Graphics Processing Unit) for realizing 3D-GIS (Three Dimensional-Geographic Information System)
CN102647511B (en) * 2012-03-07 2014-05-07 山东大学 Three-dimensional museum interaction system based on smartphone and interaction method thereof
CN102866919B (en) * 2012-07-31 2014-11-05 电子科技大学 Cloud drawing-based large-sized three-dimensional scene multi-person collaborative creation method
CN102903144B (en) * 2012-08-03 2015-05-27 樊晓东 Cloud computing based interactive augmented reality system implementation method
CN102857667B (en) * 2012-09-12 2018-10-12 康佳集团股份有限公司 Realize the method and system of the picture processing to multimedia play equipment
CN104077316A (en) * 2013-03-29 2014-10-01 江苏北极光科技发展有限公司 Visualization technique
CN103413345B (en) * 2013-08-26 2016-01-13 中国人民解放军国防科学技术大学 Three dimensions interaction point based on GPU judges accelerated method
CN104754464A (en) * 2013-12-31 2015-07-01 华为技术有限公司 Audio playing method, terminal and system
CN103929479B (en) * 2014-04-10 2017-12-12 惠州Tcl移动通信有限公司 Mobile terminal simulation of real scenes realizes the method and system of user interaction
CN104183023B (en) * 2014-07-25 2017-06-27 天津微视威信息科技有限责任公司 The construction method of many scene graph in a kind of distributed virtual environment
CN104346041B (en) * 2014-10-24 2018-04-27 联想(北京)有限公司 A kind of information processing method and corresponding intrument
CN104869160B (en) * 2015-05-12 2018-07-31 成都绿野起点科技有限公司 A kind of Distributed Virtual Reality System based on cloud platform
CN104780180B (en) * 2015-05-12 2019-02-12 国电物资集团有限公司电子商务中心 A kind of Virtual Reality Platform based on mobile terminal
CN104794754B (en) * 2015-05-12 2018-04-20 成都绿野起点科技有限公司 A kind of Distributed Virtual Reality System
CN105869215B (en) * 2016-03-28 2019-03-12 上海米影信息科技有限公司 A virtual reality imaging system
CN106067159A (en) * 2016-05-27 2016-11-02 范杭 Virtual reality, the real-time display method of augmented reality and system
CN106375704B (en) * 2016-10-26 2019-05-03 中国科学院自动化研究所 A holographic visual intercom interactive system
CN108616751B (en) 2016-12-12 2023-05-12 上海交通大学 Method, device and system for processing media information
US10235783B2 (en) * 2016-12-22 2019-03-19 Huawei Technologies Co., Ltd. System and method for visualization of a compute workflow
CN106683179A (en) * 2016-12-31 2017-05-17 佛山市幻云科技有限公司 Storage simulation method, server, system and virtual storage server
CN106502428B (en) * 2016-12-31 2019-02-26 佛山市幻云科技有限公司 Rack server emulation mode and system based on vCenter
CN108513671B (en) * 2017-01-26 2021-08-27 华为技术有限公司 Display method and terminal for 2D application in VR equipment
CN108881117B (en) * 2017-05-12 2021-10-22 上海诺基亚贝尔股份有限公司 Method, apparatus and computer readable medium for deploying virtual reality services in an access network
CN108153656B (en) * 2017-12-20 2020-02-07 福建天晴数码有限公司 Virtual reality software performance testing method and terminal
CN108579076A (en) * 2018-04-16 2018-09-28 武汉康慧然信息技术咨询有限公司 Virtual reality calculates power Enhancement Method in home entertainment center
CN109147414B (en) * 2018-09-29 2024-03-12 南昌航空大学 Virtual reality training system and method for ray DR imaging detection
CN109213005A (en) * 2018-11-21 2019-01-15 成都四方伟业软件股份有限公司 A kind of simulation control method and device
CN109727504A (en) * 2018-12-19 2019-05-07 安徽建筑大学 An animation interactive system based on art design
CN110297215B (en) * 2019-06-19 2023-01-31 东北电力大学 Circular array sound source positioning visualization system and method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1656440A (en) * 2002-04-03 2005-08-17 索尼爱立信移动通讯股份有限公司 A method of navigating in a virtual three-dimensional environment and an electronic device employing such method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1656440A (en) * 2002-04-03 2005-08-17 索尼爱立信移动通讯股份有限公司 A method of navigating in a virtual three-dimensional environment and an electronic device employing such method

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
《MOPCVE: A New CVE Prototype Running on Mobile Phone》;Wen HangLi等;《Artificial Reality and Telexistence--Workshops, 2006. ICAT "06. 16th International Conference on》;20061201;全文 *
《ViWoSG:超大规模分布是虚拟环境中的分布式场景图》;汪国平等;《中国科学 F辑》;20090131;第39卷(第1期);全文 *
《分布式移动数字地球系统的设计与实现》;李文航等;《地理与地理信息科学》;20090930;第25卷(第5期);摘要、第34页第1节-第37页第3.1节、图1,3 *
Wen HangLi等.《MOPCVE: A New CVE Prototype Running on Mobile Phone》.《Artificial Reality and Telexistence--Workshops, 2006. ICAT "06. 16th International Conference on》.2006,全文.
李文航等.《分布式移动数字地球系统的设计与实现》.《地理与地理信息科学》.2009,第25卷(第5期),摘要、第34页第1节-第37页第3.1节、图1,3.
汪国平等.《ViWoSG:超大规模分布是虚拟环境中的分布式场景图》.《中国科学 F辑》.2009,第39卷(第1期),全文.

Also Published As

Publication number Publication date
CN102148818A (en) 2011-08-10

Similar Documents

Publication Publication Date Title
CN102148818B (en) Method and system for realizing distributed virtual reality and visualization on mobile device
EP3695383B1 (en) Method and apparatus for rendering three-dimensional content
EP3953796B1 (en) Hybrid rendering
Shi et al. A survey of interactive remote rendering systems
CN107274469A (en) The coordinative render method of Virtual reality
CN106973569A (en) Generation and the playback multimedia mthods, systems and devices of virtual reality
Luke et al. Semotus visum: a flexible remote visualization framework
CN103679813B (en) The construction method of three-dimensional digital earth and three-dimensional digital earth system
EP4478285A1 (en) Image display method and apparatus, electronic device, and storage medium
CN108235053B (en) Interactive rendering method, device, terminal and system
CN113076152B (en) Rendering method and device, electronic equipment and computer readable storage medium
CN104850700B (en) A kind of collaborative Visual Simulation System
CN112316433A (en) Game picture rendering method, device, server and storage medium
CN109426473B (en) Wireless programmable media processing system
EP4290868A1 (en) 3d object streaming method, device, and program
KR102598603B1 (en) Adaptation of 2D video for streaming to heterogeneous client endpoints
JP7472298B2 (en) Placement of immersive media and delivery of immersive media to heterogeneous client endpoints
US11418769B1 (en) Viewport adaptive volumetric content streaming and/or rendering
Lluch et al. Interactive three-dimensional rendering on mobile computer devices
CN114904274A (en) Picture rendering method and device of cloud game, electronic equipment and storage medium
Pańka et al. Visualization of multidimensional data on distributed mobile devices using interactive video streaming techniques
Chávez et al. Lightweight visualization for high-quality materials on WebGL
Sivitilli et al. Virtual reality and immersive collaborative environments: the new frontier for big data visualisation
Le et al. A graphics to scalable vector graphics adaptation framework for progressive remote line rendering on mobile devices
CN117274457A (en) A 3D model hierarchical compression and display method, device, storage medium and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
DD01 Delivery of document by public notice

Addressee: Wang Yanlin

Document name: Notification that Application Deemed not to be Proposed

TR01 Transfer of patent right

Effective date of registration: 20181108

Address after: 100089 Haidian District, Beijing blue indigo factory, rainbow Tower 3, two floor a 3-1-223

Patentee after: Tong Jian wisdom (Beijing) Technology Co., Ltd.

Address before: 100871 Peking University, 5 the Summer Palace Road, Haidian District, Peking University

Patentee before: Peking University

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200831

Address after: No. a 2, duan'an District, Haidian District, Beijing 100089

Patentee after: Beijing Tong Jian telit Intelligent Systems Engineering Technology Co.,Ltd.

Address before: 100089 Haidian District, Beijing blue indigo factory, rainbow Tower 3, two floor a 3-1-223

Patentee before: Tong Jian wisdom (Beijing) Technology Co.,Ltd.

TR01 Transfer of patent right