Payment method, device, apparatus and computer program product

By combining ultra-wideband UWB anchor points and camera equipment with the payment platform, the problems of difficulty in finding change, door congestion and network dependence in public transportation payment are solved, a more efficient payment process is realized, and the convenience and efficiency of payment are improved.

CN118396630BActive Publication Date: 2024-10-22深圳市深圳通有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410854265.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-22
Estimated Expiration
2044-06-28

AI Technical Summary

Technical Problem

Existing public transportation payment methods (physical currency, NFC payment and QR code payment) have problems such as difficulty in finding change, door congestion and network dependence, resulting in low payment efficiency.

Method used

Using ultra-wideband UWB anchor points, camera equipment and payment platforms, by receiving payment requests from the passenger side, a payment application response is generated. The passenger side performs payment deductions based on a random number generation algorithm, and verifies the payment results through the UWB anchor point and payment platform to achieve Smooth payment process.

Benefits of technology

It improves the convenience and efficiency of public transportation payment, avoids the problems of door congestion and network dependence, and ensures the smoothness and accuracy of the payment process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118396630B_ABST
    Figure CN118396630B_ABST
Patent Text Reader

Abstract

The present application discloses a payment method, device, equipment and computer program product, which relates to the field of intelligent transportation technology. The method includes: receiving a payment request sent by a passenger terminal, generating a payment application response based on the payment request; sending the payment application response to the passenger terminal, and the passenger terminal obtains a payment random number through a random number generation algorithm based on the payment application response; receiving the payment random number sent by the passenger terminal, and calculating based on the payment random number to obtain first confirmation information; sending the first confirmation information to the passenger terminal, and the passenger terminal performs payment deduction based on the first confirmation information, and generates second confirmation information after the deduction is completed; receiving the second confirmation information sent by the passenger terminal, and obtaining a payment result based on the second confirmation information. The efficiency of payment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent transportation technology, and in particular to a payment method, device, equipment and computer program product. Background Art

[0002] Existing payment methods for public transportation include physical currency payment, NFC payment and QR code payment. These multiple payment methods have greatly improved the convenience of urban transportation, but with the increase in demand and user needs, the above three methods also have many problems.

[0003] When paying with physical currency, passengers put physical currency (coins or banknotes) of the designated fare into the bus fare box. However, there are the following problems: (1) the change problem, which cannot be performed; and (2) passengers must go to the door to insert coins, which can easily cause congestion at the door when there are many people.

[0004] In NFC payment, passengers are required to hold a mobile phone, bus card, or UnionPay card that supports NFC technology to make payments, which solves the problem of change. However, because NFC is a short-distance (10 cm) payment technology, passengers must go to the door to make NFC payments, which can easily cause congestion at the door when there are many people.

[0005] In QR code payment, passengers use mobile phones that support QR code payment to scan the code. After the on-board device reads the QR code, it relies on its own network capabilities to deduct the fees from the background account associated with the QR code. The advantages are the same as NFC payment, which solves the change problem. The mobile phone does not need to rely on professional NFC hardware to make payments, and the business can be expanded quickly. The disadvantages are: (1) The payment process depends on the network. When the network is not good, there may be situations where deductions cannot be made or are delayed; (2) Based on the background deduction of the on-board device, bus companies have the problem of asynchronous deduction failure, resulting in loss of operating revenue; (3) Like the first two payment methods, it is also a short-distance payment technology. Passengers must scan the code at the door of the bus, which can easily cause congestion at the door when there are many people.

[0006] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0007] The main purpose of this application is to provide a payment method, device, equipment and computer program product, aiming to solve the technical problem of low payment efficiency due to inconvenient payment methods when taking transportation.

[0008] To achieve the above purpose, the present application proposes a payment method, which is applied to a vehicle end, the vehicle end includes an ultra-wideband UWB anchor point, a camera device and a payment platform, and the method includes:

[0009] Receive a payment request sent by the passenger terminal, and generate a payment application response based on the payment request;

[0010] The payment application response is sent to the passenger terminal, and the passenger terminal obtains a payment random number through a random number generation algorithm based on the payment application response;

[0011] Receiving the payment random number sent by the passenger terminal, and performing calculation based on the payment random number to obtain first confirmation information;

[0012] The first confirmation information is sent to the passenger terminal, and the passenger terminal performs payment deduction based on the first confirmation information, and generates second confirmation information after the deduction is completed;

[0013] Receive second confirmation information sent by the passenger terminal, and obtain a payment result based on the second confirmation information.

[0014] In one embodiment, the step of generating a payment application response based on the payment request includes:

[0015] Based on the payment request, the position of the passenger terminal is analyzed by the UWB anchor point and the camera device to obtain passenger information;

[0016] Analyzing whether the boarding area in the passenger information is within the preset payment area;

[0017] If the riding area is within the payment area, the payment request is parsed by the payment platform to obtain a payment application response.

[0018] In one embodiment, the step of parsing the payment request through the payment platform to obtain a payment application response includes:

[0019] Parsing the payment request through the payment platform to obtain payment tag information corresponding to the passenger terminal, wherein the payment tag information includes a tag number, a tag balance, and tag user information;

[0020] Based on the tag number, analyzing through a preset tag blacklist, after determining that the tag number does not exist in the tag blacklist, outputting that the passenger terminal has passed the blacklist verification;

[0021] Perform a fare query based on the tag user information and the passenger information to obtain the fare information of the passenger terminal;

[0022] Based on the fare information, performing payment verification through the tag balance to obtain a payment verification result;

[0023] If the payment verification result is passed, a payment application response is generated.

[0024] In one embodiment, the step of receiving the payment random number sent by the passenger terminal and performing calculation based on the payment random number to obtain the first confirmation information includes:

[0025] Based on the payment random number, a first message authentication code is calculated by a consumer security PSAM module of the UWB anchor point;

[0026] A payment confirmation message is generated according to the payment application response and the payment random number, and first confirmation information is output through the first message verification code and the payment confirmation message.

[0027] In one embodiment, the step of receiving the second confirmation information sent by the passenger terminal and obtaining the payment result based on the second confirmation information includes:

[0028] Performing amount verification on the second confirmation information through the UWB anchor point to obtain an amount verification result;

[0029] When the amount verification result is passed, the payment result is obtained through the payment platform and the corresponding user of the passenger end is notified.

[0030] In addition, to achieve the above purpose, the present application also proposes a payment method, which is applied to a passenger terminal, the passenger terminal includes a payment tag, and the payment method includes:

[0031] In response to the user's operation instruction, a payment request is sent to the vehicle end through the payment tag, and the vehicle end responds to the payment request to obtain a payment application response;

[0032] Receiving a payment application response sent by the vehicle end, and generating a payment random number through a random number generation algorithm based on the payment application response;

[0033] Sending the payment random number to the vehicle end, and the vehicle end obtaining first confirmation information according to the payment random number;

[0034] receiving a first confirmation message sent by the vehicle end, performing payment deduction based on the first confirmation information, and generating a second confirmation information after the deduction is completed;

[0035] The second confirmation information is sent to the vehicle end, and the vehicle end obtains the payment result.

[0036] In one embodiment, the payment tag includes a security module, and the step of performing payment deduction based on the first confirmation information and generating second confirmation information after the deduction is completed includes:

[0037] Performing a deduction verification on the first message verification code in the first confirmation information through the security module to obtain a deduction verification result;

[0038] When the deduction verification result is confirmed to be passed, the fare is deducted through the pre-bound application to obtain the deduction result;

[0039] If the deduction result is determined to be successful, generating a second message verification code;

[0040] Responding to the payment confirmation message in the first confirmation information to obtain a payment response message;

[0041] Second confirmation information is generated based on the second message verification code and the payment response message.

[0042] In addition, to achieve the above-mentioned purpose, the present application also proposes a payment device, which includes:

[0043] A response module, used to receive a payment request sent by a passenger terminal, and generate a payment application response based on the payment request;

[0044] A sending module, used for sending the payment application response to the passenger terminal, and the passenger terminal obtains a payment random number through a random number generation algorithm based on the payment application response;

[0045] A calculation module, configured to receive the payment random number sent by the passenger terminal, and perform calculation based on the payment random number to obtain first confirmation information;

[0046] A deduction module, used for sending the first confirmation information to the passenger terminal, and the passenger terminal performs payment deduction based on the first confirmation information, and generates second confirmation information after the deduction is completed;

[0047] The confirmation module is used to receive the second confirmation information sent by the passenger terminal and obtain the payment result based on the second confirmation information.

[0048] In addition, to achieve the above objectives, the present application also proposes a payment device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the payment method described above.

[0049] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the payment method described above are implemented.

[0050] One or more technical solutions proposed in this application have at least the following technical effects:

[0051] The embodiment of the present application proposes a payment method, device, equipment and computer program product, which generates a payment application response based on the payment request by receiving a payment request sent by the passenger end; sends the payment application response to the passenger end, and the passenger end obtains a payment random number through a random number generation algorithm based on the payment application response; receives the payment random number sent by the passenger end, calculates based on the payment random number, and obtains a first confirmation message; sends the first confirmation message to the passenger end, and the passenger end deducts payment based on the first confirmation message, and generates a second confirmation message after the deduction is completed; receives the second confirmation message sent by the passenger end, and obtains a payment result based on the second confirmation message. Thus, after receiving the payment request sent by the passenger end, a payment application response is generated through the UWB anchor point, the camera device and the payment platform, and then the passenger end obtains a payment random number based on the payment application response, and after receiving the payment random number, the first confirmation message is calculated, and then the passenger end deducts money based on the first confirmation message to obtain the second confirmation message, and finally obtains the payment result based on the second confirmation message, which solves the problem of low payment efficiency due to inconvenient payment methods when taking transportation, and improves the efficiency of payment. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0053] Figure 1 A schematic diagram of a payment method for the present application;

[0054] Figure 2 A schematic diagram of a UWB anchor point involved in the payment method of this application;

[0055] Figure 3 A brief flow chart of the payment method provided in Example 2 of the present application;

[0056] Figure 4 A schematic diagram of a payment tag involved in the payment method for this application;

[0057] Figure 5 A schematic diagram of the overall scheme involved in the payment method for this application;

[0058] Figure 6 A schematic diagram of various devices on the vehicle side involved in the payment method of this application;

[0059] Figure 7 This is a schematic diagram of the module structure of the payment device according to an embodiment of the present application;

[0060] Figure 8 This is a schematic diagram of the device structure of the hardware operating environment involved in the payment method in the embodiment of the present application.

