CN103903142A - Sound wave safety payment method and system - Google Patents

Sound wave safety payment method and system Download PDF

Info

Publication number
CN103903142A
CN103903142A CN201410142541.8A CN201410142541A CN103903142A CN 103903142 A CN103903142 A CN 103903142A CN 201410142541 A CN201410142541 A CN 201410142541A CN 103903142 A CN103903142 A CN 103903142A
Authority
CN
China
Prior art keywords
frame
audio frequency
audio
phase
psk
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.)
Pending
Application number
CN201410142541.8A
Other languages
Chinese (zh)
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.)
Fujian Landi Commercial Equipment Co Ltd
Original Assignee
Fujian Landi Commercial Equipment Co Ltd
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 Fujian Landi Commercial Equipment Co Ltd filed Critical Fujian Landi Commercial Equipment Co Ltd
Priority to CN201410142541.8A priority Critical patent/CN103903142A/en
Publication of CN103903142A publication Critical patent/CN103903142A/en
Priority to PCT/CN2015/070705 priority patent/WO2015154561A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3272Short range or proximity payments by means of M-devices using an audio code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/20Point-of-sale [POS] network systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B11/00Transmission systems employing sonic, ultrasonic or infrasonic waves

Abstract

The invention discloses a sound wave safety payment method and system. The method includes the steps that a payment end establishes an order and acquires transaction information corresponding to transaction data of the order from a network end database, the transaction information is encrypted through a secret key and subjected to RS coding to generate data frames, then the data frames are subjected to phase shift keying modulation to generate audio frames, and corresponding audio is played; after acquiring the audio, the payment end performs phase shift keying demodulation on the audio to generate data frames, the data frames are subjected to RS decoding and then decrypted through a pre-stored secret key to generate the transaction information, then corresponding transaction data are acquired from the network end database through the transaction information and displayed, and next, a transaction confirming instruction corresponding to the transaction data is sent to the network end database; after the transaction confirming instruction is received, payment operation is performed on the corresponding transaction data by the network end database. The payment method and system are convenient and safe to use.

Description

A kind of sound wave safe payment method and system
Technical field
The present invention relates to E-Payment field, relate in particular to a kind of sound wave safe payment method and system.
Background technology
Due to the high speed development of electronic business mode in recent years, the pattern of consuming under a kind of Online Xian Shang Offline of on-line shop line is more and more welcome, trade company can be by internet by information pushings such as Business Information, merchandise news, coupon and payment instrument to consumer, consumer is by screening commodity casual on line, material object comparison under line, consume selectively after experiencing, paid shopping under online.
Nowadays the form paying under line is varied, along with the popularization of Internet technology and the development of mobile communication technology, the mobile terminal that consumer generally has as the functions such as mobile phone, panel computer energy from strength to strength, the form of mobile payment is quietly risen, consumer can just can be settled accounts accordingly and pay by carry-on mobile terminal device, trouble and risk that consumer carries buckets of cash currency have been removed in this electronic payment mode from, effectively improve the efficiency of payment and settlement, be subject to more and more trade company and consumers welcomed.
Because need to applying to close range communication techniques, the mobile payment under line sets up the bridge that between cash register terminal and payment end, information is transmitted, and the existing mode that provides short-range communication to connect has Bluetooth technology, infrared data transmission, near-field communication (NFC) technology and Quick Response Code scanning etc., still there is the defect of each side in these technology, as needing manual operation to set up after terminal device pairing connects, Bluetooth technology could operate, Bluetooth chip price is higher, time-consuming inconvenience again when the trade company that portfolio is larger or the quick occasion paying of needs, the hardware modification cost of terminal device is high, infrared data transmits owing to being a kind of line-of-sight transmission, between the equipment of two mutual communications, necessary aligning and centre can not be intercepted ability successful connection by object, therefore its reliability and poor anti jamming capability, data transmission rate is low, and most mobile terminals do not configure infrared ray linkage function yet, near-field communication NFC technology adopts bidirectional recognition and connection, distance in 10cm-20cm left and right is worked in 13.56MHZ high-frequency range, be so far safer low coverage mechanics of communication, but its NFC chip involve great expense, and only has at present limited mobile terminal to support this technology, Quick Response Code scanning technique realizes paying good serious forgiveness and discrimination power, but the pick-up lens of taking pictures for payment and cashier terminal there are certain requirements, and the demonstration of Quick Response Code is also had to requirement, and the operating process used time is longer, need to manually scan Quick Response Code, inconvenience fast pays.
Payment technology is carried out in comprehensive Near Field Communication connection of the prior art, general all can not perfectly meet under line pay the required universal demand of quick easy-to-use low-cost and easy-to again, be therefore necessary to provide a kind of energy efficient and convenient, be simple and easy to guarantee that with, low cost and payment process the close-distance safety method of payment of its reliability, security and high efficiency and system pay by mails the reliable efficient requirement of Portable safety to meet.
Summary of the invention
The object of the present invention is to provide a kind of can meet pay by mails reliably efficiently requirement of Portable safety, realize efficient and convenient, be simple and easy to use, closely sound wave safe payment method and system thereof that low cost and payment process guarantee its reliability, security and high efficiency.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is:
A kind of sound wave safe payment method is provided, comprises the steps:
S1, payment end are set up order and are obtained and the corresponding Transaction Information of transaction data of order from network-side database, Transaction Information is used key to be encrypted and carries out RS coding generated data frame, then described Frame is carried out to phase-shift keying (PSK) modulation and generate audio frame and play respective audio;
S2, gathering end carry out phase-shift keying (PSK) demodulation generated data frame to it after obtaining described audio frequency, Frame is carried out using the key prestoring to be decrypted generation Transaction Information after RS decoding, then use described Transaction Information obtain corresponding transaction data and show from network-side database, send with described transaction data and confirm that accordingly trading instruction is to network-side database afterwards;
S3, when receiving the confirmation after trading instruction, network-side database carries out payment operation to corresponding transaction data.
Another technical solution used in the present invention is:
A kind of sound wave safety payment system is provided, comprise payment end, gathering end and network-side database, described payment end comprises the first audio frequency transmitting element and the first audio frequency receiving element, described gathering end comprises the second audio frequency transmitting element and the second audio frequency receiving element, it is characterized in that, described payment end comprises;
Order is set up unit, for setting up order and obtaining and the corresponding Transaction Information of transaction data of order from network-side database; And
The first transaction unit, for using key to be encrypted to Transaction Information and carrying out RS coding generated data frame, then carries out phase-shift keying (PSK) modulation to described Frame and generates audio frame and play respective audio by the first audio frequency transmitting element;
Described gathering end comprises:
The second transaction unit carries out phase-shift keying (PSK) demodulation generated data frame to it for obtain described audio frequency by the second audio frequency receiving element after, Frame carried out decoding and generating Transaction Information with the key prestoring after RS decoding, and;
Trade confirmation unit, for using described Transaction Information obtain corresponding transaction data and show from network-side database, sends with the confirmation trading instruction of described transaction data afterwards to described network-side database;
Described network-side database is used for when receiving the confirmation after trading instruction, and network-side database carries out payment operation to corresponding transaction data.
Beneficial effect of the present invention is, between holding, payment end and gathering set up sound wave connection by utilization, the process connecting by sound wave is modulated into key audio frame and is passed to gathering and holds carrying out RS coding and phase-shift keying (PSK) after the random payment end secret key encryption generating, successfully set up after sound wave connects and pay the bill and hold the Transaction Information of setting up order and obtaining order, Transaction Information is used and carries out RS coding and phase-shift keying (PSK) modulator approach after secret key encryption and every two bit of Frame are divided into a code element pass through planisphere and be mapped as I road signal and Q road signal, and two paths of signals is represented by the two-way carrier phase that phase differential is 90 degree, and the I road signal after modulation and Q road signal plus are obtained to audio plays after audio frame, beneficiary carries out obtaining Frame after orthogonal coherent demodulation process to it after obtaining audio frequency, after being decrypted, the key of decoding and prestoring through RS obtains Transaction Information, then use described Transaction Information obtain corresponding transaction data and show from network-side database, send confirmation trading instruction to the network data base that described transaction data is corresponding simultaneously corresponding transaction data is completed to payment.By the present invention, realize and will after the order transaction information encryption of payment end, after RS coding and phase-shift keying (PSK) modulation, change audio frame into again by extremely gathering end of sonic transmissions, the secret key decryption that after gathering termination receipts, utilization prestores RS decoding and orthogonal coherent demodulation process change Transaction Information into and complete payment process, by the encryption to sonic transmissions data, guarantee the change that is not stolen of transmission data; By transmission data are used to the RS decoding method with error correction, can effectively correct the error of transmission of certain byte, avoid as much as possible transmitting the mistake of data; By the Frame after coding is used to the high phase-shift keying (PSK) mode modulation /demodulation of transfer efficiency, effectively promote interference free performance and stability, avoid gathering end decoding demodulation mistake or leak code; By by hold by payment and collect money end between bi-directional, and the feedback response of transmission sequence information correctness, can days of grace end with gathering end between the correctness of information transmission, avoid appearing at and in transmitting procedure, transmit the data phenomenon of still paying the bill of makeing mistakes, reliability is high.
Accompanying drawing explanation
Fig. 1 is the system chart of a kind of sound wave safe payment method in an embodiment of the present invention;
Fig. 2 is the flowchart of a kind of sound wave safe payment method in an embodiment of the present invention;
Fig. 3 realizes the flowchart that sound wave pays in one example;
Fig. 4 is the structural representation of Frame;
The structural representation of Fig. 5 control frame;
Fig. 6 is that payment end is shaken hands and set up the flowchart that sound wave is connected with gathering end;
Fig. 7 is the sonic transmissions flowchart of Transaction Information.
Main element symbol description
Sound wave payment system 100
Gathering end 10
Network-side database 20
Payment end 30
Embodiment
By describing technology contents of the present invention, structural attitude in detail, being realized object and effect, below in conjunction with embodiment and coordinate accompanying drawing to be explained in detail.
For solving the defect that in background technology, prior art exists, the invention provides a kind of sound wave safe payment method and system, payment terminals encryption key K generates at random, to send the process of encrypting secret key as whether verifying sound wave successful connection step simultaneously, inform transmitting terminal reception result by successful or failed control frame, obtain the feedback response that data are transmitted, enter next stage or retransmission data thereby promote transmitting terminal, improved transmission reliability; In addition, the present invention sends acoustic signals at high band (16-18kHz), and adopt the modulation system of phase-shift keying (PSK), can effectively promote interference free performance and stability, avoid collecting money and hold decoding demodulation mistake or leak code and energy days of grace end and the correctness that between end, information is transmitted of collecting money, reliability is high.
Referring to Fig. 1, is the system chart of a kind of sound wave payment system in an embodiment of the present invention.This sound wave payment system 100 comprises gathering end 10, network-side database 20 and payment end 30.
Particularly, gathering end 10 is installed on the cashier terminal or financial POS of lift-launch audio-frequency function of trade company, it is upper that payment end 30 is installed on the mobile terminal (as mobile phone or panel computer) that client has audio-frequency function, and network-side database 20 is arranged in provides the payment services of payment services quotient system system.
In the present embodiment, described payment end 30 comprises the first audio frequency transmitting element and the first audio frequency receiving element, and described payment end also comprises; Order is set up unit, for setting up order and obtaining and the corresponding Transaction Information of transaction data of order from network-side database; And the first transaction unit, for using key to be encrypted to Transaction Information and carrying out RS coding generated data frame, then described Frame is carried out to phase-shift keying (PSK) modulation and generate audio frame and play respective audio by the first audio frequency transmitting element;
Described gathering end 10 comprises the second audio frequency transmitting element, the second audio frequency receiving element, the second transaction unit and trade confirmation unit, the second transaction unit, for after obtaining described audio frequency by the second audio frequency receiving element, it is carried out to phase-shift keying (PSK) demodulation generated data frame, Frame is carried out decoding and generating Transaction Information with the key prestoring after RS decoding, and;
Trade confirmation unit, for using described Transaction Information obtain corresponding transaction data and show from network-side database, sends with the confirmation trading instruction of described transaction data afterwards to described network-side database;
Described network-side database is used for when receiving the confirmation after trading instruction, and network-side database carries out payment operation to corresponding transaction data.
In the present embodiment, described gathering end 10 also comprises the first feedback unit, described payment end also comprises the first feedback response unit: the first feedback unit, for when after described the second transaction unit successful decryption, is play successful control audio frequency corresponding to successful control frame through phase-shift keying (PSK) modulation by the second audio frequency transmitting element; When after Decryption failures, play failed control audio frequency corresponding to failed control frame through phase-shift keying (PSK) modulation by the second audio frequency transmitting element;
The first feedback response unit is for getting and describedly successfully control audio frequency or unsuccessfully control after audio frequency when described the first audio frequency receiving element, it is carried out to phase-shift keying (PSK) demodulation and generate successful control frame or failed control frame, and in the time of failed regeneration control frame, notify described the first transaction unit to carry out described " playing respective audio by the first audio frequency transmitting element " operation.
In the present embodiment, described the first transaction unit comprises the first linkage unit and is connected confirmation unit, described the first linkage unit generates DES key and it is carried out to RS coding formation key data frame for random, then key data frame is carried out to phase-shift keying (PSK) and is modulated into key audio frame and plays corresponding secret key audio frequency by the first audio frequency transmitting element;
Described the second transaction unit comprises the second linkage unit, for it being carried out to phase-shift keying (PSK) demodulation after described the second audio frequency receiving element obtains described key audio frequency, then carry out RS decoding and judge that whether demodulation is successful, if successful store DES key and play successful controls audio frequency corresponding to successful control frame through phase-shift keying (PSK) modulation, if failure notifies described the second audio frequency transmitting element to play failed control audio frequency corresponding to failed control frame that process phase-shift keying (PSK) is modulated;
Described the first audio frequency receiving element, the end that is used for paying the bill obtains successfully to be controlled audio frequency or unsuccessfully controls audio frequency and carry out phase-shift keying (PSK) demodulation succeed control frame or failed control frame, and by described the first transaction unit, described Frame is carried out phase-shift keying (PSK) modulation generation audio frame and plays respective audio in the time generating successful control frame; And in the time of failed regeneration control frame, be back to described the first linkage unit by described the first audio frequency transmitting element broadcasting corresponding secret key audio frequency.
In the present embodiment, in described Frame or key data frame, comprise data, opening flag and end mark; Described successful control frame packet is containing opening flag, end mark, and accurate indication; Described failed control frame comprises opening flag, end mark and error flag.Described " described Frame is carried out to phase-shift keying (PSK) modulation " is specially: every two bit of Frame, key data frame, successful control frame or failed control frame are divided into a code element and are mapped as I road signal and Q road signal through planisphere, and two paths of signals is represented by the two-way carrier phase that phase differential is 90 degree; And I road signal and Q road signal plus after modulation are obtained to audio frame, key audio frame, successfully control audio frame or unsuccessfully control audio frame signal.
Referring to Fig. 2, is the flowchart of a kind of sound wave safe payment method in an embodiment of the present invention.This sound wave safe payment method is applied in described sound wave safety payment system, and the method comprises the steps:
S1, payment end are set up order and are obtained and the corresponding Transaction Information of transaction data of order from network-side database, Transaction Information is used key to be encrypted and carries out RS coding generated data frame, then described Frame is carried out to phase-shift keying (PSK) modulation and generate audio frame and play respective audio;
S2, gathering end carry out phase-shift keying (PSK) demodulation generated data frame to it after obtaining described audio frequency, Frame is carried out using the key prestoring to be decrypted generation Transaction Information after RS decoding, then use described Transaction Information obtain corresponding transaction data and show from network-side database, send with described transaction data and confirm that accordingly trading instruction is to network-side database afterwards;
S3, when receiving the confirmation after trading instruction, network-side database carries out payment operation to corresponding transaction data.
Wherein, in described step S2, after " Frame is carried out to RS decodes rear ", also comprise:
When after successfully decoded, gathering end is play successful control audio frequency corresponding to successful control frame through phase-shift keying (PSK) modulation; After decoding unsuccessfully, gathering end is play failed control audio frequency corresponding to failed control frame through phase-shift keying (PSK) modulation;
Described payment end gets and describedly it is carried out to phase-shift keying (PSK) demodulation after successfully controlling audio frequency or unsuccessfully controlling audio frequency and generate successful control frame or failed control frame, and in the time of failed regeneration control frame, returns to " broadcasting respective audio " step in execution step S1.
Wherein, described " then described Frame being carried out to phase-shift keying (PSK) modulation generates audio frame and play respective audio " is front also comprises that sound wave connects establishment step, is specially:
S11, payment end generate at random DES key and it are carried out to RS coding and form key data frame, then key data frame are carried out to phase-shift keying (PSK) and are modulated into key audio frame and play corresponding secret key audio frequency;
S12, gathering end carry out phase-shift keying (PSK) demodulation to it after obtaining described key audio frequency, and carry out RS decoding and judge that whether decoding is successful; If successful gathering end is stored DES key and is play successful control audio frequency corresponding to successful control frame through phase-shift keying (PSK) modulation, if failed gathering end is play failed control audio frequency corresponding to failed control frame of modulating through phase-shift keying (PSK);
Payment end is to successful the controls audio frequency getting or unsuccessfully control audio frequency and carry out phase-shift keying (PSK) demodulation succeed control frame or failed control frame " described Frame is carried out to phase-shift keying (PSK) to be modulated generation audio frame and play respective audio " step described in entering in the time generating successful control frame; And in the time of failed regeneration control frame, return to " the play corresponding secret key audio frequency " step in step S11.
Wherein, in described Frame or key data frame, comprise data, opening flag and end mark; Described successful control frame packet is containing opening flag, end mark and accurate indication; Described failed control frame comprises opening flag, end mark and error flag.The specific implementation step of described " carrying out phase-shift keying (PSK) modulation " comprising: every two bit of described Frame, key data frame, successful control frame or failed control frame are divided into a code element and are mapped as I road signal and Q road signal through planisphere, and two paths of signals is represented by the two-way carrier phase that phase differential is 90 degree; And I road signal and Q road signal plus after modulation are obtained to audio frame, key audio frame, successfully control audio frame or unsuccessfully control audio frame signal;
The specific implementation step of described " carrying out phase-shift keying (PSK) demodulation " comprising: adopt orthogonal coherent demodulation that audio frequency, key audio frequency are successfully controlled to audio frequency or unsuccessfully control Audio recovery become audio frame, key audio frame or control audio frame.
Below in conjunction with a specific embodiment, the realization of a kind of sound wave safe payment method of the present invention and system is carried out to concrete detailed explanation:
Referring to Fig. 3, is in an example, to realize the flowchart that sound wave pays.This flow process is specially:
The first step, payment end unit is set up trading order form, and obtains transaction ID and information needed by internet from network-side Database Unit;
Second step, payment end unit is encrypted transaction ID and information;
The 3rd step, payment end unit and the end unit of collecting money are shaken hands and are set up sound wave and be connected;
The 4th step, plays by sound wave after the modulation of payment end unit phase-shift keying (PSK), and gathering end unit successfully obtains correct sound wave audio frequency;
The 5th step, the RS decoding of gathering end unit secret key decryption identify transaction ID and information;
The 6th step, the transaction ID that the utilization of gathering end unit is obtained and information exchange are crossed internet and are obtained sequence information and confirm transaction from network-side Database Unit;
The 7th step, payment end unit and gathering end unit all obtain the indication of having concluded the business from network-side Database Unit by internet.
Phase-shift keying (PSK) PSK modulator approach:
Phase-shift keying (PSK) PSK modulator approach is a kind of modulation technique that represents input signal information by carrier phase, every two bit of described Frame, key data frame, successful control frame or the failed control frame crossed through RS algorithm coding are divided into a code element, be mapped as I road signal through this code element through planisphere and Q road signal two paths of signals carries out respectively high frequency modulated, signal modulated carrier used in I road is cos ω t, that Q uses on road is the carrier wave sin ω t that phase differential 90 is spent, wherein, ω=2 π f 0, f 0for a selected high frequency frequency in 16kHz~18kHz, not adjust the phase place of carrier wave as the phase place of benchmark, Phase Stacking corresponding to different symbol is to forming with tonal signal in carrier wave separately.If the quantity of distinct symbols that modulation forms is M, be labeled as MPSK(M and be 2 n power, n>=2), the contained quantity of information of this each symbol is log 2mbit, therefore, only need be according to the demand of practical application, increase or reduce the value of M in when modulation, just can realize the object that improves or reduce transfer rate, and choose all at high band, therefore frequency interference free performance is better, is conducive to decoding end and is correctly decoded.
Because the one end of carrying out sound wave payment adopts mobile terminal handheld device, in sound wave communication process, can be due to of short duration variations such as handheld device angle, positions, cause the sound signal that receiving end is received in signal intensity, to produce brief fluctuations variation, react in the modulated signal amplitude of receiving.So depend on the amplitude modulation technique of modulated signal amplitude (as QAM, ASK etc.) for information, can produce certain probable bit error.On the contrary, information depends on the phase modulation technique PSK of carrier phase, and interference free performance and stability are better.
Control mark:
The length of controlling mark is 1 byte, and beginning flag is byte 0x0F, and end mark is byte 0xF0, and accurate indication is 0x34, and error flag is 0xAB.
Audio data frame and control frame form:
Referring to Fig. 4, is the structural representation of Frame.4 byte check byte in Frame are passed through RS(15,11) algorithm (Read-Solomon error correcting code) draws, be that every 11 byte valid data can generate 4 check byte, can correct the error of transmission of 2 bytes, the filling 0 of Frame valid data less than 11 bytes.Referring to Fig. 5, is the structural representation of control frame, is three byte lengths.
The detailed operation flow process of sound wave connection and Transaction Information sonic transmissions:
See also Fig. 6, Fig. 7, Fig. 6 is that payment end is shaken hands and set up the flowchart that sound wave is connected with gathering end, and Fig. 7 is the sonic transmissions flowchart of Transaction Information.
1) payment end payment process starts;
2) gathering end gathering flow startup;
3) payment end is set up order according to merchandise news price etc.;
4) payment end sequence information is sent to the request of network-side Database Unit by the Internet and generates transaction;
5) network-side is received sequence information, generates Transaction Information;
6) network-side transmission transaction sign and relevant information are to payment section;
7) payment end receives that by the Internet transaction indicates and relevant information;
8) the random des encryption key K that generates 56bit length of payment end;
9) payment end utilizes key K encrypting step 7) the transaction sign and the relevant information that obtain, adopt des encryption;
10) start sound wave connection procedure (as Fig. 6)
A) payment end carries out RS coding to key K and forms Frame;
B) payment end carries out PSK by Frame and is modulated into sound signal;
C) payment end sends sound signal;
D) gathering end received audio signal;
If e) gathering end RS successfully decoded, PSK modulation sends successful control frame, enters step g); If unsuccessfully enter step f);
F) gathering end sends failed control frame, enters step h);
G) payment end is received successfully control frame, and sound wave connects have been set up;
H) payment end is received unsuccessfully control frame, gets back to step c);
11) the secret key K of gathering end storage;
12) start sonic transmissions process (as Fig. 7)
A) payment holds the data after step 9) is encrypted to carry out RS coding formation Frame;
B) payment end carries out PSK by Frame and is modulated into sound signal;
C) payment end sends sound signal;
D) gathering end received audio signal;
If e) gathering end PSK modulation, RS successfully decoded, send successful control frame, enter step g); If unsuccessfully enter step f);
F) gathering end sends failed control frame, enters step h);
G) payment end is received successfully control frame, and sonic transmissions completes;
H) payment end is received unsuccessfully control frame, gets back to step c);
13) gathering end utilizes key K to carry out DES deciphering and identifies transaction ID and information;
14) gathering end unit sends transaction ID and the information obtained to network-side Database Unit by internet;
15) network-side is responded Transaction Information order to gathering end by internet;
16) gathering end is sent and is confirmed that trading instruction is to network-side by internet;
17) network-side is processed payment;
18) network-side sends the message of Transaction Success by internet to gathering end and payment end;
In a kind of sound wave safe payment method and the system of invention, by setting up, audio frequency connects and the protocol rule of transmitting procedure, and use des encryption, RS encoding and decoding and phase-shift keying (PSK) modulation system, realize the off-line transaction method system of payment end, gathering end and network-side composition.It has following beneficial effect:
1, security: the present invention adopts des encryption, encryption key K generates at random, and effective security is provided, and is difficult for being broken.
2, reliability: sonic transmissions process of the present invention is by connecting process of establishing and data transmission procedure forms, and be two-way communication process, there is controlled functions of retransmission, promote transmission reliability, after receiving that data check completes, can inform transmitting terminal reception result by successful or failed control audio frame, enter next stage or retransmission data thereby promote transmitting terminal, improve transmission reliability.In addition, the Frame that adopts RS error correcting code to weave into, receiving end can be corrected 2 error bytes in 11 effective bytes, has further promoted transmission reliability.
3, the present invention sends acoustic signals at high band (16-18kHz), and adopt the modulation system of phase-shift keying (PSK), by utilizing carrier phase to represent the modulation technique of input signal information, information depends on the phase modulation technique PSK of carrier phase, the sound frequency that can effectively resist physical environment disturbs, and has embodied anti-interference.
4, the present invention adopts des encryption, and key generates at random, and effective security is provided, and is difficult for being broken.
In sum, this invention can effectively meet sound wave and pay the characteristic of required security, reliability and anti-interference, in can being widely used in and paying by mails under all kinds of lines.
The foregoing is only embodiments of the invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes instructions of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a sound wave safe payment method, is characterized in that, comprises the steps:
S1, payment end are set up order and are obtained and the corresponding Transaction Information of transaction data of order from network-side database, Transaction Information is used key to be encrypted and carries out RS coding generated data frame, then described Frame is carried out to phase-shift keying (PSK) modulation and generate audio frame and play respective audio;
S2, gathering end carry out phase-shift keying (PSK) demodulation generated data frame to it after obtaining described audio frequency, Frame is carried out using the key prestoring to be decrypted generation Transaction Information after RS decoding, then use described Transaction Information obtain corresponding transaction data and show from network-side database, send with described transaction data and confirm that accordingly trading instruction is to network-side database afterwards;
S3, when receiving the confirmation after trading instruction, network-side database carries out payment operation to corresponding transaction data.
2. a kind of sound wave safe payment method according to claim 1, is characterized in that, after " Frame being carried out after RS decoding ", also comprises in described step S2:
When after successfully decoded, gathering end is play successful control audio frequency corresponding to successful control frame through phase-shift keying (PSK) modulation; After decoding unsuccessfully, gathering end is play failed control audio frequency corresponding to failed control frame through phase-shift keying (PSK) modulation;
Described payment end gets and describedly it is carried out to phase-shift keying (PSK) demodulation after successfully controlling audio frequency or unsuccessfully controlling audio frequency and generate successful control frame or failed control frame, and in the time of failed regeneration control frame, returns to " broadcasting respective audio " step in execution step S1.
3. a kind of sound wave safe payment method according to claim 1, is characterized in that, described " then described Frame being carried out to phase-shift keying (PSK) modulation generates audio frame and play respective audio " is front also comprises that sound wave connects establishment step, is specially:
S11, payment end generate at random DES key and it are carried out to RS coding and form key data frame, then key data frame are carried out to phase-shift keying (PSK) and are modulated into key audio frame and play corresponding secret key audio frequency;
S12, gathering end carry out phase-shift keying (PSK) demodulation to it after obtaining described key audio frequency, and carry out RS decoding and judge that whether decoding is successful; If successful gathering end is stored DES key and is play successful control audio frequency corresponding to successful control frame through phase-shift keying (PSK) modulation, if failed gathering end is play failed control audio frequency corresponding to failed control frame of modulating through phase-shift keying (PSK);
Payment end is to successful the controls audio frequency getting or unsuccessfully control audio frequency and carry out phase-shift keying (PSK) demodulation succeed control frame or failed control frame " described Frame is carried out to phase-shift keying (PSK) to be modulated generation audio frame and play respective audio " step described in entering in the time generating successful control frame; And in the time of failed regeneration control frame, return to " the play corresponding secret key audio frequency " step in step S11.
4. according to a kind of sound wave safe payment method described in claim 1-3 any one, it is characterized in that, in described Frame or key data frame, comprise data, opening flag and end mark; Described successful control frame packet is containing opening flag, end mark and accurate indication; Described failed control frame comprises opening flag, end mark and error flag.
5. a kind of sound wave safe payment method according to claim 4, it is characterized in that, the specific implementation step of described " carrying out phase-shift keying (PSK) modulation " comprising: every two bit of described Frame, key data frame, successful control frame or failed control frame are divided into a code element and are mapped as I road signal and Q road signal through planisphere, and two paths of signals is represented by the two-way carrier phase that phase differential is 90 degree; And I road signal and Q road signal plus after modulation are obtained to audio frame, key audio frame, successfully control audio frame or unsuccessfully control audio frame signal;
The specific implementation step of described " carrying out phase-shift keying (PSK) demodulation " comprising: adopt orthogonal coherent demodulation that audio frequency, key audio frequency are successfully controlled to audio frequency or unsuccessfully control Audio recovery become audio frame, key audio frame or control audio frame.
6. a sound wave safety payment system, comprise payment end, gathering end and network-side database, described payment end comprises the first audio frequency transmitting element and the first audio frequency receiving element, described gathering end comprises the second audio frequency transmitting element and the second audio frequency receiving element, it is characterized in that, described payment end comprises;
Order is set up unit, for setting up order and obtaining and the corresponding Transaction Information of transaction data of order from network-side database; And
The first transaction unit, for using key to be encrypted to Transaction Information and carrying out RS coding generated data frame, then carries out phase-shift keying (PSK) modulation to described Frame and generates audio frame and play respective audio by the first audio frequency transmitting element;
Described gathering end comprises:
The second transaction unit carries out phase-shift keying (PSK) demodulation generated data frame to it for obtain described audio frequency by the second audio frequency receiving element after, Frame carried out decoding and generating Transaction Information with the key prestoring after RS decoding, and;
Trade confirmation unit, for using described Transaction Information obtain corresponding transaction data and show from network-side database, sends with the confirmation trading instruction of described transaction data afterwards to described network-side database;
Described network-side database is used for when receiving the confirmation after trading instruction, and network-side database carries out payment operation to corresponding transaction data.
7. a kind of sound wave safety payment system according to claim 6, is characterized in that, described gathering end also comprises the first feedback unit, and described payment end also comprises the first feedback response unit:
The first feedback unit, for when after described the second transaction unit successful decryption, is play successful control audio frequency corresponding to successful control frame through phase-shift keying (PSK) modulation by the second audio frequency transmitting element; When after Decryption failures, play failed control audio frequency corresponding to failed control frame through phase-shift keying (PSK) modulation by the second audio frequency transmitting element;
The first feedback response unit is for getting and describedly successfully control audio frequency or unsuccessfully control after audio frequency when described the first audio frequency receiving element, it is carried out to phase-shift keying (PSK) demodulation and generate successful control frame or failed control frame, and in the time of failed regeneration control frame, notify described the first transaction unit to carry out described " playing respective audio by the first audio frequency transmitting element " operation.
8. a kind of sound wave safety payment system according to claim 6, it is characterized in that, described the first transaction unit comprises the first linkage unit and is connected confirmation unit, described the first linkage unit generates DES key and it is carried out to RS coding formation key data frame for random, then key data frame is carried out to phase-shift keying (PSK) and is modulated into key audio frame and plays corresponding secret key audio frequency by the first audio frequency transmitting element;
Described the second transaction unit comprises the second linkage unit, for it being carried out to phase-shift keying (PSK) demodulation after obtaining described key audio frequency by the second audio frequency receiving element, then carry out RS decoding and judge that whether demodulation is successful, if successful control audio frequency corresponding to successful control frame successful that store DES key and modulate through phase-shift keying (PSK) by the second audio frequency transmitting element broadcasting, if failed control audio frequency corresponding to failed control frame that failure is modulated through phase-shift keying (PSK) by the second audio frequency transmitting element broadcasting;
Described the first audio frequency receiving unit, for successful the controls audio frequency that gets by the first audio frequency receiving element or unsuccessfully control audio frequency and carry out phase-shift keying (PSK) demodulation succeed control frame or failed control frame, and in the time generating successful control frame, notify the first transaction unit to carry out described " described Frame is carried out to the modulation of single-tone multifrequency algorithm to be generated audio frame and also pass through the first audio frequency transmitting element broadcasting respective audio ".
9. according to a kind of sound wave safety payment system described in claim 6-8 any one, it is characterized in that, in described Frame or key data frame, comprise data, opening flag and end mark; Described successful control frame packet is containing opening flag, end mark, and accurate indication; Described failed control frame comprises opening flag, end mark and error flag.
10. a kind of sound wave safety payment system according to claim 9, it is characterized in that, described " described Frame is carried out to phase-shift keying (PSK) modulation " is specially: every two bit of Frame, key data frame, successful control frame or failed control frame are divided into a code element and are mapped as I road signal and Q road signal through planisphere, and two paths of signals is represented by the two-way carrier phase that phase differential is 90 degree; And I road signal and Q road signal plus after modulation are obtained to audio frame, key audio frame, successfully control audio frame or unsuccessfully control audio frame signal.
CN201410142541.8A 2014-04-10 2014-04-10 Sound wave safety payment method and system Pending CN103903142A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410142541.8A CN103903142A (en) 2014-04-10 2014-04-10 Sound wave safety payment method and system
PCT/CN2015/070705 WO2015154561A1 (en) 2014-04-10 2015-01-14 Sound wave secure payment method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410142541.8A CN103903142A (en) 2014-04-10 2014-04-10 Sound wave safety payment method and system

