Method and device for renting power bank based on merchant server, and merchant server

Receiving payment results and creating rental orders through the merchant server solves the problem of cumbersome rental methods of power banks and achieving a more efficient and safe rental process.

CN119887354APending Publication Date: 2025-04-25INFORICH INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411822671.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-11
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

The existing power bank rental methods are cumbersome and rely on light intensity and scanning angle, resulting in inefficient rental efficiency.

Method used

Using a merchant server-based method, by receiving payment results sent by the payment monitoring server, a power bank rental order is created, and the order is fed back to the rental device to perform the power bank pop-up operation.

Benefits of technology

The rental operation process of power banks has been simplified, and the efficiency and convenience of rental are improved. At the same time, the risk of data leakage is reduced through card payment and the security of payment is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119887354A_ABST
    Figure CN119887354A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of power bank renting, and particularly discloses a method and a device for renting a power bank based on a merchant server, and the merchant server, the merchant server receives a payment result sent by a payment monitoring server for a power bank required to be rented by a user, creates a renting order of the power bank according to the payment result, and sends the renting order to the user. And then the renting order is fed back to the renting device, so that the renting device pops up the needed power bank to the user, that is, through interactive payment between the payment monitoring server and the card swiping device, the corresponding renting order is generated after card swiping payment of the fee needed by the user to rent the power bank is completed, and thus the power bank is provided for the user. The renting operation process of the power bank is simplified, and the renting efficiency of the power bank is improved; and the payment monitoring server is used for carrying out card swiping payment on the renting expense, so that the risk of data leakage is reduced, and the payment security and the renting security are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power bank rental, and in particular to a method and device for renting a power bank based on a merchant server, and a merchant server. Background Art

[0002] With the rapid development of electronic equipment technology and the convenience and benefits that electronic equipment brings to people's lives, work, study and entertainment, people's demand and dependence on electronic equipment are getting higher and higher. Therefore, timely replenishing power for electronic equipment has become a problem of particular concern to people.

[0003] Therefore, shared power banks came into being, and their technology has become more and more mature. The streets are full of power banks to meet people's needs for charging electronic devices. In actual applications, when you need to rent a power bank, you often open WeChat or Alipay or the power bank application to scan, and then aim the electronic device camera at the QR code on the rental device. After the scan is successful, the confirmation rental interface pops up to prompt the user to click to confirm the rental, and then the power bank pops up.

[0004] However, in practice, it is found that scanning the QR code through WeChat, Alipay or power bank applications is not only cumbersome, but also has certain requirements for light intensity and scanning angle. If the light is not enough or the angle is not suitable, it takes a long time to scan the QR code successfully, which further reduces the efficiency of power bank rental. Therefore, it is urgent to propose a new power bank rental method to simplify the power bank rental operation and improve the technical solution of power bank rental efficiency. Summary of the invention

[0005] The present invention provides a method and device for renting a power bank based on a merchant server, and a merchant server, which can simplify the rental operation of the power bank and improve the rental efficiency and convenience of the power bank.

[0006] In order to solve the above technical problems, the first aspect of the present invention discloses a method for renting a power bank based on a merchant server, the method comprising:

[0007] The merchant server receives a payment result for the power bank that the user needs to rent, sent by the payment monitoring server, wherein the payment result is a result of interactive payment between a card swiping device integrated in the rental device and the payment monitoring server when it is detected that the card swiping area of ​​the rental device senses a target card, and a power bank for the user to rent is placed on the rental device;

[0008] The merchant server creates a rental order for the power bank that the user needs to rent according to the payment result;

[0009] The merchant server feeds back the rental order to the rental device, so that the rental device performs a power bank pop-up operation.

[0010] As an optional implementation, in the first aspect of the present invention, the power bank pop-up operation is to determine a target power bank to be popped up to the user according to the received rental order, determine a pop-up instruction of the target power bank according to the rental order and the position of the target power bank in the rental device, and pop up the target power bank to the user according to the pop-up instruction;

[0011] The target power bank is determined in the following manner: determining whether there is information in the rental order indicating that the user has selected a power bank, and if it is determined that there is no information, screening at least one power bank for the user from a predetermined list of power banks that can be popped up as the target power bank that pops up to the user; and if it is determined that there is a power bank that matches the information based on the information corresponding to the rental order, determining the power bank as the target power bank that pops up to the user.

[0012] As an optional implementation, in the first aspect of the present invention, after the merchant server feeds back the rental order to the rental device so that the rental device performs a power bank pop-up operation, the method further includes:

[0013] The merchant server obtains the power-on result of the target power bank from the rental device;

[0014] When the pop-up result indicates that the target power bank pops up successfully, the merchant server generates a successful rental order for the target power bank according to the pop-up result;

[0015] When the ejection result indicates that the target power bank fails to eject, the merchant server performs a refund operation to the user;

[0016] Furthermore, before the merchant server performs a refund operation to the user, the method further includes:

[0017] The merchant server obtains a target video before the time when the pop-up result is obtained, and the target video is a video within a preset area centered on the geographical location of the rental device;

[0018] The merchant server determines whether there is a user taking the power bank from the rental device in the target video;

[0019] When the result of the judgment is yes, the merchant server intercepts a matching video containing the taken power bank from the target video, and analyzes the matching video to obtain an identifier of the taken power bank;

[0020] The merchant server determines the identification of the target power bank, and determines whether the identification of the taken power bank matches the identification of the target power bank;

[0021] When it is determined that there is no match, the merchant server executes the step of refunding the user;

[0022] When a match is determined, the merchant server determines that the target power bank has been successfully rented, and feeds back to the rental device a prompt that the target power bank has been successfully rented;

[0023] Furthermore, before the merchant server performs a refund operation to the user, the method further includes:

[0024] The merchant server obtains the heartbeat data of the power bank on the rental device, and determines whether the heartbeat data of the target power bank is included in the heartbeat data according to the identifier of the target power bank. When it is determined that the heartbeat data of the target power bank is included, the step of performing the refund operation to the user is executed. When it is determined that the heartbeat data of the target power bank is not included, it is determined that the rental of the target power bank is successful.

[0025] As an optional implementation, in the first aspect of the present invention, before the merchant server creates a rental order for the power bank that the user needs to rent according to the payment result, the method further includes:

[0026] The merchant server obtains, from the payment monitoring server, a first identifier corresponding to the rental device providing the power bank according to the payment result;

[0027] The merchant server compares the acquired first identifier with at least one predetermined second identifier to obtain a comparison result;

[0028] When the comparison result is used to indicate that the rental device indicated by the first identifier and one of the rental devices indicated by the second identifier are the same rental device, the operation of creating a rental order for the power bank that the user needs to rent according to the payment result is performed.

[0029] As an optional implementation, in the first aspect of the present invention, the merchant server obtains the first identifier corresponding to the rental device providing the power bank from the payment monitoring server according to the payment result, including:

[0030] The merchant server analyzes the payment result to obtain a first identifier corresponding to the rental device providing the power bank; and / or

[0031] The merchant server generates an identification acquisition prompt according to the payment result, wherein the identification acquisition prompt includes the payment result and is used to prompt the payment monitoring server to feedback an identification corresponding to the card swiping device that generates the payment result through interactive payment with the merchant server;

[0032] The merchant server feeds back the identification acquisition prompt to the payment monitoring server, so that the payment monitoring server sends an identification matching the payment result to the merchant server according to the identification acquisition prompt;

[0033] The merchant server receives the identifier sent by the payment monitoring server as the first identifier corresponding to the rental device providing the power bank.

[0034] As an optional implementation, in the first aspect of the present invention, the first identification includes an identification corresponding to a card swiping device integrated on the rental device providing the power bank, wherein the identification corresponding to the card swiping device integrated on the rental device providing the power bank includes a device identification of the card swiping device integrated on the rental device providing the power bank and / or a geographic location identification of the card swiping device integrated on the rental device providing the power bank;

[0035] The merchant server compares the acquired first identifier with at least one predetermined second identifier to obtain a comparison result, including:

[0036] The merchant server compares the obtained identification corresponding to the card swiping device integrated in the rental device providing the power bank with at least one predetermined second identification to obtain a comparison result, wherein the at least one second identification includes at least one identification corresponding to the card swiping device;

[0037] When the comparison result is used to indicate that the obtained identifier corresponding to the card swiping device integrated on the rental device providing the power bank matches the identifier corresponding to one of the predetermined card swiping devices, the merchant server determines that the comparison result is used to indicate that the rental device indicated by the first identifier and one of the rental devices indicated by the second identifier are the same rental device.

[0038] As an optional implementation manner, in the first aspect of the present invention, before the merchant server determines that the comparison result is used to indicate that the rental device indicated by the first identifier and one of the rental devices indicated by the second identifier are the same rental device, the method further includes:

[0039] The merchant server obtains a first rental device identifier that matches the identifier corresponding to the card swiping device integrated on the rental device providing the power bank from at least one predetermined rental device identifier according to the identifier corresponding to the card swiping device obtained;

[0040] The merchant server sends a device identification acquisition prompt to the rental device corresponding to the identification, based on the identification corresponding to the card swiping device integrated on the rental device providing the power bank, to trigger the rental device to send a second rental device identification of the rental device to the merchant server;

