CN110245533B - Cascade type card reader, card reading method, system and storage medium - Google Patents
Cascade type card reader, card reading method, system and storage medium Download PDFInfo
- Publication number
- CN110245533B CN110245533B CN201910500641.6A CN201910500641A CN110245533B CN 110245533 B CN110245533 B CN 110245533B CN 201910500641 A CN201910500641 A CN 201910500641A CN 110245533 B CN110245533 B CN 110245533B
- Authority
- CN
- China
- Prior art keywords
- card
- antenna
- searching
- slave
- main antenna
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/10009—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
- G06K7/10316—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves using at least one antenna particularly designed for interrogating the wireless record carriers
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Toxicology (AREA)
- General Health & Medical Sciences (AREA)
- Electromagnetism (AREA)
- Computer Networks & Wireless Communication (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
- Near-Field Transmission Systems (AREA)
Abstract
The embodiment of the application provides a cascading card reader, a card reading method, a system and a storage medium, wherein the cascading card reader comprises: a plurality of antennas; the plurality of antennas comprise a main antenna and at least two slave antennas, each of the at least two slave antennas is respectively connected with the main antenna, the main antenna is communicated with a terminal, the main antenna is used for receiving a card searching command sent by the terminal, executing card searching operation, and after card searching fails, sending the card searching command to the corresponding slave antenna in the at least two slave antennas according to the card searching sequence of the at least two built-in slave antennas; each slave antenna is used for receiving the card searching instruction sent by the main antenna after the card searching of the main antenna fails, and executing card searching operation; each antenna in the plurality of antennas is further used for executing card reading operation after the card searching of the corresponding antenna is successful. The card reader provided by the embodiment can save card reading time and improve user experience.
Description
Technical Field
The embodiment of the application relates to the technical field of card readers, in particular to a cascading type card reader, a card reading method, a system and a storage medium.
Background
With the development of society, card readers are commonly used, especially on expressways. Since the highway is the mark of the national modernization development, the automobiles need to pay a certain passing fee when passing through the highway toll station.
The current charging mode is mostly cash charging, toll collection personnel need to manually count cash and change the cash, and then a vehicle owner can pass through after confirming the change amount, the passing efficiency of the mode is low, and subsequent vehicles are easy to queue and wait, so card readers can be adopted in the passageways of some expressway crossings at present, the card readers are practically applied to ETC lanes, and when OBU vehicles are installed, the vehicles automatically swipe cards to pass through after communication failure of the ETC lanes, and the convenience and the rapidness are realized.
However, in the prior art, the card reading method is based on a non-contact card reader, and the communication rate between the non-contact card reader and a non-contact card can only be supported at 106kbps generally, and the speed of the individual card reader can be regulated to be supported at 848 kbps. However, when a large amount of data information is interacted between the contactless card reader and the contactless card, the interaction time is too long, the user experience is reduced, and the application of some contactless cards is limited. Therefore, the card reading time of the card reader or the card reading method in the prior art is too long, which affects the user experience.
Disclosure of Invention
The embodiment of the application provides a cascading card reader, a card reading method, a system and a storage medium, so as to overcome the problem that the user experience is influenced due to too long card reading time in the prior art.
In a first aspect, an embodiment of the present application provides a cascading type card reader, including: a plurality of antennas;
the plurality of antennas comprise a main antenna and at least two slave antennas, each of the at least two slave antennas is respectively connected with the main antenna, the main antenna is communicated with a terminal, the main antenna is used for receiving a card searching command sent by the terminal, executing card searching operation, and after card searching fails, sending the card searching command to the corresponding slave antenna in the at least two slave antennas according to the card searching sequence of the at least two built-in slave antennas;
each slave antenna is used for receiving the card searching instruction sent by the main antenna after the card searching of the main antenna fails, and executing card searching operation;
each antenna in the plurality of antennas is further used for executing card reading operation after the corresponding antenna successfully searches for the card.
In one possible design, each antenna in the plurality of antennas comprises a micro control unit, a communication unit and a card reading chip;
the micro control unit in the main antenna is used for receiving the card searching instruction sent by the terminal through the communication unit in the main antenna so as to instruct the card reading chip in the main antenna to execute the card searching operation, and the micro control unit in each slave antenna is used for instructing the corresponding card reading chip in the slave antenna to execute the card searching operation when receiving the card searching instruction sent by the main antenna;
the card reading chip is also used for executing card reading operation after the card searching is successful;
wherein the communication unit in each slave antenna is connected with the communication unit in the main body antenna.
In one possible design, each of the antennas further comprises a light emitting diode, LED, and a ringing device; the light emitting diode LED comprises a first light emitting diode LED and a second light emitting diode LED, aiming at the same antenna, the first light emitting diode LED in the antenna is connected with the micro control unit, and the first light emitting diode LED is used for displaying the indication information of communication or the indication information of a power supply;
aiming at the same antenna, the second light emitting diode LED in the antenna is connected with the micro control unit, and the second light emitting diode LED is used for displaying the indication information of successful card searching of the card reading chip or the indication information of successful card reading of the card reading chip to a user;
aiming at the same antenna, the ringing device in the antenna is connected with the micro control unit and used for prompting a user that the card reading of the card reading chip is successful.
In a second aspect, embodiments of the present application provide a card reading method, which is applied to the cascade type card reader described in the first aspect and various possible designs of the first aspect; the method comprises the following steps:
the main antenna receives a card searching instruction sent by a terminal;
the main antenna executes card searching operation according to the card searching instruction;
if the card searching of the main antenna fails, the main antenna sequentially sends the card searching instruction to corresponding slave antennas in the at least two slave antennas according to the card searching sequence of the at least two slave antennas, so that the slave antennas execute the card searching operation according to the card searching instruction;
if the main antenna monitors that one of the at least two slave antennas fails to search for the card, the main antenna sends the card searching instruction to the next slave antenna in the card searching sequence and instructs the slave antennas to execute card searching operation;
if the main antenna monitors that one of the at least two slave antennas successfully searches the card, the main antenna stops sending the card searching instruction to the rest of the at least two slave antennas, and indicates the slave antennas which successfully search the card to execute card reading operation, so that the card reading task is completed.
In one possible design, the method further includes:
if the main antenna monitors that the card searching of the at least two slave antennas fails, the result of the card searching failure is fed back to the terminal, so that the terminal sends a next card searching instruction to the main antenna.
In one possible design, the card-seeking instruction includes a resonant frequency of a target antenna of the card to be identified, where the target antenna is an antenna for performing a card-seeking operation;
the card searching operation is executed according to the card searching instruction, and comprises the following steps:
acquiring a current radio frequency signal within a preset distance range around a target antenna;
determining the frequency of the current radio frequency signal;
judging whether a radio frequency card exists in a preset distance range around the target antenna according to the frequency of the current radio frequency signal and the resonant frequency of the target antenna in the card searching instruction, wherein the resonant frequency of the radio frequency card is the same as the resonant frequency of the target antenna, and the coding mode corresponding to the radio frequency card is the same as the coding mode corresponding to the target antenna;
if the radio frequency card exists in the preset distance range around the target antenna, determining that the card searching is successful;
and if the radio frequency card does not exist in the preset distance range around the target antenna, determining that the card searching fails.
In one possible design, when the card searching operation is executed according to the card searching instruction, the method further includes:
and starting timing, and counting the card searching time of the target antenna.
In one possible design, the method further includes:
if the main antenna successfully searches the card, the main antenna executes card reading operation to complete the card reading task;
before the card searching is successful, the method further comprises the following steps:
displaying communication indication information or power supply indication information through a first Light Emitting Diode (LED);
after the card finding is successful, the method further comprises the following steps:
displaying indication information of successful card searching of the cascading card reader to a user through the second Light Emitting Diode (LED);
after the executing of the card reading operation and the completion of the card reading task, the method further comprises the following steps:
displaying indication information of successful card reading of the cascading card reader to a user through a second Light Emitting Diode (LED); and/or the presence of a gas in the gas,
and the user is prompted to successfully read the card by the cascading card reader through the ringing device.
In a third aspect, an embodiment of the present application provides a card reading system, which includes the first aspect and the cascade card reader and the terminal described in the first aspect in various possible designs.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, where computer-executable instructions are stored, and when a processor executes the computer-executable instructions, the card reading method according to the second aspect and various possible designs of the second aspect is implemented.
The cascade card reader, the card reading method, the system and the storage medium provided by the embodiment of the application are provided with a plurality of antennas; the plurality of antennas comprise a main antenna and at least two slave antennas, each of the at least two slave antennas is respectively connected with the main antenna, the main antenna is used for communicating with a terminal, receiving a card searching instruction sent by the terminal, and executing a card searching operation according to the card searching instruction, and after the card searching of the main antenna fails, the main antenna sends the card searching instruction to the corresponding slave antennas according to the card searching sequence of the at least two built-in slave antennas, so that the slave antennas execute the card searching operation; each slave antenna is used for receiving the card searching instruction sent by the main antenna and executing card searching operation after the card searching of the main antenna fails, each antenna in the plurality of antennas is also used for executing card reading operation after the card searching of the corresponding antenna succeeds, the main antenna and the at least two slave antennas can realize card searching in turn, and after the card searching of one antenna succeeds, the card searching of the rest antennas is not needed, so that the card searching of each antenna is not needed, and the card reading time is saved. The technical scheme is that the cascading card reader comprises a main antenna and at least two slave antennas, each slave antenna of the at least two slave antennas is connected with the main antenna, the main antenna is communicated with a terminal, the card searching operation can be carried out after the main antenna receives a card searching command sent by the terminal, after the card searching of the main antenna fails, the main antenna sends the card searching command to the corresponding slave antenna according to the built-in card searching sequence, the slave antennas receive the card searching command sent by the main antenna and execute the card searching operation, after the card searching succeeds, the card reading operation is executed, in the card searching process, the card reading operation can be carried out as long as one antenna successfully searches the card, the card reading task is completed, each antenna does not need to search the card further, and the card reading time can be saved, the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of a cascading type card reader provided in an embodiment of the present application;
FIG. 2 is a schematic structural diagram of a cascading card reader according to yet another embodiment of the present application;
FIG. 3 is a schematic structural diagram of a cascading card reader according to another embodiment of the present application;
FIG. 4 is a schematic flowchart of a card reading method according to an embodiment of the present application;
FIG. 5 is a schematic flowchart of a card reading method according to yet another embodiment of the present application;
FIG. 6 is a schematic structural diagram of a card reading system according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a card reading system according to still another embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the above-described drawings (if any) are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In addition, in the prior art, a PC terminal is used to respectively designate antennas to send a card-searching command, so that several antennas need to go through several cycles, and in order to save communication time, the present application provides a cascade type card reader, see fig. 1.
Fig. 1 is a schematic structural diagram of a cascading type card reader provided in an embodiment of the present application. Referring to fig. 1, the cascade type card reader 1 includes: the plurality of antennas comprise a main antenna 10 and at least two slave antennas, each slave antenna 20 of the at least two slave antennas is respectively connected with the main antenna 10, the main antenna 10 is in communication with the terminal 2, the main antenna 10 is used for receiving a card searching command sent by the terminal 2, executing a card searching operation, and after the card searching fails, sending the card searching command to the corresponding slave antenna of the at least two slave antennas according to the built-in card searching sequence of the at least two slave antennas; each slave antenna is configured to receive the card-searching instruction sent by the main antenna 10 after the card-searching of the main antenna 10 fails, and execute a card-searching operation; each antenna in the plurality of antennas is further used for executing card reading operation after the card searching of the corresponding antenna is successful.
In this embodiment, the provided cascading card reader 1 includes a plurality of antennas, where the plurality of antennas includes a main antenna 10 and at least two slave antennas, where any one of the plurality of antennas may serve as the main antenna 10, the main antenna 10 is connected to the terminal 2, and may be connected through a wired connection or a wireless connection, the main antenna 10 communicates with the terminal 2, and is configured to receive a card seeking instruction sent by the terminal 2, after a card seeking failure of the main antenna 10, the main antenna 10 sends the card seeking instruction to one of the at least two slave antennas, so that the slave antennas may perform a card seeking operation according to the card seeking instruction, and once a card seeking failure of the current slave antenna occurs, the main antenna 10 sends the card seeking instruction to a next slave antenna of the at least two slave antennas, and executing the executing process of the slave antenna, and repeating the steps until the card searching of the antenna is successful or the card searching of no antenna is successful, and ending the card searching process of the current round. In order that the main antenna 10 may sequentially send the card searching command to the corresponding slave antennas, the card searching sequence of the at least two slave antennas is built in the main antenna 10, and the main antenna 10 may send the card searching command to the corresponding slave antennas in the card searching sequence according to the card searching sequence. Namely, the main antenna is further configured to send the card seeking instruction to a next slave antenna when it is monitored that one of the at least two slave antennas fails to seek the card, and the main antenna stops sending the card seeking instruction to the remaining slave antennas of the at least two slave antennas when it is monitored that one of the at least two slave antennas succeeds in seeking the card.
In addition, the terminal 2 may periodically send a card searching instruction to the main antenna 10, so that the cascading card reader 1 periodically scans whether a radio frequency card exists within a preset distance range from the antenna currently executing the card searching operation, continuously and circularly searches the card searching process, and quickly searches the radio frequency card as far as possible, thereby saving the card reading time; the terminal 2 may also determine to send the card searching instruction again to the main antenna 10 according to the received information of the card searching failure fed back by the main antenna 10, so that the cascaded card reader 1 is always in the card searching state, and once a radio frequency card approaches, the antenna can successfully search the card, thereby saving the card reading time.
The cascading card reader 1 provided by the embodiment is provided with a plurality of antennas; the plurality of antennas comprise a main antenna 10 and at least two slave antennas, each slave antenna 20 of the at least two slave antennas is respectively connected with the main antenna 10, the main antenna 10 is used for communicating with the terminal 2, receiving a card searching instruction sent by the terminal 2, and performing a card searching operation according to the card searching instruction, after the card searching of the main antenna 10 fails, the main antenna 10 sends the card searching instruction to the corresponding slave antennas according to the card searching sequence of the at least two built-in slave antennas, so that the slave antennas perform the card searching operation; each of the slave antennas is configured to receive the card searching instruction sent by the main antenna 10 and execute a card searching operation after the card searching of the main antenna 10 fails, each of the plurality of antennas is further configured to execute a card reading operation after the card searching of the corresponding antenna succeeds, the main antenna 10 and the at least two slave antennas can realize card searching in turn, and after the card searching of one antenna succeeds, the remaining antennas do not need to search cards, so that each antenna does not need to search cards, and the card reading time is saved. The scheme is that the cascading card reader 1 comprises a main antenna and at least two slave antennas, each slave antenna 20 of the at least two slave antennas is connected with the main antenna 10, the main antenna 10 is communicated with the terminal 2, the card searching operation can be performed by the main antenna 10 after receiving a card searching command sent by the terminal 2, after the card searching of the main antenna 10 fails, the main antenna 10 sends the card searching command to the corresponding slave antennas according to the built-in card searching sequence, after the card searching of the main antenna 10 fails, the slave antennas receive the card searching command sent by the main antenna 10 and perform the card searching operation, after the card searching succeeds, the card reading operation is performed, in the card searching process, the card reading operation can be performed as long as one antenna searches the card successfully, the card reading task is completed, and each antenna does not need to search the card, the card reading time can be saved, and the user experience is improved.
In practical application, fig. 2 is a schematic structural diagram of a cascading card reader 1 according to another embodiment of the present application. Referring to fig. 2, the number of the at least two slave antennas in this embodiment is 2, that is, the plurality of antennas include a main antenna 10 and two slave antennas, each slave antenna 20 of the two slave antennas is connected to the main antenna 10, the main antenna 10 communicates with the terminal 2, and any one of the two slave antennas can be independently used as a main antenna to connect to an industrial personal computer (the host or the PC is the terminal 2) to be used as a card reader. The three antennas can operate a non-contact IC card and a Mifare card which conform to the ISO 14443 TYPE A standard. The cascading card reader 1 is a card reader tool of a first-support-three type, wherein one main antenna 10 is arranged in a toll booth, two external secondary antennas I are arranged on the upper portion and the lower portion of the main antenna III and are arranged on the outer side of the toll booth in a three-dimensional mode, the cascading card reader 1 is powered through a USB or 220V-to-DC 5V adapter, and a user operates in a designated card swiping area.
Specifically, the main antenna 10 is configured to receive a card seeking instruction sent by the terminal 2, execute a card seeking operation, and send the card seeking instruction to corresponding slave antennas of the two slave antennas according to a card seeking sequence of the at least two built-in slave antennas after the card seeking operation fails, for example, the two slave antennas are the slave antenna 1 and the slave antenna 2, where the card seeking sequence sequentially includes card seeking from the antenna 1 and card seeking from the antenna 2. Specifically, the main antenna 10 is configured to send the card seeking instruction to a slave antenna corresponding to the card seeking sequence according to the card seeking sequence after the card seeking fails, that is, the slave antenna 1 is configured to receive the card seeking instruction sent by the main antenna 10 after the card seeking of the main antenna 10 fails, and execute a card seeking operation, after the card seeking failure of the slave antenna 1, the main antenna 10 sends the card seeking instruction to a slave antenna corresponding to a next sequence in the card seeking sequence, that is, the slave antenna 2, and the slave antenna 2 is configured to receive the card seeking instruction sent by the main antenna 10 after the card seeking failure of the main antenna 10, and execute a card seeking operation, and after the card seeking failure of the slave antenna 2, the main antenna 10 feeds back a card seeking failure result to the terminal 2, and waits for a next card seeking instruction of the terminal 2. In the whole card searching process, once the antenna successfully searches the card, the antenna which successfully searches the card immediately executes the card reading operation to complete the card reading task, and the rest antennas do not search the card any more, so that the card reading time is saved, and the user experience is improved.
Fig. 3 is a schematic structural diagram of a cascading type card reader 1 according to another embodiment of the present application. The present embodiment describes the cascade type card reader 1 in detail based on the above-mentioned embodiments, for example, based on the embodiments described in fig. 1 or fig. 2. Each antenna in the plurality of antennas comprises a micro control unit, a communication unit and a card reading chip; the micro control unit is connected to the communication unit and the card reading chip, the micro control unit in the main antenna 10 is configured to receive the card searching instruction sent by the terminal 2 through the communication unit in the main antenna 10 to instruct the card reading chip in the main antenna 10 to execute a card searching operation, and the micro control unit in each slave antenna is configured to instruct the corresponding card reading chip in the slave antenna to execute a card searching operation when receiving the card searching instruction sent by the main antenna 10; the card reading chip is also used for executing card reading operation after the card searching is successful; wherein the communication unit in each slave antenna is connected with the communication unit in the main body antenna 10, respectively.
In this embodiment, each of the plurality of antennas may include a micro control unit, a communication unit, and a card reading chip, where the communication unit may be a serial port (serial interface). For the same antenna, the micro control units in the antenna are respectively connected to the communication unit and the card reading chips one by one, where the communication unit in the main antenna 10 is configured to establish communication between the micro control unit in the main antenna 10 and the terminal 2, that is, the main antenna 10 is connected to the terminal 2 through a serial port in the main antenna 10, the serial port in the main antenna 10 is connected to the terminal 2 through a serial port line (four-core line) at the serial port position, and the micro control unit in the main antenna 10 is configured to receive the card searching instruction sent by the terminal 2 through the communication unit in the main antenna 10 to instruct the card reading chip in the main antenna 10 to perform card searching operation.
Furthermore, the communication unit in each slave antenna is respectively connected with the communication unit in the main antenna 10, and the communication unit in each slave antenna is respectively connected with the communication unit in the main antenna 10 through the serial port line (four-core line) at the serial port position in each slave antenna, that is, each communication unit in the slave antenna is used for establishing communication with the main antenna 10, each slave antenna is respectively communicated with the main antenna 10 through the corresponding communication unit in the slave antenna and is used for receiving a card seeking instruction sent by the main antenna 10, and the micro control unit in each slave antenna is used for receiving a card seeking instruction sent by the micro control unit in the main antenna 10, and indicating the card reading chip in the corresponding slave antenna to execute card searching operation according to the card searching sequence of the at least two slave antennas arranged in the card reading chip in the main antenna.
The micro control unit in the main body antenna is further configured to monitor slave antennas performing a card seeking operation, indicate a next slave antenna in the card seeking sequence when it is monitored that the card seeking of the slave antennas performing the card seeking operation fails, and stop indicating remaining slave antennas of the at least two slave antennas to perform the card seeking operation when it is monitored that the card seeking of the slave antennas performing the card seeking operation succeeds.
The card reading chip in each antenna is a 13.56MHz card reading chip, and is used for executing card searching operation when receiving a card searching command, and also used for executing card reading operation after the card searching is successful, so as to complete a card reading task. The card searching matching based on each antenna searches the card in turn instead of synchronously searching the card at the same time, so that resources can be saved, and meanwhile, once the card searching of the antenna is successful, the card reading operation can be performed, the card reading task is completed, the card searching process of the rest antennas is stopped, the card reading time is saved, and the user experience is improved.
In a possible design, referring to fig. 3, the embodiment describes the cascade-type card reader 1 in detail on the basis of the above-mentioned embodiment. Each antenna also comprises a Light Emitting Diode (LED) and a ringing device; the light emitting diode LED comprises a first light emitting diode LED and a second light emitting diode LED, aiming at the same antenna, the first light emitting diode LED in the antenna is connected with the micro control unit, and the first light emitting diode LED is used for displaying the indication information of communication or the indication information of a power supply; aiming at the same antenna, the second light emitting diode LED in the antenna is connected with the micro control unit, and the second light emitting diode LED is used for displaying the indication information of successful card searching of the card reading chip or displaying the indication information of successful card reading of the card reading chip to a user; aiming at the same antenna, the ringing device in the antenna is connected with the micro control unit and used for prompting a user that the card reading of the card reading chip is successful.
In this embodiment, each of the antennas further includes two Light-Emitting diodes (LEDs), and for the same antenna, the first LED in the antenna is connected to the micro control unit, and the micro control unit is configured to control turn-off and turn-on of the first LED, that is, turn-on and turn-off of the first LED, where the first LED is turned on when the antenna communication fails, and the first LED is turned off when the antenna communication is normal; or when the antenna is electrified and has a fault, the lamp of the first light-emitting diode LED is on, and when the antenna is electrified and is normal, the lamp of the first light-emitting diode LED is off.
For the same antenna, the second light emitting diode LED in the antenna is connected to the micro control unit, and the micro control unit is configured to control the second light emitting diode LED to be turned on and off, that is, the lamp of the second light emitting diode LED is turned on and off, and after the card is successfully found by the antenna, the second light emitting diode LED is configured to display indication information that the card is successfully found by the card reading chip to a user, that is, the lamp of the second light emitting diode LED is turned on, which indicates that the card is successfully found by the cascade-type card reader 1; or after the antenna successfully reads the card, the second light emitting diode LED is used for displaying the indication information that the card reading chip successfully reads the card to the user, that is, the lamp of the second light emitting diode LED is turned on, indicating that the card reading by the cascade card reader 1 is successful.
In addition, each antenna still includes ringing device, and is same for the antenna, in the antenna ringing device with little the control unit is connected, little the control unit is used for controlling ringing device's opening and closing. Specifically, after the antenna successfully reads the card, the ringing device is configured to prompt the user that the card reading chip successfully reads the card, that is, the ringing device rings, indicating that the cascading card reader 1 successfully reads the card. The ringing device can also prompt the user that the card reading chip successfully searches the card after the antenna successfully searches the card, namely, the ringing device rings to indicate that the cascading card reader 1 successfully searches the card.
In practical application, for the same antenna, the ringing device in the antenna is connected to the micro control unit, the ringing device is configured to prompt a user that the card-reading chip successfully searches for the card and/or prompt the user that the card-reading chip successfully reads the card, when the ringing device is configured to prompt the user that the card-reading chip successfully searches for the card and prompt the user that the card-reading chip successfully reads the card, in order to distinguish whether the card-searching is successful or the card-reading is successful, two timers in the antenna are respectively connected to the micro control unit for the same antenna, one timer is set to be a first preset time for timing the ringing time of the card-searching success, the other timer is set to be a second preset time for timing the ringing time of the card-reading success, and the micro control unit of the antenna for the card-searching success can be configured to control the start of the timer of the first preset time, and further controlling the ringing time of the ringing device, and also controlling the start of a timer for a second preset time, so as to control the ringing time of the ringing device, for example, the ringing time for successful card searching is 1 second, and the ringing time for successful card reading is 3 seconds.
In a possible design, the present embodiment provides a detailed description of the ringing device on the basis of the above-mentioned embodiments. The buzzer is arranged in the ringing device and used for ringing when the card reading chip reads the card successfully.
In this embodiment, a buzzer is arranged in the ringing device, and can be used in combination with a timer, when a preset condition is reached, the buzzer rings to indicate that the card reading of the cascade card reader 1 is successful, wherein the buzzer is an electronic buzzer with an integrated structure, and is convenient to install and quick to respond. A Beep function (Beep stands for Blocks Extensible Exchange Protocol) can be configured in the ringing device, and after the card reading of the cascading type card reader 1 is successful, the function can send out a prompt sound through a loudspeaker.
In a possible design, referring to fig. 3, the present embodiment provides a detailed description of each antenna in the cascaded card reader 1 based on the above-mentioned embodiment. Each of the antennas further includes: a monitoring unit; and aiming at the same antenna, the monitoring unit in the antenna is connected with the micro control unit, and the monitoring unit is used for monitoring whether the card searching of the card reading chip is overtime and feeding back the monitoring result of whether the card searching of the card reading chip is overtime to the micro control unit.
In this embodiment, in the card searching process of any one of the multiple antennas, in order to save card searching time, a monitoring unit is provided in each antenna, and for the same antenna, the monitoring unit in the antenna is connected to the micro control unit, and the monitoring unit is configured to monitor whether the card searching of the card reading chip is overtime, and feed back a monitoring result of whether the card searching of the card reading chip is overtime to the micro control unit. For example, the card searching time is set as a preset card searching time, which may be 5 seconds, and if the main antenna 10 does not search the radio frequency card within the preset card searching time when the card searching operation is performed, it is determined that the card searching has failed, that is, the card searching is over time, and a result of the card searching over time of the card reading chip in the antenna (a monitoring result of the card searching over time) is fed back to the micro control unit, so that the micro control unit controls the card reading chip to stop the card searching operation.
In a possible design, the present embodiment provides a detailed description of the monitoring unit on the basis of the above embodiments. The monitoring unit comprises a timer; and aiming at the same antenna, the timer in the antenna is connected with the micro control unit, and the timer is used for starting timing after the micro control unit receives the card searching instruction and counting the card searching time of the card reading chip in the antenna.
In a specific implementation process, in order to accurately monitor whether the card searching time of the antenna performing the card searching operation is over, a timer is arranged in the monitoring unit, card searching time (preset card searching time) is configured for each antenna performing the card searching operation, the card searching operation is performed according to the configured card searching time, and the card searching operation is stopped when the card searching time is exceeded. The timer can count and count time or count down, for the same antenna, the timer in the antenna is connected with the micro control unit, and the timer is used for starting timing after the micro control unit receives the card searching instruction, counting the card searching time of the card reading chip in the antenna, and determining whether to control the card reading chip in the antenna executing the card searching operation to stop the card searching operation according to the counted card searching time, so that the card searching time is saved, the card reading time is further saved, and the user experience is improved.
In a possible design, referring to fig. 3, the present embodiment describes each antenna in the cascaded card reader 1 in detail based on the above embodiment. Each of the antennas further includes: an alarm device; aiming at the same antenna, the alarm device in the antenna is connected with the micro control unit, and the alarm device is used for giving an alarm after the card reading chip fails to search the card.
In this embodiment, in order to enable a user or a monitor to clearly know which antenna fails to search for a card and further determine a card reading process, an alarm device is arranged in each antenna, the alarm device in each antenna is connected with the micro control unit, the micro control unit is used for controlling the on/off of the alarm device, and the alarm device is used for giving an alarm after the card searching of the card reading chip fails.
In a possible design, the present embodiment provides a detailed description of the alarm device on the basis of the above embodiments. The alarm device is an alarm.
In the embodiment, the alarm of the alarm can prompt a user or a monitoring device that the card searching of the card reading chip in which antenna fails, so that the card searching and reading processes are intelligent and more humanized.
Fig. 4 is a schematic flowchart of a card reading method according to an embodiment of the present application, where an execution main body of the embodiment may be a main body antenna. Referring to fig. 4, the card reading method is applied to the cascade type card reader according to the above embodiment; the method comprises the following steps:
s101, the main antenna receives a card searching instruction sent by a terminal.
In this embodiment, based on the cascaded card reader described in the above embodiment, the main antenna communicates with the terminal, the terminal may periodically or irregularly send a card searching instruction to the main antenna, and when the main antenna needs to perform a card searching operation, the main antenna needs to receive the card searching instruction sent by the terminal.
And S102, the main antenna executes the card searching operation according to the card searching instruction.
In this embodiment, after the main antenna receives a card searching instruction sent by a terminal, the main antenna needs to execute a card searching operation according to the card searching instruction. In practical applications, for a contactless smart card, such as a mifare card, the card searching process may be: a reset request; performing anti-collision operation; card selection operation; performing authentication operation; and (4) performing read-write operation.
S103, if the card searching of the main antenna fails, the main antenna sequentially sends the card searching instruction to corresponding slave antennas in the at least two slave antennas according to the card searching sequence of the at least two slave antennas, so that the slave antennas execute the card searching operation according to the card searching instruction.
In this embodiment, if the card searching of the main antenna fails, the card searching needs to be continued from the antennas, and in order to save resources and save card searching time, the main antenna may sequentially send the card searching instruction to corresponding slave antennas of the at least two slave antennas according to a card searching sequence of the at least two slave antennas, so that the slave antennas perform the card searching operation according to the card searching instruction, and do not send the card searching instruction to all the slave antennas at the same time.
S104, if the main antenna monitors that one slave antenna in the at least two slave antennas fails to search for the card, the main antenna sends the card searching instruction to the next slave antenna in the card searching sequence to indicate the slave antenna to execute the card searching operation.
In this embodiment, after the main antenna sequentially sends the card seeking instruction to corresponding slave antennas of the at least two slave antennas according to a card seeking sequence of the at least two slave antennas, the main antenna may monitor the slave antennas performing the card seeking operation in real time, and if it is monitored by the main antenna that the card seeking operation fails to be performed by the slave antennas, the main antenna needs to continue sending the card seeking instruction to a next slave antenna in the card seeking sequence, instruct the slave antennas to perform the card seeking operation, and so on until it is monitored that the card seeking operation is successfully performed by the slave antennas performing the card seeking operation, stop sending the card seeking instruction to remaining slave antennas of the at least two slave antennas, and instruct the slave antennas successfully seeking the card to perform the card reading operation, thereby completing the card reading task.
S105, if the main antenna monitors that one slave antenna in the at least two slave antennas successfully searches the card, the main antenna stops sending the card searching instruction to the rest slave antennas in the at least two slave antennas, and indicates the slave antenna which successfully searches the card to execute card reading operation, so that a card reading task is completed.
In this embodiment, in the card searching process of the main antenna or in the card searching process (the process of executing the card searching operation) of the main antenna monitoring the at least two slave antennas, once the card searching of the antenna is successful, the card searching of other antennas is not required. In the process of monitoring the card searching of the at least two slave antennas, if the main antenna monitors that the card searching of one of the at least two slave antennas is successful, the main antenna stops sending the card searching command to the remaining slave antennas of the at least two slave antennas, and indicates the slave antennas which are successful in card searching to execute card reading operation, so that a card reading task is completed.
In addition, the terminal 2 may periodically send a card-searching instruction to the main antenna 10, and the main antenna or the main antenna controls whether there is a radio frequency card in a preset distance range from the antenna to which the card-searching operation is currently performed, and continuously and circularly searches the card-searching process to quickly search the radio frequency card as much as possible, thereby saving the card-reading time; the terminal 2 may also determine to send the card searching instruction again to the main antenna 10 according to the received information of the card searching failure fed back by the main antenna 10, where the main antenna or each slave antenna is always in the card searching state, and once a radio frequency card approaches, the antenna can successfully search the card, thereby saving the card reading time.
In the card reading method provided by this embodiment, the main antenna first receives a card searching instruction sent by a terminal, and then executes a card searching operation according to the card searching instruction, if the card searching of the main antenna fails, in order to save card searching time, the main antenna sequentially sends the card searching instruction to corresponding slave antennas of the at least two slave antennas according to a card searching sequence of the at least two slave antennas, so that the slave antennas execute the card searching operation according to the card searching instruction, instead of sending the card searching instruction to all the slave antennas at the same time; after the main antenna sends the card searching instruction to the corresponding slave antenna, the main antenna monitors whether the slave antenna executing the card searching operation successfully searches the card in real time, and if the main antenna monitors that one slave antenna in the at least two slave antennas fails to search the card, the main antenna sends the card searching instruction to the next slave antenna in the card searching sequence to indicate the current slave antenna to execute the card searching operation; if the main antenna monitors that one of the at least two slave antennas successfully searches the card, the main antenna stops sending the card searching instruction to the rest of the at least two slave antennas, and indicates the slave antennas which successfully search the card to execute card reading operation, so that the card reading task is completed. According to the scheme, the card searching operation is executed through the main antenna or the main antenna indicates each slave antenna to execute the card searching operation, the card searching operation can be carried out after the main antenna 10 receives the card searching command sent by the terminal 2, after the card searching of the main antenna 10 fails, the main antenna 10 sends the card searching command to the corresponding slave antenna according to the built-in card searching sequence, so that the slave antenna executes the card searching operation, and after the card searching succeeds, the card reading operation is executed, therefore, in the card searching process, the card reading operation can be carried out as long as one antenna successfully searches the card, the card reading task is completed, each antenna does not need to search the card, the card reading time can be saved, and the user experience is improved.
In a possible design, the present embodiment details the card reading method based on the above-described embodiment, for example, based on the embodiment illustrated in fig. 4. The card reading method further comprises the following steps: if the main antenna monitors that the card searching of the at least two slave antennas fails, the result of the card searching failure is fed back to the terminal, so that the terminal sends a next card searching instruction to the main antenna.
In this embodiment, if it is monitored that the main antenna sends the card searching command to the last slave antenna corresponding to the card searching sequence and also fails to search the card, the main antenna feeds back a result of the card searching failure to the terminal, so that the terminal sends a next card searching command to the main antenna, where in order to save time and improve user experience, the main antenna feeds back the result of the card searching failure to the terminal, so that the terminal sends the next card searching command to the main antenna according to a preset period or so that the terminal sends the next card searching command to the main antenna in real time.
The card searching matching based on each antenna searches the cards in turn instead of synchronously searching the cards at the same time, so that resources can be saved, and meanwhile, once the card searching of the antenna is successful, the card reading operation can be performed, the card reading task is completed, the card searching process of the rest antennas is stopped, the card reading time is saved, and the user experience is improved.
Fig. 5 is a schematic flowchart of a card reading method according to yet another embodiment of the present application, and this embodiment describes in detail, on the basis of the above embodiment, for example, on the basis of the embodiment described in fig. 4, an operation of executing a card search according to the card search instruction in the card reading method. The card searching instruction comprises a resonant frequency of a target antenna of the card to be identified, and the target antenna is an antenna for executing card searching operation; the card searching operation is executed according to the card searching instruction, and comprises the following steps:
s201, obtaining a current radio frequency signal within a preset distance range around a target antenna.
In this embodiment, an antenna for performing a card seeking operation is used as a target antenna, and the target antenna may be a main body antenna or each slave antenna, where resonant frequencies of the main body antenna and each slave antenna are the same, and encoding manners corresponding to the main body antenna and each slave antenna are the same, that is, the resonant frequency of the target antenna is the resonant frequency of each antenna, and the encoding manner corresponding to the target antenna is the encoding manner of each antenna.
Specifically, if the master antenna performs a card seeking operation, the target antenna is the master antenna, and if one of the at least two slave antennas performs a card seeking operation, the target antenna is the slave antenna. After the target antenna is determined, the target antenna may acquire a current radio frequency signal within a preset distance range around the target antenna, specifically, if the target antenna is a main antenna, the main antenna acquires the current radio frequency signal within the preset distance range around the main antenna; if the target antenna is one of the at least two slave antennas, the card searching instruction is sent to one of the at least two slave antennas corresponding to the card searching sequence at the main body antenna, so that the slave antenna acquires the current radio frequency signal within a preset distance range around the slave antenna.
S202, determining the frequency of the current radio frequency signal.
In this embodiment, according to the current radio frequency signal, the frequency of the current radio frequency signal is determined through signal processing such as analog-to-digital conversion, digital signal processing, and digital-to-analog conversion.
S203, judging whether a radio frequency card exists in a preset distance range around the target antenna according to the frequency of the current radio frequency signal and the resonant frequency of the target antenna in the card searching instruction, wherein the resonant frequency of the radio frequency card is the same as the resonant frequency of the target antenna, and the coding mode corresponding to the radio frequency card is the same as the coding mode corresponding to the target antenna. In this embodiment, the frequency of the current radio frequency signal is compared with the resonant frequency of the target antenna in the card searching instruction, if the comparison is consistent, it is determined that a radio frequency card exists within a preset distance range around the target antenna, and if the comparison is inconsistent, it is determined that a radio frequency card does not exist within the preset distance range around the target antenna.
And S204, if the radio frequency card exists in the preset distance range around the target antenna, determining that the card searching is successful.
S205, if the radio frequency card does not exist in the preset distance range around the target antenna, determining that card searching fails.
In this embodiment, if the radio frequency card exists within the preset distance range around the target antenna, it is indicated that the radio frequency card is close to the target antenna, that is, the card searching is successful, and if the radio frequency card does not exist within the preset distance range around the target antenna, it is indicated that the radio frequency card is not close to the target antenna, that is, the card searching is failed.
In practical application, a card (radio frequency card) is passive, an antenna provides a magnetic field, and the card obtains working current through the coupling of coils of the antenna; the resonance frequency of the coil of the card and the antenna is 13.56MHz, and the same coding and decoding mode is adopted, so the antenna and the card can carry out data communication. And the antenna sends a card searching command, the card returns a response, and if no card exists, namely no card response exists, the antenna judges that the card searching fails (or overtime).
In a possible design, the present embodiment details the card reading method based on the above-described embodiment, for example, based on the embodiment illustrated in fig. 5. When the card searching operation is executed according to the card searching instruction, the method further comprises the following steps: and starting timing, and counting the card searching time of the target antenna.
In this embodiment, in the card searching process of the main antenna or in the process of the main antenna indicating any one of the at least two slave antennas to search for a card, in order to save card searching time, the main antenna may monitor any one of the plurality of antennas, and when the card searching operation is performed according to the card searching instruction, start monitoring the antenna performing the card searching operation, where the antenna performing the card searching operation may be the main antenna or any one of the slave antennas, and specifically monitor whether the card searching of the antenna performing the card searching operation is over time, that is, when the card searching operation is performed according to the card searching instruction, start timing and count the card searching time of the target antenna, and the main antenna monitors whether the antenna performing the card searching operation is over time according to the counted card searching time, and if the card searching is over time, stop the card searching operation.
For example, the card searching time is set as a preset card searching time, which may be 5 seconds, and if the main antenna 10 does not search the radio frequency card within the preset card searching time when the card searching operation is performed, it is determined that the card searching has failed, that is, the card searching is over time, and the card searching operation is stopped. And if the slave antenna for executing the card searching operation is indicated by the main antenna to execute the card searching operation, and the radio frequency card is not searched within the preset card searching time, the card searching is regarded as failed, namely the card searching is overtime, and the main antenna controls the slave antenna to stop the card searching operation.
In a possible design, the present embodiment describes the card reading method in detail on the basis of the foregoing embodiment. The method further comprises the following steps: if the main antenna successfully searches the card, the main antenna executes card reading operation to finish the card reading task; before the card searching is successful, the method further comprises the following steps: displaying communication indication information or power supply indication information through a first Light Emitting Diode (LED); after the card finding is successful, the method further comprises the following steps: displaying indication information of successful card searching of the cascading card reader to a user through a second Light Emitting Diode (LED); after the executing of the card reading operation and the completion of the card reading task, the method further comprises the following steps: displaying indication information of successful card reading of the cascading card reader to a user through a second Light Emitting Diode (LED); and/or prompting the user that the card reading of the cascading card reader is successful through a ringing device.
In this embodiment, before the card searching is successful, whether each antenna performs normal communication is determined, and then indication information of communication or indication information of a power supply is displayed through a first light emitting diode LED in the antenna performing the card searching operation. After the card is successfully searched by the main antenna, the main antenna can execute card reading operation to complete the card reading task; after the card searching of the main antenna is successful or if the main antenna monitors that the card searching of one of the at least two slave antennas is successful, indication information of the successful card searching of the cascading card reader can be displayed to a user through a second Light Emitting Diode (LED). Specifically, after the card searching is successful, the indication information of the card searching success of the cascade card reader is displayed to the user through a second light emitting diode LED in an antenna for executing the card searching operation, that is, the lamp of the second light emitting diode LED is turned on to indicate that the card searching of the cascade card reader is successful.
After the main antenna executes card reading operation and finishes the card reading task or the main antenna indicates the slave antenna which successfully searches the card to execute the card reading operation, and after the card reading task is finished, indication information that the cascade card reader successfully reads the card is displayed to a user through the second light emitting diode LED in the antenna which executes the card reading operation, namely the second light emitting diode LED is turned on, and the fact that the cascade card reader 1 successfully reads the card is indicated.
The indication that the card reading of the cascading card reader 1 is successful may also be a ringing device in an antenna for executing the card reading operation to prompt the user that the card reading of the cascading card reader is successful. Specifically, after the card is successfully read, the ringing device is configured to prompt the user that the card is successfully read by the cascading card reader, that is, the ringing device rings, which indicates that the card is successfully read by the cascading card reader 1. The ringing device may also prompt the user that the card reading chip successfully searches the card after the antenna successfully searches the card, that is, the ringing device rings, indicating that the card searching of the cascade-type card reader 1 is successful.
In practical application, the user can be prompted to successfully search the card and/or to successfully read the card through the ringing device, and when the user is prompted to successfully search the card and to successfully read the card through the ringing device, in order to distinguish whether the card is successfully searched or the card is successfully read, the ringing time can be controlled through a timer. For example, one timer is timed to be a first preset time for timing the ring time of successful card search, and the other timer is timed to be a second preset time for timing the ring time of successful card reading, the antenna which successfully searches the card can control the ring time of the ring device by controlling the on of the timer of the first preset time, and can also control the ring time of the ring device by controlling the on of the timer of the second preset time, for example, the ring time of successful card search is 1 second, and the ring time of successful card reading is 3 seconds.
Fig. 6 is a schematic structural diagram of a card reading system provided in the embodiment of the present application, and the embodiment describes the card reading system in detail on the basis of the above embodiments. The card reading system includes: a cascading reader 1 and a terminal 2 as described in any of the above embodiments.
The cascade card reader 1 and the terminal 2 described in any embodiment of the foregoing embodiments are in communication, and the specific implementation of the cascade card reader 1 and the terminal 2 is the same as that in the foregoing embodiments, and is not described again here.
In practical application, fig. 7 is a schematic structural diagram of a card reading system according to another embodiment of the present application, and according to the scheme, the card reading time of the card reader can be saved through the steps, and the card searching and reading processes are intelligent and more humanized, so that the user experience is improved.
An embodiment of the present application further provides a computer-readable storage medium, where a computer executing instruction is stored in the computer-readable storage medium, and when a processor executes the computer executing instruction, the card reading method as described above is implemented.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of modules may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be through some interfaces, indirect coupling or communication connection between devices or modules, and may be in an electrical, mechanical or other form. In addition, functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may exist alone physically, or two or more modules are integrated into one unit. The unit formed by the modules can be realized in a hardware form, and can also be realized in a form of hardware and a software functional unit.
The integrated module implemented in the form of a software functional module may be stored in a computer-readable storage medium. The software functional module is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present application. It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of hardware and software modules.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, etc. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus. The storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the storage medium may reside as discrete components in an electronic device or host device.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and these modifications or substitutions do not depart from the scope of the technical solutions of the embodiments of the present application.
Claims (10)
1. A cascading card reader, comprising: a plurality of antennas;
the plurality of antennas comprise a main antenna and at least two slave antennas, each of the at least two slave antennas is respectively connected with the main antenna, the main antenna is communicated with a terminal, the main antenna is used for receiving a card searching command sent by the terminal, executing card searching operation, and after card searching fails, sending the card searching command to the corresponding slave antenna in the at least two slave antennas according to the card searching sequence of the at least two built-in slave antennas;
each slave antenna is used for receiving the card searching instruction sent by the main antenna and executing card searching operation after the card searching of the main antenna fails;
each antenna in the plurality of antennas is further used for executing card reading operation after the corresponding antenna successfully searches for the card;
after any antenna is successfully searched for the card, the remaining antennas do not need to search for the card;
each antenna in the plurality of antennas comprises a micro control unit, a communication unit, a card reading chip and a monitoring unit;
the monitoring unit is connected with the micro control unit and is used for monitoring whether the card searching of the card reading chip is overtime or not and feeding back a monitoring result of whether the card searching of the card reading chip is overtime or not to the micro control unit so that the micro control unit controls the card reading chip to stop the card searching operation.
2. The cascaded card reader of claim 1,
the micro control unit in the main antenna is used for receiving the card searching instruction sent by the terminal through the communication unit in the main antenna so as to indicate the card reading chip in the main antenna to execute the card searching operation, and the micro control unit in each slave antenna is used for indicating the corresponding card reading chip in the slave antenna to execute the card searching operation when receiving the card searching instruction sent by the main antenna;
the card reading chip is also used for executing card reading operation after the card searching is successful;
wherein the communication unit in each slave antenna is connected with the communication unit in the main body antenna.
3. The cascading card reader of claim 2, wherein each of the antennas further comprises a Light Emitting Diode (LED) and a ringing device;
the light emitting diode LED comprises a first light emitting diode LED and a second light emitting diode LED, aiming at the same antenna, the first light emitting diode LED in the antenna is connected with the micro control unit, and the first light emitting diode LED is used for displaying the indication information of communication or the indication information of a power supply;
aiming at the same antenna, the second light emitting diode LED in the antenna is connected with the micro control unit, and the second light emitting diode LED is used for displaying the indication information of successful card searching of the card reading chip or displaying the indication information of successful card reading of the card reading chip to a user;
aiming at the same antenna, the ringing device in the antenna is connected with the micro control unit and used for prompting a user that the card reading of the card reading chip is successful.
4. A card reading method, characterized by being applied to the cascade type card reader according to any one of claims 1-3; the method comprises the following steps:
the main antenna receives a card searching instruction sent by a terminal;
the main antenna executes card searching operation according to the card searching instruction;
if the card searching of the main antenna fails, the main antenna sequentially sends the card searching instruction to corresponding slave antennas in the at least two slave antennas according to the card searching sequence of the at least two slave antennas, so that the slave antennas execute the card searching operation according to the card searching instruction;
if the main antenna monitors that one of the at least two slave antennas fails to search for the card, the main antenna sends the card searching instruction to the next slave antenna in the card searching sequence to indicate the slave antenna to execute card searching operation;
if the main antenna monitors that one of the at least two slave antennas successfully searches the card, the main antenna stops sending the card searching instruction to the rest of the at least two slave antennas and indicates the slave antennas which successfully search the card to execute card reading operation, and a card reading task is completed;
and the main antenna monitors whether the card searching of the antenna for executing the card searching operation is overtime, and stops the card searching operation if the card searching is overtime.
5. The method of claim 4, further comprising:
if the main antenna monitors that the card searching of the at least two slave antennas fails, the result of the card searching failure is fed back to the terminal, so that the terminal sends a next card searching instruction to the main antenna.
6. The method of claim 4, wherein the card-seeking instruction comprises a resonant frequency of a target antenna, the target antenna being an antenna for performing a card-seeking operation;
the card searching operation is executed according to the card searching instruction, and comprises the following steps:
acquiring a current radio frequency signal within a preset distance range around a target antenna;
determining a frequency of the current radio frequency signal;
judging whether a radio frequency card exists in a preset distance range around the target antenna according to the frequency of the current radio frequency signal and the resonant frequency of the target antenna in the card searching instruction, wherein the resonant frequency of the radio frequency card is the same as the resonant frequency of the target antenna, and the coding mode corresponding to the radio frequency card is the same as the coding mode corresponding to the target antenna;
if the radio frequency card exists in the preset distance range around the target antenna, determining that the card searching is successful;
and if the radio frequency card does not exist in the preset distance range around the target antenna, determining that the card searching fails.
7. The method according to claim 6, wherein when the card searching operation is executed according to the card searching instruction, the method further comprises:
and starting timing, and counting the card searching time of the target antenna.
8. The method according to any one of claims 4-7, further comprising:
if the card searching of the main antenna is successful, the main antenna executes card reading operation to complete the card reading task;
before the card searching is successful, the method further comprises the following steps:
displaying communication indication information or power supply indication information through a first Light Emitting Diode (LED);
after the card finding is successful, the method further comprises the following steps: displaying indication information of successful card searching of the cascading card reader to a user through a second Light Emitting Diode (LED);
after the executing of the card reading operation and the completion of the card reading task, the method further comprises the following steps:
displaying indication information of successful card reading of the cascading card reader to a user through the second Light Emitting Diode (LED); and/or the presence of a gas in the gas,
and the user is prompted to successfully read the card by the cascading card reader through the ringing device.
9. A card reading system comprising a cascaded card reader according to any one of claims 1-3 and a terminal.
10. A computer-readable storage medium having computer-executable instructions stored thereon, which when executed by a processor, implement the card reading method of any one of claims 4 to 8.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910500641.6A CN110245533B (en) | 2019-06-11 | 2019-06-11 | Cascade type card reader, card reading method, system and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910500641.6A CN110245533B (en) | 2019-06-11 | 2019-06-11 | Cascade type card reader, card reading method, system and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110245533A CN110245533A (en) | 2019-09-17 |
| CN110245533B true CN110245533B (en) | 2022-08-23 |
Family
ID=67886536
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910500641.6A Active CN110245533B (en) | 2019-06-11 | 2019-06-11 | Cascade type card reader, card reading method, system and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN110245533B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111953388B (en) * | 2020-10-19 | 2021-02-09 | 深圳市力博得科技有限公司 | Control method, system, device and medium for preventing near field transmission misidentification |
| CN114325309B (en) * | 2021-12-14 | 2025-01-10 | 上海华虹计通智能系统股份有限公司 | Card swiping response time detection method and device |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN201054145Y (en) * | 2007-04-27 | 2008-04-30 | 交通部科学研究院 | Non contact card reader |
| CN201449614U (en) * | 2009-05-08 | 2010-05-05 | 江苏鸿信系统集成有限公司 | Multimode card reader |
| CN101877070A (en) * | 2009-12-24 | 2010-11-03 | 北京握奇智能科技有限公司 | Non-contact IC card reader-writer and card searching method thereof |
| CN201654801U (en) * | 2010-04-28 | 2010-11-24 | 深圳市华士精成科技有限公司 | 2.4G/13.56M double-frequency RFID card reader |
| CN102236802A (en) * | 2010-04-20 | 2011-11-09 | 深圳市安捷信联科技有限公司 | Multifunctional smart card reader-writer |
| CN103310170A (en) * | 2012-03-16 | 2013-09-18 | 上海复旦微电子集团股份有限公司 | RFID (Radio Frequency Identification Device) card reader for identifying card entrance by non-responding manner and identification method |
| CN204808368U (en) * | 2015-07-07 | 2015-11-25 | 公安海警学院 | Entry and exit crewman intelligence verification system |
| CN106446748A (en) * | 2016-11-15 | 2017-02-22 | 紫光智云(江苏)物联网科技有限公司 | Passive electronic tag reading and writing system |
| CN107886019A (en) * | 2016-09-30 | 2018-04-06 | 西门子公司 | Cascade device and antenna cascade system |
| CN109359491A (en) * | 2018-09-04 | 2019-02-19 | 北京万物纵横科技有限公司 | A kind of expansible RFID system of CAN bus based multizone |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101305381A (en) * | 2004-07-15 | 2008-11-12 | 万事达卡国际股份有限公司 | Payment card signal characterization methods and circuits |
| US20060050929A1 (en) * | 2004-09-09 | 2006-03-09 | Rast Rodger H | Visual vector display generation of very fast moving elements |
-
2019
- 2019-06-11 CN CN201910500641.6A patent/CN110245533B/en active Active
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN201054145Y (en) * | 2007-04-27 | 2008-04-30 | 交通部科学研究院 | Non contact card reader |
| CN201449614U (en) * | 2009-05-08 | 2010-05-05 | 江苏鸿信系统集成有限公司 | Multimode card reader |
| CN101877070A (en) * | 2009-12-24 | 2010-11-03 | 北京握奇智能科技有限公司 | Non-contact IC card reader-writer and card searching method thereof |
| CN102236802A (en) * | 2010-04-20 | 2011-11-09 | 深圳市安捷信联科技有限公司 | Multifunctional smart card reader-writer |
| CN201654801U (en) * | 2010-04-28 | 2010-11-24 | 深圳市华士精成科技有限公司 | 2.4G/13.56M double-frequency RFID card reader |
| CN103310170A (en) * | 2012-03-16 | 2013-09-18 | 上海复旦微电子集团股份有限公司 | RFID (Radio Frequency Identification Device) card reader for identifying card entrance by non-responding manner and identification method |
| CN204808368U (en) * | 2015-07-07 | 2015-11-25 | 公安海警学院 | Entry and exit crewman intelligence verification system |
| CN107886019A (en) * | 2016-09-30 | 2018-04-06 | 西门子公司 | Cascade device and antenna cascade system |
| CN106446748A (en) * | 2016-11-15 | 2017-02-22 | 紫光智云(江苏)物联网科技有限公司 | Passive electronic tag reading and writing system |
| CN109359491A (en) * | 2018-09-04 | 2019-02-19 | 北京万物纵横科技有限公司 | A kind of expansible RFID system of CAN bus based multizone |
Non-Patent Citations (1)
| Title |
|---|
| "基于MSP430的双界面读卡器设计";杨玲玲;《https://www.fx361.com/page/2014/0820/1161238.shtml》;20140820;正文第2页第11-25行 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110245533A (en) | 2019-09-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5758120B2 (en) | Method for processing application commands from physical channels using portable electronic devices and corresponding devices and systems | |
| US7614566B2 (en) | Smart cards and smart card systems supporting multiple interfaces | |
| CN101174308B (en) | Response control mehtod for RFID tag, device for rfid tag, and rfid reading and control device | |
| CN112069848A (en) | Card selection method, chip, terminal and storage medium for NFC card simulation mode | |
| EP2660759A2 (en) | Dynamic scan context determination for asset reconciliation | |
| CN110245533B (en) | Cascade type card reader, card reading method, system and storage medium | |
| CN101772215A (en) | Mobile terminal capable of supporting near field communication and near field communication method thereof | |
| US8174365B2 (en) | IC tag, method of controlling the IC tag, and IC tag system | |
| CN113361293A (en) | Card swiping method, card controller, electronic device and storage medium | |
| CN103729205A (en) | Electronic tag and method for upgrading electronic tag | |
| CN112926710A (en) | NFC analog card switching method, mobile terminal and computer readable storage medium | |
| CN110458257A (en) | Label checking method and device based on RFID system | |
| US9419682B2 (en) | Apparatus and method for providing near field communication for mobile device | |
| US20140201078A1 (en) | Payment system, payment terminal, payment method, payment program, and computer-readable recording medium for recording same program | |
| CN210295102U (en) | Cascade type card reader and card reading system | |
| CN110414288A (en) | Read-and-write device, system and reading/writing method | |
| EP2717193B1 (en) | IC card, portable electronic device, and reader/ writer | |
| CN202904677U (en) | A garage management device based on radio frequency identification technology | |
| US10672007B2 (en) | Payment system, payment terminal, payment method, payment program, and computer-readable recording medium for recording same program | |
| WO2017064097A1 (en) | Multiple finger fingerprint authentication device | |
| KR20160004251A (en) | Mobile device supporting a plurality of NFC transaction means, and the operating method therefor | |
| CN116454592A (en) | Automatic control antenna switching device, method and equipment combined with positioning information | |
| CN115693850A (en) | Robot charging management system and management method | |
| JP2006350636A (en) | Ic tag, reader/writer, and communication method and communication system using them | |
| KR101485157B1 (en) | Radio Frequency identification tag comprising an input unit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information |
Address after: 101300 room 015, building 8, No. 1, Linkong Second Road, Shunyi Park, Zhongguancun Science and Technology Park, Shunyi District, Beijing Applicant after: BEIJING JULI TECHNOLOGY Co.,Ltd. Address before: 102206, B, 504, Xinyuan Science Park, 97 Changping Road, Beijing, Changping District Applicant before: BEIJING JULI SCIENCE & TECHNOLOGY Co.,Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant |