Transaction Display Method Reducing Server Load via Pre-Obtained Data
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current transaction displaying methods require high-concurrency execution capabilities from transaction servers, especially when multiple terminals request transaction data simultaneously, leading to increased server load and potential performance issues.
Innovation Solution
A transaction displaying method that pre-obtains transaction data from a transaction server, which includes transaction displaying groups and objects with associated probabilities, allowing for random selection based on these probabilities when a transaction is triggered, reducing the need for real-time data retrieval and thus alleviating server load.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If transaction data is requested from the transaction server each time a transaction is triggered, then the terminal can obtain real-time transaction data, but the high-concurrency execution capability requirements on the transaction server increase significantly
Solution Approach 1:
The terminal pre-requests transaction data from the transaction server before the transaction is actually triggered. This preliminary action allows the terminal to store transaction data locally, so that when a transaction is triggered, the terminal can directly use the pre-obtained data without needing to request it in real-time, thereby reducing the concurrency burden on the server while still providing timely transaction information.
2Productivity
If transaction data is pre-obtained and stored locally, then the server load is reduced, but the transaction data may not be the latest version
Solution Approach 1:
The system dynamically adjusts the transaction data based on the transaction type. For transactions where real-time data is critical, the terminal requests updated data from the server. For transactions where pre-stored data is sufficient, the terminal uses the locally cached data. This dynamic approach balances data freshness requirements with server load reduction, allowing the system to adapt to different transaction scenarios.
Data Source
AI summary
A transaction displaying method includes obtaining data associated with a transaction from a server, where the data includes data associated with one or more displaying groups and data associated with one or more displaying objects in each of the displaying groups. The method further includes, subsequent to the obtaining the data, detecting that the transaction is triggered, selecting, responsive to the detecting, a displaying group from the data, selecting a displaying object in the selected displaying group for display, and displaying the selected displaying object.


