摘要
介绍了基于Dex/Ucs自动售货机通信系统,并根据Dex特点及其通信原理,在Vb6+Borland平台上,实现了终端与售货机间通信及数据的采集。此系统的核心为终端与系统间的通信,根据Dex会话层的三次握手来实现通信双方的连接,其中所传输数据遵循Dex协议的格式被封装。系统基于Vb6+C的模式,利用两者的优势被实现。
The paper introduces the communication system of vending machine based on Dex/Ucs and how to realize communication and data acquisition between terminal and vending machines on Platform Vb6 + Borland according to feature and communication theory of Dex. The core Of the system is communication between terminal and vending machine which is realized via three-way handshake of Dex session layer. The format of data during transmitting is also based on Dex session layer Protocol. Implementation platform of the system is Vb6+C module which is a perfect combination of advantages of the two.
出处
《计算机系统应用》
2010年第7期140-143,共4页
Computer Systems & Applications
基金
国家科技攻关计划(2003ba104c)
国家自然科学基金(60673165)