Automated Transaction Message Verification via Configurable Parsing Rules
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for checking transaction messages in software testing are inefficient and prone to errors, particularly in debugging and testing phases, due to the need for manual verification.
Innovation Solution
A method for automatically checking transaction messages by obtaining actual messages from payment applications, parsing them using a configuration file, and comparing the parsing results with expected messages to verify their validity.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If manual checking of transaction messages is used, then flexibility in handling complex transactions is maintained, but efficiency and productivity are low
Solution Approach 1:
The system performs self-verification by automatically comparing actual transaction messages against pre-defined rules and expected outcomes, eliminating the need for manual checking while maintaining high flexibility through configurable verification rules
Solution Approach 2:
Manual mechanical checking processes are replaced with automated computational verification systems that use parsing, rule matching, and comparison algorithms to validate transaction messages efficiently
2Loss of time
If manual checking of transaction messages is used, then adaptability to different transaction types is maintained, but time consumption and loss of time increase
Solution Approach 1:
The verification system is designed with universal applicability through configurable rules that can handle multiple transaction types including special transactions, using a unified framework that adapts to different message formats and validation requirements
Solution Approach 2:
The system adapts to different transaction types by dynamically changing verification parameters and rules through configuration files, allowing flexible handling of various message structures without manual intervention
3Measurement precision
If manual checking of transaction messages is used, then no complex automated system is needed, but measurement precision and accuracy decrease
Solution Approach 1:
The verification system is segmented into distinct functional modules including message parsing, rule matching, comparison, and error reporting components, each handling specific aspects of verification to improve accuracy while maintaining manageable complexity
Solution Approach 2:
Configuration files and rule templates serve as intermediaries between the automated system and transaction messages, enabling precise verification through structured rules without requiring complex hard-coded logic
Data Source
AI summary
The present application provides a method for checking message, a terminal device and a storage medium. The method includes obtaining an actual message generated by a payment application during a transaction process, parsing the actual message to obtain the corresponding message parsing result, obtaining the expected message corresponding to the actual message and verifying the message parsing result according to the value of each field in the expected message.


