TWI632512B - Anti-collision method between different frequency cards and dual frequency card reader - Google Patents

Anti-collision method between different frequency cards and dual frequency card reader Download PDF

Info

Publication number
TWI632512B
TWI632512B TW104144036A TW104144036A TWI632512B TW I632512 B TWI632512 B TW I632512B TW 104144036 A TW104144036 A TW 104144036A TW 104144036 A TW104144036 A TW 104144036A TW I632512 B TWI632512 B TW I632512B
Authority
TW
Taiwan
Prior art keywords
card
frequency
communication module
control module
cards
Prior art date
Application number
TW104144036A
Other languages
Chinese (zh)
Other versions
TW201626296A (en
Inventor
熊星
Original Assignee
國民技術股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 國民技術股份有限公司 filed Critical 國民技術股份有限公司
Publication of TW201626296A publication Critical patent/TW201626296A/en
Application granted granted Critical
Publication of TWI632512B publication Critical patent/TWI632512B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns

Landscapes

  • Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本發明關於異頻卡間防衝突的方法和雙頻讀卡器。該異頻卡間防衝突的方法包括:檢測第一卡片處於刷卡區域中;與第一卡片通訊的同時,檢測到第二卡片處於刷卡區域中,第二卡片與第一卡片使用不同的頻率;以及禁止第二卡片執行支付交易。本發明還提供一種能夠防止異頻卡間衝突的雙頻讀卡器。本發明的方案能夠使得異頻卡同時進入刷卡區域時,在一個頻率通道收發資料過程中,持續偵聽另一頻率通道的尋卡回應,以此來判斷是否有異頻卡衝突,並在發現有可能衝突的時候,禁止至少一張卡片的刷卡交易,由此不會造成連刷現象。 The invention relates to a method for preventing conflicts between different frequency cards and a dual frequency card reader. The method for preventing conflicts between the different frequency cards includes: detecting that the first card is in the card swipe area; while communicating with the first card, detecting that the second card is in the card swipe area, the second card and the first card use different frequencies; And prohibiting the second card from performing a payment transaction. The present invention also provides a dual frequency card reader capable of preventing conflicts between inter-frequency cards. The solution of the invention enables the inter-frequency card to continuously listen to the card-seeking response of another frequency channel during the process of transmitting and receiving data in one frequency channel when the inter-frequency card enters the card-swapping area at the same time, thereby judging whether there is a conflict of the inter-frequency card and discovering When there is a possibility of conflict, it is forbidden to swipe the card at least one card, so that no brushing phenomenon will occur.

Description

異頻卡間防衝突的方法及雙頻讀卡器 Method for preventing conflict between different frequency cards and dual frequency card reader

本發明一般關於射頻通訊領域,更具體地,本發明關於一種異頻卡間防衝突的方法及雙頻讀卡器。 The present invention relates generally to the field of radio frequency communication, and more particularly to a method for preventing conflicts between inter-frequency cards and a dual-frequency card reader.

當前,刷卡消費已經非常普遍,隨著行動終端機的普及,利用行動終端機進行電子支付也日益活躍起來。於是,出現了很多刷卡片、刷手機的支付技術,例如,限域通訊(RCC,Range Controlled Communication)技術、單線協議(SWP,Single Wire Protocol)技術以及傳統的近場通訊(NFC,Near Field Communication)技術。這些技術的發展,使得使用者只需攜帶卡片或者行動終端機而不需要攜帶現金就可以進行支付。 At present, credit card consumption has become very common. With the popularity of mobile terminals, electronic payment using mobile terminals has become increasingly active. As a result, many payment technologies for brushing cards and brushing mobile phones have emerged, such as RCC (Range Controlled Communication) technology, Single Wire Protocol (SWP) technology, and traditional near field communication (NFC, Near Field Communication). )technology. The development of these technologies allows users to carry only by carrying cards or mobile terminals without having to carry cash.