Publications (1)

Publication Number Publication Date
CN103903142A true CN103903142A (en) 2014-07-02

Family

ID=50994452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410142541.8A Pending CN103903142A (en) 2014-04-10 2014-04-10 Sound wave safety payment method and system

Country Status (2)

Country Link
CN (1) CN103903142A (en)
WO (1) WO2015154561A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104299128A (en) * 2014-09-26 2015-01-21 北京奇艺世纪科技有限公司 Payment method utilizing smart television, mobile terminal and smart television
WO2015154553A1 (en) * 2014-04-10 2015-10-15 福建联迪商用设备有限公司 Sound-wave payment method and system
WO2015154552A1 (en) * 2014-04-10 2015-10-15 福建联迪商用设备有限公司 Sound-wave payment method and system
WO2015154560A1 (en) * 2014-04-10 2015-10-15 福建联迪商用设备有限公司 Sound wave secure payment method and system
WO2015154561A1 (en) * 2014-04-10 2015-10-15 福建联迪商用设备有限公司 Sound wave secure payment method and system
CN107748990A (en) * 2017-10-13 2018-03-02 苏州市成德企业服务有限公司 A kind of self-help payment method and system based on sound wave communication
CN113673982A (en) * 2021-08-25 2021-11-19 苏州触达信息技术有限公司 Electronic payment method using ultrasonic sound waves to replace two-dimensional codes

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106911658B (en) * 2016-06-07 2021-08-06 创新先进技术有限公司 Data transmission method, data sending end, data receiving end and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102509218A (en) * 2011-09-30 2012-06-20 重庆南天数据资讯服务有限公司 System implementation method for realizing POS (point-of-sale) card swiping payment device based on mobile communication terminal
CN102722812A (en) * 2012-05-22 2012-10-10 朱建 Method and device for transmitting consumption certificate number through audio signal to realize spot transaction
CN102739291A (en) * 2011-04-02 2012-10-17 国民技术股份有限公司 Near field communication module, system and method thereof
CN103354461A (en) * 2013-08-12 2013-10-16 朱成敏 Sound-based near field communication system and method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103903142A (en) * 2014-04-10 2014-07-02 福建联迪商用设备有限公司 Sound wave safety payment method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739291A (en) * 2011-04-02 2012-10-17 国民技术股份有限公司 Near field communication module, system and method thereof
CN102509218A (en) * 2011-09-30 2012-06-20 重庆南天数据资讯服务有限公司 System implementation method for realizing POS (point-of-sale) card swiping payment device based on mobile communication terminal
CN102722812A (en) * 2012-05-22 2012-10-10 朱建 Method and device for transmitting consumption certificate number through audio signal to realize spot transaction
CN103354461A (en) * 2013-08-12 2013-10-16 朱成敏 Sound-based near field communication system and method thereof

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015154553A1 (en) * 2014-04-10 2015-10-15 福建联迪商用设备有限公司 Sound-wave payment method and system
WO2015154552A1 (en) * 2014-04-10 2015-10-15 福建联迪商用设备有限公司 Sound-wave payment method and system
WO2015154560A1 (en) * 2014-04-10 2015-10-15 福建联迪商用设备有限公司 Sound wave secure payment method and system
WO2015154561A1 (en) * 2014-04-10 2015-10-15 福建联迪商用设备有限公司 Sound wave secure payment method and system
CN104299128A (en) * 2014-09-26 2015-01-21 北京奇艺世纪科技有限公司 Payment method utilizing smart television, mobile terminal and smart television
CN104299128B (en) * 2014-09-26 2018-08-14 北京奇艺世纪科技有限公司 Utilize the method for payment of smart television, mobile terminal and smart television
CN107748990A (en) * 2017-10-13 2018-03-02 苏州市成德企业服务有限公司 A kind of self-help payment method and system based on sound wave communication
CN113673982A (en) * 2021-08-25 2021-11-19 苏州触达信息技术有限公司 Electronic payment method using ultrasonic sound waves to replace two-dimensional codes