[0041] The merchant server receives the second rental device identifier and determines whether the first rental device identifier matches the second rental device identifier. When a match is determined, the merchant server triggers the operation of determining that the comparison result indicates that the rental device indicated by the first identifier and one of the rental devices indicated by the second identifier are the same rental device.

[0042] The second aspect of the present invention discloses a device for renting a power bank based on a merchant server, the device is applied to the merchant server, and the device includes:

[0043] A communication module, used for receiving a payment result for a power bank that a user needs to rent, sent by a payment monitoring server, wherein the payment result is a result of interactive payment between a card swiping device integrated in the rental device and the payment monitoring server when a target card is sensed in a card swiping area of ​​the rental device, and the rental device is placed on the power bank for rent by the user;

[0044] A creation module, used to create a rental order for the power bank that the user needs to rent according to the payment result;

[0045] The rental module is used to feed back the rental order to the rental device, so that the rental device can perform the power bank pop-up operation.

[0046] As an optional implementation, in the second aspect of the present invention, the power bank pop-up operation is to determine a target power bank to be popped up to the user according to the received rental order, determine a pop-up instruction of the target power bank according to the rental order and the position of the target power bank in the rental device, and pop up the target power bank to the user according to the pop-up instruction;

[0047] The target power bank is determined in the following manner: determining whether there is information in the rental order indicating that the user has selected a power bank, and if it is determined that there is no information, screening at least one power bank for the user from a predetermined list of power banks that can be popped up as the target power bank that pops up to the user; and if it is determined that there is a power bank that matches the information based on the information corresponding to the rental order, determining the power bank as the target power bank that pops up to the user.

[0048] As an optional implementation, in the second aspect of the present invention, the communication module is further used for obtaining the ejection result of the target power bank from the rental device after the rental module feeds back the rental order to the rental device so that the rental device performs the ejection operation of the power bank;

[0049] The creation module is further configured to generate a successful rental order for the target power bank according to the pop-up result when the pop-up result indicates that the target power bank is successfully popped out;

[0050] The device also includes:

[0051] A refund module, used for executing a refund operation to the user when the ejection result indicates that the target power bank is not ejected successfully;

[0052] And, the device further comprises:

[0053] A first acquisition module is used to acquire a target video before the acquisition time of the bounce result before the refund module performs a refund operation to the user, wherein the target video is a video within a preset area centered on the geographical location of the rental device;

[0054] A first judgment module is used to judge whether there is a user taking the power bank from the rental device in the target video;

[0055] The first acquisition module is further configured to intercept, from the target video, a matching video containing the power bank that has been taken away, and analyze the matching video to obtain an identifier of the power bank that has been taken away when the result of the judgment is yes;

[0056] A determination module, used to determine the identification of the target power bank;

[0057] The first judgment module is further used to judge whether the identification of the taken power bank matches the identification of the target power bank; when it is judged that they do not match, the refund module is triggered to execute the step of performing the refund operation to the user;

[0058] The determination module is further configured to determine that the target power bank is successfully rented when a match is determined;

[0059] The communication module is further used to feed back to the rental device a prompt that the target power bank has been successfully rented;

[0060] And, a first acquisition module, used for acquiring the heartbeat data of the power bank on the rental device before the refund module performs a refund operation to the user;

[0061] A first judgment module is used to judge whether the heartbeat data contains the heartbeat data of the target power bank according to the identifier of the target power bank, and when it is judged that the heartbeat data of the target power bank is contained, trigger the refund module to execute the step of performing the refund operation to the user;

[0062] The determination module is further configured to determine that the rental of the target power bank is successful when it is determined that the heartbeat data of the target power bank is not included.

[0063] As an optional implementation, in the second aspect of the present invention, the communication module is further used to obtain a first identifier corresponding to a rental device providing a power bank from the payment monitoring server according to the payment result before the creation module creates a rental order for the power bank required to be rented by the user according to the payment result;

[0064] The device also includes:

[0065] A comparison module is used to compare the first identifier obtained with at least one second identifier determined in advance to obtain a comparison result; when the comparison result is used to indicate that the rental device indicated by the first identifier and one of the rental devices indicated by the second identifier are the same rental device, the creation module is triggered to execute the operation of creating a rental order for the power bank that the user needs to rent based on the payment result.

[0066] As an optional implementation, in the second aspect of the present invention, the specific manner in which the communication module obtains the first identifier corresponding to the rental device providing the power bank from the payment monitoring server according to the payment result includes:

[0067] Analyze the payment result to obtain a first identifier corresponding to the rental device providing the power bank; and / or

[0068] Generate an identification acquisition prompt according to the payment result, wherein the identification acquisition prompt includes the payment result and is used to prompt the payment monitoring server to feedback an identification corresponding to the card swiping device that interacts with the payment to generate the payment result;

[0069] Feedback the identification acquisition prompt to the payment monitoring server, so that the payment monitoring server sends an identification matching the payment result to the merchant server according to the identification acquisition prompt;

[0070] The identifier sent by the payment monitoring server is received as the first identifier corresponding to the rental device providing the power bank.

[0071] As an optional implementation, in the second aspect of the present invention, the first identification includes an identification corresponding to a card swiping device integrated on the rental device providing the power bank, wherein the identification corresponding to the card swiping device integrated on the rental device providing the power bank includes a device identification of the card swiping device integrated on the rental device providing the power bank and / or a geographic location identification of the card swiping device integrated on the rental device providing the power bank;

[0072] The comparison module compares the acquired first identifier with at least one predetermined second identifier, and obtains the comparison result in a specific manner including:

[0073] Compare the obtained identification corresponding to the card swiping device integrated in the rental device providing the power bank with at least one predetermined second identification to obtain a comparison result, wherein at least one of the second identifications includes at least one identification corresponding to the card swiping device;

[0074] When the comparison result is used to indicate that the obtained identifier corresponding to the card swiping device integrated on the rental device providing the power bank matches the identifier corresponding to one of the predetermined card swiping devices, it is determined that the comparison result is used to indicate that the rental device indicated by the first identifier and one of the rental devices indicated by the second identifier are the same rental device.

[0075] As an optional implementation, in the second aspect of the present invention, the device further includes:

[0076] A second acquisition module is used to obtain a first rental device identifier that matches the identifier corresponding to the card swiping device from at least one predetermined rental device identifier, based on the identifier corresponding to the card swiping device integrated on the rental device providing the power bank, before the comparison module determines that the comparison result is used to indicate that the rental device indicated by the first identifier and one of the rental devices indicated by the second identifier are the same rental device;

[0077] The communication module is further used to send a device identification acquisition prompt to the rental device corresponding to the identification corresponding to the card swiping device integrated on the rental device providing the power bank, so as to trigger the rental device to send a second rental device identification of the rental device to the merchant server;

[0078] The communication module is further used to receive the second rental device identification;

[0079] The second judgment module is used to judge whether the first rental device identifier matches the second rental device identifier. When a match is determined, the comparison module is triggered to execute the operation of determining that the comparison result is used to indicate that the rental device indicated by the first identifier and one of the rental devices indicated by the second identifier are the same rental device.

[0080] A third aspect of the present invention discloses a merchant server, the merchant server comprising:

[0081] A memory storing executable program code;

[0082] a processor coupled to the memory;

[0083] The processor calls the executable program code stored in the memory to execute the method for renting a power bank based on a merchant server disclosed in the first aspect of the present invention.

[0084] The fourth aspect of the present invention discloses a computer-readable storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute the method for renting power banks based on a merchant server disclosed in the first aspect of the present invention.

[0085] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0086] In an embodiment of the present invention, a merchant server receives a payment result for a power bank that a user needs to rent and sends a payment monitoring server, wherein the payment result is a result of interactive payment between a card swiping device integrated in the rental device and the payment monitoring server when it is detected that the card swiping area of ​​the rental device senses a target card, and a power bank for the user to rent is placed on the rental device; the merchant server creates a rental order for the power bank that the user needs to rent based on the payment result; the merchant server feeds the rental order back to the rental device, so that the rental device performs a power bank pop-up operation, that is, after interactive payment is performed between the payment monitoring server and the card swiping device, the corresponding rental order is generated after the card swiping payment of the fee required for the user to rent the power bank is completed, thereby providing the user with the power bank, simplifying the rental operation process of the power bank, and improving the rental efficiency of the power bank; and the rental fee is paid by swiping the card through the payment monitoring server, which reduces the risk of data leakage and improves payment security and rental security. BRIEF DESCRIPTION OF THE DRAWINGS

[0087] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0088] Figure 1 It is a flow chart of a method for renting a power bank based on a merchant server disclosed in an embodiment of the present invention;

[0089] Figure 2 It is a flowchart diagram of another method for renting a power bank based on a merchant server disclosed in an embodiment of the present invention;

[0090] Figure 3 It is a structural schematic diagram of a device for renting power banks based on a merchant server disclosed in an embodiment of the present invention;

[0091] Figure 4 It is a structural schematic diagram of another device for renting power banks based on a merchant server disclosed in an embodiment of the present invention;

[0092] Figure 5 It is a structural schematic diagram of a merchant server disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0093] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0094] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or end including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or ends.