限域通訊技術(RCC)和近場通訊(NFC)技術都是利用無線射頻訊號實現資訊傳輸,其中,基於13.56MHz頻段的NFC方案起步早,在很多方面都有應用,而基於2.4GHz頻段的RCC方案具有先天的技術優勢,例如,訊號穿透能力強,刷卡距離一致性好等,在許多新業務領域有著廣泛的應用和發展潛力,例如,基於2.4GHz頻段的射頻使用者識別模組(SIM卡)用在手機上,能夠使手機具有電子錢包等無線支付功能。於是,出現了諸多支援不同支付技術的卡片和行動終端機。 Both the limited field communication technology (RCC) and the near field communication (NFC) technology use wireless radio frequency signals to realize information transmission. Among them, the NFC scheme based on the 13.56 MHz frequency band starts early and has applications in many aspects, and based on the 2.4 GHz frequency band. The RCC solution has innate technical advantages, such as strong signal penetration capability and good card distance consistency. It has broad application and development potential in many new business areas, for example, the RF user identification module based on the 2.4 GHz band ( The SIM card is used on a mobile phone to enable the mobile phone to have a wireless payment function such as an electronic wallet. As a result, a number of cards and mobile terminals supporting different payment technologies have emerged.

為了兼具各種支付技術,方便用戶使用,也出現了與不同卡片及/或行動終端機相匹配的讀卡器。例如,兼具13.56MHz頻段和2.4GHz頻段的雙頻讀卡器,既可以讀取基於13.56MHz頻段的卡,也可以讀取基於2.4GHz頻段的卡。例如,既可以讀取基於13.56MHz頻段的NFC方案的公共交通卡,也可以讀取具有基於2.4GHz頻段的射頻SIM卡的手機。 In order to have various payment technologies and be convenient for users, there are also card readers that match different cards and/or mobile terminals. For example, a dual-band reader with both the 13.56 MHz band and the 2.4 GHz band can read cards based on the 13.56 MHz band or cards based on the 2.4 GHz band. For example, a public transportation card based on the NFC scheme of the 13.56 MHz band can be read, or a mobile phone with a radio frequency SIM card based on the 2.4 GHz band can be read.

如此,帶來的問題是,用戶通常會攜帶不只一張卡片或手機,那麼在依次刷卡的情況下(例如乘坐公共交通、地鐵時),當用戶持有的公共交通卡和手機同時進入刷卡區域時,可能導致公共交通卡在讀卡器上進行了刷卡交易,而手機也進行了支付交易,造成重複刷卡計費,導致用戶的無謂損失。可見,現有的雙頻讀卡器存在著固有的交易隱患,異頻卡同時進入刷卡區域時容易產生衝突。 In this case, the problem is that the user usually carries more than one card or mobile phone, so when the card is swiped in sequence (for example, when taking public transportation or subway), when the public transportation card and the mobile phone held by the user enter the credit card area at the same time. At the same time, the public transportation card may be swiped on the card reader, and the mobile phone also performs a payment transaction, resulting in repeated card billing, resulting in unnecessary loss of the user. It can be seen that the existing dual-frequency card reader has inherent trading risks, and the inter-frequency card is prone to conflict when entering the card-swapping area at the same time.

當前並沒有合適的技術來解決不同頻率方案下的多個卡片在同時進行支付交易時的衝突問題。 There is currently no suitable technology to solve the conflict problem when multiple cards under different frequency schemes are simultaneously performing payment transactions.

有鑑於此,本發明提供一種異頻卡之間防衝突的方法,能夠檢測到刷卡區域中有兩張乃至於多張異頻卡,並防止該兩張或多張卡片被重複刷卡,造成用戶損失。 In view of the above, the present invention provides a method for preventing conflicts between different frequency cards, which can detect that there are two or even multiple different frequency cards in the card swipe area, and prevent the two or more cards from being repeatedly swiped, thereby causing the user to loss.

具體地,本發明的技術方案是這樣的。 Specifically, the technical solution of the present invention is such.

一種異頻卡間防衝突的方法,包括如下步驟:(a)檢測第一卡片處於刷卡區域中;(b)與該第一卡片通訊的同時,檢測第二卡片處於該刷卡區域中,該第二卡片與該第一卡 片使用不同的頻率;以及(c)禁止該第二卡片執行支付交易。 A method for preventing conflicts between different frequency cards, comprising the steps of: (a) detecting that the first card is in the card swipe area; (b) communicating with the first card, detecting that the second card is in the swipe area, the Two cards with the first card The slice uses a different frequency; and (c) prohibits the second card from performing a payment transaction.

如此一來,當頻率不同的兩張卡片同時進入刷卡區域時,上述方法可以在檢測到第一卡片的同時,禁止第二卡片的支付交易,避免第一卡片進行支付交易時,第二卡片也進行交易,造成重複刷卡。 In this way, when two cards with different frequencies enter the card swiping area at the same time, the above method can prohibit the payment transaction of the second card while detecting the first card, and avoid the second card when the first card performs the payment transaction. Make a transaction, causing repeated credit card.

進一步地,該異頻卡間防衝突的方法還包括檢測到該第二卡片離開該刷卡區域的預定時間內,再次檢測到該第二卡片進入刷卡區域時,禁止該第二卡片執行支付交易。 Further, the method for preventing conflicts between the inter-frequency cards further comprises: detecting that the second card enters the swipe area within a predetermined time after the second card leaves the card swipe area, prohibiting the second card from performing a payment transaction.

這樣,可以避免誤操作造成的第二卡片在離場後再次進入刷卡區域造成的計費刷卡,以及由此帶來的重複計費。 In this way, it is possible to avoid the billing card caused by the second card being re-entered into the card swipe area after leaving the field, and the repeated billing caused thereby.

進一步地,上述異頻卡間防衝突的方法還可以包括(d)在禁止該第二卡片執行支付交易的同時,還禁止該第一卡片執行支付交易。 Further, the method for preventing conflicts between the inter-frequency cards may further include: (d) prohibiting the first card from performing a payment transaction while prohibiting the second card from performing a payment transaction.

這樣,本發明的異頻卡間防衝突的方法可以同時關閉第一卡片和第二卡片的交易,避免異頻卡間的衝突。 In this way, the method for preventing conflicts between the inter-frequency cards of the present invention can simultaneously close the transactions of the first card and the second card, thereby avoiding conflicts between the inter-frequency cards.

較佳地,上述第一卡片是高頻卡,第二卡片是超高頻卡或甚高頻卡。例如,第一卡片是基於13.56MHz的智慧卡,而第二卡片是基於2.4GHz的智慧卡。較佳地,該第二卡片是射頻SIM卡。 Preferably, the first card is a high frequency card, and the second card is an ultra high frequency card or a high frequency card. For example, the first card is based on a 13.56 MHz smart card and the second card is based on a 2.4 GHz smart card. Preferably, the second card is a radio frequency SIM card.

本發明還提供一種雙頻讀卡器,包括第一通訊模組,第二通訊模組和主控模組,其中第一通訊模組用於基於第一頻率與第一卡片通訊;第二通訊模組用於基於第二頻率與第二卡片通訊,該第二頻率與該第一頻率不同;和主控 模組用於與該第一通訊模組和該第二通訊模組通訊,使得在檢測到該第一卡片時禁止第二卡片執行支付交易。 The invention also provides a dual frequency card reader, comprising a first communication module, a second communication module and a main control module, wherein the first communication module is configured to communicate with the first card based on the first frequency; the second communication The module is configured to communicate with the second card based on the second frequency, the second frequency is different from the first frequency; and the master The module is configured to communicate with the first communication module and the second communication module, so that the second card is prohibited from performing a payment transaction when the first card is detected.

於是,在兩張異頻卡同時進入雙頻讀卡器的刷卡區域時,雙頻讀卡器能夠檢測到第一卡片的同時,禁止第二卡片的支付交易,避免第一卡片進行了支付交易後,第二卡片還進行交易,造成二次連刷。 Therefore, when the two inter-frequency cards simultaneously enter the swipe area of the dual-frequency card reader, the dual-frequency card reader can detect the first card and prohibit the payment transaction of the second card, thereby preventing the first card from performing the payment transaction. After that, the second card is also traded, causing a second brush.

該第一通訊模組包括彼此相連的第一控制模組和第一頻率通訊模組,第一頻率通訊模組用於檢測第一卡片是否進入刷卡區域,第一控制模組在主控模組的控制下,與第一卡片實現支付交易。 The first communication module includes a first control module and a first frequency communication module connected to each other, and the first frequency communication module is configured to detect whether the first card enters the card swipe area, and the first control module is in the main control module. Under the control, the payment transaction is realized with the first card.

這樣,第一控制模組在主控模組與第一頻率通訊模組之間建立傳輸通道,解析來自主控模組的指令,並執行相應動作,向第一頻率通訊模組傳輸資料,將來自第一頻率通訊模組的資料傳輸給主控模組,以便實現第一卡片的支付交易,或者禁止第一卡片進行支付交易。 In this way, the first control module establishes a transmission channel between the main control module and the first frequency communication module, parses the command from the main control module, and performs corresponding actions to transmit data to the first frequency communication module, The data from the first frequency communication module is transmitted to the main control module to implement the payment transaction of the first card, or prohibit the first card from performing the payment transaction.

進一步,該第二通訊模組包括彼此相連的第二控制模組和第二頻率通訊模組,第二頻率通訊模組用於檢測第二卡片是否進入刷卡區域,第二控制模組在主控模組的控制下,與第二卡片實現支付交易。 Further, the second communication module includes a second control module and a second frequency communication module connected to each other, and the second frequency communication module is configured to detect whether the second card enters the card swipe area, and the second control module is in the main control Under the control of the module, a payment transaction is implemented with the second card.

進一步地,第二頻率通訊模組包括限域通訊模組和磁電路模組,磁電路模組用於發射磁訊號來限定刷卡區域,限域通訊模組與第二卡片通訊。 Further, the second frequency communication module comprises a limited domain communication module and a magnetic circuit module, wherein the magnetic circuit module is configured to transmit a magnetic signal to define a card swipe area, and the limited domain communication module communicates with the second card.

進一步地,該主控模組進一步禁止該第一卡片進行支付交易。 Further, the master control module further prohibits the first card from performing a payment transaction.

該第一頻率是13.56MHz,該第二頻率是2.4GHz。 The first frequency is 13.56 MHz and the second frequency is 2.4 GHz.

於是,利用本發明的上述異頻卡間防衝突的方法和雙頻讀卡器,能夠使得異頻卡同時進入刷卡區域時,在一個頻率通道收發資料過程中,持續偵聽另一頻率通道的尋卡回應,以此來判斷是否有異頻卡衝突,並在發現有可能衝突的時候,禁止至少一張卡片的刷卡交易,由此不會造成連刷現象。 Therefore, by using the above-mentioned inter-frequency card anti-collision method and the dual-frequency card reader of the present invention, when the inter-frequency card enters the card-swapping area at the same time, during the process of transmitting and receiving data in one frequency channel, the other frequency channel is continuously monitored. The card search response is used to judge whether there is a conflict of the different frequency card, and when it is found that there is a possibility of conflict, the card transaction of at least one card is prohibited, thereby causing no brushing phenomenon.

由於兩個通訊模組之間的尋卡和交易是並行處理的,一個通道偵聽尋卡回應時不影響另一個通道的交易資料的收發,因此,尋卡回應速度快。 Since the card search and transaction between the two communication modules are processed in parallel, one channel listening for the card search response does not affect the transaction data of the other channel, so the card recovery response is fast.

1‧‧‧主控模組 1‧‧‧Master Module

2‧‧‧第一通訊模組 2‧‧‧First Communication Module

3‧‧‧第二通訊模組 3‧‧‧Second communication module

21‧‧‧第一控制模組 21‧‧‧First Control Module

22‧‧‧13.56MHz射頻通訊模組 22‧‧‧13.56MHz RF Communication Module

31‧‧‧第二控制模組 31‧‧‧Second control module

32‧‧‧2.4GHz限域通訊模組 32‧‧‧2.4GHz limited domain communication module

33‧‧‧磁電路模組 33‧‧‧Magnetic circuit module

a~c‧‧‧步驟 a~c‧‧‧step

S1~S10‧‧‧步驟 S1~S10‧‧‧Steps

參照以下圖式,將更好地理解本發明的基本原理。 The basic principles of the invention will be better understood with reference to the following drawings.

圖1是根據本發明一個實施例的雙頻讀卡器的結構示意圖。 1 is a block diagram showing the structure of a dual frequency card reader according to an embodiment of the present invention.

圖2是根據本發明原理的異頻卡間防衝突方法的流程圖。 2 is a flow chart of an inter-frequency card anti-collision method in accordance with the principles of the present invention.

圖3是根據本發明一個實施例的異頻卡間防衝突方法的流程圖。 3 is a flow chart of an inter-frequency card anti-collision method in accordance with one embodiment of the present invention.

為使本發明的目的、技術方案和優點更加清楚,下面結合圖式對本發明的具體實施方式進行詳細說明。圖式中所示和根據附圖描述的本發明的實施方式僅僅是示例性的,本發明並不限於這些實施方式。 In order to make the objects, technical solutions, and advantages of the present invention more comprehensible, the specific embodiments of the present invention are described in detail below. The embodiments of the invention illustrated in the drawings and described in the drawings are merely exemplary, and the invention is not limited to the embodiments.

需要說明的是,為了避免因不必要的細節而模糊了本 發明,在圖式中僅僅示出了與根據本發明的方案密切相關的結構及/或處理步驟,而省略了其他細節。 It should be noted that in order to avoid obscuring the original due to unnecessary details. The invention only shows structural and/or processing steps that are closely related to the solution according to the invention, and other details are omitted in the drawings.

下面,以雙頻讀卡器為例描述異頻卡之間防衝突的方法。可以理解,本發明的技術原理不局限於這裡所舉例的雙頻讀卡器。 In the following, a dual-frequency card reader is taken as an example to describe an anti-collision method between different frequency cards. It will be appreciated that the technical principles of the present invention are not limited to the dual frequency card readers exemplified herein.

根據本發明的原理,雙頻讀卡器包括:第一通訊模組,用於基於第一頻率與第一卡片通訊;第二通訊模組,用於基於第二頻率與第二卡片通訊,該第二頻率與該第一頻率不同;和主控模組,用於與該第一通訊模組和該第二通訊模組通訊,使得在檢測到該第一卡片時禁止第二卡片執行支付交易。 According to the principles of the present invention, the dual-frequency card reader includes: a first communication module configured to communicate with the first card based on the first frequency; and a second communication module configured to communicate with the second card based on the second frequency, The second frequency is different from the first frequency; and the main control module is configured to communicate with the first communication module and the second communication module, so that the second card is prohibited from performing a payment transaction when the first card is detected .

這樣,雙頻讀卡器的兩個通訊模組形成兩個並行的通道,在主控模組的控制下分別對不同頻率的卡片進行尋卡,並在收到第一卡片的尋卡響應時,持續偵聽來自第二卡片的回應,在發現第二卡片也進入刷卡區域時,禁止第二卡片執行支付交易,從而避免重複刷卡。 In this way, the two communication modules of the dual-frequency card reader form two parallel channels, and under the control of the main control module, the cards of different frequencies are respectively searched for, and when the card search response of the first card is received, , continuously listening for the response from the second card, and prohibiting the second card from performing the payment transaction when the second card is also found to enter the card swipe area, thereby avoiding repeated card swiping.

下面以一個具體的雙頻讀卡器為例,來描述異頻卡間防衝突的方案。例如,該雙頻讀卡器使得一張高頻(HF)頻段的智慧卡片(例如,符合ISO14443(非接觸式IC卡標準,Contactless card standards)協定規範的公共交通卡)與一張甚高頻(HF)頻段的智慧卡(例如,符合RCC技術規範的2.4GHz射頻SIM卡)在同時進入雙頻讀卡器的刷卡區域時,只允許其中一張卡片進行刷卡交易,甚至所有卡片都不能進行刷卡交易。 The following takes a specific dual-frequency card reader as an example to describe the anti-collision scheme between different frequency cards. For example, the dual-frequency card reader enables a smart card in the high-frequency (HF) band (for example, a public transport card conforming to the ISO 14443 (Contactless card standards) protocol) and a VHF Smart cards in the (HF) band (for example, 2.4GHz RF SIM cards conforming to the RCC specification) allow only one card to be swiped during the simultaneous access to the swipe area of the dual-frequency card reader, and even all cards cannot be used. Credit card transactions.

在這個實施例中,雙頻讀卡器可以讀取基於13.56MHz的公共交通卡,也可以讀取基於2.4GHz的射頻SIM卡(置於行動終端機,例如手機中)。於是,在這個雙頻讀卡器上,既可以刷卡消費,也可以刷手機進行支付。本領域的技術人員可以理解,本發明的雙頻讀卡器不局限於這裡描述的13.56MHz和2.4GHz的頻率,依據本發明的原理讀取不同頻率的雙頻讀卡器都落入本發明的保護範圍。 In this embodiment, the dual frequency card reader can read a public transportation card based on 13.56 MHz, or can read a 2.4 GHz based radio frequency SIM card (located in a mobile terminal such as a mobile phone). Therefore, on this dual-frequency card reader, you can either pay by card or pay by mobile phone. Those skilled in the art will appreciate that the dual frequency card reader of the present invention is not limited to the frequencies of 13.56 MHz and 2.4 GHz described herein, and dual frequency readers that read different frequencies in accordance with the principles of the present invention fall within the scope of the present invention. The scope of protection.

參見圖1,圖1示出根據本發明一個實施例的雙頻讀卡器的結構示意圖。如圖1所示,雙頻讀卡器包括主控模組1、第一通訊模組2、第二通訊模組3組成。 Referring to Figure 1, there is shown a block diagram of a dual frequency card reader in accordance with one embodiment of the present invention. As shown in FIG. 1, the dual-frequency card reader comprises a main control module 1, a first communication module 2, and a second communication module 3.

第一通訊模組2在本實施例中也可以稱為NFC通訊模組,其用於與主控模組1通訊,在主控模組1的控制下,檢測基於13.56MHz頻率的公共交通卡進入刷卡區域,接入公共交通卡,並與公共交通卡通訊實現刷卡支付。第一通訊模組2包括第一控制模組21和13.56MHz射頻通訊模組22。 The first communication module 2 can also be referred to as an NFC communication module in this embodiment, which is used for communication with the main control module 1 and detects a public transportation card based on the frequency of 13.56 MHz under the control of the main control module 1. Enter the credit card area, access the public transportation card, and communicate with the public transportation card to achieve credit card payment. The first communication module 2 includes a first control module 21 and a 13.56 MHz radio frequency communication module 22.

第一控制模組21與主控模組1和13.56MHz射頻通訊模組22相連,在13.56MHz射頻通訊模組22與主控模組1之間傳輸指令和資料,接收13.56MHz射頻通訊模組22的資訊,解析來自主控模組1的指令和資料,執行相應動作。 The first control module 21 is connected to the main control module 1 and the 13.56 MHz radio frequency communication module 22, and transmits commands and data between the 13.56 MHz radio frequency communication module 22 and the main control module 1, and receives the 13.56 MHz radio frequency communication module. 22 information, parsing the instructions and data from the main control module 1, and performing the corresponding actions.

例如,啟動雙頻讀卡器後,主控模組1下發自動尋卡指令,第一控制模組21收到後,控制13.56MHz射頻通訊模組22連續發送13.56MHz尋卡指令,接收13.56MHz射頻通訊模組22檢測到的來自公共交通卡的回應。一旦接收 到回應,第一控制模組21立即通知主控模組1,主控模組1會根據當前接入卡的情況確定是否接入公共交通卡。 For example, after the dual-frequency card reader is activated, the main control module 1 issues an automatic card-finding command. After receiving the first control module 21, the 13.56 MHz radio frequency communication module 22 continuously transmits a 13.56 MHz card-seeking command to receive 13.56. The response from the public transportation card detected by the MHz RF communication module 22. Once received In response, the first control module 21 immediately notifies the main control module 1, and the main control module 1 determines whether to access the public transportation card according to the current access card.

如果雙頻讀卡器當前沒有接入任何卡,則主控模組1通過控制第一控制模組21使13.56MHz射頻通訊模組22完成該公共交通卡的接入流程。一旦完成接入,第一控制模組21就進入透傳模式,所謂透傳模式即僅作為指令及/或資料的傳輸通道,而不對指令及/或資料做任何處理。這樣,第一控制模組21透傳主控模組1下發的APDU指令至13.56MHz射頻通訊模組22,並從13.56MHz射頻通訊模組22接收公共交通卡對指令的回應,透傳至主控模組1,如此迴圈,直到完成交易支付流程。這裡,省略對支付交易過程的細節描述,本領域普通技術人員知曉該支付交易過程。 If the dual-frequency card reader does not currently access any card, the main control module 1 controls the first control module 21 to enable the 13.56 MHz radio frequency communication module 22 to complete the access process of the public transportation card. Once the access is completed, the first control module 21 enters the transparent transmission mode. The so-called transparent transmission mode is only used as a transmission channel for instructions and/or data, and does not perform any processing on instructions and/or data. In this way, the first control module 21 transparently transmits the APDU command sent by the main control module 1 to the 13.56 MHz radio frequency communication module 22, and receives the response of the public transportation card to the command from the 13.56 MHz radio frequency communication module 22, and transmits the result to the The master module 1 is looped back until the transaction payment process is completed. Here, a detailed description of the payment transaction process is omitted, and the person skilled in the art is aware of the payment transaction process.

如果雙頻讀卡器當前已經有卡接入,例如用戶持有的手機中的射頻SIM卡已經接入,或者他人的公共交通卡已經接入,正在執行支付流程,則主控模組1通過控制第一控制模組21而禁止該公共交通卡接入。這樣,當用戶的手機首先接入雙頻讀卡器或者正在進行支付交易時,公共交通卡就不能接入,也因此不能執行支付交易,從而可以避免使用者重複刷卡,並且在其他人的卡首先接入時,該用戶的卡也不能接入,避免多個用戶同時刷卡,造成雙頻讀卡器記錄混亂和錯誤。 If the dual-frequency card reader has access to the card, for example, the radio frequency SIM card in the mobile phone held by the user has been accessed, or the public transportation card of another person has been accessed, and the payment process is being executed, the main control module 1 passes The first control module 21 is controlled to prohibit access of the public transportation card. In this way, when the user's mobile phone first accesses the dual-frequency card reader or is performing a payment transaction, the public transportation card cannot be accessed, and thus the payment transaction cannot be performed, thereby preventing the user from repeatedly swiping the card and the card in the other person. When accessing first, the user's card cannot be accessed, so that multiple users can be swiped at the same time, causing confusion and errors in the dual-frequency card reader.

13.56MHz射頻通訊模組22與第一控制模組21相連,用於以13.56MHz的頻率發射尋卡指令,接收公共交通卡 的尋卡回應,在第一控制模組21的控制下接入公共交通卡,即,檢測公共交通卡是否處於刷卡區域,並在第一控制模組21的控制下接入公共交通卡。需要說明的是,在啟動雙頻讀卡器後,13.56MHz射頻通訊模組22會始終發送尋卡指令,以一定的時間間隔持續尋卡。 The 13.56 MHz RF communication module 22 is connected to the first control module 21 for transmitting a card search command at a frequency of 13.56 MHz to receive a public transportation card. The card search response is to access the public transportation card under the control of the first control module 21, that is, to detect whether the public transportation card is in the card swipe area, and access the public transportation card under the control of the first control module 21. It should be noted that after starting the dual-frequency card reader, the 13.56MHz RF communication module 22 will always send a card-seeking instruction to continuously search for cards at certain time intervals.

第二通訊模組3在本發明的這個實施例中也稱為RCC通訊模組,其用於與主控模組1通訊,在主控模組1的控制下,檢測基於2.4GHz的射頻SIM卡進入刷卡區域,接入射頻SIM卡,並與射頻SIM卡通訊實現刷手機支付。第二通訊模組3包括第二控制模組31、2.4GHz限域通訊模組32以及磁電路模組33。 The second communication module 3 is also referred to as an RCC communication module in this embodiment of the present invention, and is used for communication with the main control module 1 to detect a radio frequency SIM based on 2.4 GHz under the control of the main control module 1. The card enters the card swiping area, accesses the radio frequency SIM card, and communicates with the radio frequency SIM card to implement payment by the mobile phone. The second communication module 3 includes a second control module 31, a 2.4 GHz limited domain communication module 32, and a magnetic circuit module 33.

第二控制模組31與主控模組1、2.4GHz限域通訊模組32以及磁電路模組33相連,在主控模組1與2.4GHz限域通訊模組32和磁電路模組33之間傳輸指令和資料,接收2.4GHz限域通訊模組32和磁電路模組33的資訊,解析來自主控模組1的指令和資料,執行相應動作。 The second control module 31 is connected to the main control module 1, the 2.4 GHz limited domain communication module 32 and the magnetic circuit module 33, and the main control module 1 and the 2.4 GHz limited domain communication module 32 and the magnetic circuit module 33 The instructions and data are transmitted between the 2.4 GHz limited domain communication module 32 and the magnetic circuit module 33, and the commands and data from the main control module 1 are parsed to perform corresponding actions.

例如,啟動雙頻讀卡器後,主控模組1下發自動尋卡指令,第二控制模組31收到自動尋卡指令後,指示磁電路模組33連續發送2.4GHz尋卡指令,並從2.4GHz限域通訊模組32接收檢測到的射頻SIM卡的回應。一旦接收到回應,第二控制模組31立即通知主控模組1,主控模組1根據當前接入卡的情況確定是否接入射頻SIM卡。 For example, after the dual-frequency card reader is activated, the main control module 1 issues an automatic card-finding command, and after receiving the automatic card-seeking command, the second control module 31 instructs the magnetic circuit module 33 to continuously send a 2.4 GHz card-seeking instruction. And receiving the detected response of the radio frequency SIM card from the 2.4 GHz limited domain communication module 32. Upon receiving the response, the second control module 31 immediately notifies the main control module 1, and the main control module 1 determines whether to access the radio frequency SIM card according to the current access card.

如果雙頻讀卡器當前沒有接入任何卡,則主控模組1通過控制第二控制模組31使2.4GHz限域通訊模組32接 入射頻SIM卡。一旦完成接入,第二控制模組31就進入透傳模式,透傳主控模組1下發的應用協定資料單元(APDU,Application Protocol Data Unit)指令,通過2.4GHz限域通訊模組32發送出去,並接收射頻SIM卡的回應,透傳至主控模組1,如此迴圈,直到完成交易流程。這裡,省略對支付交易過程的細節描述,本領域普通技術人員知曉該支付交易過程。 If the dual-frequency card reader does not currently access any card, the main control module 1 connects the 2.4 GHz limited-area communication module 32 by controlling the second control module 31. Enter the RF SIM card. Once the access is completed, the second control module 31 enters the transparent transmission mode, and transparently transmits the Application Protocol Data Unit (APDU) command sent by the main control module 1 to pass the 2.4 GHz limited domain communication module 32. Send it out and receive the response from the RF SIM card, transparently transmit it to the main control module 1, and loop back until the transaction process is completed. Here, a detailed description of the payment transaction process is omitted, and the person skilled in the art is aware of the payment transaction process.

如果雙頻讀卡器當前已經有卡接入,例如用戶持有的公共交通卡已經接入,或者其他人的卡已經接入,正在執行支付流程,則主控模組1通過控制第二控制模組31而禁止該射頻SIM卡接入。這樣,當用戶的公共交通卡首先接入雙頻讀卡器或者正在進行支付交易時,射頻SIM卡就不能接入,也因此不能執行支付交易,從而可以避免使用者重複刷卡。而且,在有其他人的卡首先接入時,該用戶的手機也不能接入,這樣可以避免多個用戶同時刷卡,造成雙頻讀卡器記錄混亂和錯誤。 If the dual-frequency card reader has access to the card, for example, the public transportation card held by the user has been accessed, or the card of another person has been accessed, and the payment process is being executed, the main control module 1 controls the second control. The module 31 prohibits the radio frequency SIM card from being accessed. In this way, when the user's public transportation card first accesses the dual-frequency card reader or is conducting a payment transaction, the radio frequency SIM card cannot be accessed, and thus the payment transaction cannot be performed, thereby preventing the user from repeatedly swiping the card. Moreover, when another person's card is first accessed, the user's mobile phone cannot be accessed, so that multiple users can be prevented from swiping at the same time, causing confusion and errors in the dual-frequency card reader.

2.4GHz限域通訊模組32與第二控制模組31相連,接收射頻SIM卡的尋卡回應,為射頻SIM卡與第二控制模組31之間提供2.4GHz射頻通道,完成資料通訊實現支付或禁止接入等操作。 The 2.4 GHz limited-area communication module 32 is connected to the second control module 31, and receives the card-seeking response of the RF SIM card, providing a 2.4 GHz RF channel between the RF SIM card and the second control module 31, and completing the data communication to realize payment. Or prohibit access and other operations.

磁電路模組33與第二控制模組31相連,接收第二控制模組31的指令和資料,調製並發送相應的低頻磁訊號,供訊號區域內2.4GHz卡片接收。磁電路模組33持續發送低頻磁場,2.4GHz卡片檢測場強,使得卡片根據場強判斷 與磁電路模組33的距離,達到限域的目的。需要說明的是,在啟動雙頻讀卡器後,磁電路模組33始終都在發送低頻磁訊號,以一定的時間間隔持續尋卡。 The magnetic circuit module 33 is connected to the second control module 31, receives the command and data of the second control module 31, and modulates and transmits the corresponding low frequency magnetic signal for receiving by the 2.4 GHz card in the signal area. The magnetic circuit module 33 continuously transmits a low frequency magnetic field, and the 2.4 GHz card detects the field strength, so that the card is judged according to the field strength. The distance from the magnetic circuit module 33 reaches the limit. It should be noted that after the dual-frequency card reader is activated, the magnetic circuit module 33 always transmits the low-frequency magnetic signal, and continues to search for the card at a certain time interval.

主控模組1是雙頻讀卡器的核心,用於控制其他部件實現雙頻讀卡器的刷卡記錄等操作。主控模組1分別與第一通訊模組2和第二通訊模組3相連,用來控制第一通訊模組2和第二通訊模組3的工作。 The main control module 1 is the core of the dual-frequency card reader, and is used to control other components to implement the operation of the dual-frequency card reader. The main control module 1 is connected to the first communication module 2 and the second communication module 3 respectively for controlling the operations of the first communication module 2 and the second communication module 3.

如上所述,上述第一通訊模組2和第二通訊模組3的操作都是直接或間接在主控模組1的控制下完成的。特別地,在本發明的該實施例中,主控模組1在通過13.56MHz射頻通訊模組22檢測到公共交通卡的回應時,禁止第二控制模組31接入射頻SIM卡,從而禁止射頻SIM卡進行支付交易,因此,可以避免重複刷卡支付。進一步地,主控模組1還可以進一步禁止公共交通卡執行支付交易,以至於兩張卡片(公共交通卡和射頻SIM卡)都不能實現刷卡交易,從而引起使用者的注意,避免異頻卡之間的衝突。類似地,當主控模組1通過2.4GHz限域通訊模組32檢測到射頻SIM卡的回應時,使第一控制模組21不能接入公共交通卡,從而禁止公共交通卡進行支付交易,因此可以避免二次刷卡支付。進一步地,主控模組1還可以進一步禁止射頻SIM卡執行刷卡支付,從而引起用戶的注意,避免異頻卡之間的衝突。 As described above, the operations of the first communication module 2 and the second communication module 3 are performed directly or indirectly under the control of the main control module 1. In particular, in the embodiment of the present invention, when the main control module 1 detects the response of the public transportation card through the 13.56 MHz radio frequency communication module 22, the second control module 31 is prohibited from accessing the radio frequency SIM card, thereby prohibiting The RF SIM card performs payment transactions, so that repeated credit card payments can be avoided. Further, the main control module 1 can further prohibit the public transportation card from performing the payment transaction, so that the two cards (the public transportation card and the radio frequency SIM card) cannot implement the card transaction, thereby attracting the user's attention and avoiding the inter-frequency card. The conflict between. Similarly, when the main control module 1 detects the response of the radio frequency SIM card through the 2.4 GHz limited domain communication module 32, the first control module 21 cannot access the public transportation card, thereby prohibiting the public transportation card from performing payment transactions. Therefore, it is possible to avoid the second card payment. Further, the main control module 1 can further prohibit the radio frequency SIM card from performing the card payment, thereby attracting the attention of the user and avoiding conflicts between the inter-frequency cards.

對於接入相應卡片的通道,主控模組1可以控制相應的模組(第一通訊模組2或第二通訊模組3)作為透傳通 道,發收APDU指令與相應的卡片進行交互,實現支付交易。可見,主控模組1能夠控制第一通訊模組2、第二通訊模組3執行尋卡、接入、斷開接入、與相應卡片交互以執行支付交易過程等一系列控制操作。主控模組1可以是中央處理器或者微處理器。 For the channel accessing the corresponding card, the main control module 1 can control the corresponding module (the first communication module 2 or the second communication module 3) as the transparent transmission The channel sends and receives APDU commands to interact with the corresponding cards to implement payment transactions. It can be seen that the main control module 1 can control the first communication module 2, the second communication module 3 to perform card search, access, disconnection, interaction with the corresponding card to perform a series of control operations such as a payment transaction process. The main control module 1 can be a central processing unit or a microprocessor.

以上結合圖1描述了根據本發明一個實施例的雙頻讀卡器。下面結合圖2描述根據本發明的異頻卡間防衝突的方法,其可以包括如下步驟。 A dual frequency card reader in accordance with one embodiment of the present invention has been described above in connection with FIG. A method of inter-frequency card anti-collision according to the present invention, which may include the following steps, will be described below with reference to FIG.

步驟a:檢測第一卡片處於刷卡區域中。 Step a: Detect that the first card is in the card swipe area.

度驟b:與該第一卡片通訊的同時,檢測到第二卡片處於該刷卡區域中,該第二卡片與該第一卡片使用不同的頻率。 Step b: While communicating with the first card, detecting that the second card is in the card swipe area, the second card uses a different frequency than the first card.

步驟c:禁止該第二卡片執行支付交易。 Step c: prohibiting the second card from performing a payment transaction.

如此一來,當頻率不同的兩張卡片同時進入刷卡區域時,上述方法可以在檢測到第一卡片的同時,禁止第二卡片的支付交易,避免第一卡片進行支付交易時,第二卡片也進行交易,造成重複刷卡。 In this way, when two cards with different frequencies enter the card swiping area at the same time, the above method can prohibit the payment transaction of the second card while detecting the first card, and avoid the second card when the first card performs the payment transaction. Make a transaction, causing repeated credit card.

在圖2所示實施例的基礎上,異頻卡間防衝突的方法還可以包括禁止該第一卡片完成支付交易(未在圖2中示出)。 Based on the embodiment shown in FIG. 2, the method for preventing conflicts between different frequency cards may further include prohibiting the first card from completing a payment transaction (not shown in FIG. 2).

進一步地,異頻卡間防衝突的方法還包括記錄第二卡片的卡號或標識,在檢測到第二卡片離開刷卡區域的預定時間內,再次檢測到第二卡片進入刷卡區域中時,禁止第二卡片執行支付交易(未在圖2中示出)。 Further, the method for preventing conflicts between the different frequency cards further includes recording the card number or the identifier of the second card, and prohibiting the second card from entering the card swipe area within a predetermined time after detecting that the second card leaves the card swiping area The second card performs a payment transaction (not shown in Figure 2).

這樣,可以避免第一卡片刷卡支付後,第二卡片離開刷卡區域後短時間內再次進入刷卡區域,被再次刷卡。 In this way, after the first card is swiped, the second card can be re-entered into the card swipe area within a short time after leaving the card swipe area, and the card is swiped again.

下面結合圖3進行具體描述。圖3是根據本發明一個實施例的異頻卡間防衝突方法的流程圖。如圖3所示,在使用雙頻讀卡器時,啟動雙頻讀卡器的同時,執行如下步驟。 A detailed description will be given below with reference to FIG. 3. 3 is a flow chart of an inter-frequency card anti-collision method in accordance with one embodiment of the present invention. As shown in FIG. 3, when the dual-frequency card reader is used, the following steps are performed while the dual-frequency card reader is activated.

步驟S1:使第一通訊模組和第二通訊模組發射各自的射頻訊號進行尋卡,檢測是否有卡片進入刷卡區域。 Step S1: The first communication module and the second communication module are caused to transmit respective RF signals for card search to detect whether a card enters the card swipe area.

在啟動雙頻讀卡器的使用過程中,始終都需要發射射頻訊號進行尋卡。如果始終沒有接收到卡片的回應,雙頻讀卡器就持續地進行尋卡。 In the process of starting the dual-frequency card reader, it is always necessary to transmit an RF signal for card search. If the card's response is never received, the dual-frequency card reader continues to perform the card search.

如果接收到公共交通卡的回應,即第一通訊模組中的13.56MHz射頻通訊模組接收到尋卡回應,則進入步驟S2。 If the response of the public transportation card is received, that is, the 13.56 MHz radio communication module in the first communication module receives the card-seeking response, the process proceeds to step S2.

步驟S2:接入公共交通卡,建立NFC交易流程。 Step S2: Accessing the public transportation card to establish an NFC transaction process.

可以理解,在NFC交易過程中,公共交通卡與雙頻讀卡器的主控模組進行多次資料和指令的交互,才能最終實現支付。如此,第一通訊模組中的第一控制模組進入透傳模式,於是,進入步驟S3。 It can be understood that in the NFC transaction process, the public transportation card and the main control module of the dual-frequency card reader perform multiple interactions of data and instructions to finally realize payment. In this way, the first control module in the first communication module enters the transparent transmission mode, and then proceeds to step S3.

步驟S3:經由第一通訊模組發射APDU。 Step S3: transmitting the APDU via the first communication module.

雙頻讀卡器的主控模組經由第一通訊模組向公共交通卡發送APDU,在此過程中,第二通訊模組仍然在檢測尋卡回應。此時,如果射頻SIM卡有回應,即檢測到射頻SIM卡也進入刷卡區域,則進行步驟S4。如果沒有射頻SIM卡的回應,則直接進入步驟S5。 The main control module of the dual-frequency card reader sends an APDU to the public transportation card via the first communication module. In the process, the second communication module is still detecting the card-seeking response. At this time, if the radio frequency SIM card has a response, that is, it is detected that the radio frequency SIM card also enters the card swipe area, step S4 is performed. If there is no response from the radio frequency SIM card, go directly to step S5.

步驟S4:記錄射頻SIM卡的卡號或標識,但不接入射頻SIM卡進行支付交易,而是繼續公共交通卡的交易支付,即,進入步驟S5。 Step S4: Record the card number or logo of the radio frequency SIM card, but do not access the radio frequency SIM card for the payment transaction, but continue the transaction payment of the public transportation card, that is, proceed to step S5.

步驟S5:如果沒有射頻SIM卡的回應,則主控模組進行公共交通卡對APDU指令的回應資料的處理,直至交易結束。 Step S5: If there is no response from the radio frequency SIM card, the main control module processes the response data of the public transportation card to the APDU command until the transaction ends.

至此,描述了圖3的左側分支,即公共交通卡首先回應雙頻讀卡器,並執行支付交易的情況。 So far, the left branch of FIG. 3 has been described, that is, the case where the public transportation card first responds to the dual frequency card reader and performs a payment transaction.

而對於射頻SIM卡首先回應雙頻讀卡器的情形,參見圖3的右側分支。在步驟S1之後,如果是射頻SIM卡首先有尋卡回應,即第二通訊模組中的2.4GHz限域通訊模組接收到尋卡回應,則進入步驟S6-S9。 For the case where the radio frequency SIM card first responds to the dual frequency card reader, see the right side branch of FIG. After the step S1, if the RF SIM card first has a card seek response, that is, the 2.4 GHz limited domain communication module in the second communication module receives the card search response, the process proceeds to steps S6-S9.

步驟S6:接入射頻SIM卡,建立RCC交易流程。 Step S6: Access the radio frequency SIM card to establish an RCC transaction process.

步驟S7:經由第二通訊模組發射APDU。 Step S7: transmitting the APDU via the second communication module.

雙頻讀卡器的主控模組經由第二通訊模組向射頻SIM卡發送APDU,在此過程中,第一通訊模組仍然在偵聽尋卡回應。此時,如果公共交通卡有回應,即檢測到公共交通卡也進入刷卡區域,則進行步驟S8。如果沒有公共交通卡的回應,則直接進入步驟S9。 The main control module of the dual-frequency card reader sends an APDU to the radio frequency SIM card via the second communication module. In the process, the first communication module is still listening for the card-seeking response. At this time, if there is a response from the public transportation card, that is, it is detected that the public transportation card also enters the card swipe area, step S8 is performed. If there is no response from the public transportation card, go directly to step S9.

步驟S8:記錄公共交通卡的卡號或標識,但不接入公共交通卡進行支付交易,而是繼續射頻SIM卡的支付交易,即,進入步驟S9。 Step S8: Record the card number or logo of the public transportation card, but do not access the public transportation card for the payment transaction, but continue the payment transaction of the radio frequency SIM card, that is, proceed to step S9.

步驟S9:如果沒有公共交通卡的回應,則主控模組進行射頻SIM卡對APDU的回應資料的處理,直至交易結束。 Step S9: If there is no response from the public transportation card, the main control module processes the response data of the radio frequency SIM card to the APDU until the transaction ends.

經過以上步驟,當發生異頻卡都進入刷卡區域時,可以使得僅有一張卡接入雙頻卡讀卡器來完成交易支付。 After the above steps, when the inter-frequency card enters the card swipe area, only one card can be connected to the dual-band card reader to complete the transaction payment.

進一步地,交易結束後,雙頻讀卡器還會檢測到進入刷卡區域的卡片離開刷卡區域,於是,進入步驟S10。 Further, after the transaction is completed, the dual-frequency card reader also detects that the card entering the card-swapping area leaves the card-swapping area, and then proceeds to step S10.

步驟S10:檢測到卡片離開刷卡區域,此後的預定時間內再次檢測到同樣的卡片進入刷卡區域,則不再接入卡片。其中,預定時間可以例如是5秒、10秒等。這樣,可以避免沒有進行支付的卡片離開刷卡區域後短時間內(例如,由於誤操作等原因)又再次進入刷卡區域時被計費,從而避免同一用戶的重複刷卡。 Step S10: detecting that the card leaves the card swipe area, and detecting the same card entering the card swipe area again within a predetermined time thereafter, the card is no longer accessed. The predetermined time may be, for example, 5 seconds, 10 seconds, or the like. In this way, it can be avoided that the card that has not been paid out is charged after a short time (for example, due to a misoperation or the like) and then enters the card swipe area again, thereby avoiding repeated card swiping by the same user.

例如,用戶在使用公共交通卡進行支付時手機也進入刷卡區域,上述方案使得公共交通卡執行了支付,而手機的射頻SIM卡不會進行支付,但被記錄了卡號或其它標識,使用者刷卡後離開刷卡區域,但由於某種原因,例如用戶折返至讀卡器,短時間使得手機再次進入刷卡區域,以致讀卡器在短時間內再次收到射頻SIM卡的尋卡響應,在這種情況下,步驟S10使得此時的射頻SIM卡然而不會被接入而執行刷卡支付。進一步地,短時間內也不會使得公共交通卡再次被刷卡計費。於是,可以避免對用戶重複計費。 For example, when the user uses the public transportation card for payment, the mobile phone also enters the credit card area. The above scheme enables the public transportation card to perform payment, and the mobile phone's radio frequency SIM card does not pay, but the card number or other identification is recorded, and the user swipes the card. After leaving the card swipe area, but for some reason, for example, the user turns back to the card reader, the phone is re-entered into the card swipe area for a short time, so that the card reader receives the card search response of the radio frequency SIM card again in a short time. In this case, step S10 causes the radio frequency SIM card at this time, however, not to be accessed to perform the card payment. Further, the public transportation card will not be charged again by credit card in a short time. Thus, it is possible to avoid repeated charging for the user.

以上參照圖3描述了異頻卡防衝突處理的一個實施例,下面描述另一個實施例,在這個實施例裡,與圖3所示的區別僅在於,在步驟S3和步驟S7之後,如果接收到另外一張卡的尋卡回應,不是圖3所示的那樣,執行步驟 S4和步驟S8,而是執行步驟S11,禁止兩張卡片的支付交易。具體地,如果在NFC交易流程中,檢測手機進入刷卡區域,接收到射頻SIM卡的尋卡回應,則不僅禁止射頻SIM卡接入,還終止公共交通卡的支付交易。類似地,在RCC交易流程中,當接收到公共交通卡的尋卡回應時,不僅禁止公共交通卡的接入,還終止射頻SIM卡的支付。這樣,兩張卡片都不能進行支付交易,於是,過程結束。於是,可以避免兩張卡片重複刷卡計費。 One embodiment of the inter-frequency card anti-collision process is described above with reference to FIG. 3. Another embodiment will be described below. In this embodiment, the difference from FIG. 3 is only that after step S3 and step S7, if receiving The card search response to another card is not as shown in Figure 3. S4 and step S8, but step S11 is executed to prohibit the payment transaction of the two cards. Specifically, if the mobile phone enters the card swipe area and receives the card search response of the radio frequency SIM card in the NFC transaction process, not only the radio frequency SIM card access is prohibited, but also the payment transaction of the public transportation card is terminated. Similarly, in the RCC transaction process, when receiving a card search response of the public transportation card, not only the access of the public transportation card is prohibited, but also the payment of the radio frequency SIM card is terminated. In this way, neither card can perform a payment transaction, so the process ends. Thus, it can be avoided that the two cards are repeatedly credited for billing.

從以上描述可見,當兩種基於不同頻率方案的卡片進入刷卡區域時,根據本發明的雙頻讀卡器能檢測到兩種卡片的存在,並控制讀卡器至少停止其中一張卡片的刷卡交易,從而避免多張異頻卡之間的衝突,解決雙頻讀卡器存在的交易隱患。 As can be seen from the above description, when two cards based on different frequency schemes enter the card swipe area, the dual frequency card reader according to the present invention can detect the presence of two types of cards and control the card reader to stop at least one of the cards. Transaction, thus avoiding conflicts between multiple inter-frequency cards and solving the trading risks of dual-frequency card readers.

以上所述的具體實施方式是用於說明理解本發明的目的、技術方案和有益效果,應理解的是,以上所述僅為本發明的具體實施方式而已,並不用於限制本發明的保護範圍,凡在本發明的精神和原則之內,所做的任何修改、等同替換、改進等,均應包含在本發明的保護範圍之內。 The embodiments described above are intended to explain the objects, technical solutions, and advantageous effects of the present invention. It should be understood that the foregoing description is only illustrative of the embodiments of the present invention and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (10)

一種異頻卡間防衝突的方法,該異頻卡間防衝突的方法包括:啟動異頻讀卡器,發射射頻訊號進行尋卡;檢測第一卡片處於刷卡區域中;與該第一卡片通訊的同時,檢測第二卡片處於該刷卡區域中,該第二卡片與該第一卡片使用不同的頻率;以及禁止該第二卡片執行支付交易。 A method for preventing conflicts between different frequency cards, the method for preventing conflicts between different frequency cards comprises: starting an inter-frequency card reader, transmitting an RF signal for card search; detecting that the first card is in a card swipe area; communicating with the first card At the same time, detecting that the second card is in the card swipe area, the second card uses a different frequency than the first card; and prohibiting the second card from performing a payment transaction. 如請求項1所記載之異頻卡間防衝突的方法,其中該異頻卡間防衝突的方法還包括檢測到該第二卡片離開該刷卡區域的預定時間內,再次檢測到該第二卡片進入刷卡區域時,禁止該第二卡片執行支付交易。 The method for preventing conflicts between different frequency cards as claimed in claim 1, wherein the method for preventing conflicts between the different frequency cards further comprises detecting that the second card is detected again within a predetermined time after the second card leaves the card swipe area When entering the card swipe area, the second card is prohibited from performing a payment transaction. 如請求項1或2所記載之異頻卡間防衝突的方法,其中該異頻卡間防衝突的方法還包括禁止該第一卡片執行支付交易。 The method for preventing conflicts between different frequency cards as recited in claim 1 or 2, wherein the method for preventing conflicts between the different frequency cards further comprises prohibiting the first card from performing a payment transaction. 如請求項1或2所記載之異頻卡間防衝突的方法,其中該第一卡片是基於高頻的卡片,該第二卡片是基於超高頻的卡片或甚高頻的卡片。 The method of preventing conflicts between different frequency cards as recited in claim 1 or 2, wherein the first card is a high frequency based card, and the second card is a card based on an ultra high frequency or a card of a high frequency. 一種雙頻讀卡器,包括第一通訊模組、第二通訊模組和主控模組;該第一通訊模組用於基於第一頻率與第一卡片通訊;該第二通訊模組用於基於第二頻率與第二卡片 通訊,該第二頻率與該第一頻率不同;該主控模組用於與該第一通訊模組和該第二通訊模組通訊,使得在檢測到該第一卡片時禁止該第二卡片執行支付交易。 A dual frequency card reader, comprising a first communication module, a second communication module and a main control module; the first communication module is configured to communicate with the first card based on the first frequency; and the second communication module is used Based on the second frequency and the second card Communication, the second frequency is different from the first frequency; the main control module is configured to communicate with the first communication module and the second communication module, so that the second card is prohibited when the first card is detected Perform a payment transaction. 如請求項5所記載之雙頻讀卡器,其中該第一通訊模組包括彼此相連的第一控制模組和第一頻率通訊模組;該第一頻率通訊模組用於檢測該第一卡片是否進入刷卡區域;該第一控制模組在該主控模組的控制下,與該第一卡片實現支付交易或者禁止接入該第一卡片。 The dual frequency card reader of claim 5, wherein the first communication module comprises a first control module and a first frequency communication module connected to each other; the first frequency communication module is configured to detect the first Whether the card enters the card swiping area; the first control module implements a payment transaction with the first card or prohibits access to the first card under the control of the main control module. 如請求項5或6所記載之雙頻讀卡器,其中該第二通訊模組包括彼此相連的第二控制模組和第二頻率通訊模組;該第二頻率通訊模組用於檢測該第二卡片是否進入該刷卡區域;該第二控制模組在該主控模組的控制下,與該第二卡片實現支付交易或者禁止接入該第二卡片。 The dual frequency card reader of claim 5 or 6, wherein the second communication module comprises a second control module and a second frequency communication module connected to each other; the second frequency communication module is configured to detect the Whether the second card enters the card swiping area; the second control module implements a payment transaction with the second card or prohibits access to the second card under the control of the main control module. 如請求項7所記載之雙頻讀卡器,其中該第二頻率通訊模組包括限域通訊模組和磁電路模組;該磁電路模組用於發射磁訊號來限定該刷卡區域;該限域通訊模組與該第二卡片通訊。 The dual frequency card reader of claim 7, wherein the second frequency communication module comprises a limited domain communication module and a magnetic circuit module; the magnetic circuit module is configured to emit a magnetic signal to define the card area; The limited domain communication module communicates with the second card. 如請求項5所記載之雙頻讀卡器,其中在檢測到該第 二卡片離開該刷卡區域的預定時間內,該主控模組再次檢測到該第二卡片進入該刷卡區域時,禁止該第二卡片執行支付交易;該主控模組還進一步禁止該第一卡片執行支付交易。 The dual frequency card reader as recited in claim 5, wherein the first The second control card prohibits the second card from performing a payment transaction when the second control card detects that the second card enters the card swipe area within a predetermined time period when the second card leaves the card swipe area; the main control module further prohibits the first card Perform a payment transaction. 如請求項5所記載之雙頻讀卡器,其中該第一頻率是高頻,該第二頻率是甚高頻或超高頻。 The dual frequency card reader of claim 5, wherein the first frequency is a high frequency and the second frequency is a high frequency or an ultra high frequency.
TW104144036A 2014-12-31 2015-12-28 Anti-collision method between different frequency cards and dual frequency card reader TWI632512B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
??201410851878.6 2014-12-31
CN201410851878.6A CN105809078B (en) 2014-12-31 2014-12-31 Method for preventing repeated payment transaction between different-frequency cards executed by double-frequency card reader and double-frequency card reader

Publications (2)

Publication Number Publication Date
TW201626296A TW201626296A (en) 2016-07-16
TWI632512B true TWI632512B (en) 2018-08-11

Family

ID=56284158

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104144036A TWI632512B (en) 2014-12-31 2015-12-28 Anti-collision method between different frequency cards and dual frequency card reader

Country Status (4)

Country Link
CN (1) CN105809078B (en)
HK (1) HK1223175A1 (en)
TW (1) TWI632512B (en)
WO (1) WO2016107260A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113536814B (en) * 2021-06-01 2023-10-03 浪潮金融信息技术有限公司 Method, system and medium for avoiding collision between card reading and detection of card reader
CN115225123A (en) * 2022-07-15 2022-10-21 上海动联信息技术股份有限公司 Control system and method for enhancing stability of non-card-receiving card reading for POS machine

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM395236U (en) * 2010-05-28 2010-12-21 liang-cheng Cai May copy low frequency / high-frequency induction card of copy machine
CN102215050B (en) * 2010-04-02 2014-03-19 国民技术股份有限公司 Detection method for radio-frequency SIM (Subscriber Identity Module) card collision with low-frequency magnetic communication

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101059872B1 (en) * 2005-01-03 2011-08-29 삼성전자주식회사 Communication collision prevention protocol using unique identifier
CN201698449U (en) * 2010-07-30 2011-01-05 武汉天喻信息产业股份有限公司 Card reader and radio-frequency data communication system
CN202093525U (en) * 2011-05-20 2011-12-28 袁晓轩 Double-frequency card reader
CN102810144B (en) * 2011-05-30 2015-04-22 罗魏熙 Method and device for distance-controllable mobile payment
CN202075750U (en) * 2011-05-30 2011-12-14 罗魏熙 Multiband card reading device and a multiband integrated circuit card
CN102890764B (en) * 2011-07-22 2016-05-11 国民技术股份有限公司 A kind of method and device that prevents from repeating rf data exchange
CN203250329U (en) * 2013-04-11 2013-10-23 淮安信息职业技术学院 Smart subscriber identity module card and card reader thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215050B (en) * 2010-04-02 2014-03-19 国民技术股份有限公司 Detection method for radio-frequency SIM (Subscriber Identity Module) card collision with low-frequency magnetic communication
TWM395236U (en) * 2010-05-28 2010-12-21 liang-cheng Cai May copy low frequency / high-frequency induction card of copy machine

Also Published As

Publication number Publication date
WO2016107260A1 (en) 2016-07-07
CN105809078A (en) 2016-07-27
CN105809078B (en) 2023-03-24
HK1223175A1 (en) 2017-07-21
TW201626296A (en) 2016-07-16

Similar Documents

Publication Publication Date Title
US9420409B2 (en) Near field communication device
US9402278B2 (en) Multi-mode communication system for a mobile phone
TWI534712B (en) Smartcard performance enhancement circuits and systems
US11943007B1 (en) Wirelessly powered batteryless device
CN102044028B (en) Method for realizing card-reading operation and system for realizing card-reading operation
US20090152361A1 (en) Memory card based contactless devices
WO2019114363A1 (en) Method and device for determining operating frequency of nfc device
CN101458761A (en) Communication apparatus
CN103347105A (en) Mobile phone radio-frequency SIM card with SWP function in compatible mode
US9697396B2 (en) Interactive processing method and device and electronic apparatus
TWI632512B (en) Anti-collision method between different frequency cards and dual frequency card reader
CN112688720B (en) Near field communication equipment and method for determining transmitting power
US20140077935A1 (en) Apparatus and method for providing data transmission/reception in a terminal using near field communication
KR101617880B1 (en) Handheld Phone for Controlling Near Field Communication
US8983544B2 (en) Communication system and communication method
KR101354997B1 (en) Mobile Device and Control Method
KR100827806B1 (en) Mobile communication device and method for mobile payment using the mobile communication device
CN104753550A (en) Wireless communication terminal and data processing method

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees