Resource transfer processing method and device, computer equipment and storage medium

The distance between the users is confirmed through near-field communication matching and base station positioning information, which solves the problem of low security in traditional payment methods and achieves higher security and reliability in the payment process.

CN118941291APending Publication Date: 2024-11-12INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410952385.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

Traditional online payment methods cannot confirm whether the transaction is near-field or remote, which has low security problems, especially the risk of QR code being recorded or stolen.

Method used

Through near-field communication matching processing, the matching results between users are obtained and resource transfer processing is performed based on the matching results. If the matching fails, the distance is confirmed by using the base station positioning information and the user positioning information to ensure that the resource transfer is within a certain distance range. Proceed to improve safety and reliability.

Benefits of technology

The distance between the users is confirmed through near-field wireless communication matching processing, ensuring that both parties are within a certain distance during resource transfer, improving the security of the payment process, and continuing to complete the resources through the selected third user when the matching fails. Transfer, improve reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118941291A_ABST
    Figure CN118941291A_ABST
Patent Text Reader

Abstract

The invention relates to a resource transfer processing method and device, computer equipment, a storage medium and a computer program product, which can be applied to the field of financial science and technology or other related fields. The method comprises the following steps: performing near field communication matching processing on a first user side and a second user side to obtain a first matching result between the first user side and the second user side; if the first matching result is represented successfully, resource transfer processing is carried out on the first user side and the second user side; if the representation of the first matching result fails, obtaining a second matching result between the first user side and a third user side selected by the first user side; and carrying out resource transfer processing on the first user side and the second user side according to the second matching result. By adopting the method, the security of resource transfer processing can be improved, even if the near-field communication matching between the first user side and the second user side fails, near-field resource transfer can be continuously completed by means of the third user side, and the reliability of resource transfer processing is also improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a resource transfer processing method, apparatus, computer equipment, storage medium and computer program product. Background Art

[0002] With the development of Internet technology and the popularization of smart devices, more and more people choose to use online payment methods for transactions.

[0003] Traditional payment methods generally involve scanning QR codes to make payments, but there is no way to confirm whether the transaction is near-field or remote, whether the QR code has been recorded or stolen, etc., resulting in low security when users conduct transactions and other resource transfers. Summary of the invention

[0004] Based on this, it is necessary to provide a resource transfer processing method, device, computer equipment, computer readable storage medium and computer program product to address the above technical problems.

[0005] In a first aspect, the present application provides a resource transfer processing method. The method comprises:

[0006] Performing near field communication matching processing on a first user terminal and a second user terminal to obtain a first matching result between the first user terminal and the second user terminal;

[0007] If the first matching result indicates success, performing resource transfer processing on the first user terminal and the second user terminal;

[0008] If the first matching result indicates failure, obtaining a second matching result between the first user terminal and a third user terminal selected by the first user terminal;

[0009] According to the second matching result, resource transfer processing is performed on the first user terminal and the second user terminal.

[0010] In one embodiment, performing near field communication matching processing on a first user terminal and a second user terminal to obtain a first matching result between the first user terminal and the second user terminal includes:

[0011] In response to a resource transfer request triggered by the first user terminal and / or the second user terminal, obtaining first near field communication authentication information of the first user terminal and second near field communication authentication information of the second user terminal;

[0012] According to the first near field communication authentication information and the second near field communication authentication information, near field communication matching processing is performed on the first user terminal and the second user terminal to obtain the first matching result.

[0013] In one embodiment, after obtaining the first matching result, the method further includes:

[0014] If the first matching result indicates failure, obtaining first base station positioning information and first user terminal positioning information of the first user terminal and second base station positioning information and second user terminal positioning information of the second user terminal;

[0015] If at least one of the first positioning difference between the first base station positioning information and the second base station positioning information, and / or the second positioning difference between the first user terminal positioning information and the second user terminal positioning information does not exceed a preset difference threshold, resource transfer processing is performed on the first user terminal and the second user terminal.

[0016] In one embodiment, obtaining a second matching result between the first user terminal and a third user terminal selected by the first user terminal includes:

[0017] If both the first positioning difference and the second positioning difference exceed the preset difference threshold, in response to the near field matching request triggered by the first user terminal, obtaining third near field communication authentication information of a third user terminal corresponding to the near field matching request;

[0018] According to the first near field communication authentication information and the third near field communication authentication information, near field communication matching processing is performed on the first user terminal and the third user terminal to obtain a second matching result between the first user terminal and the third user terminal.

[0019] In one embodiment, performing resource transfer processing on the first user terminal and the second user terminal according to the second matching result includes:

[0020] If the second matching result indicates success, sending the encrypted verification information of the first user terminal to the third user terminal;

[0021] In response to the input operation of the third user terminal for the encrypted verification information, performing near field communication matching processing on the third user terminal and the second user terminal to obtain a third matching result between the third user terminal and the second user terminal;

[0022] If the third matching result indicates success, resource transfer processing is performed on the first user terminal and the second user terminal.

[0023] In one embodiment, after obtaining a third matching result between the third user terminal and the second user terminal, the method further includes:

[0024] If the third matching result indicates failure, obtaining the second base station positioning information and the second user terminal positioning information of the second user terminal and the third base station positioning information and the third user terminal positioning information of the third user terminal;

[0025] If at least one of the third positioning difference between the second base station positioning information and the third base station positioning information, and / or the fourth positioning difference between the second user terminal positioning information and the third user terminal positioning information does not exceed a preset difference threshold, resource transfer processing is performed on the first user terminal and the second user terminal.

[0026] In one embodiment, performing resource transfer processing on the first user terminal and the second user terminal according to the second matching result further includes:

[0027] If the second matching result indicates a failure, terminating the resource transfer process between the first user terminal and the second user terminal;

[0028] Alternatively, if both the third positioning difference and the fourth positioning difference exceed the preset difference threshold, the resource transfer process between the first user terminal and the second user terminal is terminated.

[0029] In a second aspect, the present application also provides a resource transfer processing device. The device comprises:

[0030] A first matching module, configured to perform near field communication matching processing on a first user terminal and a second user terminal, and obtain a first matching result between the first user terminal and the second user terminal;

[0031] A first transfer module, configured to perform resource transfer processing on the first user terminal and the second user terminal if the first matching result indicates success;

[0032] A second matching module, configured to obtain a second matching result between the first user terminal and a third user terminal selected by the first user terminal if the first matching result indicates failure;

[0033] The second transfer module is used to perform resource transfer processing on the first user terminal and the second user terminal according to the second matching result.

[0034] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0035] Performing near field communication matching processing on a first user terminal and a second user terminal to obtain a first matching result between the first user terminal and the second user terminal;

[0036] If the first matching result indicates success, performing resource transfer processing on the first user terminal and the second user terminal;

[0037] If the first matching result indicates failure, obtaining a second matching result between the first user terminal and a third user terminal selected by the first user terminal;

[0038] According to the second matching result, resource transfer processing is performed on the first user terminal and the second user terminal.

[0039] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0040] Performing near field communication matching processing on a first user terminal and a second user terminal to obtain a first matching result between the first user terminal and the second user terminal;

[0041] If the first matching result indicates success, performing resource transfer processing on the first user terminal and the second user terminal;

[0042] If the first matching result indicates failure, obtaining a second matching result between the first user terminal and a third user terminal selected by the first user terminal;

[0043] According to the second matching result, resource transfer processing is performed on the first user terminal and the second user terminal.

[0044] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0045] Performing near field communication matching processing on a first user terminal and a second user terminal to obtain a first matching result between the first user terminal and the second user terminal;

[0046] If the first matching result indicates success, performing resource transfer processing on the first user terminal and the second user terminal;

[0047] If the first matching result indicates failure, obtaining a second matching result between the first user terminal and a third user terminal selected by the first user terminal;

[0048] According to the second matching result, resource transfer processing is performed on the first user terminal and the second user terminal.

[0049] The resource transfer processing method, device, computer equipment, storage medium and computer program product perform near field communication matching processing on the first user terminal and the second user terminal to obtain a first matching result between the first user terminal and the second user terminal; if the first matching result indicates success, resource transfer processing is performed on the first user terminal and the second user terminal; if the first matching result indicates failure, a second matching result between the first user terminal and the third user terminal selected by the first user terminal is obtained; and resource transfer processing is performed on the first user terminal and the second user terminal according to the second matching result. By adopting this method, the distance between the first user terminal and the second user terminal can be confirmed through near field wireless communication matching processing, thereby ensuring that the first user terminal and the second user terminal are within a certain distance range when performing resource transfer processing, thereby improving the security of resource transfer processing, and even if the near field communication matching between the first user terminal and the second user terminal fails, the near field resource transfer can be continued with the help of the third user terminal selected by the first user terminal, thereby improving the reliability of resource transfer processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 An application environment diagram of a resource transfer processing method in an embodiment;

[0051] Figure 2 A schematic diagram of a process flow of a resource transfer processing method in one embodiment;

[0052] Figure 3 A schematic diagram of a process for obtaining base station location information in an embodiment;

[0053] Figure 4 A schematic diagram of a flow chart of resource transfer processing steps for a first user terminal and a second user terminal in one embodiment;

[0054] Figure 5 A schematic diagram of a flow chart of a resource transfer processing method in another embodiment;

[0055] Figure 6 A schematic diagram of a process flow of a resource transfer processing method in another embodiment;

[0056] Figure 7 is a structural block diagram of a resource transfer processing device in one embodiment;

[0057] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0059] It should be noted that the information collected in this application is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0060] The resource transfer processing method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the first user terminal 101, the second user terminal 102, the third user terminal 103 and the server communicate with each other through the network. The data storage system can store data that the service terminal 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Among them, the first user terminal 101, the second user terminal 102 and the third user terminal 103 can be but not limited to various personal computers, laptops, smart phones, tablets, smart watches, smart bracelets, smart glasses, smart TVs, charging piles, smart POS machines (Point of sales terminal), smart cars, smart vehicle-mounted equipment and other terminal devices with short-range wireless communication capabilities. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.

[0061] In one embodiment, Figure 2 As shown, a resource transfer processing method is provided, which is applied to Figure 1 The server in the example is used as an example to illustrate, including the following steps:

[0062] Step S201: Perform near field communication matching processing on a first user terminal and a second user terminal to obtain a first matching result between the first user terminal and the second user terminal.

[0063] The first matching result is used to reflect the matching authentication result of the near field wireless communication between the first user terminal and the second user terminal.

[0064] Among them, near field communication matching, also known as near field wireless communication matching, is a near field wireless communication technology used to achieve fast data transmission and connection between different devices within a short range. In practical applications, near field wireless communication technology that is stronger than WiFi and Bluetooth can be used.

[0065] Specifically, before performing resource transfer, the first user terminal and the second user terminal can send relevant information to the server terminal, so that the server terminal can perform near-field wireless communication matching processing on the first user terminal and the second user terminal based on the received relevant information, and obtain a first matching result between the first user terminal and the second user terminal, so as to confirm whether the transfer of resources between the first user terminal and the second user terminal is a near-field resource transfer through the first matching result.

[0066] Step S202: If the first matching result indicates success, resource transfer processing is performed on the first user terminal and the second user terminal.

[0067] Specifically, if the first matching result is successful, it can be confirmed that the resource transfer between the first user terminal and the second user terminal is near-field resource transfer, and the server can continue to perform subsequent resource transfer processing on the first user terminal and the second user terminal, and return the resource transfer processing result to the first user terminal and the second user terminal.

[0068] Step S203: if the first matching result indicates failure, obtaining a second matching result between the first user terminal and a third user terminal selected by the first user terminal.

[0069] The first matching result is used to reflect the matching authentication result of the near-field wireless communication between the first user terminal and the third user terminal.

[0070] Specifically, if the first matching result indicates failure, that is, it indicates that there is no near-field resource transfer between the first user terminal and the second user terminal or that the near-field wireless communication function of the first user terminal (or the second user terminal) is abnormal, the server generates a matching failure prompt message and returns it to the first user terminal and the second user terminal. The first user terminal receives and displays the matching failure prompt message, and then the first user terminal can also search for a third user terminal nearby, and implements near-field communication matching processing between the first user terminal and the third user terminal through the server, and then the server obtains the second matching result between the first user terminal and the third user terminal selected by the first user terminal.

[0071] Step S204: performing resource transfer processing on the first user terminal and the second user terminal according to the second matching result.

[0072] Specifically, the server determines whether to continue to perform subsequent resource transfer processing steps on the first user terminal and the second user terminal, or to continue to perform other authentication steps on the first user terminal and the second user terminal according to the second matching result obtained by processing. In actual applications, the first user terminal can be a terminal device used by the resource transferor, and the second user terminal can be a terminal device used by the resource receiver.

[0073] In the above resource transfer processing method, near field communication matching processing is performed on the first user terminal and the second user terminal to obtain a first matching result between the first user terminal and the second user terminal; if the first matching result indicates success, resource transfer processing is performed on the first user terminal and the second user terminal; if the first matching result indicates failure, a second matching result between the first user terminal and the third user terminal selected by the first user terminal is obtained; and according to the second matching result, resource transfer processing is performed on the first user terminal and the second user terminal. By adopting this method, the distance between the first user terminal and the second user terminal can be confirmed through near field wireless communication matching processing, thereby ensuring that the first user terminal and the second user terminal are within a certain distance range when performing resource transfer processing, thereby improving the security of resource transfer processing, and even if the near field communication matching between the first user terminal and the second user terminal fails, the near field resource transfer can be continued with the help of the third user terminal selected by the first user terminal, thereby improving the reliability of resource transfer processing.

[0074] In one embodiment, the above step S201, performs near field communication matching processing on the first user terminal and the second user terminal to obtain a first matching result between the first user terminal and the second user terminal, specifically includes the following contents: in response to a resource transfer request triggered by the first user terminal and / or the second user terminal, obtains first near field communication authentication information of the first user terminal and second near field communication authentication information of the second user terminal; performs near field communication matching processing on the first user terminal and the second user terminal according to the first near field communication authentication information and the second near field communication authentication information to obtain a first matching result.

[0075] The first near field communication authentication information, the second near field communication authentication information, and the third near field communication authentication information may be handshake protocol information of near field wireless communication.

[0076] Specifically, when one or more first user terminals want to transfer resources with a second user terminal, a resource transfer request can be generated by the first user terminal and / or the second user terminal and sent to the server terminal. The server terminal responds to the resource transfer request and receives the first near-field communication authentication information sent by the first user terminal and the second near-field communication authentication information sent by the second user terminal. Then, the first near-field communication authentication information and the second near-field communication authentication information are matched with near-field wireless communication to establish a near-field wireless communication connection between the first user terminal and the second user terminal, and to implement near-field authentication between the first user terminal and the second user terminal; finally, the server terminal processes and obtains a first matching result between the first near-field communication authentication information and the second near-field communication authentication information.