[0095] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0096] The present invention discloses a method and device for renting a power bank based on a merchant server, and a merchant server, wherein the merchant server receives a payment result for a power bank required to be rented by a user and sent by a payment monitoring server, wherein the payment result is a result of interactive payment between a card swiping device integrated on the rental device and the payment monitoring server when a target card is detected to be sensed by the card swiping area of ​​the rental device, and a power bank for renting by the user is placed on the rental device; the merchant server creates a rental order for the power bank required to be rented by the user according to the payment result; the merchant server feeds the rental order back to the rental device, so that the rental device performs a power bank pop-up operation, that is, after completing the card swiping payment of the user's required payment for renting the power bank through interactive payment between the payment monitoring server and the card swiping device, a corresponding rental order is generated, thereby providing the user with a power bank, simplifying the rental operation process of the power bank, and improving the rental efficiency of the power bank; and the rental fee is paid by card swiping through the payment monitoring server, reducing the risk of data leakage, and improving payment security and rental security. The following are detailed descriptions.

[0097] Embodiment 1

[0098] See also Figure 1 , Figure 1 This is a flow chart of a method for renting a power bank based on a merchant server disclosed in an embodiment of the present invention. Figure 1 The described method for renting power banks based on merchant servers can be applied to any scenario where power banks need to be rented, such as shopping malls, parks, streets, etc. Also, the merchant server can be understood as the merchant server in the conventional sense, or as the cabinet center (also known as the cabinet server), but it should be noted that when the corresponding technical solution includes both the merchant server and the cabinet server, the merchant server is the merchant server in the conventional sense. Figure 1 As shown, the method for renting a power bank based on a merchant server may include the following operations:

[0099] 101. The merchant server receives the payment result of the power bank that the user needs to rent from the payment monitoring server, wherein the payment result is the result of interactive payment between the card swiping device integrated in the rental device and the payment monitoring server when it is detected that the card swiping area of ​​the rental device senses the target card, and the rental device is equipped with a charging treasure for the user to rent.

[0100] In the embodiment of the present invention, optionally, renting can be understood as any of the words such as leasing, renting, borrowing, sharing, obtaining, using, etc., for requesting to obtain the use of the power bank.

[0101] In the embodiment of the present invention, optionally, a sensor for sensing a target card is placed in the card swiping area. When the user places the target card in the card swiping area, the sensor in the card swiping area can identify it. When it is identified, it means that the target card is detected to be placed in the card swiping area on the rental device. The rental device calls up the payment function of the card swiping device, or the card swiping device calls up the payment function by itself, so that the card swiping device and the payment monitoring server can perform interactive payment and obtain a payment result. Furthermore, the payment monitoring server can correspond to the card swiping device, and can be any server that can realize interactive payment with the card swiping device, such as Stripe server, Adyen server, PayPa server, etc., and the target card can be any card that can be recognized by the card swiping device, which is not limited in the embodiment of the present invention.

[0102] In the embodiment of the present invention, optionally, the card swiping device integrated in the rental device performs interactive payment with the payment monitoring server to obtain the payment result, which specifically includes:

[0103] The card swiping device obtains data of the target card, where the data of the target card includes an identification of the target card and / or the fee that the target card needs to pay this time;

[0104] The card swiping device obtains data of the rental device, where the data of the rental device includes the device identification of the rental device and the geographical location of the rental device;

[0105] The card swiping device sends the device identification of the card swiping device (such as the serial number of the card swiping device), the data of the target card, the data of the rental device and the current time data (such as one or more of the time when the card swiping device sends the data to the payment monitoring server, the time when the card swiping device obtains any of the aforementioned data and the time when the card swiping device senses the target card) to the payment monitoring server, so that the payment monitoring server performs the following operations:

[0106] The payment monitoring server determines the receiving time data of the data received from the card swiping device, generates a payment touch parameter (such as a token) according to the receiving time data, the data received from the card swiping device and a predetermined first encryption algorithm, and sends the payment touch parameter to the card swiping device, wherein the receiving time data includes one or more of the starting receiving time, the ending receiving time, and the data receiving duration; the payment touch parameter may be one of a symbol, a character, a number, and a picture;

[0107] The card swiping device receives the payment touch parameters sent by the payment monitoring server, and according to the received payment touch parameters, performs the deduction operation of the target card for the payment fee required for renting the power bank, obtains the fee deduction result, and generates the payment result according to the fee deduction result.

[0108] Furthermore, the card swiping device sends the payment result to the payment monitoring server, which is saved to the rental device and uploaded to the cabinet center.

[0109] It can be seen that the embodiment of the present invention can also jointly generate payment touch parameters with the card swiping device's own data, the target card data obtained by the card swiping device and the data of the rental device. While safely generating the payment touch parameters, it can improve the accuracy and reliability of the generation of the payment touch parameters, which is beneficial to improving the accuracy, reliability and efficiency of the interactive payment between the card swiping device and the payment monitoring server, and further beneficial to the accuracy and efficiency of the generation of payment results, and is beneficial to improving the accuracy of creating rental orders.

[0110] In the embodiment of the present invention, optionally, the payment monitoring server generates payment touch parameters according to the reception time data, the data received from the card swiping device and the predetermined first encryption algorithm, including:

[0111] The payment monitoring server determines the first data length of all data in the reception time data and the data received from the card swiping device, and generates a first key equal to the number of data in the data received from the card swiping device and the reception time data according to the first data length and a predetermined first encryption algorithm, and allocates a corresponding first key to each data in the data received from the card swiping device and the reception time data based on all the first keys;

[0112] The payment monitoring server performs an encryption operation on the data based on the first key corresponding to each data to obtain encrypted data, and performs an encryption operation on each encrypted data based on the receiving time data to obtain a payment touch parameter.

[0113] It can be seen that the embodiments of the present invention can also generate multiple keys by the length of all data in the card swiping device's own data, the target card data obtained by the card swiping device, and the data of the rental device, and encrypt each data based on the key assigned to it, and then encrypt the encrypted data again based on the time when the data is received from the card swiping device. That is, the data is multiplexed and encrypted through the relevant data itself, which further improves the security of the payment touch parameters, thereby helping to further improve the security of card payment in the scenario of renting a power bank.

[0114] In the embodiment of the present invention, it also includes:

[0115] The card swiping device determines the second data length of all data in the device identification of the card swiping device, the data of the target card, the data of the rental device and the current time data, and generates a corresponding second key for the target card data based on the second data length and a predetermined second encryption algorithm, and performs an encryption operation on the target card data based on the second key to obtain the encrypted target card data, and then sends the encrypted target card data to the payment monitoring server.

[0116] It can be seen that the embodiment of the present invention preliminarily encrypts the data of the target card that is about to execute the card swipe payment based on the data of the card swiping device itself and the data length of the acquired data before sending the data to the payment monitoring server. This can reduce the possibility that the target card data is stolen and decrypted during transmission to the payment monitoring server, thereby causing the balance to be stolen. This ensures the security of the data and the target card balance while improving the efficiency of data transmission, which is beneficial to further improve the accuracy of generating payment touch parameters, and is beneficial to further improve the accuracy and reliability of generating payment results.

[0117] In the embodiment of the present invention, it also includes:

[0118] The payment monitoring server obtains two or more of the pop-up list of rental equipment, charging rules, and fees required to be paid for renting a power bank, wherein the pop-up list, charging rules, and fees required to be paid for renting a power bank may be obtained from a card swiping device or a rental device, or may be obtained from a cabinet center, or may be obtained from a pop-up database, or may be obtained in other ways, without limitation;

[0119] The payment monitoring server generates at least one random rental parameter according to two of the target card data, the pop-up list, the charging rules and the fees required to rent the power bank, wherein each random rental parameter can be represented in any manner, such as symbols, characters, numbers, pictures, and in addition to the form of representation, it can also include the size of the form of representation, such as characters and character lengths, pictures and picture sizes;

[0120] For any random lease parameter, the payment monitoring server performs a data encryption operation on the payment touch parameter obtained above based on the random lease parameter to obtain an encrypted payment touch parameter;

[0121] The payment monitoring server generates final payment touch parameters based on all encrypted payment touch parameters.

[0122] In the embodiment of the present invention, for the description of the pop-up list and charging rules, please refer to the relevant description of the embodiment of the present invention, which will not be repeated here.

[0123] In an embodiment of the present invention, optionally, the first encryption algorithm and the second encryption algorithm include but are not limited to one of a symmetric encryption algorithm, an asymmetric encryption algorithm and a hash encryption algorithm, the symmetric encryption algorithm includes but is not limited to one of DES (Data Encryption Standard), 3DES (Triple DES), and AES (Advanced Encryption Standard), the asymmetric encryption algorithm includes but is not limited to one of RSA (Rivest-Shamir-Adleman), DSA (Digital Signature Algorithm), and ECC (Elliptic Curve Cryptography), and the hash encryption algorithm includes but is not limited to one of MD5 (Message Digest Algorithm 5), SHA-1 (Secure Hash Algorithm 1), SHA-2 and SHA-3.

[0124] It can be seen that the embodiments of the present invention can also combine the data of the sensed target card, the pop-up list, the charging rules and the fees required to rent the power bank to jointly generate corresponding random rental parameters, and encrypt the aforementioned payment touch parameters based on them, and then determine the final payment touch parameters based on all the encrypted payment touch parameters, which can further ensure the security of the payment touch parameters, thereby further improving the interactive payment security between the card swiping device and the payment monitoring server.

[0125] In the embodiment of the present invention, it also includes:

[0126] The target end obtains the network quality data of the current network, analyzes the network quality data, and obtains the network quality parameters of the current network;

[0127] The target end determines the network quality of the current network according to the network quality parameters of the current network, and obtains the number of times each encryption algorithm has been used in all encryption algorithms used in the past preset time period (such as the past month);

[0128] The target end selects the target encryption algorithm from all encryption algorithms according to the network quality of the current network and the number of times each encryption algorithm is used as the encryption algorithm actually used;

[0129] Among them, when the target end is a card swiping device, the encryption algorithm actually used is the second encryption algorithm; when the target end is a payment monitoring server, the encryption algorithm actually used is the first encryption algorithm.

[0130] In the embodiment of the present invention, the network quality parameters of the current network include, but are not limited to, one or more of network delay duration, packet loss rate, bandwidth, network load, bit error rate and throughput.

[0131] In the embodiment of the present invention, different encryption algorithms have different requirements for network quality, such as RSA algorithm has higher network quality requirements than 3DES algorithm. If the number of times the RSA algorithm, AES algorithm, and 3DES algorithm are used in the past preset time period is 30, 55, and 25 respectively, and the network quality meets the requirements of both the RSA algorithm and the AES algorithm, the AES algorithm with the larger number of times is selected as the encryption algorithm actually used; if the network quality only meets the requirements of the RSA algorithm, the RSA algorithm is selected as the encryption algorithm actually used.

[0132] It can be seen that the embodiments of the present invention can also combine the current network conditions and the number of times each encryption algorithm has been used in the past period of time to comprehensively select the optimal encryption algorithm, which can improve the accuracy and reliability of the selection of the encryption algorithm, thereby facilitating further improving the accuracy and reliability of the encryption of the corresponding data, and further facilitating further improving the security of card payment.

[0133] 102. The merchant server creates a rental order for the power bank that the user needs to rent based on the payment result.

[0134] In an embodiment of the present invention, optionally, the rental order may only indicate that the target card has been successfully swiped for payment. Furthermore, it may also include a rental device identifier so that the merchant server can accurately feed back the rental order to the corresponding rental device based on the rental device identifier. In this case, the rental device identifier is derived from the payment result.

[0135] 103. The merchant server feeds back the rental order to the rental device, so that the rental device performs a power bank pop-up operation.

[0136] In an embodiment of the present invention, optionally, the merchant server feeds back the rental order to the rental device via a message queue. Especially when there are multiple rental orders being sorted, feedback via a message queue can enable orderly feedback of the rental orders, thereby improving the accuracy and orderliness of feedback on the rental orders, thereby facilitating improving the efficiency and accuracy of renting power banks to corresponding users.

[0137] In an embodiment of the present invention, optionally, the specific process of the rental device performing the power bank pop-up operation is: according to the received rental order, determine the target power bank to be popped up to the user, and according to the rental order and the position of the target power bank in the rental device, determine the power-pop-up instruction of the target power bank, and according to the power-pop-up instruction, pop up the target power bank to the user. Among them, the power-pop-up instruction can be pre-generated, that is, when it is determined that the target power bank needs to be popped up, the pre-generated power-pop-up instruction of the target power bank is directly obtained according to the rental order and the position of the target power bank in the rental device, or it can be generated immediately according to the rental order and the position of the target power bank in the rental device when it is determined that the target power bank needs to be popped up. The embodiment of the present invention is not limited. Further, the target power bank is determined in the following manner: the rental device determines whether there is information in the rental order indicating that the user has selected the power bank, such as including a power bank logo. When it is determined that it does not exist, at least one power bank is selected for the user from a pre-determined power bank list as the target power bank that pops up to the user; when it is determined that it exists, the power bank that matches the information is determined according to the information corresponding to the rental order as the target power bank that pops up to the user. Among them, the pop-up list can be obtained by the rental device from the cabinet center, or it can be obtained from a pre-stored power bank database. Further, when there is no information in the rental order indicating that the user has selected the power bank, the power bank with the most current power in the pop-up list is used as the target power bank, or any power bank in the pop-up list whose current power is greater than or equal to the preset power is determined as the target power bank, or the power bank in the pop-up list whose current power is greater than or equal to the preset power and whose rental times are less than or equal to the preset rental times (such as 40 times) is determined as the target power bank, and other reasonable indiscretions are all included in the interpretation scope of the embodiments of the present invention. It should be noted that in general, the user only needs one power bank, that is, the number of target power banks required is 1, but it can also be based on actual conditions, such as when the rental order contains two power bank logos, and two or more power banks are popped up at the same time. In this way, the power bank required by the user can be determined through the rental order or the pop-up list, which can improve the efficiency and accuracy of determining the power bank, thereby helping to improve the efficiency and accuracy of popping up the power bank.

[0138] It can be seen that implementation Figure 1 The described method performs interactive payment between a payment monitoring server and a card swiping device, and after completing the card swiping payment required by the user to rent a power bank, a corresponding rental order is generated, thereby providing the power bank to the user, simplifying the power bank rental operation process, and improving the power bank rental efficiency; and the rental fee is paid by swiping the card through the payment monitoring server, which reduces the risk of data leakage and improves payment security and rental security.

[0139] In an optional embodiment, the method may further include the following steps:

[0140] The merchant server determines whether the payment result carries a successful payment indicator (such as Yes or Success);

[0141] When it is determined that there is a successful payment identifier, the merchant server executes the above-mentioned operation of creating a rental order for the power bank that the user needs to rent according to the payment result;

[0142] When it is determined that there is no successful payment identifier, the merchant server obtains another payment result sent by the target end based on the payment result, and determines whether the other payment result matches the aforementioned payment result. When it is determined that they match, the merchant server executes the above-mentioned operation of creating a rental order for the power bank that the user needs to rent based on the payment result.

[0143] In this optional embodiment, the target end includes a cabinet center or the rental device in step 101, wherein the cabinet center can communicate with the merchant server and the rental device. When the card swiping device on the rental device interacts with the payment monitoring server for payment and obtains the payment result, it will be saved in the rental device and uploaded to the cabinet center. At the same time as it is saved in the rental device and uploaded to the cabinet center, the time when the payment result is obtained will be saved and uploaded.

[0144] In this optional embodiment, optionally, when it is determined that another payment result does not match the aforementioned payment result, the current process is terminated, or a reminder to swipe the card again is generated and sent to the rental device, so that the rental device prompts the user to swipe the card again.

[0145] It can be seen that after receiving the payment result sent by the payment monitoring server, this optional embodiment further creates a rental order for the power bank when it is determined that the payment result carries a successful payment identifier. If it does not carry it, the payment result is obtained from the rental device or cabinet center, and it is compared with the payment result obtained from the payment monitoring server. If they are consistent, the rental order for the power bank is still created. This can reduce the possibility that the payment monitoring server mistakenly sends the payment result of an unsuccessful payment to the merchant server, causing the merchant to think that the payment is successful. This is beneficial to improving the accuracy and reliability of judging whether the card payment is successful, thereby further improving the accuracy of creating rental orders, and then helping to improve the security and accuracy of renting power banks.

[0146] In this optional embodiment, optionally, the merchant server obtains another payment result sent by the target end according to the payment result, including:

[0147] The merchant server determines the target device identifier according to the payment result, obtains the time of receiving the payment result, and generates a payment result acquisition prompt according to the acquisition time and the target device identifier;

[0148] The merchant server sends the payment result acquisition prompt to the target end corresponding to the target device identifier based on the target device identifier, so that the target end searches for the payment result matching the acquisition time according to the acquisition time and sends it to the merchant server, and receives the payment result sent by the target end as another payment result.

[0149] In this optional embodiment, the target device identification includes the device identification of the rental device in step 101 and / or the device identification of the card swiping device.

[0150] For example, when the merchant server obtains the payment result at 10:05:32, the target end will generate a payment result at 10:05:31, or send the payment result between 10:05:31 and 10:05:32 to the merchant server as another payment result.

[0151] In this optional embodiment, optionally, the merchant server determines the target device identifier according to the payment result, including:

[0152] If the payment result includes a target identifier, the merchant server determines the target identifier as the target device identifier;

[0153] If the payment result does not contain the target identifier, the merchant server sends a device identifier acquisition prompt to the payment monitoring server, so that the payment monitoring server feeds back the device identifier that matches the payment result to the server according to the device identifier acquisition prompt, and receives the device identifier sent by the payment monitoring server as the target device identifier;

[0154] The target identifier and the device identifier include the device identifier of the rental device and / or the device identifier of the card swiping device in step 101 .

[0155] It can be seen that the merchant server of this optional embodiment can also generate a corresponding payment result acquisition prompt based on the payment result obtained from the payment monitoring server and the time of obtaining the payment result, and request the rental equipment and / or institution center to send another matching payment result, which can improve the accuracy and efficiency of obtaining another payment result, thereby helping to improve the comparison efficiency and accuracy of the payment results; and by choosing to obtain the device identification from the payment result or requesting the payment monitoring server to obtain the device identification based on the fact that the payment result contains the device identification, the flexibility and efficiency of obtaining the device identification are improved, which is conducive to improving the efficiency of obtaining another payment result.

[0156] In another optional embodiment, after the merchant server feeds back the rental order to the rental device so that the rental device performs the power bank pop-up operation, the method may further include the following steps:

[0157] The merchant server obtains the power-up result of the target power bank from the rental device;

[0158] When the pop-up result is used to indicate that the target power bank is successfully popped up, the merchant server generates a successful rental order for the target power bank based on the pop-up result;

[0159] When the eject result indicates that the target power bank is not ejected successfully, the merchant server executes a refund operation to the user.

[0160] In this optional embodiment, the pop-up result may be actively sent by the rental device to the merchant server, or may be obtained by the merchant server sending an acquisition prompt to the rental device.

[0161] In this optional embodiment, optionally, the result of the power-on pop-up carries a successful power-on pop-up mark (such as Yes) or a failed power-on pop-up mark (No). Furthermore, a successful rental order includes one or more of the rental time, rental mark, rental geographic location, and rental user data of the target power bank, wherein the rental time includes the starting rental time (which can be understood as the moment when it pops up from the rental device, or the moment when the target power bank provides power to the user's electronic device) and / or the rental duration. The rental mark includes one or more of the mark of the target power bank, the mark of the rental device that pops up the target power bank, and the mark of the card swiping device on the rental device, and further, it may also include a merchant mark. The rental user data includes but is not limited to one or more of the user mark, user age, gender, and nationality.

[0162] In this optional embodiment, optionally, the merchant server executes a refund operation to the user, which may include: the merchant server pre-pays the refund fee to the user's account, wherein the user's account may be the user's electronic account or the card account of the target card; or the merchant server sends a refund prompt to the payment monitoring server or the rental device or the card swiping device of the rental device to prompt the corresponding device to refund the user, wherein the refund prompt may include the identification of the target power bank.

[0163] It can be seen that in this optional embodiment, after the merchant server prompts the rental device to charge the user, it further analyzes the charging result obtained from the rental device. If the charging is successful, a corresponding successful rental order is generated to facilitate accurate management and traceability of the power bank; if the charging is unsuccessful, a refund is made to the user to improve the user's rental experience.

[0164] In yet another optional embodiment, before the merchant server performs a refund operation to the user, the method may further include the following steps:

[0165] The merchant server obtains the target video before the acquisition time of the pop-up result, such as the video of the time between the time when the rental order is fed back to the rental device and the acquisition time. The target video is the video within the preset area centered on the geographical location of the rental device;

[0166] The merchant server determines whether there is a user taking the power bank from the rental device in the target video;

[0167] When the result is yes, the merchant server intercepts the matching video containing the taken power bank from the target video, analyzes the matching video, and obtains the identification of the taken power bank;

[0168] The merchant server determines the identification of the target power bank and determines whether the identification of the removed power bank matches the identification of the target power bank;

[0169] When it is determined that there is no match, the merchant server executes the above-mentioned steps of performing a refund operation to the user;

[0170] When a match is found, the merchant server determines that the target power bank is successfully rented, and feeds back to the rental device a prompt indicating that the target power bank is successfully rented. Further, a successful rental order for the target power bank is generated.

[0171] In this optional embodiment, optionally, when the proportion of the same identification portion of the identification of the taken power bank and the identification of the target power bank to the entire identification is greater than or equal to a first preset proportion, such as four fifths, it indicates that the two match. Further, when it is determined that there is no user taking the power bank from the rental device in the target video, it is determined that the target power bank has not been successfully powered on.

[0172] In this optional embodiment, optionally, the identification of the power bank that was taken away is obtained by performing feature extraction on the matching video.

[0173] It can be seen that in this optional embodiment, before the merchant server refunds the user, it further analyzes the rental of the power bank on the most recent video of the rental device. If it is analyzed that the power bank taken away during this period matches the logo of the power bank that needs to be ejected, it is still determined that the power is ejected successfully, which can reduce the occurrence of situations where the power is ejected successfully but the rental device does not recognize it, such as the spring clip does not pop up, which leads to the mistaken belief that the power is ejected unsuccessfully, and further improves the accuracy of determining successful power ejection, which is beneficial to improving the management and traceability accuracy of the power bank and reducing the economic losses of the renter (such as the merchant server, the power bank provider, and the rental equipment provider); if it is analyzed that the power bank taken away during this period does not match the logo of the power bank that needs to be ejected, it is determined that the power ejection failed, which improves the accuracy of the analysis of the power ejection failure, which is beneficial to improving the execution accuracy of the refund operation.

[0174] In yet another optional embodiment, before the merchant server performs a refund operation to the user, the method may further include the following steps:

[0175] The merchant server obtains the heartbeat data of the power bank on the rental device, and determines whether the heartbeat data of the target power bank is included in the heartbeat data based on the identification of the target power bank. When it is determined that the heartbeat data of the target power bank is included, the above-mentioned steps of refunding the user are executed. When it is determined that the heartbeat data of the target power bank is not included, it is determined that the rental of the target power bank is successful.

[0176] In this optional embodiment, when the merchant server is the merchant server commonly understood, the merchant server can obtain the heartbeat data of the power bank on the rental device from the cabinet center. At this time, the heartbeat data of the cabinet center is obtained by communicating with the rental device; when the merchant server can be understood as the cabinet center, the heartbeat data of the power bank can be directly obtained from the rental device.

[0177] It can be seen that this optional embodiment determines whether the power bank is successfully ejected by providing heartbeat packet data, which can reduce the occurrence of erroneous assumption that the power bank has not been ejected successfully due to successful ejection but the shrapnel has not popped up, and further improves the accuracy of determining successful ejection, which is beneficial to improving the management and traceability accuracy of the power bank and reducing the economic losses of the lessee.

[0178] Embodiment 2

[0179] See also Figure 2 , Figure 2 1 is a flow chart of another method for renting a power bank based on a merchant server disclosed in an embodiment of the present invention. Figure 2 The described method for renting power banks based on a merchant server can be applied to any scenario where power banks need to be rented, such as shopping malls, parks, streets, etc. Figure 2 As shown, the method for renting a power bank based on a merchant server may include the following operations:

[0180] 201. The merchant server receives the payment result of the power bank that the user needs to rent from the payment monitoring server, wherein the payment result is the result of interactive payment between the card swiping device integrated in the rental device and the payment monitoring server when it is detected that the card swiping area of ​​the rental device senses the target card, and the rental device is equipped with a charging treasure for the user to rent.

[0181] 202. The merchant server obtains the first identifier corresponding to the rental device providing the power bank from the payment monitoring server according to the payment result.

[0182] In the embodiment of the present invention, optionally, the merchant server obtains the first identifier corresponding to the rental device providing the power bank from the payment monitoring server according to the payment result, including:

[0183] The merchant server analyzes the payment result and obtains the first identifier corresponding to the rental device providing the power bank; and / or

[0184] The merchant server generates an identification acquisition prompt according to the payment result, and the identification acquisition prompt includes the payment result and is used to prompt the payment monitoring server to feedback the identification corresponding to the card swiping device that generates the payment result through interactive payment with the merchant server;

[0185] The merchant server feeds back the identification acquisition prompt to the payment monitoring server, so that the payment monitoring server sends the identification matching the payment result to the merchant server according to the identification acquisition prompt;

[0186] The merchant server receives the identifier sent by the payment monitoring server as the first identifier corresponding to the rental device providing the power bank.

[0187] In an embodiment of the present invention, optionally, the payment result carries a first identifier; when the first identifier is not carried, the merchant server can generate an identifier acquisition prompt based on the payment result, wherein the identifier acquisition prompt is also used to prompt the payment monitoring server to feedback the identifier corresponding to the rental device where the card swiping device that interacts with it to generate the payment result is located. Wherein, the first identifier includes an identifier corresponding to the card swiping device integrated on the rental device that provides the power bank, wherein the identifier corresponding to the card swiping device integrated on the rental device that provides the power bank includes the device identifier of the card swiping device integrated on the rental device that provides the power bank and / or the geographic location identifier of the card swiping device integrated on the rental device that provides the power bank. Further, the first identifier can also include an identifier corresponding to the rental device that provides the power bank, wherein the identifier corresponding to the rental device that provides the power bank includes the device identifier of the rental device that provides the power bank and / or the location location identifier of the rental device that provides the power bank.

[0188] It can be seen that the embodiments of the present invention can also obtain the identification corresponding to the card swiping device, and even the identification of the rental device, from the payment result to the payment monitoring server, thereby enriching the identification acquisition methods and improving the identification acquisition efficiency; and through the payment result obtained from the payment monitoring server, in turn generating an identification acquisition prompt and giving it to the payment monitoring server, which is conducive to the payment server to quickly and accurately obtain the corresponding identification, thereby facilitating improving the comparative accuracy of the identification, and further facilitating further improving the accuracy and reliability of executing the operation of creating a rental order.

[0189] 203. The merchant server compares the acquired first identifier with at least one predetermined second identifier to obtain a comparison result.

[0190] In the embodiment of the present invention, optionally, the merchant server compares the acquired first identifier with at least one predetermined second identifier to obtain a comparison result, including:

[0191] The merchant server compares the obtained identification corresponding to the card swiping device integrated on the rental device providing the power bank with at least one predetermined second identification to obtain a comparison result, wherein the at least one second identification includes at least one identification corresponding to the card swiping device, and further, may also include at least one identification corresponding to the rental device;

[0192] When the comparison result is used to indicate that the obtained identifier corresponding to the card swiping device integrated on the rental device providing the power bank matches the identifier corresponding to one of the predetermined card swiping devices, the merchant server determines that the comparison result is used to indicate that the rental device indicated by the first identifier and the rental device indicated by one of the second identifiers are the same rental device.

[0193] In an embodiment of the present invention, optionally, if the acquired geographic location identifier of the card swiping device integrated on the rental device providing the power bank is the same as the geographic location identifier of one of the pre-determined card swiping devices, it indicates that the two match, otherwise they do not match; and / or, if the proportion of the identical identifier part in the device identifier of the card swiping device integrated on the rental device providing the power bank and the device identifier of one of the pre-determined card swiping devices is greater than or equal to a second preset proportion, such as five-sixths, it indicates that the two match, otherwise they do not match.

[0194] In an embodiment of the present invention, optionally, when the comparison result is used to indicate that the obtained identifier corresponding to the card swiping device integrated on the rental device providing the power bank does not match the identifier corresponding to one of the predetermined card swiping devices, the comparison result is used to indicate that the rental device indicated by the first identifier and the rental device indicated by one of the second identifiers are two different rental devices.

[0195] It can be seen that the embodiment of the present invention can improve the comparison efficiency and accuracy of identifications in the power bank rental scenario by comparing the device identification and / or geographic location identification of the card swiping device obtained from the payment monitoring server with the device identification and / or geographic location identification of the card swiping device already stored in the merchant server, which is beneficial to improving the comparison efficiency and accuracy of the rental equipment, and further beneficial to improving the execution reliability of the power bank's power-on operation.

[0196] 204. When the comparison result indicates that the rental device indicated by the first identifier and one of the rental devices indicated by the second identifier are the same rental device, the merchant server creates a rental order for the power bank that the user needs to rent according to the payment result.

[0197] In an embodiment of the present invention, optionally, when the comparison result is used to indicate that the rental device indicated by the first identifier and one of the rental devices indicated by the second identifier are two different rental devices, a refund operation is performed, wherein the specific description of performing the refund operation is detailed in the relevant specific description of the same content in Example 1, which will not be repeated here.

[0198] 205. The merchant server feeds back the rental order to the rental device, so that the rental device performs a power bank pop-up operation.

[0199] In the embodiment of the present invention, for other descriptions of step 201, step 204, and step 205, please refer to the detailed description of steps 101-103 in the first embodiment, which will not be repeated here.

[0200] It can be seen that implementation Figure 2 The described method embodiment performs interactive payment between the payment monitoring server and the card swiping device, completes the card swiping payment required by the user to rent the power bank, and generates a corresponding rental order, thereby providing the power bank to the user, simplifying the rental operation process of the power bank, and improving the rental efficiency of the power bank; and the rental fee is paid by swiping the card through the payment monitoring server, reducing the risk of data leakage, and improving payment security and rental security. In addition, before creating a rental order, the device identification and / or geographic location identification obtained from the payment monitoring server is compared with the device identification and / or geographic location identification already stored in the merchant server. If the comparison shows that the two are the same rental device, the rental order is created, which is conducive to improving the reliability and effectiveness of the rental order creation operation and improving the accuracy of the rental order creation, and reducing the occurrence of the inability to accurately feedback the rental device due to the two not being the same rental device, thereby helping to improve the execution reliability of the power bank's power-on operation, accurately and reliably provide the user with the required power bank, and improve the user's experience of renting the power bank, which is conducive to improving the user stickiness of the power bank.

[0201] In an optional embodiment, before the merchant server determines that the comparison result indicates that the rental device indicated by the first identifier and the rental device indicated by one of the second identifiers are the same rental device, the method may further include the following steps:

[0202] The merchant server obtains a first rental device identifier that matches the identifier corresponding to the card swiping device integrated on the rental device providing the power bank from at least one predetermined rental device identifier according to the identifier corresponding to the card swiping device obtained;

[0203] The merchant server sends a device identification acquisition prompt to the rental device corresponding to the identification, based on the identification corresponding to the card swiping device integrated on the rental device providing the power bank, to trigger the rental device to send the second rental device identification of the rental device to the merchant server;

[0204] The merchant server receives the second rental device identifier and determines whether the first rental device identifier matches the second rental device identifier. When a match is determined, the merchant server triggers the execution of the above-mentioned operation of determining that the comparison result indicates that the rental device indicated by the first identifier and one of the rental devices indicated by the second identifier are the same rental device.

[0205] In this optional embodiment, for each rental device, an association relationship is established between the identification of the rental device and the card swiping device integrated on the rental device, and the other identification can be mutually searched based on any identification and the corresponding association relationship. Among them, the first rental device identification and the second rental device identification can both be understood as the identification of the rental device and / or the geographical location identification of the rental device. When the proportion of the same device identification part of the first rental device identification and the second rental device identification to the entire identification is greater than or equal to the third preset proportion, and / or, the geographical location identifications of the first rental device identification and the second rental device identification are the same, it means that the first rental device identification matches the second rental device identification, otherwise they do not match. Further, when there is no match, it is determined that the comparison result is used to indicate that the rental device indicated by the first identification and one of the rental devices indicated by the second identification are two different rental devices.

[0206] It can be seen that the embodiments of the present invention can also determine that the two represent the same rental device when it is determined that the device identification and / or geographic location identification of the card swiping device obtained from the payment monitoring server matches the device identification and / or geographic location identification of the card swiping device already stored in the merchant server, and when it is determined that the rental device identification matched according to the identification corresponding to the card swiping device obtained from the payment monitoring server matches the rental device identification sent by the rental device corresponding to the identification of the card swiping device obtained from the payment monitoring server, that is, by performing multiple identification comparisons on identifications obtained through different channels, the comparison accuracy and reliability of the identifications are improved, which is beneficial to improving the reliability and effectiveness of executing the rental order creation operation and improving the accuracy of creating rental orders, and further beneficial to improving the accuracy of renting power banks.

[0207] Embodiment 3

[0208] See also Figure 3 , Figure 3 1 is a schematic diagram of a device for renting power banks based on a merchant server disclosed in an embodiment of the present invention. Figure 3 The described device for renting power banks based on a merchant server can be applied to a merchant server and to any scene where a power bank rental is required, such as a shopping mall scene, a park scene, a street scene, etc. Figure 3 As shown, the device for renting a power bank based on a merchant server may include:

[0209] The communication module 301 is used to receive the payment result of the power bank that the user needs to rent from the payment monitoring server, wherein the payment result is the result of the interactive payment between the card swiping device integrated in the rental device and the payment monitoring server when it is detected that the card swiping area of ​​the rental device senses the target card, and the rental device is placed with a charging treasure for the user to rent;

[0210] A creation module 302 is used to create a rental order for the power bank that the user needs to rent according to the payment result;

[0211] The rental module 303 is used to feed back the rental order to the rental device so that the rental device can perform a power bank ejection operation.

[0212] In an embodiment of the present invention, optionally, the specific process of the rental device performing the power bank pop-up operation is: according to the received rental order, determine the target power bank to be popped up to the user, and according to the rental order and the position of the target power bank in the rental device, determine the power-pop-up instruction of the target power bank, and according to the power-pop-up instruction, pop up the target power bank to the user. Among them, the power-pop-up instruction can be pre-generated, that is, when it is determined that the target power bank needs to be popped up, the pre-generated power-pop-up instruction of the target power bank is directly obtained according to the rental order and the position of the target power bank in the rental device, or it can be generated immediately according to the rental order and the position of the target power bank in the rental device when it is determined that the target power bank needs to be popped up. The embodiment of the present invention is not limited. Further, the target power bank is determined in the following manner: the rental device determines whether there is information in the rental order indicating that the user has selected the power bank, such as including a power bank logo. When it is determined that it does not exist, at least one power bank is selected for the user from a pre-determined power bank list as the target power bank that pops up to the user; when it is determined that it exists, the power bank that matches the information is determined according to the information corresponding to the rental order as the target power bank that pops up to the user. Among them, the pop-up list can be obtained by the rental device from the cabinet center, or it can be obtained from a pre-stored power bank database. Further, when there is no information in the rental order indicating that the user has selected the power bank, the power bank with the most current power in the pop-up list is used as the target power bank, or any power bank in the pop-up list whose current power is greater than or equal to the preset power is determined as the target power bank, or the power bank in the pop-up list whose current power is greater than or equal to the preset power and whose rental times are less than or equal to the preset rental times (such as 40 times) is determined as the target power bank, and other reasonable indiscretions are all included in the interpretation scope of the embodiments of the present invention. It should be noted that in general, the user only needs one power bank, that is, the number of target power banks required is 1, but it can also be based on actual conditions, such as when the rental order contains two power bank logos, and two or more power banks are popped up at the same time. In this way, the power bank required by the user can be determined through the rental order or the pop-up list, which can improve the efficiency and accuracy of determining the power bank, thereby helping to improve the efficiency and accuracy of popping up the power bank.

[0213] It can be seen that implementation Figure 3 The described device embodiment performs interactive payment between a payment monitoring server and a card swiping device. After completing the card swiping payment required by the user to rent a power bank, a corresponding rental order is generated, thereby providing the power bank to the user, simplifying the power bank rental operation process, and improving the power bank rental efficiency; and performing card swiping payment for the rental fee through the payment monitoring server, reduces the risk of data leakage and improves payment security and rental security.

[0214] In an optional embodiment, if Figure 3 As shown, the communication module 301 is also used to obtain the ejection result of the target power bank from the rental device after the rental module 303 feeds back the rental order to the rental device so that the rental device performs the ejection operation of the power bank;

[0215] The creation module 302 is further used to generate a successful rental order of the target power bank according to the pop-up result when the pop-up result indicates that the target power bank is successfully popped out;

[0216] like Figure 4 As shown, Figure 4 is a structural diagram of another device for renting power banks based on a merchant server disclosed in an embodiment of the present invention, such as Figure 4 As shown, the device also includes:

[0217] A refund module 304, configured to refund the user when the eject result indicates that the target power bank has not been ejected successfully;

[0218] And, if Figure 4 As shown, the device may also include:

[0219] The first acquisition module 305 is used to acquire a target video before the acquisition time of the pop-up result before the refund module 304 performs a refund operation to the user, such as a video of the time between the time when the rental order is fed back to the rental device and the acquisition time, and the target video is a video within a preset area centered on the geographical location of the rental device;

[0220] The first determination module 306 is used to determine whether there is a user taking the power bank from the rental device in the target video;

[0221] The first acquisition module 305 is further configured to intercept, from the target video, a matching video containing the taken power bank, and analyze the matching video to obtain an identifier of the taken power bank when the result of the judgment is yes;

[0222] A determination module 307 is used to determine the identification of the target power bank;

[0223] The first judgment module 306 is further used to judge whether the identification of the taken power bank matches the identification of the target power bank; when it is judged that they do not match, the refund module 304 is triggered to execute the above-mentioned steps of performing the refund operation to the user;

[0224] The determination module 307 is further used to determine that the target power bank is successfully rented when a match is determined;

[0225] The communication module 301 is also used to feed back to the rental device a prompt that the target power bank has been successfully rented.

[0226] It can be seen that implementation Figure 4 Before refunding the user, the described device further analyzes the rental of the power bank on the most recent video of the rental device. If the analysis shows that the power bank taken away during this period matches the identification of the power bank that needs to be ejected, it is still determined that the power is ejected successfully, which can reduce the occurrence of the situation where the power is ejected successfully but the rental device does not recognize it, such as the spring clip does not pop up, which leads to the mistaken belief that the power is ejected unsuccessfully, and further improves the accuracy of determining successful power ejection, which is beneficial to improving the accuracy of power bank management and traceability and reducing the economic losses of the renter (such as merchant server, power bank provider, rental equipment provider); if the analysis shows that the power bank taken away during this period does not match the identification of the power bank that needs to be ejected, it is determined that the power ejection failed, which improves the accuracy of the analysis of power ejection failure, which is beneficial to improving the execution accuracy of the refund operation.

[0227] In another optional embodiment, Figure 4 As shown, the first acquisition module 305 is used to obtain the heartbeat data of the power bank on the rental device before the refund module 304 performs a refund operation to the user;

[0228] The first judgment module 306 is used to judge whether the heartbeat data contains the heartbeat data of the target power bank according to the identification of the target power bank, and when it is judged that the heartbeat data of the target power bank is contained, the refund module 304 is triggered to execute the above-mentioned steps of performing the refund operation to the user;

[0229] The determination module 301 is further used to determine that the target power bank has been successfully rented when it is determined that the heartbeat data of the target power bank is not included.

[0230] It can be seen that implementation Figure 4 The described device determines whether the power bank is successfully ejected by providing heartbeat packet data, which can reduce the occurrence of erroneous assumption that the power bank has not been ejected successfully due to successful ejection but the shrapnel has not been ejected, and further improves the accuracy of determining successful ejection, which is beneficial to improving the management and traceability accuracy of the power bank and reducing the economic losses of the lessee.

[0231] In yet another optional embodiment, Figure 4 As shown, the communication module 301 is also used to obtain a first identifier corresponding to a rental device providing a power bank from a payment monitoring server according to the payment result before the creation module 302 creates a rental order for the power bank required to be rented by the user according to the payment result;

[0232] The comparison module 308 is used to compare the acquired first identifier with at least one predetermined second identifier to obtain a comparison result; when the comparison result is used to indicate that the rental device indicated by the first identifier and the rental device indicated by one of the second identifiers are the same rental device, the creation module 302 is triggered to execute the above-mentioned creation of a rental order for the power bank that the user needs to rent based on the payment result.

[0233] It can be seen that implementation Figure 4 The described device can also compare the device identification and / or geographic location identification obtained from the payment monitoring server with the device identification and / or geographic location identification already stored in the merchant server before creating a rental order. If the comparison shows that the two are the same rental device, the rental order is created. This is beneficial to improving the reliability and effectiveness of executing the rental order creation operation and improving the accuracy of creating rental orders, and reducing the occurrence of situations where the rental device cannot be accurately fed back due to the fact that the two are not the same rental device. This is beneficial to improving the execution reliability of the power bank's power-on operation, accurately and reliably providing users with the required power banks, improving users' experience in renting power banks, and further beneficial to improving users' stickiness in using power banks.

[0234] In this optional embodiment, optionally, the communication module 301 obtains the first identifier corresponding to the rental device providing the power bank from the payment monitoring server according to the payment result in a specific manner including:

[0235] Analyze the payment result to obtain a first identifier corresponding to the rental device providing the power bank; and / or

[0236] Generate an identification acquisition prompt according to the payment result, the identification acquisition prompt includes the payment result and is used to prompt the payment monitoring server to feedback the identification corresponding to the card swiping device that generates the payment result through interactive payment with the payment monitoring server;

[0237] Feedback the identification acquisition prompt to the payment monitoring server, so that the payment monitoring server sends the identification matching the payment result to the merchant server according to the identification acquisition prompt;

[0238] The identifier sent by the payment monitoring server is received as the first identifier corresponding to the rental device providing the power bank.

[0239] It can be seen that implementation Figure 4The described device can also obtain the corresponding identification of the card swiping device, or even the identification of the rental device, from the payment result to the payment monitoring server, thereby enriching the identification acquisition methods and improving the identification acquisition efficiency; and through the payment result obtained from the payment monitoring server, in turn generating an identification acquisition prompt and giving it to the payment monitoring server, which is conducive to the payment server quickly and accurately obtaining the corresponding identification, thereby facilitating improving the comparative accuracy of the identification, and further facilitating further improving the accuracy and reliability of executing the operation of creating a rental order.

[0240] In this optional embodiment, optionally, the first identifier includes an identifier corresponding to a card swiping device integrated on the rental device for providing power banks, wherein the identifier corresponding to the card swiping device integrated on the rental device for providing power banks includes a device identifier of the card swiping device integrated on the rental device for providing power banks and / or a geographic location identifier of the card swiping device integrated on the rental device for providing power banks. Further, the first identifier may also include an identifier corresponding to the rental device for providing power banks, wherein the identifier corresponding to the rental device for providing power banks includes a device identifier of the rental device for providing power banks and / or a location identifier of the rental device for providing power banks;

[0241] The comparison module 308 compares the acquired first identifier with at least one predetermined second identifier, and obtains the comparison result in the following specific manners:

[0242] Compare the obtained identification corresponding to the card swiping device integrated on the rental device providing the power bank with at least one predetermined second identification to obtain a comparison result, wherein the at least one second identification includes at least one identification corresponding to the card swiping device, and further, may also include at least one identification corresponding to the rental device;

[0243] When the comparison result is used to indicate that the obtained identifier corresponding to the card swiping device integrated on the rental device providing the power bank matches the identifier corresponding to one of the predetermined card swiping devices, the comparison result is determined to indicate that the rental device indicated by the first identifier and the rental device indicated by one of the second identifiers are the same rental device.

[0244] It can be seen that implementation Figure 4 The described device can also improve the comparison efficiency and accuracy of identifications in the power bank rental scenario by comparing the device identification and / or geographic location identification of the card swiping device obtained from the payment monitoring server with the device identification and / or geographic location identification of the card swiping device already stored in the merchant server, thereby helping to improve the comparison efficiency and accuracy of the rental equipment, and further helping to improve the execution reliability of the power bank's power-on operation.

[0245] In yet another optional embodiment, Figure 4As shown, the device may also include:

[0246] A second acquisition module 309 is used to acquire, from at least one predetermined rental device identifier, a first rental device identifier that matches the identifier corresponding to the card swiping device, according to the identifier corresponding to the card swiping device integrated on the rental device providing the power bank, before the comparison module 308 determines that the comparison result indicates that the rental device indicated by the first identifier and one of the rental devices indicated by the second identifier are the same rental device;

[0247] The communication module 301 is further used to send a device identification acquisition prompt to the rental device corresponding to the identification, so as to trigger the rental device to send a second rental device identification of the rental device to the merchant server according to the identification corresponding to the card swiping device integrated on the rental device providing the power bank;

[0248] The communication module 301 is further used to receive a second rental device identification;

[0249] The second judgment module 310 is used to judge whether the first rental device identifier matches the second rental device identifier. When a match is determined, the comparison module 308 is triggered to execute the above-mentioned operation of determining that the comparison result is used to indicate that the rental device indicated by the first identifier and one of the rental devices indicated by the second identifier are the same rental device.

[0250] It can be seen that implementation Figure 4 The described device can also determine that the two represent the same rental device when it is determined that the device identification and / or geographic location identification of the card swiping device obtained from the payment monitoring server matches the device identification and / or geographic location identification of the card swiping device already stored in the merchant server, and when it is determined that the rental device identification matched according to the identification corresponding to the card swiping device obtained from the payment monitoring server matches the rental device identification sent by the rental device corresponding to the identification of the card swiping device obtained from the payment monitoring server, that is, by performing multiple identification comparisons on identifications obtained through different channels, the comparison accuracy and reliability of the identifications are improved, which is beneficial to improving the reliability and effectiveness of executing the rental order creation operation and improving the accuracy of creating rental orders, and further beneficial to improving the accuracy of renting power banks.

[0251] Embodiment 3

[0252] See also Figure 5 , Figure 5 is a schematic diagram of the structure of a merchant server disclosed in an embodiment of the present invention. The merchant server can be applied to a merchant server and to any scenario where a power bank rental is required, such as a shopping mall scenario, a park scenario, a street scenario, etc. Figure 5 As shown, the merchant server may include:

[0253] A memory 401 storing executable program codes;

[0254] a processor 402 coupled to the memory 401;

[0255] The processor 402 calls the executable program code stored in the memory 401 to execute the steps of the method for renting a power bank based on a merchant server described in the first or second embodiment of the present invention.

[0256] Embodiment 4

[0257] An embodiment of the present invention discloses a computer-readable storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute the steps in the method for renting a power bank based on a merchant server described in Embodiment 1 or Embodiment 2 of the present invention.

[0258] Embodiment 5

[0259] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps of the method for renting a power bank based on a merchant server described in Embodiment 1 or Embodiment 2.

[0260] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0261] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0262] Finally, it should be noted that the method and device for renting a power bank based on a merchant server disclosed in the embodiments of the present invention and the merchant server disclosed are only preferred embodiments of the present invention and are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A method for renting a power bank based on a merchant server, characterized in that: The method comprises: The merchant server receives a payment result for the power bank that the user needs to rent, sent by the payment monitoring server, wherein the payment result is a result of interactive payment between a card swiping device integrated in the rental device and the payment monitoring server when it is detected that the card swiping area of ​​the rental device senses a target card, and a power bank for the user to rent is placed on the rental device; The merchant server creates a rental order for the power bank that the user needs to rent according to the payment result; The merchant server feeds back the rental order to the rental device, so that the rental device performs a power bank pop-up operation.

