Summary of the invention
The application provides a kind of correlation technique and equipment that carries out information interaction based on POS machine, and its delivery operation is simple, has improved convenience and the security of mobile payment.
According to the application's first aspect, the application provides a kind of mobile payment device, comprising:
The first input media, for obtaining operational order;
Emitter;
Processor, it is connected with the first input media and emitter respectively, and processor responds the operational order that the first input media receives, and obtains user account information and processes, and adopts user account information control emitter after treatment to transmit.
According to the application's second aspect, the application provides a kind of method of mobile payment device transmitting user account information, comprising:
The first input media receives operational order;
Processor obtains user account information based on operational order, and user account information is processed;
Adopt the emitter of user account information control mobile payment device after treatment to transmit.
According to the application's the third aspect, the application provides a kind of POS machine, comprising:
Housing, has signal receiver hole on described housing;
Paying centre access device, it is arranged on enclosure interior or outside, for communicating by wireless or wired mode and paying centre;
Secondary input device, described secondary input device is arranged on surface of shell, for inputting interface is provided;
Receiving trap, for receiving signal, and is converted to electric signal output by signal, and it is arranged on enclosure interior, and receiving trap receives signal by the signal receiver hole of housing;
POS machine processor, described POS machine processor is arranged on enclosure interior, be connected with paying centre access device, secondary input device and receiving trap respectively, for responding respectively the output of paying centre access device, secondary input device and receiving trap and processing.
According to the application's fourth aspect, the application provides a kind of method of obtaining user account information based on POS machine, comprising:
Receive the signal that carries user account information by receiving trap, and signal is changed to output electrical signals;
Electric signal is processed, parsed user account information, and export user account information to POS machine processor.
According to the application's the 5th aspect, the application provides a kind of method of carrying out information interaction based on POS machine, comprising:
Mobile payment device receives operational order;
Obtain user account information based on operational order, and generate interaction data based on operational order and user account information, interaction data is processed;
Adopt the emitter of interaction data control mobile payment device after treatment to transmit;
The receiving trap of POS machine receives and carries the signal of interaction data, and signal is changed to output electrical signals;
Electric signal is processed, parsed interaction data, and export interaction data to POS machine processor;
POS machine processor is processed based on interaction data.
According to the application's the 6th aspect, the application provides a kind of system paying based on POS machine, comprises above-mentioned any mobile payment device and above-mentioned any POS machine.
The application provides a kind of correlation technique paying based on POS machine and equipment, wherein, mobile payment device gets after operational order, carry the signal of the pre-stored user account information of user to the transmitting of POS machine, POS machine is changed it after receiving this signal, finally obtain user account information by processing, and then complete delivery operation.This information interaction mode has avoided carrying the inconvenience of bank card, has also saved the step of swiping the card simultaneously, makes delivery operation more convenient.
Embodiment
Some terms that below the application related to explain, and should be appreciated that term that the application uses should be interpreted as having with it in the context of present specification and the consistent meaning of the meaning in field.
Visible light communication technology is a kind of new technology that the high speed light and shade flash signal being invisible to the naked eye of utilizing fluorescent light or light emitting diode (LED) etc. to send is carried out short-distance transmission information, within the unit interval of setting, control the switch of light emitting diode by the sequence of binary digits (binary digital signal/source signal) of source data, for example, within the unit interval of setting, if run into binary digit 0, close light-emitting diode switch, do not send visible ray, if run into binary digit 1 in the unit interval of setting at the next one, open light-emitting diode switch, make light emitting diode send visible ray, thereby complete data encoding modulation.The visible ray of the information that carries of light emitting diode transmitting is propagated at free space, and receiving end carries out visible ray reception and opto-electronic conversion by visible ray receiver again, recovers the information such as raw data.
Nrz encoding mode, i.e. non-return-to-zero (Not Return to Zero) coded system.While using NRZ to encode, for example, in the control source of binary digital signal, in a symbol time, if binary digit " 1 " is controlled LED and opened, if binary digit " 0 ", control LED and close, in next code-element period, also carry out the control operation of similar LED lamp; Certainly, also can use contrary method, in a symbol time, if binary digit " 0 " controls LED and opens, if binary digit " 1 ", control LED and close, in next code-element period, also carry out the control operation of similar LED lamp.
Nrzi encoding mode, i.e. non-return-to-zero anti-phase (Non return to zero-inverse) coded system.While using NRZI to encode, every two bits are one group, can represent altogether four kinds of information: 00,01,10,11.For example, in the time being " 00 " for a certain group, represent (from low level to high level or high level to low level) with a level saltus step; A certain group while being " 01 ", represent (from low level to high level again to low level or high level to low level again to high level) with two level saltus steps; A certain group while being " 10 ", represent with three level saltus steps; A certain group while being " 11 ", represent with four level saltus steps.By controlling the Kai Heguan of LED lamp, information exchange can be crossed to visible ray form and launch.
Paying centre refers to that it can operate user account according to transaction by mobile operator, bank or third party's maintenance or their common payment platforms of safeguarding.
User account information is can be for the authentication information paying.In one embodiment, if paying centre is banking system, user account information can comprise bank card number, account name, account identification card number etc.; In another embodiment, if paying centre is mobile operator, user account information can comprise user's phone number.
The application's inventive concept is, utilizes the signal that carries user account information between two equipment, to carry out short haul connection, and user account information is transferred to POS machine, thereby makes POS machine obtain user account information.With obtain the mode of user account information by card reader or wireless radio frequency transmission compared with, the transmission that the application carries out information does not need extra card reader, and be difficult for being surveyed or intercepting and capturing by other equipment, therefore in the time carrying out information interaction, there is higher convenience and security.
In a kind of system paying based on POS machine that the application provides, between mobile payment device and POS machine, comprise light signal, ultrasonic signal or infrasonic wave signal for the signal of transmission information.For the ease of understanding, in the embodiment of the present application, describe as an example of light signal example, it will be appreciated by those skilled in the art that in other embodiments, between mobile payment device and POS machine, can adopt ultrasonic signal or infrasonic wave signal for the signal of transmission information.
Based on light signal, in the embodiment of the present application, be light emitting devices by the emitter of mobile payment device, the signal of emitter transmitting is light signal.In other embodiments, if the signal for transmission information between mobile payment device and POS machine adopts ultrasonic signal or infrasonic wave signal, emitter is ultrasonic transmission device or infrasonic wave emitter, and the signal of emitter transmitting is ultrasonic signal or infrasonic wave signal.In other embodiments, emitter can be also Wi-Fi emitter, and what the signal of transmitting was corresponding is Wi-Fi signal.Should be appreciated that emitter can be also other wireless launcher of this area, to launch corresponding wireless signal.
The embodiment of the present application provides a kind of system paying based on POS machine, comprises mobile payment device and POS machine.Mobile payment device is transferred to POS machine by user account information by the mode of utilizing emitted light signal, POS machine receives by optical pickup apparatus after the light signal that carries user account information of mobile payment device transmitting, it is carried out to opto-electronic conversion, then in the signal from opto-electronic conversion, parse user account information, carry out data interaction according to user account information and paying centre, thereby complete payment.Light signal can be visible ray, infrared light or ultraviolet ray.
By reference to the accompanying drawings the application is described in further detail below by embodiment.
Embodiment mono-
Please refer to Fig. 1, the present embodiment provides a kind of mobile payment device, comprises the first input media 101, storer 102, light emitting devices 103 and processor 104.
The first input media 101 is for obtaining the operational order of user's input.Storer 102 stores user account information, and user account information can be pre-stored in storer 102.Processor 104 is connected with the first input media 101, storer 102, light emitting devices 103 respectively, processor 104 responds the operational order that the first input media 101 receives, obtain user account information and process from storer 102, adopting user account information control light emitting devices 103 utilizing emitted light signals after treatment.
In one embodiment, processor 104 is processed and is comprised user account information is encrypted and/or is encoded user account information.
In the present embodiment, user account information is added data head, data trailer and/or check code by processor 104, to form digital source signal; Afterwards, digital source signal is encrypted and/or is encoded, to obtain binary digital signal as controlling source signal, the light on and off of source signal control light emitting devices 103 are controlled in processor 104 outputs.
When concrete processor 104 is encoded to digital source signal, can adopt nrz encoding mode or nrzi encoding mode to encode.
In specific embodiment, mobile payment device is portable electronic terminal, portable cards or optical key.
In one embodiment, the first input media 101 is keyboard, touch control screen, button or the voice recording device of the operational order for receiving user's input.In another specific embodiment, the first input media 101 can also be for receiving the communication module of the operational order sending from POS machine, for example the first input media 101 is connected with the data-interface of POS machine by connecting line, thereby receive the trading instruction that POS machine sends, or receive by bluetooth, radio frequency or Wi-Fi mode the trading instruction that POS machine sends, or receive by the mode of optical communication or acoustic control the trading instruction that POS machine sends.
Light emitting devices 103 is light emitting diode, and light emitting diode is connected between processor 104 and public electrode, and public electrode, according to the mode difference of coding, can provide high level or low level is provided.Light emitting devices 103 can also be light emitting transistor or xenon lamp.Light emitting diode, light emitting transistor and xenon lamp can be that portable electronic terminal (for example mobile phone) has itself.In other specific embodiment, light emitting devices 103 can be also to arrange in addition, mobile payment device comprises shell and is arranged on the interface on shell, storer 102 and processor 104 are arranged on enclosure, light emitting devices 103 is arranged on housing exterior, the first input media 101 can be arranged on case surface, and light emitting devices 103 is connected with processor 104 by interface.For example light emitting devices 103 is coupled to processor 104 by the audio frequency or the USB interface that are inserted on mobile phone, thus the control source signal that answer processor 104 is exported.Be inserted into the situation of the audio interface of mobile phone by interface for light emitting devices 103, in a kind of concrete example, light emitting devices 103 comprises the amplifier and the light emitting diode that are linked in sequence, the converted sound signal of control source signal that processor 104 is exported, the sound signal of being exported by audio interface directly drives lumination of light emitting diode after amplifier amplifies.Or in another instantiation, light emitting devices 103 comprises the comparer and the light emitting diode that are linked in sequence, the output terminal connecting luminous diode of comparer, the input end of comparer is respectively used to connect audio interface and reference voltage, be converted to the control source signal of simulating signal from audio interface input, by with reference voltage comparison, output low and high level digital signal, by the light on and off of Digital Signals light emitting diode.Should be appreciated that light emitting diode can also replace to the light source that other can be luminous, such as camera light compensating lamp, LCDs, fluorescent light etc.
User account information at least comprises bank card number, or at least comprises bank card number and password, in some cases, can also comprise this consumption amount of money that user inputs in user account information.Should be appreciated that in specific embodiment, processor 304 can also include the type of operational order to user account information information after treatment, and operational order comprises consumption order or the instruction that queries the balance.
User account information can be not pre-stored in storer yet, and in a further embodiment, user account information can require user to input after processor 304 receives operational order, and for example user can be by keyboard or touch screen input user account information.
Embodiment bis-
Please refer to Fig. 2, the mobile payment device providing based on above-described embodiment one, the corresponding a kind of method that mobile payment device transmitting user account information is provided of the present embodiment, comprises step below:
Step 201: the first input media receives the operational order of user's input.This operational order also can be sent by POS machine in a further embodiment, and POS machine can pass through light signal, sound wave or wireless signal transmission operational order.POS machine comprises by radio frequency, bluetooth or Wi-Fi mode firing operation instruction by wireless signal transmission operational order.The first input media is the communication module that receives the operational order sending from POS machine, and communication module can be bluetooth module, radio-frequency module, Wi-Fi module or infrared module.
Step 202: the user account information of processor based on operational order reading pre-stored.In a further embodiment, user account information can require user to input based on this operational order at processor, and for example user can be by keyboard or touch screen input user account information.
Step 203: processor is processed user account information.
Step 204: the light emitting devices utilizing emitted light signal of processor adopting user account information control after treatment mobile payment device.
In one embodiment, step 203 processor is processed and is comprised user account information: user account information is added data head, data trailer and/or check code by processor, to form digital source signal; Digital source signal is encrypted and/or is encoded, to obtain binary digital signal as controlling source signal.
Accordingly, in step 204, the light emitting devices utilizing emitted light signal of processor adopting user account information control after treatment mobile payment device is: the light on and off of processor adopting control source signal control light emitting devices.
In concrete step 203, processor is encoded to digital source signal, can adopt nrz encoding mode or nrzi encoding mode to encode.
Embodiment tri-
Please refer to Fig. 3 and Fig. 4, the present embodiment provides a kind of POS machine, comprises housing 301, paying centre access device 303, secondary input device 304, optical pickup apparatus 305 and POS machine processor 306.
On housing 301, have light hole 302, light hole 302 is a signal receiver hole.It is inner or outside that paying centre access device 303 is arranged on housing 301, for communicating by wireless or wired mode and paying centre.Secondary input device 304 is arranged on housing 301 surfaces, for inputting interface is provided.Optical pickup apparatus 305 is arranged on housing 301 inside, the sensitive surface of optical pickup apparatus 305 exposes from the light hole 302 of housing 301, for receiving optical signals, and light signal is converted to electric signal output, the sensitive surface that specifically can make optical pickup apparatus 305 passes and is exposed at the outside of light hole 302 from light hole 302, or make sensitive surface concordant with the outside surface of light hole 302, or make sensitive surface be arranged in light hole 302.In the instantiation having, a reflective mirror can also be set near the inside surface of light hole 302, by reflective mirror receiving optical signals and light signal is reflexed to the sensitive surface of optical pickup apparatus 305.POS machine processor 306 is arranged on housing 301 inside, be connected with paying centre access device 303, secondary input device 304 and optical pickup apparatus 305 respectively, for responding respectively the output of paying centre access device 303, secondary input device 304 and optical pickup apparatus 305 and processing.
In the present embodiment, optical pickup apparatus 305 comprises photoelectric commutator 3051 and treatment circuit 3052, sensitive surface as the photoelectric commutator 3051 of signal converter exposes from the light hole 302 of housing 301, the output terminal of photoelectric commutator 3051 is connected with treatment circuit 3052, and the output terminal for the treatment of circuit 3052 is connected with the digital serial port of POS machine processor 306.
In one embodiment, treatment circuit 3052 comprises microprocessor 30521, the signal input part of microprocessor 30521 is coupled to the output terminal of photoelectric commutator 3051, its output terminal is connected with the digital serial port of POS machine processor 306, microprocessor 30521 is decoded the electric signal of reception and/or decryption processing, to obtain digital source signal, data head, data trailer and/or check code that digital source signal is carried are removed, and obtain user account information.
When concrete microprocessor 30521 is decoded the electric signal of reception, can decode according to the coded system of mobile payment device, the inverse process that this decode procedure is cataloged procedure.For example: mobile payment device uses NRZ to encode, and the microprocessor 30521 of POS machine, in a symbol time, if high level detected, is decoded as binary digit " 1 ", if high level detected, is decoded as binary digit " 0 "; Or contrary, if high level detected, be decoded as binary digit " 0 ", if high level detected, be decoded as binary digit " 1 ".If mobile payment device uses NRZI to encode, the microprocessor 30521 of POS machine is in the time of decoding, in two symbol times, a level saltus step detected, be decoded as binary digit " 00 ", two level saltus steps detected, be decoded as binary digit " 01 ", three level saltus steps detected, be decoded as binary digit " 10 ", four level saltus steps detected, be decoded as binary digit " 11 ".Be to be understood that, the code encoding/decoding mode that mobile payment device and POS machine adopt can be to unify in advance to set, or mobile payment device is transferred to the coded system that includes mobile payment device in the information of POS machine, and POS machine carries out corresponding decoding according to this coded system.
The POS machine that the present embodiment provides also comprises information output unit 307, and information output unit 307 is arranged on housing 301 surfaces, is connected with POS machine processor 306, notifies to user for the information of concluding the business, and transaction information comprises payment.
In another embodiment, in the time that the receiving trap of POS machine is sound wave receiving trap, accordingly, sound wave receiving trap comprises acoustical-electrical transducer and treatment circuit, acoustical-electrical transducer receives signal by the signal receiver hole hole of housing, the output terminal of acoustical-electrical transducer is connected with treatment circuit, and the output terminal for the treatment of circuit is connected with the digital serial port of POS machine processor.Concrete, treatment circuit comprises microprocessor, the signal input part of microprocessor is coupled to the output terminal of acoustical-electrical transducer, its output terminal is connected with the digital serial port of POS machine processor, microprocessor is decoded the electric signal of reception and/or decryption processing, to obtain digital source signal, data head, data trailer and/or check code that digital source signal is carried are removed, and obtain user account information.
In other embodiments, the receiving trap of POS machine can be also Wi-Fi receiving trap.
Embodiment tetra-
Please refer to Fig. 5, the POS machine providing based on above-described embodiment three, the present embodiment correspondingly provides a kind of method of obtaining user account information based on POS machine, comprises step below:
Step 501: receive the light signal that carries user account information by optical pickup apparatus, and light signal is carried out to opto-electronic conversion, output electrical signals.
Step 502: electric signal is processed, parsed user account information, and export user account information to POS machine processor.
In specific embodiment, in step 502, electric signal is processed and comprised: electric signal is decoded and/or deciphered, obtain digital source signal; Data head, data trailer and/or check code that digital source signal is carried are removed, and obtain user account information.
Embodiment five
Please refer to Fig. 6, the present embodiment provides a kind of method of carrying out information interaction based on POS machine, comprises step below:
Step 601: mobile payment device receives operational order.
Step 602: obtain user account information based on operational order.
Step 603: generate interaction data based on operational order and user account information, interaction data is processed.
Step 604: the light emitting devices utilizing emitted light signal that adopts interaction data control mobile payment device after treatment.
The optical pickup apparatus of step 605:POS machine receives and carries the light signal of interaction data, and light signal is carried out to opto-electronic conversion, output electrical signals.
Step 606: electric signal is processed, parsed interaction data, and export interaction data to POS machine processor.
Step 607:POS machine processor is processed based on interaction data.
In specific embodiment, operational order is consumption order, and interaction data comprises user account information; Or operational order is the instruction that queries the balance, interaction data comprises user account information and the instruction that queries the balance.
Based on above-described embodiment one to embodiment five, with a concrete application examples, the application is further described below.
Application examples one: the payment system based on POS machine is used nrz encoding mode to pay based on visible light communication.
Suppose that the bank card number for paying that user account information comprises is " 123456789 ... 789 " (numeric string), while supposing operational order for consumption, represent with " 33 ", data head is " 11 ", data trailer is " 22 ", check code is " 99 " as calculated, and the final digital source signal forming is " 11123456789 ... 789 33 22 99 ".This digital source signal can be encrypted, and be encoded into binary digital signal, then using this binary digital signal as controlling source signal, the light emitting diode of controlling mobile payment device opens or closes, thereby the visible ray of the information such as above-mentioned user account information is carried in transmitting.Use nrz encoding mode to encode, in binary control source signal, in a symbol time, if binary digit " 1 " is controlled light emitting diode and opened; If binary digit " 0 " is controlled light emitting diode and closed, in next code-element period, also carry out this light emitting diode control operation.And optical pickup apparatus on POS machine is in a symbol time, if high level detected, is decoded as binary digit " 1 "; If high level detected, be decoded as binary digit " 0 ".The controlled source signal of final decoding is " 11 123456789 ... 789 33 22 99 ", carries out information interaction afterwards by POS machine and banking system, then completes payment transaction.
Application examples two: use nrzi encoding mode based on the visible light communication operation that queries the balance based on the payment system of POS machine.
Suppose that the bank card number for paying that user account information comprises is " 123456789 ... 789 " (numeric string).Operational order when querying the balance, represents with " 35 ".Tentation data head is " 11 ", and data trailer is " 22 ", and check code is " 77 " as calculated, and the final digital source signal forming is " 11123456789 ... 789 35 22 77 ".This digital source signal can be encrypted, and is encoded into binary digital signal, then, using this binary digital signal as controlling source signal, controls the opening and closing of the light emitting diode on mobile payment device.Use nrzi encoding mode to encode, every two bits are one group, can represent altogether four kinds of information: 00,01,10,11.In the time being " 00 " for a certain group, represent (from low level to high level or high level to low level) with a level saltus step; A certain group while being " 01 ", represent (from low level to high level again to low level or high level to low level again to high level) with two level saltus steps; A certain group while being " 10 ", represent with three level saltus steps; A certain group while being " 11 ", represent with four level saltus steps.By controlling opening or closing of light emitting diode, the information after encrypting can be launched with the form of visible ray.If POS machine, in two symbol times, detects a level saltus step, be decoded as binary digit " 00 "; Two level saltus steps detected, be decoded as binary digit " 01 ", three level saltus steps detected, be decoded as binary digit " 10 "; Four level saltus steps detected, be decoded as binary digit " 11 ".POS machine completes after decoding, then is decrypted, i.e. reducible controlled source signal, carries out data interaction by POS machine and banking system afterwards, after user inputs password, can inquire remaining sum.
A kind of correlation technique paying based on POS machine and equipment that the application provides, wherein, mobile payment device gets after operational order, carry the signal of user account information to the transmitting of POS machine, POS machine is changed it after receiving this signal, finally obtain user account information by processing, and then complete delivery operation.This modes of payments has avoided carrying the inconvenience of bank card, has also saved the step of swiping the card simultaneously, makes delivery operation more convenient.
It will be appreciated by those skilled in the art that, in above-mentioned embodiment, all or part of step of the whole bag of tricks can be carried out instruction related hardware by program and completes, this program can be stored in a computer-readable recording medium, and storage medium can comprise: ROM (read-only memory), random access memory, disk or CD etc.
Above content is the further description of the application being done in conjunction with concrete embodiment, can not assert that the application's concrete enforcement is confined to these explanations.For the application person of an ordinary skill in the technical field, not departing under the prerequisite of the present application design, can also make some simple deduction or replace.