摘要
针对不同的券商接口,当面对统一请求的数据格式时,不同的券商就很可能无法"读懂"用户到底在请求什么数据,本文设计了一个基于券商的Transmid事务处机系统。Transmid事务处理机系统采用了线程池、进程间通信和Lua函数与C/C++接口交互技术,通过测试,该模型层次清晰、易于实现、并发性能高。
In this paper,a transaction middleware processor system based on broker is designed to aim at the interfaces of different brokers which face with a unified data format requested and it might not read what the users' data is requested. The transaction middleware processor uses the thread poo,inter process communication,Lua function and C/C ++ interface interaction technology. The test shows that the middleware processor model has a clear model level,easy-to-implement and high concurrency.
出处
《长春理工大学学报(自然科学版)》
2015年第6期168-171,共4页
Journal of Changchun University of Science and Technology(Natural Science Edition)