检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:孙瑜[1] 郭新东 Sun Yu;Guo Xindong(College of Information and Engineering,Shanxi Agricultural University,Jinzhong,Shanxi 030800,China)
机构地区:[1]山西农业大学信息科学与工程学院,山西晋中030800
出 处:《计算机时代》2018年第6期64-66,共3页Computer Era
基 金:山西农业大学科技创新基金(2016001;2017011)
摘 要:为了使实时系统中大量数据更新能够及时反馈到相应的模块中,设计了多个主题更新数据的Observer改进模式。该模式使用并行的方式通知相关注册的观察者模块,通过为每个通知方开启独立线程的方式,使得主线程和各模块线程都不被阻塞,并且保证数据更新及时有效。将该设计运用到温室环境监测系统中后,传感数据基本能够及时更新到仪表面板及相应的监测点中,满足一定的实时性。In order to timely feedback a large number of data updates to the corresponding modules in the real-time system, the improved Observer pattern with multiple theme updating data is designed. This pattern uses a parallel way to notify the related registered observer module by opening an independent thread for each notification party, making the main thread and the module threads not blocked, and ensuring that the data updates are timely and effective. When this design is applied to the greenhouse environmental monitoring system, the sensing data can be updated to the panel and the corresponding monitoring points in time,which meets the need for real time.
分 类 号:TP309[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.129.209.87