[0061] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0062] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0063] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0064] The main solution of the embodiment of the present application is: based on the payment request, the position analysis of the passenger terminal is performed through the UWB anchor point and the camera device to obtain the passenger information; analyze whether the seating area in the passenger information is within the preset payment area; if the seating area is within the payment area, the payment request is parsed through the payment platform to obtain a payment application response. The payment request is parsed through the payment platform to obtain the payment tag information corresponding to the passenger terminal, wherein the payment tag information includes the tag number, the tag balance and the tag user information; based on the tag number, the preset tag blacklist is analyzed, and after determining that the tag blacklist does not have the tag number, the blacklist verification is outputted; the fare is queried according to the tag user information and the passenger information to obtain the fare information of the passenger terminal; based on the fare information, the payment verification is performed through the tag balance to obtain the payment verification result; if the payment verification result is passed, a payment application response is generated. Based on the payment random number, the first message verification code is calculated by the consumer security PSAM module of the UWB anchor point; a payment confirmation message is generated according to the payment application response and the payment random number, and the first confirmation information is output through the first message verification code and the payment confirmation message. The second confirmation information is verified by the UWB anchor point to obtain the amount verification result; if the amount verification result is passed, the payment result is obtained through the payment platform, and the corresponding user of the passenger end is notified. In response to the user's operation instruction, a payment request is sent to the vehicle end through the payment tag, and the vehicle end responds to the payment request to obtain a payment application response; the payment application response sent by the vehicle end is received, and a payment random number is generated based on the payment application response through a random number generation algorithm; the payment random number is sent to the vehicle end, and the vehicle end obtains the first confirmation information according to the payment random number; the first confirmation message sent by the vehicle end is received, and the payment deduction is performed based on the first confirmation information, and the second confirmation information is generated after the deduction is completed; the second confirmation information is sent to the vehicle end, and the vehicle end obtains the payment result. The first message verification code in the first confirmation information is deducted and verified by the security module to obtain the deduction verification result; when the deduction verification result is confirmed to be passed, the fare is deducted through the pre-bound application to obtain the deduction result; when the deduction result is determined to be successful, a second message verification code is generated; the payment confirmation message in the first confirmation information is responded to to obtain the payment response message; the second confirmation information is generated based on the second message verification code and the payment response message. This solves the problem of low payment efficiency due to inconvenient payment methods when taking transportation, realizes more convenient payment, and improves payment efficiency.Based on the scheme of the present invention, in reality, close-range payment must be made at a designated location, which can easily lead to congestion on public buses, and it is inconvenient to get change with physical currency. In addition, the QR code payment process is heavily dependent on the network, and it is easy to fail to pay when the network is not good. A payment method is designed, and the effectiveness of the payment method of the present invention is verified during payment. Finally, the efficiency of payment through the method of the present invention is significantly improved.

[0065] In this embodiment, for the convenience of description, the following description is made with the payment device as the execution subject.

[0066] In the prior art, public transportation payment is mostly made by physical currency, NFC payment and QR code payment. However, physical currency (coins or banknotes) has the problem of difficulty in making change. It is difficult to make change, and passengers must go to the door to insert coins. When there are many people, it is easy to cause congestion at the door. NFC payment, for passengers to pay with mobile phones, bus cards or UnionPay cards that support NFC technology, solves the problem of making change. However, because NFC is a short-distance (10cm) payment technology, passengers must go to the door to make NFC payment. When there are many people, it is also easy to cause congestion at the door. In addition, when QR code payment is used, passengers hold mobile phones that support QR code payment function to scan the code. After the on-board device reads the QR code, it relies on its own network capabilities to deduct the fees from the background account associated with the QR code. However, the payment process depends on the network. When the network is not good, there are cases where the fees cannot be deducted or the fees are delayed.

[0067] This application provides a solution that uses UWB, camera equipment and payment platforms to make payment deductions in public transportation payment scenarios. At the same time, the user's payment tag can complete automatic deductions and payments, providing users with more convenient services.

[0068] As can be seen from the above embodiments, the present application generates a payment application response based on the payment request by receiving the payment request sent by the passenger end; the payment application response is sent to the passenger end, and the passenger end obtains a payment random number through a random number generation algorithm based on the payment application response; the payment random number sent by the passenger end is received, and the payment random number is calculated based on the payment random number to obtain a first confirmation message; the first confirmation message is sent to the passenger end, and the passenger end deducts the payment based on the first confirmation message, and generates a second confirmation message after the deduction is completed; the second confirmation message sent by the passenger end is received, and the payment result is obtained based on the second confirmation message. Thus, after receiving the payment request sent by the passenger end, a payment application response is generated through the UWB anchor point, the camera device and the payment platform, and then the passenger end obtains a payment random number based on the payment application response. After receiving the payment random number, the first confirmation message is calculated, and then the passenger end deducts the payment based on the first confirmation message to obtain the second confirmation message, and finally the payment result is obtained based on the second confirmation message, which solves the problem of low payment efficiency due to inconvenient payment methods when taking transportation, and improves the efficiency of payment.

[0069] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a payment device, etc. The following takes the payment device as an example to illustrate this embodiment and the following embodiments.

[0070] Based on this, the present application embodiment provides a payment method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the payment method of the present application.

[0071] In this embodiment, the payment method includes steps S01 to S05:

[0072] Step S01, receiving a payment request sent by a passenger terminal, and generating a payment application response based on the payment request;

[0073] Step S02, sending the payment application response to the passenger terminal, and the passenger terminal obtains a payment random number through a random number generation algorithm based on the payment application response;

[0074] Step S03, receiving the payment random number sent by the passenger terminal, and performing calculation based on the payment random number to obtain first confirmation information;

[0075] Step S04, sending the first confirmation information to the passenger terminal, and the passenger terminal performs payment deduction based on the first confirmation information, and generates second confirmation information after the deduction is completed;

[0076] Step S05, receiving the second confirmation information sent by the passenger terminal, and obtaining the payment result based on the second confirmation information.

[0077] Before the present embodiment is described, it should be clear that in the prior art, there are three commonly used methods for transportation payment, namely:

[0078] 1. Payment with physical currency: passengers put physical currency (coins or banknotes) of the designated fare into the bus fare box. However, payment with physical currency has the following problems: (1) the change cannot be made and (2) passengers must go to the door to insert the coin, which can easily cause congestion at the door when there are many passengers.

[0079] 2. NFC payment: Passengers can use NFC-enabled mobile phones, bus cards, or UnionPay cards to pay, which solves the problem of change. However, since NFC is a short-distance (10 cm) payment technology, passengers must go to the door to make NFC payments, which can easily cause congestion at the door when there are many people.

[0080] 3. QR code payment: passengers use their mobile phones that support QR code payment to scan the code. After the onboard device reads the QR code, it relies on its own network capabilities to deduct the fees from the backend account associated with the QR code. The advantages are the same as NFC payment, which solves the change problem. The mobile phone does not need to rely on professional NFC hardware to make payments, and the business expansion speed is fast. However, there are also disadvantages: (1) The payment process depends on the network. When the network is not good, there may be situations where the fees cannot be deducted or the fees are delayed. (2) Based on the backend deduction of the onboard device, the bus company has the problem of asynchronous deduction failure, which leads to loss of operating revenue. (3) Like the first two payment methods, it is also a short-distance payment technology. Passengers must scan the code at the boarding door, which is easy to cause congestion at the door when there are many people.

[0081] Therefore, this embodiment proposes to use UWB combined with a payment platform to respond to the user's payment request, which can not only avoid the congestion problem when people get on the bus, but also enable passengers to trigger payment requests in a relatively simple way, and realize a non-sensitive payment process;

[0082] First, this solution includes the implementation of two ports, namely the vehicle side represented by the public transportation system (including buses, subways, and high-speed railways, etc.) and the passenger side represented by passengers. In this embodiment, the vehicle side is explained first;

[0083] After receiving the payment request sent by the passenger side, the UWB anchor point, camera device and payment platform in the vehicle side respond to the payment request and obtain the payment application. UWB is the abbreviation of Ultra-Wideband, which is a technology used for wireless communication and positioning. It uses a very wide frequency range to transmit data, which can provide high-speed data transmission rate and low power consumption. UWB technology is widely used in short-distance communication, indoor positioning, radar and sensor networks. In this embodiment, it can be set according to the size of the actual transportation equipment. For example, in a vehicle that can carry 48 passengers, 4 corresponding UWB anchor points are set based on specific seats. Each anchor point can be used to locate 12 people. The camera device can also be set like the above-mentioned UWB anchor point. The payment terminal acts on the entire vehicle side and performs corresponding processing based on the information received by the UWB anchor point and the camera device. Among them, the UWB anchor point in this embodiment is as follows Figure 2 As shown in the figure, the UWB anchor point is composed of four main functional modules: MCU (microprocessor), PSAM (security module), UWB module, and WIFI module. MCU is responsible for the task scheduling of the tag, PSAM is responsible for the consumption key storage, personalized data storage, and security application operation, transaction data verification, transaction process data verification, etc. of the payment tag, UWB module is responsible for the UWB communication between the anchor point and the tag end, and WIFI module is responsible for communicating with the in-vehicle payment platform;

[0084] After receiving the payment application response corresponding to the passenger side, the payment application response is sent to the passenger side. The passenger side generates a random number through a random number generation algorithm in response to the payment application response to obtain a payment random number.

[0085] After receiving the payment random number, the vehicle side calculates the first confirmation information based on the payment random number, i.e., the message verification code and the payment confirmation message, so that the passenger side can make payment and confirmation. The setting of the first confirmation information here can greatly avoid the problem of system crash due to too many requests when multiple people make payment at the same time;

[0086] The first confirmation information is sent to the passenger terminal, and the passenger terminal performs payment deduction based on the first confirmation information to obtain the second confirmation information;

[0087] Finally, the second confirmation information sent by the passenger side is received to obtain the payment result. It should be noted that in actual operation, the user only needs to issue a payment request, and the payment tag in the passenger side and the vehicle side can respond and operate each other to complete the entire payment process.

[0088] Specifically, the step S01 above, based on the payment request, generating a payment application response comprises:

[0089] Step S011, based on the payment request, the position of the passenger terminal is analyzed through the UWB anchor point and the camera device to obtain passenger information;

[0090] Step S012, analyzing whether the boarding area in the passenger information is within the preset payment area;

[0091] Step S013: If the riding area is within the payment area, the payment request is parsed through the payment platform to obtain a payment application response.

[0092] After receiving the user's payment request, the position of the passenger terminal is analyzed through the UWB anchor point and the camera device. It can be seen from the above content of this embodiment that the UWB anchor point can locate the corresponding passenger, but it is not ruled out that some passengers will accompany children and the elderly to ride together, but these people may not carry payment tags, so they can be synchronously acquired through the camera device to know the location information of the corresponding passenger terminal and whether there are accompanying persons. The payment request is issued by the passenger terminal, so the passenger can synchronously set the corresponding family member situation when setting the payment tag. For example, the family members include a 70-year-old man, the father of accompanying person 1, the mother of accompanying person 2, and the child under the age of 12 of accompanying person 3, and the corresponding personnel are exempted from billing based on the actual exemption policy. These can be stored in the payment tag, and the UWB anchor point and the camera device are used to obtain the passenger information;

[0093] After obtaining the passenger information, we can analyze whether the passenger's location information is within the detection range of the UWB anchor point. If not, we need to obtain the actual passenger location through the payment platform to notify the corresponding UWB anchor point and camera equipment to obtain information and confirm payment.

[0094] When it is finally determined through the UWB anchor point that the passenger is in the payment area, the payment request can be analyzed through the payment platform to obtain a payment application response.

[0095] More specifically, the step S013 of parsing the payment request through the payment platform to obtain a payment application response includes:

[0096] Step S0131, parsing the payment request through the payment platform to obtain the payment tag information corresponding to the passenger terminal, wherein the payment tag information includes the tag number, tag balance and tag user information;

[0097] Step S0132, based on the tag number, analyzing through a preset tag blacklist, after determining that the tag number does not exist in the tag blacklist, outputting that the passenger terminal has passed the blacklist verification;

[0098] Step S0133, querying the fare according to the tag user information and the passenger information to obtain the fare information of the passenger terminal;

[0099] Step S0134, based on the fare information, performing payment verification through the tag balance to obtain a payment verification result;

[0100] Step S0135: If the payment verification result is passed, a payment application response is generated.

[0101] After confirming that the passenger is already in the payment area, the payment request is parsed through the payment platform to obtain the corresponding payment tag information of the passenger. It should be clear that the payment tag information at least includes the tag number, tag balance and tag user information;

[0102] Then, the tag number in the payment tag information can be blacklist verified through the preset tag blacklist to check whether the current passenger terminal is in the blacklist. If so, it means that the current passenger terminal has unpaid or abnormal conditions and needs to be processed accordingly before payment can be made. If the passenger terminal does not exist in the payment blacklist, it can be output that the current passenger terminal has passed the blacklist verification;

[0103] After confirming that the current passenger is the same person as the previously recorded tag user information, the corresponding fare calculation is required based on the passenger information (including the elderly and children) to obtain the fare information required for this ride;

[0104] Since there is a corresponding tag balance in the payment tag, payment verification can be performed first at this time to prioritize whether the current passenger can pay for the trip. If payment is not possible, the passenger can be notified to recharge the balance first to avoid subsequent payment deduction failures. When the payment verification is passed, it can be determined that the current passenger can ride and generate a payment application response.

[0105] Furthermore, in the above step S03, the step of receiving the payment random number sent by the passenger terminal and performing calculation based on the payment random number to obtain the first confirmation information includes:

[0106] Step S031, based on the payment random number, a first message authentication code is calculated by the consumer security PSAM module of the UWB anchor point;

[0107] Step S032: Generate a payment confirmation message according to the payment application response and the payment random number, and output first confirmation information through the first message verification code and the payment confirmation message.

[0108] After the payment application response is sent to the passenger end, the passenger end will generate a payment random number accordingly, and then calculate the first message verification code through the consumer security PSAM module in the UWB anchor point on the vehicle end, and generate a payment confirmation message based on the payment application response and the payment random number. The payment confirmation message is generated based on the payment application response and the payment random number, so when it returns, it will find the corresponding passenger end for transmission, avoiding problems in data transmission that cause a bad experience for passengers;

[0109] Finally, the first confirmation information is output through the first message verification code and the payment confirmation message for confirmation to the passenger side.

[0110] Furthermore, in the above step S05, the step of receiving the second confirmation information sent by the passenger terminal, and obtaining the payment result based on the second confirmation information includes:

[0111] Step S051, verifying the amount of the second confirmation information through the UWB anchor point to obtain an amount verification result;

[0112] Step S052, when the amount verification result is passed, the payment result is obtained through the payment platform and the corresponding user of the passenger end is notified.

[0113] After receiving the second confirmation information sent by the passenger, the amount of the second confirmation information is verified through the UWB anchor point, and the payment result of the passenger can be obtained. It should be clear that in the second confirmation information sent by the passenger, the passenger has completed the payment accordingly, so the UWB anchor point can verify the corresponding payment wallet of the vehicle and obtain the current payment result of the passenger.

[0114] If the amount verification result is passed, this information can be sent to the payment platform, and the payment platform outputs the corresponding payment result. The payment result displayed in this embodiment is for the corresponding passenger to see, so it is preferentially displayed on the display screen, that is, the payment result of the current user is displayed on the display screen as successful payment. It can also be transmitted through a mobile device, that is, the corresponding payment result is sent to the corresponding user (passenger) to make him aware of it.

[0115] This embodiment adopts the above scheme, specifically by receiving the payment request sent by the passenger end, generating a payment application response based on the payment request; sending the payment application response to the passenger end, and the passenger end obtains the payment random number through the random number generation algorithm based on the payment application response; receiving the payment random number sent by the passenger end, calculating based on the payment random number to obtain the first confirmation information; sending the first confirmation information to the passenger end, and the passenger end deducts the payment based on the first confirmation information, and generates the second confirmation information after the deduction is completed; receiving the second confirmation information sent by the passenger end, and obtaining the payment result based on the second confirmation information. Thus, after receiving the payment request sent by the passenger end, the payment application response is generated through the UWB anchor point, the camera device and the payment platform, and then the passenger end obtains the payment random number based on the payment application response, and after receiving the payment random number, the first confirmation information is calculated, and then the passenger end deducts the payment based on the first confirmation information to obtain the second confirmation information, and finally the payment result is obtained based on the second confirmation information, which solves the problem of low payment efficiency due to inconvenient payment methods when taking transportation, and improves the payment efficiency.

