A kind of method that payment is controlled based on mobile intelligent terminal sensor
Technical field
The invention belongs to a kind of sensor controls payment technology field and in particular to a kind of sensed based on mobile intelligent terminal
Device controls the method paying.
Background technology
Under mobile Internet high speed development, abundant mobile intelligent terminal app application has become close in people's life
An inseparable part, current mobile payment has become as the important means that terminal consumer is traded.Mobile payment is fair
Family allowable carries out a kind of clothes of account payment using its mobile intelligent terminal (typically mobile phone) to the commodity consumed or service
Business mode.But existing mobile payment mode mostly needed when operating artificial operate, particularly large-sized mobile phone
Or flat board has to bimanualness, i.e. a handheld terminal, operate on the other hand, but (such as taking public transport in some cases
During car or turnover underground ticket checking mouth, crowded should be noted property safety or individual carries parcel etc. and leads to user double
Handss are not idle), user can only one-handed performance mobile intelligent terminal, thus cause operational inconvenience.
In sum, the development of the prosperity with mobile intelligent terminal and mobile payment technology, one kind is based on intelligent movable
It is imperative that end sensor controls the invention paying.
Content of the invention
The shortcoming of prior art in view of the above, it is an object of the invention to provide a kind of passed based on mobile intelligent terminal
Sensor controls the method paying, and realizes mobile payment app is being handed over by using the sensor function of mobile intelligent terminal itself
Control during easily, is mostly needed artificial operation to solve existing mobile payment mode when operating, there is operation
Inconvenience, the problems such as time-consuming, Consumer's Experience is poor.
For achieving the above object and other related purposes, the present invention provides and a kind of is based on mobile intelligent terminal sensor control
The method that system pays, described mobile intelligent terminal includes central processing unit, acceleration transducer, three-axis gyroscope, Distance-sensing
Device, speaker, also include charging terminal or ticket checking terminal, and described charging terminal or ticket checking terminal are provided with mike, including with
Lower step:
S1: log in app client and enter into payment interface, described mobile intelligent terminal is tilted or rocks or overturn by user, institute
State acceleration transducer and described three-axis gyroscope detect mobile intelligent terminal when forebody acceleration, and detection data is passed
It is defeated by described central processing unit;
The detection data receiving is converted to corresponding operational order by s2: described central processing unit, and by the operation after conversion
Instruction is sent to described app client, the corresponding behaviour obtaining electronic bill of button execution of described app client payment interface
Make;
, by described mobile intelligent terminal near charging terminal or ticket checking terminal, described range sensor is according to infrared ray for s3: user
Range measurement principle determines whether that logical signal, near described mobile intelligent terminal, is if so, then passed to described central authorities and processed by object
Device;
S4: described central processing unit carries out logical operationss to logical signal, the payment interface finally triggering described app client is led to
Cross the instruction that sound wave is play in speaker execution, and described electronic bill packet is sent by sound wave, pass to described charge eventually
End or ticket checking terminal;
S5: described charging terminal or ticket checking terminal receive described sound wave by mike, are converted into data message through sound wave and carry out
Just can complete after process to pay.
Preferably, in described step s2, the button of app client payment interface executes the corresponding behaviour obtaining electronic bill
The waiting time can be continued for 5 seconds after work.
Preferably, in described step s3 as user by mobile intelligent terminal near charging terminal or ticket checking terminal procedures
In, according to infrared distance measuring principle, range sensor determines whether that object is close, if it is not, then user need to obtain electronic bill
Operation continue 5 seconds waiting time in again by mobile intelligent terminal near charging terminal or ticket checking terminal.
Preferably, the payment interface of the app client in described step s4 is 0-5 by the time that speaker plays sound wave
Second, the described time changes according to distance between described mobile intelligent terminal and described charging terminal or ticket checking terminal.
In the present invention, described acceleration transducer utilizes acceleration of gravity, can be used for detecting inclining of mobile intelligent terminal
Rake angle, but can be affected by acceleration of motion, make measurement of dip angle not accurate enough;And three-axis gyroscope, only when mobile intelligence
Can just there is angular speed during terminal motion, be 0 when static it is also difficult to individually determine the motion track of mobile intelligent terminal, so
In actual applications, commonly used acceleration transducer measures 6 directions of mobile intelligent terminal together with three-axis gyroscope
Position, motion track and acceleration.
According to transmitting infrared ray after near object reflection, wherein Infrared Detectorss pass through to receive described range sensor
Ultrared strength detection distance, and then determine whether object near described mobile intelligent terminal, and logical signal is passed to
Described central processing unit.
Compared with prior art, the invention has the benefit that
A kind of method controlling payment based on mobile intelligent terminal sensor that the present invention provides, it is primarily directed to taking public affairs
Hand over car, buy the scene such as commodity or ticket, turnover underground ticket checking mouth, user carries out payment expense process using mobile intelligent terminal
Middle both hands are not idle, or user can only one-handed performance mobile intelligent terminal it has not been convenient to be operated manually pay, the present invention profit
Measure the movement locus of described mobile intelligent terminal with the acceleration transducer of mobile intelligent terminal itself, three-axis gyroscope and add
Velocity attitude, and the data detecting is converted to corresponding operational order, so that user is tilted or rock or overturn the shifting in handss
Dynamic intelligent terminal can achieve the function of automatically obtaining electronic bill;The present invention also utilizes the distance of mobile intelligent terminal itself to pass
Sensor judge user by mobile intelligent terminal near charging terminal or ticket checking terminal, then automatically send the sound comprising electronic bill
Ripple, has reached and need not manually operate mobile intelligent terminal to be just automatically performed the effect of payment, have convenient, save time, experience effect
Good advantage.
In addition to objects, features and advantages described above, the present invention also has other objects, features and advantages.
Below with reference to figure, the present invention is further detailed explanation.
Brief description
The accompanying drawing constituting the part of the application is used for providing a further understanding of the present invention, the schematic reality of the present invention
Apply example and its illustrate, for explaining the present invention, not constituting inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of theory structure block diagram controlling the method paying based on mobile intelligent terminal sensor of the present embodiment;
Fig. 2 is the acceleration transducer of mobile intelligent terminal of the present embodiment, three-axis gyroscope controls the method flow diagram paying;
Fig. 3 is that the range sensor of the mobile intelligent terminal of the present embodiment controls the method flow diagram paying.
Specific embodiment
The present invention is further described with reference to the accompanying drawings and examples, but protection scope of the present invention not only office
It is limited to specific examples below.
Firstly the need of explanation, the mobile intelligent terminal that the present embodiment is mentioned mainly includes mobile phone, panel computer, bracelet
Deng wearable device;Acceleration transducer in described mobile intelligent terminal utilizes piezoelectric effect, i.e. one piece of weight of sensor internal
Thing and piezoelectric patches combine, the voltage swing being produced by orthogonal both direction, to calculate horizontal direction, by above-mentioned three
Individual dimension determines acceleration direction, but precision is low;Three-axis gyroscope is the principle according to the conservation of angular momentum, and such as one
The object (gyro) of high-speed rotation, when its rotary shaft is not affected by external force, the sensing of rotary shaft is not have any changing
Become, three-axis gyroscope is exactly using this principle above-mentioned as foundation, keeps certain direction with it, and three-axis gyroscope is permissible
Substitute three single axis gyroscopes, in actual applications, typically acceleration transducer, three-axis gyroscope, range sensor are mutual
Compensate, can accurately measure position, motion track and the acceleration in 6 directions of fuselage simultaneously.
Embodiment:
As shown in figure 1, it is a kind of of the present embodiment controls, based on mobile intelligent terminal sensor, the Method And Principle structure paying
Block diagram, described mobile intelligent terminal includes central processing unit, acceleration transducer, three-axis gyroscope, range sensor, speaker
(in figure is omitted), the method for payment described in the present embodiment also relates to charging terminal or ticket checking terminal, described charging terminal or inspection
Ticket terminal is provided with mike, such as buses charging terminal, underground ticket checking terminal, the pos machine in market etc., described in the present embodiment
Mobile intelligent terminal sensor controls the method paying to comprise the following steps:
As shown in Figure 2:
Log in app client and enter into payment interface;
Described mobile intelligent terminal is tilted or rocks or overturn by user;
Described acceleration transducer and described three-axis gyroscope whether detect mobile intelligent terminal when forebody acceleration,
If it is not, as described acceleration transducer and described three-axis gyroscope are not detected by as forebody acceleration, then user
Needs repeat to tilt described mobile intelligent terminal or rock or overturn;
If so, the data detecting is transferred to central authorities' process of mobile intelligent terminal by acceleration transducer and three-axis gyroscope
Device;
So as to be converted to corresponding operational order after the detection data that described central processing unit receives;
Operational order after conversion is sent to the app client of mobile intelligent terminal;
The corresponding operation obtaining electronic bill of button execution of described app client payment interface.
Further description, the button-shape of app client payment interface is circle, and what it presented corrugated flashes
Design for circular wave or according to actual needs, the structure of this button does not affect the technique effect of the present embodiment;
The button execution of app client payment interface is corresponding obtain the operational order of electronic bill after can continue the waiting time and be
5 seconds, if also not continuing executing with delivery operation (being described in detail in Fig. 3 of the present embodiment) more than 5 seconds users, user needed
Again described mobile intelligent terminal is tilted or rocks or overturn to realize obtaining the purpose of new electronic bill.
As shown in Figure 3:
(this step represents that app client is in logging status, is substantially and then to obtain in the present embodiment to log in app client
The operation of E-consumer voucher);
By mobile intelligent terminal near charging terminal or ticket checking terminal, range sensor judges user according to infrared distance measuring principle
Whether there is object near described mobile intelligent terminal;
If it is not, i.e. the infrared detector (range sensor be used for receiving infrared-ray device) of range sensor be not received by red
Outside line or the ultrared intensity receiving are very weak, and described infrared detector is by receiving ultrared strength detection
Distance, general coverage in 10cm, illustrate between the mobile intelligent terminal of user and charging terminal or ticket checking terminal away from
From farther out, user needs again to lean on mobile intelligent terminal in the operation of above-mentioned acquisition electronic bill continues 5 seconds waiting time
Nearly charging terminal or ticket checking terminal.
The button of app client payment interface presents mobile intelligent terminal within corrugated flash duration 5 seconds
Near described charging terminal or ticket checking terminal;
If range sensor judges it is to have object near described mobile intelligent terminal according to infrared distance measuring principle, by this logic
Signal passes to the central processing unit of mobile intelligent terminal;
Described central processing unit carries out logical operationss to logical signal;
The payment interface finally triggering described app client executes the instruction playing sound wave by speaker;
The packet comprising described electronic bill is sent by described app client by sound wave, passes to described charging terminal or inspection
Ticket terminal;
Described charging terminal or ticket checking terminal receive described sound wave by mike, are converted into data message through sound wave and are processed
Just can complete afterwards to pay.
Further description, the payment interface of app client is the 0-5 second by the time that speaker plays sound wave, institute
Time of stating changes according to distance between described mobile intelligent terminal and described charging terminal or ticket checking terminal, and that is, described distance is got over
Closely, the up to 5 seconds persistent period that described sound wave is play, if described distant, the time that described sound wave is play is less than 5
Second.
When described sound wave reproduction time terminates, if user not yet completes delivery operation, then user needs again by institute
State mobile intelligent terminal to tilt or rock or overturn to realize obtaining the purpose of new electronic bill, then by mobile intelligent terminal
Near charging terminal or ticket checking terminal, realize controlling the process paying with this repeatable operation, this complete operating process is consumed
Time be less than 10 seconds.
In sum, the present embodiment utilizes the acceleration transducer of mobile intelligent terminal itself, three-axis gyroscope to measure institute
State movement locus and the acceleration direction of mobile intelligent terminal, and the data detecting is converted to corresponding operational order, make
User tilts or rocks or overturn the mobile intelligent terminal i.e. achievable function of automatically obtaining electronic bill in handss;The present embodiment
The range sensor of mobile intelligent terminal itself is also utilized to judge that user is whole near charging terminal or ticket checking by mobile intelligent terminal
End, then sends the sound wave comprising electronic bill automatically, has reached and need not manually operate mobile intelligent terminal to be just automatically performed
The effect paid, user only need to install this in the mobile intelligent terminal (as wearable devices such as mobile phone, panel computer, bracelets) of oneself
The app client that embodiment provides, is paying buses expense, is taking subway ticketing ticket checking, market shopping or cinema's ticketing
Etc. scene, all just can not only fast but also safe can be completed to pay by tilting or rocking or overturn mobile phone, therefore the present embodiment offer
A kind of based on mobile intelligent terminal sensor control the method paying have convenient, save time, advantage that experience effect is good.
Above content it cannot be assumed that the present invention is embodied as being confined to these explanations, for the present invention, lead by affiliated technology
For the those of ordinary skill in domain, under the premise of without departing from present inventive concept, some simple deduction or replace can also be made, all
The scope of patent protection that the present invention is determined should be considered as belonging to by the claims submitted to.