Middleware-based payment method, apparatus, device and readable storage medium

By integrating financial IC cards and digital RMB payment standards into the middleware, the complexity of payment application development and use has been solved, enabling simplified payment processes and rapid addition of functions.

CN115222386BActive Publication Date: 2026-11-20深圳市证通金信科技有限公司 +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210619494.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-31
Publication Date
2026-11-20
Estimated Expiration
2042-05-31

AI Technical Summary

Technical Problem

In existing technologies, the financial IC card payment standard and the digital RMB payment standard are independent, resulting in high complexity in the development and use of payment applications.

Method used

The payment method adopts a middleware-based approach, integrating financial IC card payment standards and digital RMB payment standards. It obtains the payer's application identifier and determines the payment method through middleware, and processes the corresponding payment process.

Benefits of technology

It reduces the complexity of developing and using payment applications, enables the rapid addition of financial IC card and digital RMB payment functions, and simplifies the payment process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115222386B_ABST
    Figure CN115222386B_ABST
Patent Text Reader

Abstract

The application discloses a payment method, device and equipment based on middleware and a readable storage medium, and the method comprises the following steps: connecting with middleware when a starting instruction is received, wherein the middleware comprises a financial IC card payment standard and a digital RMB payment standard; acquiring a payer application identifier through the middleware, and determining a payment method of a payer according to the payer application identifier through the middleware; and determining whether to process a payment process according to the payment method of the payer through the middleware in the financial IC card payment standard or the digital RMB payment standard; the application integrates the financial IC card payment standard and the digital RMB payment standard in the middleware, so that the middleware can process the payment process based on the two standards, and when an application with a payment function is developed, the payment function meeting the two standards can be quickly added through the interface of the middleware, and the complexity of payment application development and use is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electronic payment technology, and more particularly to middleware-based payment methods, apparatus, devices, and readable storage media. Background Technology

[0002] The EMV2000 standard is a unified global technical standard for financial IC cards. Based on the EMV standard, the People's Bank of China launched the PBOC standard; the digital yuan is my country's legal tender. During payment, EMV transfers account and amount information, while the digital yuan transfers not only wallet ID and amount information but also directly transfers digital yuan.

[0003] The payment standards for financial IC cards and digital RMB are two independent standards. Developing an application with payment functionality requires creating two separate software programs based on these two standards, significantly increasing the complexity of payment application development and usage.

[0004] Therefore, reducing the complexity of developing and using payment applications is an urgent problem to be solved. Summary of the Invention

[0005] The main objective of this invention is to propose a middleware-based payment method, apparatus, device, and readable storage medium, aiming to solve the problem of reducing the complexity of payment application development and use.

[0006] To achieve the above objectives, the present invention provides a middleware-based payment method, which includes the following steps: Upon receiving a startup command, it connects to middleware, which includes financial IC card payment standards and digital RMB payment standards. The middleware is used to obtain the payer's application identifier and to determine the payer's payment method based on the payer's application identifier. The middleware determines whether to process the payment using the financial IC card payment standard or the digital RMB payment standard based on the payer's payment method.

[0007] Optionally, the step of obtaining the payer's application identifier through the middleware and determining the payer's payment method based on the payer's application identifier through the middleware includes the following: Obtain the payer's application information and transaction status information, and send the payer's application information and transaction status information to the middleware; The middleware processes the payer application information and the transaction status information to obtain a processing result, and issues an alarm based on the processing result, or executes the following steps based on the processing result: obtaining the payer application identifier through the middleware, and determining the payer's payment method based on the payer application identifier through the middleware.

[0008] Optionally, the step of issuing an alarm based on the processing result includes: If the processing result obtained through the middleware is that the payer's application information does not support offline transactions and the transaction status information is an offline transaction, then an alarm will be issued.

