JCTP implementation system and method based on EPOLL model and medium

A technology for realizing the system and method, which is applied in the field of communication, can solve problems such as fewer file descriptors and affect system efficiency, and achieve the effects of perfect design, high maintenance efficiency, and low maintenance cost

Inactive Publication Date: 2019-09-20
上海金大师网络科技有限公司
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] 1. Every time select() is called, fd must be converted from user mode to kernel mode. This overhead is very large when there are many fds
[0009] 2. When calling select(), the operating system kernel API will traverse the entire fd set, which will greatly affect system efficiency
[0010] 3. The upper limit of file descriptors that can be opened by select() is too small, the default is 1024

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • JCTP implementation system and method based on EPOLL model and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0106] In order to achieve efficient communication based on the EPOLL model, self-optimize and realize the SOCKET communication method, 100% use the independent protocol to realize the FTDC protocol of CTP. This technology is mainly realized by the SOCKET communication connection pool, stream codec processor, and data protocol. Constructor, encryption and decryption security processor, connection maintenance (heartbeat protocol), business data packet parser, etc., the core of the technical solution lies in the 100% independent protocol and realizes all the functions of CTP.

[0107] The present invention is a technical implementation of JCTP based on the EPOLL model realized under the J2EE technical framework

[0108] JCTP function list: 1. SOCKET communication connection pool; 2. Stream codec processor; 3. Data protocol constructor; 4. Encryption and decryption security processor; 5. Connection maintenance (heartbeat protocol); 6. Business data packet parser .

[0109] 1. SO...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a JCTP implementation system and method based on an EPOLL model and a medium, and the JCTP implementation system comprises any one or more of the following modules: an SOCKET communication connection pool module which performs connection pool initialization, obtains a connection from a connection pool, and releases the connection after the connection is used up; a stream coding and decoding processor module which is used for coding and decoding the data according to the private protocol; a data protocol constructor module which constructs a data protocol and transmits the constructed data protocol to a corresponding processor; and an encryption and decryption security processor module which is used for carrying out security authentication on the communication request sent to the server by the client and carrying out encryption or decryption processing according to the data flow direction. According to the invention, all hardware and operating system platforms are supported, so that a user has a greater degree of freedom in selection of an operating system and the hardware, the technical specification is more comprehensive, the support for enterprise-level applications is stronger, and the method has the advantages of once writing and everywhere running.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a JCTP implementation system, method and medium based on an EPOLL model. Background technique [0002] CTP (Comprehensive Transaction Platform) is a set of futures brokerage business management system specially developed for futures companies. It consists of three major systems: trading, risk control and settlement. The trading system is mainly responsible for order processing, market forwarding and bank-futures transfer business, the settlement system is responsible for transaction management, account management, broker management, fund management, rate setting, day-end settlement, information query, and report management, etc. Expose and control risk. [0003] When we have a large number of users, assuming that the number of daily active users is 20,000 users, the communication model of the SELECT model based on CTP will be required to run on an 8C16G server, and...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06G06Q40/04G06Q10/06
CPCH04L63/0435H04L69/04G06Q40/04G06Q10/0635H04L67/01
Inventor 王玲罗茂
Owner 上海金大师网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products