[0116] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 The payment method of the present application also has a corresponding passenger-side solution, which includes a payment tag in the passenger side. The payment method of the present application includes steps S06 to S10:

[0117] Step S06, in response to the user's operation instruction, sending a payment request to the vehicle end through the payment tag, and the vehicle end responds to the payment request to obtain a payment application response;

[0118] Step S07, receiving a payment application response sent by the vehicle end, and generating a payment random number through a random number generation algorithm based on the payment application response;

[0119] Step S08, sending the payment random number to the vehicle end, and the vehicle end obtaining first confirmation information according to the payment random number;

[0120] Step S09, receiving a first confirmation message sent by the vehicle end, performing payment deduction based on the first confirmation information, and generating a second confirmation information after the deduction is completed;

[0121] Step S10, sending the second confirmation information to the vehicle end, and obtaining the payment result by the vehicle end.

[0122] In the above-mentioned embodiment, the operation method of the vehicle side in the application method of this solution has been described, so in this embodiment, the operation method of the corresponding passenger side is mainly described;

[0123] The payment on the passenger side is mainly completed through the payment tag. In this embodiment, the payment tag is as follows: Figure 4 As shown in the figure, the payment tag consists of three main functional modules: MCU (microprocessor), SE (security module), and UWB module. MCU is responsible for the task scheduling of the tag, SE is responsible for the key storage, personalized data storage, and security application running of the payment tag, and the UWB module is responsible for the UWB communication between the anchor point and the tag end. The human-machine interface is a function of interacting with people in the form of buttons, indicator lights, buzzers, and display screens.

[0124] After the user (passenger) gets on the bus or takes a seat, a payment request is sent to the UWB anchor point corresponding to the vehicle side, and the vehicle side responds to the payment request and obtains a payment application response;

[0125] After receiving the payment application response, the passenger terminal generates a payment random number based on the payment application response through a random number generation algorithm, and then sends the payment random number to the vehicle terminal, and the vehicle terminal obtains the first confirmation information based on the payment random number;

[0126] A first confirmation message sent by the vehicle end is received, and payment is deducted based on the first confirmation message. After the deduction is completed, a second confirmation message is generated, and finally the second confirmation message is sent to the vehicle end, and the vehicle end obtains the payment result.

[0127] Specifically, the payment tag includes a security module. Step S09, the step of performing payment deduction based on the first confirmation information and generating second confirmation information after the deduction is completed includes:

[0128] Step S091, performing a deduction verification on the first message verification code in the first confirmation information through the security module to obtain a deduction verification result;

[0129] Step S092, when confirming that the deduction verification result is passed, deducting the fare through the pre-bound application to obtain the deduction result;

[0130] Step S093, when it is determined that the deduction result is successful, generating a second message verification code;

[0131] Step S094, responding to the payment confirmation message in the first confirmation information to obtain a payment response message;

[0132] Step S095: Generate second confirmation information based on the second message verification code and the payment response message.

[0133] After obtaining the first confirmation information, the payment tag can complete the payment accordingly. It is known that the first confirmation information includes the first message verification code and the payment confirmation message. The first message verification code is calculated by the consumer security PSAM module of the UWB anchor point in the vehicle end, so the security of payment based on it is also guaranteed;

[0134] The passenger terminal in this embodiment also uses the security module to perform a deduction verification on the first message verification code to determine whether the deduction can be performed. If the verification is successful, the fare is deducted through a pre-bound application (e-wallet, WeChat, Alipay and other payment programs) to obtain a deduction result;

[0135] After the deduction is completed, a second message verification code is generated, and a payment response message is obtained in response to the payment confirmation message in the first confirmation information;

[0136] Finally, second confirmation information is generated based on the second message verification code and the payment response message.

[0137] This embodiment uses the above scheme, specifically responds to the user's operation instruction, sends a payment request to the vehicle side through the payment tag, and the vehicle side responds to the payment request to obtain a payment application response; receives the payment application response sent by the vehicle side, and generates a payment random number based on the payment application response through a random number generation algorithm; sends the payment random number to the vehicle side, and the vehicle side obtains a first confirmation information based on the payment random number; receives the first confirmation message sent by the vehicle side, deducts payment based on the first confirmation information, and generates a second confirmation information after the deduction is completed; sends the second confirmation information to the vehicle side, and the vehicle side obtains the payment result. Therefore, after receiving the payment request sent by the passenger side, a payment application response is generated through the UWB anchor point, the camera device and the payment platform, and then the passenger side obtains the payment random number based on the payment application response. After receiving the payment random number, the first confirmation information is calculated, and then the passenger side deducts money based on the first confirmation information to obtain the second confirmation information. Finally, the payment result is obtained based on the second confirmation information, which solves the problem of low payment efficiency due to inconvenient payment methods when taking transportation, and improves the payment efficiency.

[0138] For example, to help understand the implementation process of the payment method obtained by combining this embodiment with the above-mentioned embodiment 1, please refer to Figure 5 , Figure 5 A brief flow chart of a payment method is provided, specifically:

[0139] like Figure 6As shown, the vehicle end in this embodiment is connected to two UWB anchor points by the original on-board payment terminal via WIFI, forming a new bus on-board "point to pay" payment system;

[0140] During the operation of a vehicle equipped with this payment system, passengers do not need to swipe their cards when boarding. After taking their seats, passengers only need to take out a tag product with the UWB payment function and point it to one of the two anchor points installed on the roof to complete the entire payment. The specific process is as follows:

[0141] The passenger holds the payment tag and detects that the anchor point is within the tag pointing range of plus or minus 10 degrees. The payment tag initiates a payment request to the payment anchor point.

[0142] The UWB anchor receives the payment application from the payment tag and locates the payment tag within the vehicle compartment, then sends the payment tag data to the vehicle payment terminal via WIFI;

[0143] After receiving the payment tag data, the on-board payment terminal checks the validity of the payment tag data, including the payment tag validity period check, payment tag status check, payment tag blacklist check, payment balance check, etc. If the check fails, the payment failure information is displayed on the on-board payment terminal at the same time, and the payment anchor point is responded to with the payment failure information. After the UWB anchor point receives the payment failure response from the payment terminal, it organizes the data to respond to the tag with the payment failure information. After the payment tag receives the payment failure response from the payment anchor point, the payment ends;

[0144] If the check is passed, the on-board payment terminal calculates the fare and responds to the UWB anchor point information. After receiving the validity check normal message and payment fare information from the on-board payment terminal, the UWB anchor point responds to the payment tag with a payment application response;

[0145] After receiving the payment request response, the payment tag generates random number data and sends it to the UWB anchor point. The UWB anchor point calculates MAC1 (Message Authentication Code 1) based on the random number data and its own PSAM, and sends MAC1 and payment confirmation message back to the payment tag.

[0146] The payment tag uses its own SE to verify MAC1. After verification, it executes wallet deduction and generates MAC2, and responds the result to the payment UWB anchor point;

[0147] The UWB anchor verifies MAC2 (Message Authentication Code 2) and sends a payment success message to the vehicle payment terminal via WIFI;

[0148] After the in-vehicle payment terminal receives the message, a payment success interface is displayed on the in-vehicle payment terminal, and the payment is completed.

[0149] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the payment method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0150] This application also provides a payment device, please refer to Figure 7 , the payment device comprises:

[0151] The response module 10 is used to receive the payment request sent by the passenger terminal and generate a payment application response based on the payment request;

[0152] A sending module 20, configured to send the payment application response to the passenger terminal, and the passenger terminal obtains a payment random number through a random number generation algorithm based on the payment application response;

[0153] The calculation module 30 is used to receive the payment random number sent by the passenger terminal, and perform calculation based on the payment random number to obtain the first confirmation information;

[0154] A deduction module 40 is used to send the first confirmation information to the passenger terminal, and the passenger terminal performs payment deduction based on the first confirmation information, and generates second confirmation information after the deduction is completed;

[0155] The confirmation module 50 is used to receive the second confirmation information sent by the passenger terminal and obtain the payment result based on the second confirmation information.

[0156] The payment device provided by the present application adopts the payment method in the above embodiment, which can solve the technical problem of low payment efficiency due to inconvenient payment methods when taking transportation. Compared with the prior art, the beneficial effects of the payment device provided by the present application are the same as the beneficial effects of the payment method provided by the above embodiment, and other technical features in the payment device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0157] The present application provides a payment device, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the payment method in the above-mentioned embodiment 1.

[0158] Reference below Figure 8, which shows a schematic diagram of the structure of a payment device suitable for implementing the embodiments of the present application. The payment device in the embodiments of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions: tablet computers), PMPs (Portable Media Players: portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The payment device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0159] like Figure 8 As shown, the payment device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the xxx device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the payment device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a payment device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0160] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0161] The payment device provided by this application adopts the payment method in the above embodiment, which can solve the technical problem of low payment efficiency due to inconvenient payment methods when taking transportation. Compared with the prior art, the beneficial effects of the payment device provided by this application are the same as the beneficial effects of the payment method provided by the above embodiment, and other technical features in the payment device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0162] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0163] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0164] The present application also provides a computer program product, including a computer program, which implements the steps of the payment method as described above when executed by a processor.

[0165] The computer program product provided by this application can solve the technical problem of low payment efficiency due to inconvenient payment methods when taking transportation. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the payment method provided in the above embodiment, which will not be repeated here.

[0166] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A payment method, characterized in that: The payment method is applied to the vehicle side, and the method includes: Receive a payment request sent by the passenger terminal, and generate a payment application response based on the payment request; The vehicle end includes an ultra-wideband UWB anchor point and a camera device, and the step of generating a payment application response based on the payment request includes: Based on the payment request, the position of the passenger terminal is analyzed by the UWB anchor point and the camera device to obtain passenger information; Wherein, the step of performing position analysis on the passenger terminal through the UWB anchor point and the camera device based on the payment request to obtain the passenger information includes: After determining the position of the passenger terminal through the UWB anchor point, obtaining the accompanying person information of the passenger terminal through the camera device, and outputting the passenger information based on the accompanying person information; Analyzing whether the boarding area in the passenger information is within the preset payment area; If the riding area is within the payment area, the payment request is parsed through the payment platform to obtain a payment application response; The payment application response is sent to the passenger terminal, and the passenger terminal obtains a payment random number through a random number generation algorithm based on the payment application response; Receiving the payment random number sent by the passenger terminal, and performing calculation based on the payment random number to obtain first confirmation information; The first confirmation information is sent to the passenger terminal, and the passenger terminal performs payment deduction based on the first confirmation information, and generates second confirmation information after the deduction is completed; Receive second confirmation information sent by the passenger terminal, and obtain a payment result based on the second confirmation information.