[0009] Optionally, the steps of obtaining the payer's application identifier through the middleware and determining the payer's payment method based on the payer's application identifier through the middleware include: The middleware establishes a secure connection channel with the payer application and obtains the payer application identifier corresponding to the payer application based on the secure connection channel. The middleware determines the payer's payment method based on the payer's application identifier.

[0010] Optionally, the step of determining whether to process the payment process using the financial IC card payment standard or the digital RMB payment standard based on the payer's payment method through the middleware includes: The middleware compares the payer's payment method with preset payment methods, including financial IC card payment and digital RMB payment. If the middleware determines that the payer's payment method is the financial IC card payment, then the payment process will be processed according to the financial IC card payment standard. If the middleware determines that the payer's payment method is digital RMB payment, then the payment process will be processed according to the digital RMB payment standard. If the middleware determines that the payer's payment method is neither the financial IC card payment nor the digital RMB payment, an alarm will be triggered.

[0011] Optionally, before determining the steps to process the payment process according to the financial IC card payment standard, the following steps are included: The middleware obtains transaction status information. If the transaction status information is determined to be an offline transaction, the financial IC card information corresponding to the financial IC card payment is obtained. If the financial IC card information is determined to be unsupported for offline transactions, an alarm is issued.

[0012] Optionally, the steps for processing the payment process include: The middleware obtains the execution instructions and the payer's payment information, and the payment process is completed based on the execution instructions and the payer's payment information.

[0013] Furthermore, to achieve the above objectives, the present invention also provides a middleware-based payment device, the middleware-based payment device comprising: A connection module is used to connect with middleware upon receiving a startup command. The middleware includes financial IC card payment standards and digital RMB payment standards. The determination module is used to obtain the payer application identifier through the middleware, and determine the payer's payment method based on the payer application identifier through the middleware. The processing module is used to determine, through the middleware, whether to process the payment process using the financial IC card payment standard or the digital RMB payment standard based on the payer's payment method.

[0014] Furthermore, the determining module is also used for: Obtain the payer's application information and transaction status information, and send the payer's application information and transaction status information to the middleware; The middleware processes the payer application information and the transaction status information to obtain a processing result, and issues an alarm based on the processing result, or executes the following steps based on the processing result: obtaining the payer application identifier through the middleware, and determining the payer's payment method based on the payer application identifier through the middleware.

[0015] Furthermore, the determining module also includes a first alarm module, which is used for: If the processing result obtained through the middleware is that the payer's application information does not support offline transactions and the transaction status information is an offline transaction, then an alarm will be issued.

[0016] Furthermore, the determining module is also used for: The middleware establishes a secure connection channel with the payer application and obtains the payer application identifier corresponding to the payer application based on the secure connection channel. The middleware determines the payer's payment method based on the payer's application identifier.

[0017] Furthermore, the processing module is also used for: The middleware compares the payer's payment method with preset payment methods, including financial IC card payment and digital RMB payment. If the middleware determines that the payer's payment method is the financial IC card payment, then the payment process will be processed according to the financial IC card payment standard. If the middleware determines that the payer's payment method is digital RMB payment, then the payment process will be processed according to the digital RMB payment standard. If the middleware determines that the payer's payment method is neither the financial IC card payment nor the digital RMB payment, an alarm will be triggered.

[0018] Furthermore, the processing module also includes a second alarm module, which is used for: The middleware obtains transaction status information. If the transaction status information is determined to be an offline transaction, the financial IC card information corresponding to the financial IC card payment is obtained. If the financial IC card information is determined to be unsupported for offline transactions, an alarm is issued.

[0019] Furthermore, the processing module is also used for: The middleware obtains the execution instructions and the payer's payment information, and the payment process is completed based on the execution instructions and the payer's payment information.

[0020] Furthermore, to achieve the above objectives, the present invention also provides a middleware-based payment system, the middleware-based payment system comprising: a memory, a processor, and a middleware-based payment program stored in the memory and executable on the processor, wherein the middleware-based payment program, when executed by the processor, implements the steps of the middleware-based payment method as described above.

