Method and device for establishing association relationship between users of power bank and server
By establishing an association between users in the rental server of the power bank rental system, the problem that the renter cannot return the power bank in person is solved, the return efficiency and flexibility are improved, and the user experience and monitoring accuracy are improved.
Patent Information
- Application Number
- CN202411824288.4
- 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
In the existing power bank rental system, when the renter is unable to return the power bank in person, he lacks flexible return methods, resulting in inefficient return.
By establishing an association relationship between users of power banks in the rental server, the user information of the current user is collected and associated with the information of the renter, and the association relationship is established for return.
It improves the flexibility and efficiency of power banks, improves the rental experience of users, and enhances the accuracy and security of the traceability monitoring of the rental, use and return of power banks.
Smart Images

Figure CN119887355A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power bank rental, and in particular to a method, device and server for establishing an association relationship between power bank users. 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 the power bank needs to be returned, the user often finds the corresponding return entrance on the mini program or application, and clicks on the corresponding rental order to confirm the return. The rental device displays the corresponding charging bin, prompting the user to return the power bank to the charging bin, or scans the QR code on the rental device to display the corresponding return operation process. The user returns the power bank according to the corresponding process, or returns the power bank by touching the "one-click return" button on the rental device. When the power bank is detected to be placed on the rental device, the rental device pushes the corresponding return confirmation information to the user's mobile phone. After the user clicks to confirm, it is confirmed that the power bank has been successfully returned.
[0004] In practice, it is found that the renter's companions may also use the power bank, or the renter may be busy and unable to return the power bank by himself, but the aforementioned return methods all require the renter of the power bank to return it in person or return it with the renter's mobile phone, that is, all require the renter's participation, which reduces the flexibility of returning the power bank and even makes it impossible to successfully return the power bank. Therefore, it is urgent to propose a technical solution to improve the flexibility of returning the power bank, so as to improve the efficiency of returning the power bank and thus improve the rental experience of the power bank. Summary of the invention
[0005] The present invention provides a method, device and server for establishing an association relationship between users of power banks, which can improve the flexibility of returning power banks, so as to improve the return efficiency of power banks, thereby enhancing the rental experience of power banks.
[0006] In order to solve the above technical problems, the first aspect of the present invention discloses a method for establishing an association relationship between users of power banks, the method is applied to a rental server, and the method comprises:
[0007] During the process of renting the power bank, collecting user information of the current user of the power bank;
[0008] Determine whether the current user is the renter based on the collected user information of the current user and the predetermined rental user information corresponding to the power bank;
[0009] When it is determined that the user is not the borrower, establishing an association relationship between the information of the current user and the information of the borrower;
[0010] The association relationship is used as a basis for the current user of the power bank to return the power bank.
[0011] As an optional embodiment, in the first aspect of the present invention, the method further comprises:
[0012] Locate the current geographic location of the power bank and obtain the current geographic location of the renter;
[0013] Calculate the target distance between the renter and the power bank based on the current geographical location of the renter and the current geographical location of the power bank;
[0014] It is determined whether the target distance is greater than or equal to a preset distance. When it is determined that the target distance is greater than or equal to the preset distance, the operation of establishing an association relationship between the current user's information and the renter's information is performed.
[0015] As an optional implementation manner, in the first aspect of the present invention, obtaining the current geographical location of the borrower includes:
[0016] Generate a location acquisition prompt according to the identification of the power bank;
[0017] Sending the location acquisition prompt to the borrower's terminal, so that the borrower's terminal outputs the location acquisition prompt to the borrower to prompt the borrower to feedback the borrower's current geographical location;
[0018] The current geographical location of the borrower is received from the borrower's terminal.
[0019] As an optional embodiment, in the first aspect of the present invention, the method further comprises:
[0020] When it is determined that the distance is less than the preset distance, determining whether the renter has used the power bank;
[0021] When it is determined that the renter has used the power bank, it is determined whether the renter still needs to use the power bank after the current user has finished using the power bank;
[0022] When it is determined that the renter does not need to use the power bank, the operation of establishing an association relationship between the current user's information and the renter's information is performed.
[0023] As an optional implementation, in the first aspect of the present invention, the determining whether the renter has used the power bank includes:
[0024] Obtaining the ejection time when the power bank is successfully ejected from the rental device of the power bank when the renter rents the power bank;
[0025] Obtaining the starting time when the power bank's power becomes low after the ejection time;
[0026] Calculate the interval between the start time corresponding to the power bank and the power-on time corresponding to the power bank;
[0027] It is determined whether the interval duration is less than or equal to a first preset interval duration threshold, and when it is determined that the interval duration is less than or equal to the first preset interval duration threshold, it is determined that the renter has used the power bank.
[0028] As an optional embodiment, in the first aspect of the present invention, the method further comprises:
[0029] When it is determined that the time interval is greater than the first preset time interval threshold, collecting the target number of times the power bank is activated to charge within a second time interval before the pop-up time of the power bank from the power bank rental device and when it is determined that the current user is not the renter;
[0030] Determining whether the target number of times is greater than or equal to a preset number of times of starting, and when it is determined that the target number of times of starting is greater than or equal to the preset number of times of starting, determining a start charging time for each start charging;
[0031] For any two adjacent charging start times, calculate the third interval length;
[0032] Determine whether there are two adjacent charging start times that are greater than or equal to the second preset interval time length among all the third interval time lengths;
[0033] When it is determined that there are two adjacent charging start times that are greater than or equal to the second preset interval length, it is determined that the renter has used the power bank.
[0034] As an optional embodiment, in the first aspect of the present invention, the method further comprises:
[0035] Collecting the remaining power of the power bank;
[0036] Determine whether the remaining power of the power bank is less than or equal to a minimum value of a preset remaining power range;
[0037] When it is determined that the minimum value is less than or equal to the preset remaining power range, determining whether the power bank is being used by the current user to charge a device corresponding to the current user;
[0038] When it is determined that the power bank is not being used by the current user to charge a device corresponding to the current user, generating a reminder to return the power bank according to the remaining power of the power bank;
[0039] Outputting the return reminder to the current user to prompt the current user to return the power bank;
[0040] When it is detected that the current user triggers feedback for the return reminder and the feedback is used to indicate that the current user will return the power bank within a preset time period, the operation of establishing an association relationship between the current user's information and the borrower's information is performed, and the starting time of the preset time period is determined by the time when it is determined that the remaining power of the power bank is less than or equal to the preset power.
[0041] The second aspect of the present invention discloses a device for establishing an association relationship between users of power banks, the device is applied to a rental server, and the device includes:
[0042] A collection module, used to collect user information of the current user of the power bank during the rental process of the power bank;
[0043] A judgment module, used to judge whether the current user is the renter according to the collected user information of the current user and the predetermined rental user information corresponding to the power bank;
[0044] an association module, for establishing an association relationship between the information of the current user and the information of the borrower when it is determined that the current user is not the borrower;
[0045] The association relationship is used as a basis for the current user of the power bank to return the power bank.
[0046] As an optional implementation, in the second aspect of the present invention, the device further includes:
[0047] A positioning module, used to locate the current geographical location of the power bank;
[0048] An acquisition module, used to acquire the current geographic location of the renter;
[0049] A calculation module, used to calculate a target distance between the borrower and the power bank based on the current geographical location of the borrower and the current geographical location of the power bank;
[0050] The judgment module is further used to judge whether the target distance is greater than or equal to a preset distance. When it is judged that the target distance is greater than or equal to the preset distance, the association module is triggered to execute the operation of establishing an association relationship between the current user's information and the renter's information.
[0051] As an optional implementation, in the second aspect of the present invention, the specific manner in which the acquisition module acquires the current geographical location of the borrower includes:
[0052] Generate a location acquisition prompt according to the identification of the power bank;
[0053] Sending the location acquisition prompt to the borrower's terminal, so that the borrower's terminal outputs the location acquisition prompt to the borrower to prompt the borrower to feedback the borrower's current geographical location;
[0054] The current geographical location of the borrower is received from the borrower's terminal.
[0055] As an optional implementation, in the second aspect of the present invention, the judgment module is further used to judge whether the renter has used the power bank when it is judged that the distance is less than the preset distance;
[0056] The judgment module is also used to judge whether the borrower still needs to use the power bank after the current user has used the power bank when it is judged that the borrower has used the power bank; when it is judged that the borrower does not need to use the power bank, trigger the association module to execute the operation of establishing an association relationship between the current user's information and the borrower's information.
[0057] As an optional implementation, in the second aspect of the present invention, the specific manner in which the judgment module judges whether the renter has used the power bank includes:
[0058] Obtaining the ejection time when the power bank is successfully ejected from the rental device of the power bank when the renter rents the power bank;
[0059] Obtaining the starting time when the power bank's power becomes low after the ejection time;
[0060] Calculate the interval between the start time corresponding to the power bank and the power-on time corresponding to the power bank;
[0061] It is determined whether the interval duration is less than or equal to a first preset interval duration threshold, and when it is determined that the interval duration is less than or equal to the first preset interval duration threshold, it is determined that the renter has used the power bank.
[0062] As an optional implementation, in the second aspect of the present invention, the specific manner in which the judgment module judges whether the renter has used the power bank also includes:
[0063] When it is determined that the time interval is greater than the first preset time interval threshold, collecting the target number of times the power bank is activated to charge within a second time interval before the pop-up time of the power bank from the power bank rental device and when it is determined that the current user is not the renter;
[0064] Determining whether the target number of times is greater than or equal to a preset number of times of starting, and when it is determined that the target number of times of starting is greater than or equal to the preset number of times of starting, determining a start charging time for each start charging;
[0065] For any two adjacent charging start times, calculate the third interval length;
[0066] Determine whether there are two adjacent charging start times that are greater than or equal to the second preset interval time length among all the third interval time lengths;
[0067] When it is determined that there are two adjacent charging start times that are greater than or equal to the second preset interval length, it is determined that the renter has used the power bank.
[0068] As an optional implementation, in the second aspect of the present invention, the acquisition module is further used to collect the remaining power of the power bank;
[0069] The judging module is further used to judge whether the remaining power of the power bank is less than or equal to a minimum value of a preset remaining power range;
[0070] The judging module is further configured to judge whether the power bank is being used by the current user to charge a device corresponding to the current user when a minimum value less than or equal to the preset remaining power range is judged;
[0071] And, the device further comprises:
[0072] A generating module, configured to generate a return reminder of the power bank according to the remaining power of the power bank when it is determined that the power bank is not being used by the current user to charge a device corresponding to the current user;
[0073] A prompt module, used for outputting the return prompt to the current user to prompt the current user to return the power bank;
[0074] The detection module is used to trigger the association module to execute the operation of establishing the association relationship between the current user's information and the renter's information when it is detected that the current user triggers feedback on the return reminder and the feedback is used to indicate that the current user will return the power bank within a preset time period, and the starting time of the preset time period is determined by the judgment time when the remaining power of the power bank is determined to be less than or equal to the preset power.
[0075] The third aspect of the present invention discloses an application of the device to a rental server, wherein the rental server comprises:
[0076] A memory storing executable program code;
[0077] a processor coupled to the memory;
[0078] The processor calls the executable program code stored in the memory to execute the method for establishing association relationships between users of power banks disclosed in the first aspect of the present invention.
[0079] 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 establishing an association relationship between users of power banks disclosed in the first aspect of the present invention.
[0080] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0081] In the embodiment of the present invention, during the process of renting the power bank, the user information of the current user of the power bank is collected; based on the collected user information of the current user and the predetermined rental user information corresponding to the power bank, it is determined whether the current user is the renter; when it is determined that the current user is not the renter, an association relationship is established between the information of the current user and the information of the renter; wherein the association relationship is used as a basis for tracing the power bank or as a basis for returning the power bank by a user who has used the power bank. It can be seen that the embodiment of the present invention improves the flexibility of returning the power bank by establishing a relationship between the renter and the current user when it is detected that the current user of the power bank and the renter are not the same user, so that the current user of the power bank can successfully return the power bank, thereby improving the return efficiency of the power bank and further improving the user's experience of renting the power bank; and through the association relationship between the renter and the current user, it is conducive to accurately tracing the rental, use and return of the power bank, which is conducive to improving the accuracy and safety of the rental monitoring of the power bank. BRIEF DESCRIPTION OF THE DRAWINGS
[0082] 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.
[0083] Figure 1 It is a flow chart of a method for establishing an association relationship between users of power banks disclosed in an embodiment of the present invention;
[0084] Figure 2 It is a structural schematic diagram of a device for establishing association relationships between users of power banks disclosed in an embodiment of the present invention;
[0085] Figure 3 It is a structural schematic diagram of another device for establishing association relationships between users of power banks disclosed in an embodiment of the present invention;
[0086] Figure 4 It is a structural schematic diagram of a rental server disclosed in an embodiment of the present invention. DETAILED DESCRIPTION
[0087] 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.
[0088] 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.
[0089] 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.
[0090] The present invention discloses a method, device and server for establishing an association relationship between users of a power bank. When it is detected that the current user of the power bank is not the same user as the renter, a relationship relationship is established between the renter and the current user, so that the current user of the power bank can successfully return the power bank, thereby improving the flexibility of returning the power bank, thereby improving the efficiency of returning the power bank, and further improving the user's experience of renting the power bank; and through the association relationship between the renter and the current user, it is conducive to accurately tracing the rental, use and return of the power bank, which is conducive to improving the accuracy and safety of renting monitoring of the power bank. The following are detailed descriptions.
[0091] Embodiment 1
[0092] See also Figure 1 , Figure 1 1 is a flow chart of a method for establishing an association relationship between power bank users disclosed in an embodiment of the present invention. Figure 1 The described method can be applied to a rental server, and the rental server is applied to any scene where power bank rental is required, such as a shopping mall scene, a park scene, a street scene, etc., and the rental server can be understood as a local rental server or a remote rental server or a rental service platform or a rental service center or a rental service system. Figure 1 As shown, the method for establishing an association relationship between users of power banks may include the following operations:
[0093] 101. When the power bank is rented, user information of the current user of the power bank is collected.
[0094] 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.
[0095] In an embodiment of the present invention, the user information of the current renter includes the user biometric features of the current user, wherein the user biometric features of the current user include one or more of the current user's facial features, voiceprint features, gesture features, and fingerprint features. The user biometric features of the current user are used for the current user to obtain the corresponding feature information for verification through the corresponding biometric feature picker (such as obtaining the corresponding sound data through the sound picker and analyzing the sound data to obtain the corresponding voiceprint features) when returning the power bank, so as to realize the return of the power bank. It should be noted that the information of the current user can be collected in real time or periodically, such as collecting every 10 minutes, which is not limited in the embodiment of the present invention.
[0096] 102. Determine whether the current user is a renter based on the collected user information of the current user and the predetermined rental user information corresponding to the power bank.
[0097] In the embodiment of the present invention, optionally, when it is determined that the current user is a borrower, the current process ends.
[0098] 103. When it is determined that the user is not the renter, an association relationship is established between the current user's information and the renter's information; wherein the association relationship is used as a basis for the current user of the power bank to return the power bank.
[0099] In an embodiment of the present invention, optionally, the association relationship can also be used as a basis for tracing the source of the power bank. Optionally, the information of the renter may include but is not limited to the renter's account information (such as account identification and / or ID card, etc.), card identification, power bank order information and one or more of biometric information. Among them, for the description of the renter's biometric information, please refer to the relevant description of the aforementioned biometric information of the current user, which will not be repeated here. Among them, the target card corresponding to the card identification is the card sensing area used by the renter to be placed on the rental device, and the card is sensed by the card swiping device on the rental device, and the power bank pops up only after the card is sensed and the card is swiped for payment. Among them, the rental order information of the power bank includes but is not limited to one or more of the order identification, order amount, pop-up time and charging identification.
[0100] It can be seen that implementation Figure 1 The described method establishes a relationship between the renter and the current user when detecting that the current user of the power bank is not the same user, so that the current user of the power bank can successfully return the power bank, thereby improving the flexibility of returning the power bank, thereby improving the efficiency of returning the power bank, and further improving the user's experience of renting the power bank; and through the association relationship between the renter and the current user, it is conducive to accurate tracing of the rental, use and return of the power bank, which is conducive to improving the accuracy and safety of rental monitoring of the power bank.
[0101] In an optional embodiment, the method may further include the following steps:
[0102] Locate the current location of the power bank and obtain the current location of the renter;
[0103] Based on the current geographic location of the renter and the current geographic location of the power bank, the target distance between the renter and the power bank is calculated;
[0104] It is determined whether the target distance is greater than or equal to a preset distance. When it is determined that the target distance is greater than or equal to the preset distance, the above-mentioned operation of establishing an association relationship between the current user's information and the renter's information is performed.
[0105] In this optional embodiment, optionally, obtaining the current geographical location of the borrower includes:
[0106] Generate a location acquisition prompt according to the identification of the power bank, wherein, optionally, the location acquisition prompt includes the identification of the power bank so that the renter can confirm the rented power bank;
[0107] According to the identification of the power bank, the borrower's terminal is determined, and a location acquisition prompt is sent to the borrower's terminal, so that the borrower's terminal outputs a location acquisition prompt to the borrower to prompt the borrower to feedback the borrower's current geographical location;
[0108] The current geographic location of the renter is received from the renter's terminal.
[0109] In this optional embodiment, optionally, a corresponding locator is provided on the power bank, through which the current geographical location of the power bank can be located.
[0110] In this optional embodiment, optionally, when it is determined that the distance is less than a preset distance, the process can be ended.
[0111] In this optional embodiment, in the rental order information of the power bank, there will be a corresponding power bank logo, and the logo of the borrower's terminal will be recorded at the same time. By matching the logo of the power bank with the recorded logo of the borrower's terminal, the borrower's terminal can be found.
[0112] It can be seen that this optional embodiment compares and analyzes the current geographical location of the power bank and the current geographical location of the borrower. If the borrower is far away from the power bank, the association relationship between the borrower and the current user will continue to be established, which can improve the accuracy of establishing the association relationship to cope with the situation where the borrower has given the power bank to the current user and may have separated from the current user to different places. The power bank can be returned by the current user, which is conducive to increasing the possibility and flexibility of the successful return of the power bank, and even if the current user does not return it, the monitoring accuracy and traceability accuracy of the power bank can be improved.
[0113] In another optional embodiment, the method may further include the following steps:
[0114] When it is determined that the distance is less than the preset distance, it is determined whether the power bank and the renter are in a state of being far away from each other based on the current location of the renter and the current location of the power bank.
[0115] When it is determined that the two users are in a state of being far away from each other, the operation of establishing the association relationship between the current user's information and the renter's information is triggered.
[0116] In this optional embodiment, optionally, whether it is the power bank or the renter, when it is detected that one of the parties is moving and moving in a direction opposite to the other party's current geographical location, it means that the two are in a state of moving away from each other.
[0117] In this optional embodiment, optionally, when it is determined that the two parties are not far from each other, the process is terminated.
[0118] It can be seen that in this optional embodiment, when the borrower is close to the power bank, it is further determined whether the two are far away from each other. If they are far away, an association relationship between the current user and the borrower is actively established to establish an association relationship between the current user and the borrower in advance, so that when the current user needs to return the power bank, the corresponding association relationship can be used in time to successfully return the power bank in time.
[0119] In yet another optional embodiment, the method may further include the following steps:
[0120] When it is determined that the distance is greater than or equal to the preset distance, it is determined whether the power bank and the renter are close to each other based on the current location of the renter and the current location of the power bank.
[0121] When it is determined that the two users are not in a state of being close to each other, the operation of establishing the association relationship between the current user's information and the renter's information is triggered.
[0122] In this optional embodiment, whether it is the power bank or the renter, when it is detected that one of the parties is moving and moving in the same direction as the other party's current geographical location, it means that the two are in a state of being close to each other.
[0123] In this optional embodiment, optionally, when it is determined that the two devices are in a state of being close to each other, the process is terminated.
[0124] It can be seen that this optional embodiment establishes an association relationship between the current user and the borrower when it is determined that the power bank and the borrower are far apart, and further when it is determined that the two are continuing to move away, so as to reduce the situation where the borrower may return to the location of the power bank or even use the power bank even if the two are far apart, and the borrower returns the power bank by himself, thereby further improving the accuracy of establishing the association relationship and the effectiveness of using the association relationship, that is, improving the efficiency and probability of successfully returning the power bank through the current user.
[0125] In yet another optional embodiment, the method may further include the following steps:
[0126] When it is determined that the distance is less than the preset distance, it is determined whether the renter has used the power bank;
[0127] When it is determined that the renter has used the power bank, it is determined whether the renter still needs to use the power bank after the current user has finished using the power bank;
[0128] When it is determined that the renter does not need to use the power bank, the above-mentioned operation of establishing an association relationship between the current user's information and the renter's information is performed.
[0129] In this optional embodiment, optionally, determining whether the renter has used the power bank includes:
[0130] Get the ejection time when the power bank is successfully ejected from the rental device of the power bank when the renter rents the power bank;
[0131] Get the starting time when the power bank's power starts to run low after it is ejected;
[0132] Calculate the interval between the start time corresponding to the power bank and the power-on time corresponding to the power bank;
[0133] It is determined whether the interval time is less than or equal to a first preset interval time threshold (such as 5s). When it is determined that the interval time is less than or equal to the first preset interval time threshold, it is determined that the renter has used the power bank.
[0134] In this optional embodiment, optionally, when it is determined that the renter still needs to use the power bank, the process ends. Optionally, when it is determined that the time interval is greater than the first preset interval time threshold, it is determined that the renter has not used the power bank.
[0135] In this optional embodiment, optionally, generally if the renter needs to charge his own terminal, then after he successfully rents the power bank, his terminal will be charged in a very short time, such as 5 seconds. If the power bank is rented for others, after getting the power bank, he needs to give it to others, and this process takes a certain amount of time, such as 15 seconds.
[0136] In this optional embodiment, optionally, when it is determined that the renter has used the power bank to charge the terminal to a power amount greater than or equal to a preset power amount, such as the terminal is fully charged, or when feedback from the renter is received indicating that the renter does not need to continue using the power bank, it is determined that the renter does not need to use the power bank;
[0137] It can be seen that this optional embodiment establishes an association relationship between the current user and the borrower when it is determined that the distance between the lessor and the power bank is short, and further when it is determined that the lessor has used the power bank and the borrower does not need to use the power bank after the current user has used the power bank, so as to further increase the probability of judging that the power bank is successfully returned by the current user; and by comparing the moment when the power bank pops out of its rental device with the moment when the variable becomes less after it pops out, it can increase the possibility of judging that the lessor is the first to use the power bank when successfully renting it, which is conducive to further improving the accuracy of judging that the borrower has used the power bank, and further conducive to further improving the possibility of judging that the power bank needs to be returned by the current user, and further conducive to improving the accuracy of executing the operation of establishing an association relationship between the current user and the borrower.
[0138] In yet another optional embodiment, the method may further include the following steps:
[0139] When it is determined that the time interval is greater than the first preset time interval threshold, the target number of times the power bank is activated to charge within the second time interval before the time when the power bank is popped out from the rental device of the power bank and when it is determined that the current user is not the renter is collected;
[0140] Determine whether the target number of times is greater than or equal to a preset number of starts (such as 2 or 3 times), and when it is determined that the target number of times is greater than or equal to the preset number of starts, determine the start charging time for each start charging;
[0141] For any two adjacent start-up charging moments, calculate the third interval duration;
[0142] Determine whether there are two adjacent charging start times that are greater than or equal to the second preset interval duration among all third interval durations;
[0143] When it is determined that there are two adjacent charging start times that are greater than or equal to the second preset interval length, it is determined that the renter has used the power bank.
[0144] In this optional embodiment, according to the user's habit of using the power bank, when the user starts to use the power bank to charge his mobile terminal (device), he will generally directly charge his terminal (device) to full power or to the required power before disconnecting his terminal from the power bank.
[0145] In this optional embodiment, optionally, when it is determined that the number of startup times is less than a preset number, or when it is determined that there are no two adjacent charging startup times that are greater than or equal to a second preset interval length, it is determined that the renter has not used the power bank.
[0146] It should be noted that this optional embodiment can also occur when it is determined that the time is less than the first preset interval time threshold, triggering the above-mentioned operation of collecting the target number of times the power bank is activated to charge within the second interval time before the time when the power bank pops up from the power bank rental device and when it is determined that the current user is not the renter. This can further improve the accuracy and reliability of determining whether the renter has used the power bank.
[0147] It can be seen that this optional embodiment, when determining that the moment when the power bank pops out of its rental device is far away from the moment when the variable becomes less after it pops out, further determines the number of times the power bank has been started for charging. If the number of times is large, it further determines whether there are two adjacent charging start moments with a long interval. If so, it is determined that the user has used the power bank. This can improve the accuracy of determining whether the renter has used the power bank while enriching the method for determining whether the renter has used the power bank, thereby improving the efficiency of determining whether the renter has used the power bank.
[0148] In yet another optional embodiment, the method may further include the following steps:
[0149] When it is determined that the number of startups is greater than or equal to the preset number, the rate of change of the power of the power bank when the charging operation of the power bank is started each time and the rate of change of the power of the power bank when the power is disconnected each time are obtained;
[0150] Starting from the second charging operation started by the power bank, for any charging operation started by the power bank, calculate the difference in the rate of change of power between the rate of change of power when the power bank was powered off the last time and the rate of change of power when the power bank was started the next time;
[0151] Determine whether there is a target power change rate difference greater than or equal to the preset power change rate among all power change rate differences. When it is determined that there is no target power change rate difference, trigger the execution of the above-mentioned operation of calculating the third interval duration for any two adjacent charging start times.
[0152] In this optional embodiment, optionally, when it is determined that there is a target power change rate difference, it is determined that the renter has used the power bank.
[0153] In this optional embodiment, optionally, the power output of the power bank can change with the current power of the terminal being charged. When the current power of the terminal being charged is higher, the power output of the power bank is relatively smaller. The lower the current power is, the greater the power output is, that is, the greater the rate of change of power is.
[0154] It can be seen that this optional embodiment, when determining that the power bank has been started for charging multiple times, further compares the rate of change of power each time the charging is started with the rate of change of power during the previous power outage, which can further improve the accuracy of determining whether the borrower has used or not used the power bank and the reliability of calculating the interval between any two adjacent charging starts, thereby helping to further improve the probability of determining that the power bank is likely to be returned by the current user, and further helping to further improve the accuracy of establishing the association relationship between the current user and the borrower.
[0155] In yet another optional embodiment, the method may further include the following steps:
[0156] When it is determined that there is a target power rate change difference, for any target power rate change difference, determine the power-off time of the previous power-off and the start-up charging time of the next start-up charging operation corresponding to the target power rate change difference, and calculate the fourth interval duration between the start-up charging time and the power-off time corresponding to the target power rate change difference;
[0157] Determine whether, among all target power change rate differences, there is a target power change rate difference whose fourth interval duration is greater than or equal to the third preset interval duration;
[0158] When it is determined that there is a target power change rate difference greater than or equal to the third preset interval duration, triggering the above operation of calculating the third interval duration for any two adjacent start charging moments;
[0159] In this optional embodiment, optionally, when it is determined that there is no target power change rate difference greater than or equal to the third preset interval time, it is determined that the borrower has used the power bank.
[0160] In this optional embodiment, optionally, the third preset interval duration is smaller than the second preset interval duration.
[0161] It can be seen that this optional embodiment further analyzes the interval between the power-off moment of the previous power outage and the next charging start moment when it is determined that there is a large difference between the power change rate of the previous power outage and the power change rate of the next charging. If the distance is far, the calculation operation of the interval between any two adjacent charging starts is continued, which can improve the execution reliability and accuracy of the calculation operation; if the distance is close, it is determined that the borrower has used the power bank, which can further improve the accuracy of the judgment that the borrower has used the power bank, and at the same time enrich the judgment method of the borrower has used the power bank, and improve the judgment efficiency of the borrower has used the power bank, which is conducive to further improving the accuracy of the operation of establishing the association relationship between the current user and the borrower, and then It is beneficial to improve the possibility and efficiency of successfully returning the power bank through the current user.
[0162] In yet another optional embodiment, the method may further include the following steps:
[0163] Collect the remaining power of the power bank;
[0164] Determine whether the remaining power of the power bank is less than or equal to the minimum value of the preset remaining power range;
[0165] When it is determined that the minimum value is less than or equal to the preset remaining power range, it is determined whether the power bank is being used by the current user to charge the device corresponding to the current user;
[0166] When it is determined that the power bank is not being used by the current user to charge a device corresponding to the current user, a reminder to return the power bank is generated according to the remaining power of the power bank;
[0167] Output a return reminder to the current user to remind the current user to return the power bank;
[0168] When it is detected that the current user triggers feedback for the return reminder and the feedback is used to indicate that the current user will return the power bank within a preset time period, the above-mentioned operation of establishing an association relationship between the current user's information and the renter's information is performed. The starting time of the preset time period is determined by the judgment time when the remaining power of the power bank is determined to be less than or equal to the preset power.
[0169] In this optional embodiment, optionally, the minimum value of the preset remaining power range is a value whose impact on the service life of the power bank is less than or equal to a preset life impact, wherein the greater the impact on the service life, the worse it is for the service life of the power bank, that is, the more its service life is reduced.
[0170] In this optional embodiment, optionally, when it is determined that the remaining power of the power bank is greater than the minimum value of a preset remaining power range, or when it is determined that the power bank is being used by the current user to charge a device corresponding to the current user, the process ends.
[0171] It can be seen that this optional embodiment further analyzes the remaining power of the power bank when it is determined that the current user of the power bank is not the borrower. If the remaining power is small and the current user has not used the power bank to charge, the current user is prompted to return the power bank and only when the current user confirms the return does an association relationship between the current user and the borrower be established, thereby further improving the accuracy of establishing the association relationship, which is conducive to further improving the probability of the current user successfully returning the power bank, thereby increasing the possibility of the power bank being charged in time, thereby reducing the occurrence of shortening the service life of the power bank due to too low power and improving the user experience of renting the power bank.
[0172] Embodiment 2
[0173] See also Figure 2 , Figure 2 1 is a schematic diagram of a structure of a device for establishing associations between users of power banks disclosed in an embodiment of the present invention. Figure 2 The described device can be applied to a rental server, and the rental server is applied to any scene where a power bank rental is required, such as a shopping mall scene, a park scene, a street scene, etc., wherein the rental server can be understood as a local rental server or a remote rental server or a rental service platform or a rental service center or a rental service system. Figure 2 As shown, the device may include:
[0174] The collection module 201 is used to collect user information of the current user of the power bank during the process of renting the power bank;
[0175] The judgment module 202 is used to judge whether the current user is a renter according to the collected user information of the current user and the predetermined rental user information corresponding to the power bank;
[0176] The association module 203 is used to establish an association relationship between the current user's information and the borrower's information when it is determined that the user is not the borrower; wherein the association relationship is used as a basis for the current user of the power bank to return the power bank.
[0177] It can be seen that implementation Figure 2 The described device establishes a relationship between the renter and the current user when it is detected that the current user of the power bank is not the same user, so that the current user of the power bank can successfully return the power bank, thereby improving the flexibility of returning the power bank, thereby improving the efficiency of returning the power bank, and further improving the user's experience of renting the power bank; and through the association relationship between the renter and the current user, it is beneficial to accurately trace the rental, use and return of the power bank, which is beneficial to improving the accuracy and safety of power bank rental monitoring.
[0178] In an optional embodiment, if Figure 3 As shown, Figure 3 is a schematic diagram of the structure of another device for establishing an association relationship between users of power banks disclosed in an embodiment of the present invention, such as Figure 3 As shown, the device may also include:
[0179] Positioning module 204, used to locate the current geographical location of the power bank;
[0180] The acquisition module 205 is used to acquire the current geographic location of the renter;
[0181] A calculation module 206, configured to calculate a target distance between the renter and the power bank based on the current geographical location of the renter and the current geographical location of the power bank;
[0182] The judgment module 202 is further used to judge whether the target distance is greater than or equal to a preset distance. When it is judged that the target distance is greater than or equal to the preset distance, the association module 203 is triggered to execute the above-mentioned operation of establishing the association relationship between the current user's information and the renter's information.
[0183] In this optional embodiment, the specific manner in which the acquisition module 205 acquires the current geographical location of the borrower includes:
[0184] Generate a location acquisition prompt according to the identification of the power bank, wherein, optionally, the location acquisition prompt includes the identification of the power bank so that the renter can confirm the rented power bank;
[0185] According to the identification of the power bank, the borrower's terminal is determined, and a location acquisition prompt is sent to the borrower's terminal, so that the borrower's terminal outputs a location acquisition prompt to the borrower to prompt the borrower to feedback the borrower's current geographical location;
[0186] The current geographic location of the renter is received from the renter's terminal.
[0187] It can be seen that implementation Figure 3 The described device compares and analyzes the current geographical location of the power bank and the current geographical location of the borrower. If the borrower is far away from the power bank, the device continues to establish an association relationship between the borrower and the current user, thereby improving the accuracy of establishing the association relationship to cope with the situation where the borrower has already given the power bank to the current user and may have separated from the current user to go to different places. The power bank can be returned through the current user, which is conducive to improving the possibility and flexibility of the successful return of the power bank, and even if the current user does not return it, the monitoring accuracy and traceability accuracy of the power bank can be improved.
[0188] In another optional embodiment, Figure 3 As shown, the judgment module 202 is also used to judge whether the power bank and the renter are in a state of being far away from each other based on the acquired current location of the renter and the collected current geographical location of the power bank when it is judged that the distance is less than a preset distance; when it is judged that they are in a state of being far away from each other, the association module 203 is triggered to execute the above-mentioned operation of establishing an association relationship between the current user's information and the renter's information.
[0189] In this optional embodiment, optionally, whether it is the power bank or the renter, when it is detected that one of the parties is moving and moving in a direction opposite to the other party's current geographical location, it means that the two are in a state of moving away from each other.
[0190] In this optional embodiment, optionally, when it is determined that the two parties are not far from each other, the process is terminated.
[0191] It can be seen that implementation Figure 3 When the borrower is close to the power bank, the device further determines whether the two are far away from each other. If so, it actively establishes an association relationship between the current user and the borrower, so as to establish an association relationship between the current user and the borrower in advance, so that when the current user needs to return the power bank, the corresponding association can be used in time to successfully return the power bank.
[0192] In yet another optional embodiment, Figure 3 As shown, the judgment module 202 is also used to judge whether the power bank and the renter are in close proximity to each other based on the acquired current location of the renter and the collected current geographical location of the power bank when it is judged that the distance is greater than or equal to the preset distance; when it is judged that they are not in close proximity to each other, the association module 203 is triggered to execute the above-mentioned operation of establishing an association relationship between the current user's information and the renter's information.
[0193] In this optional embodiment, whether it is the power bank or the renter, when it is detected that one of the parties is moving and moving in the same direction as the other party's current geographical location, it means that the two are in a state of being close to each other.
[0194] In this optional embodiment, optionally, when it is determined that the two devices are in a state of being close to each other, the process is terminated.
[0195] It can be seen that implementation Figure 3 The described device establishes an association relationship between the current user and the borrower when it determines that the power bank and the borrower are far apart, and further when it determines that the two are continuing to move away, so as to reduce the situation where the borrower may return to the location of the power bank or even use the power bank even if the two are far apart, and the borrower returns the power bank by himself, thereby further improving the accuracy of establishing the association relationship and the effectiveness of using the association relationship, that is, improving the efficiency and probability of successfully returning the power bank through the current user.
[0196] In yet another optional embodiment, Figure 3 As shown, the judgment module 202 is also used to judge whether the renter has used the power bank when it is judged that the distance is less than the preset distance;
[0197] The judgment module 202 is also used to judge whether the borrower still needs to use the power bank after the current user has used the power bank when it is judged that the borrower has used the power bank before; when it is judged that the borrower does not need to use the power bank, the association module 203 is triggered to execute the above-mentioned operation of establishing an association relationship between the current user's information and the borrower's information.
[0198] In this optional embodiment, optionally, the specific method in which the judgment module 202 judges whether the renter has used the power bank includes:
[0199] Get the ejection time when the power bank is successfully ejected from the rental device of the power bank when the renter rents the power bank;
[0200] Get the starting time when the power bank's power starts to run low after it is ejected;
[0201] Calculate the interval between the start time corresponding to the power bank and the power-on time corresponding to the power bank;
[0202] It is determined whether the interval time is less than or equal to a first preset interval time threshold (such as 5s). When it is determined that the interval time is less than or equal to the first preset interval time threshold, it is determined that the renter has used the power bank.
[0203] It can be seen that implementation Figure 3 The described device can also establish an association relationship between the current user and the borrower when it is determined that the distance between the lessor and the power bank is close, and further when it is determined that the lessor has used the power bank and the borrower does not need to use the power bank after the current user has used the power bank, so as to further improve the probability of judging that the power bank is successfully returned by the current user; and by comparing the moment when the power bank pops out of its rental device with the moment when the variable decreases after it pops out, it can improve the possibility of judging that the lessor is the first to use the power bank when successfully renting it, which is conducive to further improving the accuracy of judging that the borrower has used the power bank, and then it is conducive to further improving the possibility of judging that the power bank needs to be returned by the current user, and further conducive to improving the accuracy of executing the operation of establishing an association relationship between the current user and the borrower.
[0204] In another optional embodiment, the specific method in which the judgment module 202 judges whether the renter has used the power bank also includes:
[0205] When it is determined that the time interval is greater than the first preset time interval threshold, the target number of times the power bank is activated to charge within the second time interval before the time when the power bank is popped out from the rental device of the power bank and when it is determined that the current user is not the renter is collected;
[0206] Determine whether the target number of times is greater than or equal to a preset number of starts (such as 2 or 3 times), and when it is determined that the target number of times is greater than or equal to the preset number of starts, determine the start charging time for each start charging;
[0207] For any two adjacent start-up charging moments, calculate the third interval duration;
[0208] Determine whether there are two adjacent charging start times that are greater than or equal to the second preset interval duration among all third interval durations;
[0209] When it is determined that there are two adjacent charging start times that are greater than or equal to the second preset interval length, it is determined that the renter has used the power bank.
[0210] It can be seen that implementation Figure 3 The described device can also further judge the number of times the power bank has been started for charging when it is determined that the moment when the power bank is ejected from its rental device is far away from the moment when the variable becomes less after it is ejected. If the number of times is large, it can further judge whether there are two adjacent charging start moments with a long interval. If so, it can be determined that the user has used the power bank. This can improve the accuracy of judging whether the renter has used the power bank while enriching the method of judging whether the renter has used the power bank, thereby improving the efficiency of judging whether the renter has used the power bank.
[0211] In another optional embodiment, the specific method in which the judgment module 202 judges whether the renter has used the power bank also includes:
[0212] When it is determined that the number of startups is greater than or equal to the preset number, the rate of change of the power of the power bank when the charging operation of the power bank is started each time and the rate of change of the power of the power bank when the power is disconnected each time are obtained;
[0213] Starting from the second charging operation started by the power bank, for any charging operation started by the power bank, calculate the difference in the rate of change of power between the rate of change of power when the power bank was powered off the last time and the rate of change of power when the power bank was started the next time;
[0214] Determine whether there is a target power change rate difference greater than or equal to the preset power change rate among all power change rate differences. When it is determined that there is no target power change rate difference, trigger the execution of the above-mentioned operation of calculating the third interval duration for any two adjacent charging start times.
[0215] In this optional embodiment, optionally, when it is determined that there is a target power change rate difference, it is determined that the renter has used the power bank.
[0216] In this optional embodiment, optionally, the power output of the power bank can change with the current power of the terminal being charged. When the current power of the terminal being charged is higher, the power output of the power bank is relatively smaller. The lower the current power is, the greater the power output is, that is, the greater the rate of change of power is.
[0217] It can be seen that implementation Figure 3 The described device can also, when determining that the power bank has been started for charging multiple times, further compare the rate of change of power each time the charging is started with the rate of change of power during the previous power outage, which can further improve the accuracy of determining whether the renter has used or not used the power bank and the reliability of calculating the interval between any two adjacent charging starts, thereby facilitating further improving the probability of determining that the power bank is likely to be returned by the current user, and further facilitating further improving the accuracy of establishing the association relationship between the current user and the renter.
[0218] In another optional embodiment, the specific method in which the judgment module 202 judges whether the renter has used the power bank also includes:
[0219] When it is determined that there is a target power rate change difference, for any target power rate change difference, determine the power-off time of the previous power-off and the start-up charging time of the next start-up charging operation corresponding to the target power rate change difference, and calculate the fourth interval duration between the start-up charging time and the power-off time corresponding to the target power rate change difference;
[0220] Determine whether, among all target power change rate differences, there is a target power change rate difference whose fourth interval duration is greater than or equal to the third preset interval duration;
[0221] When it is determined that there is a target power change rate difference greater than or equal to the third preset interval duration, triggering the above operation of calculating the third interval duration for any two adjacent start charging moments;
[0222] In this optional embodiment, optionally, when it is determined that there is no target power change rate difference greater than or equal to the third preset interval time, it is determined that the borrower has used the power bank.
[0223] In this optional embodiment, optionally, the third preset interval duration is smaller than the second preset interval duration.
[0224] It can be seen that implementation Figure 3The described device can also, when it is determined that there is a large difference between the rate of change of power during the previous power outage and the rate of change of power during the next charging, further analyze the interval between the power-off moment of the previous power outage and the time of starting charging next time. If the distance is far, continue to perform the calculation operation of the interval between any two adjacent charging starts, which can improve the execution reliability and accuracy of the calculation operation; if the distance is close, it is determined that the borrower has used the power bank, which can further improve the accuracy of the judgment that the borrower has used the power bank, while enriching the judgment method of the borrower having used the power bank, and improving the judgment efficiency of the borrower having used the power bank, which is conducive to further improving the accuracy of the operation of establishing the association relationship between the current user and the borrower, and then is conducive to improving the possibility and efficiency of successfully returning the power bank through the current user.
[0225] In yet another optional embodiment, Figure 3 As shown, the collection module 201 is also used to collect the remaining power of the power bank;
[0226] The judgment module 202 is further used to judge whether the remaining power of the power bank is less than or equal to the minimum value of the preset remaining power range;
[0227] The judgment module 202 is further used to judge whether the power bank is being used by the current user to charge a device corresponding to the current user when it is judged that the minimum value is less than or equal to the preset remaining power range;
[0228] And, if Figure 3 As shown, the device may also include:
[0229] A generating module 207, configured to generate a reminder to return the power bank according to the remaining power of the power bank when it is determined that the power bank is not being used by the current user to charge the device corresponding to the current user;
[0230] The prompt module 208 is used to output a return prompt to the current user to prompt the current user to return the power bank;
[0231] The detection module 209 is used to trigger the association module 203 to execute the above-mentioned operation of establishing an association relationship between the current user's information and the renter's information when it is detected that the current user triggers feedback for the return reminder and the feedback is used to indicate that the current user will return the power bank within a preset time period. The starting time of the preset time period is determined by the judgment time when the remaining power of the power bank is determined to be less than or equal to the preset power.
[0232] It can be seen that implementation Figure 3The described device can also further analyze the remaining power of the power bank when it is determined that the current user of the power bank is not the renter. If the remaining power is small and the current user has not used the power bank to charge, the current user is prompted to return the power bank and an association relationship is established between the current user and the renter only when the current user confirms the return, thereby further improving the accuracy of establishing the association relationship, which is conducive to further improving the probability of the current user successfully returning the power bank, thereby increasing the possibility of the power bank being charged in time, thereby reducing the occurrence of shortening the service life of the power bank due to too low power and improving the user experience of renting the power bank.
[0233] Embodiment 3
[0234] See also Figure 4 , Figure 4 : is a schematic diagram of the structure of a rental server disclosed in an embodiment of the present invention. The rental server can be applied to any scenario where a power bank rental is required, such as a shopping mall scenario, a park scenario, a street scenario, etc., and the rental server can be understood as a local rental server or a remote rental server or a rental service platform or a rental service center or a rental service system. Figure 4 As shown, the device may include:
[0235] A memory 301 storing executable program codes;
[0236] a processor 302 coupled to the memory 301;
[0237] The processor 302 calls the executable program code stored in the memory 301 to execute the steps of the method for establishing an association relationship between users of the power bank described in the first embodiment of the present invention.
[0238] Embodiment 4
[0239] 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 of the method for establishing an association relationship between users of power banks described in the first embodiment of the present invention.
[0240] Embodiment 5
[0241] 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 establishing an association relationship between users of power banks described in Example 1.
[0242] 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.
[0243] 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.
[0244] Finally, it should be noted that the method, device and server for establishing an association relationship between users of power banks disclosed in the embodiments of the present invention 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, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may 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 embodiments of the present invention.
Claims
1. A method for establishing an association relationship between users of power banks, characterized in that: The method is applied to a rental server, and the method comprises: During the process of renting the power bank, collecting user information of the current user of the power bank; Determine whether the current user is the renter based on the collected user information of the current user and the predetermined rental user information corresponding to the power bank; When it is determined that the user is not the borrower, establishing an association relationship between the information of the current user and the information of the borrower; The association relationship is used as a basis for the current user of the power bank to return the power bank.
2. The method for establishing association between users of power banks according to claim 1, characterized in that: The method further comprises: Locate the current geographic location of the power bank and obtain the current geographic location of the renter; Calculate the target distance between the renter and the power bank based on the current geographical location of the renter and the current geographical location of the power bank; It is determined whether the target distance is greater than or equal to a preset distance. When it is determined that the target distance is greater than or equal to the preset distance, the operation of establishing an association relationship between the current user's information and the renter's information is performed.
3. The method for establishing association between users of power banks according to claim 2, characterized in that: The obtaining of the current geographical location of the borrower includes: Generate a location acquisition prompt according to the identification of the power bank; Determine the borrower's terminal according to the identifier of the power bank, and send the location acquisition prompt to the borrower's terminal, so that the borrower's terminal outputs the location acquisition prompt to the borrower to prompt the borrower to feedback the borrower's current geographical location; The current geographical location of the borrower is received from the borrower's terminal.
4. The method for establishing association between users of power banks according to claim 2, characterized in that: The method further comprises: When it is determined that the distance is less than the preset distance, determining whether the renter has used the power bank; When it is determined that the renter has used the power bank, it is determined whether the renter still needs to use the power bank after the current user has finished using the power bank; When it is determined that the renter does not need to use the power bank, the operation of establishing an association relationship between the current user's information and the renter's information is performed.
5. The method for establishing association between users of power banks according to claim 4, characterized in that: The determining whether the renter has used the power bank comprises: Obtaining the ejection time when the power bank is successfully ejected from the rental device of the power bank when the renter rents the power bank; Obtaining the starting time when the power bank's power becomes low after the ejection time; Calculate the interval between the start time corresponding to the power bank and the power-on time corresponding to the power bank; It is determined whether the interval duration is less than or equal to a first preset interval duration threshold, and when it is determined that the interval duration is less than or equal to the first preset interval duration threshold, it is determined that the renter has used the power bank.
6. The method for establishing association relationships between users of power banks according to claim 5, further comprising: When it is determined that the time interval is greater than the first preset time interval threshold, collecting the target number of times the power bank is activated to charge within a second time interval before the pop-up time of the power bank from the power bank rental device and when it is determined that the current user is not the renter; Determining whether the target number of times is greater than or equal to a preset number of times of starting, and when it is determined that the target number of times of starting is greater than or equal to the preset number of times of starting, determining a start charging time for each start charging; For any two adjacent charging start times, calculate the third interval length; Determine whether there are two adjacent charging start times that are greater than or equal to the second preset interval time length among all the third interval time lengths; When it is determined that there are two adjacent charging start times that are greater than or equal to the second preset interval length, it is determined that the renter has used the power bank.
7. The method for establishing association between users of power banks according to any one of claims 1 to 6, characterized in that: The method further comprises: Collecting the remaining power of the power bank; Determine whether the remaining power of the power bank is less than or equal to a minimum value of a preset remaining power range; When it is determined that the minimum value is less than or equal to the preset remaining power range, determining whether the power bank is being used by the current user to charge a device corresponding to the current user; When it is determined that the power bank is not being used by the current user to charge a device corresponding to the current user, generating a reminder to return the power bank according to the remaining power of the power bank; Outputting the return reminder to the current user to prompt the current user to return the power bank; When it is detected that the current user triggers feedback for the return reminder and the feedback is used to indicate that the current user will return the power bank within a preset time period, the operation of establishing an association relationship between the current user's information and the borrower's information is performed, and the starting time of the preset time period is determined by the time when it is determined that the remaining power of the power bank is less than or equal to the preset power.
8. A device for establishing associations between users of power banks, characterized in that: The device is applied to a rental server, and the device includes: A collection module, used to collect user information of the current user of the power bank during the rental process of the power bank; A judgment module, used to judge whether the current user is the renter according to the collected user information of the current user and the predetermined rental user information corresponding to the power bank; an association module, for establishing an association relationship between the information of the current user and the information of the borrower when it is determined that the current user is not the borrower; The association relationship is used as a basis for the current user of the power bank to return the power bank.
9. A rental server, characterized in that: The rental 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 establishing an association relationship between users of the power bank as described in any one of claims 1-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 establishing an association relationship between users of power banks as described in any one of claims 1-7.