The application relates to a message exchange method and
system, which is based on an 8583 protocol format, configures message composition content, and has fields containing a purpose, a
data field number, a maximum length, a length type, a
data format, a padding type, a padding position, padding content, an existence identifier,
original data, and a general basic packet format of packet data after formatting;
transaction data dynamically generated according to a transaction process is encrypted through the configured message composition content to generate a
data set; the
data set format is converted into a required format of a transaction message to generate
message format data; a message header is added to the
message format data, and a MAC is composed to complete the message, which is uploaded to a
transaction processing party transaction
system. The method takes into account the standard difference of data fields of different transaction parties, avoids risks caused by cognitive bias, strips the deep association of the
system with
software and hardware, standardizes the data to simplify integration, does not depend on external resources for original
code development, avoids
transplantation problems, and improves compatibility and stability.