2. The method for renting a power bank based on a merchant server according to claim 1, characterized in that: The execution of the power bank pop-up operation is to determine the target power bank to be popped up to the user according to the received rental order, determine the pop-up instruction of the target power bank according to the rental order and the position of the target power bank in the rental device, and pop up the target power bank to the user according to the pop-up instruction; The target power bank is determined in the following manner: determining whether there is information in the rental order indicating that the user has selected a power bank, and if it is determined that there is no information, screening at least one power bank for the user from a predetermined list of power banks that can be popped up as the target power bank that pops up to the user; and if it is determined that there is a power bank that matches the information based on the information corresponding to the rental order, determining the power bank as the target power bank that pops up to the user.

3. The method for renting a power bank based on a merchant server according to claim 2, characterized in that: After the merchant server feeds back the rental order to the rental device so that the rental device performs a power bank pop-up operation, the method further includes: The merchant server obtains the power-on result of the target power bank from the rental device; When the pop-up result indicates that the target power bank pops up successfully, the merchant server generates a successful rental order for the target power bank according to the pop-up result; When the ejection result indicates that the target power bank fails to eject, the merchant server performs a refund operation to the user; Furthermore, before the merchant server performs a refund operation to the user, the method further includes: The merchant server obtains a target video before the time when the pop-up result is obtained, and the target video is a video within a preset area centered on the geographical location of the rental device; The merchant server determines whether there is a user taking the power bank from the rental device in the target video; When the result of the judgment is yes, the merchant server intercepts a matching video containing the taken power bank from the target video, and analyzes the matching video to obtain an identifier of the taken power bank; The merchant server determines the identification of the target power bank, and determines whether the identification of the taken power bank matches the identification of the target power bank; When it is determined that there is no match, the merchant server executes the step of refunding the user; When a match is determined, the merchant server determines that the target power bank has been successfully rented, and feeds back to the rental device a prompt that the target power bank has been successfully rented; Furthermore, before the merchant server performs a refund operation to the user, the method further includes: The merchant server obtains the heartbeat data of the power bank on the rental device, and determines whether the heartbeat data of the target power bank is included in the heartbeat data according to the identifier of the target power bank. When it is determined that the heartbeat data of the target power bank is included, the step of performing the refund operation to the user is executed. When it is determined that the heartbeat data of the target power bank is not included, it is determined that the rental of the target power bank is successful.

4. The method for renting a power bank based on a merchant server according to any one of claims 1 to 3, characterized in that: Before the merchant server creates a rental order for the power bank required to be rented by the user according to the payment result, the method further includes: The merchant server obtains, from the payment monitoring server, a first identifier corresponding to the rental device providing the power bank according to the payment result; The merchant server compares the acquired first identifier with at least one predetermined second identifier to obtain a comparison result; When the comparison result is used to indicate that the rental device indicated by the first identifier and one of the rental devices indicated by the second identifier are the same rental device, the operation of creating a rental order for the power bank that the user needs to rent according to the payment result is performed.

5. The method for renting power banks based on a merchant server according to claim 4, characterized in that: The merchant server obtains, according to the payment result, a first identifier corresponding to the rental device providing the power bank from the payment monitoring server, including: The merchant server analyzes the payment result to obtain a first identifier corresponding to the rental device providing the power bank; and / or The merchant server generates an identification acquisition prompt according to the payment result, wherein the identification acquisition prompt includes the payment result and is used to prompt the payment monitoring server to feedback an identification corresponding to the card swiping device that generates the payment result through interactive payment with the merchant server; The merchant server feeds back the identification acquisition prompt to the payment monitoring server, so that the payment monitoring server sends an identification matching the payment result to the merchant server according to the identification acquisition prompt; The merchant server receives the identifier sent by the payment monitoring server as the first identifier corresponding to the rental device providing the power bank.

