CN102957454A - Method and system for utilizing magnetic bidirectional communication - Google Patents

Method and system for utilizing magnetic bidirectional communication Download PDF

Info

Publication number
CN102957454A
CN102957454A CN2011102484123A CN201110248412A CN102957454A CN 102957454 A CN102957454 A CN 102957454A CN 2011102484123 A CN2011102484123 A CN 2011102484123A CN 201110248412 A CN201110248412 A CN 201110248412A CN 102957454 A CN102957454 A CN 102957454A
Authority
CN
China
Prior art keywords
radio
magnetic
frequency
frequency unit
field signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011102484123A
Other languages
Chinese (zh)
Other versions
CN102957454B (en
Inventor
李富仪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nationz Technologies Inc
Original Assignee
Nationz Technologies Inc
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 Nationz Technologies Inc filed Critical Nationz Technologies Inc
Priority to CN201110248412.3A priority Critical patent/CN102957454B/en
Publication of CN102957454A publication Critical patent/CN102957454A/en
Application granted granted Critical
Publication of CN102957454B publication Critical patent/CN102957454B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Near-Field Transmission Systems (AREA)

Abstract

The invention relates to a method and a system for utilizing magnetic bidirectional communication. The method includes enabling a first magnetic radio frequency device and a second magnetic radio frequency device which are in radio frequency communication to bidirectionally communicate by means of magnetic field signals before accessing to radio frequency communication, and starting radio frequency communication after determining a radio frequency communication protocol version, a radio frequency communication frequency point, address and session keys used in radio frequency communication through negotiation only when only the first magnetic radio frequency device is capable of accurately analyzing second alternative magnetic field signals fed back by the second magnetic radio frequency device and judging the identity to be legal. By the method and the system for utilizing magnetic bidirectional communication, identities of two parties can be determined through bidirectional communication by means of magnetic field signals before radio frequency communication, and further, the problem about failure in negotiation of protocol versions used in the radio frequency communication before radio frequency communication is solved, and communication safety is improved.

Description

A kind of method and system of utilizing the magnetic two-way communication
Technical field
The present invention relates to wireless communication field, be specifically related to a kind of method and system of utilizing the magnetic two-way communication.
Background technology
Along with popularizing of portable terminal, it is very urgent that the demand of utilizing portable terminal to pay by mails becomes, multiple implementation is arranged at present, and wherein a kind of scheme is by at portable terminal SIM(Subscriber Identity Module) card or SD(Secure Digital Memory Card) integrated 2.4G radio-frequency communication module, magnetic signal magnetic induction module realize in the smart card such as card.The magnetic flux of this scheme letter is one-way communication, detects the magnetic signal intensity that is coupled to and the magnetic information of reception by being contained in SIM card in the mobile phone or SD card, and the radio-frequency communication module that activates on SIM card or the SD card is carried out the rf data exchange.The exchange of this rf data generally is applied in stored value card payment, the public transport subway numerous areas of swiping the card etc.
Believe in the radio-frequency (RF) communication system of one-way communication at magnetic flux, card reader as the first magnetic radio-frequency unit sends magnetic information, receive magnetic information as the second magnetic radio-frequency unit in the SIM card that is contained in portable terminal or the SD card, after the second magnetic radio-frequency unit receives the magnetic channel information, according to disclosed transformation for mula it is carried out conversion, generate frequency, address and session key that radio communication is used.In electronic payment process, Security of the system depends on the communication distance of magnetic channel to a great extent.When the first magnetic radio-frequency unit end is maliciously tampered, when strengthening its magnetic signal transmitting power, will cause being mounted with the portable terminal of the second magnetic radio-frequency unit and the first magnetic radio-frequency unit communication distance that this is tampered and increase, thereby cause the distance of swiping the card to surpass the unsafe factors such as the predetermined distance of swiping the card; Be that the employed communication protocol version of radio communication both sides can not be consulted out before radio communication, must could determine alternately by means of extra radio frequency in the radio-frequency (RF) communication system of one-way communication at the magnetic flux letter in addition.
Therefore, for in the radio-frequency (RF) communication system of one-way communication, ubiquity the be maliciously tampered distance that causes swiping the card of the first magnetic radio-frequency unit end magnetic signal transmitting power and is increased far away, card punching safety reduction and the employed communication protocol version of radio communication both sides the problem such as can not determine before radio communication at magnetic flux letter.
Summary of the invention
Technical problem to be solved by this invention provides a kind of method and system of utilizing the magnetic two-way communication, can utilize field signal to carry out two-way communication with realization both sides before carrying out radio communication legal to determine one's identity, thereby improves the fail safe of radio communication.
The present invention is in order to solve the problems of the technologies described above, disclose a kind of method of utilizing the magnetic two-way communication, the method is legal and carry out data interaction by the radio-frequency channel with the identity of determining communicating pair by two-way parsing alternating magnetic field signal between described the first magnetic radio-frequency unit and the second magnetic radio-frequency unit.
Further, described method comprises the steps:
Described the first magnetic radio-frequency unit is by the first magnetic channels transmit the first alternating magnetic field signal, and described the first alternating magnetic field signal comprises the first random number of the first magnetic radio-frequency unit generation and the first radio frequency protocol version information that the first magnetic radio-frequency unit is supported;
Described the second magnetic radio-frequency unit detects magnetic signal intensity and also receives the first alternating magnetic field signal, by the first alternating magnetic field signal is resolved to generate the second alternating magnetic field signal, and through the second magnetic channels transmit the second alternating magnetic field signal;
Described the first magnetic radio-frequency unit receives the second alternating magnetic field signal, and according to the identity of the comparative result of the second alternating magnetic field signal and the first alternating magnetic field signal being determined communicating pair to judge between the first magnetic radio-frequency unit and the second magnetic radio-frequency unit whether can carry out data interaction by the radio-frequency channel.
Further, the first random number that described the first magnetic radio-frequency unit generates generates the First Characteristic code through the first magnetic radio-frequency unit conversion, and described First Characteristic code is kept in the first magnetic radio-frequency unit.
Further, the method of described " the second magnetic radio-frequency unit detects magnetic signal intensity and also receives the first alternating magnetic field signal; by the first alternating magnetic field signal is resolved to generate the second alternating magnetic field signal, and through the second magnetic channels transmit the second alternating magnetic field signal " comprises the steps:
Described the second magnetic radio-frequency unit detects magnetic signal intensity and receives the first alternating magnetic field signal by the first magnetic channel;
The first radio frequency protocol version information that described the second magnetic radio-frequency unit is supported by the first alternating magnetic field signal being resolved obtain the first random number and the first magnetic radio-frequency unit generates the second random number simultaneously;
First random number of described the second magnetic radio-frequency unit by parsing, and the first random number is carried out conversion generate the Second Characteristic code;
The first radio frequency protocol version information that described the second magnetic radio-frequency unit is supported by the first magnetic radio-frequency unit that parses, and the radio frequency protocol version information of supporting according to self is determined the second radio frequency protocol version information that both sides support when carrying out radio communication mutually;
Described the second magnetic radio-frequency unit is by the second magnetic channels transmit the second random number, Second Characteristic code and the second radio frequency protocol version information.
Further, the method of described " the first magnetic radio-frequency unit receives the second alternating magnetic field signal, and according to the identity of the comparative result of the second alternating magnetic field signal and the first alternating magnetic field signal being determined communicating pair to judge between the first magnetic radio-frequency unit and the second magnetic radio-frequency unit whether can carry out data interaction by the radio-frequency channel " comprises the steps:
Described the first magnetic radio-frequency unit receives the second alternating magnetic field signal by the second magnetic channel, and the second alternating magnetic field signal is resolved to obtain the second random number, Second Characteristic code and the second radio frequency protocol version information;
Described the first magnetic radio-frequency unit compares Second Characteristic code and the First Characteristic code that parses, if both equate, the communications identities that then shows the first magnetic radio-frequency unit and the second magnetic radio-frequency unit both sides is legal, continues the following step and makes both sides carry out exchanges data by the radio-frequency channel; Otherwise double-terminating communication;
Described the first magnetic radio-frequency unit is resolved the first random number and the second random number according to identical method with the second magnetic radio-frequency unit, carries out address, frequency and the session key of radio communication to obtain both sides;
It is mutual that described the first magnetic radio-frequency unit and the second magnetic radio-frequency unit carry out rf data according to the second radio frequency protocol version information of determining and identical radio communication address, frequency and session key.
The invention also discloses a kind of system that utilizes the magnetic two-way communication, comprise the first magnetic radio-frequency unit and the second magnetic radio-frequency unit, legal and carry out data interaction by the radio-frequency channel with the identity of determining communicating pair by two-way parsing alternating magnetic field signal between described the first magnetic radio-frequency unit and the second magnetic radio-frequency unit.
Further, described the first magnetic radio-frequency unit, be used for by the first magnetic channels transmit the first alternating magnetic field signal, described the first alternating magnetic field signal comprises the first random number of the first magnetic radio-frequency unit generation and the first radio frequency protocol version information that the first magnetic radio-frequency unit is supported; And receive the second alternating magnetic field signal, according to the identity of the comparative result of the second alternating magnetic field signal and the first alternating magnetic field signal being determined communicating pair to judge between the first magnetic radio-frequency unit and the second magnetic radio-frequency unit whether can carry out data interaction by the radio-frequency channel;
Described the second magnetic radio-frequency unit, for detection of magnetic signal intensity and receive the first alternating magnetic field signal, by the first alternating magnetic field signal is resolved to generate the second alternating magnetic field signal, and through the second magnetic channels transmit the second alternating magnetic field signal.
Further, described the first magnetic radio-frequency unit comprises at least one first primary processor, at least one be used for to generate first randomizer of the first random number, first magnetic signal transmitter module that at least one is used for emission the first alternating magnetic field signal, first magnetic signal receiver module that at least one is used for receiving the second alternating magnetic field signal, first radio-frequency (RF) receiving and transmission module that at least one is used for the transmitting-receiving rf data, at least one is used for the rf data of transmitting-receiving is carried out the first encryption and decryption module of encryption and decryption;
Described the second magnetic radio-frequency unit is included in few second primary processor, at least one is used for generating second randomizer of the second random number, second magnetic signal transmitter module that at least one is used for emission the second alternating magnetic field signal, second magnetic signal receiver module that at least one is used for receiving the first alternating magnetic field signal, second radio-frequency (RF) receiving and transmission module that at least one is used for the transmitting-receiving rf data, at least one is used for the rf data of transmitting-receiving is carried out the second encryption and decryption module of encryption and decryption.
Further, described the first primary processor, the first randomizer and the first magnetic signal transmitter module are connected in series successively; Described the first primary processor is connected with the first magnetic signal receiver module; Described the first primary processor, the first encryption and decryption module and the first radio-frequency (RF) receiving and transmission module are connected in series successively;
Described the second primary processor is connected with the second magnetic signal receiver module; Described the second primary processor, the second randomizer and the second magnetic signal transmitter module are connected in series successively; Described the second primary processor, the second encryption and decryption module and the second radio-frequency (RF) receiving and transmission module are connected in series successively.
Further, described the first magnetic signal transmitter module comprises at least one coding circuit, at least one modulation circuit, at least one drive circuit and at least one low frequencies coil, and described coding circuit, modulation circuit, drive circuit and low frequencies coil are connected in series successively; Described the second magnetic signal transmitter module comprises at least one coding circuit, at least one modulation circuit, at least one drive circuit and at least one low frequencies coil, and described coding circuit, modulation circuit, drive circuit and low frequencies coil are connected in series successively.
Further, described the first magnetic signal receiver module comprises at least one low-frequency magnetic sensor circuit, at least one low frequency filtering and amplifying circuit and at least one low frequency demodulator circuit, and described low-frequency magnetic sensor circuit, low frequency filtering and amplifying circuit and low frequency demodulator circuit are connected in series successively; Described the second magnetic signal receiver module comprises at least one low-frequency magnetic sensor circuit, at least one low frequency filtering and amplifying circuit and the judgement of at least one thresholding and demodulator circuit, and described low-frequency magnetic sensor circuit, low frequency filtering and amplifying circuit and thresholding are judged and demodulator circuit is connected in series successively.
Further, described the first radio-frequency (RF) receiving and transmission module comprises at least one radio-frequency (RF) transmit-receive circuit and a radio-frequency antenna, and described radio-frequency (RF) transmit-receive circuit is connected with radio-frequency antenna; Described the second radio-frequency (RF) receiving and transmission module comprises at least one radio-frequency (RF) transmit-receive circuit and a radio-frequency antenna, and described radio-frequency (RF) transmit-receive circuit is connected with radio-frequency antenna.
Adopt the beneficial effect of the invention described above technical scheme to be: the present invention makes the both sides that carry out radio communication utilize field signal to carry out two-way communication before access radio communication, frequency, address and the session key of employed radio communication protocol version, radio communication when legal and both sides carry out radio communication with the identity of determining communicating pair, thus the fail safe of radio communication improved.
Description of drawings
Fig. 1 is the system logic structure schematic diagram that utilizes the magnetic two-way communication in the embodiment of the invention;
Fig. 2 is the structural representation that utilizes the first magnetic radio-frequency unit of magnetic intercommunication system in the embodiment of the invention;
Fig. 3 is the structural representation that utilizes the second magnetic radio-frequency unit of magnetic intercommunication system in the embodiment of the invention;
Fig. 4 is the method flow diagram that utilizes the magnetic two-way communication in the embodiment of the invention;
Fig. 5 is the method implementing procedure figure that utilizes the magnetic two-way communication in the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing principle of the present invention and feature are described, institute gives an actual example and only is used for explaining the present invention, is not be used to limiting scope of the present invention.
One embodiment of the invention provides a kind of system that utilizes the magnetic two-way communication, described system comprises at least one first magnetic radio-frequency unit and at least one second magnetic radio-frequency unit, and is legal and carry out data interaction by the radio-frequency channel with the identity of determining communicating pair by two-way parsing alternating magnetic field signal between described the first magnetic radio-frequency unit and the second magnetic radio-frequency unit.
Fig. 1 is the system logic structure schematic diagram that utilizes the magnetic two-way communication in the embodiment of the invention, below in conjunction with Fig. 1 system of the present invention is elaborated, as shown in Figure 1: described system comprises the first magnetic radio-frequency unit 100 and the second magnetic radio-frequency unit 200, in embodiments of the present invention, described the first magnetic radio-frequency unit 100 can be the card reader part; Described the second magnetic radio-frequency unit 200 can place portable terminal or place portable terminal interior SIM card, UIM card, usim card, TF card or SD card, wherein, described portable terminal refers to transportable terminal, can be mobile phone, personal digital assistant PDA or notebook computer etc.Whether legal with the identity of determining both sides by magnetic channel 301,302 two-way parsing alternating magnetic field signals between described the first magnetic radio-frequency unit 100 and the second magnetic radio-frequency unit 200, carry out data interaction if both sides' identity is legal by radio-frequency channel 303.
Fig. 2 is the structural representation that utilizes the first magnetic radio-frequency unit of magnetic intercommunication system in the embodiment of the invention, as shown in Figure 2: in the present embodiment, described the first magnetic radio-frequency unit 100 comprises at least one first primary processor 102, at least one is used for generating the first randomizer 101 of the first random number, at least one is used for the first magnetic signal transmitter module 120 of emission the first alternating magnetic field signal, at least one is used for receiving the first magnetic signal receiver module 130 of the second alternating magnetic field signal, at least one is used for the first radio-frequency (RF) receiving and transmission module 140 of transmitting-receiving rf data, at least one is used for the rf data of transmitting-receiving is carried out the first encryption and decryption module 103 of encryption and decryption.Wherein, described the first primary processor 102, the first randomizer 101 and the first magnetic signal transmitter module 120 are connected in series successively; Described the first primary processor 102 is connected with the first magnetic signal receiver module 130; Described the first primary processor 102, the first encryption and decryption module 103 and the first radio-frequency (RF) receiving and transmission module 140 are connected in series successively.
In a specific embodiment of the present invention, described the first magnetic signal transmitter module 120 comprises at least one coding circuit 121, at least one modulation circuit 122, at least one drive circuit 123 and at least one low frequencies coil 124, and described coding circuit 121, modulation circuit 122, drive circuit 123 and low frequencies coil 124 are connected in series successively; Described the first magnetic signal receiver module 130 comprises at least one low-frequency magnetic sensor circuit 133, at least one low frequency filtering and amplifying circuit 132 and at least one low frequency demodulator circuit 131, and described low-frequency magnetic sensor circuit 133, low frequency filtering and amplifying circuit 132 and low frequency demodulator circuit 131 are connected in series successively; Described the first radio-frequency (RF) receiving and transmission module 140 comprises at least one radio-frequency (RF) transmit-receive circuit 141 and a radio-frequency antenna 142, and described radio-frequency (RF) transmit-receive circuit 141 is connected with radio-frequency antenna 142.
Fig. 3 is the structural representation that utilizes the second magnetic radio-frequency unit of magnetic intercommunication system in the embodiment of the invention, as shown in Figure 3: in this embodiment, described the second magnetic radio-frequency unit 200 is included in few second primary processor 202, at least one is used for generating the second randomizer 201 of the second random number, at least one is used for the second magnetic signal transmitter module 230 of emission the second alternating magnetic field signal, at least one is used for receiving the second magnetic signal receiver module 220 of the first alternating magnetic field signal, at least one is used for the second radio-frequency (RF) receiving and transmission module 240 of transmitting-receiving rf data, at least one is used for the rf data of transmitting-receiving is carried out the second encryption and decryption module 203 of encryption and decryption.Wherein, described the second primary processor 202 is connected with the second magnetic signal receiver module 230; Described the second primary processor 202, the second randomizer 201 and the second magnetic signal transmitter module 220 are connected in series successively; Described the second primary processor 202, the second encryption and decryption module 203 and the second radio-frequency (RF) receiving and transmission module 240 are connected in series successively.
In a specific embodiment of the present invention, described the second magnetic signal transmitter module 230 comprises at least one coding circuit 234, at least one modulation circuit 233, at least one drive circuit 232 and at least one low frequencies coil 231, and described coding circuit 234, modulation circuit 233, drive circuit 232 and low frequencies coil 231 are connected in series successively; Described the second magnetic signal receiver module 220 comprises at least one low-frequency magnetic sensor circuit 221, at least one low frequency filtering and amplifying circuit 222 and the judgement of at least one thresholding and demodulator circuit 223, and described low-frequency magnetic sensor circuit 221, low frequency filtering and amplifying circuit 222 and thresholding are judged and demodulator circuit 223 is connected in series successively; Described the second radio-frequency (RF) receiving and transmission module 240 comprises at least one radio-frequency (RF) transmit-receive circuit 242 and a radio-frequency antenna 241, and described radio-frequency (RF) transmit-receive circuit 242 is connected with radio-frequency antenna 241.
In the above embodiment of the present invention, described system also has following characteristics: described modulation circuit, demodulator circuit can adopt but be not limited to FSK (Frequency-shift keying) frequency deviation key control mode; Described encryption and decryption module can adopt but be not limited to the 3DES algorithm; Described randomizer can adopt but be not limited to the SHA1 algorithm; Described encryption and decryption module, randomizer can be built in the primary processor, also can use external independently module; Described interface module can be but be not limited to UART, 7816, SDIO interface; Described magnetic channel can be but be not limited to 1k, 2k, 9k, 20k, 25k, 125k.
In this execution mode, through the first magnetic channel 301 emissions the first alternating magnetic field signal, described the first alternating magnetic field signal comprises the first random number R of the first randomizer 101 generations and the first radio frequency protocol version information Pr that the first magnetic radio-frequency unit 100 is supported to described the first magnetic radio-frequency unit 100 by the first magnetic signal transmitter module 120; Described the second magnetic radio-frequency unit 200 detects magnetic signal intensity, receive the first alternating magnetic field signal by the second magnetic signal receiver module 220 by the first magnetic channel 301, and the first alternating magnetic field signal resolved to generate the second alternating magnetic field signal, by the second magnetic channel 302 emissions the second alternating magnetic field signal, carry the second random number that is generated by the second randomizer 201 by the second magnetic signal transmitter module 230 in described the second alternating magnetic field signal; Described the first magnetic radio-frequency unit 100 detects magnetic signal intensity, and receive the second alternating magnetic field signal by the first magnetic signal receiver module 130 by the second magnetic channel 302, and according to the identity of the comparative result of the second alternating magnetic field signal and the first alternating magnetic field signal being determined communicating pair, whether can carry out data interaction by radio-frequency channel 303 between the second radio-frequency (RF) receiving and transmission module 240 with the first radio-frequency (RF) receiving and transmission module 140 of judging the first magnetic radio-frequency unit 100 and the second magnetic radio-frequency unit 200.
The present invention is directed in the mobile communication between the first magnetic radio-frequency unit and the second magnetic radio-frequency unit the closely Verify Your Identity questions of transaction, proposed a kind of by with the first magnetic radio-frequency unit of alternating magnetic field signal transmitting and receiving function and radiofrequency signal transmission-receiving function and the near field communication system that forms of the second magnetic radio-frequency unit with alternating magnetic field signal transmitting and receiving function and radiofrequency signal transmission-receiving function of correspondence with it.The present invention utilizes the alternating magnetic field signal that communication system is authenticated by the identity that the two-way detection of the first magnetic radio-frequency unit to the second magnetic radio-frequency unit and the second magnetic radio-frequency unit to the first magnetic radio-frequency unit reaches communicating pair, the first magnetic radio-frequency unit only has after can correctly be resolved the alternating magnetic field signal of the second magnetic radio-frequency unit and be judged that its identity is legal, just open radio communication and the transaction of swiping the card, so finish magnetic two-way communication control, reach the restriction to the communication bidirectional identification, to guarantee communication security.
Another embodiment of the present invention also provides a kind of method of utilizing the magnetic two-way communication, described method is applied to comprise in the near field communication system of at least one first magnetic radio-frequency unit and at least one the second magnetic radio-frequency unit, and the method is legal and carry out data interaction by the radio-frequency channel with the identity of determining communicating pair by two-way parsing alternating magnetic field signal between described the first magnetic radio-frequency unit and the second magnetic radio-frequency unit.
Fig. 4 is the method flow diagram that utilizes the magnetic two-way communication in the embodiment of the invention, and as shown in Figure 4, described method comprises the steps:
Step S401, described the first magnetic radio-frequency unit is by the first magnetic channels transmit the first alternating magnetic field signal, and described the first alternating magnetic field signal comprises the first random number of the first magnetic radio-frequency unit generation and the first radio frequency protocol version information that the first magnetic radio-frequency unit is supported;
In the present embodiment, described the first alternating magnetic field signal comprises the first random number R of the first magnetic radio-frequency unit generation and the first radio frequency protocol version information P1 that the first magnetic radio-frequency unit is supported, described the first magnetic radio-frequency unit is by the first magnetic channels transmit the first random number R and the first radio frequency protocol version information P1; And the first random number R is carried out conversion generate First Characteristic code R1, simultaneously First Characteristic code R1 is kept in the first magnetic radio-frequency unit.
Step S402, described the second magnetic radio-frequency unit detects magnetic signal intensity and also receives the first alternating magnetic field signal, by the first alternating magnetic field signal is resolved to generate the second alternating magnetic field signal, and through the second magnetic channels transmit the second alternating magnetic field signal;
In the present embodiment, described the second magnetic radio-frequency unit detects magnetic signal intensity and receives the first alternating magnetic field signal by the first magnetic channel, and the first alternating magnetic field signal resolved to obtain the first radio frequency protocol version information P1 that the first random number R and the first magnetic radio-frequency unit are supported, generate simultaneously the second random number C; Then utilize the first random number R that parses, use the transform method identical with the first magnetic radio-frequency unit, the first random number R is carried out conversion generate Second Characteristic code R2; The the first radio frequency protocol version information P1 that supports according to the first magnetic radio-frequency unit that parses simultaneously, the radio frequency protocol version information of supporting in conjunction with self again and mutual the second radio frequency protocol version information P2 that supports when determining that both sides carry out radio communication; At last by the second magnetic channels transmit the second random number C, Second Characteristic code R2 and the second radio frequency protocol version information P2.
Step S403, described the first magnetic radio-frequency unit receives the second alternating magnetic field signal, and according to the identity of the comparative result of the second alternating magnetic field signal and the first alternating magnetic field signal being determined communicating pair to judge between the first magnetic radio-frequency unit and the second magnetic radio-frequency unit whether can carry out data interaction by the radio-frequency channel.
In this execution mode, described the first magnetic radio-frequency unit receives the second alternating magnetic field signal by the second magnetic channel, and the second alternating magnetic field signal is resolved to obtain the second random number C, Second Characteristic code R2 and the second radio frequency protocol version information P2; Then the Second Characteristic code R2 that parses and the First Characteristic code R1 of preservation are compared, if both equate, the second alternating magnetic field signal that the emission of the second magnetic radio-frequency unit then is described is the response to the first alternating magnetic field signal of the first magnetic radio-frequency unit, the communications identities of then judging the first magnetic radio-frequency unit and the second magnetic radio-frequency unit both sides is legal, can make both sides proceed exchanges data by the radio-frequency channel; Otherwise both sides can not use the radio-frequency channel to communicate, but whether can repeat the two-way parsing alternating magnetic field of above-mentioned steps signal legal with the identity that redefines communicating pair.
When the communications identities of judging the first magnetic radio-frequency unit and the second magnetic radio-frequency unit both sides is legal, described the first magnetic radio-frequency unit is resolved the first random number R and the second random number C according to identical method with the second magnetic radio-frequency unit, carries out address Addr, frequency Freq and the session key S of radio communication to obtain both sides; In the present embodiment, the analytic method that cause the first magnetic radio-frequency unit and the second magnetic radio-frequency unit use is identical, input parameter is identical (all being the first random number R and the second random number C), and address Addr, the frequency Freq of the radio communication that therefore obtains are also all identical with session key S.It is mutual that mutual the second radio frequency protocol version information P2 that supports and identical radio communication address Addr, frequency Freq and session key S carried out rf data when at this moment, described the first magnetic radio-frequency unit and the second magnetic radio-frequency unit carried out radio communication according to the both sides that determine.
Make the both sides that carry out radio communication before access radio communication, utilize field signal to carry out two-way communication because of the present invention, frequency, address and the session key of employed radio communication protocol version, radio communication when legal and both sides carry out radio communication with the identity of determining communicating pair, thus the fail safe of radio communication improved to a certain extent.
Method and system and Fig. 5 below in conjunction with the invention described above embodiment describe implementing procedure of the present invention in detail, and Fig. 5 is the method implementing procedure figure that utilizes the magnetic two-way communication in the embodiment of the invention, as shown in Figure 5:
Step S500: the first randomizer of described the first magnetic radio-frequency unit generates random number R, and R carried out the condition code R1 that conversion generates R, R1=fr (R), can be to use the 3DES cryptographic algorithm to carry out conversion in the present embodiment, R as key, is encrypted R and obtains ciphertext, get all or part of ciphertext as R1, therefore R1 can be shorter than R, then this random number R sent by the first magnetic channel 301; Whether R and R1 are used for magnetic channel feedback information that authentication the first magnetic radio-frequency unit receives is response to the first magnetic radio-frequency unit, prevents that simultaneously R1 from being intercepted and captured and reveal R;
Step S501: the first primary processor of the first magnetic radio-frequency unit is with random number R and support the up-to-date radio frequency protocol version information P1 of the first magnetic radio-frequency unit to send to the first magnetic signal transmitter module;
Step S502: the first magnetic signal transmitter module of the first magnetic radio-frequency unit sends the first alternating magnetic field signal that carries R and P1;
Step S600: the second magnetic radio-frequency unit uses the second magnetic signal receiver module to detect magnetic signal intensity and receives magnetic channel data information;
Step S601: if the second magnetic radio-frequency unit detects signal strength signal intensity greater than the set point threshold value and receives effective magnetic channel data, then parse data, prepare next step; Otherwise continue to detect magnetic signal intensity and receive magnetic channel data information;
Step S602, S603: after the second magnetic radio-frequency unit receives effective magnetic channel data information (the first alternating magnetic field signal), it is resolved, obtain its random number R, and the use algorithm identical with the first magnetic radio-frequency unit, converse the condition code R2 of R, R2 will send to the first magnetic radio-frequency unit as echo message, be used for this echo message of authentication and whether be the feedback (condition code R2 should equate with the condition code R1 that the first magnetic radio-frequency unit generates under normal circumstances) of the first alternating magnetic field signal that the first magnetic radio-frequency unit sends; The second randomizer of described the second magnetic radio-frequency unit generates random number C, and random number C and random number R are used for frequency, address and the session key that conversion radio communication is used; The second magnetic radio-frequency unit is resolved receiving effective magnetic channel data information (the first alternating magnetic field signal), obtain the up-to-date radio frequency protocol version information P1 that the first magnetic radio-frequency unit is supported, and the up-to-date radio frequency protocol version information Pc that supports in conjunction with itself, use a certain negotiation mode, determine the radio frequency protocol version information P2 that system is about to use, P2=fp (P1, Pc).In the present embodiment, described negotiation mode can be to select according to the radio frequency protocol version information that known both sides support separately that it common is supported, and compatible radio frequency protocol version information;
Step S604, S605: the second primary processor of described the second magnetic radio-frequency unit will carry the second alternating magnetic field signal of the radio frequency protocol version information P2 that random number C, condition code R2, both sides support and pass to the second magnetic signal transmitter module, the second magnetic signal transmitter module sends the second alternating magnetic field signal to the first magnetic radio-frequency unit that carries C, R2, P2 by the second magnetic channel 302, as the response to the magnetic channel information of the first magnetic radio-frequency unit;
Step S503: the first magnetic radio-frequency unit uses the first magnetic signal receiver module to detect magnetic signal intensity and receives the magnetic channel information, if can receive the magnetic channel information that the second magnetic radio-frequency unit is responded, then it is resolved the random number C that obtains in this information, condition code R2, the radio frequency protocol version information P2 that both sides support, and condition code R2 and condition code R1 are compared (R2 and R1 are that the random number R conversion forms), if condition code R2 equates with R1, then prove this echo message to the first magnetic radio-frequency unit, namely this echo message (the second alternating magnetic field signal) is the response to the first alternating magnetic field signal of the first magnetic radio-frequency unit; If condition code R2 and R1 are unequal, then illustrate this echo message be not to the first magnetic radio-frequency unit response, this moment, the first magnetic radio-frequency unit used the first magnetic signal receiver module continue to detect magnetic signal intensity and receive the magnetic channel information it is judged;
Step S504, S505: when described the first magnetic radio-frequency unit receives the magnetic channel information that the second magnetic radio-frequency unit is responded, and judge when condition code R2 equates with R1, the radio frequency protocol version information P2 that the both sides that the system that parses is about to use support, and with random number C and random number R as parameter, according to certain mapping mode, conversion goes out the session key S of radio communication frequency Freq, radio communication address Addr and radio communication respectively, Freq=fc (R wherein, C), Addr=fa (R, C), S=S=fs (R, C);
Step S606, S607: same, after the second magnetic radio-frequency unit sends it back the magnetic channel information (the second alternating magnetic field signal) of answering, take random number R and C as parameter, according to the mapping mode identical with the first magnetic radio-frequency unit, conversion goes out the session key S of radio communication frequency Freq, radio communication address Addr and radio communication respectively, Freq=fc (R wherein, C), Addr=fa (R, C), S=S=fs (R, C);
Step S506, S608: after the first magnetic radio-frequency unit and the second magnetic radio-frequency unit were finished the magnetic signal bidirectional data exchange, after the identity of namely having carried out both sides was determined, it is mutual that beginning is carried out rf data by radio-frequency channel 303, to finish the radio frequency access;
Step S507, S609: if the radio frequency interaction success, the first magnetic radio-frequency unit and the second magnetic radio-frequency unit have so far been finished the radio frequency access; Otherwise the radio frequency access failure restarts access.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1. a method of utilizing the magnetic two-way communication is characterized in that, and is legal and carry out data interaction by the radio-frequency channel with the identity of determining communicating pair by two-way parsing alternating magnetic field signal between the first magnetic radio-frequency unit and the second magnetic radio-frequency unit.
2. method according to claim 1 is characterized in that, described method comprises the steps:
Described the first magnetic radio-frequency unit is by the first magnetic channels transmit the first alternating magnetic field signal, and described the first alternating magnetic field signal comprises the first random number of the first magnetic radio-frequency unit generation and the first radio frequency protocol version information that the first magnetic radio-frequency unit is supported;
Described the second magnetic radio-frequency unit detects magnetic signal intensity and also receives the first alternating magnetic field signal, by the first alternating magnetic field signal is resolved to generate the second alternating magnetic field signal, and through the second magnetic channels transmit the second alternating magnetic field signal;
Described the first magnetic radio-frequency unit receives the second alternating magnetic field signal, and according to the identity of the comparative result of the second alternating magnetic field signal and the first alternating magnetic field signal being determined communicating pair to judge between the first magnetic radio-frequency unit and the second magnetic radio-frequency unit whether can carry out data interaction by the radio-frequency channel.
3. method according to claim 2 is characterized in that, the first random number that described the first magnetic radio-frequency unit generates generates the First Characteristic code through the first magnetic radio-frequency unit conversion, and described First Characteristic code is kept in the first magnetic radio-frequency unit.
4. method according to claim 2, it is characterized in that, the method of described " the second magnetic radio-frequency unit detects magnetic signal intensity and also receives the first alternating magnetic field signal; by the first alternating magnetic field signal is resolved to generate the second alternating magnetic field signal, and through the second magnetic channels transmit the second alternating magnetic field signal " comprises the steps:
Described the second magnetic radio-frequency unit detects magnetic signal intensity and receives the first alternating magnetic field signal by the first magnetic channel;
The first radio frequency protocol version information that described the second magnetic radio-frequency unit is supported by the first alternating magnetic field signal being resolved obtain the first random number and the first magnetic radio-frequency unit generates the second random number simultaneously;
First random number of described the second magnetic radio-frequency unit by parsing, and the first random number is carried out conversion generate the Second Characteristic code;
The first radio frequency protocol version information that described the second magnetic radio-frequency unit is supported by the first magnetic radio-frequency unit that parses, and the radio frequency protocol version information of supporting according to self is determined the second radio frequency protocol version information that both sides support when carrying out radio communication mutually;
Described the second magnetic radio-frequency unit is by the second magnetic channels transmit the second random number, Second Characteristic code and the second radio frequency protocol version information.
5. each described method according to claim 2~4, it is characterized in that, the method of described " the first magnetic radio-frequency unit receives the second alternating magnetic field signal, and according to the identity of the comparative result of the second alternating magnetic field signal and the first alternating magnetic field signal being determined communicating pair to judge between the first magnetic radio-frequency unit and the second magnetic radio-frequency unit whether can carry out data interaction by the radio-frequency channel " comprises the steps:
Described the first magnetic radio-frequency unit receives the second alternating magnetic field signal by the second magnetic channel, and the second alternating magnetic field signal is resolved to obtain the second random number, Second Characteristic code and the second radio frequency protocol version information;
Described the first magnetic radio-frequency unit compares Second Characteristic code and the First Characteristic code that parses, if both equate, the communications identities that then shows the first magnetic radio-frequency unit and the second magnetic radio-frequency unit both sides is legal, continues the following step and makes both sides carry out exchanges data by the radio-frequency channel; Otherwise double-terminating communication;
Described the first magnetic radio-frequency unit is resolved the first random number and the second random number according to identical method with the second magnetic radio-frequency unit, carries out address, frequency and the session key of radio communication to obtain both sides;
It is mutual that described the first magnetic radio-frequency unit and the second magnetic radio-frequency unit carry out rf data according to the second radio frequency protocol version information of determining and identical radio communication address, frequency and session key.
6. system that utilizes the magnetic two-way communication, it is characterized in that, comprise the first magnetic radio-frequency unit and the second magnetic radio-frequency unit, legal and carry out data interaction by the radio-frequency channel with the identity of determining communicating pair by two-way parsing alternating magnetic field signal between described the first magnetic radio-frequency unit and the second magnetic radio-frequency unit.
7. system according to claim 6 is characterized in that,
Described the first magnetic radio-frequency unit is used for by the first magnetic channels transmit the first alternating magnetic field signal, and described the first alternating magnetic field signal comprises the first random number of the first magnetic radio-frequency unit generation and the first radio frequency protocol version information that the first magnetic radio-frequency unit is supported; And receive the second alternating magnetic field signal, according to the identity of the comparative result of the second alternating magnetic field signal and the first alternating magnetic field signal being determined communicating pair to judge between the first magnetic radio-frequency unit and the second magnetic radio-frequency unit whether can carry out data interaction by the radio-frequency channel;
Described the second magnetic radio-frequency unit, for detection of magnetic signal intensity and receive the first alternating magnetic field signal, by the first alternating magnetic field signal is resolved to generate the second alternating magnetic field signal, and through the second magnetic channels transmit the second alternating magnetic field signal.
8. according to claim 6 or 7 described systems, it is characterized in that,
Described the first magnetic radio-frequency unit comprises at least one first primary processor, at least one be used for to generate first randomizer of the first random number, first magnetic signal transmitter module that at least one is used for emission the first alternating magnetic field signal, first magnetic signal receiver module that at least one is used for receiving the second alternating magnetic field signal, first radio-frequency (RF) receiving and transmission module that at least one is used for the transmitting-receiving rf data, at least one is used for the rf data of transmitting-receiving is carried out the first encryption and decryption module of encryption and decryption;
Described the second magnetic radio-frequency unit is included in few second primary processor, at least one is used for generating second randomizer of the second random number, second magnetic signal transmitter module that at least one is used for emission the second alternating magnetic field signal, second magnetic signal receiver module that at least one is used for receiving the first alternating magnetic field signal, second radio-frequency (RF) receiving and transmission module that at least one is used for the transmitting-receiving rf data, at least one is used for the rf data of transmitting-receiving is carried out the second encryption and decryption module of encryption and decryption.
9. system according to claim 8 is characterized in that,
Described the first primary processor, the first randomizer and the first magnetic signal transmitter module are connected in series successively; Described the first primary processor is connected with the first magnetic signal receiver module; Described the first primary processor, the first encryption and decryption module and the first radio-frequency (RF) receiving and transmission module are connected in series successively;
Described the second primary processor is connected with the second magnetic signal receiver module; Described the second primary processor, the second randomizer and the second magnetic signal transmitter module are connected in series successively; Described the second primary processor, the second encryption and decryption module and the second radio-frequency (RF) receiving and transmission module are connected in series successively.
10. system according to claim 9, it is characterized in that, described the first magnetic signal transmitter module comprises at least one coding circuit, at least one modulation circuit, at least one drive circuit and at least one low frequencies coil, and described coding circuit, modulation circuit, drive circuit and low frequencies coil are connected in series successively; Described the second magnetic signal transmitter module comprises at least one coding circuit, at least one modulation circuit, at least one drive circuit and at least one low frequencies coil, and described coding circuit, modulation circuit, drive circuit and low frequencies coil are connected in series successively.
11. system according to claim 9, it is characterized in that, described the first magnetic signal receiver module comprises at least one low-frequency magnetic sensor circuit, at least one low frequency filtering and amplifying circuit and at least one low frequency demodulator circuit, and described low-frequency magnetic sensor circuit, low frequency filtering and amplifying circuit and low frequency demodulator circuit are connected in series successively; Described the second magnetic signal receiver module comprises at least one low-frequency magnetic sensor circuit, at least one low frequency filtering and amplifying circuit and the judgement of at least one thresholding and demodulator circuit, and described low-frequency magnetic sensor circuit, low frequency filtering and amplifying circuit and thresholding are judged and demodulator circuit is connected in series successively.
12. system according to claim 9 is characterized in that, described the first radio-frequency (RF) receiving and transmission module comprises at least one radio-frequency (RF) transmit-receive circuit and a radio-frequency antenna, and described radio-frequency (RF) transmit-receive circuit is connected with radio-frequency antenna; Described the second radio-frequency (RF) receiving and transmission module comprises at least one radio-frequency (RF) transmit-receive circuit and a radio-frequency antenna, and described radio-frequency (RF) transmit-receive circuit is connected with radio-frequency antenna.
CN201110248412.3A 2011-08-26 2011-08-26 Method and system for utilizing magnetic bidirectional communication Active CN102957454B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110248412.3A CN102957454B (en) 2011-08-26 2011-08-26 Method and system for utilizing magnetic bidirectional communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110248412.3A CN102957454B (en) 2011-08-26 2011-08-26 Method and system for utilizing magnetic bidirectional communication

Publications (2)

Publication Number Publication Date
CN102957454A true CN102957454A (en) 2013-03-06
CN102957454B CN102957454B (en) 2014-12-17

Family

ID=47765768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110248412.3A Active CN102957454B (en) 2011-08-26 2011-08-26 Method and system for utilizing magnetic bidirectional communication

Country Status (1)

Country Link
CN (1) CN102957454B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301479A (en) * 2016-08-01 2017-01-04 武汉工程大学 The method of reseptance of a kind of data and system
CN110073314A (en) * 2016-12-22 2019-07-30 微软技术许可有限责任公司 Magnetic tracking device double mode
US11757490B2 (en) 2018-08-02 2023-09-12 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V Data transmission from a user terminal to another apparatus

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101523423A (en) * 2006-08-11 2009-09-02 Ask股份有限公司 Security peripheral integrated with a contactless object of secure document type with radiofrequency device
WO2009110381A1 (en) * 2008-03-03 2009-09-11 株式会社村田製作所 Wireless ic device and wireless communication system
CN201707679U (en) * 2009-12-09 2011-01-12 国民技术股份有限公司 Radiofrequency device, radiofrequency card reader and relative communication system
CN101944959A (en) * 2010-07-01 2011-01-12 北京泛在电子标签技术有限公司 Wireless short distance communication method and system based on distance control
CN102096836A (en) * 2009-12-09 2011-06-15 国民技术股份有限公司 Radio frequency device, radio frequency card reader and related communication system and communication method
US20110165862A1 (en) * 2008-11-26 2011-07-07 Nationz Technologies Inc. Rf sim card, card reader, and communication method
CN102142868A (en) * 2010-01-29 2011-08-03 国民技术股份有限公司 Near field communication method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101523423A (en) * 2006-08-11 2009-09-02 Ask股份有限公司 Security peripheral integrated with a contactless object of secure document type with radiofrequency device
WO2009110381A1 (en) * 2008-03-03 2009-09-11 株式会社村田製作所 Wireless ic device and wireless communication system
US20110165862A1 (en) * 2008-11-26 2011-07-07 Nationz Technologies Inc. Rf sim card, card reader, and communication method
CN201707679U (en) * 2009-12-09 2011-01-12 国民技术股份有限公司 Radiofrequency device, radiofrequency card reader and relative communication system
CN102096836A (en) * 2009-12-09 2011-06-15 国民技术股份有限公司 Radio frequency device, radio frequency card reader and related communication system and communication method
CN102142868A (en) * 2010-01-29 2011-08-03 国民技术股份有限公司 Near field communication method and system
CN101944959A (en) * 2010-07-01 2011-01-12 北京泛在电子标签技术有限公司 Wireless short distance communication method and system based on distance control

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106301479A (en) * 2016-08-01 2017-01-04 武汉工程大学 The method of reseptance of a kind of data and system
CN110073314A (en) * 2016-12-22 2019-07-30 微软技术许可有限责任公司 Magnetic tracking device double mode
CN110073314B (en) * 2016-12-22 2021-11-16 微软技术许可有限责任公司 Magnetic tracker dual mode
US11757490B2 (en) 2018-08-02 2023-09-12 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V Data transmission from a user terminal to another apparatus

Also Published As

Publication number Publication date
CN102957454B (en) 2014-12-17

Similar Documents

Publication Publication Date Title
EP3119058B1 (en) Method and apparatus for authentication
US8666313B2 (en) Pairing devices using data exchanged in an out-of-band channel
EP3223488B1 (en) Method for secure authentication of mobile devices
CA2994493C (en) Communications system providing personnel access based upon near-field communication and related methods
US20110028091A1 (en) Method and system for near-field wireless device pairing
KR20150014316A (en) Image forming apparatus and near field communication (NFC) device supporting function of NFC and method for performing authentication thereof
US20150373757A1 (en) Wireless connection system and wireless connection method
CN103310518A (en) Method and system for opening vehicle door
CN102223630A (en) Remote control system and method
CN102917357B (en) A kind of authentication method and device
EP1763936A1 (en) Method of choosing one of a multitude of data sets being registered with a device and corresponding device
CN102768725A (en) Radio frequency device and communication method
CN102957454B (en) Method and system for utilizing magnetic bidirectional communication
CN104660307A (en) Encrypted wireless communication system based on near field magnetic relay and user soft reset
CN104240080A (en) Realization method for mobile payment and device thereof
CN104540238A (en) Wireless communication method and device and intelligent card
CN103731828B (en) A kind of terminal unit and method for electronic certificate authentication
Kumar Near field communication
CN102624680A (en) Mobile payment system employing combined cipher and mobile payment method thereof
EP2360987B1 (en) Device and method for coupling a cellular telecommunication device to an NFC terminal
EP3392843A1 (en) Start and access system and related method
CN101599950A (en) Verification System, device and method
CN109041025A (en) A kind of personal identification method of near-field communication
CN202957830U (en) Distributed general false-proof system based on NFC and mobile communication
KR20170134854A (en) Method for Providing Refueling Payment by using Close Range Device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant