Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A Realization Method of Asynchronous Gateway in Distributed Real-time Service System

A distributed real-time, business system technology, applied to the implementation field of asynchronous gateways in distributed real-time business systems, can solve problems such as synchronous blocking of business threads, business request timeout, consumption of system resources, etc., to maximize concurrency and reduce The effect of resource occupation and improving gateway performance

Active Publication Date: 2021-07-27
武汉众邦银行股份有限公司
View PDF17 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to solve the problem that when the gateway thread pool is exhausted and business congestion causes each subsystem to process business logic, the business threads in the gateway are blocked synchronously, consuming a large amount of system resources, and causing business requests to time out, etc.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In the existing technology, synchronous execution and asynchronous execution are conventional technical means in the field of computer information processing technology. In order to ensure the efficiency of computing execution, when a single-threaded running task is blocked, the conventional method in the existing technology is to set up another thread for subsequent processing. The processing of other tasks in order to achieve higher efficiency and avoid the reduction of execution efficiency caused by blocking and waiting. For example, a single-core CPU has only one thread, because one thread of the CPU can only process one task at a time, if the current task is blocked, subsequent task requests will be stuck.

[0024] The request processing of each business sub-module of the gateway on a single machine uses the same thread pool to complete message conversion, routing, load balancing, etc. Due to the synchronous call to each subsystem in the gateway, when each subsyste...

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 present invention relates to the field of information technology, and provides an asynchronous gateway scheme in a distributed real-time business system. The main purpose is to solve the synchronous blockage of business threads in the gateway when the gateway thread pool is exhausted and business congestion causes each subsystem to process business logic. , consuming a large amount of system resources, causing problems such as service request timeouts. The main solution includes using an independent thread to continuously monitor the execution of the IO operation task. When the IO operation task is completed, the status of the IO operation task is updated as completed; for the IO operation task requesting an XML message, call the business subsystem to send the request The IO operation task of the JSON message, the IO operation task of the response JSON message that initiates the reception of the business subsystem response, converts the response JSON message to XML and returns the IO operation task status of the XML message of the response to the third-party business system When it is not completed, switch to other tasks to avoid service blocking.

Description

technical field [0001] This technology is directly applied to the field of Internet distributed micro-service architecture, especially for the needs of rapid response to business realization under relatively complete micro-services. This technology can realize the decoupling of each module of the micro-service at the gateway layer and improve the throughput of the gateway. Ensure the reliability and stability of the gateway system. Background technique [0002] At present, all requests of the integrated wealth management platform in the bank are implemented by calling the wealth management gateway through the ESB, and the gateway synchronously calls various business subsystems. The system still adopts the multi-threaded technology solution of the traditional technology system, and all services exposed to the outside world are connected through the clustered gateway to realize the unified service of the deposit business in the bank. [0003] The request processing of each bu...

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 Patents(China)
IPC IPC(8): H04L29/08H04L29/06
CPCH04L67/10H04L69/22H04L69/08H04L67/51
Inventor 钟铮李耀彭磊
Owner 武汉众邦银行股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products