WO2019228001A1 - Payment method and client - Google Patents

Payment method and client Download PDF

Info

Publication number
WO2019228001A1
WO2019228001A1 PCT/CN2019/076948 CN2019076948W WO2019228001A1 WO 2019228001 A1 WO2019228001 A1 WO 2019228001A1 CN 2019076948 W CN2019076948 W CN 2019076948W WO 2019228001 A1 WO2019228001 A1 WO 2019228001A1
Authority
WO
WIPO (PCT)
Prior art keywords
threshold
signal strength
payment terminal
target
distribution data
Prior art date
Application number
PCT/CN2019/076948
Other languages
French (fr)
Chinese (zh)
Inventor
韩喆
杨磊
吴军
王磊
Original Assignee
阿里巴巴集团控股有限公司
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 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2019228001A1 publication Critical patent/WO2019228001A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/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/322Aspects of commerce using mobile devices [M-devices]

Definitions

  • the present application relates to the field of Internet technologies, and in particular, to a payment method and a client.
  • RSSI received Signal Strength Indication
  • the purpose of the embodiments of the present application is to provide a payment method and a client, which can improve a user's payment experience.
  • an embodiment of the present application provides a payment method.
  • the method provides an initial transmission threshold and initial signal strength distribution data corresponding to a payment terminal when transmitting payment data.
  • the method includes: according to the initial transmission The threshold and the initial signal intensity distribution data to determine a target transmission threshold; obtain the current signal intensity distribution data, and determine whether the current signal intensity distribution data meets the conditions associated with the target transmission threshold; if it is, it is related to the target transmission threshold
  • the payment terminal transmits payment data again.
  • an embodiment of the present application further provides a client, where the client includes a storage module, a transmission threshold update module, a data acquisition module, and a transmission determination module; wherein the storage module is used for storage and payment terminals The corresponding initial transmission threshold and initial signal strength distribution data during data transmission; the transmission threshold update module is used to determine a target transmission threshold based on the initial transmission threshold and the initial signal strength distribution data; the data acquisition module uses To obtain the current signal strength distribution data; the transmission determination transmission module is configured to determine whether the current signal strength distribution data meets a condition associated with the target transmission threshold, and, if the determination result is satisfied, communicate with the The payment terminal performs data transmission again.
  • an embodiment of the present application further provides a client, where the client includes a memory and a processor, and the memory stores initial transmission threshold values and initial signal strength distribution data corresponding to data transmission performed by a payment terminal.
  • a computer program that, when executed by the processor, implements the following steps: determining a target transmission threshold based on the initial transmission threshold and the initial signal strength distribution data; obtaining current signal strength distribution data, and Determine whether the current signal strength distribution data meets a condition associated with the target transmission threshold; if it is satisfied, perform data transmission with the payment terminal again.
  • the smartphone can update the current and payment based on the initial transmission threshold and initial signal strength distribution data when the payment data was transmitted to the payment terminal last time.
  • the target transmission threshold for the terminal to perform payment data transmission.
  • the smartphone can determine whether the current signal intensity distribution data meets the conditions associated with the target transmission threshold, and if it is satisfied, can perform payment data with the payment terminal again. transmission.
  • using the method of the present application can automatically update the transmission threshold suitable for the smartphone, so that at the usual payment distance, the user can make normal payments using different smartphones, thereby improving the user Payment experience.
  • FIG. 1 is a signal intensity distribution data obtained by a Huawei mate8 smartphone at a different distance from a payment terminal in the prior art
  • FIG. 2 is a signal intensity distribution data obtained by a Huawei Mi 5s smartphone at a different distance from a payment terminal in the prior art
  • FIG. 3 is a flowchart of a payment method according to an embodiment of the present application.
  • FIG. 4 is signal strength distribution data obtained when a smartphone is at a specified distance from a payment terminal according to an embodiment of the present application
  • FIG. 5 is a schematic diagram of two adjacent sub-sequences in a signal intensity sampling point sequence in an embodiment of the present application
  • FIG. 6 is signal strength distribution data obtained by filtering a sequence of acquired signal strength sampling points by a smartphone in an embodiment of the present application
  • FIG. 7 is a schematic structural diagram of a client according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of another client according to an embodiment of the present application.
  • the embodiment of the present application provides a payment method, and the payment method can be applied to a system architecture of a client and a payment terminal.
  • the payment terminal may be a payment receiving device having a Bluetooth communication function. During Bluetooth communication with the client, the payment terminal is usually in slave mode and can send out signals in the Bluetooth frequency band.
  • the payment terminal may be, for example, a point-of-sale (POS) machine, a bus toll machine, or a campus toll machine with a Bluetooth communication function, or a payment device running on the payment device. Collection support software.
  • the number of the payment terminals is not specifically limited in this embodiment.
  • the payment terminal may be one payment terminal, or may be several payment terminals, or a payment terminal cluster formed by several payment terminals.
  • the client may be an electronic device for mobile payment and having a Bluetooth communication function.
  • the client When performing Bluetooth communication with a payment terminal, the client is usually in a master mode and can obtain signal intensity distribution data corresponding to the signal.
  • the client may be, for example, a tablet computer, a notebook computer, a smart phone, a digital assistant, a smart wearable device, and the like.
  • the client may be software capable of running in the electronic device.
  • the client may be a mobile application in an electronic device, and the mobile application may be, for example, WeChat, PayPal, or the like.
  • the embodiment of the present application provides a method for information interaction, and the method for information interaction can be applied to the above-mentioned client.
  • the method may be provided with initial transmission threshold values and initial signal strength distribution data corresponding to when the payment terminal transmits payment data.
  • the initial transmission threshold may be a signal strength indication (Received Signal Strength Indication, RSSI) value.
  • RSSI Received Signal Strength Indication
  • the initial transmission threshold may be a transmission threshold corresponding to the first time that the client and the payment terminal transmit payment data, that is, the transmission threshold initially set.
  • the initially set transmission threshold may be a small value, for example, -100 milliwatts decibel (dbm), to ensure that different clients, such as different smart phones, can trigger the payment terminal. Payment data transfer function.
  • the initial transmission threshold may also be a transmission threshold corresponding to a time when the payment terminal performs payment data transmission after the client and the payment terminal perform payment data transmission for the first time.
  • the initial signal strength distribution data may be a type of RSSI distribution data.
  • the RSSI distribution data may be an RSSI value corresponding to a Bluetooth signal sent by the payment terminal and acquired by the client within a specified time period.
  • the RSSI distribution data may include frequencies corresponding to different RSSI values.
  • the initial signal strength distribution data may be signal strength distribution data obtained when the client and the payment terminal transmit payment data for the first time, or may be the first payment data performed by the client and the payment terminal. After transmission, the signal intensity distribution data obtained when the payment data is transmitted with the payment terminal at one time.
  • the client may perform payment data transmission with the payment terminal.
  • the conditions associated with the initial transmission threshold may include that an average value of signal strength in the initial signal strength distribution data is greater than or equal to the initial transmission threshold.
  • the client may record the transmission threshold value and signal strength distribution data corresponding to the current payment data transmission with the payment terminal to update the data with the payment terminal.
  • the method may include the following steps.
  • S11 Determine a target transmission threshold according to the initial transmission threshold and the initial signal strength distribution data.
  • the client may determine the target transmission threshold according to the initial transmission threshold value and the initial signal strength distribution data corresponding to when the payment terminal transmitted the last payment data, as a second time with the payment terminal. Judgment basis for payment data transmission. Specifically, the client may determine based on the specified number of times of payment data transmission before the payment terminal, the specified parameter associated with the number of times of payment data transmission, and the maximum signal strength in the initial signal strength distribution data. A weighting coefficient such that the signal with the largest proportion in the signal strength distribution data corresponding to the specified distance is determined according to the weighting coefficient, the maximum signal strength in the signal strength distribution data, and the target transmission threshold determined by the initial transmission threshold The absolute value of the difference between the intensity values is less than or equal to the specified intensity value.
  • the specified distance may be a distance between the client and the payment terminal during payment data transmission, and the distance may be set according to an actual application scenario. For example, when a user makes a payment on a bus through a smart phone, the distance between the smart phone and the tolling device on the bus can usually be 5-10 cm. Alternatively, when a user makes a payment through the smart phone in the school cafeteria, the distance between the smart phone and the charging device of the cafeteria window is usually 10-15 cm.
  • the specified intensity value may be zero or a smaller value approaching zero.
  • the probability that the signal strength in the obtained signal strength distribution data is greater than the target transmission threshold is greater, so that the client can be Quickly connect with the payment terminal and perform payment data transmission, so that the payment speed can be improved.
  • an average value of the signal strength in the initial signal strength distribution data may be considered.
  • the client may also be based on the number of times of payment data transmission before the payment terminal, the specified parameter associated with the number of times of payment data transmission, and the average value of the signal strength in the initial signal strength distribution data and A maximum signal strength, and a weight coefficient is determined such that a target transmission threshold determined from the weight coefficient, the average signal strength and the maximum signal strength in the signal intensity distribution data, and the target transmission threshold determined by the initial transmission threshold is at a specified distance
  • the absolute value of the difference between the largest signal intensity values in the corresponding signal intensity distribution data is less than or equal to the specified intensity value.
  • the initial transmission threshold value and the initial signal strength Distribute the data to determine the target transmission threshold.
  • the value obtained by subtracting the initial transmission threshold from the maximum signal strength in the initial signal strength distribution data is greater than a specified difference, that is, VM n -T n > p, where VM n represents The maximum signal strength in the initial signal strength distribution data corresponding to the payment terminal's nth payment data transmission, T n represents the initial transmission threshold corresponding to the payment terminal's nth payment data transmission, and p represents the Specify the difference; the target transmission threshold T n + 1 can be determined using the following formula:
  • T n + 1 ⁇ (VM n -q) + (1- ⁇ ) T n
  • represents the weight coefficient
  • b represents a specified parameter associated with the number n of payment data transmissions. For example, when the number n of payment data transmissions is less than or equal to 2, b is 2, and when n is greater than 2 , B is 5; q and Each is a parameter associated with the specified difference. For example, when the specified difference is 20dbm, q and Can be 15 and 18 respectively.
  • the value obtained by subtracting the initial transmission threshold value from the maximum value of the signal strength in the initial signal strength distribution data is less than or equal to the specified difference value, use the initial transmission threshold value as the target transmission threshold value, that is, not in Update the transmission threshold.
  • the value range of the specified difference may be generally 15 to 20 dbm.
  • S13 Acquire current signal intensity distribution data, and determine whether the current signal intensity distribution data meets a condition associated with the target transmission threshold; if it is satisfied, perform payment data transmission with the payment terminal again.
  • the client may first obtain the current signal intensity distribution data and determine whether the current signal intensity distribution data meets the target transmission threshold association. conditions of. If it is satisfied, payment data transmission can be performed with the payment terminal again.
  • the conditions for the target transmission threshold association may specifically include: an average value of signal strength in the current signal intensity distribution data is greater than or equal to the target transmission threshold. In this way, if the average value of the signal strength in the current signal strength distribution data is greater than or equal to the target transmission threshold, the client can perform payment data transmission with the payment terminal again.
  • the client is a smart phone
  • the payment terminal is a cash receiving device on a bus.
  • the cash receiving device is connected to the smartphone and the payment data is transmitted via Bluetooth.
  • the machine is in a slave mode and broadcasts signals of different frequency bands.
  • the smart phone scans the signals and obtains signal intensity distribution data corresponding to the signals.
  • the smartphone recorded the initial transmission threshold and the initial signal corresponding to the payment data transmission with the payment device.
  • the intensity distribution data and according to the initial transmission threshold and the initial signal strength threshold, calculate a target transmission threshold corresponding to the next payment data transmission with the receiving machine.
  • the user can obtain the current signal strength data through the smartphone and determine the current signal strength.
  • the average signal strength in the signal strength data is greater than or equal to the target transmission threshold.
  • the smart phone can perform payment data transmission with the cash receiving device again. In this way, the transmission threshold value that is compatible with the smart phone can be automatically updated, so that at a normal payment distance, users can make normal payments using different smart phones, thereby improving the user's payment experience.
  • the smartphone can also automatically update the corresponding transmission threshold when transmitting payment data with different payment machines, so as to avoid different signal strengths from different payment machines. Caused compatibility issues.
  • the connection since the client and the payment terminal need to establish a connection before transmitting payment data, the connection usually takes 0.2 to 0.3 seconds. Therefore, in order to further improve the user's payment experience, the customer The terminal may also pre-connect with the payment terminal before transmitting payment data with the payment terminal. Specifically, before determining whether the current signal strength distribution data meets a condition of the target transmission threshold association, the method may further include the following steps.
  • S21 Determine a target pre-connection threshold according to the target transmission threshold; wherein the target pre-connection threshold is smaller than the target transmission threshold.
  • determining the target pre-connection threshold according to the target transmission threshold may specifically include multiplying a first designated coefficient by a parameter associated with the target transmission threshold, and subtracting the target transmission threshold. The product result is obtained the target pre-connection threshold.
  • the target pre-connection threshold is smaller than the target transmission threshold; the parameter associated with the target transmission threshold may be a logarithmic function associated with the target transmission threshold. For example, the following formula may be used to characterize the target pre-connection threshold P n + 1 :
  • c 1 represents the first designated coefficient, and the specific value can be set according to the actual application situation.
  • the value of c 1 can be 10; C n + 1 represents a parameter associated with the target transmission threshold. ; T n + 1 represents the target transmission threshold.
  • a 1 and a 2 are designated constants, and specific values can be set according to the actual application situation.
  • a 1 and a 2 can be 100 and 10, respectively.
  • S23 Determine whether the current signal strength distribution data meets a condition associated with the target pre-connection threshold; if it is satisfied, establish a connection with the payment terminal.
  • the client can obtain the current signal strength distribution data and determine whether the current signal strength distribution data meets the conditions associated with the target pre-connection threshold, and if it meets, A connection is established with the payment terminal.
  • the conditions related to the target pre-connection threshold may specifically include: an average value of signal strength in the current signal intensity distribution data is greater than or equal to the target pre-connection threshold. Because the target pre-connection threshold is less than the target transmission threshold, before a user uses a client to make a payment, that is, when the distance between the client and the payment terminal is greater than the specified distance, the client may first prepare to contact with The payment terminal is pre-connected.
  • the client when the client approaches the payment terminal, the client can have enough time to establish a connection with the payment terminal, so that the distance between the client and the payment terminal
  • the specified distance is 10 centimeters
  • the current signal strength distribution data meets the conditions associated with the target transmission threshold, and the client can directly transmit payment data with the payment terminal without having to Waiting for a connection again can reduce payment time.
  • the specified distance is 10 centimeters
  • payment data can be transmitted with the payment terminal; the user holds the client, and keeps approaching the payment terminal, Prepare to make a payment.
  • the obtained signal intensity distribution data meets the conditions associated with the target pre-connection threshold, and may be ready to start pre-connection with the payment terminal.
  • the distance between the client and the payment terminal is 10 cm
  • a connection with the payment terminal is established, and at the same time, the current signal strength distribution data meets the condition of the target transmission threshold association, then Directly perform payment data transmission with the payment terminal.
  • the client in the case that the client establishes a connection with the payment terminal and does not perform data transmission with the payment terminal, in order to prevent the client from occupying the payment terminal due to the user's sudden departure Of connected resources.
  • the method may further include the following steps.
  • S31 Determine a target disconnection threshold according to the target transmission threshold; wherein the target disconnection threshold is less than the target pre-connection threshold.
  • determining the target disconnection threshold according to the target transmission threshold may specifically include multiplying a second designated coefficient by a parameter associated with the target transmission threshold, and subtracting the target transmission threshold from the target transmission threshold.
  • the result of de-producting is to obtain the target pre-connection threshold.
  • the target disconnection threshold is smaller than the target pre-connection threshold; the second specified coefficient is greater than the first specified coefficient.
  • the parameter associated with the target transmission threshold may be a logarithmic function associated with the target transmission threshold. For example, the following formula can be used to characterize the target disconnection threshold D n + 1 :
  • c 2 represents the second designated coefficient, and the specific value can be set according to the actual application situation.
  • the value of c 2 can be 20;
  • C n + 1 represents a parameter associated with the target transmission threshold. ;
  • T n + 1 represents the target transmission threshold.
  • a 1 and a 2 are designated constants, and specific values can be set according to the actual application situation.
  • a 1 and a 2 can be 100 and 10, respectively.
  • the client can obtain current signal strength distribution data.
  • the client can determine whether the current signal strength distribution data meets the conditions associated with the target disconnection threshold; if it meets, Disconnected from the payment terminal.
  • the condition associated with the target disconnection threshold may specifically include: an average value of signal strength in the current signal intensity distribution data is less than or equal to the target pre-connection threshold.
  • the method may further include: in a case where a connection is established with the payment terminal and no data transmission is performed with the payment terminal, determining whether the duration of continuous connection with the payment terminal is greater than or equal to Specify a connection duration; if the duration of continuous connection with the payment terminal is greater than or equal to the specified connection duration, disconnect from the payment terminal.
  • the specified connection duration may be set according to actual application conditions, which is not limited herein.
  • obtaining the current signal intensity distribution data may include the following steps.
  • the signal intensity sampling point sequence includes a plurality of signal intensity sampling points.
  • the client can acquire a signal intensity sampling point corresponding to a signal sent by the payment terminal according to a specified time interval. In this way, the client can acquire multiple signal intensity sampling points within the currently specified duration. After the signal intensity sampling points are arranged in chronological order, the current signal intensity sampling point sequence is formed.
  • the value range of the specified time length may be 0.2 seconds to 0.3 seconds, and the value range of the specified time interval may be 0.01 to 0.05 seconds.
  • the specified duration and the specified time interval can be set according to actual application conditions.
  • the client may store a sequence of signal strength sampling points within a specified time period, and the sampling time corresponding to the signal strength sampling points in the sequence is farther than the specified time from the current time, and the client may delete the sequence. And obtain the current signal intensity sampling point sequence within the specified time period again.
  • S43 Divide the signal intensity sampling point sequence into at least one subsequence, and determine a median signal intensity of the subsequence.
  • the signal intensity sampling point sequence may be divided into at least one subsequence according to a specified time window and window length, or according to the specified number of sampling points,
  • the signal intensity sampling point sequence is divided into at least one subsequence.
  • two adjacent subsequences have overlapping signal intensity sampling points.
  • two adjacent subsequences A1 and A2 except for the first signal strength sampling point of subsequence A1 and the last signal strength sampling point of subsequence A2, are all other signal strength sampling points.
  • the overlapping signal strength sampling points in the sequences A1 and A2, and the subsequence A2 is equivalent to the subsequence A1 moving a signal strength sampling point.
  • the median signal intensity of each subsequence may be determined, that is, the signal intensity of multiple signal intensity sampling points in each subsequence. Median.
  • S45 Determine the current signal strength distribution data according to a median signal strength of the subsequence.
  • determining the current signal strength distribution data according to the median signal strength of the subsequence may specifically include that the median signal strength of the subsequence may be used as an intermediate in the subsequence.
  • the median signal intensity of each subsequence is processed in the manner described above, so that the processed signal intensity sampling points can be obtained, and the signal intensity distribution data composed of the signal intensity values of the processed signal intensity samples is described as Current signal strength distribution data. For example, as shown in FIG. 6, when a smartphone is at a specified distance from a payment terminal, the jump phenomenon of RSSI value in the signal intensity distribution data obtained in the above manner within the specified time period is significantly reduced.
  • an average value of the signal intensity of the subsequence may be determined, and according to the average value of the signal intensity of the subsequence, Determining the current signal strength distribution data.
  • an average value of the signal strength of the sampling points of the signal strength in the subsequence may be determined, and the current signal strength distribution data may be determined according to the average value of the signal strength of the sampling points of the signal strength in the subsequence.
  • the partial signal strength sampling points may be signal strength sampling points in a middle portion of the subsequence, and the number of sampling points of the partial signal strength sampling points may be five percent of the number of sampling points of the subsequence. ten.
  • the client in actual applications, the client itself may malfunction, causing the acquired signal strength value to always be a small value, even if the distance between the client and the payment terminal is very close. It may also be impossible to transmit payment data with the payment terminal, but in this case, the client will continue to update the transmission threshold, pre-connection threshold, and disconnection threshold, and the updated transmission threshold, pre-connection threshold, and disconnection
  • the connection threshold is a small value, and continuous attempts to perform payment data transmission with the payment terminal will waste time and are not good for users to find problems.
  • the target transmission threshold, the target pre-connection threshold, and the target disconnection threshold is less than a specified threshold, for example, the specified threshold is -100 dbm
  • the client The threshold update and transmission conditions are not judged, and a prompt for a client payment failure is given.
  • the client used by the user performs a normal payment data transmission with the payment terminal several times before putting a protective cover made of metal material on the client, and most of the client The area is all wrapped by the protective cover.
  • the signal strength obtained by the client again may be small.
  • the client can restore the transmission threshold to the initial transmission threshold corresponding to the first use to re-update the transmission threshold.
  • the present application further provides a client, which includes a storage module, a transmission threshold update module, a data acquisition module, and a transmission determination module.
  • the storage module may be configured to store initial transmission threshold values and initial signal strength distribution data corresponding to the data transmission performed by the payment terminal.
  • the transmission threshold update module may be configured to determine a target transmission threshold based on the initial transmission threshold and the initial signal strength distribution data
  • the data acquisition module may be configured to acquire current signal intensity distribution data
  • the transmission determination transmission module may be configured to determine whether the current signal strength distribution data meets a condition associated with the target transmission threshold, and if the determination result is satisfied, perform data transmission with the payment terminal again.
  • the data acquisition module is configured to obtain a current signal intensity sampling point sequence, wherein the signal intensity sampling point sequence includes a plurality of signal intensity sampling points, and the signal intensity sampling point sequence is divided into At least one subsequence, and determining a median signal strength of the subsequence, and determining the current signal intensity distribution data according to the median signal strength of the subsequence.
  • the transmission determination module is configured to determine whether an average value of signal strength in the current signal strength distribution data is greater than or equal to the target transmission threshold.
  • the transmission threshold update module is configured to be based on the number of times of payment data transmission, a specified parameter associated with the number of times of payment data transmission, and a maximum signal strength in the initial signal strength distribution data.
  • the weight coefficient is determined so that the target transmission threshold determined according to the weight coefficient, the maximum signal strength in the signal intensity distribution data, and the initial transmission threshold occupies a proportion in the signal intensity distribution data corresponding to the specified distance.
  • the absolute value of the difference between the largest signal strength values is less than or equal to the specified strength value.
  • the client may further include a pre-connection threshold determination module and a connection determination module.
  • the pre-connection threshold determination module is configured to determine a target pre-connection threshold according to the target transmission threshold; wherein the target pre-connection threshold is smaller than the target transmission threshold.
  • the connection determination module is configured to determine whether the current signal intensity distribution data meets a condition associated with the target pre-connection threshold, and establish a connection with the payment terminal if the determination result is satisfied.
  • the client further includes a disconnection threshold determination module and a disconnection determination module.
  • the disconnection threshold determination module is configured to determine a target disconnection threshold according to the target transmission threshold; wherein the target disconnection threshold is less than the target pre-connection threshold.
  • the disconnection determination module is configured to determine whether the current signal strength distribution data meets the target disconnection threshold association in a case where a connection is established with the payment terminal and no data transmission is performed with the payment terminal. And the condition is satisfied, and if the judgment result is satisfied, the connection with the payment terminal is disconnected.
  • the client further includes a disconnection determination module.
  • the disconnection determination module is configured to determine whether a duration of continuous connection with the payment terminal is greater than or equal to a specified connection duration in a case where a connection is established with the payment terminal and no data transmission is performed with the payment terminal. The duration of continuous connection with the payment terminal is greater than or equal to the specified connection duration, and the connection with the payment terminal is disconnected.
  • the present application further provides a client.
  • the server includes a memory and a processor.
  • the memory stores initial transmission threshold values and initial signal strength distribution data corresponding to a data transmission performed by a payment terminal, and a computer.
  • a program when the computer program is executed by the processor, the following steps are implemented:
  • Step S11 Determine a target transmission threshold according to the initial transmission threshold and the initial signal strength distribution data
  • Step S13 Obtain current signal intensity distribution data, and determine whether the current signal intensity distribution data meets a condition associated with the target transmission threshold; if it is satisfied, perform data transmission with the payment terminal again.
  • the memory may include a physical device for storing information, and generally the information is digitized and then stored by using a medium such as electricity, magnetism, or optics.
  • the memory according to this embodiment may further include: a device that stores information by using electric energy, such as RAM, ROM, etc .; a device that stores information by using magnetic energy, such as hard disk, floppy disk, magnetic tape, magnetic core memory, magnetic bubble memory, U disk ; Devices that store information optically, such as CDs or DVDs.
  • a device that stores information by using electric energy such as RAM, ROM, etc .
  • magnetic energy such as hard disk, floppy disk, magnetic tape, magnetic core memory, magnetic bubble memory, U disk
  • Devices that store information optically such as CDs or DVDs.
  • quantum memory graphene memory, and so on.
  • the processor may be implemented in any suitable manner.
  • the processor may take, for example, a microprocessor or processor and a computer-readable medium, logic gate, switch, dedicated integration storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor.
  • Circuit Application Specific Integrated Circuit, ASIC
  • programmable logic controller and embedded microcontroller form, etc.
  • a weighting factor based on the number of times of payment data transmission, a specified parameter associated with the number of times of payment data transmission, and a maximum signal strength in the initial signal strength distribution data, so that according to the weighting coefficient, The absolute value of the difference between the maximum signal strength value in the signal strength distribution data and the target transmission threshold determined by the initial transmission threshold value, and the signal strength distribution data with the highest probability in the signal strength distribution data corresponding to the specified distance, is less than or equal to the specified value. Intensity value.
  • part of the steps in the foregoing embodiment may be performed by the server.
  • the step of determining the target transmission threshold according to the initial transmission threshold and the initial signal strength distribution data may be performed by the server.
  • the server then sends the target transmission threshold to the client for subsequent processing.
  • the smartphone can update the current and payment based on the initial transmission threshold and initial signal strength distribution data when the payment data was transmitted to the payment terminal last time.
  • the target transmission threshold for the terminal to perform payment data transmission.
  • the smartphone can determine whether the current signal intensity distribution data meets the conditions associated with the target transmission threshold, and if it is satisfied, can perform payment data with the payment terminal again. transmission.
  • using the method of the present application can automatically update the transmission threshold suitable for the smartphone, so that at the usual payment distance, the user can make normal payments using different smartphones, thereby improving the user Payment experience.
  • a programmable logic device Programmable Logic Device (PLD)
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • VHDL Very-High-Speed Integrated Circuit Hardware Description Language
  • Verilog2 Verilog2.
  • the method steps can be logically programmed to make the client and server use logic gates, switches, application specific integrated circuits, and programmable logic. Controller and embedded microcontroller to achieve the same function. Therefore, such a client and a server can be regarded as a kind of hardware component, and a device included therein for implementing various functions can also be regarded as a structure within the hardware component. Or even, the means for implementing various functions can 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, etc. that perform specific tasks or implement specific abstract data types.
  • the present application can also be practiced in distributed computing environments in which tasks are performed by remote processing devices connected through a communication network.
  • program modules may be located in local and remote computer storage media, including storage devices.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)
  • Cash Registers Or Receiving Machines (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

Provided are a payment method and a client. In the method, an initial transmission threshold value and initial signal strength distribution data corresponding to a payment terminal during payment data transmission are provided. The method comprises: determining a target transmission threshold value according to an initial transmission threshold value and initial signal strength distribution data (S11); and acquring current signal strength distribution data, and determining whether the current signal strength distribution data satisfies a condition associated with the target transmission threshold value, and if so, carrying out payment data transmission with a payment terminal again (S13). By means of the method, the payment experience of a user can be improved.

Description

一种支付方法及客户端Payment method and client 技术领域Technical field
本申请涉及互联网技术领域,特别涉及一种支付方法及客户端。The present application relates to the field of Internet technologies, and in particular, to a payment method and a client.
背景技术Background technique
随着互联网技术的快速发展,移动支付的应用不断增多。利用智能手机(如Android手机、iOS手机等)、平板电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等客户端进行在线支付已成为一种便捷、流行的支付方式。With the rapid development of Internet technology, the application of mobile payment is increasing. Using smart phones (such as Android phones, iOS phones, etc.), tablet computers, and mobile Internet devices (Mobile Internet Devices (MID), PAD) and other clients to make online payments has become a convenient and popular payment method.
在实际应用中发现,在基于低功耗蓝牙(Bluetooth Low Energy,BLE)近场支付的方法中,针对不同的客户端,例如不同的智能手机,即使分别与支付终端之间的距离相同,但接收到的信号强度指示(Received Signal Strength Indication,RSSI)却可能存在差异。例如,如图1和图2所示,两种分别为华为mate8和小米5s的智能手机,在与支付终端相同距离下接受到的RSSI并不相同,其中,距离包括2厘米、5厘米、20厘米和50厘米;图1和图2中的横坐标和纵坐标分别为RSSI值和占比,单位分别为毫瓦分贝(dbm)和千分比。这样,可能导致用户在使用某款智能手机时,由于该智能手机在通常支付距离处的RSSI小于设定的支付数据传输阈值,而无法进行正常支付,从而降低用户的支付体验。It has been found in practical applications that in the method of near field payment based on Bluetooth Low Energy (BLE), for different clients, such as different smart phones, even though the distances from the payment terminals are the same, but There may be differences in the received Signal Strength Indication (RSSI). For example, as shown in Figures 1 and 2, two smartphones, Huawei mate8 and Xiaomi 5s, respectively, receive different RSSIs at the same distance as the payment terminal. The distance includes 2 cm, 5 cm, 20 Centimeters and 50 centimeters; the abscissa and ordinate in Figures 1 and 2 are the RSSI value and the ratio, respectively, and the units are milliwatt decibel (dbm) and thousandth ratio, respectively. In this way, when a user uses a smartphone, the RSSI of the smartphone at the usual payment distance is less than the set payment data transmission threshold, which prevents normal payment, thereby reducing the user's payment experience.
发明内容Summary of the Invention
本申请实施方式的目的是提供一种支付方法及客户端,能够提高用户的支付体验。The purpose of the embodiments of the present application is to provide a payment method and a client, which can improve a user's payment experience.
为实现上述目的,本申请实施方式提供一种支付方法,所述方法提供有与支付终端进行支付数据传输时对应的初始传输阈值和初始信号强度分布数据;所述方法包括:根据所述初始传输阈值和所述初始信号强度分布数据,确定目标传输阈值;获取当前的信号强度分布数据,并判断所述当前的信号强度分布数据是否满足所述目标传输阈值关联的条件;若满足,与所述支付终端再次进行支付数据传输。In order to achieve the above object, an embodiment of the present application provides a payment method. The method provides an initial transmission threshold and initial signal strength distribution data corresponding to a payment terminal when transmitting payment data. The method includes: according to the initial transmission The threshold and the initial signal intensity distribution data to determine a target transmission threshold; obtain the current signal intensity distribution data, and determine whether the current signal intensity distribution data meets the conditions associated with the target transmission threshold; if it is, it is related to the target transmission threshold The payment terminal transmits payment data again.
为实现上述目的,本申请实施方式还提供一种客户端,所述客户端中包括存储模块、传输阈值更新模块、数据获取模块和传输判定模块;其中,所述存储模块用于存储与支付终端进行数据传输时对应的初始传输阈值和初始信号强度分布数据;所述传输阈值更 新模块用于根据所述初始传输阈值和所述初始信号强度分布数据,确定目标传输阈值;所述数据获取模块用于获取当前的信号强度分布数据;所述传输判定传输模块用于判断所述当前的信号强度分布数据是否满足所述目标传输阈值关联的条件,并在判断结果为满足的情况下,与所述支付终端再次进行数据传输。In order to achieve the above object, an embodiment of the present application further provides a client, where the client includes a storage module, a transmission threshold update module, a data acquisition module, and a transmission determination module; wherein the storage module is used for storage and payment terminals The corresponding initial transmission threshold and initial signal strength distribution data during data transmission; the transmission threshold update module is used to determine a target transmission threshold based on the initial transmission threshold and the initial signal strength distribution data; the data acquisition module uses To obtain the current signal strength distribution data; the transmission determination transmission module is configured to determine whether the current signal strength distribution data meets a condition associated with the target transmission threshold, and, if the determination result is satisfied, communicate with the The payment terminal performs data transmission again.
为实现上述目的,本申请实施方式还提供一种客户端,所述客户端包括存储器和处理器,所述存储器中存储有与支付终端进行数据传输时对应的初始传输阈值和初始信号强度分布数据,以及计算机程序,所述计算机程序被所述处理器执行时,实现以下步骤:根据所述初始传输阈值和所述初始信号强度分布数据,确定目标传输阈值;获取当前的信号强度分布数据,并判断所述当前的信号强度分布数据是否满足所述目标传输阈值关联的条件;若满足,与所述支付终端再次进行数据传输。In order to achieve the above object, an embodiment of the present application further provides a client, where the client includes a memory and a processor, and the memory stores initial transmission threshold values and initial signal strength distribution data corresponding to data transmission performed by a payment terminal. And a computer program that, when executed by the processor, implements the following steps: determining a target transmission threshold based on the initial transmission threshold and the initial signal strength distribution data; obtaining current signal strength distribution data, and Determine whether the current signal strength distribution data meets a condition associated with the target transmission threshold; if it is satisfied, perform data transmission with the payment terminal again.
由上可见,在本申请中,针对用户使用的客户端,例如智能手机,该智能手机可以根据上一次与支付终端进行支付数据传输时的初始传输阈值和初始信号强度分布数据,更新当前与支付终端进行支付数据传输的目标传输阈值。那么,在获取当前的信号强度分布数据之后,该智能手机便可以判断所述当前的信号强度分布数据是否满足所述目标传输阈值关联的条件,若满足,可以与所述支付终端再次进行支付数据传输。这样,针对用户使用的智能手机,采用本申请方法可以自动更新与该智能手机相适应的传输阈值,以使得在通常的支付距离处,用户使用不同的智能手机都可以进行正常支付,从而提高用户的支付体验。As can be seen from the above, in this application, for the client used by the user, such as a smartphone, the smartphone can update the current and payment based on the initial transmission threshold and initial signal strength distribution data when the payment data was transmitted to the payment terminal last time. The target transmission threshold for the terminal to perform payment data transmission. Then, after acquiring the current signal intensity distribution data, the smartphone can determine whether the current signal intensity distribution data meets the conditions associated with the target transmission threshold, and if it is satisfied, can perform payment data with the payment terminal again. transmission. In this way, for the smartphone used by the user, using the method of the present application can automatically update the transmission threshold suitable for the smartphone, so that at the usual payment distance, the user can make normal payments using different smartphones, thereby improving the user Payment experience.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施方式或现有技术中的技术方案,下面将对实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请中记载的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present application or the prior art more clearly, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are merely These are some of the implementations described in this application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without paying creative labor.
图1是现有技术中华为mate8智能手机在与支付终端不同距离下获取的信号强度分布数据;FIG. 1 is a signal intensity distribution data obtained by a Huawei mate8 smartphone at a different distance from a payment terminal in the prior art;
图2是现有技术中小米5s智能手机在与支付终端不同距离下获取的信号强度分布数据;FIG. 2 is a signal intensity distribution data obtained by a Xiaomi Mi 5s smartphone at a different distance from a payment terminal in the prior art;
图3是本申请实施方式中支付方法的一种流程图;3 is a flowchart of a payment method according to an embodiment of the present application;
图4是本申请实施方式中某智能手机在与某支付终端相距指定距离时获取的信号强度分布数据;FIG. 4 is signal strength distribution data obtained when a smartphone is at a specified distance from a payment terminal according to an embodiment of the present application; FIG.
图5是本申请实施方式中信号强度采样点序列中相邻两个子序列的示意图;FIG. 5 is a schematic diagram of two adjacent sub-sequences in a signal intensity sampling point sequence in an embodiment of the present application; FIG.
图6是本申请实施方式中某智能手机对获取的信号强度采样点序列进行滤波处理后得到的信号强度分布数据;FIG. 6 is signal strength distribution data obtained by filtering a sequence of acquired signal strength sampling points by a smartphone in an embodiment of the present application; FIG.
图7是本申请实施方式中一种客户端的结构示意图;7 is a schematic structural diagram of a client according to an embodiment of the present application;
图8是本申请实施方式中另一种客户端的结构示意图。FIG. 8 is a schematic structural diagram of another client according to an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请中的技术方案,下面将结合本申请实施方式中的附图,对本申请实施方式中的技术方案进行清楚、完整地描述,显然,所描述的实施方式仅仅是本申请一部分实施方式,而不是全部的实施方式。基于本申请中的实施方式,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施方式,都应当属于本申请保护的范围。In order to enable those skilled in the art to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the accompanying drawings in the embodiments of the present application. Obviously, the The embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the implementation in this application, all other implementations obtained by a person of ordinary skill in the art without creative labor should fall within the protection scope of this application.
本申请实施方式提供一种支付方法,所述支付方法可以应用于客户端和支付终端的系统架构中。所述支付终端可以是具有蓝牙通讯功能的收款设备。在与客户端之间进行蓝牙通讯时,所述支付终端通常处于从模式,可以发出蓝牙频段的信号。具体地,所述支付终端例如可以是具有蓝牙通讯功能的销售点(Point of Sale,POS)机具、公交收费机具、校园收费机具等收款设备;也可以为运行于该收款设备中,为收款提供支持的软件。在本实施方式中并不具体限定所述支付终端的数量。所述支付终端可以为一个支付终端,还可以为几个支付终端,或者,若干支付终端形成的支付终端集群。The embodiment of the present application provides a payment method, and the payment method can be applied to a system architecture of a client and a payment terminal. The payment terminal may be a payment receiving device having a Bluetooth communication function. During Bluetooth communication with the client, the payment terminal is usually in slave mode and can send out signals in the Bluetooth frequency band. Specifically, the payment terminal may be, for example, a point-of-sale (POS) machine, a bus toll machine, or a campus toll machine with a Bluetooth communication function, or a payment device running on the payment device. Collection support software. The number of the payment terminals is not specifically limited in this embodiment. The payment terminal may be one payment terminal, or may be several payment terminals, or a payment terminal cluster formed by several payment terminals.
在本实施方式中,所述客户端可以是用于移动支付且具有蓝牙通讯功能的电子设备。在与支付终端之间进行蓝牙通讯时,所述客户端通常处于主模式,可以获取所述信号对应的信号强度分布数据。具体地,所述客户端例如可以是平板电脑、笔记本电脑、智能手机、数字助理、智能可穿戴设备等。或者,所述客户端也可以为能够运行于上述电子设备中的软件。具体地,所述客户端可以为电子设备中的移动应用,所述移动应用例如可以是微信、PayPal等。In this embodiment, the client may be an electronic device for mobile payment and having a Bluetooth communication function. When performing Bluetooth communication with a payment terminal, the client is usually in a master mode and can obtain signal intensity distribution data corresponding to the signal. Specifically, the client may be, for example, a tablet computer, a notebook computer, a smart phone, a digital assistant, a smart wearable device, and the like. Alternatively, the client may be software capable of running in the electronic device. Specifically, the client may be a mobile application in an electronic device, and the mobile application may be, for example, WeChat, PayPal, or the like.
本申请实施方式提供一种信息交互的方法,所述信息交互的方法可以应用于上述的客户端中。所述方法可以提供有与所述支付终端进行支付数据传输时对应的初始传输阈 值和初始信号强度分布数据。The embodiment of the present application provides a method for information interaction, and the method for information interaction can be applied to the above-mentioned client. The method may be provided with initial transmission threshold values and initial signal strength distribution data corresponding to when the payment terminal transmits payment data.
在本实施方式中,所述初始传输阈值可以是一个信号强度指示(Received Signal Strength Indication,RSSI)值。所述初始传输阈值可以是客户端与所述支付终端首次进行支付数据传输时对应的传输阈值,即最初设定的传输阈值。通常,所述最初设定的传输阈值可以是一个较小的值,例如为-100毫瓦分贝(dbm),以保证不同的客户端,例如不同的智能手机,都可以触发与所述支付终端之间的支付数据传输功能。In this embodiment, the initial transmission threshold may be a signal strength indication (Received Signal Strength Indication, RSSI) value. The initial transmission threshold may be a transmission threshold corresponding to the first time that the client and the payment terminal transmit payment data, that is, the transmission threshold initially set. Generally, the initially set transmission threshold may be a small value, for example, -100 milliwatts decibel (dbm), to ensure that different clients, such as different smart phones, can trigger the payment terminal. Payment data transfer function.
不仅如此,所述初始传输阈值还可以是在客户端与所述支付终端首次进行支付数据传输之后,与所述支付终端某一次进行支付数据传输时对应的传输阈值。Not only that, the initial transmission threshold may also be a transmission threshold corresponding to a time when the payment terminal performs payment data transmission after the client and the payment terminal perform payment data transmission for the first time.
在本实施方式中,所述初始信号强度分布数据可以是一种RSSI分布数据。其中,所述RSSI分布数据可以是客户端在指定时间段内获取的所述支付终端发出的蓝牙信号对应的RSSI值。这样,所述RSSI分布数据中可以包括不同RSSI值对应的频次。In this embodiment, the initial signal strength distribution data may be a type of RSSI distribution data. The RSSI distribution data may be an RSSI value corresponding to a Bluetooth signal sent by the payment terminal and acquired by the client within a specified time period. In this way, the RSSI distribution data may include frequencies corresponding to different RSSI values.
在本实施方式中,所述初始信号强度分布数据可以是客户端与所述支付终端首次进行支付数据传输时获取的信号强度分布数据,还可以是在客户端与所述支付终端首次进行支付数据传输之后,与所述支付终端某一次进行支付数据传输时获取的信号强度分布数据。In this embodiment, the initial signal strength distribution data may be signal strength distribution data obtained when the client and the payment terminal transmit payment data for the first time, or may be the first payment data performed by the client and the payment terminal. After transmission, the signal intensity distribution data obtained when the payment data is transmitted with the payment terminal at one time.
在本实施方式中,在所述初始信号强度分布数据满足所述初始传输阈值关联的条件的情况下,客户端可以与所述支付终端进行支付数据传输。具体地,所述初始传输阈值关联的条件可以包括,所述初始信号强度分布数据中的信号强度平均值大于或等于所述初始传输阈值。In this embodiment, if the initial signal strength distribution data satisfies a condition associated with the initial transmission threshold, the client may perform payment data transmission with the payment terminal. Specifically, the conditions associated with the initial transmission threshold may include that an average value of signal strength in the initial signal strength distribution data is greater than or equal to the initial transmission threshold.
在本实施方式中,客户端每次与所述支付终端进行支付数据传输后,可以记录这次与所述支付终端进行支付数据传输时对应的传输阈值和信号强度分布数据,以更新与所述支付终端下一次进行支付数据传输时对应的目标传输阈值。In this embodiment, each time the client performs payment data transmission with the payment terminal, the client may record the transmission threshold value and signal strength distribution data corresponding to the current payment data transmission with the payment terminal to update the data with the payment terminal. The target transmission threshold corresponding to the next time the payment terminal transmits payment data.
请参阅图3,所述方法可以包括以下步骤。Referring to FIG. 3, the method may include the following steps.
S11:根据所述初始传输阈值和所述初始信号强度分布数据,确定目标传输阈值。S11: Determine a target transmission threshold according to the initial transmission threshold and the initial signal strength distribution data.
在本实施方式中,客户端可以根据与所述支付终端上一次进行支付数据传输时对应的初始传输阈值和初始信号强度分布数据,确定所述目标传输阈值,以作为与所述支付终端再次进行支付数据传输的判断依据。具体地,客户端可以基于与所述支付终端之前进行支付数据传输的次数、与所述支付数据传输的次数相关联的指定参数,以及所述初始信号强度分布数据中的信号强度最大值,确定权重系数,以使得根据所述权重系数、 所述信号强度分布数据中的信号强度最大值和所述初始传输阈值确定的目标传输阈值,与指定距离对应的信号强度分布数据中占比最大的信号强度值的差值的绝对值小于或者等于指定强度值。其中,所述指定距离可以是客户端与所述支付终端通常进行支付数据传输时的距离,该距离可以根据实际应用场景来设定。例如,用户在公交车上通过某款智能手机进行支付时,该智能手机与公交车上的收费机具之间的距离通常可以为5~10厘米。或者,用户在学校的食堂通过该智能手机进行支付时,该智能手机与食堂窗口的收费机具之间的距离通常为10~15厘米。所述指定强度值可以为零,也可以为趋近于零的较小的值。如此,在用户使用的客户端与所述支付终端的距离接近所述指定距离时,所获取的信号强度分布数据中的信号强度大于所述目标传输阈值的概率更大,这样,客户端可以更快地与所述支付终端进行连接,并进行支付数据传输,从而可以提高支付速度。In this embodiment, the client may determine the target transmission threshold according to the initial transmission threshold value and the initial signal strength distribution data corresponding to when the payment terminal transmitted the last payment data, as a second time with the payment terminal. Judgment basis for payment data transmission. Specifically, the client may determine based on the specified number of times of payment data transmission before the payment terminal, the specified parameter associated with the number of times of payment data transmission, and the maximum signal strength in the initial signal strength distribution data. A weighting coefficient such that the signal with the largest proportion in the signal strength distribution data corresponding to the specified distance is determined according to the weighting coefficient, the maximum signal strength in the signal strength distribution data, and the target transmission threshold determined by the initial transmission threshold The absolute value of the difference between the intensity values is less than or equal to the specified intensity value. The specified distance may be a distance between the client and the payment terminal during payment data transmission, and the distance may be set according to an actual application scenario. For example, when a user makes a payment on a bus through a smart phone, the distance between the smart phone and the tolling device on the bus can usually be 5-10 cm. Alternatively, when a user makes a payment through the smart phone in the school cafeteria, the distance between the smart phone and the charging device of the cafeteria window is usually 10-15 cm. The specified intensity value may be zero or a smaller value approaching zero. In this way, when the distance between the client terminal used by the user and the payment terminal is close to the specified distance, the probability that the signal strength in the obtained signal strength distribution data is greater than the target transmission threshold is greater, so that the client can be Quickly connect with the payment terminal and perform payment data transmission, so that the payment speed can be improved.
不仅如此,还可以在上述确定所述目标传输阈值的实施方式的基础上,考虑所述初始信号强度分布数据中信号强度平均值。具体地,客户端还可以基于与所述支付终端之前进行支付数据传输的次数、与所述支付数据传输的次数相关联的指定参数,以及所述初始信号强度分布数据中的信号强度平均值和信号强度最大值,确定权重系数,以使得根据所述权重系数、所述信号强度分布数据中的信号强度平均值和信号强度最大值,以及所述初始传输阈值确定的目标传输阈值,与指定距离对应的信号强度分布数据中占比最大的信号强度值的差值的绝对值小于或者等于指定强度值。Not only this, but also on the basis of the above-mentioned implementation manner of determining the target transmission threshold, an average value of the signal strength in the initial signal strength distribution data may be considered. Specifically, the client may also be based on the number of times of payment data transmission before the payment terminal, the specified parameter associated with the number of times of payment data transmission, and the average value of the signal strength in the initial signal strength distribution data and A maximum signal strength, and a weight coefficient is determined such that a target transmission threshold determined from the weight coefficient, the average signal strength and the maximum signal strength in the signal intensity distribution data, and the target transmission threshold determined by the initial transmission threshold is at a specified distance The absolute value of the difference between the largest signal intensity values in the corresponding signal intensity distribution data is less than or equal to the specified intensity value.
在本实施方式中,当所述初始信号强度分布数据中的信号强度最大值减去所述初始传输阈值后得到的值大于指定差值时,可以根据所述初始传输阈值和所述初始信号强度分布数据,确定目标传输阈值。例如,当所述初始信号强度分布数据中的信号强度最大值减去所述初始传输阈值后得到的值大于指定差值时,即VM n-T n>p,其中,VM n表示与所述支付终端第n次进行支付数据传输时对应的初始信号强度分布数据中的信号强度最大值,T n表示与所述支付终端第n次进行支付数据传输时对应的初始传输阈值,p表示所述指定差值;可以采用下述公式确定所述目标传输阈值T n+1In this embodiment, when a value obtained by subtracting the initial transmission threshold value from the maximum value of the signal strength in the initial signal strength distribution data is greater than a specified difference, the initial transmission threshold value and the initial signal strength Distribute the data to determine the target transmission threshold. For example, when the value obtained by subtracting the initial transmission threshold from the maximum signal strength in the initial signal strength distribution data is greater than a specified difference, that is, VM n -T n > p, where VM n represents The maximum signal strength in the initial signal strength distribution data corresponding to the payment terminal's nth payment data transmission, T n represents the initial transmission threshold corresponding to the payment terminal's nth payment data transmission, and p represents the Specify the difference; the target transmission threshold T n + 1 can be determined using the following formula:
T n+1=α(VM n-q)+(1-α)T n T n + 1 = α (VM n -q) + (1-α) T n
Figure PCTCN2019076948-appb-000001
Figure PCTCN2019076948-appb-000001
其中,α表示所述权重系数,b表示与所述支付数据传输的次数n相关联的指定参 数,例如,当所述支付数据传输的次数n小于等于2时,b为2,当n大于2时,b为5;q和
Figure PCTCN2019076948-appb-000002
分别是与所述指定差值相关联的参数。例如,当所述指定差值为20dbm时,q和
Figure PCTCN2019076948-appb-000003
分别可以为15和18。
Among them, α represents the weight coefficient, and b represents a specified parameter associated with the number n of payment data transmissions. For example, when the number n of payment data transmissions is less than or equal to 2, b is 2, and when n is greater than 2 , B is 5; q and
Figure PCTCN2019076948-appb-000002
Each is a parameter associated with the specified difference. For example, when the specified difference is 20dbm, q and
Figure PCTCN2019076948-appb-000003
Can be 15 and 18 respectively.
当所述初始信号强度分布数据中的信号强度最大值减去所述初始传输阈值后得到的值小于或等于所述指定差值时,将所述初始传输阈值作为所述目标传输阈值,即不在更新传输阈值。在实际应用中,所述指定差值的取值范围通常可以为15~20dbm。When the value obtained by subtracting the initial transmission threshold value from the maximum value of the signal strength in the initial signal strength distribution data is less than or equal to the specified difference value, use the initial transmission threshold value as the target transmission threshold value, that is, not in Update the transmission threshold. In practical applications, the value range of the specified difference may be generally 15 to 20 dbm.
S13:获取当前的信号强度分布数据,并判断所述当前的信号强度分布数据是否满足所述目标传输阈值关联的条件;若满足,与所述支付终端再次进行支付数据传输。S13: Acquire current signal intensity distribution data, and determine whether the current signal intensity distribution data meets a condition associated with the target transmission threshold; if it is satisfied, perform payment data transmission with the payment terminal again.
在本实施方式中,在客户端需要与所述支付终端再次进行支付数据传输之前,可以先获取当前的信号强度分布数据,并判断所述当前的信号强度分布数据是否满足所述目标传输阈值关联的条件。若满足,便可以与所述支付终端再次进行支付数据传输。所述目标传输阈值关联的条件,具体可以包括:所述当前的信号强度分布数据中的信号强度平均值大于或等于所述目标传输阈值。这样,在所述当前的信号强度分布数据中的信号强度平均值大于或等于所述目标传输阈值的情况下,客户端可以与所述支付终端再次进行支付数据传输。In this embodiment, before the client needs to perform payment data transmission with the payment terminal again, it may first obtain the current signal intensity distribution data and determine whether the current signal intensity distribution data meets the target transmission threshold association. conditions of. If it is satisfied, payment data transmission can be performed with the payment terminal again. The conditions for the target transmission threshold association may specifically include: an average value of signal strength in the current signal intensity distribution data is greater than or equal to the target transmission threshold. In this way, if the average value of the signal strength in the current signal strength distribution data is greater than or equal to the target transmission threshold, the client can perform payment data transmission with the payment terminal again.
在一个具体应用场景中,所述客户端为智能手机,所述支付终端为公交车上的收款机具,该收款机具与该智能手机通过蓝牙进行连接和支付数据传输,其中,该收款机具处于从模式,广播不同频段的信号,该智能手机扫描所述信号,并获取所述信号对应的信号强度分布数据。在上次乘坐公交车时,用户通过该智能手机与该收款机具进行支付数据传输,并完成支付,同时该智能手机记录与该收款机具进行支付数据传输时对应的初始传输阈值和初始信号强度分布数据,并根据初始传输阈值和初始信号强度阈值,计算下次与该收款机具进行支付数据传输时对应的目标传输阈值。用户再次乘坐公交车,上车前准备通过该智能手机进行支付公交费用,在用户手持该智能手机靠近该收款机具的过程中,可以通过该智能手机获取当前的信号强度数据,并判断当前的信号强度数据中的信号强度平均值大于或等于目标传输阈值,当该智能手机与该收款机具之间的距离达到指定距离时,判定当前的信号强度数据中的信号强度平均值大于目标传输阈值,这时,该智能手机便可以与该收款机具再次进行支付数据传输。如此,可以自动更新与该智能手机相适应的传输阈值,以使得在通常的支付距离处,用户使用不同的智能手机都可以进行正常支付,从而提高用户的支付体验。In a specific application scenario, the client is a smart phone, and the payment terminal is a cash receiving device on a bus. The cash receiving device is connected to the smartphone and the payment data is transmitted via Bluetooth. The machine is in a slave mode and broadcasts signals of different frequency bands. The smart phone scans the signals and obtains signal intensity distribution data corresponding to the signals. When the user took the bus last time, the user used the smartphone to transmit payment data to the payment device and completed the payment. At the same time, the smartphone recorded the initial transmission threshold and the initial signal corresponding to the payment data transmission with the payment device. The intensity distribution data, and according to the initial transmission threshold and the initial signal strength threshold, calculate a target transmission threshold corresponding to the next payment data transmission with the receiving machine. The user took the bus again, and prepared to pay the bus fare through the smartphone before getting on the bus. In the process of the user holding the smartphone near the cash register, the user can obtain the current signal strength data through the smartphone and determine the current signal strength. The average signal strength in the signal strength data is greater than or equal to the target transmission threshold. When the distance between the smartphone and the cash register reaches a specified distance, it is determined that the average signal strength in the current signal strength data is greater than the target transmission threshold. At this time, the smart phone can perform payment data transmission with the cash receiving device again. In this way, the transmission threshold value that is compatible with the smart phone can be automatically updated, so that at a normal payment distance, users can make normal payments using different smart phones, thereby improving the user's payment experience.
不仅如此,针对不同的收款机具,该智能手机也可以自动更新分别与不同收款机具 进行支付数据传输时对应的传输阈值,这样,便可以避免因不同的收款机具发出的信号强度不同而导致的兼容性问题。Not only that, for different payment machines, the smartphone can also automatically update the corresponding transmission threshold when transmitting payment data with different payment machines, so as to avoid different signal strengths from different payment machines. Caused compatibility issues.
在本申请一个实施方式中,由于客户端与所述支付终端在进行支付数据传输之前,需要先建立连接,而通常建立连接需要0.2秒~0.3秒,因此,为了进一步提高用户的支付体验,客户端还可以在与所述支付终端进行支付数据传输之前,先与所述支付终端进行预连接。具体地,在判断所述当前的信号强度分布数据是否满足所述目标传输阈值关联的条件之前,所述方法还可以包括以下步骤。In one embodiment of the present application, since the client and the payment terminal need to establish a connection before transmitting payment data, the connection usually takes 0.2 to 0.3 seconds. Therefore, in order to further improve the user's payment experience, the customer The terminal may also pre-connect with the payment terminal before transmitting payment data with the payment terminal. Specifically, before determining whether the current signal strength distribution data meets a condition of the target transmission threshold association, the method may further include the following steps.
S21:根据所述目标传输阈值,确定目标预连接阈值;其中,所述目标预连接阈值小于所述目标传输阈值。S21: Determine a target pre-connection threshold according to the target transmission threshold; wherein the target pre-connection threshold is smaller than the target transmission threshold.
在本实施方式中,根据所述目标传输阈值,确定目标预连接阈值,具体可以包括,将第一指定系数乘以与所述目标传输阈值相关联的参数,并将所述目标传输阈值减去乘积结果,得到所述目标预连接阈值。其中,所述目标预连接阈值小于所述目标传输阈值;与所述目标传输阈值相关联的参数可以是与所述目标传输阈值相关联的对数函数。例如,可以采用下述公式表征所述目标预连接阈值P n+1In this embodiment, determining the target pre-connection threshold according to the target transmission threshold may specifically include multiplying a first designated coefficient by a parameter associated with the target transmission threshold, and subtracting the target transmission threshold. The product result is obtained the target pre-connection threshold. The target pre-connection threshold is smaller than the target transmission threshold; the parameter associated with the target transmission threshold may be a logarithmic function associated with the target transmission threshold. For example, the following formula may be used to characterize the target pre-connection threshold P n + 1 :
P n+1=T n+1-c 1×C n+1 P n + 1 = T n + 1 -c 1 × C n + 1
其中,c 1表示所述第一指定系数,具体取值可以根据实际应用情况来设定,例如,c 1的取值可以为10;C n+1表示与所述目标传输阈值相关联的参数;T n+1表示所述目标传输阈值。 Wherein, c 1 represents the first designated coefficient, and the specific value can be set according to the actual application situation. For example, the value of c 1 can be 10; C n + 1 represents a parameter associated with the target transmission threshold. ; T n + 1 represents the target transmission threshold.
可以采用下述公式表征与所述目标传输阈值相关联的参数C n+1The following formula can be used to characterize the parameter C n + 1 associated with the target transmission threshold:
Figure PCTCN2019076948-appb-000004
Figure PCTCN2019076948-appb-000004
其中,a 1和a 2分别为指定常数,具体取值可以根据实际应用情况来设定,例如,a 1和a 2可以分别为100和10。 Among them, a 1 and a 2 are designated constants, and specific values can be set according to the actual application situation. For example, a 1 and a 2 can be 100 and 10, respectively.
S23:判断所述当前的信号强度分布数据是否满足所述目标预连接阈值关联的条件;若满足,与所述支付终端建立连接。S23: Determine whether the current signal strength distribution data meets a condition associated with the target pre-connection threshold; if it is satisfied, establish a connection with the payment terminal.
在本实施方式中,在确定目标预连接阈值之后,客户端可以获取当前的信号强度分布数据,并判断所述当前的信号强度分布数据是否满足所述目标预连接阈值关联的条件, 若满足,与所述支付终端建立连接。其中,所述目标预连接阈值关联的条件,具体可以包括:所述当前的信号强度分布数据中的信号强度平均值大于或等于所述目标预连接阈值。由于所述目标预连接阈值小于所述目标传输阈值,用户在使用客户端进行支付之前,也就是客户端与所述支付终端之间的距离大于所述指定距离时,客户端可以先准备与所述支付终端进行预连接,这样,在客户端靠近所述支付终端的过程中,客户端可以有足够的时间与所述支付终端建立连接,以使得在客户端与所述支付终端之间的距离达到所述指定距离时,正好与所述支付终端建立连接,同时,正好当前的信号强度分布数据满足所述目标传输阈值关联的条件,客户端可以直接与所述支付终端进行支付数据传输,无需再等待连接,从而可以缩短支付时间。例如,所述指定距离为10厘米,在客户端与所述支付终端之间的距离为10厘米时,可以与所述支付终端进行支付数据传输;用户手持客户端,不断靠近所述支付终端,准备进行支付,当客户端与所述支付终端之间的距离为30厘米时,获取的信号强度分布数据满足所述目标预连接阈值关联的条件,可以准备开始与所述支付终端进行预连接,继续靠近,待客户端与所述支付终端之间的距离为10厘米时,正好与所述支付终端建立连接,同时,正好当前的信号强度分布数据满足所述目标传输阈值关联的条件,便可以直接与所述支付终端进行支付数据传输。In this embodiment, after determining the target pre-connection threshold, the client can obtain the current signal strength distribution data and determine whether the current signal strength distribution data meets the conditions associated with the target pre-connection threshold, and if it meets, A connection is established with the payment terminal. The conditions related to the target pre-connection threshold may specifically include: an average value of signal strength in the current signal intensity distribution data is greater than or equal to the target pre-connection threshold. Because the target pre-connection threshold is less than the target transmission threshold, before a user uses a client to make a payment, that is, when the distance between the client and the payment terminal is greater than the specified distance, the client may first prepare to contact with The payment terminal is pre-connected. In this way, when the client approaches the payment terminal, the client can have enough time to establish a connection with the payment terminal, so that the distance between the client and the payment terminal When the specified distance is reached, a connection is established with the payment terminal, and at the same time, the current signal strength distribution data meets the conditions associated with the target transmission threshold, and the client can directly transmit payment data with the payment terminal without having to Waiting for a connection again can reduce payment time. For example, the specified distance is 10 centimeters, and when the distance between the client and the payment terminal is 10 centimeters, payment data can be transmitted with the payment terminal; the user holds the client, and keeps approaching the payment terminal, Prepare to make a payment. When the distance between the client and the payment terminal is 30 cm, the obtained signal intensity distribution data meets the conditions associated with the target pre-connection threshold, and may be ready to start pre-connection with the payment terminal. Continue to approach, when the distance between the client and the payment terminal is 10 cm, a connection with the payment terminal is established, and at the same time, the current signal strength distribution data meets the condition of the target transmission threshold association, then Directly perform payment data transmission with the payment terminal.
在本申请一个实施方式中,在客户端与所述支付终端建立连接且未与所述支付终端进行数据传输的情况下,为了防止因用户突然离开而导致的该客户端占用与所述支付终端的连接资源的现象。所述方法还可以包括以下步骤。In an embodiment of the present application, in the case that the client establishes a connection with the payment terminal and does not perform data transmission with the payment terminal, in order to prevent the client from occupying the payment terminal due to the user's sudden departure Of connected resources. The method may further include the following steps.
S31:根据所述目标传输阈值,确定目标断开连接阈值;其中,所述目标断开连接阈值小于所述目标预连接阈值。S31: Determine a target disconnection threshold according to the target transmission threshold; wherein the target disconnection threshold is less than the target pre-connection threshold.
在本实施方式中,根据所述目标传输阈值,确定目标断开连接阈值,具体可以包括,将第二指定系数乘以与所述目标传输阈值相关联的参数,并将所述目标传输阈值减去乘积结果,得到所述目标预连接阈值。其中,所述目标断开连接阈值小于所述目标预连接阈值;所述第二指定系数大于所述第一指定系数。与所述目标传输阈值相关联的参数可以是与所述目标传输阈值相关联的对数函数。例如,可以采用下述公式表征所述目标断开连接阈值D n+1In this embodiment, determining the target disconnection threshold according to the target transmission threshold may specifically include multiplying a second designated coefficient by a parameter associated with the target transmission threshold, and subtracting the target transmission threshold from the target transmission threshold. The result of de-producting is to obtain the target pre-connection threshold. The target disconnection threshold is smaller than the target pre-connection threshold; the second specified coefficient is greater than the first specified coefficient. The parameter associated with the target transmission threshold may be a logarithmic function associated with the target transmission threshold. For example, the following formula can be used to characterize the target disconnection threshold D n + 1 :
D n+1=T n+1-c 2×C n+1 D n + 1 = T n + 1 -c 2 × C n + 1
其中,c 2表示所述第二指定系数,具体取值可以根据实际应用情况来设定,例如,c 2的取值可以为20;C n+1表示与所述目标传输阈值相关联的参数;T n+1表示所述目标传输 阈值。 Among them, c 2 represents the second designated coefficient, and the specific value can be set according to the actual application situation. For example, the value of c 2 can be 20; C n + 1 represents a parameter associated with the target transmission threshold. ; T n + 1 represents the target transmission threshold.
可以采用下述公式表征与所述目标传输阈值相关联的参数C n+1The following formula can be used to characterize the parameter C n + 1 associated with the target transmission threshold:
Figure PCTCN2019076948-appb-000005
Figure PCTCN2019076948-appb-000005
其中,a 1和a 2分别为指定常数,具体取值可以根据实际应用情况来设定,例如,a 1和a 2可以分别为100和10。 Among them, a 1 and a 2 are designated constants, and specific values can be set according to the actual application situation. For example, a 1 and a 2 can be 100 and 10, respectively.
S33:在与所述支付终端建立连接且未与所述支付终端进行数据传输的情况下,判断所述当前的信号强度分布数据是否满足所述目标断开连接阈值关联的条件;若满足,与所述支付终端断开连接。S33: In a case where a connection is established with the payment terminal and no data transmission is performed with the payment terminal, determine whether the current signal strength distribution data meets a condition associated with the target disconnection threshold; if it is satisfied, and The payment terminal is disconnected.
在本实施方式中,在确定所述断开连接阈值之后,客户端可以获取当前的信号强度分布数据。在与所述支付终端建立连接且未与所述支付终端进行数据传输的情况下,客户端可以判断所述当前的信号强度分布数据是否满足所述目标断开连接阈值关联的条件;若满足,与所述支付终端断开连接。其中,所述目标断开连接阈值关联的条件,具体可以包括:所述当前的信号强度分布数据中的信号强度平均值小于或等于所述目标预连接阈值。如此,在与所述支付终端建立连接且未与所述支付终端进行数据传输的情况下,当用户突然离开时,客户端也远离所述支付终端,导致所获取的当前的信号强度分布数据中的信号强度平均值小于所述目标预连接阈值,这时,客户端便可以与所述支付终端断开连接,从而可以防止占用与所述支付终端的连接资源的现象。In this embodiment, after determining the disconnection threshold, the client can obtain current signal strength distribution data. In the case where a connection is established with the payment terminal and no data transmission is performed with the payment terminal, the client can determine whether the current signal strength distribution data meets the conditions associated with the target disconnection threshold; if it meets, Disconnected from the payment terminal. Wherein, the condition associated with the target disconnection threshold may specifically include: an average value of signal strength in the current signal intensity distribution data is less than or equal to the target pre-connection threshold. In this way, in the case where a connection is established with the payment terminal and no data transmission is performed with the payment terminal, when the user suddenly leaves, the client is also far away from the payment terminal, resulting in the acquired current signal intensity distribution data. The average value of the signal strength is lower than the target pre-connection threshold. At this time, the client can disconnect from the payment terminal, so as to prevent the phenomenon of occupying connection resources with the payment terminal.
在本申请一个实施方式中,在客户端与所述支付终端建立连接且未与所述支付终端进行支付数据传输的情况下,由于用户被其他事情耽搁而停滞不前,导致客户端与所述支付终端长时间建立连接,却不能与所述支付终端进行支付数据传输,这样会浪费所述支付终端的连接资源。为了避免这种情况发生,所述方法还可以包括:在与所述支付终端建立连接且未与所述支付终端进行数据传输的情况下,判断与所述支付终端持续连接的时长是否大于或等于指定连接时长;若与所述支付终端持续连接的时长大于或等于指定连接时长,与所述支付终端断开连接。其中,所述指定连接时长可以根据实际应用情况来设定,此处不作限定。In an embodiment of the present application, in a case where the client establishes a connection with the payment terminal and does not perform payment data transmission with the payment terminal, the user is stalled because of being delayed by other things, causing the client to communicate with the payment terminal. The payment terminal establishes a connection for a long time, but cannot perform payment data transmission with the payment terminal, which will waste the connection resources of the payment terminal. To avoid this situation, the method may further include: in a case where a connection is established with the payment terminal and no data transmission is performed with the payment terminal, determining whether the duration of continuous connection with the payment terminal is greater than or equal to Specify a connection duration; if the duration of continuous connection with the payment terminal is greater than or equal to the specified connection duration, disconnect from the payment terminal. The specified connection duration may be set according to actual application conditions, which is not limited herein.
在本申请一个实施方式中,在实际应用中,由于所述支付终端广播的信号受到现实场景影响,其传播路径存在多径折射,这样会导致客户端所获取的信号强度分布数据中的RSSI值与距离不完全对应,甚至出现较大误差,即出现跳变的现象,从而导致近场 支付的触发距离并不稳定。例如,如图4所示,某智能手机在与某支付终端相距指定距离时获取的信号强度分布数据中,RSSI值分别为-62dbm和-53dbm的附近出现了跳变现象。其中,图4中的横坐标和纵坐标分别为RSSI值和占比,单位分别为毫瓦分贝(dbm)和千分比。为了减少RSSI值跳变现象所带来的距离误差,获取当前的信号强度分布数据,具体可以包括以下步骤。In an embodiment of the present application, in actual applications, because the signal broadcast by the payment terminal is affected by the actual scene, its propagation path has multipath refraction, which will cause the RSSI value in the signal intensity distribution data obtained by the client. It does not correspond to the distance completely, and even a large error occurs, that is, the phenomenon of jumping, which causes the trigger distance of near-field payment is not stable. For example, as shown in FIG. 4, in the signal strength distribution data obtained when a smart phone is at a specified distance from a payment terminal, jump phenomena occur near RSSI values of -62dbm and -53dbm, respectively. Among them, the abscissa and ordinate in FIG. 4 are the RSSI value and the ratio, respectively, and the units are milliwatt decibel (dbm) and thousandth ratio, respectively. In order to reduce the distance error caused by the jump phenomenon of RSSI value, obtaining the current signal intensity distribution data may include the following steps.
S41:获取当前的信号强度采样点序列;其中,所述信号强度采样点序列中包括多个信号强度采样点。S41: Acquire a current signal intensity sampling point sequence. The signal intensity sampling point sequence includes a plurality of signal intensity sampling points.
在本实施方式中,客户端可以按照指定时间间隔,获取一个所述支付终端发出的信号对应的信号强度采样点,这样,在当前的指定时长内,客户端便可以获取多个信号强度采样点,这些信号强度采样点按照时间顺序排列后,构成了所述当前的信号强度采样点序列。其中,所述指定时长的取值范围可以为0.2秒~0.3秒,所述指定时间间隔的取值范围可以为0.01~0.05秒。通常所述指定时长和所述指定时间间隔可以根据实际应用情况来设定。In this embodiment, the client can acquire a signal intensity sampling point corresponding to a signal sent by the payment terminal according to a specified time interval. In this way, the client can acquire multiple signal intensity sampling points within the currently specified duration. After the signal intensity sampling points are arranged in chronological order, the current signal intensity sampling point sequence is formed. The value range of the specified time length may be 0.2 seconds to 0.3 seconds, and the value range of the specified time interval may be 0.01 to 0.05 seconds. Generally, the specified duration and the specified time interval can be set according to actual application conditions.
在本实施方式中,客户端可以存储指定时长内的信号强度采样点序列,在该序列中的信号强度采样点对应的采样时间距离当前时间超过所述指定时长,客户端可以将该序列删除,并再次获取当前的所述指定时长内的信号强度采样点序列。In this embodiment, the client may store a sequence of signal strength sampling points within a specified time period, and the sampling time corresponding to the signal strength sampling points in the sequence is farther than the specified time from the current time, and the client may delete the sequence. And obtain the current signal intensity sampling point sequence within the specified time period again.
S43:将所述信号强度采样点序列划分为至少一个子序列,并确定所述子序列的信号强度中值。S43: Divide the signal intensity sampling point sequence into at least one subsequence, and determine a median signal intensity of the subsequence.
在本实施方式中,在获取所述当前的信号强度采样点序列后,可以按照指定时窗窗长将所述信号强度采样点序列划分为至少一个子序列,还可以按照指定采样点数量,将所述信号强度采样点序列划分为至少一个子序列。其中,相邻两个子序列有重叠的信号强度采样点。例如,如图5所示,相邻两个子序列A1和A2,除了子序列A1的第一个信号强度采样点和子序列A2的最后一个信号强度采样点以外,其他的信号强度采样点都是子序列A1和A2中重叠的信号强度采样点,子序列A2相当于子序列A1移动了一个信号强度采样点。In this embodiment, after acquiring the current signal intensity sampling point sequence, the signal intensity sampling point sequence may be divided into at least one subsequence according to a specified time window and window length, or according to the specified number of sampling points, The signal intensity sampling point sequence is divided into at least one subsequence. Among them, two adjacent subsequences have overlapping signal intensity sampling points. For example, as shown in FIG. 5, two adjacent subsequences A1 and A2, except for the first signal strength sampling point of subsequence A1 and the last signal strength sampling point of subsequence A2, are all other signal strength sampling points. The overlapping signal strength sampling points in the sequences A1 and A2, and the subsequence A2 is equivalent to the subsequence A1 moving a signal strength sampling point.
在本实施方式中,在将所述信号强度采样点序列划分为至少一个子序列之后,可以分别确定每个子序列的信号强度中值,即每个子序列中多个信号强度采样点的信号强度的中值。In this embodiment, after the sequence of signal intensity sampling points is divided into at least one subsequence, the median signal intensity of each subsequence may be determined, that is, the signal intensity of multiple signal intensity sampling points in each subsequence. Median.
S45:根据所述子序列的信号强度中值,确定所述当前的信号强度分布数据。S45: Determine the current signal strength distribution data according to a median signal strength of the subsequence.
在本实施方式中,根据所述子序列的信号强度中值,确定所述当前的信号强度分布数据,具体可以包括,可以将所述子序列的信号强度中值作为所述子序列中的中间位置处的信号强度采样点的信号强度值,或者作为所述子序列中的其他指定位置处的信号强度采样点的信号强度值。对每个子序列的信号强度中值,均按照上述方式进行处理,从而可以得到处理后的信号强度采样点,并将这些处理后的信号强度采样的信号强度值构成的信号强度分布数据作为所述当前的信号强度分布数据。例如,如图6所示,某智能手机与某支付终端相距指定距离时,在所述指定时长内按照上述方式获取的信号强度分布数据中,RSSI值的跳变现象明显减少很多。In this embodiment, determining the current signal strength distribution data according to the median signal strength of the subsequence may specifically include that the median signal strength of the subsequence may be used as an intermediate in the subsequence. The signal strength value of the signal strength sampling point at the position, or the signal strength value of the signal strength sampling point at other specified positions in the subsequence. The median signal intensity of each subsequence is processed in the manner described above, so that the processed signal intensity sampling points can be obtained, and the signal intensity distribution data composed of the signal intensity values of the processed signal intensity samples is described as Current signal strength distribution data. For example, as shown in FIG. 6, when a smartphone is at a specified distance from a payment terminal, the jump phenomenon of RSSI value in the signal intensity distribution data obtained in the above manner within the specified time period is significantly reduced.
在本申请一个实施方式中,在将所述信号强度采样点序列划分为至少一个子序列之后,还可以确定所述子序列的信号强度平均值,并根据所述子序列的信号强度平均值,确定所述当前的信号强度分布数据。或者,还可以确定所述子序列中部分信号强度采样点的信号强度平均值,并根据所述子序列中部分信号强度采样点的信号强度平均值,确定所述当前的信号强度分布数据。其中,所述部分信号强度采样点可以是所述子序列的中间部分的信号强度采样点,所述部分信号强度采样点的采样点数量可以是所述子序列的采样点数量的百分之五十。In an embodiment of the present application, after dividing the signal intensity sampling point sequence into at least one subsequence, an average value of the signal intensity of the subsequence may be determined, and according to the average value of the signal intensity of the subsequence, Determining the current signal strength distribution data. Alternatively, an average value of the signal strength of the sampling points of the signal strength in the subsequence may be determined, and the current signal strength distribution data may be determined according to the average value of the signal strength of the sampling points of the signal strength in the subsequence. Wherein, the partial signal strength sampling points may be signal strength sampling points in a middle portion of the subsequence, and the number of sampling points of the partial signal strength sampling points may be five percent of the number of sampling points of the subsequence. ten.
在本申请一个实施方式中,在实际应用中,客户端本身可能会出现故障,导致所获取的信号强度值始终为较小的值,即使客户端与所述支付终端之间的距离很近,也可能无法与所述支付终端进行支付数据传输,但在这种情况下,客户端仍会不断更新传输阈值、预连接阈值和断开连接阈值,所更新的传输阈值、预连接阈值和断开连接阈值为较小的值,不断尝试与所述支付终端进行支付数据传输,这样会浪费时间,不利于用户发现问题。为了避免这种情况,在所述目标传输阈值、所述目标预连接阈值和所述目标断开连接阈值中至少一个阈值小于指定阈值的情况下,例如,所述指定阈值为-100dbm,客户端不进行阈值更新和传输条件的判定,并给出客户端支付故障的提示。In an embodiment of the present application, in actual applications, the client itself may malfunction, causing the acquired signal strength value to always be a small value, even if the distance between the client and the payment terminal is very close. It may also be impossible to transmit payment data with the payment terminal, but in this case, the client will continue to update the transmission threshold, pre-connection threshold, and disconnection threshold, and the updated transmission threshold, pre-connection threshold, and disconnection The connection threshold is a small value, and continuous attempts to perform payment data transmission with the payment terminal will waste time and are not good for users to find problems. To avoid this situation, when at least one of the target transmission threshold, the target pre-connection threshold, and the target disconnection threshold is less than a specified threshold, for example, the specified threshold is -100 dbm, the client The threshold update and transmission conditions are not judged, and a prompt for a client payment failure is given.
在本申请一个实施方式中,在实际应用中,用户使用的客户端在与所述支付终端前几次进行正常支付数据传输后,给客户端套上金属材质的保护套,而且客户端的大部分区域都被该保护套包裹,在这种情况下,由于受到保护套的信号屏蔽的影响,该客户端再次获取的信号强度可能较小,根据上次更新的传输阈值,可能很难与所述支付终端再次进行支付数据传输。为了避免这种情况发生,客户端可以将传输阈值恢复到首次使用时对应的初始传输阈值,以重新更新传输阈值。In an embodiment of the present application, in actual applications, the client used by the user performs a normal payment data transmission with the payment terminal several times before putting a protective cover made of metal material on the client, and most of the client The area is all wrapped by the protective cover. In this case, due to the signal shielding effect of the protective cover, the signal strength obtained by the client again may be small. According to the last updated transmission threshold, it may be difficult to communicate with the The payment terminal transmits payment data again. To avoid this situation, the client can restore the transmission threshold to the initial transmission threshold corresponding to the first use to re-update the transmission threshold.
请参阅图7,本申请还提供一种客户端,所述客户端中包括存储模块、传输阈值更 新模块、数据获取模块和传输判定模块。Referring to FIG. 7, the present application further provides a client, which includes a storage module, a transmission threshold update module, a data acquisition module, and a transmission determination module.
所述存储模块可以用于存储与支付终端进行数据传输时对应的初始传输阈值和初始信号强度分布数据。The storage module may be configured to store initial transmission threshold values and initial signal strength distribution data corresponding to the data transmission performed by the payment terminal.
所述传输阈值更新模块可以用于根据所述初始传输阈值和所述初始信号强度分布数据,确定目标传输阈值;The transmission threshold update module may be configured to determine a target transmission threshold based on the initial transmission threshold and the initial signal strength distribution data;
所述数据获取模块可以用于获取当前的信号强度分布数据;The data acquisition module may be configured to acquire current signal intensity distribution data;
所述传输判定传输模块可以用于判断所述当前的信号强度分布数据是否满足所述目标传输阈值关联的条件,并在判断结果为满足的情况下,与所述支付终端再次进行数据传输。The transmission determination transmission module may be configured to determine whether the current signal strength distribution data meets a condition associated with the target transmission threshold, and if the determination result is satisfied, perform data transmission with the payment terminal again.
在本实施方式中,所述数据获取模块用于获取当前的信号强度采样点序列,其中,所述信号强度采样点序列中包括多个信号强度采样点,将所述信号强度采样点序列划分为至少一个子序列,并确定所述子序列的信号强度中值,根据所述子序列的信号强度中值,确定所述当前的信号强度分布数据。In this embodiment, the data acquisition module is configured to obtain a current signal intensity sampling point sequence, wherein the signal intensity sampling point sequence includes a plurality of signal intensity sampling points, and the signal intensity sampling point sequence is divided into At least one subsequence, and determining a median signal strength of the subsequence, and determining the current signal intensity distribution data according to the median signal strength of the subsequence.
在本实施方式中,所述传输判定模块用于判断所述当前的信号强度分布数据中的信号强度平均值是否大于或等于所述目标传输阈值。In this embodiment, the transmission determination module is configured to determine whether an average value of signal strength in the current signal strength distribution data is greater than or equal to the target transmission threshold.
在本实施方式中,所述传输阈值更新模块用于基于所述支付数据传输的次数、与所述支付数据传输的次数相关联的指定参数,以及所述初始信号强度分布数据中的信号强度最大值,确定权重系数,以使得根据所述权重系数、所述信号强度分布数据中的信号强度最大值和所述初始传输阈值确定的目标传输阈值,与指定距离对应的信号强度分布数据中占比最大的信号强度值的差值的绝对值小于或者等于指定强度值。In this embodiment, the transmission threshold update module is configured to be based on the number of times of payment data transmission, a specified parameter associated with the number of times of payment data transmission, and a maximum signal strength in the initial signal strength distribution data. The weight coefficient is determined so that the target transmission threshold determined according to the weight coefficient, the maximum signal strength in the signal intensity distribution data, and the initial transmission threshold occupies a proportion in the signal intensity distribution data corresponding to the specified distance. The absolute value of the difference between the largest signal strength values is less than or equal to the specified strength value.
在本申请一个实施方式中,所述客户端还可以包括:预连接阈值确定模块和连接判定模块。In an embodiment of the present application, the client may further include a pre-connection threshold determination module and a connection determination module.
所述预连接阈值确定模块用于根据所述目标传输阈值,确定目标预连接阈值;其中,所述目标预连接阈值小于所述目标传输阈值。The pre-connection threshold determination module is configured to determine a target pre-connection threshold according to the target transmission threshold; wherein the target pre-connection threshold is smaller than the target transmission threshold.
所述连接判定模块用于判断所述当前的信号强度分布数据是否满足所述目标预连接阈值关联的条件,并在判断结果为满足的情况下,与所述支付终端建立连接。The connection determination module is configured to determine whether the current signal intensity distribution data meets a condition associated with the target pre-connection threshold, and establish a connection with the payment terminal if the determination result is satisfied.
在本申请一个实施方式中,所述客户端还包括:断开连接阈值确定模块和断开连接判定模块。In an embodiment of the present application, the client further includes a disconnection threshold determination module and a disconnection determination module.
所述断开连接阈值确定模块用于根据所述目标传输阈值,确定目标断开连接阈值;其中,所述目标断开连接阈值小于所述目标预连接阈值。The disconnection threshold determination module is configured to determine a target disconnection threshold according to the target transmission threshold; wherein the target disconnection threshold is less than the target pre-connection threshold.
所述断开连接判定模块用于在与所述支付终端建立连接且未与所述支付终端进行数据传输的情况下,判断所述当前的信号强度分布数据是否满足所述目标断开连接阈值关联的条件,并在判断结果为满足的情况下,与所述支付终端断开连接。The disconnection determination module is configured to determine whether the current signal strength distribution data meets the target disconnection threshold association in a case where a connection is established with the payment terminal and no data transmission is performed with the payment terminal. And the condition is satisfied, and if the judgment result is satisfied, the connection with the payment terminal is disconnected.
在本申请一个实施方式中,所述客户端还包括:断开连接判定模块。所述断开连接判定模块用于在与所述支付终端建立连接且未与所述支付终端进行数据传输的情况下,判断与所述支付终端持续连接的时长是否大于或等于指定连接时长,若与所述支付终端持续连接的时长大于或等于指定连接时长,与所述支付终端断开连接。In an embodiment of the present application, the client further includes a disconnection determination module. The disconnection determination module is configured to determine whether a duration of continuous connection with the payment terminal is greater than or equal to a specified connection duration in a case where a connection is established with the payment terminal and no data transmission is performed with the payment terminal. The duration of continuous connection with the payment terminal is greater than or equal to the specified connection duration, and the connection with the payment terminal is disconnected.
本说明书实施方式提供的客户端,其各个模块实现的具体功能,可以与本说明书中的前述实施方式相对照解释,并能够达到前述实施方式的技术效果,这里便不再赘述。The specific functions implemented by each module of the client provided in the embodiments of the present specification can be explained in contrast with the foregoing embodiments in the present specification, and can achieve the technical effects of the foregoing embodiments, which will not be described again here.
请参阅图8,本申请还提供一种客户端,所述服务器包括存储器和处理器,所述存储器中存储有与支付终端进行数据传输时对应的初始传输阈值和初始信号强度分布数据,以及计算机程序,所述计算机程序被所述处理器执行时,实现以下步骤:Referring to FIG. 8, the present application further provides a client. The server includes a memory and a processor. The memory stores initial transmission threshold values and initial signal strength distribution data corresponding to a data transmission performed by a payment terminal, and a computer. A program, when the computer program is executed by the processor, the following steps are implemented:
步骤S11:根据所述初始传输阈值和所述初始信号强度分布数据,确定目标传输阈值;Step S11: Determine a target transmission threshold according to the initial transmission threshold and the initial signal strength distribution data;
步骤S13:获取当前的信号强度分布数据,并判断所述当前的信号强度分布数据是否满足所述目标传输阈值关联的条件;若满足,与所述支付终端再次进行数据传输。Step S13: Obtain current signal intensity distribution data, and determine whether the current signal intensity distribution data meets a condition associated with the target transmission threshold; if it is satisfied, perform data transmission with the payment terminal again.
在本实施方式中,所述存储器可以包括用于存储信息的物理装置,通常是将信息数字化后再以利用电、磁或者光学等方法的媒体加以存储。本实施方式所述的存储器又可以包括:利用电能方式存储信息的装置,如RAM、ROM等;利用磁能方式存储信息的装置,如硬盘、软盘、磁带、磁芯存储器、磁泡存储器、U盘;利用光学方式存储信息的装置,如CD或DVD。当然,还有其他方式的存储器,例如量子存储器、石墨烯存储器等等。In this implementation manner, the memory may include a physical device for storing information, and generally the information is digitized and then stored by using a medium such as electricity, magnetism, or optics. The memory according to this embodiment may further include: a device that stores information by using electric energy, such as RAM, ROM, etc .; a device that stores information by using magnetic energy, such as hard disk, floppy disk, magnetic tape, magnetic core memory, magnetic bubble memory, U disk ; Devices that store information optically, such as CDs or DVDs. Of course, there are other ways of memory, such as quantum memory, graphene memory, and so on.
在本实施方式中,所述处理器可以按任何适当的方式实现。例如,所述处理器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式等等。In this embodiment, the processor may be implemented in any suitable manner. For example, the processor may take, for example, a microprocessor or processor and a computer-readable medium, logic gate, switch, dedicated integration storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor. Circuit (Application Specific Integrated Circuit, ASIC), programmable logic controller and embedded microcontroller form, etc.
在一个实施方式中,所述计算机程序被所述处理器执行时,还实现以下步骤:In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:
基于所述支付数据传输的次数、与所述支付数据传输的次数相关联的指定参数,以及所述初始信号强度分布数据中的信号强度最大值,确定权重系数,以使得根据所述权重系数、所述信号强度分布数据中的信号强度最大值和所述初始传输阈值确定的目标传输阈值,与指定距离对应的信号强度分布数据中概率最大的信号强度值的差值的绝对值小于或者等于指定强度值。Determining a weighting factor based on the number of times of payment data transmission, a specified parameter associated with the number of times of payment data transmission, and a maximum signal strength in the initial signal strength distribution data, so that according to the weighting coefficient, The absolute value of the difference between the maximum signal strength value in the signal strength distribution data and the target transmission threshold determined by the initial transmission threshold value, and the signal strength distribution data with the highest probability in the signal strength distribution data corresponding to the specified distance, is less than or equal to the specified value. Intensity value.
在一个实施方式中,在判断所述当前的信号强度分布数据是否满足所述目标传输阈值关联的条件之前,所述计算机程序被所述处理器执行时,还实现以下步骤:In one embodiment, before determining whether the current signal intensity distribution data meets a condition associated with the target transmission threshold, when the computer program is executed by the processor, the following steps are further implemented:
根据所述目标传输阈值,确定目标预连接阈值;其中,所述目标预连接阈值小于所述目标传输阈值;Determining a target pre-connection threshold according to the target transmission threshold; wherein the target pre-connection threshold is less than the target transmission threshold;
判断所述当前的信号强度分布数据是否满足所述目标预连接阈值关联的条件;若满足,与所述支付终端建立连接。Determining whether the current signal strength distribution data meets a condition associated with the target pre-connection threshold; if it is satisfied, establishing a connection with the payment terminal.
在一个实施方式中,所述计算机程序被所述处理器执行时,还实现以下步骤:In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:
根据所述目标传输阈值,确定目标断开连接阈值;其中,所述目标断开连接阈值小于所述目标预连接阈值;Determining a target disconnection threshold according to the target transmission threshold; wherein the target disconnection threshold is less than the target pre-connection threshold;
在与所述支付终端建立连接且未与所述支付终端进行数据传输的情况下,判断所述当前的信号强度分布数据是否满足所述目标断开连接阈值关联的条件;若满足,与所述支付终端断开连接。In a case where a connection is established with the payment terminal and no data transmission is performed with the payment terminal, determining whether the current signal strength distribution data meets a condition associated with the target disconnection threshold; The payment terminal is disconnected.
在一个实施方式中,所述计算机程序被所述处理器执行时,还实现以下步骤:In one embodiment, when the computer program is executed by the processor, the following steps are further implemented:
在与所述支付终端建立连接且未与所述支付终端进行数据传输的情况下,判断与所述支付终端持续连接的时长是否大于或等于指定连接时长;若与所述支付终端持续连接的时长大于或等于指定连接时长,与所述支付终端断开连接。In the case of establishing a connection with the payment terminal and not performing data transmission with the payment terminal, determining whether the duration of continuous connection with the payment terminal is greater than or equal to the specified connection duration; if the duration of continuous connection with the payment terminal Is greater than or equal to the specified connection duration, and is disconnected from the payment terminal.
本说明书实施方式提供的客户端,其存储器和处理器实现的具体功能,可以与本说明书中的前述实施方式相对照解释,并能够达到前述实施方式的技术效果,这里便不再赘述。The specific functions implemented by the memory and the processor of the client provided in the embodiments of the present specification can be explained in comparison with the foregoing embodiments in the present specification, and can achieve the technical effects of the foregoing embodiments, and will not be repeated here.
在本申请一个实施方式中,前述实施方式中的部分步骤的还可以由服务器完成,例如,根据所述初始传输阈值和所述初始信号强度分布数据确定目标传输阈值的步骤,可以由服务器完成,然后通过服务器将目标传输阈值发送给所述客户端,进行后续处理。In an embodiment of the present application, part of the steps in the foregoing embodiment may be performed by the server. For example, the step of determining the target transmission threshold according to the initial transmission threshold and the initial signal strength distribution data may be performed by the server. The server then sends the target transmission threshold to the client for subsequent processing.
由上可见,在本申请中,针对用户使用的客户端,例如智能手机,该智能手机 可以根据上一次与支付终端进行支付数据传输时的初始传输阈值和初始信号强度分布数据,更新当前与支付终端进行支付数据传输的目标传输阈值。那么,在获取当前的信号强度分布数据之后,该智能手机便可以判断所述当前的信号强度分布数据是否满足所述目标传输阈值关联的条件,若满足,可以与所述支付终端再次进行支付数据传输。这样,针对用户使用的智能手机,采用本申请方法可以自动更新与该智能手机相适应的传输阈值,以使得在通常的支付距离处,用户使用不同的智能手机都可以进行正常支付,从而提高用户的支付体验。As can be seen from the above, in this application, for the client used by the user, such as a smartphone, the smartphone can update the current and payment based on the initial transmission threshold and initial signal strength distribution data when the payment data was transmitted to the payment terminal last time. The target transmission threshold for the terminal to perform payment data transmission. Then, after acquiring the current signal intensity distribution data, the smartphone can determine whether the current signal intensity distribution data meets the conditions associated with the target transmission threshold, and if it is satisfied, can perform payment data with the payment terminal again. transmission. In this way, for the smartphone used by the user, using the method of the present application can automatically update the transmission threshold suitable for the smartphone, so that at the usual payment distance, the user can make normal payments using different smartphones, thereby improving the user Payment experience.
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog2。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1990s, for a technical improvement, it can be clearly distinguished whether it is an improvement in hardware (for example, the improvement of circuit structures such as diodes, transistors, switches, etc.) or an improvement in software (for the improvement of method flow). However, with the development of technology, the improvement of many methods and processes can be regarded as a direct improvement of the hardware circuit structure. Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by hardware entity modules. For example, a programmable logic device (Programmable Logic Device (PLD)) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. It is programmed by the designer to "integrate" a digital system on a PLD, without the need for a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of making integrated circuit chips by hand, this programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used in program development and writing, but before compilation The original code must also be written in a specific programming language, which is called Hardware Description Language (HDL), and HDL is not only one, but there are many types, such as ABEL (Advanced Boolean ExpressionLanguage) , AHDL (Altera, Hardware, Description, Language), Confluence, CUPL (Cornell, University Programming, Language), HDCal, JHDL (Java, Hardware, Description, Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby, Hardware, Description), etc. It is VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog2. Those skilled in the art should also be clear that as long as the method flow is slightly logically programmed and integrated into the integrated circuit using the above-mentioned several hardware description languages, a hardware circuit that implements the logic method flow can be easily obtained.
本领域技术人员也知道,除了以纯计算机可读程序代码方式实现客户端、服务器以外,完全可以通过将方法步骤进行逻辑编程来使得客户端、服务器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种客户端、服务器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以 是实现方法的软件模块又可以是硬件部件内的结构。Those skilled in the art also know that, in addition to implementing the client and server in a pure computer-readable program code manner, the method steps can be logically programmed to make the client and server use logic gates, switches, application specific integrated circuits, and programmable logic. Controller and embedded microcontroller to achieve the same function. Therefore, such a client and a server can be regarded as a kind of hardware component, and a device included therein for implementing various functions can also be regarded as a structure within the hardware component. Or even, the means for implementing various functions can be regarded as a structure that can be both a software module implementing the method and a hardware component.
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施方式或者实施方式的某些部分所述的方法。It can be known from the description of the foregoing embodiments that those skilled in the art can clearly understand that this application can be implemented by means of software plus a necessary universal hardware platform. Based on such an understanding, the technical solution of the present application, in essence, or a part that contributes to the existing technology, can be embodied in the form of a software product, which can be stored in a storage medium, such as ROM / RAM, magnetic disk , Optical discs, etc., including a number of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments or portions of the embodiments of the present application.
本说明书中的各个实施方式均采用递进的方式描述,各个实施方式之间相同相似的部分互相参见即可,每个实施方式重点说明的都是与其他实施方式的不同之处。尤其,针对计算机存储介质、服务器和客户端的实施方式来说,均可以参照前述方法的实施方式的介绍对照解释。Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the implementation of the computer storage medium, the server, and the client, all can be explained with reference to the introduction of the foregoing method implementation.
本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。This application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
虽然通过实施方式描绘了本申请,本领域普通技术人员知道,本申请有许多变形和变化而不脱离本申请的精神,希望所附的权利要求包括这些变形和变化而不脱离本申请的精神。Although the present application has been described through embodiments, those skilled in the art know that there are many variations and changes in the present application without departing from the spirit of the present application, and it is expected that the appended claims include these variations and changes without departing from the spirit of the present application.

Claims (19)

  1. 一种支付方法,其特征在于,提供有与支付终端进行支付数据传输时对应的初始传输阈值和初始信号强度分布数据;所述方法包括:A payment method, characterized by providing initial transmission threshold and initial signal strength distribution data corresponding to a payment terminal when transmitting payment data; the method includes:
    根据所述初始传输阈值和所述初始信号强度分布数据,确定目标传输阈值;Determining a target transmission threshold according to the initial transmission threshold and the initial signal strength distribution data;
    获取当前的信号强度分布数据,并判断所述当前的信号强度分布数据是否满足所述目标传输阈值关联的条件;若满足,与所述支付终端再次进行支付数据传输。Acquire the current signal intensity distribution data, and determine whether the current signal intensity distribution data meets the conditions associated with the target transmission threshold; if it is satisfied, perform payment data transmission with the payment terminal again.
  2. 根据权利要求1所述的方法,其特征在于,所述目标传输阈值关联的条件,包括:The method according to claim 1, wherein the condition of the target transmission threshold association comprises:
    所述当前的信号强度分布数据中的信号强度平均值大于或等于所述目标传输阈值。An average value of signal strength in the current signal strength distribution data is greater than or equal to the target transmission threshold.
  3. 根据权利要求1所述的方法,其特征在于,确定目标传输阈值,包括:The method according to claim 1, wherein determining the target transmission threshold comprises:
    基于所述支付数据传输的次数、与所述支付数据传输的次数相关联的指定参数,以及所述初始信号强度分布数据中的信号强度最大值,确定权重系数,以使得根据所述权重系数、所述信号强度分布数据中的信号强度最大值和所述初始传输阈值确定的目标传输阈值,与指定距离对应的信号强度分布数据中占比最大的信号强度值的差值的绝对值小于或者等于指定强度值。Determining a weighting factor based on the number of times of payment data transmission, a specified parameter associated with the number of times of payment data transmission, and a maximum signal strength in the initial signal strength distribution data, so that according to the weighting coefficient, The absolute value of the difference between the maximum signal strength value in the signal intensity distribution data and the target transmission threshold determined by the initial transmission threshold value and the signal strength value that has the largest proportion in the signal intensity distribution data corresponding to the specified distance is less than or equal to Specify the intensity value.
  4. 根据权利要求1所述的方法,其特征在于,在判断所述当前的信号强度分布数据是否满足所述目标传输阈值关联的条件之前,所述方法还包括:The method according to claim 1, wherein before determining whether the current signal strength distribution data meets a condition of the target transmission threshold association, the method further comprises:
    根据所述目标传输阈值,确定目标预连接阈值;其中,所述目标预连接阈值小于所述目标传输阈值;Determining a target pre-connection threshold according to the target transmission threshold; wherein the target pre-connection threshold is less than the target transmission threshold;
    判断所述当前的信号强度分布数据是否满足所述目标预连接阈值关联的条件;若满足,与所述支付终端建立连接。Determining whether the current signal strength distribution data meets a condition associated with the target pre-connection threshold; if it is satisfied, establishing a connection with the payment terminal.
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, further comprising:
    根据所述目标传输阈值,确定目标断开连接阈值;其中,所述目标断开连接阈值小于所述目标预连接阈值;Determining a target disconnection threshold according to the target transmission threshold; wherein the target disconnection threshold is less than the target pre-connection threshold;
    在与所述支付终端建立连接且未与所述支付终端进行数据传输的情况下,判断所述当前的信号强度分布数据是否满足所述目标断开连接阈值关联的条件;若满足,与所述支付终端断开连接。In a case where a connection is established with the payment terminal and no data transmission is performed with the payment terminal, determining whether the current signal strength distribution data meets a condition associated with the target disconnection threshold; The payment terminal is disconnected.
  6. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, further comprising:
    在与所述支付终端建立连接且未与所述支付终端进行数据传输的情况下,判断与所述支付终端持续连接的时长是否大于或等于指定连接时长;若与所述支付终端持续连接的时长大于或等于指定连接时长,与所述支付终端断开连接。In the case of establishing a connection with the payment terminal and not performing data transmission with the payment terminal, determining whether the duration of continuous connection with the payment terminal is greater than or equal to the specified connection duration; if the duration of continuous connection with the payment terminal Is greater than or equal to the specified connection duration, and is disconnected from the payment terminal.
  7. 根据权利要求1所述的方法,其特征在于,获取当前的信号强度分布数据,包括:The method according to claim 1, wherein acquiring current signal strength distribution data comprises:
    获取当前的信号强度采样点序列;其中,所述信号强度采样点序列中包括多个信号强度采样点;Acquiring a current signal intensity sampling point sequence; wherein the signal intensity sampling point sequence includes a plurality of signal intensity sampling points;
    将所述信号强度采样点序列划分为至少一个子序列,并确定所述子序列的信号强度中值;Dividing the signal intensity sampling point sequence into at least one subsequence, and determining a median signal intensity of the subsequence;
    根据所述子序列的信号强度中值,确定所述当前的信号强度分布数据。Determining the current signal strength distribution data according to a median signal strength of the subsequence.
  8. 一种客户端,其特征在于,所述客户端中包括存储模块、传输阈值更新模块、数据获取模块和传输判定模块;其中,A client, characterized in that the client includes a storage module, a transmission threshold update module, a data acquisition module, and a transmission determination module; wherein,
    所述存储模块用于存储与支付终端进行数据传输时对应的初始传输阈值和初始信号强度分布数据;The storage module is configured to store initial transmission threshold and initial signal strength distribution data corresponding to a data transmission performed by a payment terminal;
    所述传输阈值更新模块用于根据所述初始传输阈值和所述初始信号强度分布数据,确定目标传输阈值;The transmission threshold updating module is configured to determine a target transmission threshold according to the initial transmission threshold and the initial signal strength distribution data;
    所述数据获取模块用于获取当前的信号强度分布数据;The data acquisition module is configured to acquire current signal intensity distribution data;
    所述传输判定传输模块用于判断所述当前的信号强度分布数据是否满足所述目标传输阈值关联的条件,并在判断结果为满足的情况下,与所述支付终端再次进行数据传输。The transmission determination transmission module is configured to determine whether the current signal strength distribution data satisfies a condition associated with the target transmission threshold, and if the determination result is satisfied, perform data transmission with the payment terminal again.
  9. 根据权利要求8所述的客户端,其特征在于,所述传输判定模块用于判断所述当前的信号强度分布数据中的信号强度平均值是否大于或等于所述目标传输阈值。The client according to claim 8, wherein the transmission determination module is configured to determine whether an average value of signal strength in the current signal strength distribution data is greater than or equal to the target transmission threshold.
  10. 根据权利要求8所述的客户端,其特征在于,所述传输阈值更新模块用于基于所述支付数据传输的次数、与所述支付数据传输的次数相关联的指定参数,以及所述初始信号强度分布数据中的信号强度最大值,确定权重系数,以使得根据所述权重系数、所述信号强度分布数据中的信号强度最大值和所述初始传输阈值确定的目标传输阈值,与指定距离对应的信号强度分布数据中占比最大的信号强度值的差值的绝对值小于或者等于指定强度值。The client according to claim 8, wherein the transmission threshold update module is configured to be based on the number of times of payment data transmission, a specified parameter associated with the number of times of payment data transmission, and the initial signal The maximum signal strength in the intensity distribution data determines a weighting coefficient, so that the target transmission threshold value determined according to the weighting coefficient, the maximum signal strength in the signal intensity distribution data, and the initial transmission threshold value corresponds to a specified distance The absolute value of the difference between the largest signal intensity values in the signal intensity distribution data is less than or equal to the specified intensity value.
  11. 根据权利要求8所述的客户端,其特征在于,所述客户端还包括:预连接阈值确定模块和连接判定模块;其中,The client according to claim 8, further comprising: a pre-connection threshold determination module and a connection determination module; wherein,
    所述预连接阈值确定模块用于根据所述目标传输阈值,确定目标预连接阈值;其中,所述目标预连接阈值小于所述目标传输阈值;The pre-connection threshold determination module is configured to determine a target pre-connection threshold based on the target transmission threshold; wherein the target pre-connection threshold is less than the target transmission threshold;
    所述连接判定模块用于判断所述当前的信号强度分布数据是否满足所述目标预连接阈值关联的条件,并在判断结果为满足的情况下,与所述支付终端建立连接。The connection determination module is configured to determine whether the current signal intensity distribution data meets a condition associated with the target pre-connection threshold, and establish a connection with the payment terminal if the determination result is satisfied.
  12. 根据权利要求11所述的客户端,其特征在于,所述客户端还包括:断开连接阈值确定模块和断开连接判定模块;其中,The client according to claim 11, further comprising: a disconnection threshold determination module and a disconnection determination module; wherein,
    所述断开连接阈值确定模块用于根据所述目标传输阈值,确定目标断开连接阈值;其中,所述目标断开连接阈值小于所述目标预连接阈值;The disconnection threshold determining module is configured to determine a target disconnection threshold according to the target transmission threshold; wherein the target disconnection threshold is less than the target pre-connection threshold;
    所述断开连接判定模块用于在与所述支付终端建立连接且未与所述支付终端进行数据传输的情况下,判断所述当前的信号强度分布数据是否满足所述目标断开连接阈值关联的条件,并在判断结果为满足的情况下,与所述支付终端断开连接。The disconnection determination module is configured to determine whether the current signal strength distribution data meets the target disconnection threshold association in a case where a connection is established with the payment terminal and no data transmission is performed with the payment terminal. And the condition is satisfied, and if the judgment result is satisfied, the connection with the payment terminal is disconnected.
  13. 根据权利要求11所述的客户端,其特征在于,所述客户端还包括:断开连接判定模块;The client according to claim 11, wherein the client further comprises: a disconnection determination module;
    所述断开连接判定模块用于在与所述支付终端建立连接且未与所述支付终端进行数据传输的情况下,判断与所述支付终端持续连接的时长是否大于或等于指定连接时长,若与所述支付终端持续连接的时长大于或等于指定连接时长,与所述支付终端断开连接。The disconnection determination module is configured to determine whether a duration of continuous connection with the payment terminal is greater than or equal to a specified connection duration in a case where a connection is established with the payment terminal and no data transmission is performed with the payment terminal. The duration of continuous connection with the payment terminal is greater than or equal to the specified connection duration, and the connection with the payment terminal is disconnected.
  14. 根据权利要求8所述的客户端,其特征在于,所述数据获取模块用于获取当前的信号强度采样点序列,其中,所述信号强度采样点序列中包括多个信号强度采样点,将所述信号强度采样点序列划分为至少一个子序列,并确定所述子序列的信号强度中值,根据所述子序列的信号强度中值,确定所述当前的信号强度分布数据。The client according to claim 8, wherein the data acquisition module is configured to acquire a current signal intensity sampling point sequence, wherein the signal intensity sampling point sequence includes a plurality of signal intensity sampling points, and The signal intensity sampling point sequence is divided into at least one subsequence, and a median signal intensity of the subsequence is determined, and the current signal intensity distribution data is determined according to the median signal intensity of the subsequence.
  15. 一种客户端,其特征在于,所述客户端包括存储器和处理器,所述存储器中存储有与支付终端进行数据传输时对应的初始传输阈值和初始信号强度分布数据,以及计算机程序,所述计算机程序被所述处理器执行时,实现以下步骤:A client, wherein the client includes a memory and a processor, and the memory stores an initial transmission threshold value and an initial signal strength distribution data corresponding to a data transmission performed by a payment terminal, and a computer program. When a computer program is executed by the processor, the following steps are implemented:
    根据所述初始传输阈值和所述初始信号强度分布数据,确定目标传输阈值;Determining a target transmission threshold according to the initial transmission threshold and the initial signal strength distribution data;
    获取当前的信号强度分布数据,并判断所述当前的信号强度分布数据是否满足所述目标传输阈值关联的条件;若满足,与所述支付终端再次进行数据传输。Acquire the current signal intensity distribution data, and determine whether the current signal intensity distribution data meets the conditions associated with the target transmission threshold; if it is satisfied, perform data transmission with the payment terminal again.
  16. 根据权利要求15所述的客户端,其特征在于,所述计算机程序被所述处理器执行时,还实现以下步骤:The client according to claim 15, wherein when the computer program is executed by the processor, the following steps are further implemented:
    基于所述支付数据传输的次数、与所述支付数据传输的次数相关联的指定参数,以及所述初始信号强度分布数据中的信号强度最大值,确定权重系数,以使得根据所述权重系数、所述信号强度分布数据中的信号强度最大值和所述初始传输阈值确定的目标传输阈值,与指定距离对应的信号强度分布数据中概率最大的信号强度值的差值的绝对值小于或者等于指定强度值。Determining a weighting factor based on the number of times of payment data transmission, a specified parameter associated with the number of times of payment data transmission, and a maximum signal strength in the initial signal strength distribution data, so that according to the weighting coefficient, The absolute value of the difference between the maximum signal strength value in the signal strength distribution data and the target transmission threshold determined by the initial transmission threshold value, and the signal strength distribution data with the highest probability in the signal strength distribution data corresponding to the specified distance, is less than or equal to the specified value. Intensity value.
  17. 根据权利要求15所述的客户端,其特征在于,在判断所述当前的信号强度分布数据是否满足所述目标传输阈值关联的条件之前,所述计算机程序被所述处理器执行时,还实现以下步骤:The client according to claim 15, wherein before determining whether the current signal strength distribution data satisfies a condition associated with the target transmission threshold, the computer program is further implemented when the computer program is executed by the processor. The following steps:
    根据所述目标传输阈值,确定目标预连接阈值;其中,所述目标预连接阈值小于所 述目标传输阈值;Determining a target pre-connection threshold according to the target transmission threshold; wherein the target pre-connection threshold is smaller than the target transmission threshold;
    判断所述当前的信号强度分布数据是否满足所述目标预连接阈值关联的条件;若满足,与所述支付终端建立连接。Determining whether the current signal strength distribution data meets a condition associated with the target pre-connection threshold; if it is satisfied, establishing a connection with the payment terminal.
  18. 根据权利要求17所述的客户端,其特征在于,所述计算机程序被所述处理器执行时,还实现以下步骤:The client according to claim 17, wherein when the computer program is executed by the processor, the following steps are further implemented:
    根据所述目标传输阈值,确定目标断开连接阈值;其中,所述目标断开连接阈值小于所述目标预连接阈值;Determining a target disconnection threshold according to the target transmission threshold; wherein the target disconnection threshold is less than the target pre-connection threshold;
    在与所述支付终端建立连接且未与所述支付终端进行数据传输的情况下,判断所述当前的信号强度分布数据是否满足所述目标断开连接阈值关联的条件;若满足,与所述支付终端断开连接。In a case where a connection is established with the payment terminal and no data transmission is performed with the payment terminal, determining whether the current signal strength distribution data meets a condition associated with the target disconnection threshold; The payment terminal is disconnected.
  19. 根据权利要求17所述的客户端,其特征在于,所述计算机程序被所述处理器执行时,还实现以下步骤:The client according to claim 17, wherein when the computer program is executed by the processor, the following steps are further implemented:
    在与所述支付终端建立连接且未与所述支付终端进行数据传输的情况下,判断与所述支付终端持续连接的时长是否大于或等于指定连接时长;若与所述支付终端持续连接的时长大于或等于指定连接时长,与所述支付终端断开连接。In the case of establishing a connection with the payment terminal and not performing data transmission with the payment terminal, determining whether the duration of continuous connection with the payment terminal is greater than or equal to the specified connection duration; if the duration of continuous connection with the payment terminal Is greater than or equal to the specified connection duration, and is disconnected from the payment terminal.
PCT/CN2019/076948 2018-05-29 2019-03-05 Payment method and client WO2019228001A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810527146.XA CN108960811B (en) 2018-05-29 2018-05-29 Payment method and client
CN201810527146.X 2018-05-29

Publications (1)

Publication Number Publication Date
WO2019228001A1 true WO2019228001A1 (en) 2019-12-05

Family

ID=64492082

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/076948 WO2019228001A1 (en) 2018-05-29 2019-03-05 Payment method and client

Country Status (3)

Country Link
CN (1) CN108960811B (en)
TW (1) TWI706687B (en)
WO (1) WO2019228001A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108960811B (en) * 2018-05-29 2021-01-15 创新先进技术有限公司 Payment method and client
CN110689370B (en) * 2019-09-05 2023-07-14 创新先进技术有限公司 Classification model training method, device and equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104702320A (en) * 2014-04-11 2015-06-10 上海智向信息科技有限公司 Method and system for judging near-field payment on basis of Bluetooth
CN105828281A (en) * 2016-05-19 2016-08-03 北京小米移动软件有限公司 Device connection method and device
CN106878235A (en) * 2015-12-11 2017-06-20 株式会社理光 Access control method and electronic equipment
CN107949031A (en) * 2017-12-20 2018-04-20 深圳市中科明望通信软件有限公司 A kind of scan method of wireless network, mobile terminal and storage medium
CN108960811A (en) * 2018-05-29 2018-12-07 阿里巴巴集团控股有限公司 A kind of method of payment and client

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ITFI20120035A1 (en) * 2012-02-23 2013-08-24 Nuovo Pignone Srl "IMPELLER PRODUCTION FOR TURBO-MACHINES"
CN104978655B (en) * 2014-04-11 2018-02-06 上海智向信息科技有限公司 Near field pays connection and method for interchanging data and system
CN103927654B (en) * 2014-04-17 2018-03-30 福建联迪商用设备有限公司 A kind of mobile terminal contacts the means of communication, device and method of payment with POS
CN105636196A (en) * 2014-11-06 2016-06-01 宏碁股份有限公司 Indoor positioning method suitable for electronic device and electronic device
CN105590200A (en) * 2015-03-11 2016-05-18 中国银联股份有限公司 Data transmission method and user equipment for mobile near field payment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104702320A (en) * 2014-04-11 2015-06-10 上海智向信息科技有限公司 Method and system for judging near-field payment on basis of Bluetooth
CN106878235A (en) * 2015-12-11 2017-06-20 株式会社理光 Access control method and electronic equipment
CN105828281A (en) * 2016-05-19 2016-08-03 北京小米移动软件有限公司 Device connection method and device
CN107949031A (en) * 2017-12-20 2018-04-20 深圳市中科明望通信软件有限公司 A kind of scan method of wireless network, mobile terminal and storage medium
CN108960811A (en) * 2018-05-29 2018-12-07 阿里巴巴集团控股有限公司 A kind of method of payment and client

Also Published As

Publication number Publication date
TWI706687B (en) 2020-10-01
CN108960811B (en) 2021-01-15
CN108960811A (en) 2018-12-07
TW202004593A (en) 2020-01-16

Similar Documents

Publication Publication Date Title
CN107534884B (en) Switching between networks based on quality of available networks
US10375620B2 (en) Determining routing of proxy traffic between mobile client and proxy devices
JP6955092B2 (en) Methods for reducing terminal power consumption, and terminals
US10085294B2 (en) Determining when to establish connection between mobile client and proxy devices
US9635118B1 (en) Dynamic push notifications based on indoor micro-locations
KR20180028847A (en) Method and Apparatus for Switching Network
CN104516479A (en) Mobile equipment power saving control method, equipment and system
EP3779832A1 (en) Payment risk control method and system
EP3117284A1 (en) Selectively redirecting notifications to a wearable computing device
CN108235308B (en) Data reporting method and device, mobile terminal and computer readable medium
JP2019508919A (en) Automatic wireless communication protocol switching
US11026283B2 (en) Determining when to establish connection between mobile client and proxy devices
US10373476B2 (en) Preventing the loss of wireless accessories for mobile devices
CN110536193B (en) Audio signal processing method and device
WO2019228001A1 (en) Payment method and client
CN110392298A (en) A kind of volume adjusting method, device, equipment and medium
CN109219953A (en) A kind of alarm clock prompting method and terminal device
CN108647050A (en) Application program launching method, device and mobile terminal
US9432832B2 (en) Enabling mobile computing devices to track data usage among mobile computing devices that share a data plan
JP7272694B2 (en) Method and terminal for reducing power consumption of terminal
CN111787513A (en) Method and apparatus for playing audio
KR20150124366A (en) Service providing server for providing answer to query from service subscriber and method thereof
CN111526381B (en) Method and device for optimizing live broadcast resources and electronic equipment
CN114006871A (en) Flow control method, flow control device, container and storage medium
CN106899943A (en) Control broadcast transmission person sends method, device and the terminal device of broadcast message

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: 19810245

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: 19810245

Country of ref document: EP

Kind code of ref document: A1