Transaction Terminal Software Upgrade Query Mechanism
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing software upgrade methods for transaction terminals often result in data loss or software crashes when upgrading software during an ongoing transaction process.
Innovation Solution
A software upgrade method that involves sending an upgrade query instruction to the transaction terminal, receiving a query result generated by the software tool development kit integrated in the software to be upgraded, and determining whether to proceed with the upgrade based on the query result, thereby avoiding upgrades during transactions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If software upgrade is performed during transaction process, then software version is updated, but transaction data is lost or software crashes
Solution Approach 1:
The system performs preliminary detection before upgrade by sending upgrade query instructions to the transaction terminal to check if transaction software is currently executing transactions. This preliminary action identifies the state of the software before upgrade, preventing data loss by avoiding upgrades during active transactions through the multiple inquiry mechanism that checks at predetermined time intervals until no transactions are detected
Solution Approach 2:
The system implements feedback through the multiple inquiry mechanism that continuously monitors the transaction terminal's response to upgrade query instructions. The feedback loop checks transaction status at predetermined time intervals and only proceeds with upgrade when the feedback indicates no active transactions, thereby preventing software crashes and data loss while ensuring safe upgrade timing
2Adaptability or versatility
If software upgrade is performed during transaction process, then software functionality is improved, but transaction software crashes
Solution Approach 1:
The system performs preliminary detection by sending upgrade query instructions to check if transaction software is currently executing transactions before initiating the upgrade. This preliminary action ensures that upgrades are only performed when the software is not in use, preventing crashes while allowing version updates to proceed
Solution Approach 2:
The system dynamically adjusts the upgrade timing based on the real-time transaction status detected through multiple inquiries. The upgrade process is flexible and adaptive, waiting for the appropriate moment when transactions are not being executed, thereby ensuring software stability while achieving version updates
3Loss of information
If multiple inquiry mechanism is implemented, then data loss is prevented, but upgrade time is extended
Solution Approach 1:
The system uses periodic action through the multiple inquiry mechanism that checks transaction status at predetermined time intervals. This periodic checking continues until no transactions are detected, ensuring data protection while systematically progressing through the upgrade process without unnecessary delays
Data Source
AI summary
The present application is applicable to a field of computer application technology, and provides a software upgrade method, device and electronic device. The method includes: after receiving an upgrade request sent by a service platform, sending an upgrade query instruction to a transaction terminal; receiving a query result fed back by the transaction terminal, the query result being generated by executing the upgrade query instruction on the transaction terminal using a software tool development kit integrated in the software to be upgraded; and determining whether to upgrade the software to be upgraded in the transaction terminal according to the query result. Through the present application, a problem of data loss or software crash when upgrading software during a transaction can be solved, and the reliability and flexibility of software upgrades can be improved.


