首页 | 本学科首页   官方微博 | 高级检索  
     

基于Unity的数字化车间改进资源动态调度算法
引用本文:朴美燕,胡毅,叶迎萍.基于Unity的数字化车间改进资源动态调度算法[J].计算机系统应用,2018,27(10):196-201.
作者姓名:朴美燕  胡毅  叶迎萍
作者单位:中国科学院大学, 北京 100049;中国科学院 沈阳计算技术研究所 高档数控国家工程研究中心, 沈阳 110168,中国科学院 沈阳计算技术研究所 高档数控国家工程研究中心, 沈阳 110168;沈阳高精数控技术有限公司, 沈阳 110168,中国科学院大学, 北京 100049;中国科学院 沈阳计算技术研究所 高档数控国家工程研究中心, 沈阳 110168
基金项目:“高档数控机床与基础制造装备”国家科技重大专项(2017ZX04011004)
摘    要:针对基于Unity引擎的车间仿真系统加载过程中内存占用大,导致系统在运行时存在卡顿、不流畅的现象,从模型资源加载角度设计一种资源动态调度算法.首先通过四叉树算法将场景递归的分割成多个叶子节点进行存储,然后结合资源动态调度算法以摄像机位置为中心对周边节点的资源进行预设实例化和预设销毁完成内存的管理.最后根据Unity的内存管理机制,设计并实现了对场景资源的动态调度和内存优化,实验结果表明资源动态管理算法有效控制某时刻内存中加载的数据量相对稳定降低了IO总量,避免了漫游移动时造成的内存颠簸,使系统的运行更加流畅.

关 键 词:Unity  数字化车间系统  性能优化  资源动态调度算法  四叉树算法
收稿时间:2018/2/25 0:00:00
修稿时间:2018/3/19 0:00:00

Improved Dynamic Resource Scheduling Algorithm on Unity-Based Digital Workshop
PIAO Mei-Yan,HU Yi and YE Ying-Ping.Improved Dynamic Resource Scheduling Algorithm on Unity-Based Digital Workshop[J].Computer Systems& Applications,2018,27(10):196-201.
Authors:PIAO Mei-Yan  HU Yi and YE Ying-Ping
Affiliation:University of Chinese Academy of Sciences, Beijing 100049, China;National Engineering Research Center for High-End CNC, Shenyang Institute of Computing Technology, Chinese Academy of Sciences, Shenyang 110168, China,National Engineering Research Center for High-End CNC, Shenyang Institute of Computing Technology, Chinese Academy of Sciences, Shenyang 110168, China;Shenyang Golding NC Technology Corporation Ltd., Shenyang 110168, China and University of Chinese Academy of Sciences, Beijing 100049, China;National Engineering Research Center for High-End CNC, Shenyang Institute of Computing Technology, Chinese Academy of Sciences, Shenyang 110168, China
Abstract:Unity engine-based manufacturing simulation system occupies large memory when loading, resulting that the system is not fluent at run time and cannot run smoothly. In response to this phenomenon, we design a resource dynamic scheduling algorithm from the perspective of model resource loading. Firstly, the scene is recursively divided into a plurality of leaf nodes for storing through a quad-tree algorithm. Then, combined with the resource dynamic scheduling algorithm, taking the camera position as the center, the resources of surrounding nodes are defaulted instance and destruction of the prefab to complete the memory management. Finally, according to Unity''s memory management mechanism, the dynamic scheduling and memory optimization of scene resources are designed and implemented.
Keywords:Unity  digital workshop system  performance optimization  dynamic resource scheduling algorithm  quad-tree algorithm
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号