Transaction management method and system suitable for passbook

The transaction management system addresses the limitations of existing POS terminals and printers by enabling secure and flexible transaction processing for passbooks, allowing direct printing of account book details and improving mobility and convenience.

CN112950200BActive Publication Date: 2024-12-20CHINA CONSTRUCTION BANK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110163488.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-05
Publication Date
2024-12-20
Estimated Expiration
2041-02-05

AI Technical Summary

Technical Problem

Existing POS terminals and passbook printers are limited in their functionality, as they cannot recognize passbooks for transactions and are often large and inflexible, making transactions inconvenient, especially in rural areas where passbooks are frequently used.

Method used

A transaction management system that includes a POS terminal, server, and passbook printer, where the POS terminal assembles and encrypts transaction messages, communicates with a server for verification and reconciliation book content, and sends formatted data to the printer using a serial communication protocol, ensuring secure and flexible transaction processing.

Benefits of technology

Enables secure, flexible, and convenient transaction processing directly printing account book details, compatible with most printers, enhancing mobility and convenience, particularly in rural areas where passbooks are prevalent.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112950200B_ABST
    Figure CN112950200B_ABST
Patent Text Reader

Abstract

The present application provides a transaction management method and system suitable for passbooks, the transaction management method comprising: the POS terminal responds to a transaction request, assembles a transaction message for the initiated transaction, encrypts the transaction message, and sends the encrypted transaction message to a server; the server decrypts and verifies the transaction message sent by the POS terminal, and performs corresponding transaction processing after confirming that the verification is passed; after the server completes the transaction processing, it sends the transaction processing result to the POS terminal; after receiving the transaction processing result, the POS terminal initiates a request for printing information of a reconciliation book to the server, so that the server returns the reconciliation book content to be printed; after the POS terminal performs format processing on the reconciliation book content returned by the server, it sends the reconciliation book content to the passbook printer based on the serial communication protocol; the passbook printer supplements the transaction content according to the reconciliation book content sent by the POS terminal, and returns the print result to the POS terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of financial transactions, and in particular, to a transaction management method and system suitable for passbooks. Background Art

[0002] In the existing market, separate POS terminals or separate passbook printers are commonly used. Separate POS terminals can only recognize magnetic stripe cards or IC cards, but cannot recognize passbooks, so transactions cannot be conducted through passbooks; or after the POS terminal uses a bank magnetic stripe card or IC card for a transaction, it cannot print transaction records for the passbook under the same account. Separate passbook printers can only be used as accessories in the business hall of a bank or financial institution together with a dedicated computer, and can only be used to print passbook transaction records or to supplement and print previous transaction records. In the related art, there are also devices that can print passbooks and use bank magnetic stripe cards or IC cards for transactions, but such devices are generally large in size and have poor mobility. In addition, for rural areas where passbooks are used more frequently, the inability to use passbooks for transactions will make transactions inconvenient. Summary of the invention

[0003] In view of the shortcomings of the existing methods, the present application proposes a transaction management method and system suitable for passbooks to solve at least one of the above-mentioned technical problems.

[0004] In a first aspect, an embodiment of the present application provides a transaction management method suitable for a passbook, comprising: the POS terminal responds to a transaction request, assembles a transaction message for the initiated transaction, encrypts the transaction message, and sends the encrypted transaction message to a server; the server decrypts and verifies the transaction message sent by the POS terminal, and performs corresponding transaction processing after confirming that the verification is passed; after the server completes the transaction processing, it sends the transaction processing result to the POS terminal; after receiving the transaction processing result, the POS terminal initiates a request for printing information of a reconciliation book to the server, so that the server returns the reconciliation book content to be printed; after the POS terminal formats the reconciliation book content returned by the server, it sends the reconciliation book content to the passbook printer based on the serial communication protocol; the passbook printer supplements the transaction content according to the reconciliation book content sent by the POS terminal, and returns the print result to the POS terminal.

[0005] In one embodiment of the present application, a transaction message is assembled for an initiated transaction and the transaction message is encrypted, including: the POS terminal assembles a transaction message for the initiated transaction, and calculates a signature for the transaction message based on a certificate pre-saved by the POS terminal; after the POS terminal completes the signature calculation, the transaction message is base64 encrypted, and a transaction message field and a signature information field are added; the POS terminal calls an encryption tool to encrypt the entire transaction message.

