CN108985749A - A kind of method of payment, distance measuring method, payment plant and distance-measuring equipment - Google Patents

A kind of method of payment, distance measuring method, payment plant and distance-measuring equipment Download PDF

Info

Publication number
CN108985749A
CN108985749A CN201810579096.XA CN201810579096A CN108985749A CN 108985749 A CN108985749 A CN 108985749A CN 201810579096 A CN201810579096 A CN 201810579096A CN 108985749 A CN108985749 A CN 108985749A
Authority
CN
China
Prior art keywords
time
signal
payment
acoustic signals
distance
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
CN201810579096.XA
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810579096.XA priority Critical patent/CN108985749A/en
Publication of CN108985749A publication Critical patent/CN108985749A/en
Priority to TW108106641A priority patent/TWI706349B/en
Priority to PCT/CN2019/077138 priority patent/WO2019233145A1/en
Pending legal-status Critical Current

Links

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/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
    • 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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S11/00Systems for determining distance or velocity not using reflection or reradiation
    • G01S11/16Systems for determining distance or velocity not using reflection or reradiation using difference in transit time between electrical and acoustic signals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • 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/326Payment applications installed on the mobile devices

Abstract

This application provides a kind of method of payment, distance measuring method, payment plant and distance-measuring equipments, wherein the method for payment comprises determining that the second time of the acoustic signals that the first time for receiving the lightwave signal of target object sending and target object issue;According to the first time and second time, the distance of the target object is determined;In the case where determining that the distance of the target object meets preset threshold, delivery operation is triggered.Solve the problems, such as that distance of existing method in the presence of payment process determines that accuracy rate is low through the above scheme, effective promotion range accuracy is reached, to promote the technical effect of payment efficiency, and because distance threshold can be set, so as to realize the setting and adjustment of flexible payment fence.

Description

A kind of method of payment, distance measuring method, payment plant and distance-measuring equipment
Technical field
The application belong to Internet technical field more particularly to a kind of method of payment, distance measuring method, payment plant and Distance-measuring equipment.
Background technique
Currently, more and more people start mobile using mobile phone etc. with the continuous development of internet and artificial technology etc. Payment terminal carries out delivery operation.Main mobile payment mode has: the payment of two dimensional code radix-minus-one complement, NFC payment, and sound wave payment is blue Tooth near field payment etc..However, these means of payment are all to payment environment and terms of payment etc., there are certain limitations, specifically :
1) two dimensional code is counter sweeps payment, the anti-higher cost for sweeping equipment of used two dimensional code, and the anti-effect swept will receive The influence of light and environment, the position for holding mobile phone to user also require;
2) NFC payment, at present support NFC mobile phone only about 7 one-tenth relatively high to equipment requirement are not all Mobile phone can support NFC payment, and NFC payment can only provide several centimetres of touching payment experience, it is necessary to wait each customer Payment is completed, and just can be carried out next record delivery operation;
3) sound wave is paid, and sound wave payment is the branch that mobile phone and equipment are completed by sound wave/ultrasonic wave modulation encoded information It pays, because system needs to transmit information using sound wave, there is relatively high requirement to environment and microphone.And sound wave branch The function of not no ranging itself is paid, because sonic transmissions are up to several meters of range, meeting between similar sound wave payment devices There are interference;
4) bluetooth near field is paid, and the payment of bluetooth near field is general by the way of similar iBeacon, passes through received signal strength Judge the distance between mobile phone and payment devices, and related data is paid by Bluetooth transmission.However, bluetooth payment is to payment devices Distance Judgment inaccuracy, be difficult accurately control payment distance range.It is set for example, if it is desired to configure payment distance in payment Within 1 meter standby, if different mobile phones and environment will lead to actual delivery distance 0 using same bluetooth signal intensity threshold value It is changed in the range of to 2 meters or so.
It is low for the payment efficiency in the presence of existing mobile payment, to payment devices determination of distance inaccuracy Problem, currently no effective solution has been proposed.
Summary of the invention
The application is designed to provide a kind of method of payment, distance measuring method, payment plant and distance-measuring equipment, Ke Yishi Now accurate ranging, while the efficiency and accuracy rate of payment can be promoted.
The application provides a kind of method of payment, distance measuring method, payment plant and distance-measuring equipment and is achieved in that
A kind of method of payment, comprising: determine the first time for receiving the lightwave signal of target object sending and target pair As the second time of the acoustic signals of sending;According to the first time and second time, the target object is determined Distance;In the case where determining that the distance of the target object meets preset threshold, delivery operation is triggered.
A kind of distance measuring method, comprising: determine the first time for receiving the lightwave signal of target object sending and target pair As the second time of the acoustic signals of sending;According to the first time and second time, the target object is determined Distance.
A kind of method of payment, comprising: obtain the payment trigger request of user;In response to the payment trigger request, send Lightwave signal and acoustic signals, wherein the lightwave signal carries payment data, the lightwave signal and the acoustic signals Joint ranging is carried out for paying equipment.
A kind of distance measuring method, comprising: receive the short-time pulse of bluetooth data packets and acoustic signals from target object;Really Surely it receives the first time of the bluetooth data packets and receives the second time of the short-time pulse of the acoustic signals;According to The first time and second time, determine the distance of the target object.
A kind of payment plant, it is described including processor and for the memory of storage processor executable instruction The step of processor realizes the above method when executing described instruction.
A kind of distance-measuring equipment, including processor and for the memory of storage processor executable instruction, the processing The step of device realizes the above method when executing described instruction.
A kind of computer readable storage medium is stored thereon with computer instruction, and it is above-mentioned that described instruction is performed realization The step of method.
Method of payment, distance measuring method, payment plant and distance-measuring equipment provided by the present application, pass through the light sent simultaneously Wave signal and acoustic signals reach the time difference of destination to determine the distance of transmitting terminal and destination, thus realize ranging, and Delivery operation can be completed based on distance measurement result, the distance solved in the presence of existing payment process through the above scheme is true Determine the low problem of accuracy rate, reaches effective promotion range accuracy, so that the technical effect of payment efficiency is promoted, and because away from It can be set from threshold value, so as to realize the setting and adjustment of flexible payment fence.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The some embodiments recorded in application, for those of ordinary skill in the art, in the premise of not making the creative labor property Under, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the means of payment schematic diagram provided by the present application based on Bluetooth signal and acoustic signals;
Fig. 2 is range measurement principle schematic diagram provided by the present application;
Fig. 3 is the timing diagram of audio timing signal provided by the present application;
Fig. 4 is the method flow diagram of distance measuring method provided by the present application;
Fig. 5 is the method flow diagram of method of payment provided by the present application;
Fig. 6 is the structural schematic diagram of terminal device provided by the present application;
Fig. 7 is the structural block diagram of payment mechanism provided by the present application.
Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality The attached drawing in example is applied, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described implementation Example is merely a part but not all of the embodiments of the present application.Based on the embodiment in the application, this field is common The application protection all should belong in technical staff's every other embodiment obtained without creative efforts Range.
In view of the problems of existing means of payment, in view of terminal is when payment in this example, by same When send lightwave signal and acoustic signals, at receiving end (or payment equipment end) according to receiving lightwave signal and acoustic signals Time, determine terminal distance payment equipment end distance, determine whether to meet preset payment distance, if it is satisfied, Payment data is then obtained from lightwave signal, if being unsatisfactory for preset payment distance, does not trigger delivery operation.By this Mode, so that it may realize accurate ranging, and payment process is more convenient, accidentally paying occurs in the people for being also not easy to occur except range The case where.
Based on this, a kind of distance measuring method is provided in this example, and the distance measuring method is mutually tied with lightwave data transmission Close the method for payment for completing payment.Ranging is carried out by the transmission time difference of light wave and sound wave, is based on signal compared to existing Intensity ranging scheme (such as: based on the ranging of bluetooth intensity, be based on intensity of acoustic wave ranging), by light wave and with the transmission of sound wave Time difference ranging, available more stable distance measurement result may be implemented to pass through the flexible accurate control of payment range Lightwave signal (for example, Bluetooth signal) transmits payment data, and it is low also to solve the problems, such as that sound wave pays existing transmission rate.
It is illustrated for using Bluetooth signal as lightwave signal, as shown in Figure 1, utilizing payment terminal (such as: mobile phone) Existing bluetooth module and loudspeaker module simultaneous transmission short signal are (that is, Bluetooth broadcast channel short packages and sound wave pulse Signal);It pays equipment end and is receiving Bluetooth signal and when acoustic signals, when measuring the arrival of Bluetooth signal and acoustic signals Between, according to the arrival time of Bluetooth signal and acoustic signals, determine payment terminal to the distance for paying equipment end.
As shown in Fig. 2, specifically, why payment terminal can be determined to payment machine according to Bluetooth signal and acoustic signals Distance between tool is because the velocity of sound (340m/s) is well below the distance between the light velocity (3e8m/s), payment terminal to payment equipment It can be approximated to be 340*dT.It is therefore unrelated with signal strength by being then based on transmission time difference ranging, it also would not be by people The influence of body and environment to sound wave and lightwave signal intensity, so as to obtain than being based solely on Bluetooth signal ranging, Huo Zhedan The solely distance measurement result more accurate based on acoustic signals ranging.
In this example, acoustic signals do not play the role of transmitting payment data, and are only to transmit for the short of ranging When timing signal.In view of for acoustic signals, simple reception signal peak time judgement will receive ambient noise It influences, therefore, it is necessary to control the arrival time of the signal to reach the ranging that the precision within 50us is able to achieve precision just as 1-2cm Precision a, if only acoustic impluse in short-term is transmitted, when payment equipment microphone receiving end is difficult accurate reproduction arrival out Between.
It, can be as shown in figure 3, believing in sound wave in order to improve the influence of timing signal precision and filtering environmental noise as far as possible Number short-time pulse in transmission one end length be N (wherein, N can be 8 or the 16) pseudo-random sequence of position with value, in this way, Receiving end can determine cross-correlation peak value by signal convolution, to obtain more accurate timing results.That is, passing through convolution correlation Operation, in the correlation peak point time of the payment available signal in equipment end, to obtain more stable audio timing signal.
Sound wave pulse signal is when choosing, it is contemplated that it is preferably selected the signal frequency range that human ear can't hear, specifically, When realization, the sound wave pulse signal of the frequency range between 18kHz to 24kHz can choose, and can be according to the energy of loudspeaker Power is transmitted in multiple channels.
In this example, in order to realize ranging, Bluetooth signal needs to be closed with acoustic signals in time difference signal ranging Connection correspond to because acoustic signals are only used for timing ranging, not Portable device identify, it is therefore possible to use acoustic signals with Machine frequency hopping design carries bluetooth equipment ID (such as: MAC Address) in the data packet of Bluetooth signal and sets with the payment terminal The current frequency of standby corresponding acoustic signals.
Arrival time and the correspondence of bluetooth data packets can be obtained by bluetooth listening broadcast channel at payment equipment end Acoustic signals arrival time.Due to acoustic signals can in multiple frequency signal transmissions, selected by accidental channel It selects, the collision between multiple mobile phones can be avoided to the greatest extent.Further, because can be big according to the intensity of Bluetooth signal Cause the distance for judging payment terminal, therefore, can filter out and be not required to by the distance of the payment terminal determined based on Bluetooth signal Bluetooth to be processed and sound wave time difference distance measuring signal.
In view of emitting core used by lightwave signal and transmitting acoustic signals when actually realizing, in payment terminal Piece is different, will lead to actual signal transmission time and changes.As shown in Figure 1, if Bluetooth signal and acoustic signals are same When issue, due to factors such as time delay of signal processor and operating system in different payment terminals, when actual signal transmits Between from payment SDK call transmission application interface time may exist it is different, so also just will affect pay equipment end signal The calculating of time difference.
For this purpose, the device model of payment terminal can be determined first, then the device model is calibrated, specifically, can With by the off-line test to known distance, when calibrating the transmitting terminal acoustic signals as caused by equipment compatibility and Bluetooth signal Between it is poor, and by the time difference be included in bluetooth data packets in, for pay equipment end group in the event difference carry out the time difference Amendment.
In this example, acoustic signals are combined and lightwave signal carries out joint ranging, more accurately ranging can be carried out, For example, range error can be limited between 5cm-10cm, it, can if applying the distance measuring method in payment scene Payment range is accurately controlled with realizing.For example, in the scene of payment channel, can set payment fence distance as Channel width (such as: 80cm), to reach accurate controllable payment range setting.That is, using acoustic signals and lightwave signal into The ranging of row time difference may be implemented the ranging of stable and accurate payment terminal to payment equipment, flexibly may be used so as to reach The payment distance of control or the control of payment fence, such as: it can be set to 20cm, 1m, 2m etc..
It is worth noting that, above-mentioned is the explanation carried out using Bluetooth signal as lightwave signal, when actually realizing, The above-mentioned lightwave signal transmitted for ranging and data can also be Zigbee signal, WIFI signal etc., above-mentioned payment terminal It can be other mobile devices, for example, wearable device, automobile, tablet computer etc..The application is not construed as limiting this, When practical realization, wireless signal and payment terminal can be selected with situation according to the actual needs.
Fig. 4 is a kind of method flow diagram of herein described distance measuring method one embodiment.Although this application provides such as Following embodiments or method operating procedure shown in the drawings or apparatus structure, but exist based on routine or without creative labor It may include more or less operating procedure or modular unit in the method or device.There is no necessity in logicality In the step of causality or structure, the execution sequence of these steps or the modular structure of device are not limited to the embodiment of the present application and retouch Address execution sequence or modular structure shown in the drawings.The device in practice or terminal of the method or modular structure produce Product according to embodiment or the connection carry out sequence execution of method shown in the drawings or modular structure or parallel in application, can hold Row (such as environment or even distributed processing environment of parallel processor or multiple threads).
Specifically as shown in figure 4, may include steps of this application provides a kind of distance measuring method:
Step 41: determining the sound wave of the first time for receiving the lightwave signal of target object sending and target object sending Second time of signal;
Step 42: according to the first time and second time, determining the distance of the target object.
That is, lightwave signal and acoustic signals are simultaneously emitted by by target object, because the transmission speed of sound and light is not With, recipient can determine target object based on receiving the time of lightwave signal and receiving the time of acoustic signals The distance between recipient, to complete ranging.
In view of when actually realizing, there may be multiple target objects either in the presence of more for the application scenarios of ranging A lightwave signal, multiple acoustic signals etc., in order to identify which acoustic signals and which lightwave signal be it is a pair of, can be with Consider to carry the target frequency with the associated acoustic signals of the lightwave signal by lightwave signal, it in this way can based on target frequency To determine which acoustic signals is the acoustic signals with the lightwave signal from same target object.
Correspondingly, determining what the first time for receiving the wireless lightwave signal of target object sending and target object issued Second time of acoustic signals, may include:
S1: the target frequency with the associated acoustic signals of the lightwave signal is extracted from the lightwave signal;
S2: the acoustic signals for being in the target frequency are obtained;
S3: determining the first time for receiving the lightwave signal, and receives the sound wave letter in the target frequency Number the second time.
Further, consider when actually realizing, receiving the judgement of acoustic signals time to peak will receive ambient noise Influence, so as to cause the acoustic signals receiving times inaccuracy determined, for this purpose, can be pseudo- using being added in acoustic signals Random sequence can find cross-correlation peak value by signal convolution in receiving end in this way, so that timing results update standard Really.Specifically, determining the second time of the acoustic signals that target object issues, may include:
S1: local sample signal is obtained;
S2: signal convolution is carried out to the acoustic signals and the local sample signal, obtains convolution results, wherein institute State the pseudo-random sequence carried in acoustic signals for convolution algorithm;
S3: by the cross-correlation peak value corresponding time point in the convolution results, as second time.
Because chip used by different mobile phones is different, result in this way acoustic signals and lightwave signal transmission when It waits, can there is certain time delay, for this purpose, can determine time delay present in each terminal device (that is, signal time is poor), it can Carrying signal time difference in lightwave signal, in this way for receiving end, after getting lightwave signal, Ke Yicong Extracting that signal time is poor in lightwave signal, the distance determined can be adjusted by being then based on signal time difference, thus So that ranging is more accurate.That is, determining the distance of target object according to first time and second time, may include:
S1: it is poor to obtain the signal time carried in the lightwave signal;
S2: it is poor according to the signal time, the first time and second time are modified, after obtaining amendment First time and revised second time;
S3: according to revised first time and revised second time, the distance of the target object is determined.
Above-mentioned lightwave signal can include but is not limited at least one of: Bluetooth signal, WIFI signal, Zigbee letter Number, in actual ranging process, the type for the transmission lightwave signal that can be had according to equipment itself determines which kind of is used Lightwave signal carries out ranging.
Above-mentioned distance measuring method can be applied in mobile payment, for example, paying after user has bought thing to cashier counter Money, then the delivery operation on mobile phone can be triggered, then mobile phone sends lightwave signal and acoustic signals to cash register.For It, can be as shown in figure 5, executing following steps for cash register:
Step 51: determining the sound wave of the first time for receiving the lightwave signal of target object sending and target object sending Second time of signal;
Step 52: according to the first time and second time, determining the distance of the target object;
Step 53: in the case where determining that the distance of the target object meets preset threshold, triggering delivery operation.
I.e., it is possible to preset a preset threshold, that is, distance threshold can be true after determining the distance of target object It makes whether in preset payment range, for example, the payment distance of setting is 0.5m, only determines payment terminal in 0.5m In range, just it is determined as the user to be paid.If exceeding 0.5 meter, delivery operation is not just triggered.Wherein, the default threshold Value may be set according to actual conditions, and can be set as 1 meter, 0.8 meter, 0.1 meter etc., can set according to actual needs, this Application is not construed as limiting this.
Because realizing delivery operation, then the payment data of terminal is required, such as: payment accounts, the branch of user The debt quantity paid, with which kind of means of payment payment etc., these payment datas can be carrying in wireless signal.For This, in the case where carrying payment data in the lightwave signal, triggering delivery operation may include: to mention from lightwave signal Take out payment data;According to payment data, delivery operation is completed.
That is, payment data is carried in wireless signal for payment terminal, for paying equipment, Payment data is extracted from the wireless signal received, to complete delivery operation.
It, can be there are many scene be paid, for example, it may be payment terminal is in response to paying equipment when actually realizing Payment request, send wireless signal and acoustic signals, being also possible to payment terminal, actively triggering sends wireless signal and sound wave Signal is also possible to payment terminal and is sent wireless signal and acoustic signals triggering and payment equipment with triggering payment equipment gathering Payment link is established, establish in payment link and then enter payment process etc., which kind of specifically realizes that scene can root using Factually border it needs to be determined that, the application is not construed as limiting this.
For example, it may be user's triggering is paid, that is, for payment terminal, the payment of available user is touched Hair request;In response to the payment trigger request, lightwave signal and acoustic signals are sent, wherein the lightwave signal carries Payment data, the lightwave signal and the acoustic signals carry out joint ranging for paying equipment.
In one embodiment, above-mentioned payment data, target frequency, signal with the associated acoustic signals of lightwave signal The data such as time difference can carry in lightwave signal.
According to embodiments of the present invention, a kind of method of payment embodiment is additionally provided, it should be noted that in the process of attached drawing The step of illustrating can execute in a computer system such as a set of computer executable instructions, although also, in process Logical order is shown in figure, but in some cases, it can be to be different from shown or described by sequence execution herein Step.
Embodiment of the method provided herein can be in mobile terminal, terminal or similar arithmetic unit It executes.For running on computer terminals, Fig. 6 is a kind of the hard of the terminal of method of payment of the embodiment of the present invention Part structural block diagram.As shown in fig. 6, terminal 10 may include one or more (only showing one in figure) processors 102 (processing unit that processor 102 can include but is not limited to Micro-processor MCV or programmable logic device FPGA etc.), for depositing Store up the memory 104 of data and the transmission module 106 for communication function.It will appreciated by the skilled person that figure Structure shown in 6 is only to illustrate, and does not cause to limit to the structure of above-mentioned electronic device.For example, terminal 10 may be used also Including component more perhaps more less than shown in Fig. 6 or with the configuration different from shown in Fig. 6.
Memory 104 can be used for storing the software program and module of application software, such as the ranging in the embodiment of the present invention Corresponding program instruction/the module of method, the software program and module that processor 102 is stored in memory 104 by operation, Thereby executing various function application and data processing, that is, realize the distance measuring method of above-mentioned application program.Memory 104 can wrap Include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or Other non-volatile solid state memories.In some instances, memory 104 can further comprise long-range relative to processor 102 The memory of setting, these remote memories can pass through network connection to terminal 10.The example of above-mentioned network includes But be not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmission module 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include The wireless network that the communication providers of terminal 10 provide.In an example, transmission module 106 includes that a network is suitable Orchestration (Network Interface Controller, NIC), can be connected by base station with other network equipments so as to Internet is communicated.In an example, transmission module 106 can be radio frequency (Radio Frequency, RF) module, For wirelessly being communicated with internet.
In software view, above-mentioned payment mechanism is as shown in fig. 7, may include: the first determining module 71, the second determining module 72 and trigger module 73, in which:
First determining module 71, for determining the first time and the target pair that receive the lightwave signal of target object sending As the second time of the acoustic signals of sending;
Second determining module 72, for determining the target object according to the first time and second time Distance;
Trigger module 73, in the case where determining that the distance of the target object meets preset threshold, triggering to be paid Operation.
In one embodiment, it can be carried in above-mentioned lightwave signal and the associated acoustic signals of the lightwave signal Target frequency, and/or, payment data.
In one embodiment, the first determining module 71 may include: extraction unit, in the lightwave signal In the case where carrying with the target frequency of the associated acoustic signals of the lightwave signal, extracts and be somebody's turn to do from the lightwave signal The target frequency of the associated acoustic signals of lightwave signal;Acquiring unit, for obtaining the acoustic signals for being in the target frequency; Determination unit for the determining first time for receiving the lightwave signal, and receives the sound wave in the target frequency Second time of signal.
In one embodiment, trigger module 73 may include: extraction unit, for carrying in the lightwave signal In the case where having payment data, payment data is extracted from the lightwave signal;Payment unit, for according to the payment number According to completion delivery operation.
In one embodiment, the first determining module 71 may include: acquiring unit, for obtaining local sample letter Number;Convolution unit, for obtaining convolution results to the acoustic signals and the local sample signal progress signal convolution, In, the pseudo-random sequence for convolution algorithm is carried in the acoustic signals;Generation unit, being used for will be in the convolution results Cross-correlation peak value corresponding time point, as second time.
In one embodiment, the second determining module 72 may include: acquiring unit, for obtaining the lightwave signal The signal time of middle carrying is poor;Amending unit, for according to the signal time it is poor, to the first time and it is described second when Between be modified, obtain revised first time and revised second time;Determination unit, for according to revised the One time and revised second time, determine the distance of the target object.
In one embodiment, above-mentioned lightwave signal can include but is not limited at least one of: Bluetooth signal, WIFI signal, Zigbee signal.
In software view, a kind of range unit is additionally provided, may include: the first determining module, is received for determination Second time of the acoustic signals that the first time for the lightwave signal that target object issues and target object issue;Second determines mould Block, for determining the distance of the target object according to the first time and second time.
In software view, a kind of payment mechanism is additionally provided, may include: acquisition module, for obtaining the payment of user Trigger request;Sending module, for sending lightwave signal and acoustic signals, wherein described in response to the payment trigger request Lightwave signal carries payment data, the lightwave signal and the acoustic signals and carries out joint ranging for paying equipment.
In software view, a kind of range unit is additionally provided, may include: receiving module, comes from target pair for receiving The bluetooth data packets of elephant and the short-time pulse of acoustic signals;First determining module receives the bluetooth data packets for determination First time and receive the acoustic signals short-time pulse the second time;Second determining module, for according to First time and second time, determine the distance of the target object.
In upper example, a kind of method of payment, distance measuring method, payment plant and distance-measuring equipment are provided, by simultaneously The lightwave signal and acoustic signals of transmission reach the time difference of destination to determine the distance of transmitting terminal and destination, to realize Ranging, and delivery operation can be completed based on distance measurement result, in the presence of solving existing payment process through the above scheme Distance determine the low problem of accuracy rate, reached effective promotion range accuracy, to promote the technical effect of payment efficiency, And because distance threshold can be set, so as to realize the setting and adjustment of flexible payment fence.
Although this application provides the method operating procedure as described in embodiment or flow chart, based on conventional or noninvasive The labour for the property made may include more or less operating procedure.The step of enumerating in embodiment sequence is only numerous steps One of execution sequence mode, does not represent and unique executes sequence.It, can when device or client production in practice executes To execute or parallel execute (such as at parallel processor or multithreading according to embodiment or method shown in the drawings sequence The environment of reason).
The device or module that above-described embodiment illustrates can specifically realize by computer chip or entity, or by having The product of certain function is realized.For convenience of description, it is divided into various modules when description apparatus above with function to describe respectively. The function of each module can be realized in the same or multiple software and or hardware when implementing the application.It is of course also possible to Realization the module for realizing certain function is combined by multiple submodule or subelement.
Method, apparatus or module described herein can realize that controller is pressed in a manner of computer readable program code Any mode appropriate is realized, for example, controller can take such as microprocessor or processor and storage can be by (micro-) The computer-readable medium of computer readable program code (such as software or firmware) that processor executes, logic gate, switch, specially With integrated circuit (Application Specific Integrated Circuit, ASIC), programmable logic controller (PLC) and embedding Enter the form of microcontroller, the example of controller includes but is not limited to following microcontroller: ARC 625D, Atmel AT91SAM, MicrochipPIC18F26K20 and Silicone Labs C8051F320, Memory Controller are also implemented as depositing A part of the control logic of reservoir.It is also known in the art that in addition to real in a manner of pure computer readable program code Other than existing controller, completely can by by method and step carry out programming in logic come so that controller with logic gate, switch, dedicated The form of integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc. realizes identical function.Therefore this controller It is considered a kind of hardware component, and hardware can also be considered as to the device for realizing various functions that its inside includes Structure in component.Or even, it can will be considered as the software either implementation method for realizing the device of various functions Module can be the structure in hardware component again.
Part of module in herein described device can be in the general of computer executable instructions Upper and lower described in the text, such as program module.Generally, program module includes executing particular task or realization specific abstract data class The routine of type, programs, objects, component, data structure, class etc..The application can also be practiced in a distributed computing environment, In these distributed computing environment, by executing task by the connected remote processing devices of communication network.In distribution It calculates in environment, program module can be located in the local and remote computer storage media including storage equipment.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can It is realized by the mode of software plus required hardware.Based on this understanding, the technical solution of the application is substantially in other words The part that contributes to existing technology can be embodied in the form of software products, and can also pass through the implementation of Data Migration It embodies in the process.The computer software product can store in storage medium, such as ROM/RAM, magnetic disk, CD, packet Some instructions are included to use so that a computer equipment (can be personal computer, mobile terminal, server or network are set It is standby etc.) execute method described in certain parts of each embodiment of the application or embodiment.
Each embodiment in this specification is described in a progressive manner, the same or similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.The whole of the application or Person part can be used in numerous general or special purpose computing system environments or configuration.Such as: personal computer, server calculate Machine, handheld device or portable device, mobile communication terminal, multicomputer system, based on microprocessor are at laptop device System, programmable electronic equipment, network PC, minicomputer, mainframe computer, the distribution including any of the above system or equipment Formula calculates environment etc..
Although depicting the application by embodiment, it will be appreciated by the skilled addressee that the application there are many deformation and Variation is without departing from spirit herein, it is desirable to which the attached claims include these deformations and change without departing from the application's Spirit.

Claims (20)

1. a kind of method of payment characterized by comprising
Determine the second of the acoustic signals that the first time for receiving the lightwave signal of target object sending and target object issue Time;
According to the first time and second time, the distance of the target object is determined;
In the case where determining that the distance of the target object meets preset threshold, delivery operation is triggered.
2. being associated with the method according to claim 1, wherein being carried in the lightwave signal with the lightwave signal Acoustic signals target frequency, and/or, payment data.
3. according to the method described in claim 2, being closed it is characterized in that, being carried in the lightwave signal with the lightwave signal In the case where the target frequency of the acoustic signals of connection, the first time for receiving the lightwave signal of target object sending and mesh are determined Mark the second time of the acoustic signals that object issues, comprising:
The target frequency with the associated acoustic signals of the lightwave signal is extracted from the lightwave signal;
Obtain the acoustic signals for being in the target frequency;
It determines the first time for receiving the lightwave signal, and receives second of the acoustic signals in the target frequency Time.
4. according to the method described in claim 2, it is characterized in that, the case where carrying payment data in the lightwave signal Under, trigger delivery operation, comprising:
Payment data is extracted from the lightwave signal;
According to the payment data, delivery operation is completed.
5. the method according to claim 1, wherein when determining the second of the acoustic signals that target object issues Between, comprising:
Obtain local sample signal;
Signal convolution is carried out to the acoustic signals and the local sample signal, obtains convolution results, wherein the sound wave letter The pseudo-random sequence for convolution algorithm is carried in number;
By the cross-correlation peak value corresponding time point in the convolution results, as second time.
6. the method according to claim 1, wherein being determined according to the first time and second time The distance of the target object, comprising:
It is poor to obtain the signal time carried in the lightwave signal;
It is poor according to the signal time, the first time and second time are modified, obtain revised first Time and revised second time;
According to the revised first time and revised second time, the distance of the target object is determined.
7. the method according to claim 1, wherein the lightwave signal includes at least one of: bluetooth letter Number, WIFI signal, Zigbee signal.
8. a kind of distance measuring method characterized by comprising
Determine the second of the acoustic signals that the first time for receiving the lightwave signal of target object sending and target object issue Time;
According to the first time and second time, the distance of the target object is determined.
9. according to the method described in claim 8, being associated with it is characterized in that, being carried in the lightwave signal with the lightwave signal Acoustic signals target frequency.
10. according to the method described in claim 9, it is characterized in that, determining the lightwave signal for receiving target object sending Second time of the acoustic signals issued at the first time with target object, comprising:
The target frequency with the associated acoustic signals of the lightwave signal is extracted from the lightwave signal;
Obtain the acoustic signals for being in the target frequency;
It determines the first time for receiving the lightwave signal, and receives second of the acoustic signals in the target frequency Time.
11. according to the method described in claim 8, it is characterized in that, when determining the second of the acoustic signals that target object issues Between, comprising:
Obtain local sample signal;
Signal convolution is carried out to the acoustic signals and the local sample signal, obtains convolution results, wherein the sound wave letter The pseudo-random sequence for convolution algorithm is carried in number;
By the cross-correlation peak value corresponding time point in the convolution results, as second time.
12. according to the method described in claim 8, it is characterized in that, being determined according to the first time and second time The distance of the target object, comprising:
It is poor to obtain the signal time carried in the lightwave signal;
It is poor according to the signal time, the first time and second time are modified, obtain revised first Time and revised second time;
According to the revised first time and revised second time, the distance of the target object is determined.
13. according to the method described in claim 8, it is characterized in that, the lightwave signal includes at least one of: bluetooth letter Number, WIFI signal, Zigbee signal.
14. a kind of method of payment characterized by comprising
Obtain the payment trigger request of user;
In response to the payment trigger request, lightwave signal and acoustic signals are sent, wherein the lightwave signal carries payment Data, the lightwave signal and the acoustic signals carry out joint ranging for paying equipment.
15. according to the method for claim 14, which is characterized in that also carried in the lightwave signal and the lightwave signal The target frequency of associated acoustic signals, and/or, signal time is poor, wherein the target frequency is true for the payment equipment Determine the corresponding acoustic signals of lightwave signal, the signal time difference is adjusted the distance in joint ranging process for the payment equipment It is modified.
16. according to the method for claim 14, which is characterized in that the lightwave signal includes at least one of: bluetooth Signal, WIFI signal, Zigbee signal.
17. a kind of distance measuring method characterized by comprising
Receive the short-time pulse of bluetooth data packets and acoustic signals from target object;
When determination receives the first time of the bluetooth data packets and receives the second of the short-time pulse of the acoustic signals Between;
According to the first time and second time, the distance of the target object is determined.
18. a kind of payment plant, including processor and for the memory of storage processor executable instruction, the place The step of reason device realizes any one of claims 1 to 7 the method when executing described instruction.
19. a kind of distance-measuring equipment, including processor and for the memory of storage processor executable instruction, the processor The step of any one of claim 8 to 13 the method is realized when executing described instruction.
20. a kind of computer readable storage medium is stored thereon with computer instruction, described instruction, which is performed, realizes that right is wanted The step of seeking any one of 1 to 7 the method.
CN201810579096.XA 2018-06-07 2018-06-07 A kind of method of payment, distance measuring method, payment plant and distance-measuring equipment Pending CN108985749A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201810579096.XA CN108985749A (en) 2018-06-07 2018-06-07 A kind of method of payment, distance measuring method, payment plant and distance-measuring equipment
TW108106641A TWI706349B (en) 2018-06-07 2019-02-27 Payment method, distance measurement method, payment equipment and distance measurement equipment
PCT/CN2019/077138 WO2019233145A1 (en) 2018-06-07 2019-03-06 Payment method, distance measurement method, payment device, and distance measurement device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810579096.XA CN108985749A (en) 2018-06-07 2018-06-07 A kind of method of payment, distance measuring method, payment plant and distance-measuring equipment

Publications (1)

Publication Number Publication Date
CN108985749A true CN108985749A (en) 2018-12-11

Family

ID=64540905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810579096.XA Pending CN108985749A (en) 2018-06-07 2018-06-07 A kind of method of payment, distance measuring method, payment plant and distance-measuring equipment

Country Status (3)

Country Link
CN (1) CN108985749A (en)
TW (1) TWI706349B (en)
WO (1) WO2019233145A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109714716A (en) * 2019-02-01 2019-05-03 Oppo广东移动通信有限公司 Data packet forwarding method, device and mobile terminal
CN109767507A (en) * 2019-03-01 2019-05-17 河北交通职业技术学院 A kind of highway non-parking charge payment system based on fence
WO2019233145A1 (en) * 2018-06-07 2019-12-12 阿里巴巴集团控股有限公司 Payment method, distance measurement method, payment device, and distance measurement device
CN113673982A (en) * 2021-08-25 2021-11-19 苏州触达信息技术有限公司 Electronic payment method using ultrasonic sound waves to replace two-dimensional codes
CN113673976A (en) * 2021-08-13 2021-11-19 支付宝(杭州)信息技术有限公司 Payment processing method and device applied to vehicle

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103235312A (en) * 2013-03-22 2013-08-07 哈尔滨工程大学 Measuring method for target echo strength
CN103901283A (en) * 2014-03-25 2014-07-02 南京信息工程大学 Device for monitoring lightning distance by the adoption of acousto-optic electromagnetic wave signal
CN104601207A (en) * 2014-12-08 2015-05-06 深圳市腾讯计算机系统有限公司 Data transmission method, user terminal and system
CN104898111A (en) * 2015-06-18 2015-09-09 苏州触达信息技术有限公司 Positioning system, wearable device and positioning method based on ultrasonic positioning
CN105488672A (en) * 2016-01-28 2016-04-13 广西咪付网络技术有限公司 Bluetooth-based mobile payment method and system
CN105848102A (en) * 2016-03-18 2016-08-10 上海酷远物联网科技有限公司 Mobile terminal positioning method, acoustic positioning transceivers, mobile terminal and system
CN105913249A (en) * 2016-05-04 2016-08-31 广西咪付网络技术有限公司 Mobile payment method and system based on the combination of sound wave and Bluetooth
CN105929368A (en) * 2016-04-14 2016-09-07 南京创维信息技术研究院有限公司 Supersonic wave based indoor positioning method, device and system
CN106067260A (en) * 2016-07-22 2016-11-02 宁波大红鹰学院 A kind of based in field TWA preengage parking management system online
US20180026728A1 (en) * 2016-07-20 2018-01-25 Alibaba Group Holding Limited Data sending/receiving method and data transmission system over sound waves
CN107631732A (en) * 2017-11-02 2018-01-26 武汉大学 Mixing indoor positioning method and system based on bluetooth, Wi Fi and sound wave
CN107728151A (en) * 2017-09-29 2018-02-23 上海展扬通信技术有限公司 Method, apparatus, computer equipment and the computer-readable recording medium of ranging

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2011255568A1 (en) * 2010-05-18 2012-12-06 Dynamics Inc. Systems and methods for cards and devices operable to communicate via light pulses and touch sensitive displays
CN103116846A (en) * 2012-12-27 2013-05-22 重庆濯晖科技有限公司 Mobile payment based on visible light communications
US20170011406A1 (en) * 2015-02-10 2017-01-12 NXT-ID, Inc. Sound-Directed or Behavior-Directed Method and System for Authenticating a User and Executing a Transaction
CN106600243A (en) * 2016-08-30 2017-04-26 广州云融信息科技有限公司 Mobile payment method and system based on mixed mode
CN107038570A (en) * 2016-12-09 2017-08-11 阿里巴巴集团控股有限公司 One kind pays page display method, client and electronic equipment
CN206773186U (en) * 2017-03-15 2017-12-19 北京凌宇智控科技有限公司 A kind of alignment system, equipment and component
CN208013420U (en) * 2018-03-19 2018-10-26 镇江云琛信息技术有限公司 A kind of correlation type ultrasonic rangefinder
CN108985749A (en) * 2018-06-07 2018-12-11 阿里巴巴集团控股有限公司 A kind of method of payment, distance measuring method, payment plant and distance-measuring equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103235312A (en) * 2013-03-22 2013-08-07 哈尔滨工程大学 Measuring method for target echo strength
CN103901283A (en) * 2014-03-25 2014-07-02 南京信息工程大学 Device for monitoring lightning distance by the adoption of acousto-optic electromagnetic wave signal
CN104601207A (en) * 2014-12-08 2015-05-06 深圳市腾讯计算机系统有限公司 Data transmission method, user terminal and system
CN104898111A (en) * 2015-06-18 2015-09-09 苏州触达信息技术有限公司 Positioning system, wearable device and positioning method based on ultrasonic positioning
CN105488672A (en) * 2016-01-28 2016-04-13 广西咪付网络技术有限公司 Bluetooth-based mobile payment method and system
CN105848102A (en) * 2016-03-18 2016-08-10 上海酷远物联网科技有限公司 Mobile terminal positioning method, acoustic positioning transceivers, mobile terminal and system
CN105929368A (en) * 2016-04-14 2016-09-07 南京创维信息技术研究院有限公司 Supersonic wave based indoor positioning method, device and system
CN105913249A (en) * 2016-05-04 2016-08-31 广西咪付网络技术有限公司 Mobile payment method and system based on the combination of sound wave and Bluetooth
US20180026728A1 (en) * 2016-07-20 2018-01-25 Alibaba Group Holding Limited Data sending/receiving method and data transmission system over sound waves
CN106067260A (en) * 2016-07-22 2016-11-02 宁波大红鹰学院 A kind of based in field TWA preengage parking management system online
CN107728151A (en) * 2017-09-29 2018-02-23 上海展扬通信技术有限公司 Method, apparatus, computer equipment and the computer-readable recording medium of ranging
CN107631732A (en) * 2017-11-02 2018-01-26 武汉大学 Mixing indoor positioning method and system based on bluetooth, Wi Fi and sound wave

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019233145A1 (en) * 2018-06-07 2019-12-12 阿里巴巴集团控股有限公司 Payment method, distance measurement method, payment device, and distance measurement device
CN109714716A (en) * 2019-02-01 2019-05-03 Oppo广东移动通信有限公司 Data packet forwarding method, device and mobile terminal
CN109767507A (en) * 2019-03-01 2019-05-17 河北交通职业技术学院 A kind of highway non-parking charge payment system based on fence
CN113673976A (en) * 2021-08-13 2021-11-19 支付宝(杭州)信息技术有限公司 Payment processing method and device applied to vehicle
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
TW202001723A (en) 2020-01-01
WO2019233145A1 (en) 2019-12-12
TWI706349B (en) 2020-10-01

Similar Documents

Publication Publication Date Title
CN108985749A (en) A kind of method of payment, distance measuring method, payment plant and distance-measuring equipment
CN106896356B (en) Determine method, position indicating method and its device and system of distance change
CN105301594B (en) Range measurement
CN108877770A (en) For testing the methods, devices and systems of intelligent sound equipment
CN104811497B (en) A kind of exchange method and system based on ultrasonic wave positioning
CN111640431B (en) Equipment response processing method and device
US9989619B2 (en) Bulk propagation timing measurement messaging
CN110045379A (en) Distance measurement method, related equipment and system
CN204166124U (en) Indoor locating system
CN105611014A (en) Method and device for mobile terminal call voice noise reduction
CN106951209A (en) A kind of control method, device and electronic equipment
CN108830605A (en) A kind of method of mobile payment, device and payment system
CN106462229A (en) A reminding method and a smart bracelet
CN104468911A (en) Mobile phone with laser ranging function and area measuring method through same
US9955499B2 (en) Bulk fine timing measurement message scheduling
CN105323480A (en) Ultrasonic-based photographing method and device
CN105277936A (en) Range finding system based on mobile phone and method thereof
CN110164443A (en) Method of speech processing, device and electronic equipment for electronic equipment
CN109922465A (en) Network collocating method and device
CN109870172A (en) Step counting detection method, device, equipment and storage medium
EP3369214B1 (en) Bulk fine timing measurement allocation message
CN108901062A (en) Wireless communication transmission method, device, mobile terminal and computer-readable storage medium
CN106713736A (en) Multi-machine flashlight control method and terminal equipment
CN109541608A (en) A kind of electronic equipment and its sound ranging method
WO2017074748A1 (en) Location detection using bulk fine timing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40001301

Country of ref document: HK

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181211