Payment service processing method and device, equipment and medium
By judging the distance between the first device and the second device, the security of NFC payment is determined, which solves the payment risk problem existing in the existing NFC payment business processing and improves the security of the payment business.
Patent Information
- Application Number
- CN202411047325.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-08-30
AI Technical Summary
Existing NFC payment business processing methods have payment risks, especially after illegal users crack the NFC tag information, which may lead to user funds being defrauded or misappropriated.
By obtaining the tag information in the payment processing request sent by the first device, determining the second device used to store the tag information, and determining whether the distance between the first device and the second device is less than or equal to the preset distance, generating and feedback The processing result information of the payment processing request to determine whether the transaction is risky.
It effectively reduces the risk of user funds being defrauded or misappropriated, improves the security of payment services, and ensures the safety of user funds.
Smart Images

Figure CN118569857A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device, equipment and medium for processing payment services. Background Art
[0002] With the development of computer technology, more and more businesses can be processed through mobile terminals, such as online payment, scanning code to take a bus, etc. In recent years, NFC technology has also been widely used in payment services due to its low cost and convenience, such as taking the subway and bus by swiping an NFC card. Therefore, how to improve the security of payment is a technical problem that needs to be solved urgently. Summary of the invention
[0003] The embodiments of this specification provide a method, apparatus, device and medium for processing a payment service to solve the problem of payment risk in existing payment service processing methods.
[0004] To solve the above technical problems, the embodiments of this specification are implemented as follows: The embodiment of this specification provides a method for processing a payment service, including: Obtaining a payment processing request sent by the first device; the payment processing request including tag information for storing in an NFC tag of the second device; Based on the tag information, determining a second device for storing the tag information; Determine whether the distance between the first device and the second device is less than or equal to a preset distance, and obtain a first determination result; Based on the first judgment result, generating processing result information corresponding to the payment processing request; Feedback the processing result information to the first device.
[0005] The embodiment of this specification provides a method for processing a payment service, including: The first device obtains tag information for processing a payment service; Based on the tag information, a payment processing request is sent to a server; the server can execute a payment service processing flow for the payment processing request based on a positional relationship between the first device and a second device for storing the tag information and feed back processing result information; Based on the processing result information provided by the server, a payment service processing result page is displayed.
[0006] The embodiment of this specification provides a payment service processing device, including: A payment processing request acquisition module, used to acquire a payment processing request sent by the first device; the payment processing request includes tag information for storing in an NFC tag of the second device; A second device determining module, used to determine a second device for storing the tag information based on the tag information; a distance determination module, configured to determine whether the distance between the first device and the second device is less than or equal to a preset distance, and obtain a first determination result; A processing result information generating module, used for generating processing result information corresponding to the payment processing request based on the first judgment result; The processing result information feedback module is used to feed back the processing result information to the first device.
[0007] The embodiment of this specification provides a payment service processing device, including: A label information acquisition module, used to acquire label information used to process payment services; A payment processing request sending module, used to send a payment processing request to a server based on the tag information; the server can execute a payment service processing flow for the payment processing request based on the positional relationship between the first device and the second device for storing the tag information and feed back processing result information; The page display module is used to display the payment service processing result page based on the processing result information provided by the server.
[0008] The embodiment of this specification provides a payment service processing device, including: at least one processor; and, a memory 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 to enable the at least one processor to perform a payment service processing method.
[0009] An embodiment of the present specification provides a computer-readable medium on which computer-readable instructions are stored. The computer-readable instructions can be executed by a processor to implement a method for processing a payment service.
[0010] At least one embodiment of this specification can achieve the following beneficial effects: by obtaining the tag information contained in the payment processing request sent by the first device, determining the second device for storing the tag information, if the distance between the first device and the second device is less than or equal to the preset distance, generating the processing result information corresponding to the payment processing request, and feeding the processing result information back to the first device. In the NFC payment scenario, since the communication distance of NFC is short, the distance between the first device and the second device providing the NFC tag information should be relatively close under normal circumstances. In the embodiment of this specification, it can be determined whether there is a risk in the current transaction based on the distance between the first device and the second device, thereby reducing the risk of user funds being defrauded or misappropriated, and improving the security of payment services. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the drawings required for use in the embodiments or the prior art description are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor.
[0012] Figure 1 This is a schematic diagram of an application scenario of a payment service processing method provided in an embodiment of this specification; Figure 2 It is a flowchart of a payment service processing method provided in an embodiment of this specification; Figure 3 is a schematic diagram of a processing result page provided in an embodiment of this specification; Figure 4 It is a swim lane diagram of a payment service processing method provided in an embodiment of this specification; Figure 5 It is a flowchart of a payment service processing method provided in an embodiment of this specification; Figure 6 This specification provides an embodiment corresponding to Figure 2 A schematic diagram of the structure of a device for processing payment services; Figure 7 This specification provides an embodiment corresponding to Figure 5 A schematic diagram of the structure of a device for processing payment services; Figure 8 It is a structural diagram of a payment service processing device provided in an embodiment of this specification. DETAILED DESCRIPTION
[0013] In order to make the purpose, technical solutions and advantages of one or more embodiments of this specification clearer, the technical solutions of one or more embodiments of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of one or more embodiments of this specification.
[0014] NFC payment can be a mobile payment method based on near field communication technology. Users can use NFC-enabled devices to make contactless payments. During the payment process, the user's device communicates wirelessly with the merchant's terminal via NFC to achieve fast payment. For example, in a public transportation scenario, the user's terminal can be read as an NFC tag by the gate on the bus to complete the payment; or when taking the subway, the user uses the user terminal to touch the gate on the subway, and the user terminal can be read as an NFC tag or card by the gate on the subway to complete the payment.
[0015] In actual applications, users can use the NFC card reader mode set in the user terminal to read the payment link on the merchant device containing the NFC tag, and complete the payment based on the payment link. However, some illegal users may crack the tag information in the NFC tag on the merchant device to obtain the payment link, and package the payment link or directly forward it to the user, so that the user can complete the fund transaction after clicking the link sent by the illegal user through other devices, resulting in the problem of user funds being stolen or defrauded.
[0016] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.
[0017] In order to solve the defects in the prior art, this solution provides the following embodiments: Figure 1 A schematic diagram of an application scenario of a payment service processing method provided in an embodiment of this specification.
[0018] like Figure 1As shown, the scheme may include a first device 1, a server 2 and a second device 3. The first device 1 may be a user terminal device with a function of reading an NFC tag, such as a mobile user terminal device such as a mobile phone, a tablet, a smart watch, a wearable smart device and a laptop computer. The second device 3 may be a device associated with an NFC tag, and may also be called an NFC device. For example, an NFC tag may be built into the second device 3, or the NFC tag may be set separately from the second device. The second device may write tag information into the NFC tag, or modify tag information in the NFC tag. In practical applications, the first device may obtain tag information in the second device by approaching the second device, such as by sticking the first device and the second device together, or by touching them together. The first device 1 may send a payment processing request generated based on the acquired tag information to the server 2. The server 2 may determine the corresponding second device 3 based on the tag information contained in the payment processing request sent by the first device 1, and then determine whether the distance between the first device 1 and the second device 3 is less than or equal to the preset distance based on the positions of the two. The server 2 may process the payment processing request based on the judgment result to obtain processing result information.
[0019] In actual applications, there may be some unconventional operations. For example, an illegal user cracks the tag information in the second device, obtains the payment link information contained in the tag information, packages the payment link information through other devices or sends it directly to the first device. The first device generates a payment processing request based on the payment link information sent by other devices and sends it to the server.
[0020] Next, a payment service processing method provided in the embodiment of the specification will be specifically described with reference to the accompanying drawings: Figure 2 A schematic diagram of a payment service processing method provided in an embodiment of the present specification. From a program perspective, the execution subject of the process can be a program installed on an application server or an application client.
[0021] like Figure 2 As shown, the process may include the following steps: Step 202: Obtain a payment processing request sent by the first device; the payment processing request includes tag information for storing in an NFC tag of the second device.
[0022] In the embodiments of this specification, the first device may be a user terminal device equipped with an iOS system or an Android system, or may be a user terminal device equipped with other systems such as a Hongmeng system, such as a mobile phone, a computer, a smart watch, and other smart wearable devices. The first device may have the function of reading an NFC tag, and may be used as a card reader to read the tag information in the NFC tag. The second device may be a device associated with an NFC tag, for example, the second device may include an NFC tag, or the second device may be connected to other devices including an NFC tag by wire or wirelessly, so that the tag information in the NFC tag can be entered or modified. The tag information may be a string that conforms to a preset rule, for example, it may be a link, such as a URL link. The tag information may include identification information representing the second device, order identification information, and may also include token information generated according to the tag information, etc. The content of the specific tag information is not specifically limited here.
[0023] In actual applications, the server can generate tag information according to business needs and send it to the second device so that the second device stores the tag information in the associated NFC tag. The second device is a device that can interact normally with the server and can be understood as a device that has been registered in the server.
[0024] The payment processing request is generated by the first device based on the acquired tag information. The acquired tag information here can be the tag information acquired by the first device through NFC communication between the second device storing the NFC tag and the first device; or it can be the tag information sent to the first device through other devices or methods after an illegal user cracks the NFC tag of the second device.
[0025] The payment processing request may include all the information in the tag information, part of the information in the tag information, relevant information of the first device, and so on.
[0026] Step 204: Based on the tag information, determine a second device for storing the tag information.
[0027] In the embodiment of this specification, the server can generate tag information according to business needs and send it to the second device, and can also save the corresponding relationship between the tag information and the second device that receives the tag information. The corresponding relationship can be used to find the corresponding second device according to the tag information.
[0028] For example, in an NFC payment scenario, the merchant's cash register system can be connected to the second device. After the cashier confirms the payment through the merchant's cash register system, the merchant's cash register system requests the server to generate tag information; or after the tag information is read, the second device requests the server to generate tag information; or the server actively sends the tag information to the second device, which is not specifically limited here.
[0029] Step 206: Determine whether the distance between the first device and the second device is less than or equal to a preset distance, and obtain a first determination result.
[0030] The server may obtain the second location information of the second device after determining the second device, or the second device may send the location information to the server in real time, and the server may also store the second location information of the second device. The first device may carry its own first location information in the payment processing request sent to the server, or the server may obtain the first location information of the first device after obtaining the payment processing request sent by the first device. The first location information and the second location information may be location information obtained based on mobile location services (Location-Based Services, LBS), or location information obtained through positioning systems such as the Global Positioning System (GPS), BeiDou Navigation Satellite System (BeiDou Navigation Satellite System, BDS), or the location information of the device may be obtained through the WIFI or Bluetooth connection of the device.
[0031] In actual applications, the location information obtained by the server may be the real-time location information of the device or the location information cached by the device.
[0032] The distance in the embodiments of this specification can be calculated based on the first location information and the second location information, and can represent the distance between the first device and the second device. The distance can be expressed in the form of an absolute value. The preset distance can be determined based on the sensing distance of NFC, or based on the historical payment distance in the historical payment data, and is not specifically limited here.
[0033] Step 208: Based on the first judgment result, generate processing result information corresponding to the payment processing request.
[0034] In the embodiments of this specification, if the first judgment result indicates that the distance between the first device and the second device is less than or equal to the preset distance, it means that the distance between the first device and the second device is relatively close, and the generated payment processing request is safe, and the server can respond to the payment processing request sent by the first device to generate corresponding processing result information. If the first judgment result indicates that the distance between the first device and the second device is greater than the preset distance, it means that the distance between the first device and the second device is relatively far and has exceeded the normal NFC payment distance, which can indicate that the current payment is abnormal and there is a payment risk. The server may not respond to the payment processing request sent by the first device, or after responding to the payment processing request sent by the first device, the payment processing request does not perform subsequent transaction processing and will not generate actual resource transfer, and can generate processing result information indicating transaction failure or abnormality.
[0035] In actual applications, the tag information can be an accessible link information. An illegal user may crack the tag information in the second device storing the tag information through some illegal means, and send the tag information to the user device through an instant messaging application or some web pages that can carry the tag information. If the user clicks on the obtained tag information, such as after the link, the user device may also send a payment processing request to the server. In this case, the distance between the second device and the first device held by the user will exceed the normal NFC payment distance, and it can be determined that the payment processing request sent by the user is risky.
[0036] Step 210: Feedback the processing result information to the first device.
[0037] In the embodiments of this specification, if the payment processing request does not have risks, the server can process the request and feedback information indicating that the transaction is successful, and the first device can display a result page indicating that the transaction is successful, which includes transaction amount information, payment method, counterparty information, etc. If the payment processing request has risks, information indicating that the transaction is abnormal or failed can be fed back, and the first device can display a result page indicating that the transaction is abnormal or failed, which includes transaction amount information, and information about the reasons for the abnormal or failed transaction, etc.
[0038] It should be understood that the order of some steps in the methods described in one or more embodiments of this specification can be interchanged according to actual needs, or some steps can be omitted or deleted. In addition, the information obtained in each embodiment of this specification is obtained and used with the authorization of the user.
[0039] Figure 2In the method, by obtaining the tag information contained in the payment processing request sent by the first device, the second device storing the tag information is determined, and then the distance between the first device and the second device can be determined, and it is judged whether the distance between the two is less than or equal to the preset distance. The payment processing request is processed according to the judgment result, and the payment processing result information is obtained and fed back to the first device. In the NFC payment scenario, due to the short communication distance of NFC, the distance between the first device and the second device providing the NFC tag information should be relatively close under normal circumstances. In the embodiment of this specification, whether there is a risk in the payment processing request can be judged by the distance between the first device and the second device, so as to avoid illegal elements from defrauding or misappropriating user funds, ensure the user's fund security, and improve the security of payment.
[0040] based on Figure 2 The method, the examples of this specification also provide some specific implementation plans of the method, which are described below.
[0041] As an implementation manner, optionally, the generating of the processing result information corresponding to the payment processing request based on the first judgment result in the embodiments of this specification may specifically include: If the first judgment result indicates that the distance is less than or equal to the preset distance, executing the payment processing flow; Based on the payment processing flow, payment result information indicating the payment result is generated.
[0042] The payment processing flow in the embodiments of this specification may represent a flow for processing a payment processing request, such as reading the information carried in the payment processing request, deducting the transaction amount from the corresponding user account, and transferring the deducted transaction amount to the payee's account. There may be two payment results. One is a payment result indicating a successful payment, which may generate payment result information containing transaction amount information. The payment result information may also contain information such as the merchant name and the user payment account name, so as to display the transaction result page on the first device. The other is a payment result indicating a failed payment, which may generate payment result information containing information such as the reason for the payment failure. The reasons for payment failure may include network anomalies, insufficient balance in the user account, payment timeout, etc., or other reasons for payment failure, which are not listed here one by one.
[0043] As an implementation manner, optionally, the generating of the processing result information corresponding to the payment processing request based on the first judgment result in the embodiments of this specification may specifically include: If the first judgment result indicates that the distance is greater than the preset distance, information indicating payment abnormality is generated.
[0044] In the embodiments of this specification, if the first judgment result indicates that the distance between the first device and the second device is greater than the preset distance, it can indicate that the first device and the second device have exceeded the normal distance for NFC payment, and the payment processing flow can be terminated or not started. The payment abnormality information can be information that prompts the user that there is an abnormality in the current transaction. In addition to generating information indicating payment abnormality, the server can also generate prompt information for prompting the user to use near field communication to make payment; it can also generate prompt information that prompts the user that the link clicked by the user is risky, etc.
[0045] In order to clearly explain the display page of the prompt information, Figure 3 This is a schematic diagram of a processing result page provided in an embodiment of this specification. Figure 3 As shown, the page 300 may include a payment page 302, which may include information such as the payment amount, and a prompt message 304 may be displayed on the upper layer of the payment page to prompt the user that the current transaction is abnormal. The prompt message may also include prompt information prompting the user to complete the payment via NFC, such as "Transaction abnormality, please touch via NFC to complete the payment".
[0046] like Figure 3 As shown, the page may also include a control 306 for closing the page, such as an "OK" control. After the user clicks the control, the page may be closed or redirected to other pages, such as the home page of the first device, the home page of the payment APP, etc. It is understandable that Figure 3 This is only for illustrative purposes, and the display page can also be laid out in other forms, which are not specifically limited here. For example, only the prompt information can be displayed without displaying the payment page.
[0047] As an implementation method, in order to further improve the security of the transaction, the security of the transaction can also be judged by the validity period of the tag information. Optionally, before generating the processing result information corresponding to the payment processing request in the embodiment of this specification, it can also include: Determining the generation time of the label information; determining a request time for the payment processing request; Based on the generation time, determining whether the request time is within the validity period of the tag information to obtain a second determination result; The generating of the processing result information corresponding to the payment processing request may specifically include: If the first judgment result indicates that the distance is less than or equal to the preset distance, and the second judgment result indicates that the request time is within the validity period of the tag information, then executing the payment processing flow; Based on the payment processing flow, payment result information indicating the payment result is generated.
[0048] In actual applications, the server can generate tag information according to business needs and send it to the second device. The server can also record the tag information and the generation time of the tag information, and can also set the validity period of the tag information. For example, the tag validity period can be set to 30 minutes, 10 minutes, etc. after generation. The expiration time can also be set. The validity period can represent the time period between the generation time and the expiration time. The tag information can also include a timestamp of the generation time of the tag information. The server can query the generation time of the tag information from the stored information based on the tag information included in the payment processing request, or determine the generation time by parsing the timestamp of the tag information included in the payment processing request.
[0049] The request time may indicate the time when the first device generates the payment processing request. For example, the payment processing request may include timestamp information of the generation of the request. It may also indicate the time when the server may receive the payment processing request.
[0050] The validity period can indicate the validity period or time period of the tag information. The validity period can be determined based on historical data or obtained based on expert experience. If the validity period indicates the validity period of the tag information, the second judgment result can be obtained by judging the size relationship between the difference between the request time and the generation time and the validity period; if the validity period indicates the validity period of the tag information, the second judgment result can be obtained by judging whether the request time is within the time period between the generation time and the end time of the validity period.
[0051] In actual applications, after determining that the distance between the first device and the second device is less than or equal to the preset distance, it is possible to determine whether the request time is within the validity period of the tag information; both can be determined at the same time, or after determining that the request time is within the validity period of the tag information, it is possible to determine whether the distance is less than or equal to the preset distance.
[0052] In actual applications, the above-mentioned process of judging by distance and the process of judging by validity period can also be executed independently, without having to be executed in full. For example, if it is detected that the distance between the first device and the second device is greater than the preset distance, the payment processing process can be terminated or not started; or, if it is detected that the request time is not within the validity period of the tag information, the payment processing process can also be terminated or not started. For the execution of the payment processing process, reference can be made to the same or similar parts in the above-mentioned embodiments, and no further details will be given here.
[0053] The server can set the validity period according to the duration required for the NFC payment link. Specifically, the payment link duration can be determined based on the generation time and the payment completion time, and the payment link duration can be used as the validity period of the tag information.
[0054] As an implementation manner, optionally, the method described in the embodiments of this specification further includes: Acquire notification information sent by the second device indicating that tag information in the second device has been read; Based on the notification information, the validity period of the tag information is set to a preset duration.
[0055] In the embodiments of this specification, the notification information may represent information generated by the second device after the tag information in the second device is read. The reading here can be divided into two situations, one of which is that the user reads the tag information of the second device through the first device held by the user; the other is that an illegal user reads the tag information of the second device. After receiving the notification information, the server can set the validity period of the tag information to a preset duration. The preset duration can be set according to the duration required for the server to execute the NFC payment process in history, or it can be set based on expert experience.
[0056] In actual applications, the difference between several notification times and generation times can also be determined based on historical data, an average value can be calculated, and an incremental value can be added to the average value to obtain a preset duration representing the validity period; or the maximum value can be selected from several differences and an incremental value can be added to obtain a preset duration representing the validity period. The start time of the tag information is the generation time when the server generates the tag information, and the corresponding end time can be determined based on the generation time and the preset duration of the validity period. The preset duration of the validity period can also be determined by other means, such as expert experience, etc., which are not specifically limited here. It is understandable that after the tag information is read, the server will generate new tag information for the second device to improve payment security.
[0057] To improve security, the validity period of the tag can also be shortened after the tag is read to prevent illegal users from cracking the tag information stored in the second device and sending the obtained link to the first device, where the user may not click on it until some time later. In this case, the time it takes for the server to obtain the payment processing request will be longer than the normal NFC payment time, so the validity period can be shortened according to the time required for NFC payment to ensure payment security.
[0058] As an implementation method, the preset duration of the validity period may be shortened according to actual conditions. Optionally, the validity period of the tag information is set to a preset duration in the embodiments of this specification, which may specifically include: The original validity period of the tag information is set as the new validity period; the duration of the new validity period is shorter than the duration of the original validity period.
[0059] In the embodiments of this specification, the original validity period can represent the default validity period of the server or the initial validity period set, such as 30 minutes, 2 hours, etc.; it can also be the validity period set most recently. The new validity period represents a shorter duration or time period than the original validity period, for example, the original validity period of 30 minutes is changed to a shorter time such as 2 minutes, 20 seconds, etc.
[0060] In actual applications, the server can set an original validity period for the tag information during the process of generating the tag information; the tag information is sent to the second device, and within the original validity period, after the tag information of the second device is read, the second device will send a notification message to the server, and after receiving the notification message, the server can set a new validity period for the tag information.
[0061] In actual applications, the new validity period can be set in the form of a time period, and the start time of the new validity period can be set to the generation time of the tag information; the end time can be determined and set according to the length of the validity period and the generation time. For example, the start time of the new validity period can be set to 10:11 on May 1, 2024, and the end time can be set to 10:13 on May 1, 2024 according to the generation time of a certain tag information. The new validity period can also be set in the form of a duration, for example, the duration of the new validity period can be set to 2 minutes, which is not specifically limited here.
[0062] As an implementation mode, optionally, the method described in the embodiments of this specification may further include: If the second judgment result indicates that the request time is not within the validity period of the tag information, generating information indicating payment abnormality; or, if the first judgment result indicates that the distance is greater than the preset distance, generating information indicating payment abnormality; Alternatively, if the first judgment result indicates that the distance is greater than the preset distance and the second judgment result indicates that the request time is not within the validity period of the tag information, information indicating payment abnormality is generated.
[0063] In the embodiments of this specification, if at least one of the following conditions is met: the distance between the first device and the second device is greater than the preset distance, and the request time is not within the validity period of the tag information, the payment processing flow may not be executed or terminated, and a payment processing result indicating a payment abnormality may be generated. The information indicating a payment abnormality may be a prompt message for prompting the user to make a new payment; it may also be a prompt message for prompting the user to complete the payment through the NFC near-field payment method; it may also be a prompt message for prompting the user that the payment failed, etc.
[0064] In order to more clearly illustrate a payment service processing method provided in the embodiments of this specification, Figure 4A swim lane diagram of a payment service processing method provided in an embodiment of this specification. Figure 4 As shown, the scheme may include an information acquisition phase, a payment processing phase, and an information feedback phase, which may specifically include: Step 402: The first device obtains tag information for processing payment services.
[0065] The tag information obtained by the first device may be obtained by the first device from the second device through NFC communication; or it may be sent to the first device after an illegal device decrypts the tag information of the NFC device. The first device may be an NFC device with an NFC tag or NFC communication function. The tag information may include all or part of the information in the NFC tag of the second device, such as token information, order information, etc.
[0066] In practical applications, the first device can be used as an NFC card reader, and can send trigger information for triggering near field communication, such as NFC communication, and obtain tag information for processing payment services provided by the second device in response to the trigger information after being close to the second device, such as being placed close to the second device. The second device has an NFC tag containing tag information.
[0067] Step 404: The first device sends a payment processing request to the server based on the tag information.
[0068] The first device may generate a payment processing request containing the tag information based on the tag information, and send the generated payment processing request to the server so that the server can process the payment processing request based on the payment processing request.
[0069] Step 406: The server obtains the payment processing request sent by the first device, wherein the payment processing request includes tag information for storing in the NFC tag of the second device.
[0070] Step 408: The server determines the second device storing the tag information according to the tag information.
[0071] The server may store a correspondence between the tag information and the second device, and may determine the second device corresponding to the tag information based on the correspondence.
[0072] Step 410: The first device sends first location information of the first device to a server.
[0073] The tag information in the embodiments of this specification may include identification information for starting a target application, and the target application may be an application with a payment service processing function. The first device may invoke the target application in the first device according to the identification information, and obtain the first location information of the first device based on the target application.
[0074] The identification information may be information used to uniquely identify the target application. The first device may obtain the LBS information of the first device to determine the first location information, and send the first location information to the server through the target application. The first device may wake up the target application based on the front-end wake-up method or the back-end wake-up method. The specific method used to wake up the target application is not specifically limited here.
[0075] As an implementation mode, in the embodiment of this specification, the first device may also send a location acquisition request to a location server, obtain real-time location information provided by the location server, and send the real-time location information to the server. The location server is a server that can provide location information.
[0076] The location provided by the location server may be obtained based on an LBS or a positioning system; it may also be obtained from other application information that is authorized to obtain the location information of the first device, which is not specifically limited here.
[0077] As an implementation mode, in the embodiment of this specification, if the real-time location information of the first device is not obtained within a preset time period after the tag information is obtained, the cached location information is obtained from the cache of the first device; and the cached location information is sent to the server.
[0078] The preset time period may be a preset time period for limiting the acquisition of the real-time location information of the first device. The first device may cache the acquired location information of the first device in a cache. The cached location information may represent the latest location information of the first device stored in the device cache.
[0079] Step 412: The second device sends second location information of the second device.
[0080] In the embodiments of this specification, the second location information can be obtained by the second device based on the above method and sent to the server after receiving the location acquisition request from the server; or the server can determine the second location information of the second device corresponding to the tag information based on known device location information, such as a location information list of each second device, through tag information.
[0081] Step 414: The server determines whether the distance between the first device and the second device is less than or equal to a preset distance.
[0082] The server may determine whether the distance between the first device and the second device is less than or equal to a preset distance based on the first position and the second position. If the distance is less than or equal to the preset distance, step 416 is executed: determining the generation time of the tag information.
[0083] If the distance is greater than the preset distance, step 422 is executed: generating information indicating payment abnormality.
[0084] Specifically, it may be information used to prompt the user of the cause of the abnormality, or information used to prompt the user of transaction failure, etc.
[0085] The first device may also obtain information indicating payment anomaly fed back by the server, and execute step 428: displaying a payment service processing result page.
[0086] Step 418: The server determines the request time of the payment processing request.
[0087] Step 420: The server determines whether the request time is within the validity period of the tag information based on the generation time.
[0088] If the request time is not within the validity period of the tag information, step 422 may be executed; if the request time is within the validity period of the tag information, step 424 may be executed: the server executes the payment processing flow.
[0089] In addition to the above method in the embodiments of this specification, the first device can also determine whether there are other Bluetooth devices within the Bluetooth range of the first device to obtain a third judgment result; if the third judgment result indicates that there are no other Bluetooth devices within the Bluetooth range of the first device, the access to the server is terminated; if the third judgment result indicates that there are other Bluetooth devices within the Bluetooth range of the first device, a payment processing request is sent to the server.
[0090] Terminating access to the server may mean that the first device does not send a payment processing request to the server.
[0091] As another implementation, the first device may also send other Bluetooth device information to the server. After receiving the other Bluetooth device information sent by the first device, the server determines the Bluetooth device of the second device according to the tag information, and determines whether the other Bluetooth devices contain the Bluetooth device of the second device. If the other Bluetooth devices contain the Bluetooth device of the second device, the server may execute the payment processing flow. If the other Bluetooth devices do not contain the Bluetooth device of the second device, the server terminates or does not start the payment processing flow.
[0092] The first device may also feed back the third judgment result to the server, and the server may determine whether to execute the payment processing flow according to the third judgment result. Specifically, the third judgment result received by the server indicates that there are no other Bluetooth devices within the Bluetooth range of the first device, and the payment processing flow is not started or terminated; or, after the third judgment result received by the server indicates that there are other Bluetooth devices within the Bluetooth range of the first device, it is determined whether there is a Bluetooth device of the second device among the other Bluetooth devices based on the other Bluetooth devices and tag information, and further determines whether to execute the payment processing flow. The same or similar features exist as the above-mentioned method for determining the Bluetooth device of the second device, which will not be repeated here.
[0093] The first device can also determine whether to access the server by determining whether the first device has established a Bluetooth connection. The first device can also send the determination result to the server, and the server determines whether to execute the payment processing flow based on the determination result and by determining whether the device that has established a Bluetooth connection with the first device is the second device. Specifically, if the first device has not established a Bluetooth connection, it will access the server and will not send a payment processing request to the server; if the first device has established a Bluetooth connection, it can send the device that has established a Bluetooth connection to the server, and the server can determine whether to execute the payment processing flow by determining whether the device that has established a Bluetooth connection with the first device is the second device.
[0094] Step 426: The server generates payment result information indicating the payment result.
[0095] The payment result information may include payment result information indicating successful payment, which may include transaction amount information; the payment result information may also include payment result information indicating failed payment, which may include payment failure reason information, such as network anomaly, insufficient account balance, etc.
[0096] Step 428: The first device displays the payment service processing result page.
[0097] First, a payment processing result page may be generated and displayed in a preset format according to the information fed back by the server.
[0098] The same concepts or features as those in the above embodiments in this embodiment can refer to the description of the above embodiments, which will not be repeated. It should be understood that the order of some steps in the methods described in the embodiments of this specification can be interchanged according to actual needs, or some steps can be omitted or deleted.
[0099] The method provided in the embodiments of this specification can effectively prevent illegal users from using the tag information obtained from the NFC device, such as link information, to perform some harmful actions on them, thereby improving payment security. The server can be a server with payment processing capabilities, specifically a server for NFC payment. The tag information can include the domain name information of the server. As an implementation method, the server can process each payment processing request obtained according to the method provided in this specification. As another implementation method, the payment processing request obtained by the server can include a preset string, and the server can process the payment processing request containing the preset string according to the method provided in this specification.
[0100] Figure 5 A flow chart of a method for processing a payment service provided in an embodiment of this specification. From a program perspective, the execution subject of the process may be a program or application client installed on a first device. From a hardware perspective, the execution subject of the process may be a first device. Specifically, it may be a mobile terminal such as a mobile phone, a phone watch, a wearable smart device, and a tablet computer.
[0101] like Figure 5 As shown, the process may include the following steps: Step 502: The first device obtains tag information for processing payment services.
[0102] In the embodiments of this specification, the tag information obtained by the first device can be obtained from a device for storing NFC tags; it can also be obtained based on other devices, such as after an illegal user parses the tag information of the NFC device, the link information, code information and other tag information are sent to the first device through other devices.
[0103] Step 504: Based on the tag information, a payment processing request is sent to the server; the server can execute the payment service processing flow for the payment processing request based on the positional relationship between the first device and the second device for storing the tag information and feedback the processing result information.
[0104] In the embodiments of this specification, the payment processing request may include all or part of the information in the NFC tag. After the server processes the payment processing request sent by the first device through the execution process, it may generate processing result information and feed it back to the first device.
[0105] Step 506: Based on the processing result information provided by the server, a payment service processing result page is displayed.
[0106] In the embodiment of this specification, the first device can generate a payment service processing result display page based on a preset page layout and format, etc. It can display information such as the transaction amount, whether the transaction is successful or not, and can also display prompt information for prompting the user to operate correctly.
[0107] In actual applications, during the period from when the first device sends the payment processing request to the server to when the server feeds back the processing result to the first device, a full-screen payment page may be displayed, or a secure payment page occupying part of the screen may be displayed. The page may display some promotional information related to the near-field payment method, or payment order information, which is not specifically limited here.
[0108] Through the above method, the server can determine whether to execute the payment processing process based on the distance between the first device and the second device, or determine whether to execute the payment processing process based on the generation time and whether the request time is within the validity period. It can also determine whether to execute the payment processing process through the Bluetooth device of the first device and the Bluetooth device of the second device. It can consider payment risks in multiple dimensions, ensure the security of user account funds, reduce user fund losses, and use near-field payment methods to complete payments, thereby improving payment efficiency and user payment experience.
[0109] Based on the same idea, the embodiments of this specification also provide a device corresponding to the above method. Figure 6 The embodiments of this specification provide corresponding to Figure 2 A schematic diagram of the structure of a payment service processing device. Figure 6 As shown, the device may include: The payment processing request acquisition module 602 is used to acquire the payment processing request sent by the first device; the payment processing request includes tag information for storing in the NFC tag of the second device; A second device determining module 604, configured to determine a second device for storing the tag information based on the tag information; The distance determination module 606 is used to determine whether the distance between the first device and the second device is less than or equal to a preset distance, and obtain a first determination result; A processing result information generating module 608, configured to generate processing result information corresponding to the payment processing request based on the first judgment result; The processing result information feedback module 610 is used to feed back the processing result information to the first device.
[0110] Optionally, the processing result information generating module described in the embodiments of this specification may be specifically used for: If the first judgment result indicates that the distance is less than or equal to the preset distance, executing the payment processing flow; Based on the payment processing flow, payment result information indicating the payment result is generated.
[0111] Optionally, the processing result information generating module described in the embodiments of this specification may be specifically used for: If the first judgment result indicates that the distance is greater than the preset distance, information indicating payment abnormality is generated.
[0112] Optionally, in the embodiments of this specification, the device may further include a validity period determination module, which may be specifically used for: Determining the generation time of the label information; determining a request time for the payment processing request; Based on the generation time, determining whether the request time is within the validity period of the tag information to obtain a second determination result; The generating of the processing result information corresponding to the payment processing request specifically includes: If the first judgment result indicates that the distance is less than or equal to the preset distance, and the second judgment result indicates that the request time is within the validity period of the tag information, then executing the payment processing flow; Based on the payment processing flow, payment result information indicating the payment result is generated.
[0113] Optionally, the validity period determination module described in the embodiments of this specification may include: a notification information acquiring unit, configured to acquire notification information sent by the second device indicating that the tag information in the second device has been read; The validity period setting unit is used to set the validity period of the tag information to a preset duration based on the notification information.
[0114] Optionally, the validity period setting unit described in the embodiments of this specification may be specifically used for: The original validity period of the tag information is set as the new validity period; the duration of the new validity period is shorter than the duration of the original validity period.
[0115] Optionally, the validity period determination module described in the embodiments of this specification may also be used for: If the second judgment result indicates that the request time is not within the validity period of the tag information, generating information indicating payment abnormality; or, if the first judgment result indicates that the distance is greater than the preset distance, generating information indicating payment abnormality; Alternatively, if the first judgment result indicates that the distance is greater than the preset distance and the second judgment result indicates that the request time is not within the validity period of the tag information, information indicating payment abnormality is generated.
[0116] Based on the same idea, the embodiments of this specification also provide a device corresponding to the above method. Figure 7 The embodiments of this specification provide corresponding to Figure 5 A schematic diagram of the structure of a payment service processing device. Figure 7 As shown, the device may include: The tag information acquisition module 702 is used to acquire tag information used to process payment services; The payment processing request sending module 704 is used to send a payment processing request to the server based on the tag information; the server can execute the payment service processing flow for the payment processing request based on the position relationship between the first device and the second device for storing the tag information and feedback the processing result information; The page display module 706 is used to display the payment service processing result page based on the processing result information provided by the server.
[0117] Optionally, the device described in the embodiments of this specification further includes a location information sending module, which can be specifically used for: The first location information of the first device is sent to the server.
[0118] Optionally, the tag information in the embodiment of this specification includes identification information for starting a target application; the target application is an application with a payment service processing function; the location information sending module may specifically include: a target application waving unit, configured to wake up the target application in the first device based on the identification information; A location information acquisition unit is used to acquire first location information of the first device based on the target application.
[0119] Optionally, the location information sending module in the embodiments of this specification may specifically include: A location sending unit, used to send a location information acquisition request to a location server; the location server is a server that can provide location information; A real-time location acquisition unit, used to acquire real-time location information provided by the location server; The sending the first location information of the first device to the server specifically includes: The real-time location information is sent to the server.
[0120] Optionally, the location information sending module described in the embodiments of this specification may also be used for: If the real-time location information of the first device is not obtained within a preset time period after the tag information is obtained, obtaining cached location information from a cache of the first device; The sending the first location information of the first device to the server specifically includes: The cache location information is sent to the server.
[0121] Optionally, the apparatus described in the embodiments of this specification may further include a Bluetooth device determination module, which may be specifically used for: Determine whether there are other Bluetooth devices within the Bluetooth range of the first device, and obtain a third determination result; If the third judgment result indicates that there is no other Bluetooth device within the Bluetooth range of the first device, terminating the access to the server; The sending of the payment processing request to the server specifically includes: If the third judgment result indicates that there are other Bluetooth devices within the Bluetooth range of the first device, a payment processing request is sent to the server.
[0122] Based on the same idea, the embodiments of this specification also provide a device corresponding to the above method.
[0123] Figure 8 This is a schematic diagram of a payment service processing device provided in an embodiment of this specification. Figure 8 As shown, the device 800 may include: at least one processor 810; and, A memory 830 communicatively connected to the at least one processor; Among them, corresponding to Figure 2 The payment service processing method shown, the memory 830 stores instructions 820 that can be executed by the at least one processor 810, and the instructions are executed by the at least one processor 810 to enable the at least one processor 810 to implement the above-mentioned payment service processing method.
[0124] Based on the same idea, the embodiment of this specification also provides a computer-readable medium corresponding to the above method. The computer-readable medium stores computer-readable instructions, which can be executed by a processor to implement the above payment service processing method.
[0125] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. The description of the same or similar parts in the method with the server as the execution subject in the above-mentioned method with the first device as the execution subject is relatively simple, and you can refer to the embodiment part of the method with the server as the execution subject. For the equipment and devices shown above, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0126] In the 1990s, it was very clear whether the improvement of a technology was hardware improvement (for example, improvement of the circuit structure of diodes, transistors, switches, etc.) or software improvement (improvement of the method flow). However, with the development of technology, many improvements of the method flow today can be regarded as direct improvements of the hardware circuit structure. Designers almost always obtain 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 implemented with hardware entity modules. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask chip manufacturers to design and make dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one kind of HDL, but many kinds, such as 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), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.
[0127] The controller may be implemented in any suitable manner, for example, the controller may take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (e.g., software or firmware) executable by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, and the memory controller may also be implemented as part of the control logic of the memory. It is also known to those skilled in the art that, in addition to implementing the controller in a purely computer-readable program code manner, the controller may be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, such a controller may be considered as a hardware component, and the devices for implementing various functions included therein may also be considered as structures within the hardware component. Or even, the devices for implementing various functions may be considered as both software modules for implementing the method and structures within the hardware component.
[0128] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0129] For the convenience of description, the above device is described in terms of functions and is described separately in various units. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0130] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0131] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0132] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0133] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0134] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0135] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.
[0136] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined in this article, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0137] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0138] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0139] The present 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 may also be practiced in distributed computing environments where 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.
[0140] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A method for processing payment services, comprising: Obtaining a payment processing request sent by the first device; The payment processing request includes tag information for storage in an NFC tag of the second device; Based on the tag information, determining a second device for storing the tag information; Determine whether the distance between the first device and the second device is less than or equal to a preset distance, and obtain a first determination result; Based on the first judgment result, generating processing result information corresponding to the payment processing request; Feedback the processing result information to the first device.
2. The method according to claim 1, wherein generating processing result information corresponding to the payment processing request based on the first judgment result specifically comprises: If the first judgment result indicates that the distance is less than or equal to the preset distance, executing the payment processing flow; Based on the payment processing flow, payment result information indicating the payment result is generated.
3. The method according to claim 1, wherein generating processing result information corresponding to the payment processing request based on the first judgment result specifically comprises: If the first judgment result indicates that the distance is greater than the preset distance, information indicating payment abnormality is generated.
4. The method according to claim 1, before generating the processing result information corresponding to the payment processing request, further comprising: Determining the generation time of the label information; determining a request time for the payment processing request; Based on the generation time, determining whether the request time is within the validity period of the tag information to obtain a second determination result; The generating of the processing result information corresponding to the payment processing request specifically includes: If the first judgment result indicates that the distance is less than or equal to the preset distance, and the second judgment result indicates that the request time is within the validity period of the tag information, then executing the payment processing flow; Based on the payment processing flow, payment result information indicating the payment result is generated.
5. The method according to claim 4, further comprising: Acquire notification information sent by the second device indicating that tag information in the second device has been read; Based on the notification information, the validity period of the tag information is set to a preset duration.
6. The method according to claim 5, wherein the validity period of the tag information is set to a preset duration, specifically comprising: Setting the original validity period of the label information as the new validity period; The duration of the new validity period is shorter than the duration of the original validity period.
7. The method according to claim 4, further comprising: If the second judgment result indicates that the request time is not within the validity period of the tag information, generating information indicating payment abnormality; or, if the first judgment result indicates that the distance is greater than the preset distance, generating information indicating payment abnormality; Alternatively, if the first judgment result indicates that the distance is greater than the preset distance and the second judgment result indicates that the request time is not within the validity period of the tag information, information indicating payment abnormality is generated.
8. A method for processing payment services, comprising: The first device obtains tag information for processing a payment service; Based on the tag information, sending a payment processing request to a server; The server can execute the payment service processing flow for the payment processing request based on the position relationship between the first device and the second device for storing the tag information and feed back the processing result information; Based on the processing result information provided by the server, a payment service processing result page is displayed.
9. The method according to claim 8, further comprising: The first location information of the first device is sent to the server.
10. The method according to claim 9, wherein the tag information includes identification information for starting the target application; The target application is an application having a payment service processing function; The method further comprises: Based on the identification information, invoking the target application in the first device; Based on the target application, first location information of the first device is obtained.
11. The method according to claim 9, further comprising: Send a location information acquisition request to the location server; The location server is a server capable of providing location information; Obtaining real-time location information provided by the location server; The sending the first location information of the first device to the server specifically includes: The real-time location information is sent to the server.
12. The method according to claim 11, The method further comprises: If the real-time location information of the first device is not obtained within a preset time period after the tag information is obtained, obtaining cached location information from a cache of the first device; The sending the first location information of the first device to the server specifically includes: The cache location information is sent to the server.
13. The method according to claim 8, further comprising: Determine whether there are other Bluetooth devices within the Bluetooth range of the first device, and obtain a third determination result; If the third judgment result indicates that there is no other Bluetooth device within the Bluetooth range of the first device, terminating the access to the server; The sending of the payment processing request to the server specifically includes: If the third judgment result indicates that there are other Bluetooth devices within the Bluetooth range of the first device, a payment processing request is sent to the server.
14. A device for processing payment services, comprising: A payment processing request acquisition module, used to acquire a payment processing request sent by the first device; The payment processing request includes tag information for storage in an NFC tag of the second device; A second device determining module, used to determine a second device for storing the tag information based on the tag information; a distance determination module, configured to determine whether the distance between the first device and the second device is less than or equal to a preset distance, and obtain a first determination result; A processing result information generating module, used for generating processing result information corresponding to the payment processing request based on the first judgment result; The processing result information feedback module is used to feed back the processing result information to the first device.
15. A device for processing payment services, comprising: A label information acquisition module, used to acquire label information used to process payment services; A payment processing request sending module, used to send a payment processing request to a server based on the tag information; the server can execute a payment service processing flow for the payment processing request based on the positional relationship between the first device and the second device for storing the tag information and feed back processing result information; The page display module is used to display the payment service processing result page based on the processing result information provided by the server.
16. A payment service processing device, comprising: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the payment transaction processing method according to any one of claims 1 to 13.
17. A computer-readable medium having computer-readable instructions stored thereon, wherein the computer-readable instructions can be executed by a processor to implement the payment service processing method according to any one of claims 1 to 13.
Citation Information
Patent Citations
Service method and system based on cash registers, terminal equipment and storage medium
CN113988842A
Payment method and device based on near field communication, equipment and medium
CN116911843A
Offline payment method and device, equipment and storage medium
CN117611147A
System and method for mobile communication
WO2016025461A2
Cited By
Payment processing method and device, equipment and medium
CN119539794A
Payment method, device, system, and equipment based on near field communication
EP4730245A1
Payment service processing method, apparatus and device, and medium
WO2026025647A1