[0077] Among them, near field refers to the relatively small distance between different devices (such as the first user terminal and the second user terminal, the first user terminal and the third user terminal, or the second user terminal and the third user terminal). Near field resource transfer refers to the resource transfer behavior completed by different devices at a relatively close distance; for example, the first user terminal and the second user terminal perform face-to-face resource transfer, and this face-to-face resource transfer can be considered as near field resource transfer.

[0078] In this embodiment, near-field wireless communication matching processing is performed through the first near-field communication authentication information of the first user terminal and the second near-field communication authentication information of the second user terminal, thereby realizing near-field authentication before the first user terminal and the second user terminal transfer resources, so as to confirm that the resource transfer behavior between the first user terminal and the second user terminal occurs in the near field rather than remotely, which is beneficial to improving the security of the resource transfer processing.

[0079] In one embodiment, after obtaining the first matching result, it also includes: if the first matching result indicates a failure, obtaining the first base station positioning information of the first user terminal and the first user terminal positioning information and the second base station positioning information and the second user terminal positioning information of the second user terminal; if at least one of the first positioning difference between the first base station positioning information and the second base station positioning information, and / or the second positioning difference between the first user terminal positioning information and the second user terminal positioning information does not exceed a preset difference threshold, performing resource transfer processing on the first user terminal and the second user terminal.

[0080] The user terminal location information (including the first user terminal location information and the second user terminal location information) refers to the current geographical location of the user terminal (including the first user terminal, the second user terminal and the third user terminal). The base station location information (including the first base station location information and the second base station location information) refers to the geographical location of the base station to which the user terminal is currently connected.

[0081] In actual applications, the user terminal positioning information (including the first user terminal positioning information and the second user terminal positioning information, etc.) can be obtained through the positioning module carried by the user terminal, and the user terminal positioning information can be accurate to longitude and latitude. The flow chart of obtaining base station positioning information is as follows: Figure 3 As shown, the network identification information can be obtained from the user terminal through relevant program instructions. The network identification information includes LAC (Location Area Code), CI (Cell Identity) and MNC (Mobile Network Code); then, based on the network identification information, the base station positioning API is queried to obtain the geographical location of the base station to which the current user terminal is connected, that is, the base station positioning information is obtained, and the base station positioning information can be accurate to longitude and latitude.

[0082] Specifically, when responding to a resource transfer request triggered by the first user terminal and / or the second user terminal, the server terminal can receive the first base station positioning information and the first user terminal positioning information sent by the first user terminal in addition to the first near-field communication authentication information and the second near-field communication authentication information sent by the first user terminal and the second user terminal. The server terminal can receive the second base station positioning information and the second user terminal positioning information sent by the second user terminal, and can also obtain the second base station positioning information and the second user terminal positioning information pre-stored from the database. For example, assuming that the second user terminal is a fixed-location, non-movable or infrequently moved device, such as a charging pile, the server terminal can pre-collect the second base station positioning information and the second user terminal positioning information of the second user terminal and store them, so that the server terminal can directly obtain the required information from the database when processing the near-field authentication of the second user terminal next time, thereby improving the efficiency of near-field authentication.

[0083] Furthermore, if it is detected that the first matching result characterization fails, it means that near field authentication cannot be achieved between the first user terminal and the second user terminal through near field communication matching. If there is no other user terminal with the near field communication function near the first user terminal (that is, there is no third user terminal nearby), the server end can continue to achieve near field authentication based on the positioning information of the first user terminal and the second user terminal (including base station positioning information and user terminal positioning information), which can be to calculate the first positioning difference between the first base station positioning information and the second base station positioning information, and calculate the second positioning difference between the first user terminal positioning information and the second user terminal positioning information; if at least one of the first positioning difference and / or the second positioning difference does not exceed a preset difference threshold (for example, 50 meters), it is confirmed that the first user terminal and the second user terminal belong to the near field, and then the server end performs resource transfer processing on the first user terminal and the second user terminal; otherwise, the server end executes the above step S203 to continue the near field authentication of the first user terminal and the second user terminal.

[0084] In this embodiment, when the first matching result indicates that the near-field communication between the first user terminal and the second user terminal has failed, the first base station positioning information of the first user terminal and the first user terminal positioning information and the second base station positioning information and the second user terminal positioning information of the second user terminal are further used to continue near-field authentication. When it is detected that the positioning difference between the first user terminal and the second user terminal is relatively close, the server continues to perform resource transfer processing on the first user terminal and the second user terminal, effectively ensuring the reliability of near-field authentication, thereby improving the security of resource transfer processing between the first user terminal and the second user terminal.

[0085] In one embodiment, the above step S203, obtaining a second matching result between the first user terminal and the third user terminal selected by the first user terminal, specifically includes the following contents: if the first positioning difference and the second positioning difference both exceed a preset difference threshold, then in response to the near field matching request triggered by the first user terminal, obtaining the third near field communication authentication information of the third user terminal corresponding to the near field matching request; performing near field communication matching processing on the first user terminal and the third user terminal according to the first near field communication authentication information and the third near field communication authentication information, and obtaining a second matching result between the first user terminal and the third user terminal.

