POS terminal and control method thereof
The POS terminal controls sleep depth based on detected distance and real-time pattern recognition to balance power efficiency and user experience, addressing premature NFC transactions and design limitations.
Patent Information
- Application Number
- PCT/CN2025/103799
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-08-28
- Filing Date
- 2025-06-26
- Publication Date
- 2026-01-15
AI Technical Summary
Conventional POS terminals face issues with low power consumption requirements and premature NFC transactions when using composite bank cards, leading to poor user experience and design limitations.
A method for controlling a POS terminal that periodically detects the distance between a bank card and the terminal, adjusting sleep depth based on this distance, and determines the payment method in real time by comparing pattern recognition data, allowing the magnetic stripe card reading module to remain awake only when necessary.
This approach maintains low power consumption while ensuring correct reading of magnetic stripe data and preventing premature NFC transactions, enhancing user responsiveness and flexibility in design.
Smart Images

Figure CN2025103799_15012026_PF_FP_ABST
Abstract
Description
POS TERMINAL AND CONTROL METHOD THEREOF
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the following Chinese Patent Applications No. CN 202411186949.5 filed on 2024 / 08 / 28, CN 202410914990.3 filed on 2024 / 07 / 09, the disclosures of which are incorporated herein in their entirety by reference.TECHNICAL FIELD
[0003] The present disclosure relatesto the technical field of POS terminals, and more particularly, to a method for controlling a POS terminal and a POS terminal implementing the same.
[0004] RELATED ART
[0005] Conventional POS terminals in the related art typically support low-power sleep modes. By means of manual configuration, a POS terminal can be set to enter a deep sleep state within a specified period. In such a state, the processor, magnetic stripe card reading module, and NFC module of the POS terminal are all powered off, significantly extending the standby time. However, this manually configured deep sleep mode prevents the POS terminal from providing financial services flexibly during sleep state, resulting in poor user experience. On the other hand, some composite bank cards integrate NFC card, IC card, and magnetic stripe card functions, allowing all three types of card swiping payment methods to be supported. When a composite bank card is used for a transaction at a POS terminal, the POS terminal activates the NFC reader, IC card reader, and magnetic stripe reader simultaneously to wait for card detection. Once any of these readers captures card data, the terminal continues the transaction process based on the detected card type. However, if the signal field strength of the NFC module is too high, it may prematurely detect the card data and complete the NFC payment, even when the user originally intended to use IC card or magnetic stripe card payment.SUMMARY
[0006] In view of the above, the present disclosure provides a method for controlling a POS terminal and a POS terminal itself.
[0007] According to a first aspect of the present invention, amethod for controlling a POS terminal is provided. The method comprisesperiodically detecting a distance between a bank card and the POS terminal, and controlling a sleep depth of the POS terminal based on the detected distance. Andwhen the POS terminal is in a wake-up state, it determines a user’s payment method in real time by comparing pattern recognition data.
[0008] Optionally, the POS terminal includes a processor, a magnetic stripe card reading module, an NFC module, and an NFC antenna. The step of periodically detecting the distance between the bank card and the POS terminal and controlling the sleep depth based on the detected distance includesin response to a sleep initiation command, placing the processor, magnetic stripe card reading module, and NFC module into a deep sleep state, waking up the processor at a predetermined interval to control the NFC module to transmit a radio frequency signal via the NFC antenna, and determining a target distance between the bank card and the NFC antenna based on the strength of the feedback RF signal received, anddetermining whether the target distance meets a preset threshold. If the distance is not less than the threshold, the processor and NFC module return to the deep sleep state; otherwise, they enter a light sleep state, and the magnetic stripe card reading module remains awake.
[0009] Optionally, the step of determining the user’s payment method in real time comprisesobtaining pattern recognition data corresponding to at least three types of card swiping payment methods, including NFC card payment, IC card payment, and magnetic stripe card payment, andwhile the processor and the NFC module are in the light sleep state, acquiring real-time data generated during a card swiping operation, and determining the intended payment method by comparing the real-time data with the storedpattern recognition data.
[0010] Optionally, the target distance between the bank card and the NFC antenna is determined bypre-obtaining a mapping relationship between the received RF signal strength and the target distance under a predetermined transmission strength, andafter determining the feedback RF signal strength, calculating the target distance based on the mapping relationship.
[0011] Optionally, the pattern recognition data comprises a variation trend in the distance between the bank card and the NFC antenna, a variation trend in the amplitude of the induction signal of the bank card relative to the NFC antenna, and the maximum amplitude value.
[0012] Optionally, the distance between the bank card and the NFC antenna is obtained based on the amplitude and phase of the induction signal from the bank card relative to the NFC antenna.
[0013] According to another aspect of the present disclosure, a POS terminal is provided, which includes a processor, magnetic stripe card reading module, NFC module, and NFC antenna. The processor is configured toperiodically detect the distance between a bank card and the POS terminal, control the sleep depth of the POS terminal based on the detected distance, anddetermine the user’s payment method in real time by comparing pattern recognition data when the POS terminal is in a wake-up state.
[0014] The processor is further configured torespond to a sleep initiation command by entering a deep sleep state for the processor, magnetic stripe card reading module, and NFC module, wake the processor periodically to transmit a radio frequency signal via the NFC antenna and determine the target distance between the bank card and the NFC antenna based on the strength of the received feedback RF signal, andevaluate whether the target distance meets a preset threshold, returning the processor and NFC module to deep sleep if it does, or switching them to light sleep if it does not, while keeping the magnetic stripe card reading module awake.
[0015] Optionally, the processor may also be configured toobtain pattern recognition data for at least NFC card payment, IC card payment, and magnetic stripe card payment, andwhile in a light sleep state, acquire real-time data during a card swiping action and compare it with the pattern recognition data to determine the payment method.
[0016] Optionally, the processor may further determine the target distance based on the pre-obtained mapping relationship between received RF signal strength and target distance.
[0017] Optionally, the pattern recognition data may includea distance variation trend between the bank card and the NFC antenna, a variation trend in the amplitude of the induction signalof the bank card relative to the NFC antenna, andthe maximum amplitude value.
[0018] According to another embodiment, a POS terminal is provided, which comprises a distance detection module configured to periodically detect a distance between a bank card and the POS terminal, asleep control module configured to control a sleep depth of the POS terminal based on the detected distance, anda payment method recognition module configured to determine the user’s payment method in real time by comparing pattern recognition data when the terminal is in a wake-up state.
[0019] Optionally, the POS terminal further comprises a signal mapping storage module configured to store the mapping relationship between received RF signal strength and target distance. The RF signal processing unit determines the target distance accordingly.
[0020] Optionally, the pattern recognition data may further includea distance variation trend between the bank card and the NFC antenna, a variation trend in the amplitude of the induction signal of the bank card relative to the NFC antenna, andthe maximum amplitude value. A real-time data acquisition unit is configured to acquire real-time signal parameters corresponding to the pattern recognition data.
[0021] Optionally, asignal feature extraction module may also be included to calculate the distance between the bank card and the NFC antenna based on the amplitude and phase of the induction signal of the bank card relative to the NFC antenna.
[0022] Compared with the prior art, the present disclosure achieves the following benefits.
[0023] By periodically determining the sleep depth based on the distance between the bank card and the POS terminal, the POS terminal can operate in a deep sleep state to maintain low power consumption, and switch to light sleep to prepare for financial transactions. This design balances power efficiency with user responsiveness.
[0024] Furthermore, by determining the user’s payment method in real time through pattern recognition comparison, the invention effectively avoids premature NFC transactions when the user intended to use IC card or magnetic stripe cardpayment.
[0025] The embodiments described hereinafter will further illustrate other features and advantages of the present disclosure.BRIEF DESCRIPTION OF THE DRAWINGS
[0026] FIG. 1 is a flowchart illustrating the sleep control method of a POS terminal according to an embodiment of the present disclosure;
[0027] FIG. 2 is a flowchart illustrating the method ofdetermining card swiping payment method for a POS terminal according to an embodiment of the present disclosure;
[0028] FIG. 3 is a schematic diagram showing the relative positions of the NFC antenna, IC card reader, and magnetic stripe card reader in a POS terminal;
[0029] FIG. 4 is a schematic diagram of the NFC card swiping process according to an embodiment of the present disclosure;
[0030] FIG. 5 is a schematic diagram showing the variation trend of distance and induction signal strength during the NFC card swiping process;
[0031] FIG. 6 is a schematic diagram of the magnetic stripe card swiping process according to an embodiment of the present disclosure;
[0032] FIG. 7 is a schematic diagram showing the variation trend of distance and induction signal strength during the magnetic stripe card swiping process;
[0033] FIG. 8 is a schematic diagram of the IC card swiping process according to an embodiment of the present disclosure;
[0034] FIG. 9 is a schematic diagram showing the variation trend of distance and induction signal strength during the IC card swiping process;
[0035] FIG. 10 is a flowchart of the POS terminal control method according to an embodiment of the present disclosure;
[0036] FIG. 11 is a block diagram showing the structure of a POS terminal according to an embodiment of the present disclosure;
[0037] FIG. 12 is a block diagram showing another structure of a POS terminal according to an embodiment of the present disclosure;
[0038] FIG. 13 is a block diagram showing the principle of the sleep control module according to an embodiment of the present disclosure;
[0039] FIG. 14 is a structural block diagram of the payment method recognition module according to an embodiment of the present disclosure.DETAILED DESCRIPTION
[0040] To enable those skilled in the art to better understand the technical solutions of the present disclosure, exemplary embodiments of the present disclosure will now be described in conjunction with the accompanying drawings. It is evident that the described embodiments are only some examples and do not constitute a limitation of the disclosure. Any modifications or alterations derived from the inventive concept without creative effort shall fall within the scope of the present disclosure.
[0041] The drawings show a preferred embodiment of the disclosure. However, the present disclosureis implemented in many different forms and is not limited to the embodiments described below. Rather, these embodiments provide a thorough understanding of the present disclosure. The following directions such as “axial direction” , “upper” , “lower” and the like are for more clearly indicating the structural position relationship, and are not a limitation on the present invention. In the present invention, the “vertical” , “horizontal” , and “parallel” are defined as: including the case of±10%based on the standard definition. For example, vertical usually refers to an angle of 90 degrees with respect to the reference line, but in the present invention, vertical refers to a condition including 80 degrees to 100 degrees.
[0042] Embodiment 1
[0043] At present, on one hand, an increasing number of bank cards support both magnetic stripe card swiping and NFC card swiping functions. On the other hand, existing POS terminals that support both functions face a contradiction between low power consumption requirements and the wake-up of the magnetic stripe card reading function. Specifically, most existing acquiring applications require that a POS terminal in a sleep state can be awakened and read the magnetic track data of the magnetic stripe card correctly by a single magnetic stripe card swiping action. However, in order to meet the low power consumption requirements, the magnetic stripe card reading module of the existing POS terminal must be set to a deep sleep state, which results in the module being unable to read the magnetic track data.
[0044] To address the above issue, there are mainly two existing solutions:
[0045] 1. Hardware-based solution: Add sensors to both ends of the magnetic stripe card reader slot. When swiping, the magnetic stripe card first triggers the sensor, then the magnetic head reads the data. In the deep sleep state of the POS terminal, the sensor wakes up the MCU and the magnetic stripe card reading module based on the magnetic stripe card swiping action. When the card reaches the magnetic head, the magnetic stripe card reading module reads the data. However, this solution requires hardware and structural modifications, increasing the complexity and cost of design.
[0046] 2. Software-based solution: The level of low power consumption is reduced by allowing the magnetic stripe card reading module to enter only a light sleep state during the POS terminal’s sleep period. As a result, the MCU can also only enter a light sleep state, leading to relatively high power consumption during the sleep mode of the POS terminal.
[0047] Based on the above background, an embodiment of the present disclosure provides a sleep control method for a POS terminal. FIG. 1 illustrates a flowchart of implementing the sleep control method for a POS terminal according to an embodiment of the present invention. Referring to FIG. 1, the sleep control method for the POS terminal includes the following steps:
[0048] Step S110: In response to a sleep initiation command, controlling the processor, the magnetic stripe card reading module, and the NFC module to enter a deep sleep state;
[0049] Step S120: Waking up the processor, which is in a deep sleep state, at a predetermined wake-up interval, so that the processor controls the NFC module to transmit a radio frequency signal via the NFC antenna, and determines a target distance between the bank card and the NFC antenna based on the strength of a feedback RF signal received from the bank card;
[0050] Step S130: Determining the relationship between the target distance and a preset distance threshold. If the target distance is not less than the distance threshold, the processor and the NFC module are returned to the deep sleep state. Otherwise, the processor and the NFC module are placed into a light sleep state, and the magnetic stripe card reading module remains awake.
[0051] Specifically, by adopting the sleep control method of the POS terminal provided in this embodiment of the invention, there is no need to modify the hardware of the POS terminal. The processor, magnetic stripe card reading module, and NFC module are all original components of the POS terminal.
[0052] Further, in this embodiment, the wake-up interval is 200 ms.
[0053] Furthermore, in this embodiment, the duration for which the NFC antenna transmits a radio frequency signal is 5 ms.
[0054] Specifically, in this embodiment, two sleep states are defined: one is deep sleep, during which the processor, magnetic stripe card reading module, and NFC module all enter a deep sleep state. During this state, the processor periodically wakes up, for example, every 200 ms, to control the NFC module to transmit a radio frequency signal via the NFC antenna to detect the presence of a bank card. The other one is light sleep, where the magnetic stripe card reading module remains awake and the processor enters a light sleep state, allowing normal reading ofmagnetic track data.
[0055] In particular, in this embodiment, the position of the bank card is identified through field strength measurement. In the deep sleep state, the processor periodically wakes up to control the NFC module to transmit a short-duration carrier signal through the NFC antenna. For example, every 200 ms, the processor wakes up and controls the NFC module to transmit an NFC carrier signal of 5 ms in width. After transmitting the NFC carrier signal, if a bank card is within the field strength range, it will respond with a radio frequency signal. Since the strength of the NFC carrier signal transmitted via the NFC antenna is fixed, the strength of the feedback RF signal received by the NFC antenna is inversely proportional to the distance between the bank card and the NFC antenna. Therefore, the distance can be calculated based on the strength of the received signal. It should be noted that the ratio of the duration of the NFC carrier signal after waking up to the wake-up interval should be set to a relatively small value to ensure low power consumption.
[0056] Specifically, in this embodiment, the sleep mode is switched based on the detected position of the bank card. When the distance between the bank card and the NFC antenna is not less than a preset value, the POS terminal remains in a deep sleep state to maintain low power consumption. When the user starts a card swiping action and the bank card gradually approaches the NFC antenna, and the distance becomes less than the prceset value, the POS terminal switches to a light sleep state, thereby enabling the normal reading ofbank card information.
[0057] Furthermore, in this embodiment, the method for determining the target distance between the bank card and the NFC antenna includes:
[0058] Pre-acquiring a mapping relationship between received RF signal strength and the target distance under apredetermined transmission strength;
[0059] And, after determining the strength of the feedback RF signal received, determining the target distance based on the mapping relationship.
[0060] By adopting the sleep control method of the POS terminal as provided in this embodiment of the present invention, the processor, magnetic stripe card reading module, and NFC module initially remain in a deep sleep state. In this state, the processor is periodically awakened to control the NFC module to transmit a radio frequency signal via the NFC antenna, and the target distance between the bank card and the NFC antenna is determined based on the strength of the feedback RF signal. If the target distance is not less than the threshold, the processor and NFC module are returned to the deep sleep state. Otherwise, the processor and NFC module are placed in a light sleep state and the magnetic stripe card reading module remains awake. In most cases, the processor, magnetic stripe card reading module, and NFC module remain in a deep sleep state. Only when the user begins a card swiping action and the bank card is within a certain distance from the POS terminal, do the processor and NFC module switch to the light sleep state, while the magnetic stripe card reading module remains awake. Therefore, the sleep control method of the POS terminal as provided in this embodiment ensures low power consumption while enabling the POS terminal to be awakened and correctly read the magnetic track data of the magnetic stripe card through a single card swiping action.
[0061] Embodiment 2
[0062] In the related art, a type of composite bank card integrates NFC card, IC card, and magnetic stripe card functions. That is, such a card supports three card swiping payment methods: NFC card payment, IC card payment, and magnetic stripe card payment. When using a composite bank card for payment on a POS terminal, the POS terminal activates the NFC card reading module, IC card reading module, and magnetic stripe card reading module simultaneously to wait for card swiping. Once any of the modules detects data, the transaction continues based on the detected payment type. However, if the signal field strength of the NFC module is too strong, it may detect the bank card first-even if the user intended to use IC or magnetic stripe card payment-and proceed with NFC payment prematurely. Two issues may be caused under the above circumstances:
[0063] 1. In financial authentication, card swiping priorities are typically required as IC card>NFC card>magnetic stripe card. This conflict may cause the POS terminal to fail certification.
[0064] 2. Poor user experience may lead to disputes. For example, if a user intended to pay via IC card but the transaction was completed through NFC card (which is often password-free, unlike IC card which typically requires a PIN) , it results in unexpected unauthorized payment.
[0065] To avoid the above issues, conventional designs relocate the NFC antenna far from the IC card slot and magnetic head. For instance, the NFC antenna is placed at the top of the POS terminal, the IC card slot at the bottom, and the magnetic head on the side. However, this severely limits ID design flexibility.
[0066] Based on this, the embodiment proposes a method for determining the card swiping payment type in POS terminals. As shown in FIG. 2, the process includes:
[0067] Step S210: Obtaining pattern recognition data for NFC card payment, IC card payment, and magnetic stripe card payment supported by the target POS terminal.
[0068] Step S220: During the card swiping process, collecting real-time data matching the pattern recognition data and determining the intended payment method based on comparison.
[0069] Further, the pattern recognition data includes the distance variation trend between the user’s bank card and the NFC antenna, the amplitude trend of the induction signal, and its maximum value.
[0070] Additionally, the card-to-NFC antenna distance is calculated based on the amplitude and phase of the induction signal.
[0071] Pattern recognition data is derived from analyzing or sampling signal variations during different swiping motions, relative to the layout of the NFC antenna, IC card reader, and magnetic stripe card reader.
[0072] FIG. 3 shows a POS terminal 100 layout as an example of the method described in FIG. 1 and FIG. 2. The NFC antenna 110 is under the screen; below it are the IC card reader 120 and magnetic stripe card reader 130, with the latter nearer to the front.
[0073] FIG. 4 and FIG. 5 show the NFC swiping process and its distance-signal trend. The bank card 200 approaches theNFC antenna 110 (as decreasing the distance between the bank card 200 and the NFC antenna 110) of the POS terminal 100, and the signal strength increases. As shown in Fig. 5, the signal strength reaches the maximum value when the distance between the bank card 200 and the NFC antenna 110reaches the minimum value, and the signal strength keeps steady if the distance variation is not changed.
[0074] FIG. 6 and FIG. 7 show the magnetic stripe swiping process: the bank card 300 with the magnetic stripeapproaches, interacting with the magnetic stripe card reader 130of the POS terminal 100 then moves away, and the signal strength increases then decreases. As showed in Fig. 7, the signal strength reaches the maximum value when the distance between the bank card 300 and themagneticstripecard reader 130reaches the minimum value, and the signal strength variation curve indicates a decrease in signal strength with increasing distance. Comparing Fig. 7 with Fig. 5, the peak of the signal strength variation curve in Fig. 5 is larger than that in Fig. 7.
[0075] FIG. 8 and FIG. 9 show the IC card swiping process: the bank card 400, which is with an IC chip, inserts slowly into theIC card reader 120 of the POS terminal 100 with a pause, causing gradual signal increase, a small jitter, then further increase.
[0076] Thus, signal characteristics differ significantly among swiping types:
[0077] -NFC: large variation, high peak signal strength.
[0078] -Magnetic stripe: lower peak, signal rises and falls.
[0079] -IC card: steady but low signal, with fluctuation during pause.
[0080] When all the three card readers are active, the signal strength exceeding a threshold indicates NFC swiping and triggers NFC transaction.
[0081] If the signal strength rises then falls below the threshold, it indicates the magnetic stripe bank card 300 swiping. As the magnetic stripe reading is interrupt-buffered, the card reading completes in parallel.
[0082] If the signal strength gradually rises and stays low, or fluctuates around a pause point, it indicates the IC card swiping and the IC payment process begins.
[0083] Compared to conventional interference prevention methods, this disclosure enables freedom in ID design. Regardless of the NFC antenna, IC slot, or magnetic head layout, pattern recognition can always differentiate swiping types.
[0084] Hence, the above disclosed method improves flexibility for compact structural designs and resolves layout restrictions of traditional interference prevention techniques.
[0085] Embodiment 3
[0086] The embodiment of the present disclosure provides another method for controlling a POS terminal. FIG. 10 illustrates a flowchart of the implementation of the POS terminal control method according to the embodiment of the present disclosure. Referring to FIG. 10, the POS terminal control method according to this embodiment includes the following steps:
[0087] Step S100: Periodically detecting a distance between a bank card and the POS terminal, and controlling a sleep depth of the POS terminal based on the detected distance; and
[0088] Step S200: When the POS terminal is in a wake-up state, determining a user’s payment method in real time by comparing a pattern recognition data.
[0089] In this embodiment, the POS terminal at least comprises a processor, a magnetic stripe card reading module, an NFC module, and an NFC antenna;
[0090] The step of S100, periodically detecting the distance between the bank card and the POS terminal and controlling the sleep depth of the POS terminal based on the detected distance, further comprises the below steps.
[0091] First, in response to a sleep initiation command, placing the processor, the magnetic stripe card reading module, and the NFC module of the POS terminal into a deep sleep state. Second, waking up the processor at a predetermined wake-up interval to control the NFC module to transmit a radio frequency (RF) signal via the NFC antenna, and determining a target distance between the bank card and the NFC antenna based on the strength of a feedback RF signal received from the bank card. And third, determining whether the target distance meets a preset distance threshold; if the target distance is not less than the threshold, returning the processor and the NFC module to the deep sleep state; otherwise, placing the processor and the NFC module into a light sleep state and keeping the magnetic stripe card reading module awake.
[0092] Further, in this embodiment, the step S200 of determining the user’s payment method in real time by comparing pattern recognition data, further comprises the below steps.
[0093] First, obtaining pattern recognition data corresponding to at least three types of card swiping payment methods of the POS terminal, including NFC card payment, IC card payment, and magnetic stripe card payment. Andwhile the processor and the NFC module are in the light sleep state, acquiring a real-time data corresponding to the pattern recognition data during a card swiping action performed by the user, and determining the intended card swiping payment method by comparing the real-time data with the pattern recognition data.
[0094] In this embodiment, the step of determining the target distance between the bank card and the NFC antenna, further comprises the below steps.
[0095] First, pre-obtaining a mapping relationship between received RF signal strength and the target distance under a predetermined transmission strength. And determining the target distance based on the feedback RF signal strength using the mapping relationship.
[0096] Further, in this embodiment, the pattern recognition data comprises a variation trend in distance between the bank card and the NFC antenna of the POS terminal, avariation trend in amplitude of the induction signal of the bank card relative to the NFC antenna, and a maximum amplitude value.
[0097] Embodiment 4
[0098] Please refer to FIG. 11, which illustrates a block diagram of the structure of the POS terminal 101 according to the embodiment of the present disclosure. The POS terminal 101 comprises a processor 111, a magnetic stripe card reading module 141 connected to the processor 111, an NFC module 121connected to the processor 111, and an NFC antenna 131connected to the NFC module 121. The processor 111 is configured to periodically detect a distance between a bank card and the POS terminal 101, and control a sleep depth of the POS terminal 101based on the detected distance. When the POS terminal 101 is in a wake-up state, the processor 111 determines a user’s payment method in real time by comparing pattern recognition data. The pattern recognition data can be stored in a memoryunitintegrated in the POS terminal 101.
[0099] Further, in this embodiment, the processor 111 is further configured to be in response to a sleep initiation command, place the processor 111, the magnetic stripe card reading module 141, and the NFC module 121 into a deep sleep state. The processor 111 can be waked up at a predetermined interval to control the NFC module 121 to transmit a radio frequency (RF) signal via the NFC antenna 131, and determine a target distance between the bank card and the NFC antenna 131 based on the strength of a feedback RF signal received from the bank card. Next, the processor 111 determines whether the target distance meets a preset threshold, and if the target distance is not less than the preset threshold, the processor 111 and the NFC module 121 will be returned to the deep sleep state; otherwise, the processor 111 and the NFC module 121 will be into a light sleep state and the magnetic stripe card reading module 141 will be kept awake.
[0100] In this embodiment, the processor 111 is further configured toobtain the pattern recognition data corresponding to at least three types of card swiping payment methods of the POS terminal 101, including NFC card payment, IC card payment, and magnetic stripe card payment. While the processor 111 and NFC module 121 are in the light sleep state, the processor 111 acquires real-time data during a card swiping operation corresponding to the pattern recognition data, and compares the real-time data with the pattern recognition data to determine the card swiping payment method.
[0101] In this embodiment, the processor 111 is further configured todetermine the target distance based on a pre-obtained mapping relationship between the received RF signal strength and the target distance under a predetermined transmission strength. The pattern recognition data comprisesa distance variation trend between the bank card and the NFC antenna 131 of the POS terminal 101, a variation trend in amplitude of the induction signal of the bank card relative to the NFC antenna 131, anda maximum amplitude value. The distance between the bank card and the NFC antenna 131 is obtained based on the amplitude and phase of the induction signal from the bank card relative to the NFC antenna 131.
[0102] Embodiment 5
[0103] The embodiment of the present disclosure provides another POS terminal.
[0104] FIG. 12 illustrates a block diagram of the structure of the POS terminal 102 according to this embodiment. The POS terminal 102 comprises a distance detection module 112, asleep control module 122 connected to the distance detection module 112, and a payment method recognition module 132connected to the sleep control module 122.
[0105] The distance detection module 112 is configured to periodically detect a distance between a bank card and the POS terminal 102. The sleep control module 122 is configured to control a sleep depth of the POS terminal 102 based on the detected distance from the distance detection module 112. The payment method recognition module 132 is configured to determine a user’s payment method in real time by comparing pattern recognition data (as mentioned in the previous embodiment, can be stored in a memory unit integrated in the POS terminal 102) when the POS terminal 102 is in a wake-up state.
[0106] FIG. 13 illustrates a functional block diagram of the sleep control module 122 of this embodiment. Asshown in FIG. 13, the POS terminal 102 comprises a processor 162, a magnetic stripe card reading module 182, an NFC module 172, and an NFC antenna (not shown) connected to the NFC module 172. The sleep control module 122, as described in FIG. 12, comprisesa deep sleep unit 1221, a periodic wake-up unit 1222, an RF signal processing unit 1223, and a sleep state switching unit 1224.
[0107] The deep sleep unit 1221 isconnected to the processor 162, configured to place the processor 162, the magnetic stripe card reading module 182, and the NFC module 172 into a deep sleep state in response to a sleep initiation command. The periodic wake-up unit 1222 isconnected to the deep sleep unit 1221 and the processor 162, configured to periodically wake the processor 162 from the deep sleep state. The RF signal processing unit 1223 is connected to the processor 162, configured to control the NFC module 172 to transmit an RF signal via the NFC antenna after the processor 162 is awakened, and determine a target distance between the bank card and the NFC antenna based on the strength of a feedback RF signal received from the bank card via the NFC antenna. The sleep state switching unit 1224 in connected to the RF signal processing unit 1223 and the processor 162, configured to compare the target distance with a preset threshold, and if the target distance is not less than the threshold, the processor 162 and the NFC module 172are returned to the deep sleep state. If the target distance is less than the threshold, the processor 162 and NFC module 172 are placed into a light sleep state and the magnetic stripe card reading module 182 is kept awake.
[0108] FIG. 14 illustrates a block diagram of the structure of the payment method recognition module 132, as described in FIG. 12, of this embodiment. The payment method recognition module 132 comprises a pattern data storage unit 1321, areal-time data acquisition unit 1322, and a data comparison unit 1323.
[0109] The pattern data storage unit 1321 is configured to store pattern recognition data for at least three payment method, including NFC card payment, IC card payment, and magnetic stripe card payment. The real-time data acquisition unit 1322 is configured to acquire real-time data corresponding to the pattern recognition data during a card swiping action while the processor 162 and the NFC module 172 are in the light sleep state. The data comparison unit 1323 is connected to the pattern data storage unit 1321 and the real-time data acquisition unit 1322, configured to compare the real-time data with the pattern recognition data to determine the intended card swiping payment method.
[0110] Further, referring to FIG. 12, the POS terminal 102 in this embodiment further comprises a signal mapping storage module 142 connected to the distance detection module 112, configured to pre-store a mapping relationship between received RF signal strength and the target distance under a predetermined transmission strength. The RF signal processing unit 1223, as described in FIG. 13, is configured to determine the target distance based on the mapping relationship and the received RF signal strength. In this embodiment, the pattern recognition data, stored in the pattern data storage unit 1321 comprisesa distance variation trend between the bank card and the NFC antenna, avariation trend in amplitude of the induction signal of the bank card relative to the NFC antenna, and a maximum amplitude value.
[0111] Further, as shown in FIG. 14, the real-time data acquisition unit 1322 is configured to acquire real-time signal parameters corresponding to the pattern recognition data.
[0112] Please refer to FIG. 12, in this embodiment the POS terminal 102 further comprises a signal feature extraction module 152 connected to the payment method recognition module 132. The signal feature extraction module 152 is configured to calculate the distance between the bank card and the NFC antenna based on the amplitude and phase of the induction signal from the bank card relative to the NFC antenna.
[0113] While the preferred embodiment of the invention has been set forth for the purpose of disclosure, modifications of the disclosed embodiment of the invention as well as other embodiments thereof may occur to those skilled in the art. Accordingly, the appended claims are intended to cover all embodiments which do not depart from the spirit and scope of the invention. The disclosure of all articles and references, including patent applications and publications, is hereby incorporated by reference for all purposes. The omission of any aspect of the subject matter disclosed herein in the preceding claims is not intended to abandon the subject matter, nor should the inventor be considered to have considered the subject matter as part of the disclosed subject matter.
Claims
1.A method for controlling a POS terminal, comprising:periodically detecting a distance between a bank card and the POS terminal, and controlling a sleep depth of the POS terminal based on the detected distance; andwhen the POS terminal is in a wake-up state, determining a user’s payment method in real time by comparing pattern recognition data.2.Themethod according to claim 1, wherein the POS terminal comprises a processor, a magnetic stripe card reading module, an NFC module, and an NFC antenna;wherein the step of periodically detecting the distance between the bank card and the POS terminal and controlling the sleep depth comprises:in response to a sleep initiation command, placing the processor, the magnetic stripe card reading module, and the NFC module into a deep sleep state;waking up the processor at a predetermined wake-up interval to control the NFC module to transmit a radio frequency signal via the NFC antenna, and determining a target distance between the bank card and the NFC antenna based on the strength of a feedback RF signal received from the bank card; anddetermining whether the target distance meets a preset distance threshold, and if the target distance is not less than the threshold, returning the processor and NFC module to the deep sleep state; otherwise, placing the processor and NFC module into a light sleep state and keeping the magnetic stripe card reading module awake.3.The method according to claim 2, wherein the step of determining the user’s payment method in real time by comparing pattern recognition data comprises:obtaining pattern recognition data corresponding to at least three types of card swiping payment methods of the POS terminal, including NFC card payment, IC card payment, and magnetic stripe card payment; andwhile the processor and the NFC module are in the light sleep state, acquiring real-time data corresponding to the pattern recognition data during a card swiping action performed by the user, and determining the intended payment method by comparing the real-time data with the pattern recognition data.4.The method according to claim 2, wherein the step of determining the target distance between the bank card and the NFC antenna comprises:pre-obtaining a mapping relationship between received RF signal strength and the target distance under a predetermined transmission strength; anddetermining the target distance based on the feedback RF signal strength using the mapping relationship.5.The method according to claim 3, wherein the pattern recognition data comprises a variation trend in distance between the bank card and the NFC antenna of the POS terminal, a variation trend in amplitude of the induction signal relative to the NFC antenna, and a maximum amplitude value.6.The method according to claim 5, wherein the distance between the bank card and the NFC antenna is obtained based on the amplitude and phase of the induction signal from the bank card relative to the NFC antenna.7.A POS terminal comprising a processor, a magnetic stripe card reading module, an NFC module, and an NFC antenna, wherein the processor is configured to:periodically detect a distance between a bank card and the POS terminal and control a sleep depth of the POS terminal based on the detected distance; anddetermine a user’s payment method in real time by comparing pattern recognition data when the POS terminal is in a wake-up state.8.The POS terminal according to claim 7, wherein the processor is further configured to:in response to a sleep initiation command, place the processor, the magnetic stripe card reading module, and the NFC module into a deep sleep state;wake the processor at a predetermined interval to control the NFC module to transmit a radio frequency signal via the NFC antenna, and determine a target distance between the bank card and the NFC antenna based on the strength of a feedback RF signal; anddetermine whether the target distance meets a preset threshold, and if the target distance is not less than the threshold, return the processor and NFC module to the deep sleep state; otherwise, place them into a light sleep state and keep the magnetic stripe card reading module awake.9.The POS terminal according to claim 8, wherein the processor is further configured to:obtain pattern recognition data corresponding to at least NFC card payment, IC card payment, and magnetic stripe card payment; andwhile the processor and NFC module are in the light sleep state, acquire real-time data during a card swiping operation and compare it with the pattern recognition data to determine the payment method.10.The POS terminal according to claim 8, wherein the processor is further configured to determine the target distance based on a pre-obtained mapping relationship between received RF signal strength and the target distance under a predetermined transmission strength.11.The POS terminal according to claim 9, wherein the pattern recognition data comprises:a variation trend in the distance between the bank card and the NFC antennaof the POS terminal;a variation trend in the amplitude of the induction signal of the bank cardrelative to the NFC antenna; anda maximum amplitude value.12.The POS terminal according to claim 11, wherein the distance between the bank card and the NFC antenna of the POS terminal is obtained based on the amplitude and phase of the induction signal of the bank card relative to the NFC antenna.13.A POS terminal comprising:a distance detection module configured to periodically detect a distance between a bank card and the POS terminal;a sleep control module configured to control a sleep depth of the POS terminal based on the detected distance; anda payment method recognition module configured to determine a user’s payment method in real time by comparing pattern recognition data when the POS terminal is in a wake-up state.14.The POS terminal according to claim 13, further comprising a processor, a magnetic stripe card reading module, an NFC module, and an NFC antenna, wherein the sleep control module comprises:a deep sleep unit configured to place the processor, magnetic stripe card reading module, and NFC module into a deep sleep state in response to a sleep initiation command;a periodic wake-up unit configured to periodically wake the processor;an RF signal processing unit configured to control the NFC module to transmit an RF signal via the NFC antenna and determine a target distance based on the received feedback RF signal; anda sleep state switching unit configured to compare the target distance with a preset threshold and switch between the deep sleep and light sleep states accordingly.15.The POS terminal according to claim 13, wherein the payment method recognition module comprises:a pattern data storage unit configured to store pattern recognition data for at least NFC card payment, IC card payment, and magnetic stripe card payment;a real-time data acquisition unit configured to acquire real-time data during a card swiping action while the processor and NFC module are in the light sleep state; anda data comparison unit configured to compare the real-time data with the pattern recognition data to determine the intended payment method.16.The POS terminal according to claim 14, further comprising a signal mapping storage module configured to store a mapping relationship between received RF signal strength and the target distance;wherein the RF signal processing unit is configured to determine the target distance based on the mapping relationship and the received signal strength.17.The POS terminal according to claim 15, wherein the pattern recognition data comprises:a distance variation trend between the bank card and the NFC antenna;a variation trend in amplitude of the induction signal of the bank card relative to the NFC antenna, anda maximum amplitude value;wherein the real-time data acquisition unit is configured to acquire real-time signal parameters corresponding to the pattern recognition data.18.The POS terminal according to claim 17, further comprising a signal feature extraction module configured to calculate the distance between the bank card and the NFC antenna based on the amplitude and phase of the induction signal of the bank card relative to the NFC antenna.
Citation Information
Patent Citations
Method of judging payment behavior according to action
CN105894273A
Mobile terminal and controlling method thereof
US20140006285A1
Methods and apparatus for improving NFC coil tuning based on proximity to a remote NFC device
US20140127993A1
System and method for polling NFC-a devices alongside RF barcode devices
US20150024683A1
Near field communication device
US20190132027A1