WO2019233145A1 - 一种支付方法、测距方法、支付机具设备和测距设备 - Google Patents

一种支付方法、测距方法、支付机具设备和测距设备 Download PDF

Info

Publication number
WO2019233145A1
WO2019233145A1 PCT/CN2019/077138 CN2019077138W WO2019233145A1 WO 2019233145 A1 WO2019233145 A1 WO 2019233145A1 CN 2019077138 W CN2019077138 W CN 2019077138W WO 2019233145 A1 WO2019233145 A1 WO 2019233145A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
wave signal
payment
signal
light wave
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.)
Ceased
Application number
PCT/CN2019/077138
Other languages
English (en)
French (fr)
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
Publication of WO2019233145A1 publication Critical patent/WO2019233145A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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 OR CALCULATING; 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 OR CALCULATING; 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

Definitions

  • the present application belongs to the field of Internet technology, and in particular, relates to a payment method, a ranging method, a payment implement device, and a ranging device.
  • the main mobile payment methods are: QR code reverse code payment, NFC payment, Sonic payment, Bluetooth near field payment and so on.
  • QR code reverse code payment QR code reverse code payment
  • NFC payment NFC payment
  • Sonic payment Bluetooth near field payment
  • these payment methods have certain restrictions on the payment environment and payment conditions. Specifically:
  • QR code anti-scanning payment The cost of the QR code anti-scanning equipment used is high, and the effect of anti-scanning will be affected by light and the environment. It also requires the user to hold the mobile phone;
  • NFC payment requires high equipment. Currently, only about 70% of NFC-enabled mobile phones support NFC payment, and NFC payment can only provide a few centimeters of touch payment experience. You must wait for each All customers have completed the payment before they can proceed to the next payment operation;
  • Acoustic payment is the payment of mobile phones and equipment through sonic / ultrasonic modulation and coding information. Because the system needs to use sonic to transmit information, it has higher requirements on the environment and microphone. Moreover, sonic payment itself does not have the function of ranging, because the transmission of sonic waves can reach a range of several meters, so there will be interference between similar sonic payment devices;
  • Bluetooth near field payment generally adopts a method similar to iBeacon. It judges the distance between the mobile phone and the payment device by receiving the signal strength, and transmits payment related data through Bluetooth. However, Bluetooth payment does not accurately judge the distance of the payment device, and it is difficult to precisely control the range of the payment. For example, if you want to configure the payment distance within 1 meter of the payment device, if you use the same Bluetooth signal strength threshold, different mobile phones and environments will cause the actual payment distance to vary within the range of 0 to 2 meters.
  • the purpose of this application is to provide a payment method, a ranging method, a payment equipment and a ranging device, which can achieve accurate ranging, and at the same time can improve the efficiency and accuracy of payment.
  • the application provides a payment method, a ranging method, a payment equipment device and a ranging device, which are implemented as follows:
  • a payment method includes: determining a first time when a light wave signal from a target object is received and a second time a sound wave signal from the target object; and determining the target object according to the first time and the second time When it is determined that the distance of the target object satisfies a preset threshold, a payment operation is triggered.
  • a ranging method includes: determining a first time when a light wave signal from a target object is received and a second time a sound wave signal from the target object; and determining the target according to the first time and the second time The distance of the object.
  • a payment method includes: obtaining a payment trigger request from a user; and transmitting a light wave signal and an acoustic wave signal in response to the payment trigger request, wherein the light wave signal carries payment data, and the light wave signal and the sound wave signal are used for Perform joint ranging on payment equipment.
  • a ranging method includes: receiving a short-time pulse of a Bluetooth data packet and a sound wave signal from a target object; determining a first time when the Bluetooth data packet is received and a second time of receiving the short-time pulse of the sound wave signal Time; determining the distance of the target object according to the first time and the second time.
  • a payment implement device includes a processor and a memory for storing processor-executable instructions. When the processor executes the instructions, the steps of the foregoing method are implemented.
  • a ranging device includes a processor and a memory for storing processor-executable instructions. When the processor executes the instructions, the steps of the foregoing method are implemented.
  • a computer-readable storage medium stores computer instructions thereon, the steps of the above method being implemented when the instructions are executed.
  • the payment method, ranging method, payment equipment, and ranging device determine the distance between the sending end and the destination end by using the time difference between the light wave signal and the acoustic wave signal that arrive at the destination end to achieve ranging, and can be based on the measurement The payment operation is completed based on the distance result.
  • the above solution solves the problem of low accuracy of distance determination in the existing payment process, and achieves the technical effect of effectively improving the accuracy of distance measurement and thereby improving the payment efficiency, and because the distance threshold is Can be set so that flexible payment fences can be set and adjusted.
  • FIG. 1 is a schematic diagram of a payment method based on a Bluetooth signal and a sonic signal provided by the present application;
  • FIG. 2 is a schematic diagram of a ranging principle provided by the present application.
  • FIG. 3 is a timing diagram of an audio timing signal provided by the present application.
  • FIG. 6 is a schematic structural diagram of a terminal device provided by the present application.
  • FIG. 7 is a structural block diagram of a payment device provided by the present application.
  • the terminal sends the light wave signal and the sound wave signal at the time of payment, and the receiving end (or the payment equipment end) receives the light wave signal and the sound wave signal at the same time.
  • Time determine the distance from the terminal to the payment device end, so as to determine whether the preset payment distance is met. If it is, then the payment data is obtained from the light wave signal. If the preset payment distance is not met, the payment operation is not triggered. In this way, accurate ranging can be achieved, and the payment process is more convenient, and it is not easy for people outside the range to make incorrect payments.
  • a ranging method is provided in this example, and a payment method that combines the ranging method with lightwave data transmission to complete a payment.
  • Ranging based on the difference between the transmission time of light waves and acoustic waves, compared to existing signal strength-based ranging schemes (for example: Bluetooth-based ranging, sonic-based ranging). It can obtain more stable ranging results, can realize flexible and accurate control of payment range, transmit payment data through light wave signals (for example, Bluetooth signals), and also solve the problem of low transmission rate of sound wave payments.
  • the Bluetooth signal is used as an example of the light wave signal for illustration.
  • an existing Bluetooth module and a speaker module of a payment terminal are used to simultaneously transmit a short-term signal (ie, a short packet of Bluetooth broadcast channel and a sound wave pulse) Signal); when receiving the Bluetooth signal and the sonic signal, the payment device end measures the arrival time of the Bluetooth signal and the sonic signal, and determines the distance from the payment terminal to the payment device end according to the arrival time of the Bluetooth signal and the sonic signal.
  • a short-term signal ie, a short packet of Bluetooth broadcast channel and a sound wave pulse
  • the reason why the distance between the payment terminal and the payment device can be determined according to the Bluetooth signal and the sound wave signal is because the speed of sound (340m / s) is much lower than the speed of light (3e8m / s).
  • the distance between the implements can be approximately 340 * dT. Because it is based on the transmission time difference ranging, it has nothing to do with the signal strength, so it will not be affected by the human body and the environment to the sound and light wave signal strength, so it can get better than ranging based on Bluetooth signal alone, or based on sound signal alone. More accurate ranging results.
  • the acoustic signal does not play a role in transmitting payment data, but merely transmits a short-term timing signal for ranging.
  • the simple determination of the peak time of the received signal will be affected by environmental noise. Therefore, it is necessary to control the accuracy of the signal's arrival time to within 50us to achieve ranging accuracy of 1-2cm. Transmitting a short-time sound pulse, it is difficult to accurately recover the arrival time at the receiving end of the payment device microphone.
  • a short-term pulse of the acoustic signal is transmitted with a length of N at one end (where N can take a value of 8 or 16). Random sequence.
  • N can take a value of 8 or 16.
  • a sound wave pulse signal in a frequency band between 18 kHz and 24 kHz can be selected, and according to the ability of the speaker Transmission on multiple channels.
  • the Bluetooth signal in order to achieve ranging, the Bluetooth signal needs to be associated with the acoustic signal in the time difference signal ranging. Because the acoustic signal is only used for timing ranging and does not carry the device identification, therefore, the randomness of the acoustic signal can be used.
  • the frequency hopping design carries a Bluetooth device ID (for example, a MAC address) and a current frequency of a sound wave signal corresponding to the payment terminal device in a data packet of the Bluetooth signal.
  • the Bluetooth channel can be used to monitor the broadcast channel to obtain the arrival time of the Bluetooth data packet and the arrival time of the corresponding acoustic signal. Since the sound wave signal can be transmitted at multiple frequency signals, through random channel selection, collisions between multiple mobile phones can be avoided to the greatest extent. Further, because the distance of the payment terminal can be roughly judged based on the strength of the Bluetooth signal, the distance between the payment terminal determined based on the Bluetooth signal can be used to filter out the Bluetooth and sonic time difference ranging signals that do not need to be processed.
  • the ranging error can be limited to 5cm-10cm. If this ranging method is applied to payment Scenario, then you can achieve accurate control over the payment range.
  • the payment electronic fence distance can be set to the channel width (for example: 80cm) to achieve accurate and controllable payment range settings. That is, using sound signals and light signals to perform time difference ranging can achieve stable and accurate ranging from the payment terminal to the payment device, so as to achieve a flexible and controllable payment distance or control of the payment electronic fence, for example, it can be set to 20cm , 1m, 2m, etc.
  • the above description is based on the Bluetooth signal as a light wave signal.
  • the light wave signals used for ranging and data transmission can also be Zigbee signals, WIFI signals, etc.
  • the payment terminal can also be Other mobile devices, such as wearables, cars, tablets, and more. This application does not limit this.
  • wireless signals and payment terminals can be selected according to actual needs and conditions.
  • FIG. 4 is a method flowchart of an embodiment of a ranging method described in this application.
  • this application provides method operation steps or device structures as shown in the following embodiments or drawings, based on conventional or no creative labor, the method or device may include more or fewer operation steps or module units. .
  • the execution order of these steps or the module structure of the device is not limited to the execution order or the module structure shown in the description of the embodiments of the present application and shown in the drawings.
  • the method or the module structure shown in the embodiment or the drawings may be connected to execute sequentially or in parallel (for example, a parallel processor or multi-threaded processing). Environment, or even a distributed processing environment).
  • this application provides a ranging method, which may include the following steps:
  • Step 41 Determine a first time when the light wave signal from the target object is received and a second time the sound wave signal from the target object;
  • Step 42 Determine the distance of the target object according to the first time and the second time.
  • the receiver can determine between the target object and the receiver based on the time when the light wave signal is received and the time when the sound wave signal is received. Distance to complete the ranging.
  • the light wave signal carries the target frequency of the sound wave signal associated with the light wave signal, so that based on the target frequency, it can be determined which sound wave signal is the sound wave signal from the same target object as the light wave signal.
  • determining the first time when the wireless light wave signal from the target object is received and the second time the sound wave signal from the target object may include:
  • S3 Determine the first time when the light wave signal is received and the second time when the sound wave signal at the target frequency is received.
  • determining the second time of the sound wave signal emitted by the target object may include:
  • determining the distance of the target object according to the first time and the second time may include:
  • S3 Determine the distance of the target object according to the first corrected time and the second corrected time.
  • the above-mentioned light wave signal may include but is not limited to at least one of the following: Bluetooth signal, WIFI signal, Zigbee signal.
  • the type of light wave signal that is used can be determined according to the type of light wave signal that the device has Perform ranging.
  • the above-mentioned ranging method can be applied to mobile payment. For example, after the user buys something and pays at the checkout point, the payment operation on the mobile phone can be triggered, and then the mobile phone sends a light wave signal and a sound wave signal to the cash register device.
  • the payment operation on the mobile phone can be triggered, and then the mobile phone sends a light wave signal and a sound wave signal to the cash register device.
  • the mobile phone sends a light wave signal and a sound wave signal to the cash register device.
  • a cash register device as shown in Figure 5 the following steps can be performed:
  • Step 51 Determine the first time when the light wave signal from the target object is received and the second time the sound wave signal from the target object;
  • Step 52 Determine the distance of the target object according to the first time and the second time.
  • Step 53 When it is determined that the distance of the target object satisfies a preset threshold, a payment operation is triggered.
  • a preset threshold that is, a distance threshold
  • a preset payment range For example, the set payment distance is 0.5m, and only the payment terminal is determined. Within 0.5m, it is determined as the user to be paid. If it exceeds 0.5 meters, the payment operation will not be triggered.
  • the preset threshold may be set according to actual conditions, may be set to 1 meter, 0.8 meter, 0.1 meter, etc., and may be set according to actual needs, which is not limited in this application.
  • payment data of the terminal is required, for example: the user's payment account number, the amount of payment owed, which payment method to use, etc.
  • These payment data can be carried in wireless signals.
  • triggering the payment operation may include: extracting payment data from the light wave signal; and completing the payment operation according to the payment data.
  • payment data is carried in a wireless signal, and for a payment implement, payment data is extracted from the received wireless signal to complete a payment operation.
  • the payment terminal may send wireless signals and sonic signals in response to the payment request of the payment device, or it may be that the payment terminal actively triggers sending wireless signals and sonic signals to Trigger payment machine payment, or the payment terminal sends wireless signals and sonic signals to trigger the establishment of a payment link with the payment machine. After the payment link is established, the payment process is entered, etc.
  • the specific implementation scenario can be determined according to actual needs. This application does not limit this.
  • the payment may be triggered by a user, that is, for a payment terminal, a payment trigger request of the user may be obtained; in response to the payment trigger request, a light wave signal and a sound wave signal are sent, where the light wave signal carries payment data , The light wave signal and the sound wave signal are used for payment equipment to perform joint ranging.
  • the payment data, the target frequency of the acoustic wave signal associated with the light wave signal, and data such as the time difference of the signal may be carried in the light wave signal.
  • an embodiment of a payment method is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. The logical order is shown in the flowchart, but in some cases, the steps shown or described may be performed in a different order than here.
  • FIG. 6 is a block diagram of a hardware structure of a computer terminal of a payment method according to an embodiment of the present invention.
  • the computer terminal 10 may include one or more (only one shown in the figure) a processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA)
  • a memory 104 for storing data
  • a transmission module 106 for communication functions.
  • the structure shown in FIG. 6 is only an illustration, and does not limit the structure of the electronic device.
  • the computer terminal 10 may further include more or fewer components than those shown in FIG. 6, or have a configuration different from that shown in FIG. 6.
  • the memory 104 may be used to store software programs and modules of application software, such as program instructions / modules corresponding to the ranging method in the embodiment of the present invention.
  • the processor 102 executes various software programs and modules stored in the memory 104 to execute various programs. Function application and data processing, that is, the ranging method for implementing the above application program.
  • the memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, a flash memory, or other non-volatile solid-state memory.
  • the memory 104 may further include memory remotely disposed with respect to the processor 102, and these remote memories may be connected to the computer terminal 10 through a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the transmission module 106 is configured to receive or send data via a network.
  • a specific example of the network described above may include a wireless network provided by a communication provider of the computer terminal 10.
  • the transmission module 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet.
  • the transmission module 106 may be a radio frequency (RF) module, which is used to communicate with the Internet in a wireless manner.
  • RF radio frequency
  • the payment device shown in FIG. 7 may include a first determination module 71, a second determination module 72, and a trigger module 73, where:
  • a first determining module 71 configured to determine a first time when a light wave signal sent by a target object is received and a second time a sound wave signal sent by the target object;
  • a second determining module 72 configured to determine a distance of the target object according to the first time and the second time
  • a triggering module 73 is configured to trigger a payment operation when it is determined that the distance of the target object meets a preset threshold.
  • the light wave signal may carry a target frequency of a sound wave signal associated with the light wave signal, and / or payment data.
  • the first determining module 71 may include an extraction unit configured to extract the light wave signal from the light wave signal when the light wave signal carries a target frequency of a sound wave signal associated with the light wave signal.
  • a target frequency of a sound wave signal associated with the light wave signal ; an obtaining unit for obtaining a sound wave signal at the target frequency; a determining unit for determining a first time when the light wave signal is received; The second time of the target frequency sound signal.
  • the triggering module 73 may include: an extraction unit configured to extract payment data from the light wave signal when the light wave signal carries payment data; and a payment unit configured to receive the payment data from the light wave signal. Payment data to complete the payment operation.
  • the first determining module 71 may include: an obtaining unit for obtaining a local sample signal; a convolution unit for performing signal convolution on the acoustic wave signal and the local sample signal to obtain a convolution result
  • the acoustic wave signal carries a pseudo-random sequence for a convolution operation
  • a generating unit is configured to use a time point corresponding to a cross-correlation peak in the convolution result as the second time.
  • the second determining module 72 may include: an acquiring unit configured to acquire a signal time difference carried in the light wave signal; and a correction unit configured to determine the first time and the time according to the signal time difference. The correction is performed at the second time to obtain a corrected first time and a corrected second time; a determining unit is configured to determine the distance of the target object according to the corrected first time and the corrected second time.
  • the light wave signal may include but is not limited to at least one of the following: a Bluetooth signal, a WIFI signal, and a Zigbee signal.
  • a distance measuring device which may include: a first determining module, configured to determine a first time when the light wave signal sent by the target object is received and a second time the sound wave signal sent by the target object; the second A determining module, configured to determine a distance of the target object according to the first time and the second time.
  • a payment device which may include: an acquisition module for acquiring a payment trigger request from a user; and a sending module for transmitting a light wave signal and a sound wave signal in response to the payment trigger request.
  • the light wave signal carries payment data, and the light wave signal and the sound wave signal are used for a payment device to perform a joint ranging.
  • a distance measuring device which may include: a receiving module for receiving a Bluetooth data packet and a short-term pulse of a sound wave signal from a target object; a first determining module for determining that the Bluetooth is received A first time of the data packet and a second time of receiving the short-time pulse of the acoustic wave signal; a second determination module is configured to determine the distance of the target object according to the first time and the second time.
  • a payment method, a ranging method, a payment device, and a ranging device are provided.
  • the distance between the sending end and the destination is determined by the time difference between the light wave signal and the sound wave signal that are sent at the same time to achieve the distance measurement.
  • the payment operation can be completed based on the ranging results.
  • the devices or modules described in the foregoing embodiments may be specifically implemented by a computer chip or entity, or may be implemented by a product having a certain function.
  • the functions are divided into various modules and described separately.
  • the functions of each module may be implemented in the same software or multiple software and / or hardware.
  • a module that implements a certain function may also be implemented by combining multiple submodules or subunits.
  • the method, device or module described in this application may be implemented in a computer-readable program code by the controller in any suitable manner.
  • the controller may adopt, for example, a microprocessor or processor and the storage may be processed by the (micro) Computer-readable program code (such as software or firmware), computer-readable media, logic gates, switches, Application Specific Integrated Circuits (ASICs), programmable logic controllers, and embedded microcontrollers
  • microcontrollers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320.
  • the memory controller can also be implemented as part of the control logic of the memory.
  • controller logic gates, switches, application specific integrated circuits, programmable logic controllers, and embedded controllers by logically programming the method steps.
  • Microcontrollers and the like to achieve the same function. Therefore, such a controller can be considered as a hardware component, and the device included in the controller for implementing various functions can also be considered as a structure within the hardware component. Or even, the means for implementing various functions may be regarded as a structure that can be both a software module implementing the method and a hardware component.
  • program modules include routines, programs, objects, components, data structures, classes, etc. that perform specific tasks or implement specific abstract data types.
  • program modules may be located in local and remote computer storage media, including storage devices.
  • the present application can be implemented by means of software plus necessary hardware. Based on this understanding, the technical solution of the present application, or the part that contributes to the existing technology, can be embodied in the form of a software product, or it can be reflected in the implementation process of data migration.
  • the computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, CD-ROM, etc., and includes several instructions to enable a computer device (which can be a personal computer, a mobile terminal, a server, or a network device, etc.) to execute this Apply for the method described in each embodiment or some parts of the embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)

Abstract

一种支付方法、测距方法、支付机具设备和测距设备,其中,该支付方法包括:确定接收到目标对象发出的光波信号的第一时间和目标对象发出的声波信号的第二时间(S51);根据所述第一时间和所述第二时间,确定所述目标对象的距离(S52);在确定所述目标对象的距离满足预设阈值的情况下,触发支付操作(S53)。解决了现有方法在支付过程中所存在的距离确定准确率低的问题,达到了有效提升测距准确度,从而提升支付效率的技术效果,且因为距离阈值是可以设定的,从而可以实现灵活的支付围栏的设置和调整。

Description

一种支付方法、测距方法、支付机具设备和测距设备 技术领域
本申请属于互联网技术领域,尤其涉及一种支付方法、测距方法、支付机具设备和测距设备。
背景技术
目前,随着互联网和人工技术等的不断发展,越来越多的人开始采用手机等移动支付终端进行支付操作。主要的移动支付方式有:二维码反码支付,NFC支付,声波支付,蓝牙近场支付等等。然而,这些支付方式都对支付环境和支付条件等存在一定的限制,具体的:
1)二维码反扫支付,所使用的二维码反扫设备的成本较高,且反扫的效果会受到光线和环境的影响,对用户手持手机的位置也有要求;
2)NFC支付,对设备要求比较高,目前支持NFC的手机只有大约7成,并不是所有的手机都可以支持NFC支付,且NFC支付只能提供几厘米的触碰支付体验,必须等每个顾客都支付完成,才能进行下一笔支付操作;
3)声波支付,声波支付是通过声波/超声波调制编码信息来完成手机和机具的支付,因为系统需要利用声波来传输信息,因此,对环境和麦克风有比较高的要求。且,声波支付本身没有测距的功能,因为声波传输可达几米的范围,因此,相近的声波支付设备之间会存在干扰;
4)蓝牙近场支付,蓝牙近场支付一般采用类似iBeacon的方式,通过接收信号强度判断手机和支付设备间的距离,并通过蓝牙传输支付相关数据。然而,蓝牙支付对支付设备的距离判断不准确,很难精确控制支付的距离范围。例如,如果希望配置支付距离在支付设备1米以内,如果采用同样的蓝牙信号强度阈值,不同手机和环境会导致实际支付距离在0到2米左右的范围内变动。
针对现有的移动支付中所存在的支付效率低下、对支付设备距离的确定不准确的问题,目前尚未提出有效的解决方案。
发明内容
本申请目的在于提供一种支付方法、测距方法、支付机具设备和测距设备,可以实现准确的测距,同时可以提升支付的效率和准确率。
本申请提供一种支付方法、测距方法、支付机具设备和测距设备是这样实现的:
一种支付方法,包括:确定接收到目标对象发出的光波信号的第一时间和目标对象发出的声波信号的第二时间;根据所述第一时间和所述第二时间,确定所述目标对象的距离;在确定所述目标对象的距离满足预设阈值的情况下,触发支付操作。
一种测距方法,包括:确定接收到目标对象发出的光波信号的第一时间和目标对象发出的声波信号的第二时间;根据所述第一时间和所述第二时间,确定所述目标对象的距离。
一种支付方法,包括:获取用户的支付触发请求;响应于所述支付触发请求,发送光波信号和声波信号,其中,所述光波信号携带有支付数据,所述光波信号和所述声波信号用于支付机具进行联合测距。
一种测距方法,包括:接收来自目标对象的蓝牙数据包和声波信号的短时脉冲;确定接收到所述蓝牙数据包的第一时间和接收到所述声波信号的短时脉冲的第二时间;根据所述第一时间和所述第二时间,确定所述目标对象的距离。
一种支付机具设备,包括处理器以及用于存储处理器可执行指令的存储器,所述处理器执行所述指令时实现上述方法的步骤。
一种测距设备,包括处理器以及用于存储处理器可执行指令的存储器,所述处理器执行所述指令时实现上述方法的步骤。
一种计算机可读存储介质,其上存储有计算机指令,所述指令被执行时实现上述方法的步骤。
本申请提供的支付方法、测距方法、支付机具设备和测距设备,通过同时发送的光波信号和声波信号到达目的端的时间差来确定发送端和目的端的距离,从而实现测距,且可以基于测距结果完成支付操作,通过上述方案解决了现有的支付过程中所存在的距离确定准确率低的问题,达到了有效提升测距准确度,从而提升支付效率的技术效果,且因为距离阈值是可以设定的,从而可以实现灵活的支付围栏的设置和调整。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本申请提供的基于蓝牙信号和声波信号的支付方式示意图;
图2是本申请提供的测距原理示意图;
图3是本申请提供的音频定时信号的定时示意图;
图4是本申请提供的测距方法的方法流程图;
图5是本申请提供的支付方法的方法流程图;
图6是本申请提供的终端设备的结构示意图;
图7是本申请提供的支付装置的结构框图。
具体实施方式
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
考虑到现有的支付方式所存在的问题,本例中考虑到终端在支付的时候,通过同时发送光波信号和声波信号,在接收端(或者是支付机具端)根据收到光波信号和声波信号的时间,确定终端距离支付机具端的距离,从而确定是否满足预设的支付距离,如果满足,则从光波信号中获取支付数据,如果不满足预设的支付距离,则不触发支付操作。通过这种方式,就可以实现准确测距,且支付过程较为方便,也不容易出现范围之外的人出现误支付的情况。
基于此,在本例中提供了一种测距方法,以及将该测距方法与光波数据传输相结合完成支付的支付方法。通过光波与声波的传输时间差进行测距,相较于现有的基于信号强度的测距方案(例如:基于蓝牙强度测距、基于声波强度测距),通过光波和和声波 的传输时间差测距,可以得到更加稳定的测距结果,可以实现对支付范围的灵活准确的控制,通过光波信号(例如,蓝牙信号)传输支付数据,也解决了声波付所存在的传输速率低的问题。
以蓝牙信号作为光波信号为例进行说明,如图1所示,利用支付终端(例如:手机)现有的蓝牙模块和扬声器模块同时传输短时信号(即,蓝牙广播信道短数据包和声波脉冲信号);支付机具端在接收蓝牙信号和声波信号的时候,测量蓝牙信号和声波信号的到达时间,根据蓝牙信号和声波信号的到达时间,确定支付终端到支付机具端的距离。
如图2所示,具体的,之所以可以根据蓝牙信号和声波信号确定支付终端到支付机具间的距离是因为声速(340m/s)远远低于光速(3e8m/s),支付终端到支付机具之间的距离可以近似为340*dT。由于是基于传输时间差测距,因此,和信号强度无关,也就不会受到人体和环境对声波和光波信号强度的影响,从而可以得到比单独基于蓝牙信号测距,或者单独基于声波信号测距更为准确的测距结果。
在本例中,声波信号并不起到传输支付数据的作用,而仅仅是传输用于测距的短时定时信号。考虑到对于声波信号而言,简单的接收信号峰值时间判断会受到环境噪声的影响,因此,需要控制该信号的到达时间达到50us以内的精度才能实现精度为1-2cm的测距精度,如果仅仅传输一个短时声音脉冲,在支付机具麦克风接收端很难准确还原出到达时间。
为了提高定时信号精度并尽可能滤除环境噪声的影响,可以如图3所示,在声波信号的短时脉冲中传输一端长度为N(其中,N可以取值为8或者16)位的伪随机序列,这样,在接收端可以通过信号卷积确定互相关峰值,以得到更为准确的定时结果。即,通过卷积相关运算,在支付机具端可以得到信号的相关峰值点时间,从而得到更稳定的音频定时信号。
声波脉冲信号在选取的时候,考虑到最好选择人耳听不到的信号频段,具体的,在实现的时候,可以选择18kHz到24kHz之间的频段的声波脉冲信号,且可以根据扬声器的能力在多个信道进行传输。
在本例中,为了实现测距,蓝牙信号在时间差信号测距中需要与声波信号进行关联对应,因为声波信号仅用于定时测距,并不携带设备标识,因此,可以采用声波信号的随机跳频设计,在蓝牙信号的数据包中携带蓝牙设备ID(例如:MAC地址)以及与该支付终端设备对应的声波信号的当前频率。
在支付机具端,通过蓝牙监听广播信道,可以获得蓝牙数据包的到达时间和对应的声波信号的到达时间。由于声波信号可以在多个频率信号传输,因此,通过随机信道选择,可以最大程度的避免多个手机之间的碰撞。进一步的,因为根据蓝牙信号的强度可以大致判断支付终端的距离,因此,可以通过基于蓝牙信号确定的支付终端的距离过滤掉不需要处理的蓝牙和声波时间差测距信号。
考虑到在实际实现的时候,支付终端中发射光波信号和发射声波信号所采用的芯片不同,会导致实际的信号传输时间发生变化。如图1所示,如果蓝牙信号和声波信号是同时发出的,由于不同支付终端中信号处理器和操作系统的时延等因素,实际的信号传输时间与支付SDK调用传输应用接口的时间可能会存在不同,这样也就会影响支付机具端信号时间差的计算。
为此,可以先确定支付终端的设备型号,然后对该设备型号进行校准,具体的,可以通过对已知距离的离线测试,校准由于设备兼容性导致的发射端声波信号和蓝牙信号时间差,并将该时间差值包含在蓝牙数据包中,用于支付机具端基于该事件差值进行时间差修正。
在本例中,结合了声波信号和光波信号进行联合测距,可以进行更为精准的测距,例如,可以将测距误差限制在5cm-10cm之间,如果将该测距方式应用在支付场景中,那么可以实现对支付范围的准确控制。例如,在支付通道的场景中,可以设定支付电子围栏距离为通道宽度(例如:80cm),以达到准确可控的支付范围设定。即,利用声波信号和光波信号进行时间差测距,可以实现稳定和准确的支付终端到支付机具的测距,从而可以达到灵活可控的支付距离或支付电子围栏的控制,例如:可以设置为20cm、1m、2m等。
值得注意的是,上述是以蓝牙信号作为光波信号进行的说明,在实际实现的时候,上述用于测距和数据传输的光波信号还可以是Zigbee信号、WIFI信号等,上述支付终端也可以是其它的移动设备,例如,可穿戴设备、汽车、平板电脑等等。本申请对此不作限定,在实际实现的时候,可以根据实际的需要和情况选择无线信号以及支付终端。
图4是本申请所述一种测距方法一个实施例的方法流程图。虽然本申请提供了如下述实施例或附图所示的方法操作步骤或装置结构,但基于常规或者无需创造性的劳动在所述方法或装置中可以包括更多或者更少的操作步骤或模块单元。在逻辑性上不存在必要因果关系的步骤或结构中,这些步骤的执行顺序或装置的模块结构不限于本申请实施例描述及附图所示的执行顺序或模块结构。所述的方法或模块结构的在实际中的装置或 终端产品应用时,可以按照实施例或者附图所示的方法或模块结构连接进行顺序执行或者并行执行(例如并行处理器或者多线程处理的环境,甚至分布式处理环境)。
具体的如图4所示,本申请提供了一种测距方法,可以包括如下步骤:
步骤41:确定接收到目标对象发出的光波信号的第一时间和目标对象发出的声波信号的第二时间;
步骤42:根据所述第一时间和所述第二时间,确定所述目标对象的距离。
即,通过目标对象同时发出光波信号和声波信号,因为声音和光的传输速度是不同的,接收方可以基于接收到光波信号的时间和接收到声波信号的时间,确定出目标对象与接收方之间的距离,从而完成测距。
考虑到在实际实现的时候,测距的应用场景可能存在多个目标对象或者是存在多个光波信号、多个声波信号等等,为了识别出哪个声波信号与哪个光波信号是一对的,可以考虑通过光波信号携带与该光波信号关联的声波信号的目标频率,这样基于目标频率就可以确定出哪个声波信号是与该光波信号来自同一目标对象的声波信号。
相应的,确定接收到目标对象发出的无线光波信号的第一时间和目标对象发出的声波信号的第二时间,可以包括:
S1:从所述光波信号中提取出与该光波信号关联的声波信号的目标频率;
S2:获取处于所述目标频率的声波信号;
S3:确定接收到所述光波信号的第一时间,和接收到处于所述目标频率的声波信号的第二时间。
进一步的,考虑在实际实现的时候,接收声波信号峰值时间判断会受到环境噪声的影响,从而导致确定出的声波信号接收时间不准确,为此,可以采用在声波信号中加入伪随机序列,这样在接收端通过信号卷积,可以找到互相关峰值,从而使得定时结果更新准确。具体的,确定目标对象发出的声波信号的第二时间,可以包括:
S1:获取本地样本信号;
S2:对所述声波信号和所述本地样本信号进行信号卷积,得到卷积结果,其中,所述声波信号中携带有用于卷积运算的伪随机序列;
S3:将所述卷积结果中的互相关峰值对应的时间点,作为所述第二时间。
因为不同手机所采用的芯片不同,这样就导致声波信号和光波信号在传输的时候,会存在一定的时延,为此,可以确定出每个终端设备所存在的时延(即,信号时间差),可以将信号时间差携带在光波信号中,这样对于接收端而言,在获取到光波信号之后,可以从光波信号中提取出信号时间差,然后基于信号时间差可以对确定出的距离进行调整,从而使得测距更为准确。即,根据第一时间和所述第二时间,确定目标对象的距离,可以包括:
S1:获取所述光波信号中携带的信号时间差;
S2:根据所述信号时间差,对所述第一时间和所述第二时间进行修正,得到修正后的第一时间和修正后的第二时间;
S3:根据修正后的第一时间和修正后的第二时间,确定所述目标对象的距离。
上述的光波信号可以包括但不限于以下至少之一:蓝牙信号、WIFI信号、Zigbee信号,在实际的测距过程中,可以根据设备本身所具备的发送光波信号的类型,确定采用哪种光波信号进行测距。
上述的测距方法可以应用在移动支付中,例如,用户买了东西之后,到结账处付款,那么可以触发手机上的支付操作,然后手机发送光波信号和声波信号到收银设备。对于收银设备而言,可以如图5所示,执行如下步骤:
步骤51:确定接收到目标对象发出的光波信号的第一时间和目标对象发出的声波信号的第二时间;
步骤52:根据所述第一时间和所述第二时间,确定所述目标对象的距离;
步骤53:在确定所述目标对象的距离满足预设阈值的情况下,触发支付操作。
即,可以预设一个预设阈值,即,距离阈值,在确定出目标对象的距离之后,可以确定出是否处于预设的支付范围内,例如,设置的支付距离为0.5m,只有确定支付终端在0.5m范围内,才确定为要进行支付的用户。如果超出0.5米,就不触发支付操作。其中,该预设阈值可以根据实际情况设定,可以设定为1米、0.8米、0.1米等等,可以根据实际需要设定,本申请对此不作限定。
因为要实现支付操作,那么就需要有终端的支付数据,例如:用户的支付账号、支付的欠款数量、用哪种支付方式支付等等,这些支付数据可以是携带在无线信号中的。为此,在所述光波信号中携带有支付数据的情况下,触发支付操作可以包括:从光波信 号中提取出支付数据;根据支付数据,完成支付操作。
也就是说,对于支付终端而言,在无线信号中携带支付数据,对于支付机具而言,从接收到的无线信号中提取支付数据,以完成支付操作。
在实际实现的时候,可以有多种支付场景,例如,可以是支付终端响应于支付机具的支付请求,发送无线信号和声波信号,也可以是,支付终端主动触发发送无线信号和声波信号,以触发支付机具收款,也可以是支付终端发送无线信号和声波信号触发与支付机具建立付款链接,在付款链接建立之后,再进入付款流程等等,具体采用哪种实现场景可以根据实际需要确定,本申请对此不作限定。
例如,可以是用户触发进行支付,即,对于支付终端而言,可以获取用户的支付触发请求;响应于所述支付触发请求,发送光波信号和声波信号,其中,所述光波信号携带有支付数据,所述光波信号和所述声波信号用于支付机具进行联合测距。
在一个实施方式中,上述支付数据、与光波信号关联的声波信号的目标频率、信号时间差等数据都可以是携带在光波信号中的。
根据本发明实施例,还提供了一种支付方法实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。
本申请所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在计算机终端上为例,图6是本发明实施例的一种支付方法的计算机终端的硬件结构框图。如图6所示,计算机终端10可以包括一个或多个(图中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)、用于存储数据的存储器104、以及用于通信功能的传输模块106。本领域普通技术人员可以理解,图6所示的结构仅为示意,其并不对上述电子装置的结构造成限定。例如,计算机终端10还可包括比图6中所示更多或者更少的组件,或者具有与图6所示不同的配置。
存储器104可用于存储应用软件的软件程序以及模块,如本发明实施例中的测距方法对应的程序指令/模块,处理器102通过运行存储在存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的应用程序的测距方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪 存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至计算机终端10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
传输模块106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括计算机终端10的通信供应商提供的无线网络。在一个实例中,传输模块106包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输模块106可以为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。
在软件层面,上述支付装置如图7所示,可以包括:第一确定模块71、第二确定模块72和触发模块73,其中:
第一确定模块71,用于确定接收到目标对象发出的光波信号的第一时间和目标对象发出的声波信号的第二时间;
第二确定模块72,用于根据所述第一时间和所述第二时间,确定所述目标对象的距离;
触发模块73,用于在确定所述目标对象的距离满足预设阈值的情况下,触发支付操作。
在一个实施方式中,上述光波信号中可以携带有与该光波信号关联的声波信号的目标频率,和/或,支付数据。
在一个实施方式中,第一确定模块71可以包括:提取单元,用于在所述光波信号中携带有与该光波信号关联的声波信号的目标频率的情况下,从所述光波信号中提取出与该光波信号关联的声波信号的目标频率;获取单元,用于获取处于所述目标频率的声波信号;确定单元,用于确定接收到所述光波信号的第一时间,和接收到处于所述目标频率的声波信号的第二时间。
在一个实施方式中,触发模块73可以包括:提取单元,用于在所述光波信号中携带有支付数据的情况下,从所述光波信号中提取出支付数据;支付单元,用于根据所述支付数据,完成支付操作。
在一个实施方式中,第一确定模块71可以包括:获取单元,用于获取本地样本信号;卷积单元,用于对所述声波信号和所述本地样本信号进行信号卷积,得到卷积结果,其中,所述声波信号中携带有用于卷积运算的伪随机序列;生成单元,用于将所述卷积结 果中的互相关峰值对应的时间点,作为所述第二时间。
在一个实施方式中,第二确定模块72可以包括:获取单元,用于获取所述光波信号中携带的信号时间差;修正单元,用于根据所述信号时间差,对所述第一时间和所述第二时间进行修正,得到修正后的第一时间和修正后的第二时间;确定单元,用于根据修正后的第一时间和修正后的第二时间,确定所述目标对象的距离。
在一个实施方式中,上述光波信号可以包括但不限于以下至少之一:蓝牙信号、WIFI信号、Zigbee信号。
在软件层面,还提供了一种测距装置,可以包括:第一确定模块,用于确定接收到目标对象发出的光波信号的第一时间和目标对象发出的声波信号的第二时间;第二确定模块,用于根据所述第一时间和所述第二时间,确定所述目标对象的距离。
在软件层面,还提供了一种支付装置,可以包括:获取模块,用于获取用户的支付触发请求;发送模块,用于响应于所述支付触发请求,发送光波信号和声波信号,其中,所述光波信号携带有支付数据,所述光波信号和所述声波信号用于支付机具进行联合测距。
在软件层面,还提供了一种测距装置,可以包括:接收模块,用于接收来自目标对象的蓝牙数据包和声波信号的短时脉冲;第一确定模块,用于确定接收到所述蓝牙数据包的第一时间和接收到所述声波信号的短时脉冲的第二时间;第二确定模块,用于根据所述第一时间和所述第二时间,确定所述目标对象的距离。
在上例中,提供了一种支付方法、测距方法、支付机具设备和测距设备,通过同时发送的光波信号和声波信号到达目的端的时间差来确定发送端和目的端的距离,从而实现测距,且可以基于测距结果完成支付操作,通过上述方案解决了现有的支付过程中所存在的距离确定准确率低的问题,达到了有效提升测距准确度,从而提升支付效率的技术效果,且因为距离阈值是可以设定的,从而可以实现灵活的支付围栏的设置和调整。
虽然本申请提供了如实施例或流程图所述的方法操作步骤,但基于常规或者无创造性的劳动可以包括更多或者更少的操作步骤。实施例中列举的步骤顺序仅仅为众多步骤执行顺序中的一种方式,不代表唯一的执行顺序。在实际中的装置或客户端产品执行时,可以按照实施例或者附图所示的方法顺序执行或者并行执行(例如并行处理器或者多线程处理的环境)。
上述实施例阐明的装置或模块,具体可以由计算机芯片或实体实现,或者由具有某 种功能的产品来实现。为了描述的方便,描述以上装置时以功能分为各种模块分别描述。在实施本申请时可以把各模块的功能在同一个或多个软件和/或硬件中实现。当然,也可以将实现某功能的模块由多个子模块或子单元组合实现。
本申请中所述的方法、装置或模块可以以计算机可读程序代码方式实现控制器按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内部包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。
本申请所述装置中的部分模块可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构、类等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本申请可借助软件加必需的硬件的方式来实现。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,也可以通过数据迁移的实施过程中体现出来。该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,移动终端,服务器,或者网络设备等)执行本申请各个实施例或者实施例的某些部分所述的方法。
本说明书中的各个实施例采用递进的方式描述,各个实施例之间相同或相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。本申请的全部或者部分可用于众多通用或专用的计算机系统环境或配置中。例如:个人计算机、服务器 计算机、手持设备或便携式设备、平板型设备、移动通信终端、多处理器系统、基于微处理器的系统、可编程的电子设备、网络PC、小型计算机、大型计算机、包括以上任何系统或设备的分布式计算环境等等。
虽然通过实施例描绘了本申请,本领域普通技术人员知道,本申请有许多变形和变化而不脱离本申请的精神,希望所附的权利要求包括这些变形和变化而不脱离本申请的精神。

Claims (20)

  1. 一种支付方法,其特征在于,包括:
    确定接收到目标对象发出的光波信号的第一时间和目标对象发出的声波信号的第二时间;
    根据所述第一时间和所述第二时间,确定所述目标对象的距离;
    在确定所述目标对象的距离满足预设阈值的情况下,触发支付操作。
  2. 根据权利要求1所述的方法,其特征在于,所述光波信号中携带有与该光波信号关联的声波信号的目标频率,和/或,支付数据。
  3. 根据权利要求2所述的方法,其特征在于,在所述光波信号中携带有与该光波信号关联的声波信号的目标频率的情况下,确定接收到目标对象发出的光波信号的第一时间和目标对象发出的声波信号的第二时间,包括:
    从所述光波信号中提取出与该光波信号关联的声波信号的目标频率;
    获取处于所述目标频率的声波信号;
    确定接收到所述光波信号的第一时间,和接收到处于所述目标频率的声波信号的第二时间。
  4. 根据权利要求2所述的方法,其特征在于,在所述光波信号中携带有支付数据的情况下,触发支付操作,包括:
    从所述光波信号中提取出支付数据;
    根据所述支付数据,完成支付操作。
  5. 根据权利要求1所述的方法,其特征在于,确定目标对象发出的声波信号的第二时间,包括:
    获取本地样本信号;
    对所述声波信号和所述本地样本信号进行信号卷积,得到卷积结果,其中,所述声波信号中携带有用于卷积运算的伪随机序列;
    将所述卷积结果中的互相关峰值对应的时间点,作为所述第二时间。
  6. 根据权利要求1所述的方法,其特征在于,根据所述第一时间和所述第二时间,确定所述目标对象的距离,包括:
    获取所述光波信号中携带的信号时间差;
    根据所述信号时间差,对所述第一时间和所述第二时间进行修正,得到修正后的第一时间和修正后的第二时间;
    根据所述修正后的第一时间和所述修正后的第二时间,确定所述目标对象的距离。
  7. 根据权利要求1所述的方法,其特征在于,所述光波信号包括以下至少之一:蓝牙信号、WIFI信号、Zigbee信号。
  8. 一种测距方法,其特征在于,包括:
    确定接收到目标对象发出的光波信号的第一时间和目标对象发出的声波信号的第二时间;
    根据所述第一时间和所述第二时间,确定所述目标对象的距离。
  9. 根据权利要求8所述的方法,其特征在于,所述光波信号中携带有与该光波信号关联的声波信号的目标频率。
  10. 根据权利要求9所述的方法,其特征在于,确定接收到目标对象发出的光波信号的第一时间和目标对象发出的声波信号的第二时间,包括:
    从所述光波信号中提取出与该光波信号关联的声波信号的目标频率;
    获取处于所述目标频率的声波信号;
    确定接收到所述光波信号的第一时间,和接收到处于所述目标频率的声波信号的第二时间。
  11. 根据权利要求8所述的方法,其特征在于,确定目标对象发出的声波信号的第二时间,包括:
    获取本地样本信号;
    对所述声波信号和所述本地样本信号进行信号卷积,得到卷积结果,其中,所述声波信号中携带有用于卷积运算的伪随机序列;
    将所述卷积结果中的互相关峰值对应的时间点,作为所述第二时间。
  12. 根据权利要求8所述的方法,其特征在于,根据所述第一时间和所述第二时间,确定所述目标对象的距离,包括:
    获取所述光波信号中携带的信号时间差;
    根据所述信号时间差,对所述第一时间和所述第二时间进行修正,得到修正后的第一时间和修正后的第二时间;
    根据所述修正后的第一时间和所述修正后的第二时间,确定所述目标对象的距离。
  13. 根据权利要求8所述的方法,其特征在于,所述光波信号包括以下至少之一:蓝牙信号、WIFI信号、Zigbee信号。
  14. 一种支付方法,其特征在于,包括:
    获取用户的支付触发请求;
    响应于所述支付触发请求,发送光波信号和声波信号,其中,所述光波信号携带有 支付数据,所述光波信号和所述声波信号用于支付机具进行联合测距。
  15. 根据权利要求14所述的方法,其特征在于,所述光波信号中还携带有与该光波信号关联的声波信号的目标频率,和/或,信号时间差,其中,所述目标频率用于所述支付机具确定光波信号对应的声波信号,所述信号时间差用于所述支付机具在联合测距过程中对距离进行修正。
  16. 根据权利要求14所述的方法,其特征在于,所述光波信号包括以下至少之一:蓝牙信号、WIFI信号、Zigbee信号。
  17. 一种测距方法,其特征在于,包括:
    接收来自目标对象的蓝牙数据包和声波信号的短时脉冲;
    确定接收到所述蓝牙数据包的第一时间和接收到所述声波信号的短时脉冲的第二时间;
    根据所述第一时间和所述第二时间,确定所述目标对象的距离。
  18. 一种支付机具设备,包括处理器以及用于存储处理器可执行指令的存储器,所述处理器执行所述指令时实现权利要求1至7中任一项所述方法的步骤。
  19. 一种测距设备,包括处理器以及用于存储处理器可执行指令的存储器,所述处理器执行所述指令时实现权利要求8至13中任一项所述方法的步骤。
  20. 一种计算机可读存储介质,其上存储有计算机指令,所述指令被执行时实现权利要求1至7中任一项所述方法的步骤。
PCT/CN2019/077138 2018-06-07 2019-03-06 一种支付方法、测距方法、支付机具设备和测距设备 Ceased WO2019233145A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810579096.X 2018-06-07
CN201810579096.XA CN108985749A (zh) 2018-06-07 2018-06-07 一种支付方法、测距方法、支付机具设备和测距设备

Publications (1)

Publication Number Publication Date
WO2019233145A1 true WO2019233145A1 (zh) 2019-12-12

Family

ID=64540905

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/077138 Ceased WO2019233145A1 (zh) 2018-06-07 2019-03-06 一种支付方法、测距方法、支付机具设备和测距设备

Country Status (3)

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

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108985749A (zh) * 2018-06-07 2018-12-11 阿里巴巴集团控股有限公司 一种支付方法、测距方法、支付机具设备和测距设备
CN109714716B (zh) * 2019-02-01 2020-08-25 Oppo广东移动通信有限公司 数据包转发方法、装置及移动终端
CN109767507A (zh) * 2019-03-01 2019-05-17 河北交通职业技术学院 一种基于电子围栏的高速公路不停车收费支付系统
CN118469555A (zh) * 2021-08-13 2024-08-09 支付宝(中国)网络技术有限公司 应用于车辆的支付处理方法及装置
CN113673982A (zh) * 2021-08-25 2021-11-19 苏州触达信息技术有限公司 超声声波替代二维码的电子支付方法

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103901283A (zh) * 2014-03-25 2014-07-02 南京信息工程大学 一种利用声光电磁波信号监测闪电距离的装置
CN104601207A (zh) * 2014-12-08 2015-05-06 深圳市腾讯计算机系统有限公司 一种数据传输方法、用户终端及系统
CN106600243A (zh) * 2016-08-30 2017-04-26 广州云融信息科技有限公司 一种基于混合模式的移动支付方法及系统
CN206773186U (zh) * 2017-03-15 2017-12-19 北京凌宇智控科技有限公司 一种定位系统、设备及组件
CN208013420U (zh) * 2018-03-19 2018-10-26 镇江云琛信息技术有限公司 一种对射式超声波测距仪
CN108985749A (zh) * 2018-06-07 2018-12-11 阿里巴巴集团控股有限公司 一种支付方法、测距方法、支付机具设备和测距设备

Family Cites Families (14)

* 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 (zh) * 2012-12-27 2013-05-22 重庆濯晖科技有限公司 基于可见光通信的移动支付
CN103235312B (zh) * 2013-03-22 2014-11-05 哈尔滨工程大学 目标回波强度测量方法
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
CN104898111B (zh) * 2015-06-18 2017-10-31 苏州触达信息技术有限公司 一种基于超声定位的定位系统、可穿戴设备和定位方法
CN105488672A (zh) * 2016-01-28 2016-04-13 广西咪付网络技术有限公司 一种基于蓝牙的移动支付方法及系统
CN105848102A (zh) * 2016-03-18 2016-08-10 上海酷远物联网科技有限公司 移动终端定位方法、声波定位收发器、移动终端及系统
CN105929368A (zh) * 2016-04-14 2016-09-07 南京创维信息技术研究院有限公司 基于超声波的室内定位方法、装置及系统
CN105913249A (zh) * 2016-05-04 2016-08-31 广西咪付网络技术有限公司 一种基于声波和蓝牙结合的移动支付方法及系统
CN107645343B (zh) * 2016-07-20 2021-10-22 阿里巴巴集团控股有限公司 基于声波的数据发送/接收方法及数据传输系统
CN106067260A (zh) * 2016-07-22 2016-11-02 宁波大红鹰学院 一种基于场内双向寻址的在线预约停车管理系统
CN107038570A (zh) * 2016-12-09 2017-08-11 阿里巴巴集团控股有限公司 一种支付页面显示方法、客户端及电子设备
CN107728151A (zh) * 2017-09-29 2018-02-23 上海展扬通信技术有限公司 测距的方法、装置、计算机设备及计算机可读存储介质
CN107631732B (zh) * 2017-11-02 2019-12-13 武汉大学 基于蓝牙、Wi-Fi和声波的混合室内定位方法及系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103901283A (zh) * 2014-03-25 2014-07-02 南京信息工程大学 一种利用声光电磁波信号监测闪电距离的装置
CN104601207A (zh) * 2014-12-08 2015-05-06 深圳市腾讯计算机系统有限公司 一种数据传输方法、用户终端及系统
CN106600243A (zh) * 2016-08-30 2017-04-26 广州云融信息科技有限公司 一种基于混合模式的移动支付方法及系统
CN206773186U (zh) * 2017-03-15 2017-12-19 北京凌宇智控科技有限公司 一种定位系统、设备及组件
CN208013420U (zh) * 2018-03-19 2018-10-26 镇江云琛信息技术有限公司 一种对射式超声波测距仪
CN108985749A (zh) * 2018-06-07 2018-12-11 阿里巴巴集团控股有限公司 一种支付方法、测距方法、支付机具设备和测距设备

Also Published As

Publication number Publication date
CN108985749A (zh) 2018-12-11
TW202001723A (zh) 2020-01-01
TWI706349B (zh) 2020-10-01

Similar Documents

Publication Publication Date Title
WO2019233145A1 (zh) 一种支付方法、测距方法、支付机具设备和测距设备
CN101395890B (zh) 以距离为基础的安全性
CN104981983B (zh) 用于通过超声和无线信号的装置对装置角度检测的装置和方法
KR101520775B1 (ko) 양방향 레인징 메시징 방식
CN104202729B (zh) 一种联系人的添加方法、装置及系统
WO2019169958A1 (zh) 支付辅助方法、装置以及设备
KR20150084814A (ko) 초음파를 이용한 에코 제거
CN204166124U (zh) 室内定位系统
KR20230107218A (ko) 거리 측정 방법, 장치, 시스템, 스마트설비와 컴퓨터 판독 가능한 저장 매체
CN112098942B (zh) 一种智能设备的定位方法和智能设备
CN108200265B (zh) 基于姿态识别的手机控制平台
CN110869793B (zh) 确定音频设备的位置/定向
CN115469272A (zh) 一种用户设备自动定位方法和系统
CN112098934B (zh) 一种智能设备的定位方法和智能设备
CN115743028A (zh) 车辆的无钥匙进入控制系统、无钥匙进入方法及装置
CN110782890A (zh) 闹钟提醒方法、智能投影仪及相关产品
EP3369214B1 (en) Bulk fine timing measurement allocation message
CN108989698B (zh) 手机控制方法
HK40001301A (zh) 一种支付方法、测距方法、支付机具设备和测距设备
CN112098941A (zh) 一种智能设备的定位方法、定位装置和智能设备
JP2007172423A (ja) 発話状態検出装置および方法
KR102146893B1 (ko) 음파 통신을 이용하는 차량 개폐 시스템 및 그의 제어방법
CN112098949A (zh) 一种定位智能设备的方法和装置
CN115015838B (zh) 一种定位方法和声源定位系统
WO2019149275A1 (zh) 一种提示信号传输位置的装置及方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19814116

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19814116

Country of ref document: EP

Kind code of ref document: A1