[0021] Furthermore, to achieve the above objectives, the present invention also provides a readable storage medium, which is a computer-readable storage medium, on which a middleware-based payment program is stored, wherein when the middleware-based payment program is executed by a processor, it implements the steps of the middleware-based payment method as described above.

[0022] The middleware-based payment method proposed in this invention connects to middleware upon receiving a start command. This middleware includes both a financial IC card payment standard and a digital RMB payment standard. The method obtains the payer's application identifier through the middleware and determines the payer's payment method based on this identifier. Then, based on the payer's payment method, the middleware determines whether to process the payment using the financial IC card payment standard or the digital RMB payment standard. By integrating the financial IC card payment standard and the digital RMB payment standard into the middleware, this invention enables the middleware to handle payment processes based on both standards. Furthermore, when developing applications with payment functionality, payment functions conforming to both standards can be quickly added directly through the middleware's interface, reducing the complexity of payment application development and use. Attached Figure Description

[0023] Figure 1 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiments of the present invention; Figure 2 This is a flowchart illustrating the first embodiment of the payment method based on middleware of the present invention.

[0024] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0025] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0026] like Figure 1 As shown, Figure 1 This is a schematic diagram of the device structure of the hardware operating environment involved in the embodiments of the present invention.

[0027] The device in this embodiment of the invention can be a PC or a server.

[0028] like Figure 1As shown, the device may include: a processor 1001, such as a CPU; a network interface 1004; a user interface 1003; a memory 1005; and a communication bus 1002. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or non-volatile memory, such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0029] Those skilled in the art will understand that Figure 1 The device structure shown does not constitute a limitation on the device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0030] like Figure 1 As shown, the memory 1005, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a middleware-based payment program.

[0031] The operating system is a program that manages and controls portable storage devices and software resources, and supports the operation of the network communication module, user interface module, middleware-based payment program, and other programs or software; the network communication module is used to manage and control the network interface 1004; and the user interface module is used to manage and control the user interface 1003.

[0032] exist Figure 1 In the storage device shown, the storage device calls the middleware-based payment program stored in the memory 1005 through the processor 1001 and performs the operations in the various embodiments of the middleware-based payment method described below.

[0033] Based on the above hardware structure, an embodiment of the payment method based on middleware of the present invention is proposed.

[0034] Reference Figure 2 , Figure 2 This is a flowchart illustrating a first embodiment of the middleware-based payment method of the present invention. The method includes: Step S10: Upon receiving the start command, connect to the middleware, which includes the financial IC card payment standard and the digital RMB payment standard; Step S20: Obtain the payer application identifier through the middleware, and determine the payer's payment method based on the payer application identifier through the middleware; Step S30: The middleware determines whether to process the payment process using the financial IC card payment standard or the digital RMB payment standard based on the payer's payment method.

[0035] This embodiment of the middleware-based payment method is applied to an application with payment functionality. This application runs on the payee's middleware-based payment device, which can be a PC, mobile terminal, or other smart terminal. For ease of description, the middleware-based payment device is simply referred to as the payment device, and the description will use the payment device as an example. When the payment device receives a user-input start command, it runs the corresponding application with payment functionality and connects the application to the middleware. The middleware includes financial IC card payment standards and digital RMB payment standards. When the payment device receives a payment instruction from the payer, it establishes a secure connection channel with the payer's application through the middleware. Based on this secure connection channel, the middleware obtains the payer application identifier corresponding to the payer application. Then, based on the payer application identifier, the middleware determines the payer's payment method. The payment device compares the payer's payment method with preset payment methods via middleware. Preset payment methods include financial IC card payment and digital RMB payment. If the middleware determines the payer's payment method is financial IC card payment, it uses the financial IC card payment standard to obtain the execution instruction and payer's payment information from the application with payment functionality, and completes the payment process accordingly. If the middleware determines the payer's payment method is digital RMB payment, it uses the digital RMB payment standard to obtain the execution instruction and payer's payment information from the application with payment functionality, and completes the payment process accordingly. If the middleware determines the payer's payment method is neither financial IC card payment nor digital RMB payment, it sends an alert to the application with payment functionality. It should be noted that the middleware is embedded within the application with payment functionality. The application with payment functionality can directly call the middleware when it needs to use the payment function. The payer can use digital RMB payment applications or payment devices, as well as financial IC card payment applications or payment devices, to perform the corresponding payment operations.