[0086] Specifically, if the user terminals within a certain range have the near-field wireless communication matching function turned on, they can be displayed in the relevant matching list. If both the first positioning difference and the second positioning difference exceed the preset difference threshold, after the first user terminal starts the near-field wireless communication matching function, the third user terminal that you want to match and connect can be selected in the displayed matching list; then the third user terminal and the first user terminal will display connection prompt information, such as "add device" or "connect device" and other connection prompt information. After the third user terminal or the first user terminal clicks the button according to the connection prompt information, the third user terminal or the first user terminal will generate corresponding communication authentication request information and send it to the server; the server obtains the third near-field communication authentication information of the third user terminal based on the communication authentication request information, and then performs near-field communication matching processing on the first user terminal and the third user terminal according to the first near-field communication authentication information and the third near-field communication authentication information, and returns the processed second matching result to the first user terminal and the third user terminal.

[0087] In this embodiment, when the first matching result between the first user terminal and the second user terminal indicates failure, the first user terminal can autonomously select a nearby third user terminal to assist in completing near-field verification to continue resource transfer processing with the second user terminal, thereby improving the reliability of resource transfer.

[0088] In one embodiment, Figure 4 As shown, the above step S204, according to the second matching result, performs resource transfer processing on the first user terminal and the second user terminal, specifically including the following contents:

[0089] Step S401: if the second matching result indicates success, the encrypted verification information of the first user terminal is sent to the third user terminal.

[0090] The encrypted verification information refers to a password string or password sequence randomly generated using an encryption algorithm.

[0091] Specifically, if the second matching result indicates success, that is, both the first user terminal and the third user terminal support the near-field communication function and have been matched successfully, the first user terminal randomly generates encrypted verification information, and the first user terminal displays the encrypted verification information in the interface. At the same time, the first user terminal also sends the encrypted verification information to one or more third user terminals that are located nearby and have turned on the near-field wireless communication function.

[0092] Step S402, in response to the input operation of the third user terminal for the encrypted verification information, performing near field communication matching processing on the third user terminal and the second user terminal to obtain a third matching result between the third user terminal and the second user terminal.

[0093] Step S403: If the third matching result indicates success, resource transfer processing is performed on the first user terminal and the second user terminal.

[0094] Specifically, if any third user terminal enters encrypted verification information in its interface within a preset time (for example, within 5 minutes), the third near-field communication authentication information of the third terminal is obtained; according to the third near-field communication authentication information and the second near-field communication authentication information of the second terminal, the second terminal and the third terminal are matched with each other to obtain a third matching result between the third user terminal and the second user terminal; if the third matching result indicates success and the encrypted verification information is not invalid at the current moment, it is confirmed that the first user terminal and the second user terminal are in the near field, and the server continues to perform resource transfer processing on the first user terminal and the second user terminal; otherwise, the server can continue to use the base station positioning information and the user terminal positioning information to perform near-field authentication on the first user terminal and the third user terminal.

[0095] In this embodiment, when the second matching result indicates that the near-field communication between the first user terminal and the second user terminal is successful, the near-field communication matching can be continued based on the encrypted verification information of the first user terminal and with the help of the third user terminal. When the third matching result indicates success and the encrypted verification information is not invalid at the current moment, the server continues to perform resource transfer processing on the first user terminal and the second user terminal, and near-field resource transfer is also achieved with the help of the third user terminal. While ensuring the security of the resource transfer processing between the first user terminal and the second user terminal, the reliability of the near-field resource transfer processing is also improved.

[0096] In one embodiment, after obtaining the third matching result between the third user terminal and the second user terminal, it also includes: if the third matching result indicates a failure, obtaining the second base station positioning information and the second user terminal positioning information of the second user terminal and the third base station positioning information and the third user terminal positioning information of the third user terminal; if at least one of the third positioning difference between the second base station positioning information and the third base station positioning information, and / or the fourth positioning difference between the second user terminal positioning information and the third user terminal positioning information does not exceed a preset difference threshold, performing resource transfer processing on the first user terminal and the second user terminal.

[0097] Specifically, when the server obtains the third near-field communication authentication information of the third terminal, it can also obtain the third base station positioning information and the third user terminal positioning information of the third terminal; and then when it is detected that the third matching result characterization fails, the server can also calculate the third positioning difference between the second base station positioning information and the third base station positioning information, and calculate the fourth positioning difference between the second user terminal positioning information and the third user terminal positioning information, and judge the third positioning difference and / or the fourth positioning difference; if at least one of the third positioning difference and / or the fourth positioning difference does not exceed the preset difference threshold (for example, 50 meters), it can also be confirmed that the first user terminal and the second user terminal belong to the near field, and then the server performs resource transfer processing on the first user terminal and the second user terminal; otherwise, the server terminates the resource transfer processing between the first user terminal and the second user terminal.

[0098] In this embodiment, when the third matching result characterization fails, the server can also use the second base station positioning information and the second user terminal positioning information of the second user terminal and the third base station positioning information and the third user terminal positioning information of the third user terminal to continue near-field authentication. When it is detected that the positioning difference between the third user terminal and the second user terminal is relatively close, the server continues to perform resource transfer processing on the first user terminal and the second user terminal, and realizes near-field authentication between the first user terminal and the second user terminal with the help of the third user terminal, which improves the security of the resource transfer processing between the first user terminal and the second user terminal and ensures the reliability of near-field resource transfer.

[0099] In one embodiment, the above-mentioned step S204, based on the second matching result, performs resource transfer processing on the first user terminal and the second user terminal, and also includes: if the second matching result indicates a failure, terminating the resource transfer processing between the first user terminal and the second user terminal; or, if the third positioning difference and the fourth positioning difference both exceed a preset difference threshold, terminating the resource transfer processing between the first user terminal and the second user terminal.

[0100] Specifically, if the processed second matching result characterizes failure, or the third positioning difference and the fourth positioning difference both exceed the preset difference threshold, the server confirms that near-field resource transfer cannot be performed between the first user terminal and the second user terminal, and terminates the resource transfer processing between the first user terminal and the second user terminal.

[0101] In this embodiment, when the second matching result between the first user terminal and the third user terminal indicates failure, or the third positioning difference and the fourth positioning difference both exceed the preset difference threshold, the resource transfer processing between the first user terminal and the second user terminal is terminated to avoid the first user terminal and the second user terminal from transferring resources when the near-field authentication fails, which is beneficial to improving the security of the resource transfer processing.

[0102] In one embodiment, Figure 5 As shown, another resource transfer processing method is provided, which is applied to Figure 1 The server in the example is used as an example to illustrate, including the following steps:

[0103] Step S501: In response to a resource transfer request triggered by the first user terminal and / or the second user terminal, first near field communication authentication information of the first user terminal and second near field communication authentication information of the second user terminal are acquired.

[0104] Step S502: Perform near field communication matching processing on the first user terminal and the second user terminal according to the first near field communication authentication information and the second near field communication authentication information to obtain a first matching result.

[0105] Step S503: If the first matching result indicates success, resource transfer processing is performed on the first user terminal and the second user terminal.

[0106] Step S504: if the first matching result indicates failure, first base station positioning information and first user terminal positioning information of the first user terminal and second base station positioning information and second user terminal positioning information of the second user terminal are obtained.

[0107] Step S505: If at least one of the first positioning difference between the first base station positioning information and the second base station positioning information, and / or the second positioning difference between the first user terminal positioning information and the second user terminal positioning information does not exceed a preset difference threshold, resource transfer processing is performed on the first user terminal and the second user terminal.

[0108] Step S506: if both the first positioning difference and the second positioning difference exceed the preset difference threshold, in response to the near field matching request triggered by the first user terminal, obtain third near field communication authentication information of the third user terminal corresponding to the near field matching request.

[0109] Step S507: Perform near field communication matching processing on the first user terminal and the third user terminal according to the first near field communication authentication information and the third near field communication authentication information to obtain a second matching result between the first user terminal and the third user terminal.

[0110] Step S508: If the second matching result indicates success, the encrypted verification information of the first user terminal is sent to the third user terminal.

[0111] Step S509, in response to the input operation of the third user terminal for the encrypted verification information, near field communication matching processing is performed on the third user terminal and the second user terminal to obtain a third matching result between the third user terminal and the second user terminal.

[0112] Step S510: If the third matching result indicates success, resource transfer processing is performed on the first user terminal and the second user terminal.

[0113] Step S511: if the third matching result indicates failure, obtaining second base station positioning information and second user terminal positioning information of the second user terminal and third base station positioning information and third user terminal positioning information of the third user terminal.

[0114] Step S512: If at least one of the third positioning difference between the second base station positioning information and the third base station positioning information, and / or the fourth positioning difference between the second user terminal positioning information and the third user terminal positioning information does not exceed a preset difference threshold, resource transfer processing is performed on the first user terminal and the second user terminal.

[0115] Step S513: if the second matching result indicates failure, the resource transfer process between the first user terminal and the second user terminal is terminated.

[0116] Step S514: if both the third positioning difference and the fourth positioning difference exceed a preset difference threshold, then terminating the resource transfer process between the first user terminal and the second user terminal.

[0117] The above-mentioned resource transfer processing method can achieve the following beneficial effects: it can confirm the distance between the first user terminal and the second user terminal through near-field wireless communication matching processing, thereby ensuring that the first user terminal and the second user terminal are within a certain distance range when performing resource transfer processing, thereby improving the security of resource transfer processing. Even if the near-field communication matching between the first user terminal and the second user terminal fails, the near-field resource transfer can be continued with the help of the third user terminal selected by the first user terminal, thereby improving the reliability of resource transfer processing.

[0118] In order to more clearly illustrate the resource transfer processing method provided by the embodiment of the present disclosure, the resource transfer processing method is specifically described below with a specific embodiment. Figure 6As shown, another resource transfer processing method is provided, which can be applied to Figure 1 The server in the , specifically includes the following contents:

[0119] Before one or more user terminals A1, A2, A3, etc. (hereinafter referred to as user terminal A) and user terminal B (which supports near-field wireless communication and is in good condition by default) perform near-field authentication processing, the near-field authentication processing includes the following three situations:

[0120] Case 1: When user terminals A and B successfully match using near-field wireless communication, near-field resource transfer is prioritized, allowing the subsequent resource transfer process to be executed. At the same time, if user terminal B is a fixed non-movable or infrequent mobile device, such as a charging pile, the server can solidify and store the location information of user terminal B and the base station location information.

[0121] Case 2: When user terminal A1 and user terminal B cannot match through near-field wireless communication, user terminal A1 may attempt to search for other similar user terminals A2, A3, A4, etc. nearby for near-field wireless communication matching. User terminal A1 will automatically generate an encrypted random password string, and while user terminal A1 is performing an echo process, it is also pushed to nearby similar user terminals A2, A3, A4, etc. When any of these similar user terminals inputs the correct encrypted random password string from user terminal A1 within a specified time (for example, 5 minutes), and these similar user terminals A2, A3, A4, etc. have also successfully matched with user terminal B before the encrypted random password expires (similar to the above case 1), it is determined that user terminal A1 and user terminal B are transferring resources in the near field, and the subsequent resource transfer process is allowed to be executed.

[0122] Case 3: When the near-field wireless communication matching of user terminal A fails or has no near-field wireless communication function or there are no other similar user terminals A2, A3, A4... nearby, user terminal A1 sends the user terminal positioning information and base station positioning information to the server, and the server compares the user terminal positioning information and base station positioning information of user terminal B with the user terminal positioning information and base station positioning information of user terminal A1. When any positioning difference is within the allowed difference range (for example, 50 meters), it is considered that user terminal A1 and user terminal B are transferring near-field resources, and the subsequent resource transfer process is allowed to execute.

[0123] When the above three situations cannot determine that the user terminals A and B are near-field resource transfer, it is confirmed that the near-field resource transfer has failed, and the subsequent resource transfer process is terminated.

[0124] In this embodiment, the distance between the first user terminal and the second user terminal can be confirmed through near-field wireless communication matching processing, thereby ensuring that the first user terminal and the second user terminal are within a certain distance range when performing resource transfer processing, thereby improving the security of the resource transfer processing. Even if the near-field communication matching between the first user terminal and the second user terminal fails, the near-field resource transfer can be continued with the help of the third user terminal selected by the first user terminal, thereby improving the reliability of the resource transfer processing.

[0125] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0126] Based on the same inventive concept, the embodiment of the present application also provides a resource transfer processing device for implementing the resource transfer processing method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more resource transfer processing device embodiments provided below can refer to the limitations on the resource transfer processing method above, and will not be repeated here.

[0127] In one embodiment, Figure 7 As shown, a resource transfer processing device 700 is provided, comprising: a first matching module 701, a first transfer module 702, a second matching module 703 and a second transfer module 704, wherein:

[0128] The first matching module 701 is used to perform near field communication matching processing on the first user terminal and the second user terminal to obtain a first matching result between the first user terminal and the second user terminal.

[0129] The first transfer module 702 is configured to perform resource transfer processing on the first user terminal and the second user terminal if the first matching result indicates success.

[0130] The second matching module 703 is configured to obtain a second matching result between the first user terminal and a third user terminal selected by the first user terminal if the first matching result indicates failure.

[0131] The second transfer module 704 is used to perform resource transfer processing on the first user terminal and the second user terminal according to the second matching result.

[0132] In one embodiment, the first matching module 701 is also used to respond to a resource transfer request triggered by the first user terminal and / or the second user terminal, obtain first near-field communication authentication information of the first user terminal and second near-field communication authentication information of the second user terminal; perform near-field communication matching processing on the first user terminal and the second user terminal according to the first near-field communication authentication information and the second near-field communication authentication information to obtain a first matching result.

[0133] In one embodiment, the resource transfer processing device 700 also includes a first auxiliary module, which is used to obtain the first base station positioning information of the first user terminal and the first user terminal positioning information and the second base station positioning information and the second user terminal positioning information of the second user terminal; if at least one of the first positioning difference between the first base station positioning information and the second base station positioning information, and / or the second positioning difference between the first user terminal positioning information and the second user terminal positioning information does not exceed a preset difference threshold, resource transfer processing is performed on the first user terminal and the second user terminal.

[0134] In one embodiment, the second matching module 703 is also used to obtain the third near field communication authentication information of the third user terminal corresponding to the near field matching request in response to the near field matching request triggered by the first user terminal if both the first positioning difference and the second positioning difference exceed a preset difference threshold; perform near field communication matching processing on the first user terminal and the third user terminal according to the first near field communication authentication information and the third near field communication authentication information to obtain a second matching result between the first user terminal and the third user terminal.

[0135] In one embodiment, the second transfer module 704 is also used to send the encrypted verification information of the first user terminal to the third user terminal if the second matching result is characterized as successful; in response to the input operation of the third user terminal for the encrypted verification information, perform near field communication matching processing on the third user terminal and the second user terminal to obtain a third matching result between the third user terminal and the second user terminal; if the third matching result is characterized as successful, perform resource transfer processing on the first user terminal and the second user terminal.

