Research and Implementation of the electronic trading of futures - oriented communication middleware
- Author
- ZhangZhuoYa
- Advisor
- ZhangZhiHong
- School
- Zhengzhou University
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 117
- Citations
- 0
Abstract
The only form of electronic trading of futures and options trading . Distributed electronic trading system is the core of the futures electronic trading . After years of development , the electronic trading system architecture has been developed to match the background of the four - layer architecture of the server / communications server / Member end server / client system . As the business expanded , the communication between the various subsystems of the distributed system has become the main problem of the trading system . According to the actual needs of the trading system for background communication between the server and member communication solutions and a communication middleware . This paper first analyzes the main problems encountered in the futures electronic trading system architecture and development , based on the communication subsystem as a whole to consider , and accordingly design a communication middleware , communication between subsystems transparency. Secondly , based on the analysis of futures trading standard protocol , depending on the actual demand , respectively, given the communication middleware client and server-side communication application interface . In addition , in order to solve the problem of the security of the communication , and SSL secure communication mechanisms studied and introduced to the the communication middleware communication process , to achieve a secure and reliable communication . Need to handle a large number of concurrent transactions and data packets in the design and implementation , due to the complexity of the business itself , the middleware system , this article using the thread pool technology to achieve parallel processing ; using object pooling technical management of data objects to improve system memory management performance . System maintainability and ease of scalability for large-scale distributed systems , it is particularly important , it is in the design of this paper, using a pattern-oriented development method , the use of models to make the system clear . The article also uses a the ACE class library , to meet the cross-platform conducive transplant systems on different platforms . Part of the implementation of this paper has been successfully applied in actual trading system . And futures electronic trading system and its development of similar systems have some inspiration .
Table of contents
Abstract 3-4
Abstract 4-9
Chapter Introduction 9-14
1.1 of the problem 9 - 12
1.1.1 Background 9-10
1.1.2 Futures Trading Systems 10-11
1.1.3 Trading System Analysis 11-12
1.2 solutions to problems 12-13
1.3 The main contents 13-14
chap. middleware system and main technical 14-20
2.1 communication middleware technology 14-15
2.1.1 middleware defined 14
2.1.2 Middleware role 14-15
2.2 futures trading system architecture 15-16
2.3 middleware in the trading system of the position and role of 16-17
2.4 The main technical Introduction 17-20
2.4.1 ACE Profile 17
2.4.2 pattern-based software development 17-18
2.4.3 Component-Based software development 18
2.4.4 Socket communication technology 18-20
Chapter III. transaction middleware Communications Research 20-28
3.1 communication needs 20
3.2 Secure Communications 20-21
3.2.1 What is a secure communication 20-21
3.2.2 encryption technology 21
3.3 SSL and related technologies 21-26
3.3.1 SSL Profile 21-22
3.3.2 SSL protocol works 22-24
3.3.3 SSL certificate 24-25
3.3.4 OpenSSL Introduction 25
3.3.5 OpenSSL programming 25-26
3.4 Futures communication protocol 26-28
3.4.1 Protocol Introduction 26
3.4.2 Futures protocol communication mode 26-27
3.4.3 login and heartbeat mechanism 27-28
Chapter IV. server-side design and implementation 28-53
4.1 server-side functionality and interface descriptions 28-31
4.1.1 Position and role 28
4.1.2 Service Interface 28-31
4.2 server-side architecture 31-32
4.3 specific module design and implementation 32-53
4.3.1 and thread synchronization 32-33
4.3.2 pool of worker threads 33-35
4.3.3 Data field object pool 35-37
4.3.4 reactor model based heartbeat mechanism 37-39
4.3 .5 SSL connection object 39-44
4.3.6 of packets sent and received 44-49
4.3.7 ACE Active Object pattern based logging system 49-53
Chapter V. client design and implementation 53-59
5.1 client interface 53-55
5.1.1 client communications data package 53-55
5.1.2 client application programming interface 55
5.2 Client Architecture and Implementation 55-59
5.2.1 Active SSL connector 55-57
5.2.2 factory method pattern-based business processes 57-59
Chapter VI. Summary and Outlook 59-61 < br /> 6.1 Working significance 59
6.2 Work Summary 59-60
6.3 Prospects for further work 60-61
Thanks 61 -62
References 62-66
Appendix 66
Related dissertations
- The Design and Implementation of Network Channel Management System
- The Design and Implementation of mine positioning monitoring system based on the ACE-RFID Middleware
- Exploration and Practice of Huaiyuan County Science and Technology Incubator Archiving Mode
- Research status and mode of public project auditing of our government
- An Exploration of Basic Medical Insurance Mode in Qingdao Abstract
- Study on the mode of endowment insurance of migrant workers in Yangzhou city as an example
- The Mode and Path Research of RMB Internationalization
- Stage of Development. Models and Strategies of China’s Foreign Direct Investment
- Study on Intellectual Property Pledge Financing
- To Specialization-based Model of Tax Collection
- Analysis of Feasibility and Operation Mode on Establishment of Russia-China Free Trade Area
- Research on Revolutionary Site’s Protective Tourism Development Mode in Shaanxi Province
- A Study of Blind Date Tourism Development Mode of Hangzhou
- Research on the Mode and Mechanism of Regional Tourism Cooperation
- The Research on Historical and Cultural City of Turpan Community Participation in Tourism Development Model
- Study on the Transformation and Upgrading of Ecologicalization for Red Tourism in China
- The research on financial governance efficiency goal of listing Corporation
- Science and Technology Small and Medium-sized Enterprise Intellectual Property Independent Innovation Pattern Research
- Study on HD company employee training mode based on school enterprise cooperation Perspective
- Study on Mode of Collaborative Knowledge Innovation of Transforming Enterprise