[0036] The middleware-based payment method in this embodiment connects to the middleware upon receiving a start command. The middleware includes both the financial IC card payment standard and the digital RMB payment standard. The middleware obtains the payer's application identifier and determines the payer's payment method based on the identifier. Based on the payment method, the middleware determines whether to process the payment using the financial IC card payment standard or the digital RMB payment standard. This invention integrates the financial IC card payment standard and the digital RMB payment standard into the middleware, enabling it to handle payment processes based on both standards. Furthermore, when developing applications with payment functionality, payment functions conforming to both standards can be quickly added directly through the middleware's interface, reducing the complexity of developing and using applications with payment functionality.

[0037] The following will provide a detailed explanation of each step: Step S10: Upon receiving the start command, connect to the middleware, which includes the financial IC card payment standard and the digital RMB payment standard; In this embodiment, when the payment device receives the user's activation command, it runs the corresponding application with payment function and connects the application with the middleware. That is, the middleware obtains the application's callback function. The middleware includes the financial IC card payment standard and the digital RMB payment standard. The financial IC card payment standard is not limited to PBOC3.0 and EMV, but also includes processes from other card organizations, such as JCB. The digital RMB standard can not only transfer wallet ID and amount information, but also directly transfer digital RMB.

[0038] Furthermore, when developing applications with payment functionality, developers do not need to develop payment processes themselves. Instead, they can quickly add payment functionality to their applications through pre-packaged middleware interfaces, reducing the complexity of application development. The middleware is compatible with two distinct financial IC card standards and the digital RMB payment standard, and includes payment processes that support both. After developing the application, developers install it on the recipient's payment device, allowing the recipient to use the device to receive payments.

[0039] Step S20: Obtain the payer application identifier through the middleware, and determine the payer's payment method based on the payer application identifier through the middleware; In this embodiment, when the payment device detects a payment instruction from the payer, it calls middleware through an application with payment functionality to obtain the payer's application identifier. The middleware then determines the payer's payment method based on the payer's application identifier. The payer can use a financial IC card, a device supporting financial IC card payments, a digital RMB card, or a device supporting digital RMB payments to sense the payment from the payee's payment device, allowing the payee's payment device to receive the payer's payment instruction. For example, if the payer uses a financial IC card to swipe or tap it in the sensing area of ​​the payee's payment device, the payee's payment device can detect the payer's payment instruction. Devices supporting financial IC card payments, digital RMB cards, and devices supporting digital RMB payments operate similarly, and will not be described in detail here.

[0040] Furthermore, prior to step S20, the following is included: Step a: Obtain the payer application information and transaction status information, and send the payer application information and transaction status information to the middleware; Step b: The middleware processes the payer application information and the transaction status information to obtain a processing result, and an alarm is triggered based on the processing result, or the following steps are executed based on the processing result: the middleware obtains the payer application identifier and determines the payer's payment method based on the payer application identifier.

[0041] In steps a and b, when the payment device detects a payment instruction from the payer, it obtains the payer's application information and the payment device's transaction status information through an application with payment functionality, and sends this information to the middleware. The transaction status information indicates whether the payment device is offline or online; offline means the payment device is not connected to the internet, and online means the payment device is connected to the internet. Upon receiving the payer's application information and transaction status information, the middleware processes them to obtain a processing result and issues an alarm based on the result, or executes the following steps: obtaining the payer's application identifier through the middleware and determining the payer's payment method based on the payer's application identifier. It can be understood that the middleware determines whether the payment device is offline or online based on the transaction status information, and determines whether the payer's application supports offline transactions based on the payer's application information.

