Message flow control method and system

A flow control and message technology, applied in the field of data communication, can solve problems such as system blockage, slow processing, system downtime, etc.

Active Publication Date: 2014-09-10
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a message flow control method and system to at least solve the problems in the prior art that when messages are

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
  • Message flow control method and system
  • Message flow control method and system
  • Message flow control method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0108] In this preferred embodiment, the structural diagram of the message flow control system is as follows Figure 9 As shown, it includes a communication connection pool unit 91 , a message buffer pool unit 92 , a processing thread pool unit 93 , an adjustment unit 94 and a message processing flow unit 95 . in:

[0109] The communication connection pool unit 91 is used to establish a communication connection for message interaction with an external system during system initialization, forming a communication connection pool, including establishing a communication connection pool for receiving and sending messages. The connection types include: MQ, TCP / IP (Socket), HTTP / HTTPS and FTP / SFTP are also used to verify the security of communication with external systems, that is, the communication security verification of the network layer. After the communication connection is established, it will be included in the communication connection pool for unified management and deploy...

Embodiment 2

[0141] In this preferred embodiment, on the basis of the preferred embodiment 1, the communication connection pool unit 91, the message buffer pool unit 92 and the processing thread pool unit 93 respectively judge and adjust their own conditions in the specific use process. For example, when the communication connection pool sends and receives messages, it judges the available communication connections to add or allocate communication connections; when the message buffer pool caches messages, it judges the available buffer pool queue space to add or allocate buffers. Pool queue space; the processing thread pool judges the available threads when processing messages to add or allocate threads. Therefore, through the real-time detection and adjustment between the three pools macroscopically and the adjustment in the specific use process, it is further guaranteed that no packet congestion will occur.

[0142] The structure of the communication connection pool unit 91 is as Figur...

Embodiment 3

[0162] Compared with preferred embodiment 1 and preferred embodiment 2, this preferred embodiment differs in that the adjustment unit 94 does not include a communication interaction unit 9407, a message insertion buffer pool queue unit 9414, a processing thread pool trigger unit 9415, and a report The text service logic processing unit 9422, that is, the adjustment unit 94 only performs real-time detection and adjustment operations. The function of the communication interaction unit 9407 can be realized by the communication connection pool unit 91, the functions of the message insertion buffer pool queue unit 9414 and the processing thread pool trigger unit 9415 can be realized by the message buffer pool unit 92, and the message business logic processing unit 9422 The function of can be realized by processing thread pool unit 93. In the first preferred embodiment, the real-time detection and adjustment of the current usage of the three pools are performed sequentially. In this...

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 discloses a message flow control method and system. The message flow control method includes establishing a communication connection pool, a message buffer pool and a processing thread pool; detecting current using conditions of the communication connection pool, the message buffer pool and the processing thread pool in real time; adjusting capacity of the communication connection pool, the message buffer pool and the processing thread pool according to the current using conditions of the communication connection pool, the message buffer pool and the processing thread pool respectively; utilizing communication connection transceiving messages in the communication connection pool, and using messages in the message buffer pool and thread processing messages in the processing thread pool. In the message flow control method, the communication connection pool, the message buffer pool and the processing thread pool are established with the current using conditions under real-time monitoring, capacity of the pools can be adaptively adjusted, self-adaption control of the system on data communication flows is realized, and communication jamming and the like are avoided.

Description

technical field [0001] The invention relates to the technical field of data communication, in particular to a message flow control method and system. Background technique [0002] With the rapid development of information technology, many enterprises need network connection and data communication with external units. For example, inter-bank payment of commercial banks needs to interact with other third-party systems for data messages. When an enterprise communicates with external systems by data packets, there are various communication methods, such as Message Queue (MQ for short), Transmission Control Protocol / Internet Protocol (TCP / IP (TCP / IP) Socket)), Hypertext Transfer Protocol / Hypertext Transfer Protocol Secure (HTTP / HTTPS for short), File Transfer Protocol / Secure File Transfer Protocol (File Transfer Protocol / Secure File Transfer Protocol, FTP for short) / SFTP), etc., and according to the timeliness requirements of the business, the processing of the message data ne...

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
IPC IPC(8): H04L12/861
Inventor 毛淑平李俊锋
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
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