2. The method according to claim 1, characterized in that The step of parsing the payment request through the payment platform to obtain a payment application response includes: Parsing the payment request through the payment platform to obtain payment tag information corresponding to the passenger terminal, wherein the payment tag information includes a tag number, a tag balance, and tag user information; Based on the tag number, analyzing through a preset tag blacklist, after determining that the tag number does not exist in the tag blacklist, outputting that the passenger terminal has passed the blacklist verification; Perform a fare query based on the tag user information and the passenger information to obtain the fare information of the passenger terminal; Based on the fare information, performing payment verification through the tag balance to obtain a payment verification result; If the payment verification result is passed, a payment application response is generated.

3. The method according to claim 1, characterized in that The step of receiving the payment random number sent by the passenger terminal and performing calculation based on the payment random number to obtain the first confirmation information comprises: Based on the payment random number, a first message authentication code is calculated by a consumer security PSAM module of the UWB anchor point; A payment confirmation message is generated according to the payment application response and the payment random number, and first confirmation information is output through the first message verification code and the payment confirmation message.

4. The method according to claim 1, characterized in that The step of receiving the second confirmation information sent by the passenger terminal and obtaining the payment result based on the second confirmation information comprises: Performing amount verification on the second confirmation information through the UWB anchor point to obtain an amount verification result; When the amount verification result is passed, the payment result is obtained through the payment platform and the corresponding user of the passenger end is notified.

5. A payment method, characterized in that: The payment method is applied to the passenger terminal, the passenger terminal includes a payment tag, and the payment method includes: In response to the user's operation instruction, a payment request is sent to the vehicle end through the payment tag, and the vehicle end responds to the payment request to obtain a payment application response; The vehicle end includes an ultra-wideband UWB anchor point and a camera device, and the step of the vehicle end responding to the payment request and obtaining a payment application response includes: Based on the payment request, the position of the passenger terminal is analyzed by the UWB anchor point and the camera device to obtain passenger information; Wherein, the step of performing position analysis on the passenger terminal through the UWB anchor point and the camera device based on the payment request to obtain the passenger information includes: After determining the position of the passenger terminal through the UWB anchor point, obtaining the accompanying person information of the passenger terminal through the camera device, and outputting the passenger information based on the accompanying person information; Analyzing whether the boarding area in the passenger information is within the preset payment area; If the riding area is within the payment area, the payment request is parsed through the payment platform to obtain a payment application response; Receiving a payment application response sent by the vehicle end, and generating a payment random number through a random number generation algorithm based on the payment application response; Sending the payment random number to the vehicle end, and the vehicle end obtaining first confirmation information according to the payment random number; receiving a first confirmation message sent by the vehicle end, performing payment deduction based on the first confirmation information, and generating a second confirmation information after the deduction is completed; The second confirmation information is sent to the vehicle end, and the vehicle end obtains the payment result.

6. The method according to claim 5, characterized in that The payment tag includes a security module, and the step of performing payment deduction based on the first confirmation information and generating second confirmation information after the deduction is completed includes: Performing a deduction verification on the first message verification code in the first confirmation information through the security module to obtain a deduction verification result; When the deduction verification result is confirmed to be passed, the fare is deducted through the pre-bound application to obtain the deduction result; If the deduction result is determined to be successful, generating a second message verification code; Responding to the payment confirmation message in the first confirmation information to obtain a payment response message; Second confirmation information is generated based on the second message verification code and the payment response message.

7. A payment device, characterized in that: The payment device is applied to a vehicle end, the vehicle end includes an ultra-wideband UWB anchor point, a camera device and a payment platform, and the device includes: A response module, used to receive a payment request sent by a passenger terminal, and generate a payment application response based on the payment request; Wherein, the step of generating a payment application response based on the payment request includes: Based on the payment request, the position of the passenger terminal is analyzed by the UWB anchor point and the camera device to obtain passenger information; Wherein, the step of performing position analysis on the passenger terminal through the UWB anchor point and the camera device based on the payment request to obtain the passenger information includes: After determining the position of the passenger terminal through the UWB anchor point, obtaining the accompanying person information of the passenger terminal through the camera device, and outputting the passenger information based on the accompanying person information; Analyzing whether the boarding area in the passenger information is within the preset payment area; If the riding area is within the payment area, the payment request is parsed through the payment platform to obtain a payment application response; A sending module, used for sending the payment application response to the passenger terminal, and the passenger terminal obtains a payment random number through a random number generation algorithm based on the payment application response; A calculation module, configured to receive the payment random number sent by the passenger terminal, and perform calculation based on the payment random number to obtain first confirmation information; A deduction module, used for sending the first confirmation information to the passenger terminal, and the passenger terminal performs payment deduction based on the first confirmation information, and generates second confirmation information after the deduction is completed; The confirmation module is used to receive the second confirmation information sent by the passenger terminal and obtain the payment result based on the second confirmation information.

8. A payment device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the payment method according to any one of claims 1 to 6.

9. A computer program product, characterized in that The computer program product comprises a computer program, which implements the steps of the payment method according to any one of claims 1 to 6 when executed by a processor.