Electronic payment transaction method, electronic payment terminal device, and storage medium
Patent Information
- Application Number
- CA3321547
- Authority / Receiving Office
- CA · CA
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-07-19
- Filing Date
- 2025-07-16
- Publication Date
- 2026-01-22
AI Technical Summary
Existing electronic payment terminal devices face issues with misinterpretation of payment methods due to the strong radio frequency field of non-contact cards interfering with magnetic and IC card transactions, leading to longer transaction times and user inconvenience, especially in miniaturized devices.
The method determines the user's payment intention by monitoring the drive current value of a non-contact chip to identify the distance and relative position between the payment terminal and the device, allowing accurate execution of the desired transaction mode without unnecessary delays.
This approach ensures efficient and accurate processing of transactions while meeting EMV certification requirements, suitable for miniaturized devices, and enhances user satisfaction by minimizing false triggers and transaction delays.
Abstract
Description
Electronic payment transaction method, electronic payment terminal device, and storage mediumTechnical Field
[0001] The present invention relates to the field of electronic technology, in particular to electronic payment transaction method, electronic payment terminal device, and related storage media.Background
[0002] Electronic payment terminal devices, especially those used in the retail industry, such as POS machines, typically require the user to perform a swipe / insert / non-contact card action in the normal transaction process to complete the payment process. Therefore, the electronic payment terminal will simultaneously open the three functions of magnetic card, IC card and non-contact card, the user can choose one of these methods to make payment.
[0003] With the development of miniaturization of electronic payment terminal products, the RF field of non-contact card function of electronic payment terminal devices will cover all areas of the device itself. This means that when customers choose to pay with a magnetic card or IC card, when the card is placed near the magnetic head or IC card seat during the card swipe and insertion process, the card enters the RF field area of non-contact card function first, so it will automatically choose to complete the non-contact card payment process first, without completing the magnetic card or IC card payment according to the customer's predetermined choice, thus causing inconvenience and trouble to the user.
[0004] For the above problem, there are two known solutions. The first is to reduce the RF field strength of the non-contact card function of the electronic payment terminal device to avoid the RF field of the non-contact card function covering the magnetic card swipe or IC card reading area. The second is: in the process of the electronic payment terminal device transaction, when the device reads the non-contact card, the unified delay for a period of time, waiting to detect whether there are other types of transaction trigger, if there is no detection of magnetic card or IC card reading card transaction trigger, then continue to complete the non-contact card transaction.
[0005] The above two existing solutions have the following shortcomings. For the first solution, firstly, the strength of the RF field used by the electronic payment terminal device for the non-contact card function needs to meet the EMV certification requirements, and ensure that the user's experience when using non-contact payment cannot be reduced indefinitely. Secondly, for the miniaturized electronic payment terminal device, it is basically impossible to avoid the strong RF field of its non-contact card function covering the area of magnetic card swipe or IC card insertion. When making a transaction with a card, it is necessary to wait for a certain delay to determine whether a magnetic card or IC card is detected to make a transaction. This causes each transaction to become longer, affecting the user's experience. Especially when the user wants to use the contactless card function to make a transaction, or does not care about how to make a transaction, the waiting delay is wasted in vain, reducing the user's satisfaction. It is not conducive to the development and promotion of contactless transaction technology.Summary
[0006] In view of the defects of the above-mentioned prior art, the present invention provides a method for determining the user's payment intention by indirectly identifying the distance and relative position relationship between the payment terminal (such as a bank card) and the electronic payment terminal device (such as a POS machine) , thereby accurately identifying whether the user wants to pay by a non-contact (contactless) card, or wants to pay by other methods / modes (such as a magnetic card or IC card) but is misread by the radio frequency field of the non-contact chip. Based on the above judgment, the electronic payment terminal device is guided to complete the transaction accurately, conveniently and quickly in the way the customer wants.
[0007] To this end, the first aspect of the invention provides an electronic payment transaction method for an electronic payment terminal device comprising a CPU, a non-contact chip, a magnetic card transaction module and / or an IC card transaction module, characterized by the following steps:
[0008] Step 1: The electronic payment terminal device activates non-contact card transaction function, as well as magnetic card and / or IC card transaction function, and launches a transaction application;
[0009] Step 2: The CPU reads and monitors a drive current value recorded in a register of the non-contact chip in real time;
[0010] Step 3: The CPU compares the monitored drive current value with the first preset value and the second preset value, once the monitored drive current value is greater than the second preset value and less than or equal to the first preset value, the non-contact card transaction is immediately performed and the transaction is completed; if the monitored drive current value is less than the second preset value, the non-contact card transaction is not performed and a first time period is delayed, during the first time period, the user can perform a magnetic card or IC card mode transaction and complete the transaction; If the delay exceeds the first time period and the CPU still does not detect the transaction completion by other means, the non-contact card transaction is still performed and the transaction is completed;
[0011] wherein the first preset value is a possible maximum drive current value recorded in the register of the non-contact chip when transactions are carried out by using a non-contact card mode; the second preset value is a maximum drive current value recorded in the register of the non-contact chip when transactions are carried out by using a magnetic card and / or IC card mode; wherein the first preset value is greater than the second preset value.
[0012] The non-contact chip can adjust the supply current (i.e. the drive current) according to the magnitude (size) of the external load sensed by its antenna (hereinafter referred to as the non-contact antenna) , and record the value of the drive current in a register inside the chip. In general, within the radio frequency area transmitted by the non-contact antenna, the farther the payment terminal is placed from the non-contact antenna, the worse the coupling between the antenna inside the payment terminal and the non-contact antenna, the smaller the induced load, and the smaller the drive current provided by the non-contact chip. Conversely, the closer the payment terminal is placed to the non-contact antenna, the higher (better) the coupling between the antenna inside the payment terminal and the non-contact antenna, the greater the induced load, and the greater the drive current provided by the non-contact chip.
[0013] Therefore, the inventor of the present invention cleverly uses the drive current value provided by the non-contact chip read by the CPU to indirectly identify the approximate distance and relative position relationship between the payment terminal and the non-contact antenna of the electronic payment terminal device, and further judges the user's payment method intention based on the above distance and position relationship. When the electronic payment terminal device recognizes that the payment terminal is near the liquid crystal surface of the device (the non-contact antenna is usually arranged below this surface) , it can be determined that the user's intention at this time is to conduct a transaction by means of a contactless card. When the electronic payment terminal device recognizes that the payment terminal is a certain distance away from the liquid crystal surface of the device, it can be determined that the user's intention at this time is to conduct a transaction via a magnetic card / IC card. However, during the card swiping / insertion process, when the payment terminal enters the radio frequency field of the non-contact antenna, the system will delay and wait for a period of time and will not execute the contactless card transaction temporarily, giving the user time to complete the card swiping / insertion action to complete the magnetic card / IC card transaction. If the user does not swipe the magnetic card or insert the IC card to complete the transaction within the delay period, it indicates that the user has improperly placed the payment terminal too far away from the non-contact transaction sensing area, so the non-contact card mode transaction continues.
[0014] Through the above method, the electronic payment terminal device can meet the transmission field strength requirements of the non-contact antenna of the industry EMV certification, without limiting the transmission field strength of the non-contact antenna to avoid false triggering of contactless transactions (such as NFC) . Furthermore, the method is particularly suitable for miniaturized electronic payment terminal devices, and can correctly process transactions in the manner actually desired by the customer even if the field strength emitted by the non-contact antenna of the device completely covers the card reading area of the magnetic card and / or IC card. This is because the card reading area of the magnetic card and / or IC card and the layout area of the non-contact antenna are always staggered by a certain distance and are set in opposite positions relative to each other. As a result, when the payment terminal is in different positions between the card reading area of the magnetic card and / or IC card and directly facing the layout area of the non-contact antenna, the degree of coupling between the antenna in the payment terminal and the non-contact antenna will change significantly. This difference in change leads to a change in the magnitude (size) of the external load sensed by the non-contact chip, which is then converted into a change in the magnitude / size of the drive current provided by the non-contact chip. The method of the present invention utilizes the changes in these parameters that vary with the position and distance of the payment terminal, so that the electronic payment terminal device can automatically and indirectly identify the distance and relative position relationship between the payment terminal (such as a bank card) and the electronic payment terminal device (such as a POS machine) , thereby determining the user's target intention for the payment method.
[0015] According to an embodiment of the present invention, during Step 2, the non-contact chip senses a magnitude of an external load based on a coupling degree between an antenna inside a payment terminal and a non-contact antenna within its RF emission region, and sets a magnitude of the drive current value provided according to the magnitude of the external load sensed.
[0016] According to a preferred embodiment of the present invention, the electronic payment terminal device further including a filter module, wherein, during Step 3, when the CPU detects that the drive current value is greater than the second preset value and less than or equal to the first preset value, the non-contact card transaction is not immediately carried out, but instead the drive current value read in real time from the register of the non-contact chip is input into the filter module, the filter module monitors the real-time input drive current value and maintains monitoring for a duration of a second time period, within the second time period, if the drive current value input in real time is always kept within the interval range of greater than the second preset value and less than or equal to the first preset value, the filtering is passed, and the non-contact card transaction is immediately carried out, and the transaction is completed; otherwise, the filtering is not passed, Step 3 is continued in the same manner as when the drive current value is less than the second preset value, and the transaction is completed.
[0017] According to a preferred embodiment of the present invention, said electronic payment transaction method further including a preset step before Step 1, wherein when the electronic payment terminal device leaves a factory, the preset step uses different payment terminals to perform transaction tests based on characteristics of the terminal device itself, and calibrates and sets the first preset value and the second preset value according to the actually detected drive current value.
[0018] According to a preferred embodiment of the present invention, the electronic payment terminal device further including a monitoring and recording module for the drive current value of the non-contact chip under different transaction modes, and the electronic payment transaction method further including a self-adaptive adjustment step, in which the CPU reads all drive current values recorded when transactions are conducted by using magnetic cards and / or IC cards method and stored in the monitoring and recording module, and obtains a maximum drive current value therein, and then compares the maximum drive current value with the second preset value, if the maximum drive current value is less than the second preset value, the second preset value is reset to the maximum drive current value.
[0019] A second aspect of the invention also provides an electronic payment terminal device, including a CPU, a non-contact chip, magnetic card transaction module and / or IC card transaction module, characterized in that the CPU further includes a start module, a read module, a determination and transaction module, wherein:
[0020] - the start module is configured to start the non-contact card transaction function, as well as the magnetic card and / or IC card transaction function, and start the transaction application;
[0021] - the read module is configured to read and monitor in real time the drive current value recorded in a register of the non-contact chip;
[0022] - the determination and transaction module is configured to compare the monitored drive current value with the first preset value and the second preset value, once the monitored drive current value is greater than the second preset value and less than or equal to the first preset value, a non-contact card mode transaction is immediately performed and the transaction is completed, if the monitored drive current value is less than the second preset value, the non-contact card mode transaction is not performed and a first time period is delayed, during the first time period, a user can perform a magnetic card or IC card mode transaction and complete the transaction, if the delay exceeds the first time period and a transaction completion of other mode is still not detected, the non-contact card mode transaction is still performed and the transaction is completed;
[0023] wherein the first preset value is a maximum possible drive current value recorded in the register of the non-contact chip during non-contact card mode transactions; the second preset value is a maximum drive current value recorded in the register of the non-contact chip during magnetic card and / or IC card mode transactions; wherein the first preset value is greater than the second preset value.
[0024] According to a preferred embodiment of the present invention, the electronic payment terminal device further including a filter module, wherein the determination and transaction module is configured to not immediately conduct a non-contact card transaction when it is detected that the drive current value is greater than a second preset value and less than or equal to a first preset value, but to input the drive current value read in real time from the register of the non-contact chip to the filter module;
[0025] the filter module is configured to monitor the drive current value input in real time and keep monitoring a duration of a second time period, during the second time period, if the drive current value input in real time is always kept within the interval range greater than the second preset value and less than or equal to the first preset value, the filtering is passed; otherwise, the filtering is not passed (failed) ;
[0026] the determination and transaction module is further configured such that: when the filtering is passed, the non-contact card transaction is immediately carried out and the transaction is completed; when the filtering is not passed, the non-contact card transaction is not conducted and the first time period is delayed, during the first time period, an user can perform a magnetic card or IC card transaction and complete the transaction; if the delay exceeds the first time period, other mode transaction completion is still not detected, then still carry out the non-contact card transaction, and the transaction is completed.
[0027] According to a preferred embodiment of the present invention, the electronic payment terminal device further including a preset module, wherein the preset module is configured to perform transaction tests by using different payment terminals, according to the characteristics of the electronic payment terminal device itself when the electronic payment terminal device leaves a factory, and calibrate and preset the first preset value and the second preset value according to the actually detected drive current value.
[0028] According to a preferred embodiment of the present invention, the electronic payment terminal device further including a monitoring and recording module for the drive current value of the non-contact chip under different transaction modes, and the CPU further including a self-adaptive adjustment module, wherein the self-adaptive adjustment module is configured to read all drive current values recorded when the transactions are conducted by using a magnetic card and / or an IC card mode and stored in the monitoring and recording module, and obtain a maximum drive current value therein, and the maximum drive current value is then compared with the second preset value, If the maximum drive current value is less than the second preset value, the second preset value is reset to the maximum drive current value.
[0029] According to an embodiment of the present invention, the electronic payment terminal device comprises a POS device.
[0030] A third aspect of the invention also provides a storage medium on which is stored a set of instructions suitable for running and executing on a calculator / computer, characterized in that the set of instructions executes the electronic payment transaction method as described above when running on the calculator / computer.
[0031] Description of the Drawings
[0032] The invention will be further described in detail with reference to the appended drawings below. It will be readily understood by those skilled in the art that these appended drawings are for illustrative purposes only and are not intended to limit the scope of protection of the invention. The same appended drawing references in the drawings indicate identical or similar components. For illustrative purposes, these drawings are not drawn entirely in proportion.
[0033] Figure 1 shows a schematic diagram of a POS terminal performing an electronic payment transaction with a bank card according to a preferred embodiment of the present invention.
[0034] Figure 2 shows a POS terminal device according to a preferred embodiment of the invention capable of executing the electronic payment transaction method of the invention.
[0035] Detailed Description of the Embodiments
[0036] In order to make the purpose, technical scheme and advantages of the embodiment of the invention clearer, the technical scheme in the embodiment of the invention will be clearly and completely described below in conjunction with the appendix diagram in the embodiment of the invention. Obviously, the described embodiment is a part of the embodiment of the invention, rather than the entire embodiment. Based on the embodiment of the invention, all other embodiments obtained by ordinary technicians in the field without doing creative work fall within the scope of the protection of the invention. The detailed description of the embodiments of the invention provided in the appended drawings is not intended to limit the scope of the invention for which protection is claimed, but merely to indicate the selected embodiment of the invention. Based on the embodiments of the invention, all other embodiments obtained by ordinary skilled persons in the art without the provision of creative work fall within the scope of the protection of the invention.
[0037] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying the relative importance or the number of technical features indicated by an implicit indication. Thus, a feature limited to "first" and "second" may explicitly or implicitly include one or more of those features. In the description of the present invention, “plurality” means two or more than two, unless otherwise clearly and specifically defined.
[0038] The following describes in detail the electronic payment transaction method for the electronic payment terminal device according to the present invention by taking a POS terminal as an example of the electronic payment terminal device and a bank card as an example of the payment terminal to be paid. It can be understood that other forms of electronic payment terminal devices, or other forms of payment terminals (such as smartphones, smart watches, etc. ) are also suitable, and the present invention does not make specific limitations herein.
[0039] According to the first aspect of the invention, as shown in Figure 1, in this embodiment, the POS terminal supports three electronic payment transaction methods: magnetic cards, IC cards, and non-contact cards (e.g., NFC) , and includes: CPU, non-contact chip 1, magnetic card transaction module 2, IC card transaction module 3 and other components. Accordingly, the user's bank card is also integrated non-contact antenna, magnetic strip, IC card chip, so that the user can choose to conduct electronic payment transactions through one of three different transaction methods: NFC non-contact method, magnetic card swipe, IC card plug-in card. It is understood that in other embodiments not shown, the POS terminal can include other transaction types of transaction modules according to actual needs, and not limited to magnetic card transaction module 2 and IC card transaction module 3.
[0040] In this embodiment, the electronic payment transaction method includes the following steps:
[0041] Step 1: POS terminal device activates non-contact card (NFC) transaction function, as well as magnetic card and IC card transaction function, launches the transaction application;
[0042] Step 2: The CPU reads and monitors the drive current value recorded in the register of the non-contact chip 1 in real time;
[0043] Step 3: The CPU compares the monitored drive current value with the first preset value and the second preset value, once the monitored drive current value is greater than the second preset value and less than or equal to the first preset value, the non-contact card transaction is immediately performed and the transaction is completed; if the monitored drive current value is less than the second preset value, the non-contact card transaction is not performed and a first time period is delayed, during the first time period, the user can perform a magnetic card or IC card mode transaction and complete the transaction; If the delay exceeds the first time period and the CPU still does not detect the transaction completion by other means, the non-contact card transaction is still performed and the transaction is completed;
[0044] wherein the first preset value is the possible maximum drive current value recorded in the register of the non-contact chip 1 when transactions are carried out by using a non-contact card mode; the second preset value is the maximum drive current value recorded in the register of the non-contact chip 1 when transactions are carried out by using a magnetic card and / or IC card mode; wherein the first preset value is greater than the second preset value.
[0045] In this embodiment, three preset values can be set in the POS terminal. Wherein, the center point of the test bank card is aligned with the center point of the non-contact (NFC) radio frequency field of the POS terminal, and placed on the 0 plane in the vertical direction (in other words, the bank card is 0 cm away from the non-contact reading area of the POS terminal, that is, the card is pressed against the surface of the POS terminal) , perform non-contact card reading, and record the current value in the non-contact chip register at this time, that is, the current value A. At this time, the current value A can be set to the first preset value. In addition, the bank card is swiped according to the normal operation path. During the movement of the bank card, the non-contact chip monitors the load changes of the external bank card in real time, that is, the changes in the current value are recorded in real time. After the magnetic card swiping action is completed, the maximum current value during the magnetic card swiping process, that is, the current value B, is recorded. In addition, the IC card is inserted according to the normal operation path. During the movement of the bank card, the non-contact chip monitors the load changes of the external bank card in real time, that is, the changes in the current value are recorded in real time. After the IC card insertion action is completed, the maximum current value during the IC card insertion process, that is, the current value C, is recorded. Since the current value A is the card reading operation tested at the closest distance and the position most directly facing the non-contact reading area (non-contact antenna layout area) , the current value A is greater than B and C. The current value B and the current value C may have different values according to different structural designs of the POS terminal, and the larger one of the two is set as the second preset value. For convenience, the following example illustrates the current value B is greater than the current value C, at this time, the current value B can be set to the second preset value.
[0046] Specifically, when the user makes an electronic payment transaction on the POS terminal, the POS terminal simultaneously activates three different payment functions of the bank card, waiting for the user to choose to perform one of the operations in the magnetic card / IC card / non-contact card to complete the transaction. At this time, the CPU reads the current value of the non-contact chip in real time, thereby indirectly monitoring the distance between the bank card and the POS terminal and their relative position. If the current value detected is between A and B (for example, current value B is greater than current value C) , it is determined that the purpose of the card is to perform a non-contact card transaction. Therefore, the system does not need to wait additionally and can directly complete the non-contact card transaction process. If the monitored current value is less than B (taking the current value B as greater than the current value C as an example) , it is determined that the purpose of the card is to perform a magnetic card / IC card transaction, but during the operation, the card moves into the non-contact radio frequency field area. At this time, the system does not execute the non-contact card transaction process, but delays and waits for 2s for the user to complete the card swiping / inserting action to complete the magnetic card / IC card transaction. If no bank card insertion or swiping action is received after the 2s delay, it is determined that the bank card is used to perform non-contact transactions. However, the current value is small because the card is placed far away from the POS terminal or away from the non-contact card reading area of the terminal. At this time, the non-contact card transaction process can continue.
[0047] In a more preferred embodiment, a filter module can also be set up in the POS terminal. This is to avoid the situation where the user moves the bank card too close to the non-contact radio frequency center point during the process of swiping the magnetic card and / or inserting the IC card, causing the monitored current value to instantly reach a value between A and B (taking the current value B as greater than the current value C as an example) , and mistakenly conducting a non-contact card transaction. In order to avoid the above situation, it is necessary to determine the duration T that the current value is between A and B: if the duration T is less than 500ms, it is determined that the user just moved the card by passing through the non-contact radio frequency center and the purpose was not to conduct a non-contact card transaction; if the duration T is greater than 500ms, it is determined that the user intentionally kept the card near the center area of the non-contact radio frequency field in order to conduct a non-contact card transaction. It is understood that the reference value of the time duration (length) T can also be set to other values other than 500ms, and can be set specifically according to the actual situation of different products. In addition, the filter module is an optional module, and the application layer of the POS terminal decides whether to enable it.
[0048] In other embodiments not shown, factory calibration can be set for the POS terminal: in order to avoid the problem that different POS terminals detect different current values for the same bank card at the same distance and position due to device consistency issues in the hardware circuit, a factory calibration step can be added during the production stage. That is, after each POS terminal product is produced, the current values A, B, and C will be re-tested and recorded once at the factory in the above manner to calibrate the first setting value and the second setting value and ensure that the current thresholds meet the factory setting requirements of the POS terminal. The purpose of factory calibration is to improve the accuracy of judgment and is an optional step.
[0049] In addition, a monitoring and recording module for the drive current value of the non-contact chip under different transaction modes and corresponding adaptive adjustment steps can also be set for the POS terminal. When POS terminals are used in actual environments, they will encounter various types of bank cards on the market (or other payment terminals of various styles, such as smartphones, watches, etc. ) . Due to the different performance of the cards themselves, the same POS terminal may produce different current values when detecting different cards at the same distance and position. Therefore, the current self-adaptive adjustment setting of the POS terminal can be activated. The POS terminal can automatically store the magnitude of the non-contact chip current value and the transaction method used by the end user during each transaction (including various transaction types) , and continuously optimize the parameter settings of the current values A, B, and C according to the different types of transaction records (for example: magnetic card and / or IC card) , so that the POS terminal can more accurately judge the user's payment intention, especially when the POS terminal is exposed to different types of cards due to deployment in different regions. For example, the preset current value A is 500mA, the preset current value B is 200mA, the preset current value C is 150mA. However, during the last 10 transactions, it was found that the user finally used magnetic card transactions, and the current values were all less than 120mA, instead of the expected current value B 200mA. At this time, the POS terminal can reduce the preset current value B to 120mA, and replace the second preset value from the preset current value B of 200mA to the preset current value C of 150mA. Subsequently, as long as the monitored real-time current value exceeds 150 mA of the current value C, the POS terminal can assume that the user intends to conduct a non-contact card transaction without waiting for the magnetic card / IC card operation. Likewise, the current self-adaptive adjustment step is also an optional function of the POS terminal. It can be understood that the current values that can be recorded and set corresponding to the increase or decrease of different transaction types that may occur in actual situations are not limited to current values A, B, and C; current values D, E, F, etc. can also be added according to actual needs to correspond to new transaction types respectively.
[0050] According to the second aspect of the present invention, Figure 2 shows a POS terminal device capable of executing the aforementioned electronic payment transaction method, which comprises a CPU, a non-contact chip 1, a magnetic card transaction module 2 and an IC card transaction module 3. The CPU also comprises a start module 4, a read module 5, and a decision and transaction module 6, wherein:
[0051] The start module 4 is configured to start the non-contact card transaction function, as well as the magnetic card and / or IC card transaction function, and start the transaction application;
[0052] The read module 5 is configured to read and monitor in real time the drive current value (signals) recorded in a register 11 of the non-contact chip 1;
[0053] The determination and transaction module 6 is configured to compare the monitored drive current value with the first preset value and the second preset value, once the monitored drive current value is greater than the second preset value and less than or equal to the first preset value, a non-contact card mode transaction is immediately performed and the transaction is completed. If the monitored drive current value is less than the second preset value, the non-contact card transaction is not performed and a first time period (e.g., 2S) is delayed. During the first time period, the user can perform a magnetic card or IC card transaction and complete the transaction. If the delay exceeds the first time period and the transaction completion of other methods is still not detected, the transaction of the non-contact card mode is still performed and the transaction is completed;
[0054] wherein the first preset value is the maximum possible drive current value recorded in the register of the non-contact chip during the non-contact card transaction (e.g., 500 mA of the current value A as mentioned above) ; the second preset value is the maximum drive current value recorded in the register of the non-contact chip during the magnetic card and / or IC card transaction (e.g., 200 mA of the current value B as mentioned above) ; wherein the first preset value is greater than the second preset value.
[0055] Preferably, as shown in Figure 2, the POS terminal further includes a filter module 7, wherein the determination and transaction module 6 is configured to not immediately carry out a non-contact card transaction when the drive current value detected is greater than the second preset value and less than and equal to the first preset value, but instead to input the drive current value signal read in real time from the register 11 of the non-contact chip 1 to the filter module 7;
[0056] The filter module 7 is configured to monitor the drive current value input in real time and keep monitoring a duration of a second time period (e.g., 500ms) . During the second time period, if the drive current value input in real time is always kept within the interval range greater than the second preset value and less than or equal to the first preset value, the filtering is passed; otherwise, the filtering is not passed;
[0057] The determination and transaction module is further configured such taht: when the filtering is passed, the non-contact card transaction is immediately carried out and the transaction is completed; when the filtering is not passed (failed) , the non-contact card transaction is not conducted and the first time period (for example, 2S) is delayed, during the first time period, the user can perform a magnetic card or IC card transaction and complete the transaction; if the delay exceeds the first time period, other method transaction completion is still not detected, then still carry out the non-contact card transaction, and the transaction is completed.
[0058] Preferably, as shown in Figure 2, The POS terminal further includes a monitoring and recording module 8 for the drive current value of the non-contact chip under different transaction modes, and the CPU further includes a self-adaptive adjustment module 9. Wherein the self-adaptive adjustment module 9 is configured to read all drive current values recorded when the transactions are conducted by using other transaction modes / methods (not the non-contact mode, e.g., magnetic card and / or IC card modes) and stored in the monitoring and recording module 8, and obtain the maximum drive current value therein (such as 150mA of the above-mentioned current value C) , and the maximum drive current value is then compared with the second preset value. If the maximum drive current value is less than the second preset value, the second preset value is reset to the maximum drive current value.
[0059] In other embodiments not shown, the POS terminal further includes a preset module, wherein the preset module is configured to perform transaction tests by using different payment terminals, according to the characteristics of the electronic payment terminal device itself when the electronic payment terminal device leaves the factory, and calibrate and preset the first preset value and the second preset value according to the actually detected drive current value.
[0060] Further, according to a third aspect of the present invention, in an embodiment not shown, it also relates to a storage medium on which is stored a set of instructions suitable for running and executing on a calculator / computer, characterized in that the set of instructions executes the electronic payment transaction method as described above when running on the calculator / computer.
[0061] In order to teach the principles of the invention, some conventional aspects have been simplified or omitted. Those skilled in the art should understand that variations derived from these embodiments fall within the scope of the invention. Those skilled in the art should understand that the above features can be combined in various ways to form multiple variations of the invention.
Claims
1.An electronic payment transaction method for an electronic payment terminal device comprising a CPU, a non-contact chip, a magnetic card transaction module and / or an IC card transaction module, characterized by the following steps:Step 1: The electronic payment terminal device activates non-contact card transaction function, as well as magnetic card and / or IC card transaction function, and launches a transaction application;Step 2: The CPU reads and monitors a drive current value recorded in a register of the non-contact chip in real time;Step 3: The CPU compares the monitored drive current value with the first preset value and the second preset value, once the monitored drive current value is greater than the second preset value and less than or equal to the first preset value, the non-contact card transaction is immediately performed and the transaction is completed; if the monitored drive current value is less than the second preset value, the non-contact card transaction is not performed and a first time period is delayed, during the first time period, the user can perform a magnetic card or IC card mode transaction and complete the transaction; If the delay exceeds the first time period and the CPU still does not detect the transaction completion by other means, the non-contact card transaction is still performed and the transaction is completed;wherein the first preset value is a possible maximum drive current value recorded in the register of the non-contact chip when transactions are carried out by using a non-contact card mode; the second preset value is a maximum drive current value recorded in the register of the non-contact chip when transactions are carried out by using a magnetic card and / or IC card mode; wherein the first preset value is greater than the second preset value.2.The electronic payment transaction method according to claim 1, wherein, during Step 2, the non-contact chip senses a magnitude of an external load based on a coupling degree between an antenna inside a payment terminal and a non-contact antenna within its RF emission region, and sets a magnitude of the drive current value provided according to the magnitude of the external load sensed.3.The electronic payment transaction method according to claim 1 or 2, said electronic payment terminal device further including a filter module, wherein, during Step 3, when the CPU detects that the drive current value is greater than the second preset value and less than or equal to the first preset value, the non-contact card transaction is not immediately carried out, but instead the drive current value read in real time from the register of the non-contact chip is input into the filter module, the filter module monitors the real-time input drive current value and maintains monitoring for a duration of a second time period, within the second time period, if the drive current value input in real time is always kept within the interval range of greater than the second preset value and less than or equal to the first preset value, the filtering is passed, and the non-contact card transaction is immediately carried out, and the transaction is completed; otherwise, the filtering is not passed, Step 3 is continued in the same manner as when the drive current value is less than the second preset value, and the transaction is completed.4.The electronic payment transaction method according to any one of the precedent claims, further including a preset step before Step 1, wherein when the electronic payment terminal device leaves a factory, the preset step uses different payment terminals to perform transaction tests based on characteristics of the terminal device itself, and calibrates and sets the first preset value and the second preset value according to the actually detected drive current value.5.The electronic payment transaction method according to any one of the precedent claims, the electronic payment terminal device further including a monitoring and recording module for the drive current value of the non-contact chip under different transaction modes, and the electronic payment transaction method further including a self-adaptive adjustment step, in which the CPU reads all drive current values recorded when transactions are conducted by using magnetic cards and / or IC cards method and stored in the monitoring and recording module, and obtains a maximum drive current value therein, and then compares the maximum drive current value with the second preset value, if the maximum drive current value is less than the second preset value, the second preset value is reset to the maximum drive current value.6.An electronic payment terminal device, including a CPU, a non-contact chip, magnetic card transaction module and / or IC card transaction module, characterized in that the CPU further includes a start module, a read module, a determination and transaction module, wherein:the start module is configured to start the non-contact card transaction function, as well as the magnetic card and / or IC card transaction function, and start the transaction application;the read module is configured to read and monitor in real time the drive current value recorded in a register of the non-contact chip;the determination and transaction module is configured to compare the monitored drive current value with the first preset value and the second preset value, once the monitored drive current value is greater than the second preset value and less than or equal to the first preset value, a non-contact card mode transaction is immediately performed and the transaction is completed, if the monitored drive current value is less than the second preset value, the non-contact card mode transaction is not performed and a first time period is delayed, during the first time period, a user can perform a magnetic card or IC card mode transaction and complete the transaction, if the delay exceeds the first time period and a transaction completion of other mode is still not detected, the non-contact card mode transaction is still performed and the transaction is completed;wherein the first preset value is a maximum possible drive current value recorded in the register of the non-contact chip during non-contact card mode transactions; the second preset value is a maximum drive current value recorded in the register of the non-contact chip during magnetic card and / or IC card mode transactions; wherein the first preset value is greater than the second preset value.7.The electronic payment terminal device according to claim 6, further including a filter module, wherein the determination and transaction module is configured to not immediately conduct a non-contact card transaction when it is detected that the drive current value is greater than a second preset value and less than or equal to a first preset value, but to input the drive current value read in real time from the register of the non-contact chip to the filter module;the filter module is configured to monitor the drive current value input in real time and keep monitoring a duration of a second time period, during the second time period, if the drive current value input in real time is always kept within the interval range greater than the second preset value and less than or equal to the first preset value, the filtering is passed; otherwise, the filtering is not passed;the determination and transaction module is further configured such that: when the filtering is passed, the non-contact card transaction is immediately carried out and the transaction is completed; when the filtering is not passed, the non-contact card transaction is not conducted and the first time period is delayed, during the first time period, an user can perform a magnetic card or IC card transaction and complete the transaction; if the delay exceeds the first time period, other mode transaction completion is still not detected, then still carry out the non-contact card transaction, and the transaction is completed.8.The electronic payment terminal device according to claim 6 or 7, further including a preset module, wherein the preset module is configured to perform transaction tests by using different payment terminals, according to the characteristics of the electronic payment terminal device itself when the electronic payment terminal device leaves a factory, and calibrate and preset the first preset value and the second preset value according to the actually detected drive current value.9.The electronic payment terminal device according to any one of the precedent claims 6-8, further including a monitoring and recording module for the drive current value of the non-contact chip under different transaction modes, and the CPU further including a self-adaptive adjustment module, wherein the self-adaptive adjustment module is configured to read all drive current values recorded when the transactions are conducted by using a magnetic card and / or an IC card mode and stored in the monitoring and recording module, and obtain a maximum drive current value therein, and the maximum drive current value is then compared with the second preset value, If the maximum drive current value is less than the second preset value, the second preset value is reset to the maximum drive current value.10.The electronic payment terminal device according to any one of the precedent claims 6-9, wherein the electronic payment terminal device comprises a POS device.11.A storage medium on which is stored a set of instructions suitable for running and executing on a calculator, characterized in that the set of instructions executes the electronic payment transaction method according to any one of claims 1-5 when running on the calculator.