[0042] Furthermore, the step of issuing an alarm based on the processing result includes: Step b1: If the processing result obtained through the middleware is that the payer application information does not support offline transactions and the transaction status information is an offline transaction, then an alarm is issued.

[0043] In this step, if the middleware's processing result based on the transaction status information and the payer application information indicates that the payer application information does not support offline transactions and the transaction status information is an offline transaction, the middleware will issue an alarm and send an alarm message to the application with payment functionality. The application with payment functionality will then display the alarm message indicating that the payment device is in an offline state through the payment device's screen or other display modules, to remind the payee to adjust the payment device to bring it online, or to remind the payer to use a payer application that supports offline transactions. If the middleware's processing result based on the transaction status information and the payer application information does not fall under the above circumstances, it will not issue an alarm and will continue to execute subsequent payment steps.

[0044] Specifically, step S20 includes: Step c: Establish a secure connection channel with the payer application through the middleware, and obtain the payer application identifier corresponding to the payer application based on the secure connection channel through the middleware; Step d: The middleware determines the payer's payment method based on the payer's application identifier.

[0045] In steps c to d, the payment device calls the middleware through an application with payment functionality to establish a secure connection channel with the payer application. Based on the secure connection channel, it obtains the payer application identifier corresponding to the payer application. The middleware determines the payer's payment method based on the payer application identifier. It can be understood that the payer can choose from multiple payment methods, such as financial IC card payment, digital RMB payment, and other payments. The payer application identifier corresponding to the payer application that supports different payment methods is different. The middleware can determine the payer's payment method based on the payer application identifier.

[0046] Step S30: The middleware determines whether to process the payment process using the financial IC card payment standard or the digital RMB payment standard based on the payer's payment method.

[0047] Specifically, step S30 includes: Step e involves comparing the payer's payment method with preset payment methods through the middleware. The preset payment methods include financial IC card payment and digital RMB payment. Step f: If the middleware determines that the payer's payment method is the financial IC card payment, then the payment process is determined to be processed according to the financial IC card payment standard. Step g: If the middleware determines that the payer's payment method is digital RMB payment, then the payment process is determined to be processed according to the digital RMB payment standard. In step h, if the middleware determines that the payer's payment method is neither the financial IC card payment nor the digital RMB payment, an alarm is triggered.

[0048] In this embodiment, after the payment device determines the payer's payment method through the middleware of an application with payment functionality, the middleware compares the payer's payment method with preset payment methods, which include financial IC card payment and digital RMB payment. If the middleware determines that the payer's payment method is financial IC card payment, it determines to process the payment process according to the financial IC card payment standard. If the middleware determines that the payer's payment method is digital RMB payment, it determines to process the payment process according to the digital RMB payment standard. If the middleware determines that the payer's payment method is neither financial IC card payment nor digital RMB payment, it issues an alarm and sends an alarm message to the application with payment functionality. The application with payment functionality displays information such as "payer's payment method is not applicable" through the screen or other display modules of the payment device, reminding the payer to change the payment method to financial IC card payment or digital RMB payment.

[0049] Furthermore, prior to determining the steps for processing the payment process using the aforementioned financial IC card payment standard, the process includes: Step f1: Obtain transaction status information through the middleware. If the transaction status information is determined to be an offline transaction, obtain the financial IC card information corresponding to the financial IC card payment. If the financial IC card information is determined to be unsupported for offline transactions, issue an alarm.

