摘要
现如今对于仪器仪表的要求越来越高,不仅要求测量精度高、操作简单,而且对它的实时性要求也越来越高。为了满足这一需求,选择一款合适的RTOS(嵌入式实时操作系统,embedded real-time operation system)对于代理系统稳定高效的运行具有十分重要的意义。μC/OS-Ⅱ系统是一款开源的抢占式的多任务实时内核,其结构紧凑、占用空间小、执行效率高,具有可扩展性好、程序代码免费开源、资料丰富、技术成熟、简单易用等特点,适合用于教学科研和一些实时系统的应用。基于嵌入式μC/OS-Ⅱ系统,按照SNMP协议要求,文中对SNMP代理进行精简和优化,并在仪器管理系统中采用C语言实现SNMP仪器代理功能,提高了SNMP管理站和SNMP代理之间信息交互的实时性。通过对SNMP仪器代理功能测试,结果证明在应用中是可行的。
Now the requirement of the instruments is increasingly high.We need not only its high accuracy and simple operation,but also better real-time.Therefore,it is significant to choose a suitable RTOS (embedded real-time operation system) for the operation of the agent system stably and efficiently.The μC/OS-II system is an open source preemptive multi-task real-time kernel which is usually applied on teaching and research and RTOS because of its compact structure,less space occupied,higher efficiency,with better scalability,free open source program code,abundant data,mature technology and easy use.Based on embedded μC/OS-II system,according to SNMP,we streamline and optimize SNMP agents,and use C language to realize SNMP agent instrument proxy function in the instrument management system to enhance the real-time of information exchange between SNMP station and SNMP agent.After the test of the function of SNMP instrument,it is proved to be feasible.
作者
王涛
李宥谋
刘永斌
赵成青
WANG Tao;LI You-mou;LIU Yong-bin;ZHAO Cheng-qing(School of Computer Science,Xi' an University of Posts and Telecommunications,Xi' an 710000,China)
出处
《计算机技术与发展》
2018年第8期135-138,143,共5页
Computer Technology and Development
基金
陕西省重大科技创新专项资助项目(2010ZKC02-08)
嵌入式LXI网络仪器开放及产业化(2015KTCQ01-04)