[0136] In one embodiment, the resource transfer processing device 700 also includes a second auxiliary module, which is used to obtain the second base station positioning information and the second user terminal positioning information of the second user terminal and the third base station positioning information and the third user terminal positioning information of the third user terminal if the third matching result characterization fails; if the third positioning difference between the second base station positioning information and the third base station positioning information, and / or the fourth positioning difference between the second user terminal positioning information and the third user terminal positioning information, at least one of which does not exceed a preset difference threshold, resource transfer processing is performed on the first user terminal and the second user terminal.

[0137] In one embodiment, the second transfer module 704 is also used to terminate the resource transfer processing between the first user terminal and the second user terminal if the second matching result characterization fails; or, if the third positioning difference and the fourth positioning difference both exceed a preset difference threshold, terminate the resource transfer processing between the first user terminal and the second user terminal.

[0138] Each module in the resource transfer processing device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0139] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as near-field communication authentication information, user terminal positioning information, and base station positioning information. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a resource transfer processing method is implemented.

[0140] Those skilled in the art will understand that Figure 8The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0141] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0142] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0143] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0144] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0145] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0146] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A resource transfer processing method, characterized in that: The method comprises: Performing near field communication matching processing on a first user terminal and a second user terminal to obtain a first matching result between the first user terminal and the second user terminal; If the first matching result indicates success, performing resource transfer processing on the first user terminal and the second user terminal; If the first matching result indicates failure, obtaining a second matching result between the first user terminal and a third user terminal selected by the first user terminal; According to the second matching result, resource transfer processing is performed on the first user terminal and the second user terminal.

2. The method according to claim 1, characterized in that The performing near field communication matching processing on the first user terminal and the second user terminal to obtain a first matching result between the first user terminal and the second user terminal includes: In response to a resource transfer request triggered by the first user terminal and / or the second user terminal, acquiring first near field communication authentication information of the first user terminal and second near field communication authentication information of the second user terminal; According to the first near field communication authentication information and the second near field communication authentication information, near field communication matching processing is performed on the first user terminal and the second user terminal to obtain the first matching result.

3. The method according to claim 2, characterized in that Before obtaining a second matching result between the first user terminal and a third user terminal selected by the first user terminal, the method further includes: Acquire first base station positioning information and first user terminal positioning information of the first user terminal and second base station positioning information and second user terminal positioning information of the second user terminal; If at least one of the first positioning difference between the first base station positioning information and the second base station positioning information, and / or the second positioning difference between the first user terminal positioning information and the second user terminal positioning information does not exceed a preset difference threshold, resource transfer processing is performed on the first user terminal and the second user terminal.

4. The method according to claim 3, characterized in that The obtaining of a second matching result between the first user terminal and a third user terminal selected by the first user terminal includes: If both the first positioning difference and the second positioning difference exceed the preset difference threshold, in response to the near field matching request triggered by the first user terminal, obtaining third near field communication authentication information of a third user terminal corresponding to the near field matching request; According to the first near field communication authentication information and the third near field communication authentication information, near field communication matching processing is performed on the first user terminal and the third user terminal to obtain a second matching result between the first user terminal and the third user terminal.

5. The method according to claim 1, characterized in that: The performing resource transfer processing on the first user terminal and the second user terminal according to the second matching result includes: If the second matching result indicates success, sending the encrypted verification information of the first user terminal to the third user terminal; In response to the input operation of the third user terminal for the encrypted verification information, performing near field communication matching processing on the third user terminal and the second user terminal to obtain a third matching result between the third user terminal and the second user terminal; If the third matching result indicates success, resource transfer processing is performed on the first user terminal and the second user terminal.

6. The method according to claim 5, characterized in that After obtaining a third matching result between the third user terminal and the second user terminal, the method further includes: If the third matching result indicates failure, obtaining the second base station positioning information and the second user terminal positioning information of the second user terminal and the third base station positioning information and the third user terminal positioning information of the third user terminal; If at least one of the third positioning difference between the second base station positioning information and the third base station positioning information, and / or the fourth positioning difference between the second user terminal positioning information and the third user terminal positioning information does not exceed a preset difference threshold, resource transfer processing is performed on the first user terminal and the second user terminal.

7. The method according to claim 6, characterized in that The performing resource transfer processing on the first user terminal and the second user terminal according to the second matching result further includes: If the second matching result indicates a failure, terminating the resource transfer process between the first user terminal and the second user terminal; Alternatively, if both the third positioning difference and the fourth positioning difference exceed the preset difference threshold, the resource transfer process between the first user terminal and the second user terminal is terminated.

8. A resource transfer processing device, characterized in that: The device comprises: A first matching module, configured to perform near field communication matching processing on a first user terminal and a second user terminal, and obtain a first matching result between the first user terminal and the second user terminal; A first transfer module, configured to perform resource transfer processing on the first user terminal and the second user terminal if the first matching result indicates success; A second matching module, configured to obtain a second matching result between the first user terminal and a third user terminal selected by the first user terminal if the first matching result indicates failure; The second transfer module is used to perform resource transfer processing on the first user terminal and the second user terminal according to the second matching result.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.