Cryptocurrency Trading System with Failover Matching Servers

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current cryptocurrency trading systems are inadequate in processing transactions rapidly and securely, especially when dealing with sudden increases in transaction requests and system failures, leading to potential service interruptions and database load issues.

Innovation Solution

A cryptocurrency trading system that includes a first matching server for generating transaction pairs and a coordination device to register a second matching server when the first fails, allowing seamless processing of orders and minimizing database load by queuing orders and using a cache server to manage user data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If a single matching server is used to process cryptocurrency orders, then the system structure is simple, but the system cannot handle sudden increases in transaction requests and is vulnerable to failures

Engineering Contradiction:
Improvenumber of orders processed per secondVSAvoidsystem structure
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system divides the matching server functionality into multiple independent matching servers (first matching server, second matching server) that can operate in parallel. This segmentation allows the system to handle increased transaction volumes by distributing load across multiple servers and provides fault tolerance by enabling failover when a server fails.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system dynamically changes operational parameters by switching between different matching servers based on their operational status. When the first matching server fails, the system activates the second matching server, changing the active server parameter to maintain service continuity and handle transaction requests without interruption.

Inventive Principle:
Principle #35Parameter changes

2Reliability

If a single matching server is used, then the system configuration is simple, but the system lacks reliability when failures occur

Engineering Contradiction:
Improveservice continuityVSAvoidserver configuration
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system prepares backup resources in advance by configuring a second matching server that remains standby ready to take over if the first matching server fails. This beforehand cushioning ensures service continuity without requiring complex real-time failover logic, as the backup server is pre-configured and can be activated immediately upon failure detection.

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

Solution Approach 2:

The system creates a copy of the matching server functionality in the form of a second matching server with identical capabilities. This copying approach provides redundancy and fault tolerance, allowing the system to maintain reliability by switching to the copied server instance when the original fails, without requiring complex reconfiguration.

Inventive Principle:
Principle #26Copying

3Productivity

If orders are processed directly without queuing, then processing is fast, but the database experiences excessive load during high transaction volumes

Engineering Contradiction:
Improvetransaction processing speedVSAvoiddatabase load
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The system performs preliminary actions by queuing orders in memory before processing them. This preliminary queuing allows the system to buffer incoming transaction requests during high-volume periods, preventing direct database overload while maintaining processing capability. The queued orders are processed systematically, balancing speed with database protection.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11386494B2Cryptocurrency trading method and system
Publication Date: 2022.07.12 COINONE INC
  • US11386494B2 patent drawing
  • US11386494B2 patent drawing
  • US11386494B2 patent drawing

AI summary

Disclosed herein are a cryptocurrency trading system and method. The cryptocurrency trading system includes: a first matching server configured to generate a transaction pair by matching an order requesting a cryptocurrency transaction with another order to be concluded in conjunction with the former order in order to process the former order; and a coordination device configured to add the first matching server to the cryptocurrency trading system. When the first matching server fails, the coordination device registers a second matching server and allows the second matching server to process the former order.