Also Published As

Publication number Publication date
WO2015154561A1 (en) 2015-10-15

Similar Documents

Publication Publication Date Title
CN103903135A (en) Sound wave safety payment method and system
CN103903142A (en) Sound wave safety payment method and system
CN103927657A (en) Sound wave payment method and system
CN103903139A (en) Sound wave payment method and system
CN102223234B (en) Electronic signature system and method based on audio communication
CN102722816B (en) A kind of method, system and device of mobile payment
CN105427101A (en) Unified payment access gateway supporting multiple payment channels
CN202771476U (en) Security certification system
CN102468960A (en) Off-line mode identity and transaction authentication method and terminal
CN103617532A (en) Offline payment and collection method and device for mobile terminals
CN103426084A (en) Electronic payment system and remote-based or near-field-based payment method
CN102509213A (en) System and method for remote payment and trade, mobile terminal and subscriber identity module (SIM) card
WO2015135384A1 (en) O2o secure payment method and system, and pos terminal
WO2014111888A1 (en) Mobile payment system
CN105894275A (en) Two-dimensional-code-based intelligent payment system
CN104463576A (en) NFC mobile payment communication method based on online payment
CN103577977A (en) Method and system for on-line shopping and off-line payment
CN109345241A (en) A kind of barcode scanning method of payment and system
CN105184556A (en) Bluetooth-based mobile payment system and payment method
CN104318436A (en) Safety payment method and system based on mobile terminal and mobile terminal
CN103955820A (en) Non-card payment method and device
CN101571939A (en) Method, device and system for using electronic checks for business transaction
CN104881781A (en) Method, system, and client based on secure transaction
CN105160531B (en) Transaction data processing method and processing device
CN108334927A (en) A kind of NFC receives single label and its method of payment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140702