[0006] In one embodiment of the present application, sending the encrypted transaction message to the server includes: the POS terminal sends the transaction message after full message encryption to the server via https request.

[0007] In one embodiment of the present application, the server decrypts and verifies the transaction message sent by the POS terminal, and performs corresponding transaction processing after confirming that the verification is successful, including: after receiving the transaction message with full message encryption sent by the POS terminal, the server calls the encryption and decryption tool to decrypt the transaction message to obtain plain text; the server verifies the transaction message field and the signature information field, and performs corresponding transaction processing after determining that the message has not been intercepted and modified.

[0008] In one embodiment of the present application, a request for printing information of a reconciliation book is initiated to a server so that the server returns the contents of the reconciliation book to be printed, including: the POS terminal initiates a request for printing information of the reconciliation book to the server, the server confirms the contents of the reconciliation book to be printed in response to the request for printing information, calls an encryption and decryption tool to decrypt the contents of the reconciliation book, and sends the encrypted contents of the reconciliation book to the POS terminal.

[0009] In one embodiment of the present application, after the POS terminal formats the reconciliation book content returned by the server, the reconciliation book content is sent to the passbook printer based on the serial communication protocol, including: after the POS terminal receives the reconciliation book content returned by the server, the encryption and decryption tool is called to decrypt the reconciliation book content; the POS terminal formats the decrypted reconciliation book content to generate a printing template for the reconciliation book content, and sends the printing template for the reconciliation book content to the passbook printer.

[0010] In one embodiment of the present application, the passbook printer supplements the transaction content according to the account book content sent by the POS terminal, including: the passbook printer supplements the transaction content according to the printing template of the account book content sent by the POS terminal.

[0011] In the second aspect, the embodiment of the present application provides a transaction management system suitable for passbooks. In the first aspect, the embodiment of the present application provides a POS terminal, a server and a passbook printer, wherein the POS terminal is communicatively connected to the server and the passbook printer; the POS terminal responds to the transaction request, assembles a transaction message for the initiated transaction, encrypts the transaction message, and sends the encrypted transaction message to the server; the server decrypts and verifies the transaction message sent by the POS terminal, and performs corresponding transaction processing after confirming that the verification is passed; after the server completes the transaction processing, it sends the transaction processing result to the POS terminal; after receiving the transaction processing result, the POS terminal initiates a request for printing information of the reconciliation book to the server, so that the server returns the reconciliation book content to be printed; after the POS terminal formats the reconciliation book content returned by the server, it sends the reconciliation book content to the passbook printer based on the serial communication protocol; the passbook printer supplements the transaction content according to the reconciliation book content sent by the POS terminal, and returns the print result to the POS terminal.

[0012] In one embodiment of the present application, a transaction message is assembled for an initiated transaction and the transaction message is encrypted, including: the POS terminal assembles a transaction message for the initiated transaction, and calculates a signature for the transaction message based on a certificate pre-saved by the POS terminal; after the POS terminal completes the signature calculation, the transaction message is base64 encrypted, and a transaction message field and a signature information field are added; the POS terminal calls an encryption tool to encrypt the entire transaction message.

[0013] In one embodiment of the present application, a request for printing information of a reconciliation book is initiated to a server so that the server returns the contents of the reconciliation book to be printed, including: the POS terminal initiates a request for printing information of the reconciliation book to the server, the server confirms the contents of the reconciliation book to be printed in response to the request for printing information, calls an encryption and decryption tool to decrypt the contents of the reconciliation book, and sends the encrypted contents of the reconciliation book to the POS terminal.

[0014] In one embodiment of the present application, the POS terminal is deployed with a payment acquiring application, and the server is deployed with a bank online transaction system.

[0015] The technical solution provided in the embodiments of the present application has at least the following beneficial effects:

[0016] The transaction method and system suitable for passbooks provided in the embodiment of the present application supports the POS machine to connect to the printer to directly print the account book details. The transaction in the data flow process adopts encryption verification (double verification of unified encryption tool encryption and https certificate verification) to ensure the security of data. Compared with the transaction process using traditional account book printing equipment, the transaction process of the transaction party system provided by the present application is more flexible, convenient and more secure. The serial communication is adopted between the POS machine and the passbook printer, which is compatible with most printers on the market, reducing the matching difficulty of passbook printing.

[0017] Additional aspects and advantages of the present application will be partially given in the following description, which will become apparent from the following description, or will be understood through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0019] Figure 1 An architectural diagram of a transaction management system suitable for passbooks provided in this application;

[0020] Figure 2 A flow chart of a transaction management system suitable for passbooks provided in this application;

[0021] Figure 3 A flowchart of another transaction management method suitable for passbooks provided in this application. DETAILED DESCRIPTION

[0022] The present application is described in detail below, and examples of embodiments of the present application are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar components or components with the same or similar functions. In addition, if the detailed description of the known technology is unnecessary for the features of the present application shown, it will be omitted. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be interpreted as limiting the present application.

[0023] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art to which this application belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with those in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as here.

[0024] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.

[0025] First, the terms involved in this application are defined and explained.

[0026] Account book: It is composed of account pages with a certain format and are interconnected. It is used to comprehensively, systematically and continuously record various economic activities. It is the basis for preparing financial statements and an important tool for preserving accounting information.

[0027] POS terminal: It is a multifunctional self-service terminal that supports withdrawal, deposit, transfer, balance inquiry and password modification.

[0028] Serial port: generally refers to a serial interface, also known as a serial communication interface or serial communication interface (usually refers to a COM interface), which is an expansion interface that uses serial communication.

[0029] Figure 1 This is an architecture diagram of a transaction management system suitable for passbooks provided in an embodiment of the present application. The transaction management system includes a POS terminal, a server, and a passbook printer. The POS terminal is respectively connected to the server and the passbook printer in communication. The POS terminal is deployed with a acquiring application, and the server is deployed with a bank online transaction system. The POS terminal, the server, and the passbook printer respectively execute the corresponding steps of the transaction management method suitable for passbooks provided in an embodiment of the present application. It can be understood that the POS terminal executes the corresponding steps of the transaction management method suitable for passbooks based on the acquiring application, and the server executes the corresponding steps of the transaction management method suitable for passbooks based on the bank online transaction system.

[0030] Figure 2 The present application embodiment provides a flow chart of a transaction management method suitable for a passbook, the method comprising the following steps:

[0031] S110: In response to the transaction request, the POS terminal assembles a transaction message for the initiated transaction, encrypts the transaction message, and sends the encrypted transaction message to the server.

[0032] In one embodiment of the present application, a transaction message is assembled for an initiated transaction and the transaction message is encrypted, including: the POS terminal assembles a transaction message for the initiated transaction, and calculates a signature for the transaction message based on a certificate pre-saved by the POS terminal; after the POS terminal completes the signature calculation, the transaction message is base64 encrypted, and a transaction message field and a signature information field are added; the POS terminal calls an encryption tool to encrypt the entire transaction message.

[0033] In one embodiment of the present application, sending the encrypted transaction message to the server includes: the POS terminal sends the transaction message after full message encryption to the server via https request.

[0034] S120: The server decrypts and verifies the transaction message sent by the POS terminal, and performs corresponding transaction processing after confirming that the verification is successful.

[0035] In one embodiment of the present application, the server decrypts and verifies the transaction message sent by the POS terminal, and performs corresponding transaction processing after confirming that the verification is successful, including: after receiving the transaction message with full message encryption sent by the POS terminal, the server calls the encryption and decryption tool to decrypt the transaction message to obtain plain text; the server verifies the transaction message field and the signature information field, and performs corresponding transaction processing after determining that the message has not been intercepted and modified.

[0036] S130: After completing the transaction processing, the server sends the transaction processing result to the POS terminal.

[0037] S140: After receiving the transaction processing result, the POS terminal initiates a request for printing information of the account book to the server, so that the server returns the contents of the account book to be printed.

[0038] In one embodiment of the present application, a request for printing information of a reconciliation book is initiated to a server so that the server returns the contents of the reconciliation book to be printed, including: the POS terminal initiates a request for printing information of the reconciliation book to the server, the server confirms the contents of the reconciliation book to be printed in response to the request for printing information, calls an encryption and decryption tool to decrypt the contents of the reconciliation book, and sends the encrypted contents of the reconciliation book to the POS terminal.

[0039] S150: After the POS terminal formats the contents of the account book returned by the server, it sends the contents of the account book to the passbook printer based on the serial communication protocol.

[0040] In one embodiment of the present application, after the POS terminal formats the reconciliation book content returned by the server, the reconciliation book content is sent to the passbook printer based on the serial communication protocol, including: after the POS terminal receives the reconciliation book content returned by the server, the encryption and decryption tool is called to decrypt the reconciliation book content; the POS terminal formats the decrypted reconciliation book content to generate a printing template for the reconciliation book content, and sends the printing template for the reconciliation book content to the passbook printer.

[0041] S160: The passbook printer prints the transaction contents according to the account book contents sent by the POS terminal, and returns the printed results to the POS terminal.

[0042] In one embodiment of the present application, the passbook printer supplements the transaction content according to the account book content sent by the POS terminal, including: the passbook printer supplements the transaction content according to the printing template of the account book content sent by the POS terminal.

[0043] The transaction method suitable for passbooks provided in the embodiment of the present application supports the POS machine connected to the printer to directly print the account book details. The transaction in the data flow process adopts encryption verification (double verification of unified encryption tool encryption and https certificate verification) to ensure the security of data. Compared with the transaction process using traditional account book printing equipment, the transaction process of the transaction method provided by the present application is more flexible, convenient and more secure. The serial communication is adopted between the POS machine and the passbook printer, which is compatible with most printers on the market, reducing the matching difficulty of passbook printing.

[0044] Figure 3 The present application embodiment provides a flowchart of another transaction management method suitable for a passbook, the method comprising the following steps:

[0045] S201: The POS terminal assembles a transaction message for the initiated transaction, and performs signature calculation on the transaction message based on a certificate pre-stored in the POS terminal.

[0046] S202: After completing the signature calculation, the POS terminal performs base64 encryption on the transaction message and adds a transaction message field and a signature information field.

[0047] S203: The POS terminal calls an encryption tool to encrypt the entire transaction message.

[0048] S204: The POS terminal sends the fully encrypted transaction message to the server via https request.

[0049] S205: After receiving the fully encrypted transaction message sent by the POS terminal, the server calls an encryption and decryption tool to decrypt the transaction message to obtain a plain text.

[0050] S206: The server verifies the transaction message field and the signature information field, and after confirming that the message has not been intercepted or modified, performs corresponding transaction processing.

[0051] S207: After completing the transaction processing, the server sends the transaction processing result to the POS terminal.

[0052] S208: The POS terminal initiates a request for printing information of the account book to the server.

[0053] S209: The server determines the contents of the account book to be printed in response to the request for printing information, calls an encryption and decryption tool to decrypt the contents of the account book, and sends the encrypted contents of the account book to the POS terminal.

[0054] S210: After receiving the account book content returned by the server, the POS terminal calls the encryption and decryption tool to decrypt the account book content.

[0055] S211: The POS terminal formats the decrypted account book content to generate a printing template for the account book content, and sends the printing template for the account book content to the passbook printer.

[0056] S212: The passbook printer prints the transaction contents according to the printing template of the account book contents sent by the POS terminal, and returns the printing result to the POS terminal.

[0057] Based on the same inventive concept, the embodiment of the present application also provides a transaction management system suitable for passbooks, such as Figure 1 As shown, the transaction management system includes a POS terminal, a server and a passbook printer. The POS terminal is connected to the server and the passbook printer for communication. The POS terminal is deployed with a acquiring application, and the server is deployed with a bank online transaction system.

[0058] In response to the transaction request, the POS terminal assembles a transaction message for the initiated transaction, encrypts the transaction message, and sends the encrypted transaction message to the server; the server decrypts and verifies the transaction message sent by the POS terminal, and performs corresponding transaction processing after confirming that the verification is passed; after completing the transaction processing, the server sends the transaction processing result to the POS terminal; after receiving the transaction processing result, the POS terminal initiates a request for printing information of the reconciliation book to the server, so that the server returns the reconciliation book content to be printed; after the POS terminal formats the reconciliation book content returned by the server, it sends the reconciliation book content to the passbook printer based on the serial communication protocol; the passbook printer supplements the transaction content according to the reconciliation book content sent by the POS terminal, and returns the print result to the POS terminal.

[0059] In one embodiment of the present application, the POS terminal assembles a transaction message for the initiated transaction, and calculates a signature for the transaction message based on a certificate pre-saved by the POS terminal; after completing the signature calculation, the POS terminal performs base64 encryption on the transaction message, adds a transaction message field and a signature information field; the POS terminal calls an encryption tool to encrypt the entire transaction message.

[0060] In one embodiment of the present application, the POS terminal sends the fully encrypted transaction message to the server via an https request.

[0061] In one embodiment of the present application, after receiving the fully encrypted transaction message sent by the POS terminal, the server calls the encryption and decryption tool to decrypt the transaction message to obtain the plain text; the server verifies the transaction message field and the signature information field, and after determining that the message has not been intercepted and modified, performs the corresponding transaction processing.

[0062] In one embodiment of the present application, the POS terminal initiates a request for printing information of the account book to the server. The server confirms the content of the account book to be printed based on the request for printing information, calls the encryption and decryption tool to decrypt the content of the account book, and sends the encrypted content of the account book to the POS terminal.

[0063] In one embodiment of the present application, after the POS terminal receives the reconciliation book content returned by the server, the encryption and decryption tool is called to decrypt the reconciliation book content; the POS terminal formats the decrypted reconciliation book content to generate a printing template for the reconciliation book content, and sends the printing template for the reconciliation book content to the passbook printer; the passbook printer supplements the transaction content according to the reconciliation book content sent by the POS terminal, including: the passbook printer supplements the transaction content according to the printing template for the reconciliation book content sent by the POS terminal.

[0064] The transaction system suitable for passbooks provided in the embodiment of the present application supports POS machines connected to printers to directly print account book details. The transaction in the data flow process uses encryption verification (double verification of unified encryption tool encryption and https certificate verification) to ensure data security. Compared with the transaction process using traditional account book printing equipment, the transaction process of the transaction party system provided by the present application is more flexible, convenient and more secure. Serial communication is used between the POS machine and the passbook printer, which is compatible with most printers on the market, reducing the difficulty of matching passbook printing.

[0065] The transaction management system suitable for passbooks provided in the embodiment of the present application has the same inventive concept as the embodiments described above. The contents not shown in detail in the data query terminal can be referred to the embodiments described above and will not be repeated here.

[0066] Those skilled in the art will appreciate that the various operations, methods, steps, measures, and schemes in the processes discussed in this application may be alternated, altered, combined, or deleted. Further, other steps, measures, and schemes in the various operations, methods, and processes discussed in this application may also be alternated, altered, rearranged, decomposed, combined, or deleted. Further, the steps, measures, and schemes in the prior art that are similar to those disclosed in this application may also be alternated, altered, rearranged, decomposed, combined, or deleted.

[0067] In the description of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the feature. In the description of this application, unless otherwise specified, "plurality" means two or more.

[0068] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence based on the indications of the arrows, these steps are not necessarily executed in sequence based on the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0069] The above description is only a partial implementation method of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A transaction management method suitable for passbook, characterized in that: include: The POS terminal responds to the transaction request, assembles a transaction message for the initiated transaction, encrypts the transaction message, and sends the encrypted transaction message to the server; The server decrypts and verifies the transaction message sent by the POS terminal, and performs corresponding transaction processing after confirming that the verification is passed; After completing the transaction processing, the server sends the transaction processing result to the POS terminal; After receiving the transaction processing result, the POS terminal initiates a request for printing information of the account book to the server, so that the server returns the contents of the account book to be printed; After the POS terminal formats the account book contents returned by the server, it sends the account book contents to the passbook printer based on the serial communication protocol; The passbook printer prints the transaction contents according to the account book contents sent by the POS terminal, and returns the printed results to the POS terminal; Assembling a transaction message for the initiated transaction and encrypting the transaction message includes: The POS terminal assembles a transaction message for the initiated transaction, and performs signature calculation on the transaction message based on the certificate pre-stored by the POS terminal; After completing the signature calculation, the POS terminal performs base64 encryption on the transaction message, and adds a transaction message field and a signature information field; The POS terminal calls an encryption tool to encrypt the entire transaction message; The step of sending the encrypted transaction message to the server comprises: the POS terminal sending the transaction message after full message encryption to the server via an https request; The server decrypts and verifies the transaction message sent by the POS terminal, and performs corresponding transaction processing after confirming that the verification is passed, including: After receiving the fully encrypted transaction message sent by the POS terminal, the server calls the encryption and decryption tool to decrypt the transaction message to obtain the plain text; The server verifies the transaction message field and the signature information field, and after confirming that the message has not been intercepted or modified, performs corresponding transaction processing.

2. The transaction management method suitable for passbook according to claim 1, characterized in that: The initiating a request for printing information of the account book to the server so that the server returns the content of the account book to be printed, comprises: The POS terminal initiates a request for printing information of the account book to the server. The server determines the contents of the account book to be printed based on the request for printing information, calls an encryption and decryption tool to decrypt the contents of the account book, and sends the encrypted contents of the account book to the POS terminal.

3. The transaction management method suitable for passbook according to claim 2, characterized in that: After the POS terminal formats the reconciliation book content returned by the server, the reconciliation book content is sent to the passbook printer based on the serial communication protocol, including: after the POS terminal receives the reconciliation book content returned by the server, calling the encryption and decryption tool to decrypt the reconciliation book content; the POS terminal formats the decrypted reconciliation book content to generate a printing template for the reconciliation book content, and sends the printing template for the reconciliation book content to the passbook printer; The passbook printer supplements the transaction content according to the account book content sent by the POS terminal, including: the passbook printer supplements the transaction content according to the printing template of the account book content sent by the POS terminal.

4. A transaction management system suitable for passbooks, characterized in that: It includes a POS terminal, a server and a passbook printer, wherein the POS terminal is communicatively connected with the server and the passbook printer; The POS terminal, in response to the transaction request, assembles a transaction message for the initiated transaction and encrypts the transaction message, including: The POS terminal assembles a transaction message for the initiated transaction, and performs signature calculation on the transaction message based on the certificate pre-stored by the POS terminal; After completing the signature calculation, the POS terminal performs base64 encryption on the transaction message, and adds a transaction message field and a signature information field; The POS terminal calls an encryption tool to encrypt the entire transaction message; Sending the encrypted transaction message to the server includes: the POS terminal sends the transaction message after full message encryption to the server through an https request; The server decrypts and verifies the transaction message sent by the POS terminal, and performs corresponding transaction processing after confirming that the verification is passed, including: After receiving the fully encrypted transaction message sent by the POS terminal, the server calls the encryption and decryption tool to decrypt the transaction message to obtain the plain text; The server verifies the transaction message field and the signature information field, and after confirming that the message has not been intercepted or modified, performs corresponding transaction processing; After completing the transaction processing, the server sends the transaction processing result to the POS terminal; After receiving the transaction processing result, the POS terminal initiates a request for printing information of the account book to the server, so that the server returns the contents of the account book to be printed; After the POS terminal formats the account book contents returned by the server, it sends the account book contents to the passbook printer based on the serial communication protocol; The passbook printer prints the transaction contents according to the account book contents sent by the POS terminal, and returns the printed results to the POS terminal.

5. The transaction management system suitable for passbook according to claim 4, characterized in that: The POS terminal initiates a request for printing information of the account book to the server. The server determines the contents of the account book to be printed based on the request for printing information, calls an encryption and decryption tool to decrypt the contents of the account book, and sends the encrypted contents of the account book to the POS terminal.

6. The transaction management system suitable for passbook according to claim 4, characterized in that: The POS terminal is deployed with a payment acquiring application, and the server is deployed with a bank online transaction system.