Background technology
Along with popularizing of smart mobile phone, mobile Internet is used and is developed rapidly like the mushrooms after rain, especially take apple and Android two large platforms as main mobile the application.At present outside the communication mode of the communication between the intelligent mobile phone terminal except relying on telecom operators, also has Wifi, bluetooth, ZigBee, RFID, the modes such as NFC, although these mode message capacities are large, communication speed is fast, but some closely the occasion of small amount of data (such as account, order number) transmission have without exception the shortcomings such as higher cost complex operation.Although at present simple to operate based on the near-field communication technology of NFC mode, its requirement increases one by one that hardware module causes its popularization with high costs.
Secondly also be that (for example two-dimension code obtains order number to one of communication modes of intelligent mobile phone terminal on the screen of an other mobile phone of mobile telephone scanning by camera scanning two-dimension code, account information), but thereby not every mobile phone all possesses the camera scanning two-dimension code that adds high-resolution, scan in addition two-dimension code also to light, scanning angles etc. have certain requirement, and it does not possess automatic bidirectional identification and concatenation ability.
In addition, having document and patent to mention with the dtmf code technology is used for carrying out sound wave or ultrasonic communication method between electronic equipment and the mobile phone; Found through experiments, DTMF has stronger error-detection error-correction antijamming capability in the electric wave channel, but does not possess good error-detection error-correction antijamming capability in common human acoustic environment; More prior is that the data once transmitted are considerably less, usually below tens of bytes, such transfer of data length is difficult to data to be transferred is carried out high strength digital encryption or signature, this is because common digital encryption or signature all require the single transmission data to be longer than at least a length of encrypting grouping, cryptographic algorithm commonly used especially openly Secret key arithmetic is encrypted grouping all greater than tens of bytes, for example the grouping of 1024 rsa encryption is exactly 128 byte lengths, and the voice communication of therefore encoding by the DTMF mode does not possess good application feasibility and application security.
Several technology were in mobile payment above following table had been listed, the portable terminal of the occasion such as fund remittance and transfer in the financial transaction, and the applicability of POS Near Field Communication demand is relatively.
Technology | demand |
Reliability |
Fail safe |
Cost |
Connect hours |
To human body |
Infrared data transmission |
Low |
Low |
High |
Slowly |
Uncertain |
Bluetooth |
High |
High |
In |
Slowly |
Uncertain |
RFID |
High |
High |
In |
Hurry up |
Uncertain |
NFC |
High |
High |
High |
Hurry up |
Uncertain |
Two-dimension code |
In |
Low |
Extremely low |
Slowly |
Harmless |
The ultrasonic wave scheme |
High |
High |
High |
Hurry up |
Harmful |
DTMF sound wave scheme |
Low |
Low |
Extremely low |
In |
Harmless |
This patent sound wave scheme |
High |
High |
Extremely low |
In, fast |
Harmless |
Summary of the invention
The present invention's the first purpose provides a kind of system that a kind of voice communication is provided between the application of smart mobile phone and equipment, need not smart mobile phone and equipment and install extra hardware module additional, so that the application on smart mobile phone and the equipment can obtain is a kind of with low cost, safe and reliable, easy and simple to handle near-field communications system; Secondly the present invention also provides a kind of near field communication method of carrying out the safety of error correcting and detecting coding based on blocks of data.
In order to achieve this end, scheme provided by the invention is: a kind of voice communication system, comprise transmitting terminal and receiving terminal, between transmitting terminal and the receiving terminal by the voice signal contact, optional automatically half-duplex control module, principle is seen Figure of description 1.
Transmitting terminal comprises: optional data encryption signature, the error-detecting and error-correcting coding of data message, base-band digital coded modulation, audio coding, loud speaker.
Receiving terminal comprises: pick-up, audio decoder, base-band digital decoding demodulation, the error-detection error-correction decoding of data message, optional data deciphering checking.
Automatically the half-duplex control module comprises: the identification of master-slave communication end, the transmission of master-slave communication end automaticdata.
Voice signal is stepped pulse sound tone signal.
Correcting data error error detection coding processing module is the software module that runs on smart mobile phone (or equipment) operating system, and adopts Reed – Solomon or Bose-Chaudhuri-Hocquenghem Code, and data are encoded, and can carry out the data encryption signature before processing and process.
The base-band digital coded modulation is the software module that the initial data coded modulation is become digital signal.
Signal transmitting module is audio coder and the loud speaker on smart mobile phone or the equipment, is used for voice signal is sent to receiving terminal.
Signal receiving module is pick-up and the audio decoder on smart mobile phone or the equipment, is used for receiving from the transmitting terminal voice signal.
Base-band digital decoding rectification is the software module that the digital signal decoding demodulation is reduced into data.
Correcting data error error detection decoding process module is the software module that runs on smart mobile phone (or equipment) operating system, and adopts Reed – Solomon or BCH decoding, can carry out the data deciphering checking after the processing and process.
Data encryption signature and deciphering authentication module run on the software module on smart mobile phone (or equipment) operating system.
Be fit to finish automatic half duplex communication under the sound medium through the data after Reed – Solomon or the BCH encoding and decoding, realize both-way communication.Have document to mention and use DTMF volume solution mode to transmit the sound wave communication data, the data block integral body that this mode can not once be transmitted is carried out error correcting and detecting, and test confirms that it is not suitable for carrying out two-way communication.
The means of communication of a kind of as the aforementioned voice communication system need not smart mobile phone and equipment and install extra hardware module additional, so that the application on smart mobile phone and the equipment can obtain near-field communications system a kind of with low cost, safe and reliable, easy and simple to handle.。
The means of communication of a kind of as the aforementioned voice communication system, its step comprises:
The first step, transmitting terminal is encrypted signature to sent data and processes.
Second step carries out error-detecting and error-correcting coding to the data after the first step processing and processes.
In the 3rd step, the data after the second step processing are carried out coded modulation.[can be stored as the audio files of various forms]
The 4th step played out sound to the data audio coding after the processing of the 3rd step, saw Figure of description 2.
In the 5th step, record the sound after the 4th step processed.[can be stored as audio files treat after again process].
The 6th one, to the decoding data demodulation after the processing of the 5th step, see Figure of description 3.
In the 7th step, the data after the processing of the 6th step are carried out the error-detection error-correction decoding process.
The 8th step is to the decoding data checking after the processing of the 7th step.
Wherein the first step and the 8th step are optional.
Transmitting terminal adopts loud speaker to send voice signal, and receiving terminal is adopted pick-up and received voice signal.
Voice signal is stepped pulse sound tone signal
Advantage of the present invention is, the loud speaker that adopts smart mobile phone and equipment itself to carry receives voice signal, the pick-up that carries receives voice signal, do not need mobile phone and equipment to carry other hardware modules and just can realize carrying out between smart mobile phone and the equipment data communication, thereby cost is cheaper, operates simpler; Adopt error-detection error-correction encoding and decoding realization data to transmit reliably; Adopt ciphering signature to realize the transmission of data security.
Execution mode
1 gate inhibition identification, authentication, member authentication, the type execution modes such as the sound pass:
Receiving terminal adopts smart mobile phone, and be fixed on access point or authentication check point, be responsible for receiving the voice signal that sends from transmitting terminal, this voice signal is one section the unique identity information of individual (such as the member etc.) and authenticated time is done the sound that coding forms behind the hash summary, as long as broadcast is gone, decoding is checked and can be authenticated identification behind gate inhibition's dispatch control system recorded voice in the time of authentication.
2 Wifi focuses transmit among a small circle with password and share:
Its principle is the wifi hotspot name, and cipher mode, the information codings such as encrypted ones become sound to broadcast to go, client's mobile phone record and decode after just can be directly with this focus oneself wifi focus that is dynamically connected.For example the cafe storekeeper can be easily be shared with oneself client to the hotspot name in the own shop and password, need not client and knock in by hand hotspot name and password, also avoid simultaneously focus is leaked to unrelated person, also very convenient when changing the focus password, as long as hot information is encoded into sound and plays once.This kind mode also can be used as cryptochannel and is used for transmitting password.
3 mobile payments, on-site payment
Its principle is that businessman uses mobile phone the order data, and the information codings such as shroff account number become sound to play to client's mobile phone, and client's mobile phone recorded voice and decoding obtain the order data.Realize the data such as sequence information and shroff account number title are passed to client by audio communication mode of the present invention such as businessman, client and then finish payment by payment platform, input the other side account or user name have been avoided, the cumbersome procedure such as the order number amount of money, avoid mistake, improved the payment convenience.
4 sell direction buyer transmitting digital bill, and the buyer transmits the payment request to the seller
By in-plant transmission with check such as billing data, the data such as payment request, the mistake of avoiding manual input to bring is finished the payment of bill or the payment that payment is asked by network third party (such as bank, the third party pays company) after confirming.
The EFT of transferring accounts of 6 near fields
By in-plant transmission with check such as the remittance account, the data such as the amount of money, the mistake of avoiding manual input to bring is finished the remittance of transferring accounts by network third party (such as bank, the third party pays company) after confirming.