摘要
分层模式在软件开发中有着广泛的应用,必然使各层之间产生频繁的数据交互,从而导致软件性能大大下降。针对上述问题,本文提出一种基于有序二叉树的变量池的解决方案,软件的配置信息以及各层之间的交互数据保存在变量池中,对变量的所有操作都基于变量池,通过变量池的使用,既方便了各层之间数据交互,也简化了各层之间的接口设计。基于该方案,本文最后实现了一个银行自助终端系统。
Tiered model of software developement is used in a wide range of application, however, it is inevitable that frequent interaction exists between stratified layers, which leads to substantial reduction in software performance. To address the above issues, this paper presents a solution of Var Pool based on sequential binary tree, configuration information of software and exchanged data between layers are saved to the Var_Pool , and all operations concerning variables are also based on this Vat Pool . The application of solution reduces not only exchanged data but also simplifies interfaces between layers .Based on this solution, a client of bank self-service terminal system is realized.
出处
《科技广场》
2008年第10期55-58,共4页
Science Mosaic
关键词
分层模式
有序二叉树
变量池
Tiered Model
Sequential Binary Tree
Var_ Pool