6. The method for renting power banks based on a merchant server according to claim 4 or 5, characterized in that: The first identifier includes an identifier corresponding to a card swiping device integrated on the rental device providing the power bank, wherein the identifier corresponding to the card swiping device integrated on the rental device providing the power bank includes a device identifier of the card swiping device integrated on the rental device providing the power bank and / or a geographic location identifier of the card swiping device integrated on the rental device providing the power bank; The merchant server compares the acquired first identifier with at least one predetermined second identifier to obtain a comparison result, including: The merchant server compares the obtained identification corresponding to the card swiping device integrated in the rental device providing the power bank with at least one predetermined second identification to obtain a comparison result, wherein the at least one second identification includes at least one identification corresponding to the card swiping device; When the comparison result is used to indicate that the obtained identifier corresponding to the card swiping device integrated on the rental device providing the power bank matches the identifier corresponding to one of the predetermined card swiping devices, the merchant server determines that the comparison result is used to indicate that the rental device indicated by the first identifier and one of the rental devices indicated by the second identifier are the same rental device.

7. The method for renting power banks based on a merchant server according to claim 6, characterized in that: Before the merchant server determines that the comparison result indicates that the rental device indicated by the first identifier and one of the rental devices indicated by the second identifier are the same rental device, the method further includes: The merchant server obtains a first rental device identifier that matches the identifier corresponding to the card swiping device integrated on the rental device providing the power bank from at least one predetermined rental device identifier according to the identifier corresponding to the card swiping device obtained; The merchant server sends a device identification acquisition prompt to the rental device corresponding to the identification, based on the identification corresponding to the card swiping device integrated on the rental device providing the power bank, to trigger the rental device to send a second rental device identification of the rental device to the merchant server; The merchant server receives the second rental device identifier and determines whether the first rental device identifier matches the second rental device identifier. When a match is determined, the merchant server triggers the operation of determining that the comparison result indicates that the rental device indicated by the first identifier and one of the rental devices indicated by the second identifier are the same rental device.

8. A device for renting power banks based on a merchant server, characterized in that: The device is applied to a merchant server, and the device includes: A communication module, used for receiving a payment result for a power bank that a user needs to rent, sent by a payment monitoring server, wherein the payment result is a result of interactive payment between a card swiping device integrated in the rental device and the payment monitoring server when a target card is sensed in a card swiping area of ​​the rental device, and the rental device is placed on the power bank for rent by the user; A creation module, used to create a rental order for the power bank that the user needs to rent according to the payment result; The rental module is used to feed back the rental order to the rental device, so that the rental device can perform the power bank pop-up operation.

9. A merchant server, characterized in that: The merchant server comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the method for renting a power bank based on a merchant server as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, which, when called, are used to execute the method for renting a power bank based on a merchant server as described in any one of claims 1 to 7.