WO2015035815A1 - Method and system for multiplexing radio-frequency front-end - Google Patents

Method and system for multiplexing radio-frequency front-end Download PDF

Info

Publication number
WO2015035815A1
WO2015035815A1 PCT/CN2014/080544 CN2014080544W WO2015035815A1 WO 2015035815 A1 WO2015035815 A1 WO 2015035815A1 CN 2014080544 W CN2014080544 W CN 2014080544W WO 2015035815 A1 WO2015035815 A1 WO 2015035815A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
instruction
radio frequency
data
response
Prior art date
Application number
PCT/CN2014/080544
Other languages
French (fr)
Chinese (zh)
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 WO2015035815A1 publication Critical patent/WO2015035815A1/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
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods 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/10297Methods 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 arrangements for handling protocols designed for non-contact record carriers such as RFIDs NFCs, e.g. ISO/IEC 14443 and 18092

Definitions

  • the present invention relates to the field of mobile terminals, and in particular, to a radio frequency (RF) front-end multiplexing method and system.
  • a mobile terminal often has multiple security modules (SECURITY ENTITY, SE).
  • SE security modules
  • FIG. the mobile terminal has two SEs.
  • SE A and SE B can only have one job.
  • SE B contains valid information. The user is not sure which SE is currently active. At this time, it is necessary to trade according to the flow of Figure 2.
  • a main object of the embodiments of the present invention is to provide a radio frequency front-end multiplexing method, which solves the problem that a user needs to select a working SE on a mobile terminal before the transaction in the prior art, and the communication may not be guaranteed after the setting. Troublesome technical problems.
  • an embodiment of the present invention provides a system for multiplexing a radio frequency front end, including a card reader and a mobile terminal, where the mobile terminal includes a radio frequency unit, a multiplexing unit, and a non-contact protocol unit, where the multiplexing unit, And configured to distribute the instruction received from the radio frequency unit to each non-contact protocol unit, and determine the response data sent by each non-contact protocol unit, and output the collision data when the bits of the plurality of response data participating in the decision are different.
  • the radio frequency unit is configured to receive and modulate the collision data, send the modulated data to the card reader with the radio frequency modulation signal, and receive the instruction sent by the card reader; a plurality of non-contact protocol units, setting Receiving and interpreting the card reader command distributed by the multiplexing unit, and transmitting the response data to the multiplexing unit according to the parsing result; the card reader is configured to regenerate the inclusion when receiving the unrecognized radio frequency modulation signal
  • the contactless protocol unit connects the reader's card reading instruction to the multiplexing unit .
  • the multiplexing unit is further configured to: directly output the original data to the radio frequency unit when there is only one branch for data interaction with the radio frequency front end.
  • the radio frequency unit is configured to: when the input data is original data, generate corresponding radio frequency signals according to the IS014443 protocol modulation; When the input data is collision data, a radio frequency modulation signal that cannot be recognized by the card reader is generated.
  • the card reader comprises: an anti-collision instruction generating unit configured to generate an anti-collision command and send to the multiplexing unit; the non-contact protocol unit is configured to: parse the received anti-collision command, where The anti-collision instruction sends a response instruction when the information is directed to the unit; the response instruction includes user identification information.
  • the anti-collision instruction generating unit is further configured to: detect the received response instruction, and generate an anti-collision instruction corresponding to the plurality of non-contact protocol units according to the user identity certification information information in the response instruction.
  • the card reader further comprises: a selection instruction generating unit configured to generate a selection instruction directed to a non-contact protocol unit; the non-contact protocol unit is configured to: detect the received selection instruction, select When the instruction is an instruction directed to the unit, the response instruction is sent. When the instruction is an instruction that is not directed to the unit, the selection instruction is discarded.
  • the card reader further comprises: a request selection response instruction generating unit configured to generate a request selection response instruction directed to a non-contact protocol unit; the non-contact protocol unit is configured to: select a response to the received request The instruction detects that the instruction is processed and returns a response message when the request selection response instruction is an instruction directed to the unit, and the request selection response instruction is ignored when the request selection response instruction is an instruction that does not point to the unit.
  • the non-contact protocol unit is further configured to: perform frame synchronization and slot synchronization processing on the received data, and send the response data on the processed time slot.
  • the embodiment of the present invention further provides a method for multiplexing a radio frequency front end, including: the multiplexing unit distributing an instruction received from the radio frequency unit to each non-contact protocol unit;
  • the contactless protocol unit receives the distributed card reader command and parses the command, and sends the response data according to the parsing result;
  • the multiplexing unit determines the response data sent by each non-contact protocol unit, and participates in the plurality of response data of the decision.
  • the collision data is output to the radio frequency unit; the radio frequency unit receives and modulates the collision data, and transmits the modulated data to the card reader by using the radio frequency modulation signal; the card reader receives the unrecognized radio frequency When the signal is modulated, a card reading command containing the contact identifier of the contactless protocol unit is regenerated and output.
  • the method further includes: directly outputting data to the radio frequency unit when there is only one branch for data interaction with the radio frequency front end.
  • the step of receiving and modulating the collision data comprises: when the input data is original data, modulating according to the IS014443 protocol to generate a corresponding radio frequency signal; when the input data is collision data, the card cannot be read.
  • the step of regenerating the card reading instruction including the contact protocol unit connection identifier and outputting comprises: generating an anti-collision instruction and transmitting the anti-collision instruction to the multiplexing unit;
  • the non-contact protocol unit is configured to receive the distributed card reader command and parse the command, and the step of transmitting the response data according to the parsing result comprises: parsing the received anti-collision instruction, where the instruction is directed to the unit
  • the response instruction is sent when the information is; the response instruction includes the user identification information.
  • the generating the anti-collision instruction comprises: detecting the received response instruction, and generating an anti-collision instruction corresponding to the plurality of non-contact protocol units according to the user identity verification information in the response instruction.
  • the step of regenerating the card reading instruction including the contact protocol unit connection identifier and outputting comprises: generating a selection instruction directed to a non-contact protocol unit ;
  • the non-contact protocol unit receives the distributed card reader command and parses the command, and sending the response data according to the parsing result includes: detecting the received selection instruction, and sending the response instruction when the selecting instruction is an instruction directed to the unit When the instruction is an instruction that is not directed to the unit, the selection instruction is discarded.
  • regenerating the card reading instruction including the contactless protocol unit connection identifier and outputting comprises: generating a request selection response instruction directed to a non-contact protocol unit
  • the non-contact protocol unit receives the distributed card reader command and parses the command, and sends the response data according to the parsing result, including: detecting the received request selection response command, and requesting the selection response command to point to the unit
  • the instruction processes the instruction and returns a response message, and ignores the request selection response instruction when the request selection response instruction is an instruction that does not point to the unit.
  • the contactless protocol unit receives the distributed card reader command and parses the command, and sending the response data according to the parsing result further comprises: performing frame synchronization and time slot synchronization processing on the received data, and processing The response data is sent on the subsequent time slot.
  • the contactless protocol unit by providing a multiplexing unit between the non-contact protocol unit and the radio frequency unit and improving the non-contact protocol unit and the radio frequency unit, multiple non-contact protocol units are multiplexed into the same radio unit, and multiple non-contact units are realized.
  • the protocol unit works independently at the same time and can be activated at the same time.
  • the card reader can perform data transmission by means of rotation and each non-contact protocol unit.
  • FIG. 1 is a schematic structural diagram of a radio frequency security module in a conventional mobile terminal
  • FIG. 2 is a schematic flowchart of radio data interaction between an existing mobile terminal and a card reader
  • FIG. 3 is a schematic diagram of multiplexing according to an embodiment of the present invention
  • 4 is a schematic diagram of a symbol of a radio frequency signal waveform when two bits of the non-contact protocol unit are the same;
  • FIG. 1 is a schematic structural diagram of a radio frequency security module in a conventional mobile terminal
  • FIG. 2 is a schematic flowchart of radio data interaction between an existing mobile terminal and a card reader
  • FIG. 3 is a schematic diagram of multiplexing according to an embodiment of the present invention
  • 4 is a schematic diagram of a symbol of a radio frequency signal waveform when two bits of the non-contact protocol unit are the same
  • FIG. 5 is a schematic diagram of a waveform of a radio frequency signal waveform when the bits of the two non-contact protocol units are different;
  • FIG. 6 is a schematic diagram of the waveform of the radio frequency signal of the two non-contact protocol units; In the embodiment, two non-contact protocol units simultaneously respond to a waveform of a radio frequency signal generated by an Answer To Request A (ATQA) instruction;
  • FIG. 7 is a schematic structural diagram of a card reader according to an embodiment of the present invention; 8 is a waveform diagram of a radio frequency signal generated by two non-contact protocol units simultaneously responding to an anti-collision command; and
  • FIG. 9 is a flow chart of a method for multiplexing a radio frequency front end according to an embodiment of the present invention.
  • the core idea of the present invention is to provide a multiplexing unit between the contactless protocol unit and the radio frequency unit, receive the card reading instruction sent by the card reader through the multiplexing unit, and distribute it to each non-contact protocol unit to respond to each non-contact protocol unit. The data is judged. When the bits of the plurality of data participating in the decision are different, the collision data is output and output to the radio frequency unit, and outputted to the card reader by the radio frequency unit.
  • a system for multiplexing a radio frequency front end includes a card reader 1 and a mobile terminal 2, wherein the mobile terminal 2 has a radio frequency unit 31, a multiplexing unit 32, and a non-contact protocol unit 33.
  • the multiplexing unit 31 is configured to receive the card reading command sent by the card reader and distribute it to each non-contact protocol unit, and determine the response data sent by each non-contact protocol unit, and participate in multiple response data of the decision.
  • the collision data is output to the radio frequency unit;
  • the radio frequency unit 32 is configured to receive and modulate the collision data, and send the modulated data to the card reader with the radio frequency modulation signal;
  • a plurality of non-contact protocol units 33 And configured to receive the card reader command distributed by the multiplexing unit and parse the instruction, and send the response data to the multiplexing unit according to the parsing result;
  • the card reader 1 is configured to regenerate a card reading command including a contactless protocol unit connection identifier and transmit it to the multiplexing unit upon receiving an unrecognized radio frequency modulation signal.
  • the radio frequency unit 31 is responsible for receiving the RF carrier signal and demodulating and obtaining the data; modulating the data to the subcarrier, then modulating the subcarrier to the radio frequency carrier, and transmitting the signal. If the input data is '0' or ', the corresponding RF signal is generated according to IS014443 modulation. If the input data is the collision data 'Z', a radio frequency modulation signal that cannot be recognized by the card reader is generated.
  • Figure 4 shows the corresponding RF signals with bits '0' and '.
  • Figure 5 shows the RF waveform generated after modulation when the bits are different. It is characterized in that subcarriers cannot be detected on the radio frequency signal or subcarriers are not modulated.
  • the superimposed RF signal is labeled ' ⁇ ', and the card reader 1 detects that the symbol is different from the other transmitted data (0 and 1), thereby determining that there are multiple cards in the RF field.
  • the multiplexing unit 32 decodes the data received from the radio frequency unit 31 and distributes it to the respective non-contact protocol units 33; and judges the data transmitted from each non-contact protocol unit 33.
  • the rules of the decision are as follows:
  • the non-contact protocol unit 33 When the non-contact protocol unit 33 outputs data, the decision is made. If the data is not output, the decision is not participated; 2. If the bits of the data participating in the decision are the same, the original data is output;
  • the multiplexing unit 32 is a functional unit that can be implemented by software and/or hardware.
  • the contactless protocol unit 33 can parse the card reader command to determine whether the command is sent to itself.
  • Each non-contact protocol unit 33 has an independent user ID) (User Identification, UID identifier, UID from a non-contact protocol unit 33 fixed identifier, or from a random number, or from an external interface, each contactless protocol The UID of the unit is different.
  • the contactless protocol unit 33 supports the IS014443-3 protocol, performs frame synchronization and time slot synchronization on the received data, is responsible for protocol processing, receives commands, and sends response commands or data.
  • the contactless protocol unit 33 is connected through an interface and an application.
  • the data exchange is performed by SE, etc.
  • the contactless protocol unit 33 is a functional unit and can be implemented by software and/or hardware to implement an independent function.
  • the plurality of contactless protocol units 33 may be on the same physical unit or not.
  • the plurality of non-contact protocol units 33 operate independently; the multiplexing unit 32 distributes the demodulated data of the radio unit 31 to the non-contact protocol unit 33; if each non-contact protocol unit 33 outputs Data If the bits are different, the collision data is output to the radio frequency unit 31. After the collision data is modulated, the symbols carried by the radio frequency carrier cannot be detected by the card reader.
  • the card reader 1 If the card reader 1 prompts the user that there is no support for multiple cards in the radio field, the user can set the working contactless protocol unit 33. Selecting a contactless protocol unit 33 to work, other protocol units stop working; or the card reader initiates only one SE job according to a preset rule. According to the ISO 14443 protocol, the reader can resend the data based on the detected radio frequency signal 'Z', which avoids the superimposed bits. After many such processes, until a card is completely selected and assigned Connection Identifier (CID) information, subsequent instructions can be sent only to the corresponding card. The card reader then initiates a card initialization process for the unselected card. After repeated operations, multiple cards in the same RF field can be selected.
  • CID Connection Identifier
  • the card reader 1 can send data to the designated card, the corresponding card receives the data, and the other cards do not send the data, so there is no data collision in this process, so the card reader can receive normally.
  • the specific communication with the card is completely determined by the card reader 1, and the user does not need to participate.
  • the card reader 1 can completely read some basic information for each card, and then judge which SEs to communicate with based on the basic information.
  • the non-contact protocol unit 33 may be further configured to: perform frame synchronization and slot synchronization processing on the received data, and send the response data on the processed time slot.
  • each non-contact protocol unit 33 can be coordinated by an external controller to work in cooperation, such as stopping work or starting work. If each non-contact protocol unit 33 operates under the control of a common controller, the non-contact protocol unit 33 is after the RF unit of the ISO-14443 Type B type receives the request (Request B, REQB) of the contact protocol unit B. The response data is transmitted on the coordinated time slot to reduce the collision probability. It is assumed that the mobile terminal 2 has two contactless protocol units 33, the contactless protocol unit operates in the Type A mode, the contactless protocol unit 33A and the SE A are connected, and the contactless protocol unit 33B and the SE B are connected.
  • Example 1 describes a flow in which the card reader 1 simultaneously connects two non-contact protocol units 33 with the SE without a user interaction in the system for multiplexing the radio frequency front end of the present invention.
  • S102 The multiplexing unit 32 distributes the REQA to the contactless protocol unit 33A.
  • S103 The multiplexing unit 32 distributes the REQA to the contactless protocol unit 33B.
  • the multiplexing unit determines the signal and performs the judgment bit by bit. Where bit 6 is different, the collision indication bit 'Z' is generated.
  • the radio unit 31 modulates the data output from the multiplexing unit 32 to the radio frequency subcarrier, and the subcarrier is modulated onto the radio frequency carrier.
  • the 'Z' in Fig. 6 is the waveform of the collision RF signal in this embodiment, which cannot be correctly received. Other symbols can be received correctly.
  • the card reader detected an error in bit6 and considered that the bit collided. It is considered that there are more than two non-contact protocol units 33 in the radio frequency field. Referring to FIG.
  • the card reader 1 includes: an anti-collision instruction generating unit 110, configured to generate an anti-collision ANTICOLLISION command and send it to the multiplexing when the card reader 1 receives the unrecognized radio frequency modulation signal.
  • Unit 32 The contactless protocol unit 33 may parse the received anti-collision ANTICOLLISION instruction, and send a response instruction when the ANTICOLLISION instruction is information directed to the unit; the response instruction includes user identification certificate UID information.
  • the multiplexing unit 32 distributes the ANTICOLLISION to the contactless protocol unit 33A.
  • the multiplexing unit 32 distributes the ANTICOLLISION to the contactless protocol unit 33B.
  • the multiplexing unit 32 performs bit-by-bit bit determination on the input two data, wherein bit3, bit4, and bit7 are different, and a collision indication bit 'Z' is generated.
  • the radio frequency unit 31 modulates the data output by the multiplexing unit 32 to the radio frequency subcarrier, and the subcarrier is modulated onto the radio frequency carrier, wherein the radio frequency signal corresponding to the Z cannot be correctly detected by the PCD (Proximity Coupling Device).
  • 'Z' is the RF signal waveform of the collision and cannot be received correctly.
  • the card reader 1 correctly detects bit 0-2, and bit 3 cannot be detected correctly.
  • the anti-collision instruction generating unit 1 io is further configured to: detect the received response instruction, and generate an ANTICOLLISION instruction corresponding to the plurality of non-contact protocol units 33 according to the UID information in the response instruction.
  • the processing flow of the system is as follows: Example 3
  • the multiplexing unit 32 distributes the ANTICOLLISION to the contactless protocol unit 33A.
  • S303 The multiplexing unit 32 distributes the ANTICOLLISION to the contactless protocol unit 33B.
  • contactless protocol unit 33 A sends response data.
  • the contactless protocol unit 33B checks that the parameter (xxxO)B is not equal to the first 4 bits (xxxl) B of the UID information, and detects that the command is not sent to itself. Therefore the instruction is discarded and no response is made.
  • the multiplexing unit 32 receives the data sent by the contactless protocol unit 33A, and detects that there is currently only one branch data, and the decider directly outputs the data to the radio frequency unit for modulation and transmission, and all the signals can be correctly decoded by the card reader 1.
  • the card reader 1 further includes: a selection command generating unit 111 configured to generate a selection instruction directed to a non-contact protocol unit 33 upon receiving the unrecognized radio frequency modulation signal.
  • the contactless protocol unit 33 is configured to: detect the received selection SELECT instruction, and send a response instruction SAK when the selection instruction is an instruction directed to the unit, and when the selection instruction is an instruction not directed to the unit, the selection instruction is Discard processing.
  • Example 4 The processing flow of the system is as follows: Example 4
  • S401 The card reader 1 sends a SELECT command to the contactless protocol unit 33A;
  • S402 the multiplexing unit 32 distributes the received command to the contactless protocol unit 33A;
  • S403 The multiplexing unit 32 distributes the received instruction to the contactless protocol unit 33B;
  • S404 The contactless protocol unit 33A detects that it is its own instruction, processes the instruction, and transmits the response instruction SAK.
  • Unit B detects that it is not sending its own instructions and discards it.
  • the multiplexing unit 32 receives the data sent by the contactless protocol unit 33A, detects that there is currently only one branch data, and the decider directly outputs the data to the radio frequency unit 31 for modulation and transmission, and all the signals can be correctly decoded.
  • the card reader 1 further includes: a request selection response (RATS) command generating unit 112, configured to generate a RATS command directed to a non-contact protocol unit 33 when receiving an unrecognized radio frequency modulated signal .
  • RATS request selection response
  • the non-contact protocol unit 33 is configured to: detect the received RATS instruction, process the instruction and return the response information when the RATS instruction is an instruction directed to the unit, when the RATS instruction is an instruction not directed to the unit Ignore the RATS instruction.
  • the processing flow of the system is as follows: Example 5
  • the card reader 1 sends a RATS command to the contactless protocol unit 33A, and assigns identification information CID1 thereto;
  • S502 The multiplexing unit 32 distributes the received instruction to the contactless protocol unit 33A;
  • S503 the multiplexing unit 32 distributes the received instruction to the contactless protocol unit 33B;
  • the contactless protocol unit 33A detects that the instruction is sent to itself, processes the instruction, and returns the response information.
  • the contactless protocol unit 33B processes the instruction, finds that it is not an instruction for itself, ignores the instruction, and does not respond.
  • the multiplexing unit 32 receives the data sent by the contactless protocol unit 33A, detects that there is currently only one branch data, and the decider directly outputs the data to the radio frequency unit 31 for modulation and transmission, and all the signals can be correctly decoded. At this time, the non-contact protocol unit 33 A is activated, and data transmission is possible.
  • the above embodiment describes the data interaction process of the contactless protocol unit 33A.
  • the process flow of the present invention refers to the following examples 6 to 8.
  • S602 The multiplexing unit 32 distributes the ANTICOLLISION to the contactless protocol unit 33A.
  • the multiplexing unit 32 distributes the ANTICOLLISION to the contactless protocol unit 33B.
  • the contactless protocol unit 33A is in an active state, ignoring the command; the contactless protocol unit 33B checks that the parameter carried by the ANTICOLLISION command is (xxxO) B, which is equal to the first 4 bits (xxxO) of the UID information, and the command is detected to be Send to yourself, respond to the command.
  • the multiplexing unit 32 receives the data sent by the contactless protocol unit 33B, detects that there is currently only one branch data, and the decider directly outputs the data to the radio frequency unit 31 for modulation and transmission, and all the signals can be correctly decoded.
  • the multiplexing unit 32 distributes the received instruction to the contactless protocol unit 33A;
  • the multiplexing unit 32 distributes the received instruction to the contactless protocol unit 33B;
  • S704 The contactless protocol unit 33B detects that it is its own instruction, processes the instruction, and sends a response instruction SAK.
  • the contactless protocol unit 33A detects that it is not sending its own signal and discards it.
  • S705 The multiplexing unit 32 receives the data sent by the contactless protocol unit 33B, detects that there is currently only one branch data, and the decider directly outputs the data to the radio frequency unit 31 for modulation and transmission, and all the signals can be correctly decoded.
  • S801 The card reader 1 sends a RATS command to the contactless protocol unit 33A, which is assigned identification information CID2;
  • S802 The multiplexing unit 32 distributes the received command to the contactless protocol unit 33A;
  • the multiplexing unit 32 distributes the received instruction to the contactless protocol unit 33B;
  • S804 The contactless protocol unit 33A processes the instruction, finds that the instruction is not given to itself, ignores the instruction, and does not respond.
  • the contactless protocol unit 33B detects that the instruction is issued to itself, processes the instruction, and returns response information.
  • S805 The multiplexing unit 32 receives the data sent by the contactless protocol unit 33B, detects that there is currently only one branch data, and the decider directly outputs the data to the radio frequency unit 31 for modulation and transmission, and all the signals can be correctly decoded. At this time, the non-contact protocol unit 33B is activated, and data transmission is possible.
  • the card reader 1 can transmit data to any of the non-contact contact protocol units, and the card reader 1 transmits the two protocol units to the contactless protocol unit A and the contactless protocol unit B.
  • the instruction contains a parameter CID indicating that the instruction is sent to the contactless protocol unit 33, and only one non-contact protocol unit 33 sends the response command, so that it can be correctly received by the card reader 1.
  • the contactless protocol unit 33 then transmits the data to the corresponding SE, thus enabling communication between the card reader 1 and the SE. Since the card reader 1 can communicate with two SEs, the user does not need to set the external device such as the SE connected to the protocol processing unit or the protocol processing unit, which greatly facilitates the user's use.
  • a method for multiplexing a radio frequency front end includes the following steps: Step S10: A multiplexing unit receives a card reading instruction sent by a card reader and distributes the information to each non-contact protocol unit; for example, a multiplexing unit The data received from the radio frequency unit 31 is decoded and distributed to the respective non-contact protocol units 33.
  • Step S20 the contactless protocol unit receives the distributed card reader command and parses the command, and transmits the response data according to the parsing result; for example, the contactless protocol unit 33 parses whether the card reader command is sent to itself.
  • Step S30 the multiplexing unit determines the response data sent by each contactless protocol unit, and outputs the collision data to the radio frequency unit when the bits of the plurality of response data participating in the decision are different; for example, the multiplexing unit 32 pairs each The response data transmitted by the contact protocol unit 33 is subjected to a bitwise decision to determine whether the bits are different.
  • Step S40 the radio frequency unit receives and modulates the collision data, and transmits the modulated data to the card reader by using the radio frequency modulation signal; for example, if the bits of the data output by each non-contact protocol unit 33 are different, multiplexing
  • the unit 32 outputs the collision data to the RF unit 31.
  • the card reader regenerates the card reading instruction including the contact protocol unit connection identifier and outputs the card reading instruction.
  • the card reader 1 upon receiving an unrecognized RF modulated signal, the card reader 1 prompts the user to be unable to support the presence of multiple cards in the RF field. If the reader 1 prompts the user to fail to support the RF If there are multiple cards in the field, the user can set the working contactless protocol unit 33. Selecting a contactless protocol unit 33 to work, other protocol units stop working; or the card reader initiates only one SE job according to a preset rule. In an embodiment, the method further includes the following steps: directly outputting data to the radio frequency unit when there is only one branch for data interaction with the radio frequency front end.
  • the step S40 includes: when the input data is original data, the corresponding radio frequency signal is generated according to the IS014443 protocol; when the input data is collision data, the identifier is not recognized by the card reader.
  • RF modulated signal Specifically, the waveform of the radio frequency modulation signal that cannot be recognized by the card reader can be referred to FIG. 6 and FIG. 8.
  • the step S50 includes: generating an anti-collision ANTICOLLISION command and transmitting the anti-collision ANTICOLLISION command to the multiplexing unit when the card reader receives the unrecognized radio frequency modulation signal; correspondingly, the step S20 includes: receiving the anti-collision The ANTICOLLISION instruction parses, and sends a response instruction when the ANTICOLLISION instruction is information pointing to the unit; the response instruction includes
  • the foregoing step S50 may further include: detecting the received response instruction, and generating an ANTICOLLISION instruction corresponding to the plurality of contactless protocol units according to the UID information in the response instruction.
  • the foregoing step S50 may include: when receiving an unrecognized radio frequency modulation signal, generating a SELECT instruction directed to a non-contact protocol unit.
  • step S20 includes: The received SELECT command is detected, and the response command SAK is sent when the SELECT instruction is an instruction directed to the unit, and the SELECT instruction is discarded when the SELECT instruction is an instruction not directed to the unit.
  • the processing flow of this embodiment reference may be made to the above example 3.
  • the step S50 includes: generating a request selection response instruction directed to a non-contact protocol unit; correspondingly, the foregoing step S20 includes: detecting the received RATS instruction, where the RATS instruction is directed to the unit The instruction processing instruction and returning the response information, and the RATS instruction is ignored when the RATS instruction is an instruction that does not point to the unit.
  • the above step S20 may further include: performing frame synchronization and slot synchronization processing on the received data, and transmitting the response data on the processed time slot.
  • each of the non-contact protocol units 33 may be coordinated by an external controller to work in cooperation, such as stopping work or starting work.
  • each non-contact protocol unit 33 operates under the control of a common controller, after the RF unit of the working ISO-14443 Type B type receives the REQB command, the non-contact protocol unit 33 transmits the response data on the coordinated time slot to Reduce the probability of collision.
  • the above technical solution provided by the present invention can be applied to an application process of multiplexing a radio frequency front end, by providing a multiplexing unit between the non-contact protocol unit and the radio frequency unit, and improving the non-contact protocol unit and the radio frequency unit, A plurality of non-contact protocol units are multiplexed to the same radio unit, and the plurality of non-contact protocol units work independently at the same time, and can be activated at the same time, and the card reader can perform data transmission by means of rotation and each non-contact protocol unit. Therefore, multiple SEs connected by the contactless protocol unit can work simultaneously, and data can be read simultaneously. The card reader decides to communicate with the specific SE according to user interaction or application, thereby reducing the process of user and terminal interaction during communication.

Landscapes

  • Engineering & Computer Science (AREA)
  • Toxicology (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method and a system for multiplexing a radio-frequency front-end comprises a card reader and a mobile terminal, and the mobile terminal comprises a radio-frequency unit, a multiplexing unit and contact less protocol units, wherein the multiplexing unit distributing an instruction received from the radio-frequency unit to each contact less protocol unit, determining response data thereof and outputting collision data to the radio-frequency unit; the radio-frequency unit receiving and modulating the collision data and using a radio-frequency modulation signal to send the modulated data to the card reader; a plurality of contact less protocol units receiving the card reader instruction distributed by the multiplexing unit, parsing the instruction and sending response data to the multiplexing unit based on a parsing result; and when receiving a radio-frequency modulation signal that cannot be identified, the card reading regenerating a card reading instruction comprising a contact less protocol unit connection identifier and sending it to the multiplexing unit. Thereby, interaction between a user and a terminal in a communication process can be reduced.

Description

复用射频前端的方法及系统 技术领域 本发明涉及移动终端领域, 具体涉及一种射频 (Radio Frequency, RF) 前端复用 方法及系统。 背景技术 在移动支付中, 移动终端往往有多个安全模块 (SECURITY ENTITY, SE) , 目 前移动终端中 SE的结构参见图 1。 在这个方案中, 移动终端有两个 SE。 进行移动支 付近距离刷卡的时候,由于从读卡器发送来的应用层数据中没有参数表明是传输给 SE A还是 SE B, 因此只能 SE A和 SE B只能有 1个工作。进行近距离移动支付时候, 用 户需要先在移动终端上设置一个工作的 SE, 然后进行交易; 如果下次交易使用另一个 SE, 则用户需要重新设置工作的 SE。 如果近距离移动支付过程中, SE A没有包含有 效的信息, SE B包含有效的信息。 而用户不确定那个 SE当前有效。 这时候就要按照 图 2的流程进行交易。  The present invention relates to the field of mobile terminals, and in particular, to a radio frequency (RF) front-end multiplexing method and system. BACKGROUND In mobile payment, a mobile terminal often has multiple security modules (SECURITY ENTITY, SE). The structure of the SE in the current mobile terminal is shown in FIG. In this scenario, the mobile terminal has two SEs. When moving the near-distance credit card, since there is no parameter in the application layer data sent from the card reader indicating that it is transmitted to SE A or SE B, only SE A and SE B can only have one job. When making a short-range mobile payment, the user needs to set a working SE on the mobile terminal first, and then conduct the transaction; if the next transaction uses another SE, the user needs to reset the working SE. If the SE A does not contain valid information during the close-range mobile payment process, SE B contains valid information. The user is not sure which SE is currently active. At this time, it is necessary to trade according to the flow of Figure 2.
S001 : 用户设置 SE A连接非接触协议单元工作, SE B断开; S002: 移动终端靠近读卡器, 读卡器发送指令给非接触式前端 (Contact LessS001: User setting SE A connects to the contactless protocol unit, SE B disconnects; S002: The mobile terminal is close to the card reader, and the card reader sends commands to the contactless front end (Contact Less
Frontend, CLF) ; Frontend, CLF);
S003 : CLF将应用层指令发送给 SE A; S003: The CLF sends an application layer instruction to the SE A;
S004: SE A返回响应数据给 CLF; S004: SE A returns response data to the CLF;
S005: CLF将数据返回给读卡器; S006: SE A 响应的应用层数据不是读卡器希望的参数; 读卡器提示用户无法和S005: The CLF returns the data to the card reader; S006: The application layer data of the SE A response is not the parameter desired by the card reader; the card reader prompts the user to fail
SE A进行交易; SE A conducts trading;
S007: 用户设置 SE B连接非接触协议单元工作, SE A断开; S007: The user sets the SE B connection non-contact protocol unit to work, and the SE A is disconnected;
S008: 终端靠近读卡器, 读卡器发送指令给 CLF; S008: the terminal is close to the card reader, and the card reader sends an instruction to the CLF;
S009: CLF将应用层指令发送给 SE B; S010: SE B返回响应数据给 CLF; S009: The CLF sends an application layer instruction to the SE B; S010: SE B returns response data to CLF;
SOU : CLF将数据返回给读卡器; SOU: CLF returns the data to the reader;
S012: 读卡器检测到 SE B包含有读卡器需要的信息, 于是继续发送指令进行进 一步的数据交互。 在这个过程中, 在交易前用户要在移动终端上选择工作的 SE, 而且设置后还不一 定能保证通信, 使用麻烦。 发明内容 本发明实施例的主要目的在于提供一种射频前端复用方法, 以解决现有技术中在 交易前用户要在移动终端上选择工作的 SE, 而且设置后还不一定能保证通信, 使用麻 烦的技术问题。 为了实现发明目的, 本发明实施例提供一种复用射频前端的系统, 包括读卡器和 移动终端, 所述移动终端包括射频单元、 复用单元和非接触协议单元, 其中, 复用单元, 设置为将从射频单元接收到的指令分发给各非接触协议单元, 以及对 各非接触协议单元发送的响应数据进行判决, 并在参与判决的多个响应数据的比特位 不同时, 输出碰撞数据至射频单元; 射频单元, 设置为接收并对碰撞数据进行调制处理, 将调制处理后的数据用射频 调制信号发送至读卡器, 以及接收读卡器发送的指令; 若干非接触协议单元, 设置为接收复用单元分发的读卡器指令并对该指令进行解 析, 根据解析结果发送响应数据至复用单元; 所述读卡器设置为在接收到无法识别的射频调制信号时, 重新生成包含非接触协 议单元连接标识符的读卡指令并发送至复用单元。 优选地, 所述复用单元还设置为: 当与射频前端进行数据交互的支路只有 1个时, 直接输出原始数据至射频单元。 优选地, 所述射频单元设置为: 当输入的数据为原始数据时, 按照 IS014443协议调制产生相应的射频信号; 当输入的数据为碰撞数据时, 产生无法被读卡器识别的射频调制信号。 优选地, 所述读卡器包括: 防冲突指令生成单元, 设置为生成防冲突指令并发送 至复用单元; 所述非接触协议单元设置为: 对接收到的防冲突指令进行解析, 在该防冲突指令为指向本单元的信息时发送响 应指令; 该响应指令包含用户身份证明信息。 优选地, 所述防冲突指令生成单元还设置为: 对接收到的响应指令进行检测, 并 根据响应指令中的用户身份证明信息信息生成对应所述若干非接触协议单元的防冲突 指令。 优选地, 所述读卡器还包括: 选择指令生成单元, 设置为生成指向某一非接触协 议单元的选择指令; 所述非接触协议单元设置为: 对接收到的选择指令进行检测,在选择指令为指向本单元的指令时发送响应指令, 在选择指令为非指向本单元的指令时, 对该选择指令作丢弃处理。 优选地, 所述读卡器还包括: 请求选择应答指令生成单元, 设置为生成指向某一 非接触协议单元的请求选择应答指令; 所述非接触协议单元设置为: 对接收到的请求选择应答指令进行检测, 在请求选择应答指令为指向本单元的指 令时处理指令并返回响应信息, 在请求选择应答指令为非指向本单元的指令时忽略该 请求选择应答指令。 优选地, 所述非接触协议单元还设置为: 对接收到的数据进行帧同步和时隙同步处理, 并在经过处理后的时隙上发送响应 数据。 本发明实施例另提供一种复用射频前端的方法, 包括: 复用单元将从射频单元接收到的指令分发给各非接触协议单元; 非接触协议单元接收分发的读卡器指令并对该指令进行解析, 根据解析结果发送 响应数据; 复用单元对各非接触协议单元发送的响应数据进行判决, 并在参与判决的多个响 应数据的比特位不同时, 输出碰撞数据至射频单元; 射频单元接收并对碰撞数据进行调制处理, 将调制处理后的数据用射频调制信号 发送至读卡器; 读卡器在接收到无法识别的射频调制信号时, 重新生成包含非接触协议单元连接 标识符的读卡指令并输出。 优选地, 上述方法还包括: 当与射频前端进行数据交互的支路只有 1个时, 直接输出数据至射频单元。 优选地, 所述接收并对碰撞数据进行调制处理的步骤包括: 当输入的数据为原始数据时, 按照 IS014443协议调制产生相应的射频信号; 当输入的数据为碰撞数据时, 产生无法被读卡器识别的射频调制信号。 优选地, 所述读卡器在接收到无法识别的射频调制信号时, 重新生成包含非接触 协议单元连接标识符的读卡指令并输出的步骤包括: 生成防冲突指令并发送至复用单元; 所述非接触协议单元设置为接收分发的读卡器指令并对该指令进行解析, 根据解 析结果发送响应数据的步骤包括: 对接收到的防冲突指令进行解析, 在该指令为指向 本单元的信息时发送响应指令; 该响应指令包含用户身份证明信息。 优选地, 所述生成防冲突指令包括: 对接收到的响应指令进行检测, 并根据响应指令中的用户身份证明信息生成对应 所述若干非接触协议单元的防冲突指令。 优选地, 所述读卡器在接收到无法识别的射频调制信号时, 重新生成包含非接触 协议单元连接标识符的读卡指令并输出的步骤包括: 生成指向某一非接触协议单元的选择指令; 所述非接触协议单元接收分发的读卡器指令并对该指令进行解析, 根据解析结果 发送响应数据包括: 对接收到的选择指令进行检测,在选择指令为指向本单元的指令时发送响应指令, 在选择指令为非指向本单元的指令时, 对该选择指令作丢弃处理。 优选地, 所述读卡器在接收到无法识别的射频调制信号时, 重新生成包含非接触 协议单元连接标识符的读卡指令并输出包括: 生成指向某一非接触协议单元的请求选择应答指令; 所述非接触协议单元接收分发的读卡器指令并对该指令进行解析, 根据解析结果 发送响应数据包括: 对接收到的请求选择应答指令进行检测, 在请求选择应答指令为指向本单元的指 令时处理指令并返回响应信息, 在请求选择应答指令为非指向本单元的指令时忽略该 请求选择应答指令。 优选地, 所述非接触协议单元接收分发的读卡器指令并对该指令进行解析, 根据 解析结果发送响应数据还包括: 对接收到的数据进行帧同步和时隙同步处理, 并在经过处理后的时隙上发送响应 数据。 本发明实施例通过在非接触协议单元和射频单元之间设置复用单元并对非接触协 议单元和射频单元进行改进, 实现了多个非接触协议单元复用同一个射频单元, 多个 非接触协议单元同时独立工作, 可以同时处于激活状态, 读卡器可以通过轮训的方式 和每个非接触协议单元进行数据传输。 因此非接触协议单元连接的多个 SE可以同时 工作, 数据可以被同时读取。读卡器根据用户交互或者应用程序的来决定和具体的 SE 通信, 从而减少了通信过程中用户和终端交互的过程。 附图说明 图 1为现有的移动终端中射频安全模块的结构示意图; 图 2为现有的移动终端与读卡器进行射频数据交互的流程示意图; 图 3为本发明一实施例中复用射频前端的结构示意图; 图 4为两非接触协议单元在数据的比特位相同时的射频信号波形符号示意图; 图 5为两非接触协议单元在数据的比特位不相同时的射频信号波形符号示意图; 图 6为本发明一实施例中两个非接触协议单元同时响应对非接触协议单元 A的应 答 (Answer To Request A, ATQA) 指令产生的射频信号波形图; 图 7为本发明一实施例读卡器的结构示意图; 图 8是两个非接触协议单元同时响应防冲突指令产生的射频信号波形图; 以及 图 9为本发明一实施例中复用射频前端的方法流程示意图。 本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一步说明。 具体实施方式 应当理解,此处所描述的具体实施例仅仅用于解释本发明, 并不用于限定本发明。 本发明的核心思想是在非接触协议单元和射频单元之间设置复用单元, 通过复用 单元接收读卡器发送的读卡指令并分发给各非接触协议单元, 对各非接触协议单元响 应的数据进行判决, 当参与判决的多个数据的比特位不同时, 输出碰撞数据并输出至 射频单元, 由射频单元输出至读卡器。 读卡器收到无法被检测射频信号的数据后, 生 成包含非接触协议单元连接标识的读卡指令并发送至复用单元, 从而对某个非接触协 议单元进行读卡操作。 参照图 3所示, 本发明一实施例中, 复用射频前端的系统包括读卡器 1和移动终 端 2, 其中移动终端 2内置有射频单元 31、 复用单元 32和非接触协议单元 33, 其中, 复用单元 31, 设置为接收读卡器发送的读卡指令并分发给各非接触协议单元, 以 及对各非接触协议单元发送的响应数据进行判决, 并在参与判决的多个响应数据的比 特位不同时, 输出碰撞数据至射频单元; 射频单元 32, 设置为接收并对碰撞数据进行调制处理, 将调制处理后的数据用射 频调制信号发送至读卡器; 若干非接触协议单元 33, 设置为接收复用单元分发的读卡器指令并对该指令进行 解析, 根据解析结果发送响应数据至复用单元; 所述读卡器 1设置为在接收到无法识别的射频调制信号时, 重新生成包含非接触 协议单元连接标识符的读卡指令并发送至复用单元。 本发明实施例中, 射频单元 31负责接收 RF载波信号并解调获得数据; 将数据调 制到副载波,然后将副载波调制到射频载波,发送信号。如果输入的数据为' 0'或 ' , 则按照 IS014443调制产生对应的射频信号。 如果输入的数据为碰撞数据 'Z', 则产生 无法被读卡器识别的射频调制信号。 图 4显示了比特位为 '0' 和 ' 对应的射频信号。 图 5显示了比特位不同时, 调制后产生的射频波形。 其特点是射频信号上无法检测出子载波或者子载波没有被调 制。 叠加后的射频信号标记为 'Ζ', 读卡器 1检测到这个符号和其他传输数据 (0和 1 ) 的符号不同, 从而确定射频场中存在多张卡片。 复用单元 32 将从射频单元 31 接收到的数据解码后分发给各个非接触协议单元 33;将各非接触协议单元 33发送来的数据进行判决。在一实施例中,判决的规则如下: S012: The card reader detects that the SE B contains the information required by the card reader, and then continues to send instructions for further data interaction. In this process, the user selects the working SE on the mobile terminal before the transaction, and the setting does not necessarily guarantee communication, and the use is troublesome. SUMMARY OF THE INVENTION A main object of the embodiments of the present invention is to provide a radio frequency front-end multiplexing method, which solves the problem that a user needs to select a working SE on a mobile terminal before the transaction in the prior art, and the communication may not be guaranteed after the setting. Troublesome technical problems. In order to achieve the object of the present invention, an embodiment of the present invention provides a system for multiplexing a radio frequency front end, including a card reader and a mobile terminal, where the mobile terminal includes a radio frequency unit, a multiplexing unit, and a non-contact protocol unit, where the multiplexing unit, And configured to distribute the instruction received from the radio frequency unit to each non-contact protocol unit, and determine the response data sent by each non-contact protocol unit, and output the collision data when the bits of the plurality of response data participating in the decision are different. To the radio frequency unit; the radio frequency unit is configured to receive and modulate the collision data, send the modulated data to the card reader with the radio frequency modulation signal, and receive the instruction sent by the card reader; a plurality of non-contact protocol units, setting Receiving and interpreting the card reader command distributed by the multiplexing unit, and transmitting the response data to the multiplexing unit according to the parsing result; the card reader is configured to regenerate the inclusion when receiving the unrecognized radio frequency modulation signal The contactless protocol unit connects the reader's card reading instruction to the multiplexing unit . Preferably, the multiplexing unit is further configured to: directly output the original data to the radio frequency unit when there is only one branch for data interaction with the radio frequency front end. Preferably, the radio frequency unit is configured to: when the input data is original data, generate corresponding radio frequency signals according to the IS014443 protocol modulation; When the input data is collision data, a radio frequency modulation signal that cannot be recognized by the card reader is generated. Preferably, the card reader comprises: an anti-collision instruction generating unit configured to generate an anti-collision command and send to the multiplexing unit; the non-contact protocol unit is configured to: parse the received anti-collision command, where The anti-collision instruction sends a response instruction when the information is directed to the unit; the response instruction includes user identification information. Preferably, the anti-collision instruction generating unit is further configured to: detect the received response instruction, and generate an anti-collision instruction corresponding to the plurality of non-contact protocol units according to the user identity certification information information in the response instruction. Preferably, the card reader further comprises: a selection instruction generating unit configured to generate a selection instruction directed to a non-contact protocol unit; the non-contact protocol unit is configured to: detect the received selection instruction, select When the instruction is an instruction directed to the unit, the response instruction is sent. When the instruction is an instruction that is not directed to the unit, the selection instruction is discarded. Preferably, the card reader further comprises: a request selection response instruction generating unit configured to generate a request selection response instruction directed to a non-contact protocol unit; the non-contact protocol unit is configured to: select a response to the received request The instruction detects that the instruction is processed and returns a response message when the request selection response instruction is an instruction directed to the unit, and the request selection response instruction is ignored when the request selection response instruction is an instruction that does not point to the unit. Preferably, the non-contact protocol unit is further configured to: perform frame synchronization and slot synchronization processing on the received data, and send the response data on the processed time slot. The embodiment of the present invention further provides a method for multiplexing a radio frequency front end, including: the multiplexing unit distributing an instruction received from the radio frequency unit to each non-contact protocol unit; The contactless protocol unit receives the distributed card reader command and parses the command, and sends the response data according to the parsing result; the multiplexing unit determines the response data sent by each non-contact protocol unit, and participates in the plurality of response data of the decision. When the bits are different, the collision data is output to the radio frequency unit; the radio frequency unit receives and modulates the collision data, and transmits the modulated data to the card reader by using the radio frequency modulation signal; the card reader receives the unrecognized radio frequency When the signal is modulated, a card reading command containing the contact identifier of the contactless protocol unit is regenerated and output. Preferably, the method further includes: directly outputting data to the radio frequency unit when there is only one branch for data interaction with the radio frequency front end. Preferably, the step of receiving and modulating the collision data comprises: when the input data is original data, modulating according to the IS014443 protocol to generate a corresponding radio frequency signal; when the input data is collision data, the card cannot be read. The RF modulated signal identified by the device. Preferably, when the card reader receives the unrecognized radio frequency modulation signal, the step of regenerating the card reading instruction including the contact protocol unit connection identifier and outputting comprises: generating an anti-collision instruction and transmitting the anti-collision instruction to the multiplexing unit; The non-contact protocol unit is configured to receive the distributed card reader command and parse the command, and the step of transmitting the response data according to the parsing result comprises: parsing the received anti-collision instruction, where the instruction is directed to the unit The response instruction is sent when the information is; the response instruction includes the user identification information. Preferably, the generating the anti-collision instruction comprises: detecting the received response instruction, and generating an anti-collision instruction corresponding to the plurality of non-contact protocol units according to the user identity verification information in the response instruction. Preferably, when the card reader receives the unrecognized radio frequency modulation signal, the step of regenerating the card reading instruction including the contact protocol unit connection identifier and outputting comprises: generating a selection instruction directed to a non-contact protocol unit ; The non-contact protocol unit receives the distributed card reader command and parses the command, and sending the response data according to the parsing result includes: detecting the received selection instruction, and sending the response instruction when the selecting instruction is an instruction directed to the unit When the instruction is an instruction that is not directed to the unit, the selection instruction is discarded. Preferably, when the card reader receives the unrecognized radio frequency modulation signal, regenerating the card reading instruction including the contactless protocol unit connection identifier and outputting comprises: generating a request selection response instruction directed to a non-contact protocol unit The non-contact protocol unit receives the distributed card reader command and parses the command, and sends the response data according to the parsing result, including: detecting the received request selection response command, and requesting the selection response command to point to the unit The instruction processes the instruction and returns a response message, and ignores the request selection response instruction when the request selection response instruction is an instruction that does not point to the unit. Preferably, the contactless protocol unit receives the distributed card reader command and parses the command, and sending the response data according to the parsing result further comprises: performing frame synchronization and time slot synchronization processing on the received data, and processing The response data is sent on the subsequent time slot. In the embodiment of the present invention, by providing a multiplexing unit between the non-contact protocol unit and the radio frequency unit and improving the non-contact protocol unit and the radio frequency unit, multiple non-contact protocol units are multiplexed into the same radio unit, and multiple non-contact units are realized. The protocol unit works independently at the same time and can be activated at the same time. The card reader can perform data transmission by means of rotation and each non-contact protocol unit. Therefore, multiple SEs connected by the contactless protocol unit can work simultaneously, and data can be read simultaneously. The card reader determines the specific SE communication according to the user interaction or the application, thereby reducing the process of user and terminal interaction during the communication process. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic structural diagram of a radio frequency security module in a conventional mobile terminal; FIG. 2 is a schematic flowchart of radio data interaction between an existing mobile terminal and a card reader; FIG. 3 is a schematic diagram of multiplexing according to an embodiment of the present invention; Schematic diagram of the RF front end; 4 is a schematic diagram of a symbol of a radio frequency signal waveform when two bits of the non-contact protocol unit are the same; FIG. 5 is a schematic diagram of a waveform of a radio frequency signal waveform when the bits of the two non-contact protocol units are different; FIG. 6 is a schematic diagram of the waveform of the radio frequency signal of the two non-contact protocol units; In the embodiment, two non-contact protocol units simultaneously respond to a waveform of a radio frequency signal generated by an Answer To Request A (ATQA) instruction; FIG. 7 is a schematic structural diagram of a card reader according to an embodiment of the present invention; 8 is a waveform diagram of a radio frequency signal generated by two non-contact protocol units simultaneously responding to an anti-collision command; and FIG. 9 is a flow chart of a method for multiplexing a radio frequency front end according to an embodiment of the present invention. The implementation, functional features, and advantages of the present invention will be further described with reference to the accompanying drawings. The specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. The core idea of the present invention is to provide a multiplexing unit between the contactless protocol unit and the radio frequency unit, receive the card reading instruction sent by the card reader through the multiplexing unit, and distribute it to each non-contact protocol unit to respond to each non-contact protocol unit. The data is judged. When the bits of the plurality of data participating in the decision are different, the collision data is output and output to the radio frequency unit, and outputted to the card reader by the radio frequency unit. After receiving the data of the radio frequency signal that cannot be detected, the card reader generates a card reading instruction including the connection identifier of the contactless protocol unit and sends the card reading instruction to the multiplexing unit to perform a card reading operation on a non-contact protocol unit. Referring to FIG. 3, in an embodiment of the present invention, a system for multiplexing a radio frequency front end includes a card reader 1 and a mobile terminal 2, wherein the mobile terminal 2 has a radio frequency unit 31, a multiplexing unit 32, and a non-contact protocol unit 33. The multiplexing unit 31 is configured to receive the card reading command sent by the card reader and distribute it to each non-contact protocol unit, and determine the response data sent by each non-contact protocol unit, and participate in multiple response data of the decision. When the bits are different, the collision data is output to the radio frequency unit; the radio frequency unit 32 is configured to receive and modulate the collision data, and send the modulated data to the card reader with the radio frequency modulation signal; a plurality of non-contact protocol units 33 And configured to receive the card reader command distributed by the multiplexing unit and parse the instruction, and send the response data to the multiplexing unit according to the parsing result; The card reader 1 is configured to regenerate a card reading command including a contactless protocol unit connection identifier and transmit it to the multiplexing unit upon receiving an unrecognized radio frequency modulation signal. In the embodiment of the present invention, the radio frequency unit 31 is responsible for receiving the RF carrier signal and demodulating and obtaining the data; modulating the data to the subcarrier, then modulating the subcarrier to the radio frequency carrier, and transmitting the signal. If the input data is '0' or ', the corresponding RF signal is generated according to IS014443 modulation. If the input data is the collision data 'Z', a radio frequency modulation signal that cannot be recognized by the card reader is generated. Figure 4 shows the corresponding RF signals with bits '0' and '. Figure 5 shows the RF waveform generated after modulation when the bits are different. It is characterized in that subcarriers cannot be detected on the radio frequency signal or subcarriers are not modulated. The superimposed RF signal is labeled 'Ζ', and the card reader 1 detects that the symbol is different from the other transmitted data (0 and 1), thereby determining that there are multiple cards in the RF field. The multiplexing unit 32 decodes the data received from the radio frequency unit 31 and distributes it to the respective non-contact protocol units 33; and judges the data transmitted from each non-contact protocol unit 33. In an embodiment, the rules of the decision are as follows:
1、 当非接触协议单元 33输出数据时候参与判决, 如果不输出数据, 则不参与判 决; 2、 如果参与判决的数据的比特位相同, 则输出原始数据; 1. When the non-contact protocol unit 33 outputs data, the decision is made. If the data is not output, the decision is not participated; 2. If the bits of the data participating in the decision are the same, the original data is output;
3、 如果参与判决的数据的比特位不同, 则输出数据 'Ζ' ; 3. If the bits of the data participating in the decision are different, the data 'Ζ' is output;
4、 如果只有 1个支路, 则输出透明输出数据位。 复用单元 32是一个功能单元, 可以由软件和 /或者硬件实现。 本发明实施例中, 非接触协议单元 33可解析读卡器指令, 以判断该指令是否是发 给自己的。每个非接触协议单元 33元有独立的用户身份证明 )(User Identification, UID 标识, UID来自于个非接触协议单元 33固定标识, 或者来自于随机数, 或者来自于外 部接口, 各非接触协议单元的 UID不同。 非接触协议单元 33支持 IS014443-3协议, 对接收数据进行帧同步、 时隙同步; 负责协议处理, 接收命令, 发送响应指令或者数 据。 非接触协议单元 33通过接口和应用连接、 SE等进行数据交互。 非接触协议单元 33是功能单元, 可以由软件和 /或者硬件实现, 实现一个独立的功能。 多个非接触协议 单元 33可以在同一个物理单元上, 也可以不在同一个物理单元上。 本发明实施例中, 多个非接触协议单元 33独立工作; 复用单元 32将射频单元 31 解调后的数据分发给非接触协议单元 33 ; 如果各个非接触协议单元 33输出的数据的 比特位不同, 则输出碰撞数据至射频单元 31, 该碰撞数据调制后, 其射频载波携带的 符号无法被读卡器检测出数据。如果读卡器 1提示用户无法支持射频场中存在多张卡, 则用户可对工作的非接触协议单元 33进行设置。 选择一个非接触协议单元 33工作, 其他协议单元停止工作; 或者读卡器根据预设的规则, 只启动一个 SE 工作。 根据 ISO 14443协议, 读卡器可以根据检测到射频信号 'Z' 再重新发送数据, 这个数据可 以避开出现叠加的 bit位。经过多次这样的流程, 直到彻底选择上某张卡, 为其分配连 接标识 (Connection Identifier, CID)信息, 后续的指令就可以只发给对应的卡片。 读 卡器再发起针对未被选中的卡片初始化过程。 经过反复的操作, 可以将同一个射频场 中的多个卡片选择上。然后读卡器 1可以发送数据给指定的卡片,对应卡片接收数据, 其他的卡片不发送数据, 所以这个过程没有数据碰撞, 所以读卡器可以正常的接收。 这时候具体和那个卡片通信, 完全由读卡器 1决定, 用户不需要参与。 读卡器 1完全 可以每个卡片都读取一些基本的信息, 根据这些基本的信息再判断选择和哪些 SE进 行通信。 进一步的, 本发明一实施例中, 非接触协议单元 33还可设置为: 对接收到的数据 进行帧同步和时隙同步处理, 并在经过处理后的时隙上发送响应数据。 本发明实施例 中,可以由外部控制器协调各个非接触协议单元 33协同工作, 比如停止工作或者开始 工作。如果各个非接触协议单元 33在共同的控制器控制下工作,工作 ISO-14443 Type B类型的射频单元收到非接触协议单元 B的请求 (Request B, REQB ) 指令后, 非接 触协议单元 33在经过协调后的时隙上发送响应数据, 以减少碰撞概率。 假设移动终端 2存在两个非接触协议单元 33, 非接触协议单元工作在 Type A模 式, 非接触协议单元 33 A和 SE A连接, 非接触协议单元 33B和 SE B连接。 示例一 描述了本发明复用射频前端的系统中, 读卡器 1在没有用户交互的情况下, 和 SE相 连接两个非接触协议单元 33同时通信的流程。 示例一 S101 : 读卡器 1打开 RF场, 工作在 Type A模式, 发送 REQA指令。 4. If there is only one branch, the transparent output data bit is output. The multiplexing unit 32 is a functional unit that can be implemented by software and/or hardware. In the embodiment of the present invention, the contactless protocol unit 33 can parse the card reader command to determine whether the command is sent to itself. Each non-contact protocol unit 33 has an independent user ID) (User Identification, UID identifier, UID from a non-contact protocol unit 33 fixed identifier, or from a random number, or from an external interface, each contactless protocol The UID of the unit is different. The contactless protocol unit 33 supports the IS014443-3 protocol, performs frame synchronization and time slot synchronization on the received data, is responsible for protocol processing, receives commands, and sends response commands or data. The contactless protocol unit 33 is connected through an interface and an application. The data exchange is performed by SE, etc. The contactless protocol unit 33 is a functional unit and can be implemented by software and/or hardware to implement an independent function. The plurality of contactless protocol units 33 may be on the same physical unit or not. In the embodiment of the present invention, the plurality of non-contact protocol units 33 operate independently; the multiplexing unit 32 distributes the demodulated data of the radio unit 31 to the non-contact protocol unit 33; if each non-contact protocol unit 33 outputs Data If the bits are different, the collision data is output to the radio frequency unit 31. After the collision data is modulated, the symbols carried by the radio frequency carrier cannot be detected by the card reader. If the card reader 1 prompts the user that there is no support for multiple cards in the radio field, the user can set the working contactless protocol unit 33. Selecting a contactless protocol unit 33 to work, other protocol units stop working; or the card reader initiates only one SE job according to a preset rule. According to the ISO 14443 protocol, the reader can resend the data based on the detected radio frequency signal 'Z', which avoids the superimposed bits. After many such processes, until a card is completely selected and assigned Connection Identifier (CID) information, subsequent instructions can be sent only to the corresponding card. The card reader then initiates a card initialization process for the unselected card. After repeated operations, multiple cards in the same RF field can be selected. Then the card reader 1 can send data to the designated card, the corresponding card receives the data, and the other cards do not send the data, so there is no data collision in this process, so the card reader can receive normally. At this time, the specific communication with the card is completely determined by the card reader 1, and the user does not need to participate. The card reader 1 can completely read some basic information for each card, and then judge which SEs to communicate with based on the basic information. Further, in an embodiment of the present invention, the non-contact protocol unit 33 may be further configured to: perform frame synchronization and slot synchronization processing on the received data, and send the response data on the processed time slot. In the embodiment of the present invention, each non-contact protocol unit 33 can be coordinated by an external controller to work in cooperation, such as stopping work or starting work. If each non-contact protocol unit 33 operates under the control of a common controller, the non-contact protocol unit 33 is after the RF unit of the ISO-14443 Type B type receives the request (Request B, REQB) of the contact protocol unit B. The response data is transmitted on the coordinated time slot to reduce the collision probability. It is assumed that the mobile terminal 2 has two contactless protocol units 33, the contactless protocol unit operates in the Type A mode, the contactless protocol unit 33A and the SE A are connected, and the contactless protocol unit 33B and the SE B are connected. Example 1 describes a flow in which the card reader 1 simultaneously connects two non-contact protocol units 33 with the SE without a user interaction in the system for multiplexing the radio frequency front end of the present invention. Example 1 S101: The card reader 1 turns on the RF field, operates in the Type A mode, and sends a REQA command.
S102: 复用单元 32将 REQA分发给非接触协议单元 33A。 S103 : 复用单元 32将 REQA分发给非接触协议单元 33B。 S102: The multiplexing unit 32 distributes the REQA to the contactless protocol unit 33A. S103: The multiplexing unit 32 distributes the REQA to the contactless protocol unit 33B.
S104: 非接触协议单元 33A根据 REQA的调制方式,检测当前射频场的工作模式 和自己的工作模式一样, 于是响应 WUPA (Wake UP A, 非接触协议单元 A的唤醒指 令) , 发送响应数据 ATQA。 其中 bit6=0; S105: 非接触协议单元 33B根据 REQA的调制方式, 检测当前射频场的工作模式 和自己的工作模式一样, 于是响应 WUPA指令, 发送响应数据 ATQA。 其中 bit6=l, 其他数据位和非接触协议单元 33B发送的数据位相同。 S104: The contactless protocol unit 33A detects that the current radio frequency field operates in the same mode as its own working mode according to the modulation mode of the REQA, and then sends the response data ATQA in response to the WUPA (Wake UP A, the wake-up command of the contactless protocol unit A). Where bit6=0; S105: The contactless protocol unit 33B detects that the current RF field operates in the same mode as its own working mode according to the modulation mode of the REQA, and then sends the response data ATQA in response to the WUPA command. Where bit6=l, the other data bits are the same as the data bits sent by the contactless protocol unit 33B.
S106: 复用单元对信号进行判决, 逐 bit进行判决。 其中 bit6不同, 产生碰撞指 示位 'Z' 。 射频单元 31将复用单元 32输出的数据调制到射频副载波, 副载波再调 制到射频载波上。 图 6中 'Z' 就是本实施例中碰撞射频信号波形, 无法被正确接收。 其他符号能正确接收。 读卡器检测到 bit6出现错误, 认为这 bit发生了碰撞, 认为射 频场中出现存在两个以上的非接触协议单元 33。 参照图 7, 本发明一实施例中, 读卡器 1包括: 防冲突指令生成单元 110, 设置为 在读卡器 1接收到无法识别的射频调制信号时, 生成防冲突 ANTICOLLISION指令并 发送至复用单元 32。 非接触协议单元 33可对接收到的防冲突 ANTICOLLISION指令 进行解析, 在该 ANTICOLLISION指令为指向本单元的信息时发送响应指令; 该响应 指令包含用户身份证明 UID信息。 具体的, 请参照下述示例二。 示例二 S201 : 读卡器 1发送 ANTICOLLISION (防冲突) 指令 (0x93 0x20) 。 S106: The multiplexing unit determines the signal and performs the judgment bit by bit. Where bit 6 is different, the collision indication bit 'Z' is generated. The radio unit 31 modulates the data output from the multiplexing unit 32 to the radio frequency subcarrier, and the subcarrier is modulated onto the radio frequency carrier. The 'Z' in Fig. 6 is the waveform of the collision RF signal in this embodiment, which cannot be correctly received. Other symbols can be received correctly. The card reader detected an error in bit6 and considered that the bit collided. It is considered that there are more than two non-contact protocol units 33 in the radio frequency field. Referring to FIG. 7, in an embodiment of the present invention, the card reader 1 includes: an anti-collision instruction generating unit 110, configured to generate an anti-collision ANTICOLLISION command and send it to the multiplexing when the card reader 1 receives the unrecognized radio frequency modulation signal. Unit 32. The contactless protocol unit 33 may parse the received anti-collision ANTICOLLISION instruction, and send a response instruction when the ANTICOLLISION instruction is information directed to the unit; the response instruction includes user identification certificate UID information. Specifically, please refer to the following example 2. Example 2 S201: Card Reader 1 sends the ANTICOLLISION command (0x93 0x20).
S202: 复用单元 32将 ANTICOLLISION分发给非接触协议单元 33A。 S202: The multiplexing unit 32 distributes the ANTICOLLISION to the contactless protocol unit 33A.
S203: 复用单元 32将 ANTICOLLISION分发给非接触协议单元 33B。 S203: The multiplexing unit 32 distributes the ANTICOLLISION to the contactless protocol unit 33B.
S204: 非接触协议单元 33A解析发现指令是发给自己的, 因此发送响应指令; 响 应指令包含 UID信息, 其中 byte0=0x08; S205: 非接触协议单元 33B解析发现指令是发给自己的, 因此发送响应指令; 响 应指令包含 UID信息, 其中 byte0=0xl 1; S204: The non-contact protocol unit 33A parses the discovery instruction to be sent to itself, and therefore sends a response instruction; the response instruction includes UID information, where byte0=0x08; S205: the non-contact protocol unit 33B parses the discovery instruction to be sent to itself, and therefore sends Response instruction; the response instruction includes UID information, where byte0=0xl 1;
S206: 复用单元 32对输入的两个数据进行逐 bit位判决, 其中 bit3、 bit4、 bit7不 同, 产生碰撞指示位 'Z' 。 射频单元 31将复用单元 32输出的数据调制到射频副载 波, 副载波再调制到射频载波上, 其中 Z 对应的射频信号无法被 PCD (Proximity Coupling Device, 读卡器芯片) 正确检测。 图 8中 'Z' 就是碰撞的射频信号波形, 无 法被正确接收。 读卡器 1正确检测到 bit0-2, 而 bit3无法被正确检测, 因此认为射频 场中存在两个协议单元, 且其 UID标识信息的最前面 4bit分别为: xxxl和 xxx0。 本发明一实施例中, 防冲突指令生成单元 l io还设置为: 对接收到的响应指令进 行检测, 并根据响应指令中的 UID 信息生成对应所述若干非接触协议单元 33 的 ANTICOLLISION指令。 具体的, 具体的, 请参照下述示例二, 系统的处理流程如下: 示例三 S206: The multiplexing unit 32 performs bit-by-bit bit determination on the input two data, wherein bit3, bit4, and bit7 are different, and a collision indication bit 'Z' is generated. The radio frequency unit 31 modulates the data output by the multiplexing unit 32 to the radio frequency subcarrier, and the subcarrier is modulated onto the radio frequency carrier, wherein the radio frequency signal corresponding to the Z cannot be correctly detected by the PCD (Proximity Coupling Device). In Figure 8, 'Z' is the RF signal waveform of the collision and cannot be received correctly. The card reader 1 correctly detects bit 0-2, and bit 3 cannot be detected correctly. Therefore, it is considered that there are two protocol units in the radio frequency field, and the first 4 bits of the UID identification information are: xxxl and xxx0. In an embodiment of the present invention, the anti-collision instruction generating unit 1 io is further configured to: detect the received response instruction, and generate an ANTICOLLISION instruction corresponding to the plurality of non-contact protocol units 33 according to the UID information in the response instruction. Specifically, please refer to the following example 2. The processing flow of the system is as follows: Example 3
S301 : 读卡器 1重新发送 ANTICOLLISION指令, 以 (χχχΟ)Β作为参数, 表示选 择 UID最前 4bit=(xxx0) B的非接触协议单元 33。 S301: The card reader 1 resends the ANTICOLLISION command with (χχχΟ)Β as a parameter, indicating that the non-contact protocol unit 33 of the UID top 4 bit=(xxx0) B is selected.
S302: 复用单元 32将 ANTICOLLISION分发给非接触协议单元 33A。 S302: The multiplexing unit 32 distributes the ANTICOLLISION to the contactless protocol unit 33A.
S303: 复用单元 32将 ANTICOLLISION分发给非接触协议单元 33B。 S304: 非接触协议单元 33A检查参数 (χχχθ) B等于 UID信息的最前面的 4bitS303: The multiplexing unit 32 distributes the ANTICOLLISION to the contactless protocol unit 33B. S304: Non-contact protocol unit 33A check parameter (χχχθ) B is equal to the first 4 bits of UID information
(χχχθ) B, 非接触协议单元 33 A发送响应数据。 非接触协议单元 33B检查参数为(xxxO)B不等于 UID信息的最前面的 4bit (xxxl ) B, 检测出该指令不是发送给自己的。 因此丢弃该指令, 不做任何响应。 (χχχθ) B, contactless protocol unit 33 A sends response data. The contactless protocol unit 33B checks that the parameter (xxxO)B is not equal to the first 4 bits (xxxl) B of the UID information, and detects that the command is not sent to itself. Therefore the instruction is discarded and no response is made.
S305: 复用单元 32接收非接触协议单元 33A发送过来的数据, 检测到当前只有 一个支路数据, 判决器直接输出数据到射频单元进行调制发送, 所有的信号能被读卡 器 1正确解码。 本发明一实施例中, 读卡器 1还包括: 选择指令生成单元 111, 设置为在接收到 无法识别的射频调制信号时, 生成指向某一非接触协议单元 33的选择指令。非接触协 议单元 33设置为: 对接收到的选择 SELECT指令进行检测, 在选择指令为指向本单 元的指令时发送响应指令 SAK, 在选择指令为非指向本单元的指令时, 对该选择指令 作丢弃处理。 具体的, 请参照下述示例四, 系统的处理流程如下: 示例四 S305: The multiplexing unit 32 receives the data sent by the contactless protocol unit 33A, and detects that there is currently only one branch data, and the decider directly outputs the data to the radio frequency unit for modulation and transmission, and all the signals can be correctly decoded by the card reader 1. In an embodiment of the invention, the card reader 1 further includes: a selection command generating unit 111 configured to generate a selection instruction directed to a non-contact protocol unit 33 upon receiving the unrecognized radio frequency modulation signal. The contactless protocol unit 33 is configured to: detect the received selection SELECT instruction, and send a response instruction SAK when the selection instruction is an instruction directed to the unit, and when the selection instruction is an instruction not directed to the unit, the selection instruction is Discard processing. Specifically, please refer to the following example 4. The processing flow of the system is as follows: Example 4
S401 : 读卡器 1发送 SELECT指令给非接触协议单元 33A; S402: 复用单元 32将接收到的指令分发给非接触协议单元 33A; S401: The card reader 1 sends a SELECT command to the contactless protocol unit 33A; S402: the multiplexing unit 32 distributes the received command to the contactless protocol unit 33A;
S403 : 复用单元 32将接收到的指令分发给非接触协议单元 33B; S404: 非接触协议单元 33A检测这是属于自己的指令, 处理指令, 并发送响应指 令 SAK。 单元 B检测到不是发给自己指令, 丢弃。 S403: The multiplexing unit 32 distributes the received instruction to the contactless protocol unit 33B; S404: The contactless protocol unit 33A detects that it is its own instruction, processes the instruction, and transmits the response instruction SAK. Unit B detects that it is not sending its own instructions and discards it.
S405: 复用单元 32接收非接触协议单元 33A发送过来的数据, 检测到当前只有 一个支路数据,判决器直接输出数据到射频单元 31进行调制发送,所有的信号能被正 确解码。 本发明一实施例中, 读卡器 1还包括: 请求选择应答(RATS)指令生成单元 112, 设置为在接收到无法识别的射频调制信号时, 生成指向某一非接触协议单元 33 的 RATS指令。 本实施例中, 非接触协议单元 33设置为: 对接收到的 RATS指令进行检 测, 在 RATS指令为指向本单元的指令时处理指令并返回响应信息, 在 RATS指令为 非指向本单元的指令时忽略该 RATS指令。 具体的, 请参照示例五, 系统的处理流程如下: 示例五 S405: The multiplexing unit 32 receives the data sent by the contactless protocol unit 33A, detects that there is currently only one branch data, and the decider directly outputs the data to the radio frequency unit 31 for modulation and transmission, and all the signals can be correctly decoded. In an embodiment of the invention, the card reader 1 further includes: a request selection response (RATS) command generating unit 112, configured to generate a RATS command directed to a non-contact protocol unit 33 when receiving an unrecognized radio frequency modulated signal . In this embodiment, the non-contact protocol unit 33 is configured to: detect the received RATS instruction, process the instruction and return the response information when the RATS instruction is an instruction directed to the unit, when the RATS instruction is an instruction not directed to the unit Ignore the RATS instruction. Specifically, please refer to example 5. The processing flow of the system is as follows: Example 5
S501 :读卡器 1发送 RATS指令给非接触协议单元 33A,为其分配标识信息 CID1 ; S501: The card reader 1 sends a RATS command to the contactless protocol unit 33A, and assigns identification information CID1 thereto;
S502: 复用单元 32将接收到的指令分发给非接触协议单元 33A; S503 : 复用单元 32将接收到的指令分发给非接触协议单元 33B; S502: The multiplexing unit 32 distributes the received instruction to the contactless protocol unit 33A; S503: the multiplexing unit 32 distributes the received instruction to the contactless protocol unit 33B;
S504:非接触协议单元 33A检测到指令是发给自己的,处理指令并返回响应信息。 非接触协议单元 33B处理指令, 发现不是给自己的指令, 忽略该指令, 不做任何响应。 S504: The contactless protocol unit 33A detects that the instruction is sent to itself, processes the instruction, and returns the response information. The contactless protocol unit 33B processes the instruction, finds that it is not an instruction for itself, ignores the instruction, and does not respond.
S505: 复用单元 32接收非接触协议单元 33A发送过来的数据, 检测到当前只有 一个支路数据,判决器直接输出数据到射频单元 31进行调制发送,所有的信号能被正 确解码。 此时非接触协议单元 33 A被激活, 可以进行数据传输。 上述实施例描述的是非接触协议单元 33A的数据交互过程, 对于非接触协议单元 33B, 本发明的处理流程请参照以下示例六至示例八。 示例六 S601 : 读卡器 1重新发送 ANTICOLLISION指令, 以 Cxxxl 作为参数, 表示选 择 UID最前 4bit= (xxxl ) B的协议单元。 S602: 复用单元 32将 ANTICOLLISION分发给非接触协议单元 33A。 S505: The multiplexing unit 32 receives the data sent by the contactless protocol unit 33A, detects that there is currently only one branch data, and the decider directly outputs the data to the radio frequency unit 31 for modulation and transmission, and all the signals can be correctly decoded. At this time, the non-contact protocol unit 33 A is activated, and data transmission is possible. The above embodiment describes the data interaction process of the contactless protocol unit 33A. For the contactless protocol unit 33B, the process flow of the present invention refers to the following examples 6 to 8. Example 6 S601: The card reader 1 resends the ANTICOLLISION command, with Cxxxl as a parameter, indicating that the protocol unit of the top 4 bits of the UID = (xxxl) B is selected. S602: The multiplexing unit 32 distributes the ANTICOLLISION to the contactless protocol unit 33A.
S603: 复用单元 32将 ANTICOLLISION分发给非接触协议单元 33B。 S603: The multiplexing unit 32 distributes the ANTICOLLISION to the contactless protocol unit 33B.
S604: 非接触协议单元 33A处在激活状态, 忽略该指令; 非接触协议单元 33B检 查 ANTICOLLISION指令携带的参数为 (xxxO) B, 等于 UID信息的最前面的 4bit (xxxO) , 检测出该指令是发送给自己的, 响应该指令。 S604: The contactless protocol unit 33A is in an active state, ignoring the command; the contactless protocol unit 33B checks that the parameter carried by the ANTICOLLISION command is (xxxO) B, which is equal to the first 4 bits (xxxO) of the UID information, and the command is detected to be Send to yourself, respond to the command.
S605: 复用单元 32接收非接触协议单元 33B发送过来的数据, 检测到当前只有 一个支路数据,判决器直接输出数据到射频单元 31进行调制发送,所有的信号能被正 确解码。 示例七 S701 : 读卡器 1发送 SELECT指令给非接触协议单元 33B, 发送; S605: The multiplexing unit 32 receives the data sent by the contactless protocol unit 33B, detects that there is currently only one branch data, and the decider directly outputs the data to the radio frequency unit 31 for modulation and transmission, and all the signals can be correctly decoded. Example 7 S701: The card reader 1 sends a SELECT command to the contactless protocol unit 33B, and sends it;
S702: 复用单元 32将接收到的指令分发给非接触协议单元 33A; S702: The multiplexing unit 32 distributes the received instruction to the contactless protocol unit 33A;
S703 : 复用单元 32将接收到的指令分发给非接触协议单元 33B; S703: The multiplexing unit 32 distributes the received instruction to the contactless protocol unit 33B;
S704: 非接触协议单元 33B检测这是属于自己的指令, 处理指令, 并发送响应指 令 SAK。 非接触协议单元 33A检测到不是发给自己信号, 丢弃。 S705: 复用单元 32接收非接触协议单元 33B发送过来的数据, 检测到当前只有 一个支路数据,判决器直接输出数据到射频单元 31进行调制发送,所有的信号能被正 确解码。 示例八 S704: The contactless protocol unit 33B detects that it is its own instruction, processes the instruction, and sends a response instruction SAK. The contactless protocol unit 33A detects that it is not sending its own signal and discards it. S705: The multiplexing unit 32 receives the data sent by the contactless protocol unit 33B, detects that there is currently only one branch data, and the decider directly outputs the data to the radio frequency unit 31 for modulation and transmission, and all the signals can be correctly decoded. Example eight
S801 :读卡器 1发送 RATS指令给非接触协议单元 33A,为其分配标识信息 CID2; S802: 复用单元 32将接收到的指令分发给非接触协议单元 33A; S801: The card reader 1 sends a RATS command to the contactless protocol unit 33A, which is assigned identification information CID2; S802: The multiplexing unit 32 distributes the received command to the contactless protocol unit 33A;
S803 : 复用单元 32将接收到的指令分发给非接触协议单元 33B; S803: The multiplexing unit 32 distributes the received instruction to the contactless protocol unit 33B;
S804: 非接触协议单元 33A处理指令, 发现不是给自己的指令, 忽略该指令, 不 做响应。 非接触协议单元 33B检测到指令是发给自己的, 处理指令并返回响应信息。 S805 : 复用单元 32接收非接触协议单元 33B发送过来的数据, 检测到当前只有 一个支路数据,判决器直接输出数据到射频单元 31进行调制发送,所有的信号能被正 确解码。 此时非接触协议单元 33B被激活, 可以进行数据传输。 由于两个非接触协议单元 33都处于激活状态,读卡器 1可以发送数据给任何一个 非接接触协议单元,读卡器 1发送给非接触协议单元 A和非接触协议单元 B两个协议 单元的指令中包含了一个参数 CID, 该参数指示指令是发给那个非接触协议单元 33 的, 只有 1个非接触协议单元 33发送响应指令, 因此可以被读卡器 1正确接收。非接 触协议单元 33再将数据发送给对应的 SE, 因此实现了读卡器 1和 SE的通信。 由于读卡器 1可以和两个 SE进行通信, 因此不需要用户对协议处理单元或者协 议处理单元连接的 SE等外部设备进行设置, 极大的方便了用户使用。 应当说明的是, 上述示例中, S101至 S805仅是流程步骤标号, 无其他含义。 本发明另提供一种复用射频前端的方法, 该方法可基于前述复用射频前端的系统 实现。 参照图 9, 本发明一实施例中, 复用射频前端的方法包括以下步骤: 步骤 S10, 复用单元接收读卡器发送的读卡指令并分发给各非接触协议单元; 例 如,复用单元 32将从射频单元 31接收到的数据解码后分发给各个非接触协议单元 33。 步骤 S20, 非接触协议单元接收分发的读卡器指令并对该指令进行解析, 根据解 析结果发送响应数据; 例如非接触协议单元 33解析读卡器指令是否是发给自己的。 步骤 S30, 复用单元对各非接触协议单元发送的响应数据进行判决, 并在参与判 决的多个响应数据的比特位不同时, 输出碰撞数据至射频单元; 例如, 复用单元 32 对各非接触协议单元 33发送的响应数据进行逐位判决, 判断是否比特位不同。 步骤 S40, 射频单元接收并对碰撞数据进行调制处理, 将调制处理后的数据用射 频调制信号发送至读卡器; 例如,如果各个非接触协议单元 33输出的数据的比特位不 同, 则复用单元 32输出碰撞数据至 RF单元 31, 该碰撞数据被 RF单元 31调制后, 其 RF载波携带的符号无法被读卡器检测出数据。 步骤 S50, 读卡器在接收到无法识别的射频调制信号时, 重新生成包含非接触协 议单元连接标识符的读卡指令并输出。 例如, 在接收到无法识别的 RF调制信号时, 读卡器 1提示用户无法支持 RF场中存在多张卡。 如果读卡器 1提示用户无法支持 RF 场中存在多张卡, 则用户可对工作的非接触协议单元 33进行设置。选择一个非接触协 议单元 33 工作, 其他协议单元停止工作; 或者读卡器根据预设的规则, 只启动一个 SE工作。 在一实施例中, 上述方法还包括以下步骤: 当与射频前端进行数据交互的支路只有 1个时, 直接输出数据至射频单元。 进一步的, 在一实施例中, 上述步骤 S40包括: 当输入的数据为原始数据时, 按照 IS014443协议调制产生相应的射频信号; 当输入的数据为碰撞数据时, 产生无法被读卡器识别的射频调制信号。 具体的, 无法被读卡器识别的射频调制信号其波形可参照图 6和图 8所示。 S804: The contactless protocol unit 33A processes the instruction, finds that the instruction is not given to itself, ignores the instruction, and does not respond. The contactless protocol unit 33B detects that the instruction is issued to itself, processes the instruction, and returns response information. S805: The multiplexing unit 32 receives the data sent by the contactless protocol unit 33B, detects that there is currently only one branch data, and the decider directly outputs the data to the radio frequency unit 31 for modulation and transmission, and all the signals can be correctly decoded. At this time, the non-contact protocol unit 33B is activated, and data transmission is possible. Since both contactless protocol units 33 are in an active state, the card reader 1 can transmit data to any of the non-contact contact protocol units, and the card reader 1 transmits the two protocol units to the contactless protocol unit A and the contactless protocol unit B. The instruction contains a parameter CID indicating that the instruction is sent to the contactless protocol unit 33, and only one non-contact protocol unit 33 sends the response command, so that it can be correctly received by the card reader 1. The contactless protocol unit 33 then transmits the data to the corresponding SE, thus enabling communication between the card reader 1 and the SE. Since the card reader 1 can communicate with two SEs, the user does not need to set the external device such as the SE connected to the protocol processing unit or the protocol processing unit, which greatly facilitates the user's use. It should be noted that, in the above examples, S101 to S805 are only process step numbers, and have no other meanings. The present invention further provides a method for multiplexing a radio frequency front end, which method can be implemented based on the foregoing system for multiplexing a radio frequency front end. Referring to FIG. 9, in an embodiment of the present invention, a method for multiplexing a radio frequency front end includes the following steps: Step S10: A multiplexing unit receives a card reading instruction sent by a card reader and distributes the information to each non-contact protocol unit; for example, a multiplexing unit The data received from the radio frequency unit 31 is decoded and distributed to the respective non-contact protocol units 33. Step S20, the contactless protocol unit receives the distributed card reader command and parses the command, and transmits the response data according to the parsing result; for example, the contactless protocol unit 33 parses whether the card reader command is sent to itself. Step S30, the multiplexing unit determines the response data sent by each contactless protocol unit, and outputs the collision data to the radio frequency unit when the bits of the plurality of response data participating in the decision are different; for example, the multiplexing unit 32 pairs each The response data transmitted by the contact protocol unit 33 is subjected to a bitwise decision to determine whether the bits are different. Step S40, the radio frequency unit receives and modulates the collision data, and transmits the modulated data to the card reader by using the radio frequency modulation signal; for example, if the bits of the data output by each non-contact protocol unit 33 are different, multiplexing The unit 32 outputs the collision data to the RF unit 31. After the collision data is modulated by the RF unit 31, the symbols carried by the RF carrier cannot be detected by the card reader. Step S50: When receiving the unrecognized radio frequency modulation signal, the card reader regenerates the card reading instruction including the contact protocol unit connection identifier and outputs the card reading instruction. For example, upon receiving an unrecognized RF modulated signal, the card reader 1 prompts the user to be unable to support the presence of multiple cards in the RF field. If the reader 1 prompts the user to fail to support the RF If there are multiple cards in the field, the user can set the working contactless protocol unit 33. Selecting a contactless protocol unit 33 to work, other protocol units stop working; or the card reader initiates only one SE job according to a preset rule. In an embodiment, the method further includes the following steps: directly outputting data to the radio frequency unit when there is only one branch for data interaction with the radio frequency front end. Further, in an embodiment, the step S40 includes: when the input data is original data, the corresponding radio frequency signal is generated according to the IS014443 protocol; when the input data is collision data, the identifier is not recognized by the card reader. RF modulated signal. Specifically, the waveform of the radio frequency modulation signal that cannot be recognized by the card reader can be referred to FIG. 6 and FIG. 8.
在一实施例中, 上述步骤 S50包括: 在读卡器接收到无法识别的射频调制信号时, 生成防冲突 ANTICOLLISION指令 并发送至复用单元; 相应的,上述步骤 S20包括:对接收到的防冲突 ANTICOLLISION指令进行解析, 在该 ANTICOLLISION指令为指向本单元的信息时发送响应指令; 该响应指令包含In an embodiment, the step S50 includes: generating an anti-collision ANTICOLLISION command and transmitting the anti-collision ANTICOLLISION command to the multiplexing unit when the card reader receives the unrecognized radio frequency modulation signal; correspondingly, the step S20 includes: receiving the anti-collision The ANTICOLLISION instruction parses, and sends a response instruction when the ANTICOLLISION instruction is information pointing to the unit; the response instruction includes
UID信息。 本实施例的处理流程可参照上述示例一。 进一步的, 上述步骤 S50还可包括: 对接收到的响应指令进行检测, 并根据响应指令中的 UID信息生成对应所述若干 非接触协议单元的 ANTICOLLISION指令。 本实施例的处理流程可参照上述示例二。 在另一实施例中, 上述步骤 S50可包括: 在接收到无法识别的射频调制信号时, 生成指向某一非接触协议单元的 SELECT 指令。 相应的, 上述步骤 S20包括: 对接收到的选择 SELECT指令进行检测,在 SELECT指令为指向本单元的指令时 发送响应指令 SAK,在 SELECT指令为非指向本单元的指令时,对该 SELECT指令作 丢弃处理。 本实施例的处理流程可参照上述示例三。 UID information. For the processing flow of this embodiment, reference may be made to the above example 1. Further, the foregoing step S50 may further include: detecting the received response instruction, and generating an ANTICOLLISION instruction corresponding to the plurality of contactless protocol units according to the UID information in the response instruction. For the processing flow of this embodiment, reference may be made to the above example 2. In another embodiment, the foregoing step S50 may include: when receiving an unrecognized radio frequency modulation signal, generating a SELECT instruction directed to a non-contact protocol unit. Correspondingly, the above step S20 includes: The received SELECT command is detected, and the response command SAK is sent when the SELECT instruction is an instruction directed to the unit, and the SELECT instruction is discarded when the SELECT instruction is an instruction not directed to the unit. For the processing flow of this embodiment, reference may be made to the above example 3.
在又一实施例中, 上述步骤 S50包括: 生成指向某一非接触协议单元的请求选择应答指令; 相应的, 上述步骤 S20包括: 对接收到的 RATS指令进行检测, 在 RATS指令为指向本单元的指令时处理指令 并返回响应信息, 在 RATS指令为非指向本单元的指令时忽略该 RATS指令。 本实施 例的处理流程可参照上述示例四。 上述步骤 S20还可包括: 对接收到的数据进行帧同步和时隙同步处理, 并在经过处理后的时隙上发送响应 数据。本发明实施例中, 可以由外部控制器协调各个非接触协议单元 33协同工作, 比 如停止工作或者开始工作。 如果各个非接触协议单元 33在共同的控制器控制下工作, 工作 ISO-14443 Type B类型的 RF单元收到 REQB指令后,非接触协议单元 33在经过 协调后的时隙上发送响应数据, 以减少碰撞概率。 以上仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利用本发 明说明书及附图内容所作的等效结构或等效流程变换, 或直接或间接运用在其他相关 的技术领域, 均同理包括在本发明的专利保护范围内。 工业实用性 本发明提供的上述技术方案, 可以应用于复用射频前端的应用过程中, 通过在非 接触协议单元和射频单元之间设置复用单元并对非接触协议单元和射频单元进行改 进, 实现了多个非接触协议单元复用同一个射频单元, 多个非接触协议单元同时独立 工作, 可以同时处于激活状态, 读卡器可以通过轮训的方式和每个非接触协议单元进 行数据传输。 因此非接触协议单元连接的多个 SE可以同时工作, 数据可以被同时读 取。 读卡器根据用户交互或者应用程序的来决定和具体的 SE通信, 从而减少了通信 过程中用户和终端交互的过程。 In a further embodiment, the step S50 includes: generating a request selection response instruction directed to a non-contact protocol unit; correspondingly, the foregoing step S20 includes: detecting the received RATS instruction, where the RATS instruction is directed to the unit The instruction processing instruction and returning the response information, and the RATS instruction is ignored when the RATS instruction is an instruction that does not point to the unit. For the processing flow of this embodiment, reference may be made to the above example four. The above step S20 may further include: performing frame synchronization and slot synchronization processing on the received data, and transmitting the response data on the processed time slot. In the embodiment of the present invention, each of the non-contact protocol units 33 may be coordinated by an external controller to work in cooperation, such as stopping work or starting work. If each non-contact protocol unit 33 operates under the control of a common controller, after the RF unit of the working ISO-14443 Type B type receives the REQB command, the non-contact protocol unit 33 transmits the response data on the coordinated time slot to Reduce the probability of collision. The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are used directly or indirectly in other related technical fields. The same is included in the scope of patent protection of the present invention. INDUSTRIAL APPLICABILITY The above technical solution provided by the present invention can be applied to an application process of multiplexing a radio frequency front end, by providing a multiplexing unit between the non-contact protocol unit and the radio frequency unit, and improving the non-contact protocol unit and the radio frequency unit, A plurality of non-contact protocol units are multiplexed to the same radio unit, and the plurality of non-contact protocol units work independently at the same time, and can be activated at the same time, and the card reader can perform data transmission by means of rotation and each non-contact protocol unit. Therefore, multiple SEs connected by the contactless protocol unit can work simultaneously, and data can be read simultaneously. The card reader decides to communicate with the specific SE according to user interaction or application, thereby reducing the process of user and terminal interaction during communication.

Claims

权 利 要 求 书 、 一种复用射频前端的系统, 包括读卡器和移动终端, 所述移动终端包括射频单 元、 复用单元和非接触协议单元, 所述复用单元, 设置为将从射频单元接收到的指令分发给各非接触协议单 元, 以及对各非接触协议单元发送的响应数据进行判决, 并在参与判决的多个 响应数据的比特位不同时, 输出碰撞数据至射频单元;  The invention provides a system for multiplexing a radio frequency front end, comprising a card reader and a mobile terminal, wherein the mobile terminal comprises a radio frequency unit, a multiplexing unit and a non-contact protocol unit, and the multiplexing unit is configured as a slave radio unit The received command is distributed to each contactless protocol unit, and the response data sent by each contactless protocol unit is determined, and when the bits of the plurality of response data participating in the decision are different, the collision data is output to the radio frequency unit;
所述射频单元, 设置为接收并对碰撞数据进行调制处理, 将调制处理后的 数据用射频调制信号发送至读卡器, 以及接收读卡器发送的指令;  The radio frequency unit is configured to receive and modulate the collision data, send the modulated data to the card reader with the radio frequency modulation signal, and receive the instruction sent by the card reader;
若干所述非接触协议单元, 设置为接收复用单元分发的读卡器指令并对该 指令进行解析, 根据解析结果发送响应数据至复用单元; 所述读卡器设置为在接收到无法识别的射频调制信号时, 重新生成包含非 接触协议单元连接标识符的读卡指令并发送至复用单元。 、 如权利要求 1所述的复用射频前端的系统, 其中, 所述复用单元还设置为: 当与射频前端进行数据交互的支路只有 1个时, 直接输出原始数据至射频 单元。 、 如权利要求 2所述的复用射频前端的系统, 其中, 所述射频单元具体设置为: 当输入的数据为原始数据时, 按照 IS014443 协议调制产生相应的射频信 号;  The plurality of contactless protocol units are configured to receive the card reader command distributed by the multiplexing unit and parse the command, and send the response data to the multiplexing unit according to the parsing result; the card reader is set to be unrecognized after receiving When the radio frequency modulates the signal, the card reading instruction including the non-contact protocol unit connection identifier is regenerated and sent to the multiplexing unit. The system for multiplexing a radio frequency front end according to claim 1, wherein the multiplexing unit is further configured to: directly output the original data to the radio frequency unit when there is only one branch for data interaction with the radio frequency front end. The system for multiplexing a radio frequency front end according to claim 2, wherein the radio frequency unit is specifically configured to: when the input data is original data, generate a corresponding radio frequency signal according to the IS014443 protocol modulation;
当输入的数据为碰撞数据时, 产生无法被读卡器识别的射频调制信号。 、 如权利要求 3所述的复用射频前端的系统, 其中, 所述读卡器包括: 防冲突指 令生成单元, 设置为生成防冲突指令并发送至复用单元; 所述非接触协议单元设置为: 对接收到的防冲突指令进行解析, 在该防冲 突指令为指向本单元的信息时发送响应指令; 该响应指令包含用户身份证明信 息。 、 如权利要求 1所述的复用射频前端的系统, 其中, 所述防冲突指令生成单元还 设置为: 对接收到的响应指令进行检测, 并根据响应指令中的用户身份证明信 息生成对应所述若干非接触协议单元的防冲突指令。 、 如权利要求 1所述的复用射频前端的系统, 其中, 所述读卡器还包括: 选择指 令生成单元, 设置为生成指向某一非接触协议单元的选择指令; 所述非接触协议单元设置为: When the input data is collision data, a radio frequency modulation signal that cannot be recognized by the card reader is generated. The system for multiplexing a radio frequency front end according to claim 3, wherein the card reader comprises: an anti-collision command generating unit configured to generate an anti-collision command and send to the multiplexing unit; the non-contact protocol unit setting The method is: parsing the received anti-collision instruction, and sending a response instruction when the anti-collision instruction is information pointing to the unit; the response instruction includes user identity information. The system for multiplexing a radio frequency front end according to claim 1, wherein the anti-collision instruction generating unit is further configured to: detect the received response instruction, and generate a corresponding location according to the user identity verification information in the response instruction. Anti-collision instructions for a number of contactless protocol units. The system for multiplexing a radio frequency front end according to claim 1, wherein the card reader further comprises: a selection instruction generating unit configured to generate a selection instruction directed to a non-contact protocol unit; the non-contact protocol unit Set as:
对接收到的选择指令进行检测, 在选择指令为指向本单元的指令时发送响 应指令, 在选择指令为非指向本单元的指令时, 对该选择指令作丢弃处理。 、 如权利要求 1所述的复用射频前端的系统, 其中, 所述读卡器还包括: 请求选 择应答指令生成单元, 设置为生成指向某一非接触协议单元的请求选择应答指 令;  The received selection instruction is detected, and the response instruction is sent when the selection instruction is an instruction directed to the unit, and the selection instruction is discarded when the selection instruction is an instruction not directed to the unit. The system for multiplexing a radio frequency front end according to claim 1, wherein the card reader further comprises: a request selection response command generating unit configured to generate a request selection response command directed to a non-contact protocol unit;
所述非接触协议单元设置为:  The contactless protocol unit is set to:
对接收到的请求选择应答指令进行检测, 在请求选择应答指令为指向本单 元的指令时处理指令并返回响应信息, 在请求选择应答指令为非指向本单元的 指令时忽略该请求选择应答指令。 、 如权利要求 1至 7中任一项所述的复用射频前端的系统, 其中, 所述非接触协 议单元还设置为: 对接收到的数据进行帧同步和时隙同步处理, 并在经过处理后的时隙上发 送响应数据。 、 一种复用射频前端的方法, 包括:  The received request selection response command is detected. When the request selection response command is an instruction directed to the unit, the instruction is processed and the response information is returned. When the request selection response command is an instruction not directed to the unit, the request selection response command is ignored. The system for multiplexing a radio frequency front end according to any one of claims 1 to 7, wherein the non-contact protocol unit is further configured to: perform frame synchronization and time slot synchronization processing on the received data, and The response data is transmitted on the processed time slot. A method of multiplexing a radio frequency front end, comprising:
复用单元将从射频单元接收到的指令分发给各非接触协议单元; 非接触协议单元接收分发的读卡器指令并对该指令进行解析, 根据解析结 果发送响应数据; 复用单元对各非接触协议单元发送的响应数据进行判决, 并在参与判决的 多个响应数据的比特位不同时, 输出碰撞数据至射频单元; 射频单元接收并对碰撞数据进行调制处理, 将调制处理后的数据用射频调 制信号发送至读卡器; 读卡器在接收到无法识别的射频调制信号时, 重新生成包含非接触协议单 元连接标识符的读卡指令并输出。 权利要求 9所述的复用射频前端的方法, 其中, 还包括: 当与射频前端进行数据交互的支路只有 1个时,直接输出数据至射频单元。 、 权利要求 10所述的复用射频前端的方法,其中,所述接收并对碰撞数据进行调 制处理包括: The multiplexing unit distributes the instructions received from the radio frequency unit to the non-contact protocol units; the non-contact protocol unit receives the distributed card reader command and parses the command, and sends the response data according to the parsing result; The response data sent by the contact protocol unit is determined, and when the bits of the plurality of response data participating in the decision are different, the collision data is output to the radio frequency unit; the radio frequency unit receives and modulates the collision data, and uses the modulated data. The RF modulated signal is sent to the card reader; when receiving the unrecognized RF modulated signal, the card reader regenerates the card reading command including the contact identifier of the contactless protocol unit and outputs it. The method of multiplexing a radio frequency front end according to claim 9, further comprising: directly outputting data to the radio frequency unit when there is only one branch for data interaction with the radio frequency front end. The method of multiplexing a radio frequency front end according to claim 10, wherein the receiving and modulating the collision data comprises:
当输入的数据为原始数据时, 按照 IS014443 协议调制产生相应的射频信 号;  When the input data is original data, the corresponding RF signal is generated according to the IS014443 protocol modulation;
当输入的数据为碰撞数据时, 产生无法被读卡器识别的射频调制信号。 、 权利要求 9所述的复用射频前端的方法, 其中, 所述读卡器在接收到无法识别 的射频调制信号时, 重新生成包含非接触协议单元连接标识符的读卡指令并输 出包括: 生成防冲突指令并发送至复用单元; 所述非接触协议单元接收分发的读卡器指令并对该指令进行解析, 根据解 析结果发送响应数据的步骤包括: 对接收到的防冲突指令进行解析, 在该防冲 突指令为指向本单元的信息时发送响应指令; 该响应指令包含用户身份证明信 息。 、 权利要求 12所述的复用射频前端的方法, 其中, 所述生成防冲突指令包括: 对接收到的响应指令进行检测, 并根据响应指令中的用户身份证明信息生 成对应所述若干非接触协议单元的防冲突指令。 、 权利要求 9所述的复用射频前端的方法, 其中, 所述读卡器在接收到无法识别 的射频调制信号时, 重新生成包含非接触协议单元连接标识符的读卡指令并输 出包括: 生成指向某一非接触协议单元的选择指令;  When the input data is collision data, a radio frequency modulation signal that cannot be recognized by the card reader is generated. The method for multiplexing a radio frequency front end according to claim 9, wherein the card reader regenerates a card reading command including a contactless protocol unit connection identifier when the unreadable radio frequency modulation signal is received, and the output includes: Generating an anti-collision instruction and transmitting the anti-collision instruction to the multiplexing unit; the non-contact protocol unit receives the distributed card reader instruction and parses the instruction, and the step of transmitting the response data according to the parsing result comprises: parsing the received anti-collision instruction And sending a response instruction when the anti-collision instruction is information pointing to the unit; the response instruction includes user identity information. The method of multiplexing the radio frequency front end according to claim 12, wherein the generating the anti-collision instruction comprises: detecting the received response instruction, and generating, according to the user identity certification information in the response instruction, the corresponding non-contact Anti-collision instructions for protocol units. The method for multiplexing a radio frequency front end according to claim 9, wherein the card reader regenerates a card reading command including a contactless protocol unit connection identifier when the unreadable radio frequency modulation signal is received, and the output includes: Generating a selection instruction directed to a contactless protocol unit;
所述非接触协议单元接收分发的读卡器指令并对该指令进行解析, 根据解 析结果发送响应数据的步骤包括: 对接收到的选择指令进行检测, 在选择指令为指向本单元的指令时发送响 应指令, 在选择指令为非指向本单元的指令时, 对该选择指令作丢弃处理。 、 权利要求 9所述的复用射频前端的方法, 其中, 所述读卡器在接收到无法识别 的射频调制信号时, 重新生成包含非接触协议单元连接标识符的读卡指令并输 出包括: 生成指向某一非接触协议单元的请求选择应答指令; 所述非接触协议单元接收分发的读卡器指令并对该指令进行解析, 根据解 析结果发送响应数据的步骤包括: 对接收到的请求选择应答指令进行检测, 在请求选择应答指令为指向本单 元的指令时处理指令并返回响应信息, 在请求选择应答指令为非指向本单元的 指令时忽略该请求选择应答指令。 权利要求 9至 15中任一项所述的复用射频前端的方法,其中,所述非接触协议 单元接收分发的读卡器指令并对该指令进行解析, 根据解析结果发送响应数据 还包括: The non-contact protocol unit receives the distributed card reader command and parses the command, and the step of transmitting the response data according to the parsing result includes: detecting the received selection instruction, and sending when the selecting instruction is an instruction directed to the unit In response to the instruction, when the selection instruction is an instruction that is not directed to the unit, the selection instruction is discarded. The method for multiplexing a radio frequency front end according to claim 9, wherein the card reader regenerates a card reading command including a contactless protocol unit connection identifier when the unreadable radio frequency modulation signal is received, and the output includes: Generating a request selection response instruction directed to a contactless protocol unit; The non-contact protocol unit receives the distributed card reader command and parses the command, and the step of transmitting the response data according to the parsing result includes: detecting the received request selection response command, and requesting the selection response command to point to the unit The instruction processing instruction returns a response message, and ignores the request selection response instruction when the request selection response instruction is an instruction that does not point to the unit. The method for multiplexing a radio frequency front end according to any one of claims 9 to 15, wherein the non-contact protocol unit receives the distributed card reader command and parses the command, and the sending the response data according to the parsing result further includes:
对接收到的数据进行帧同步和时隙同步处理, 并在经过处理后的时隙上发 送响应数据。  The received data is subjected to frame synchronization and slot synchronization processing, and the response data is transmitted on the processed time slot.
PCT/CN2014/080544 2013-09-11 2014-06-23 Method and system for multiplexing radio-frequency front-end WO2015035815A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310413017.5 2013-09-11
CN201310413017.5A CN104426572A (en) 2013-09-11 2013-09-11 Method and system for multiplexing radio-frequency front end

Publications (1)

Publication Number Publication Date
WO2015035815A1 true WO2015035815A1 (en) 2015-03-19

Family

ID=52665033

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/080544 WO2015035815A1 (en) 2013-09-11 2014-06-23 Method and system for multiplexing radio-frequency front-end

Country Status (2)

Country Link
CN (1) CN104426572A (en)
WO (1) WO2015035815A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107784243B (en) * 2017-09-30 2020-11-03 飞天诚信科技股份有限公司 Method and device for realizing communication of card reader equipment in android system
CN108011697B (en) * 2017-11-30 2020-09-18 艾体威尔电子技术(北京)有限公司 Data exchange communication method between non-contact card and terminal
CN115720101A (en) * 2023-01-09 2023-02-28 北京紫光青藤微系统有限公司 Communication method and near field communication equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101501735A (en) * 2006-08-04 2009-08-05 英赛康特雷斯公司 Method of routing incoming application data in an NFC chipset, for identification of the application
CN102047223A (en) * 2008-03-27 2011-05-04 摩托罗拉移动公司 Method and apparatus for automatic near field communication application selection in an electronic device
CN103065107A (en) * 2011-10-21 2013-04-24 中国移动通信集团公司 Method and device of achieving non-contact card swiping application
CN103222291A (en) * 2010-11-17 2013-07-24 捷讯研究有限公司 Application routing configuration for NFC controller supporting multiple NFC execution environments NFCEE

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007512724A (en) * 2003-10-15 2007-05-17 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Communication system and collision prevention method
DE102006027200A1 (en) * 2006-06-12 2007-12-27 Giesecke & Devrient Gmbh Data carrier and method for contactless communication between the data carrier and a reading device
JP4462341B2 (en) * 2007-12-18 2010-05-12 ソニー株式会社 Information processing apparatus and method, and program
FR2968804B1 (en) * 2010-12-13 2013-01-04 St Microelectronics Rousset METHOD FOR MANAGING THE DIALOGUE BETWEEN EQUIPMENT AND AT LEAST ONE MULTI-APPLICATION OBJECT SUCH AS A CONTACTLESS CHIP CARD AND CORRESPONDING OBJECT

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101501735A (en) * 2006-08-04 2009-08-05 英赛康特雷斯公司 Method of routing incoming application data in an NFC chipset, for identification of the application
CN102047223A (en) * 2008-03-27 2011-05-04 摩托罗拉移动公司 Method and apparatus for automatic near field communication application selection in an electronic device
CN103222291A (en) * 2010-11-17 2013-07-24 捷讯研究有限公司 Application routing configuration for NFC controller supporting multiple NFC execution environments NFCEE
CN103065107A (en) * 2011-10-21 2013-04-24 中国移动通信集团公司 Method and device of achieving non-contact card swiping application

Also Published As

Publication number Publication date
CN104426572A (en) 2015-03-18

Similar Documents

Publication Publication Date Title
JP5641323B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP5633336B2 (en) COMMUNICATION DEVICE AND COMMUNICATION METHOD, COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL METHOD, AND PROGRAM
US8874816B2 (en) Resolving address conflicts for master-slave communications over a single-wire bus between a master circuit and at least two slave circuits
CN104317765B (en) A kind of one-to-many communication system and implementation method based on serial communication
EP2861037B1 (en) Radio frequency communication method, device and terminal device for near field communication
WO2022227818A1 (en) Method and apparatus for network configuration, and smart home device
CN104135339A (en) Bluetooth low-power-consumption communication method, Bluetooth equipment and system
EP2565817A1 (en) Method and apparatus for close proximity device discovery
WO2019037458A1 (en) Communication method and apparatus
US9628149B2 (en) Emulation of multiple NFC devices inside a communication device
JP2016524880A (en) NFC radio frequency communication control method, apparatus, and system
WO2015035815A1 (en) Method and system for multiplexing radio-frequency front-end
US10243768B2 (en) Configuration of a near-field communication router according to the modulation type
US9369319B1 (en) Wireless communication device and method for identifying the type of modulation among a plurality of modulation types in a near filed communication device
CN103986610A (en) Communication interface matching method, device and controller
EP2782400A1 (en) NFC controller architecture for simultaneous emulation of multiple NFC technologies in one NFC listen device
JP6308313B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE COMMUNICATION METHOD, COMMUNICATION SYSTEM, SEMICONDUCTOR, SEMICONDUCTOR COMMUNICATION METHOD, AND PROGRAM
JP6086255B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE COMMUNICATION METHOD, COMMUNICATION SYSTEM, SEMICONDUCTOR, SEMICONDUCTOR COMMUNICATION METHOD, AND PROGRAM
EP2802179A1 (en) Concurrent activation and data exchange with multiple NFC-A devices
JP6575623B2 (en) Communication apparatus and communication method
KR101651317B1 (en) Method and system for processing a plurality of radiofrequency communication streams by way of an integrated circuit card
JP5835632B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP6760452B2 (en) Communication device and communication method
WO2011107369A1 (en) Method of selecting a protocol
JP6011896B2 (en) Communication apparatus and communication method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14843552

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14843552

Country of ref document: EP

Kind code of ref document: A1