[0050] In this step, after the middleware determines that the payer's payment method is financial IC card payment, it sends an instruction to the application with payment function to obtain transaction status information. The application with payment function sends the transaction status information to the middleware. If the middleware determines that the payment device is currently offline based on the transaction status information, it sends an instruction to the application with payment function to obtain financial IC card information. The application with payment function obtains the financial IC card information and sends it to the middleware. If the middleware determines that the financial IC card used by the payer for payment does not support offline transactions based on the financial IC card information, it issues an alarm and sends an alarm message to the application with payment function. The application with payment function displays the alarm message that the payment device is offline through the screen or other display modules of the payment device to remind the payee to adjust the payment device to bring it online, or to remind the payer to use a financial IC card that supports offline transactions.

[0051] Specifically, the steps involved in processing a payment are: The middleware obtains the execution instructions and the payer's payment information, and the payment process is completed based on the execution instructions and the payer's payment information.

[0052] In this step, when the middleware determines that the payer's payment method is financial IC card payment or digital RMB payment, it can process the payment process according to the corresponding financial IC card payment standard or digital RMB payment standard. When the middleware determines that the payer's payment method is digital RMB payment, it sends the corresponding status parameters to the application with payment function according to the digital RMB payment standard. The application with payment function enters the payment password and payment amount input interface according to the status parameters, and displays the payment password and payment amount input interface to the payer through the screen or other display modules of the payment device. The payer enters the corresponding payment password and payment amount in the payment password and payment amount input interface. The application with payment function generates an execution instruction based on the payment password and payment amount and sends it to the middleware. The middleware obtains the payer's payment information such as payment password and payment amount according to the execution instruction, and deducts the corresponding amount of digital RMB from the payer's digital RMB card or digital RMB-enabled payment device according to the payment password and payment amount, thereby completing the payment process. When the middleware completes the payment process, it sends the corresponding status parameters to the application with payment function, so that the application with payment function confirms that the payment is completed and sends the payment completion information to the payer. When the middleware determines that the payer's payment method is financial IC card payment, it obtains the execution instruction and payer's payment information through the middleware according to the financial IC card payment standard. The process of completing the payment process based on the execution instruction and payer's payment information is the same as the process described above, and will not be repeated here.

[0053] In this embodiment, when the payment device receives a user-input start command, it runs the corresponding application with payment functionality and connects the application to middleware. The middleware includes financial IC card payment standards and digital RMB payment standards. When the payment device receives a payment instruction from the payer, it establishes a secure connection channel with the payer's application through the middleware. Based on this secure connection channel, the middleware obtains the payer's application identifier and determines the payment method based on the identifier. The payment device then compares the payer's payment method with preset payment methods, including financial IC card payment and digital RMB payment. If the payment method is obtained through the middleware... If the middleware determines that the payer's payment method is financial IC card payment, it will obtain the execution instruction and payer's payment information from the application with payment functionality through the middleware, based on the financial IC card payment standard, and complete the payment process accordingly. If the middleware determines that the payer's payment method is digital RMB payment, it will obtain the execution instruction and payer's payment information from the application with payment functionality through the middleware, based on the digital RMB payment standard, and complete the payment process accordingly. If the middleware determines that the payer's payment method is neither financial IC card payment nor digital RMB payment, it will issue an alert to the application with payment functionality through the middleware. This invention integrates the financial IC card payment standard and the digital RMB payment standard into the middleware, enabling the middleware to handle payment processes based on both standards. Furthermore, when developing applications with payment functionality, payment functions conforming to both standards can be quickly added directly through the middleware's interface, reducing the complexity of application development and use.

[0054] The present invention also provides a middleware-based payment device. The middleware-based payment device of the present invention includes: A connection module is used to connect with middleware upon receiving a startup command. The middleware includes financial IC card payment standards and digital RMB payment standards. The determination module is used to obtain the payer application identifier through the middleware, and determine the payer's payment method based on the payer application identifier through the middleware. The processing module is used to determine, through the middleware, whether to process the payment process using the financial IC card payment standard or the digital RMB payment standard based on the payer's payment method.

[0055] Furthermore, the determining module is also used for: Obtain the payer's application information and transaction status information, and send the payer's application information and transaction status information to the middleware; The middleware processes the payer application information and the transaction status information to obtain a processing result, and issues an alarm based on the processing result, or executes the following steps based on the processing result: obtaining the payer application identifier through the middleware, and determining the payer's payment method based on the payer application identifier through the middleware.

[0056] Furthermore, the determining module also includes a first alarm module, which is used for: If the processing result obtained through the middleware is that the payer's application information does not support offline transactions and the transaction status information is an offline transaction, then an alarm will be issued.

[0057] Furthermore, the determining module is also used for: The middleware establishes a secure connection channel with the payer application and obtains the payer application identifier corresponding to the payer application based on the secure connection channel. The middleware determines the payer's payment method based on the payer's application identifier.

[0058] Furthermore, the processing module is also used for: The middleware compares the payer's payment method with preset payment methods, including financial IC card payment and digital RMB payment. If the middleware determines that the payer's payment method is the financial IC card payment, then the payment process will be processed according to the financial IC card payment standard. If the middleware determines that the payer's payment method is digital RMB payment, then the payment process will be processed according to the digital RMB payment standard. If the middleware determines that the payer's payment method is neither the financial IC card payment nor the digital RMB payment, an alarm will be triggered.

[0059] Furthermore, the processing module also includes a second alarm module, which is used for: The middleware obtains transaction status information. If the transaction status information is determined to be an offline transaction, the financial IC card information corresponding to the financial IC card payment is obtained. If the financial IC card information is determined to be unsupported for offline transactions, an alarm is issued.

[0060] Furthermore, the processing module is also used for: The middleware obtains the execution instructions and the payer's payment information, and the payment process is completed based on the execution instructions and the payer's payment information.

[0061] The present invention also provides a middleware-based payment system.

[0062] The middleware-based payment system includes: a memory, a processor, and a middleware-based payment program stored in the memory and executable on the processor, wherein the middleware-based payment program, when executed by the processor, implements the steps of the middleware-based payment method as described above.

[0063] The method implemented when the middleware-based payment program running on the processor is executed can be referred to in various embodiments of the middleware-based payment method of the present invention, and will not be repeated here.

[0064] The present invention also provides a readable storage medium.

[0065] The readable storage medium is a computer-readable storage medium that stores a middleware-based payment program, which, when executed by a processor, implements the steps of the middleware-based payment method as described above.

[0066] The method implemented when the middleware-based payment program running on the processor is executed can be referred to in various embodiments of the middleware-based payment method of the present invention, and will not be repeated here.

[0067] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0068] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0069] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0070] The above are merely preferred embodiments of the present invention and do not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.

Claims

1. A middleware-based payment method, characterized in that, The middleware-based payment method includes the following steps: Upon receiving a startup command, it connects to middleware, which includes financial IC card payment standards and digital RMB payment standards. The financial IC card payment standard is used to process the transfer of account and financial information, while the digital RMB payment standard is used to transfer wallet ID and amount information, as well as to directly transfer digital RMB. The middleware obtains the payer's application identifier and determines the payer's payment method based on the payer's application identifier, specifically including: The middleware establishes a secure connection channel with the payer application and obtains the payer application identifier corresponding to the payer application based on the secure connection channel. The middleware determines the payer's payment method based on the payer's application identifier. The middleware determines whether to process the payment process using the financial IC card payment standard or the digital RMB payment standard based on the payer's payment method. The middleware is compatible with two different financial IC card payment standards and digital RMB payment standards, and includes a payment process that supports both financial IC card payment standards and digital RMB payment standards. The payer application identifier varies depending on the payer application that supports different payment methods; Specifically, the middleware determines whether to process the payment process using the financial IC card payment standard or the digital RMB payment standard based on the payer's payment method. The middleware compares the payer's payment method with preset payment methods, including financial IC card payment and digital RMB payment. If the middleware determines that the payer's payment method is the financial IC card payment, then the payment process will be processed according to the financial IC card payment standard. If the middleware determines that the payer's payment method is digital RMB payment, then the payment process will be processed according to the digital RMB payment standard. If the middleware determines that the payer's payment method is neither the financial IC card payment nor the digital RMB payment, an alarm will be triggered.

2. The middleware-based payment method as described in claim 1, characterized in that, Prior to the step of obtaining the payer application identifier through the middleware and determining the payer's payment method based on the payer application identifier through the middleware, the following steps are included: Obtain the payer's application information and transaction status information, and send the payer's application information and transaction status information to the middleware; The middleware processes the payer application information and the transaction status information to obtain a processing result, and issues an alarm based on the processing result, or executes the following steps based on the processing result: obtaining the payer application identifier through the middleware, and determining the payer's payment method based on the payer application identifier through the middleware.

3. The middleware-based payment method as described in claim 2, characterized in that, The step of issuing an alarm based on the processing result includes: If the processing result obtained through the middleware is that the payer's application information does not support offline transactions and the transaction status information is an offline transaction, an alarm will be issued.

4. The middleware-based payment method as described in claim 1, characterized in that, Before the step of determining to process the payment process according to the financial IC card payment standard, the following steps are included: The middleware obtains transaction status information. If the transaction status information is determined to be an offline transaction, the financial IC card information corresponding to the financial IC card payment is obtained. If the financial IC card information is determined to be unsupported for offline transactions, an alarm is issued.

5. The middleware-based payment method as described in any one of claims 1-4, characterized in that, The steps of the payment processing procedure include: The middleware obtains the execution instructions and the payer's payment information, and the payment process is completed based on the execution instructions and the payer's payment information.

6. A middleware-based payment device, characterized in that, The middleware-based payment device includes: A connection module is used to connect with middleware upon receiving a startup command. The middleware includes a financial IC card payment standard and a digital RMB payment standard. The financial IC card payment standard is used to process the transfer of account and financial information, while the digital RMB payment standard is used to transfer wallet ID and amount information, as well as to directly transfer digital RMB. The determination module is used to obtain the payer application identifier through the middleware, and determine the payer's payment method based on the payer application identifier through the middleware. Specifically, it includes: establishing a secure connection channel with the payer application through the middleware, obtaining the payer application identifier corresponding to the payer application based on the secure connection channel through the middleware, and determining the payer's payment method based on the payer application identifier through the middleware. The processing module is used to determine, through the middleware, whether to process the payment process using the financial IC card payment standard or the digital RMB payment standard based on the payer's payment method. The connection module is also used to ensure that the middleware is compatible with two different financial IC card payment standards and digital RMB payment standards, and includes a payment process that supports two different financial IC card payment standards and digital RMB payment standards; the payer application identifier is different depending on the payer application of the different payment methods supported. The processing module is further configured to compare the payer's payment method with preset payment methods via the middleware, the preset payment methods including financial IC card payment and digital RMB payment; if the middleware determines that the payer's payment method is financial IC card payment, then the payment process is processed according to the financial IC card payment standard; if the middleware determines that the payer's payment method is digital RMB payment, then the payment process is processed according to the digital RMB payment standard; if the middleware determines that the payer's payment method is neither financial IC card payment nor digital RMB payment, then an alarm is triggered.

7. A middleware-based payment device, characterized in that, The middleware-based payment system includes: a memory, a processor, and a middleware-based payment program stored in the memory and executable on the processor, wherein the middleware-based payment program, when executed by the processor, implements the steps of the middleware-based payment method as described in any one of claims 1 to 5.

8. A readable storage medium, characterized in that, The readable storage medium is a computer-readable storage medium, on which a middleware-based payment program is stored, which, when executed by a processor, implements the steps of the middleware-based payment method as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method for realizing middleware based on emv, terminal equipment

    CN109240655A

  • Terminal digital RMB payment method

    CN113077244A