Summary of the invention
The technical matters that the present invention mainly solves is to provide a kind of communication system based on the RFID-SIM mobile terminal and method, can improve security and the correctness of communication.
In order to solve the problems of the technologies described above, the embodiment of the present invention provides a kind of communication system based on the RFID-SIM mobile terminal, described communication system based on the RFID-SIM mobile terminal comprises RFID-SIM mobile terminal and card reader, described card reader comprises source code maker, scrambler and transmitting antenna module, and described RFID-SIM mobile terminal comprises receiving antenna module, demoder and code parsing device.Described source code maker is used for generating the raw information code, and described scrambler is used for described raw information code is encoded, and generates the fresh information coding, and described transmitting antenna module is used for sending described fresh information coding.Described receiving antenna module is used for receiving described fresh information coding, described demoder is decoded to described fresh information coding and the coding of error recovery, obtain decoded information, described code parsing device is used for described decoded information is carried out code parsing, completes the communication process of card reader and RFID-SIM mobile terminal.
In a preferred embodiment of the present invention, described scrambler specifically is used for RS-Turbo concatenated code coded system, described raw information code being encoded, and described demoder specifically is used in RS-Turbo decoding concatenated code mode, described fresh information coding being decoded.
In a preferred embodiment of the present invention, described scrambler specifically is used for RS code coded system, described raw information code being encoded, and described demoder specifically is used for RS code decoding process, described fresh information coding being decoded.
In a preferred embodiment of the present invention, described scrambler specifically is used for the constant ratio code coded system, described raw information code being encoded, and described demoder specifically is used for the constant ratio code decoding process, described fresh information coding being decoded.
In a preferred embodiment of the present invention, described scrambler specifically is used for the concatenated code coded system, described raw information code being encoded, and described demoder specifically is used in the decoding concatenated code mode, described fresh information coding being decoded.
In a preferred embodiment of the present invention, described scrambler specifically is used in the convolution coding mode, described raw information code being encoded, and described demoder specifically is used in the convolutional code decoder mode, described fresh information coding being decoded.
In a preferred embodiment of the present invention, described card reader comprises the Difference Manchester code processor, be used for before described transmitting antenna module sends the fresh information coding, the fresh information coding is carried out differencing to be processed, and then sending the fresh information coding, described RFID-SIM mobile terminal comprises the removal difference engine, is used for before the described fresh information coding of described demoder decoding, remove the Difference Manchester code in the fresh information coding, and then the transmission fresh information is encoded to described demoder.
In a preferred embodiment of the present invention, described fresh information is coded in the transmitting antenna module to being to transmit with the wireless signal form between the receiving antenna module.
In order to solve the problems of the technologies described above, the embodiment of the present invention also provides a kind of means of communication based on the RFID-SIM mobile terminal, the described means of communication based on the RFID-SIM mobile terminal comprise: generate the raw information code that needs send, described raw information code recompile is generated the fresh information coding, and send described fresh information coding; Receive described fresh information coding, described fresh information coding is decoded and the coding of error recovery, the coding of completing decoding carries out code parsing again.
In a preferred embodiment of the present invention, described raw information code is encoded with RS-Turbo concatenated code coded system, and described fresh information coding is decoded in RS-Turbo decoding concatenated code mode; Perhaps described raw information code is encoded with RS code coded system, and described fresh information coding is decoded with RS code decoding process; Perhaps described raw information code is encoded with the constant ratio code coded system, and described fresh information coding is decoded with the constant ratio code decoding process; Perhaps described raw information code is encoded with the concatenated code coded system, and described fresh information coding is decoded in the decoding concatenated code mode; Perhaps described raw information code is encoded in the convolution coding mode, and described fresh information coding is decoded in the convolutional code decoder mode.
The invention has the beneficial effects as follows: the situation that is different from prior art, the embodiment of the present invention is by encoding the raw information code at the card reader end, and the reduction of decoding of the information after the RFID-SIM of correspondence mobile terminal is to the coding of receiving, because the coding that adopts is safer, and can detect random error and burst error, therefore the bit error rate of its transmitting procedure is lower, and correctness is higher.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The embodiment of the present invention provides a kind of communication system based on the RFID-SIM mobile terminal, see also Fig. 1, described communication system based on the RFID-SIM mobile terminal comprises RFID-SIM mobile terminal and card reader, described card reader comprises source code maker, scrambler and transmitting antenna module, and described RFID-SIM mobile terminal comprises receiving antenna module, demoder and code parsing device.
Wherein, described source code maker is used for generating the raw information code, and described scrambler is used for described raw information code is encoded, and generates the fresh information coding, and described transmitting antenna module sends described fresh information coding.
Wherein, described receiving antenna module is used for receiving described fresh information coding, described demoder is decoded to described fresh information coding, and the coding of error recovery, obtain decoded information, described code parsing device is used for described decoded information is carried out code parsing, completes the communication process of card reader and RFID-SIM mobile terminal.
Preferably, described scrambler specifically is used for RS-Turbo concatenated code coded system, described raw information code being encoded, and described demoder specifically is used in RS-Turbo decoding concatenated code mode, described fresh information coding being decoded.
Preferably, described scrambler specifically is used for RS code coded system, described raw information code being encoded, and described demoder specifically is used for RS code decoding process, described fresh information coding being decoded.
Preferably, described scrambler specifically is used for the constant ratio code coded system, described raw information code being encoded, and described demoder specifically is used for the constant ratio code decoding process, described fresh information coding being decoded.
Preferably, described scrambler specifically is used for the concatenated code coded system, described raw information code being encoded, and described demoder specifically is used in the decoding concatenated code mode, described fresh information coding being decoded.
Preferably, described scrambler specifically is used in the convolution coding mode, described raw information code being encoded, and described demoder specifically is used in the convolutional code decoder mode, described fresh information coding being decoded.
Preferably, described card reader comprises the Difference Manchester code processor, be used for before described transmitting antenna module sends the fresh information coding, the fresh information coding is carried out differencing to be processed, and then sending the fresh information coding, described RFID-SIM mobile terminal comprises the removal difference engine, is used for before the described fresh information coding of described demoder decoding, remove the Difference Manchester code in the fresh information coding, and then the transmission fresh information is encoded to described demoder.
Preferably, described fresh information is coded in the transmitting antenna module to being to transmit with the wireless signal form between the receiving antenna module.
The embodiment of the present invention also provides a kind of means of communication based on the RFID-SIM mobile terminal, sees also Fig. 2, and the described means of communication based on the RFID-SIM mobile terminal comprise:
Generate the raw information code that needs transmission, described raw information code recompile is generated the fresh information coding, and send described fresh information coding;
Receive described fresh information coding, described fresh information coding is decoded and the coding of error recovery, the coding of completing decoding carries out code parsing again.
Preferably, described raw information code is encoded with RS-Turbo concatenated code coded system, and described fresh information coding is decoded in RS-Turbo decoding concatenated code mode.
Preferably, described raw information code is encoded with RS code coded system, and described fresh information coding is decoded with RS code decoding process.
Preferably, described raw information code is encoded with the constant ratio code coded system, and described fresh information coding is decoded with the constant ratio code decoding process.
Preferably, described raw information code is encoded with the concatenated code coded system, and described fresh information coding is decoded in the decoding concatenated code mode.
Preferably, described raw information code is encoded in the convolution coding mode, and described fresh information coding is decoded in the convolutional code decoder mode.
Embodiment one
Implement following steps in card reader:
(1), the source code maker of card reader generates the raw information code that needs transmission;
(2), generated raw information code is inputted RS-Turbo concatenated code scrambler subsequently, in RS-Turbo concatenated code scrambler, the raw information code is by the list entries of RS encoder encodes, divide three the tunnel to carry out in the Turbo code scrambler, one the road remains stationary, one the tunnel through the systematic recursive convolutional scrambler, and one the tunnel passes through the systematic recursive convolutional scrambler again through after interleaver, above three tunnel information according to code check require through deletion with multiplexing after generate coded strings; Wherein, the universal architecture of RS-Turbo concatenated code scrambler does not repeat them here;
(3), carrying out differencing through the Difference Manchester code processor again from the coded strings of RS-Turbo concatenated code scrambler output processes;
(4), the coded strings of processing through differencing is crossed magnetic signal to aerial transmission by the transmitting antenna module in card reader with the information exchange that encodes at last.
Airborne magnetic signal is implemented following steps after being received by the receiving antenna module of RFID-SIM mobile terminal in the RFID-SIM mobile terminal:
(5), the receiving antenna module is demodulated into digital signal with airborne magnetic signal;
(6), from the digital signal of aerial reception by going differential processor, remove the Difference Manchester code, be reduced to the coding with RS-Turbo concatenated code coding;
(7), go the coding of differential processor output to enter RS-Turbo decoding concatenated code device; The decoding of RS-Turbo code can be adopted complete iterative decoding, and fully iterative decoding namely carries out decoding repeatedly between Turbo code and RS code, or adopts the part iterative decoding, and namely in decode procedure, iteration occurs over just Turbo inside or the RS code is inner;
(8), complete code word after the RS-Turbo decoding concatenated code and enter the code parsing device and carry out code parsing, complete the communication process of card reader and RFID-SIM mobile terminal.
Embodiment two
Implement following steps in card reader:
(1), the source code maker of card reader generates the raw information code that needs transmission;
(2), generated raw information code inputs the RS code coder subsequently, the generator polynomial of RS code is mapped to transmission sequence, i.e. codeword sequence with the raw information code;
(3), the codeword sequence from the output of RS code coder carries out the differencing processing through the Difference Manchester code processor again;
(4), the coding of processing through differencing is crossed magnetic signal to aerial transmission by the transmitting antenna module in card reader with the information exchange that encodes at last.
Airborne magnetic signal is implemented following steps after being received by the receiving antenna module of RFID-SIM mobile terminal in the RFID-SIM mobile terminal:
(5), the receiving antenna module of RFID-SIM mobile terminal is demodulated into digital signal with airborne magnetic signal;
(6), from the digital signal of aerial reception by going differential processor, remove the Difference Manchester code, be reduced to the codeword sequence with RS code coding;
(7), go the codeword sequence of differential processor output to enter RS code demoder, based on the decoding algorithm of syndrome, its decode procedure is comparatively simple, decoding speed is fast;
(8), the coding of completing RS code decoding enters the code parsing device and carries out code parsing, completes the communication process of card reader and RFID-SIM mobile terminal.
Wherein, the RS code is the very strong channel coding method of a kind of burst-error-correction, can be used to correct burst error and random error, particularly burst error, in variable-parameter channel of great use.
Embodiment three
Implement following steps in card reader:
(1), the source code maker of card reader generates the raw information code that needs transmission;
(2), generated raw information code inputs the constant ratio code scrambler subsequently, in the constant ratio code scrambler, the raw information code is mapped to transmission sequence, namely codeword sequence by scrambler;
(3), carrying out differencing through the Difference Manchester code processor again from the coded strings of constant ratio code scrambler output processes;
(4), the coding of processing through differencing is crossed magnetic signal to aerial transmission by the transmitting antenna module in card reader with the information exchange that encodes at last.
Airborne magnetic signal is implemented following steps after being received by the receiving antenna module of RFID-SIM mobile terminal in the RFID-SIM mobile terminal:
(5), the receiving antenna module of RFID-SIM mobile terminal is demodulated into digital signal with airborne magnetic signal;
(6), from the digital signal of aerial reception by going differential processor, remove the Difference Manchester code, be reduced to the coding with the constant ratio code coding;
(7), go the coding of differential processor output to enter the constant ratio code demoder, the detection by heavy to the code of transmission code determines whether wrong generation in transmitting procedure;
(8), the coding of completing constant ratio code decoding enters the code parsing device and carries out code parsing, completes the communication process of card reader and RFID-SIM mobile terminal.
In the numeral of constant ratio code, 1 and 0 figure place keeps constant ratio.Because the length of each code word is identical, if 1,0 constant proportion, code word must wait heavily.If code length is n, code is heavily w, and the code word number of this yard is
, the unused code number of words is 2n-
Therefore, constant ratio code is except exchange mistake (1 and 0 paired generation mistake) can not be found, other various mistakes all can be found, so stronger error correcting capability is arranged.
Embodiment four
Implement following steps in card reader:
(1), the source code maker of card reader generates needs the raw information code that sends, the raw information code will be not more than 128 bit lengths as required, specific coding length can generate but must not exceed the maximum length limit value with concrete application;
(2), generated coding inputs the cascade code coder subsequently, in the concatenated code scrambler, described scrambler converts original information code to the concatenated code code word according to the concatenated code create-rule;
(3), the coding of concatenated code scrambler output is crossed magnetic signal to aerial transmission by the transmitting antenna module in card reader with the information exchange that encodes at last.
Airborne magnetic signal is implemented following steps after being received by the receiving antenna module of RFID-SIM mobile terminal in the RFID-SIM mobile terminal:
(4), the receiving antenna module of RFID-SIM mobile terminal is demodulated into digital signal with airborne magnetic signal;
(5), the coding of detuner output enters the decoding concatenated code device, the concatenated code that described demoder basis receives, the verifying work that will encode, and the coding of automatically corrected error;
(6), the coding of completing decoding concatenated code enters the code parsing device and carries out code parsing, completes the communication process of card reader and RFID-SIM mobile terminal.
Embodiment five
Implement following steps in card reader:
(1), the source code maker of card reader generates the raw information code that needs transmission;
(2), generated raw information code inputs encoder for convolution codes subsequently, in encoder for convolution codes, the raw information code length that described scrambler will send as required adopts the scrambler of convolutional code to generate new coding;
(3), treated coding is crossed magnetic signal to aerial transmission by the transmitting antenna module in card reader with the information exchange that modulates after modulation.
Airborne magnetic signal is implemented following steps after being received by the receiving antenna module of RFID-SIM mobile terminal in the RFID-SIM mobile terminal:
(4), the receiving antenna module of RFID-SIM mobile terminal is demodulated into digital signal with airborne magnetic signal;
(5), from the coding of aerial receiving digital signals, described coding enters the convolutional code decoder device, adopts convolutional code decoder mode correspondingly to decode, the verifying work that described convolutional code decoder device will be encoded, and the coding of error recovery;
(6), the coding of completing convolutional code enters the code parsing device and carries out code parsing, completes the communication process of card reader and RFID-SIM mobile terminal.
Wherein, when the solid long codes that is used for the magnetic flux news is not more than 128, according to the concrete demand of the code length of long codes admittedly, convolution coding is in the following ways: obtain the data input of a k bit, produce the output data of a n>k bit, every output bit is to be produced by current linear combination with input bit in the past.
Above, RS-Turbo concatenated code coded system, RS code coded system, constant ratio code coded system, concatenated code coded system, convolution coding mode are carried out encoding-decoding process to the raw information code that carries out the magnetic flux news, can strengthen the correctness of information in transmitting procedure, improve the efficient of magnetic flux news, the signal deletion that minimizing brings in communication process or mistake, and utilize the coding of the automatic mis repair of function of verification and error correction.In addition, RS-Turbo concatenated code coded system, RS code coded system, constant ratio code coded system, concatenated code coded system, convolution coding mode are carried out encoding and decoding to the raw information code that carries out the magnetic flux news, can also increase the communication security based on the RFID-SIM mobile terminal, prevent information leakage.
In sum, the present invention is based on the communication system of RFID-SIM mobile terminal and the means of communication by at the card reader end, the raw information code being encoded, and the reduction of decoding of the information after the RFID-SIM of correspondence mobile terminal is to the coding of receiving, because the coding that adopts is safer, and can detect random error and burst error, therefore the bit error rate of its transmitting procedure is lower, and correctness is higher.
The above is only embodiments of the invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in scope of patent protection of the present invention.