Power bank return processing system and method and shared power bank cabinet

After detecting the return signal at the power bank cabinet, the first return request is sent to the terminal, and the terminal sends the second return request to the backend server, the problem of failure of return status update caused by network abnormalities is solved, and the success rate and efficiency of the power bank are improved.

CN120220290APending Publication Date: 2025-06-27SHENZHEN ZHUMANG TECH CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510251004.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-04
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

When there is a network abnormality on the power bank cabinet, the return status of the power bank is difficult to update in time, resulting in the return failure.

Method used

The first return request is sent to the terminal through the cabinet terminal, and the terminal then sends the second return request to the backend server to ensure that the backend server can receive the return request in a timely manner and update the return result.

Benefits of technology

This improves the return success rate of power banks and reduces the waiting time of the return process caused by abnormal network of the cabinet terminal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120220290A_ABST
    Figure CN120220290A_ABST
Patent Text Reader

Abstract

The invention provides a power bank return processing system and method and a shared power bank cabinet. The power bank return processing system comprises a cabinet terminal, a terminal and a background server, the cabinet terminal and the terminal perform data interaction in a wireless transmission mode, and the terminal and the background server perform data interaction through network connection; the cabinet terminal is used for sending a first return request of a target power bank to the terminal when a return signal of the target power bank is detected; the terminal is used for sending a second return request of the target power bank to the background server when receiving the first return request; and the background server is used for updating the return result of the target power bank according to the second return request. According to the invention, the return success rate of the power bank can be improved, and the waiting time of the power bank return process caused by the network abnormity of the cabinet terminal is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of power bank return processing, and particularly relates to a power bank return processing system, method and shared power bank cabinet. Background Art

[0002] With the continuous development of technology, people's lives are increasingly inseparable from user terminals such as mobile phones and tablet computers. Although various user terminals are equipped with rechargeable batteries of different specifications, the capacity of the rechargeable batteries is limited. When people go out, they often encounter the situation that the user terminal shuts down due to insufficient power. Although carrying a power bank with them can solve the power problem, due to the heavy weight and inconvenient portability of the power bank, shared power banks have emerged as the times require.

[0003] Currently, when a user returns a shared power bank, usually after the power bank cabinet detects the returned power bank, it reports the return message of the power bank to the background server, so that the background server updates the return status of the power bank. However, this return method requires the power bank cabinet to be in a normal network connection state. When the power bank cabinet has network anomalies such as network disconnection, it is difficult to update the return status of the power bank in a timely manner, resulting in the failure of power bank return. Summary of the Invention

[0004] This application provides a power bank return processing system, method and shared power bank cabinet, which can improve the return success rate of power banks to a certain extent and reduce the waiting time during the power bank return process caused by network anomalies at the cabinet end.

[0005] In a first aspect, this application provides a power bank return processing system, which includes a cabinet end, a terminal and a background server. The cabinet end and the terminal perform data interaction through a wireless transmission method, and the terminal and the background server perform data interaction through a network connection;

[0006] The cabinet end is configured to send a first return request of the target power bank to the terminal when detecting a return signal of the target power bank;

[0007] The terminal is configured to send a second return request of the target power bank to the background server when receiving the first return request;

[0008] The background server is configured to update the return result of the target power bank according to the second return request.

[0009] In a second aspect, this application provides a power bank return processing method, which is applied to the background server in the power bank return processing system. The power bank return processing system includes a cabinet end, a terminal and a background server. The method includes:

[0010] The background server receives a second return request of a target power bank sent by a terminal, where the second return request is triggered after the terminal receives a first return request, and the first return request is triggered after the cabinet terminal detects a return signal of the target power bank;

[0011] The background server updates the return result of the target power bank according to the second return request;

[0012] The background server feeds back the return result to the cabinet terminal through the terminal.

[0013] In a third aspect, the present application provides a method for processing power bank returns, which is applied to a cabinet terminal in a power bank return processing system. The power bank return processing system includes a cabinet terminal, a terminal, and a background server. The method includes:

[0014] The cabinet terminal detects a power bank return signal;

[0015] The cabinet terminal establishes a connection with the terminal;

[0016] When the cabinet terminal detects a return signal of a target power bank, the cabinet terminal sends a return request of the target power bank to the background server through the terminal.

[0017] In a fourth aspect, the present application further provides a shared power bank cabinet, which is characterized by including a processor and a memory. A computer program is stored in the memory, and when the processor calls the computer program in the memory, it executes the power bank return processing method described above.

[0018] In the present application, when the cabinet terminal detects a return signal of a target power bank, it sends a first return request of the target power bank to the terminal, and the terminal sends a second return request of the target power bank to the background server when it receives the first return request. In this way, even in the case of network anomalies such as network disconnection at the cabinet terminal, it can still ensure that the background server can receive the return request of the target power bank in a timely manner, so as to update the return result of the target power bank in a timely manner, improve the return success rate of the power bank to a certain extent, and reduce the waiting time during the power bank return process caused by network anomalies at the cabinet terminal. Description of the Drawings

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those skilled in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0020] Figure 1It is a schematic framework diagram of the power bank return processing system provided by an embodiment of the present application;

[0021] Figure 2 It is a schematic flowchart of realizing the return of the power bank by using the power bank return processing system provided by an embodiment of the present application;

[0022] Figure 3 It is a schematic flowchart of a method for processing power bank return applied to a background server provided by an embodiment of the present application;

[0023] Figure 4 It is a schematic flowchart of a method for processing power bank return applied to a cabinet terminal provided by an embodiment of the present application;

[0024] Figure 5 It is a schematic flowchart of a method for processing power bank return applied to a terminal provided by an embodiment of the present application;

[0025] Figure 6 It is a schematic external structure diagram of the shared power bank cabinet provided by an embodiment of the present application;

[0026] Figure 7 It is a schematic block diagram of the structure of a shared power bank cabinet provided by an embodiment of the present application. Detailed implementation manners

[0027] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the protection scope of the present application.

[0028] The flowcharts shown in the accompanying drawings are only illustrative examples, and do not necessarily include all the contents and operations / steps, nor do they necessarily need to be executed in the described order. For example, some operations / steps can also be decomposed, combined or partially merged, so the actual execution order may be changed according to the actual situation.

[0029] In the description of the embodiments of the present application, it should be understood that the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of the described features. In the description of the embodiments of the present application, "a plurality" means two or more, unless otherwise specifically defined.

[0030] The following description is provided to enable any person skilled in the art to make and use the present application. In the following description, details are set forth for the purpose of explanation. It should be understood that those of ordinary skill in the art can recognize that the present application can be implemented without these specific details. In other instances, well-known processes are not elaborated in detail to avoid obscuring the description of the embodiments of the present application with unnecessary details. Therefore, the present application is not intended to be limited to the embodiments shown, but rather to be in line with the broadest scope consistent with the principles and features disclosed in the embodiments of the present application.

[0031] Embodiments of the present application provide a power bank return processing system, method, and shared power bank cabinet.

[0032] The following will describe in detail some embodiments of the present application with reference to the accompanying drawings. Without conflict, the following embodiments and the features in the embodiments can be combined with each other.

[0033] Please refer to Figure 1 , Figure 1 which is a schematic framework diagram of the power bank return processing system provided by the embodiments of the present application.

[0034] As Figure 1 shown, the power bank return processing system includes a cabinet terminal 101, a terminal 102, and a background server 103. Among them, the cabinet terminal 101 can implement functions including but not limited to: storing power banks, charging power banks, displaying available power banks, displaying QR codes, providing an operation interface to users (such as a power bank selection interface), etc. Among them, the terminal 102 can be a mobile phone, a tablet computer, a smart watch, etc., and the terminal 102 can implement functions including but not limited to: scanning the QR code on the cabinet terminal 101, selecting a power bank for borrowing, paying the borrowing bill of the power bank, etc. Among them, the background server 103 can implement functions including but not limited to: recording borrowing information (such as borrowing time, user ID, power bank ID, etc.), return information (such as return result, return time, user ID, power bank ID, etc.), and updating the power bank status (such as whether it has been lent out, whether it is available, etc.).

[0035] As Figure 2As shown, to avoid the problem that the cabinet terminal 101 fails to send a return request for the target power bank to the background server 103 in a timely manner when the cabinet terminal 101 is disconnected from the network, and thus avoid the failure of the return request for the target power bank, the power bank return processing system provided in the embodiments of the present application can be used to complete the return of the target power bank. Among them, the cabinet terminal 101 and the terminal 102 perform data interaction through a wireless transmission method, and the terminal 102 and the background server 103 perform data interaction through a network connection; the cabinet terminal 101 is configured to send a first return request for the target power bank to the terminal 102 when detecting a return signal of the target power bank; the terminal 102 is configured to send a second return request for the target power bank to the background server 103 when receiving the first return request; the background server 103 is configured to update the return result of the target power bank according to the second return request. Please refer to Figure 2 , for better understanding, the following introduces the process of implementing the return of the power bank using this power bank return processing system. The process of implementing the return of the power bank using this power bank return processing system includes the following steps 201 to 203:

[0036] 201. The cabinet terminal 101 detects a return signal of the power bank. When detecting a return signal of the target power bank, the cabinet terminal 101 sends a first return request for the target power bank to the terminal 102.

[0037] Among them, the target power bank refers to a power bank that has been lent out and is pending return processing.

[0038] Among them, the cabinet terminal 101 and the terminal 102 can be connected through a wireless connection method such as Bluetooth to achieve data interaction between the cabinet terminal 101 and the terminal 102. Exemplarily, taking the Bluetooth connection method as an example, the process of establishing a connection between the cabinet terminal 101 and the terminal 102 can be as follows: Under the condition of user authorization, when the distance between the terminal 102 and the cabinet terminal 101 is within the connectable range, the terminal 102 and the cabinet terminal 101 establish a Bluetooth connection manually or automatically.

[0039] Among them, the terminal 102 and the background server 103 establish a connection through a network (such as the Internet, local area network, etc.) to achieve data interaction between the terminal 102 and the background server 103.

[0040] In some embodiments, the cabinet terminal 101 and the background server 103 can establish a connection through a network (such as the Internet, local area network, etc.) to achieve data interaction between the cabinet terminal 101 and the background server 103. For example, the cabinet terminal 101 sends the power bank status (such as whether it is available, etc.) and the return request of the power bank to the background server 103, and the background server 103 feeds back the return result of the power bank to the cabinet terminal 101. The cabinet terminal 101 performs detection of the power bank return signal. When the return signal of the target power bank is detected (for example, the cabinet terminal 101 can determine whether there is a return signal of the target power bank by detecting whether a power bank is placed in the slot of the cabinet terminal 101. When the target power bank is placed in the slot of the cabinet terminal 101, a return signal will be generated, and at this time, the cabinet terminal 101 detects the return signal of the target power bank), when the cabinet terminal 101 and the background server 103 have established a network, the cabinet terminal 101 can directly send the return request of the target power bank to the background server 103, and the background server 103 determines and records the return result of the target power bank according to the return request. When the cabinet terminal 101 is disconnected from the network, the cabinet terminal 101 and the background server 103 will be disconnected. At this time, in order to ensure the successful return of the target power bank, when the cabinet terminal 101 detects the return signal of the target power bank, the cabinet terminal 101 sends the first return request of the target power bank to the terminal 102; when the terminal 102 receives the first return request, the terminal 102 then sends the second return request of the target power bank to the background server 103. In this way, even if the cabinet terminal 101 and the background server 103 are disconnected, the background server 103 can still normally receive the return request of the target power bank, thereby normally updating the return result of the target power bank, ensuring the correct return of the target power bank, avoiding problems such as the target power bank being unable to be correctly returned due to the disconnection of the cabinet terminal 101 from the network, and improving the return efficiency of the power bank.

[0041] There are various ways for the "cabinet terminal 101 to send the first return request of the target power bank to the terminal 102". Exemplarily, it includes the following situations <1> and <2>:

[0042] <1>In some embodiments, when the cabinet terminal 101 detects the return signal of the target power bank, it directly sends the first return request of the target power bank to the terminal 102.

[0043] <2>In some embodiments, when the cabinet terminal 101 detects the return signal of the target power bank and the cabinet terminal 101 is disconnected from the background server 103, the cabinet terminal 101 establishes a communication connection with the terminal 102 and then sends a first return request for the target power bank to the terminal 102; when the cabinet terminal 101 maintains a network connection with the background server 103, the cabinet terminal 101 directly sends a return request for the target power bank to the background server 103. In this way, when the cabinet terminal 101 is disconnected from the background server 103, the return request for the target power bank can be forwarded to the background server 103 through the terminal 102. When the cabinet terminal 101 maintains a network connection with the background server 103, the cabinet terminal 101 directly sends a return request for the target power bank to the background server 103. This can reduce the user operations in the power bank return process while ensuring the correct return of the power bank, reduce the operation complexity of the power bank return, and improve the user experience.

[0044] 202. When the terminal 102 receives the first return request, it sends a second return request for the target power bank to the background server 103.

[0045] Among them, both the first return request and the second return request are return requests for the target power bank. The difference is that the first return request is the return request for the target power bank sent by the cabinet terminal 101 to the terminal 102, and the second return request is the return request for the target power bank sent by the terminal 102 to the background server 103. In some embodiments, the request contents of the first return request and the second return request may be the same. At this time, when the terminal 102 receives the first return request, it can directly use the request content of the first return request as the request content of the second return request and send the second return request to the background server 103. In some embodiments, the request contents of the first return request and the second return request may be different. At this time, when the terminal 102 receives the first return request, it can parse out the necessary request content from the first return request, generate the request content of the second return request using the necessary request content, and then send the second return request to the background server 103.

[0046] In step 202, there are multiple ways to "send the second return request for the target power bank to the background server 103" by the terminal 102. Exemplarily, they include the following ways 1 and 2:

[0047] Mode 1: In some embodiments, the terminal 102 triggers the terminal 102 to send a second return request to the background server 103 only when it receives the first return request and detects a touch operation on the return control displayed on the terminal 102. At this time, the terminal 102 is further configured to display the return control of the target power bank; when detecting a touch operation on the return control and receiving the first return request, send the second return request of the target power bank to the background server 103. Step 202 may specifically include: the terminal 102 displays the return control of the target power bank; when detecting a touch operation on the return control and receiving the first return request, the terminal 102 sends the second return request of the target power bank to the background server 103. In this way, by the terminal 102 sending the second return request of the target power bank to the background server 103 when detecting a touch operation on the return control and receiving the first return request, the problem that the user performs a false return operation when the target power bank is not actually returned to the cabinet end 101 can be avoided, and the return security of the power bank can be improved.

[0048] Further, in order to prevent the user from forgetting to perform the return operation of the target power bank on the terminal 102, when it is necessary to trigger the terminal 102 to send a second return request to the background server 103 through the return control on the terminal 102, the cabinet end 101 can also be configured to output a return operation prompt for the target power bank in a preset prompt manner when detecting the return signal of the target power bank. The preset prompt manner includes at least one of a text prompt, a light prompt, and a voice prompt. Among them, the return operation prompt is used to guide the user to perform a touch operation on the return control on the terminal 102 to remind the user to perform a touch operation on the return control on the terminal 102 to continue to complete the return process of the target power bank. There are various ways to "output the return operation prompt for the target power bank" by the cabinet end 101. Exemplarily, it includes the following situations ① and ②:

[0049] ①In some embodiments, when the cabinet terminal 101 detects the return signal of the target power bank, it outputs a return operation prompt for the target power bank according to a preset prompt method. For example, taking the preset prompt method as a text prompt (such as displaying "Please click 'Return' on the mobile phone to complete the return" on the operation interface of the cabinet terminal 101), when the user returns the target power bank to the slot of the cabinet terminal 101, the cabinet terminal 101 will detect the return signal of the target power bank. At this time, the operation interface of the cabinet terminal 101 displays "Please click 'Return' on the mobile phone to complete the return", to remind the user to perform a touch operation on the return control on the terminal 102 (such as clicking the "Return" button on the mobile phone) to continue to complete the return process of the target power bank. Another example, taking the preset prompt method as a light prompt (such as the light of the cabinet terminal 101 flashing continuously), when the user returns the target power bank to the slot of the cabinet terminal 101, the cabinet terminal 101 will detect the return signal of the target power bank. At this time, the light of the cabinet terminal 101 flashes continuously, to remind the user to perform a touch operation on the return control on the terminal 102 (such as clicking the "Return" button on the terminal 102) to continue to complete the return process of the target power bank. Still another example, taking the preset prompt method as a voice prompt (such as the cabinet terminal 101 emitting a voice prompt "This return requires an operation on the mobile phone. Please click the 'Return' button on the mobile phone to complete the return"), when the user returns the target power bank to the slot of the cabinet terminal 101, the cabinet terminal 101 will detect the return signal of the target power bank. At this time, the cabinet terminal 101 emits a voice prompt "This return requires an operation on the mobile phone. Please click the 'Return' button on the mobile phone to complete the return", to remind the user to perform a touch operation on the return control on the terminal 102 (such as clicking the "Return" button on the mobile phone) to continue to complete the return process of the target power bank.

[0050] ②In some embodiments, when the cabinet terminal 101 detects the return signal of the target power bank and the cabinet terminal 101 is disconnected from the background server 103, it outputs a return operation prompt for the target power bank according to a preset prompt method; when the cabinet terminal 101 detects the return signal of the target power bank but the cabinet terminal 101 remains connected to the background server 103, it does not output a return operation prompt. The cabinet terminal 101 can directly perform data interaction with the background server 103 and send a return request for the target power bank to the background server 103 to complete the return process of the target power bank. In this way, when the cabinet terminal 101 is disconnected from the background server 103, the return request of the target power bank can be forwarded to the background server 103 through the terminal 102. When the cabinet terminal 101 is connected to the background server 103, the cabinet terminal 101 directly sends a return request for the target power bank to the background server 103. This can reduce the user operation in the power bank return process while ensuring the correct return of the power bank, reduce the operation complexity of power bank return, and improve the user experience.

[0051] Method 2: In some embodiments, after receiving the first return request, the terminal 102 automatically triggers the process of sending a second return request to the background server 103.

[0052] 203. The background server 103 updates the return result of the target power bank according to the second return request.

[0053] There are various implementation manners for step 203. Exemplarily, they include:

[0054] (1) In some embodiments, after receiving the second return request, the background server 103 directly records the corresponding power bank as returned according to the power bank identifier carried in the second return request, and feeds back the return success as the return result of the target power bank to the terminal 102. The terminal 102 can forward the return result of the target power bank to the cabinet terminal 101, so that the correct return of the power bank can still be ensured when the cabinet terminal 101 has no network, without waiting for the network of the cabinet terminal 101 to recover before performing the power bank return operation, thus improving the return efficiency of the power bank; further, when the target power bank is recorded as returned, the background server 103 can also feed back bill information, etc. to the terminal 102 to enable the terminal 102 to complete the payment of the borrowing bill corresponding to the target power bank.

[0055] (2) In some embodiments, further, to prevent the terminal 102 from illegally sending a return request to the background server 103 and improve the return security of the power bank, both the first return request and the second return request carry target encryption information. The cabinet terminal 101 is further configured to generate target encryption information according to the target encryption parameter and the first device information of the target power bank, and send the first return request carrying the target encryption information to the terminal 102, where the target encryption parameter is negotiated by the cabinet terminal 101 and the background server 103; the terminal 102 is further configured to generate a second return request carrying the target encryption information according to the first return request when receiving the first return request; the background server 103 is further configured to decrypt the second device information according to the target encryption information carried in the second return request and the target decryption parameter, and update the return result of the target power bank according to the second device information, where the target decryption parameter is negotiated by the cabinet terminal 101 and the background server 103. At this time, step 201 may specifically include the following steps 2011A to 2014A, and step 203 may specifically include the following steps 2031A to 2032A:

[0056] 2011A. When the cabinet terminal 101 detects a return signal of the target power bank, the cabinet terminal 101 generates target encryption information according to the target encryption parameter and the first device information of the target power bank.

[0057] Wherein, the target encryption parameter is negotiated by the cabinet terminal 101 and the background server 103, and the target encryption parameter is used to indicate at least one of an encryption method and an encryption key.

[0058] Wherein, the first device information is the device information of the target power bank (such as the power bank identifier, etc.).

[0059] In some embodiments, the cabinet terminal 101 performs encryption using default encryption parameters. When the cabinet terminal 101 and the background server 103 establish a network connection, the cabinet terminal 101 and the background server 103 negotiate the default encryption parameters as the target encryption parameters, and subsequently the cabinet terminal 101 performs encryption using the negotiated target encryption parameters. When the cabinet terminal 101 and the background server 103 establish a network connection, the background server 103 is further configured to send the target encryption parameters to the cabinet terminal 101; the cabinet terminal 101 is further configured to receive and record the target encryption parameters sent by the background server 103, and when detecting the return signal of the target power bank, generate target encryption information according to the target encryption parameters recorded by the cabinet terminal 101 and the first device information of the target power bank. In step 2011A, at this time, before step 2011A, it further includes: when the cabinet terminal 101 and the background server 103 establish a network connection, the background server 103 sends the target encryption parameters to the cabinet terminal 101; the cabinet terminal 101 receives and records the target encryption parameters sent by the background server 103. Step 2011A may specifically include: when the cabinet terminal 101 detects the return signal of the target power bank, generate target encryption information according to the target encryption parameters recorded by the cabinet terminal 101 and the first device information of the target power bank.

[0060] In some embodiments, the cabinet terminal 101 and the background server 103 renegotiate the latest encryption parameters regularly or irregularly and perform encryption using dynamic encryption parameters. When the cabinet terminal 101 and the background server 103 establish a network connection, the background server 103 is further configured to send the latest encryption parameters to the cabinet terminal 101 according to a preset update frequency; the cabinet terminal 101 is further configured to receive and record the latest encryption parameters sent by the background server 103, and when detecting the return signal of the target power bank, obtain the latest encryption parameters recorded by the cabinet terminal 101 as the target encryption parameters; in this way, it is possible to avoid problems such as the terminal 102 illegally sending a return request to the background server 103 due to the encryption parameters being cracked, etc., and improve the return security of the power bank. At this time, before step 2011A, it further includes: when the cabinet terminal 101 and the background server 103 establish a network connection, the background server 103 sends the latest encryption parameters to the cabinet terminal 101 according to a preset update frequency; the cabinet terminal 101 receives and records the latest encryption parameters sent by the background server 103. Step 2011A may specifically include: when the cabinet terminal 101 detects the return signal of the target power bank, obtain the latest encryption parameters recorded by the cabinet terminal 101 as the target encryption parameters; the cabinet terminal 101 generates target encryption information according to the target encryption parameters and the first device information of the target power bank.

[0061] 2012A. The cabinet terminal 101 sends a first return request carrying the target encrypted information to the terminal 102.

[0062] 2013A. When the terminal 102 receives the first return request, it generates a second return request carrying the target encrypted information according to the first return request, and sends the second return request to the background server 103.

[0063] 2014A. When the background server 103 receives the second return request, the background server 103 decrypts the second return request according to the target encrypted information and the target decryption parameter carried by the second return request to obtain the second device information.

[0064] Among them, the target decryption parameter is negotiated by the cabinet terminal 101 and the background server 103.

[0065] In some embodiments, the cabinet terminal 101 uses the default decryption parameter as the target decryption parameter to decrypt the target encrypted information. After the cabinet terminal 101 sends a first return request carrying the target encrypted information to the terminal 102, the terminal 102 generates a second return request carrying the target encrypted information according to the first return request, and sends the second return request to the background server 103. When the background server 103 receives the second return request, it decrypts the second return request according to the target encrypted information and the target decryption parameter carried by the second return request to obtain the second device information.

[0066] In some embodiments, when the cabinet terminal 101 and the background server 103 establish a network connection, the background server 103 sends the latest encryption parameter to the cabinet terminal 101 at a preset update frequency; the decryption parameter corresponding to the latest encryption parameter is recorded as the latest decryption method of the cabinet terminal 101 in the decryption parameter list of the background server 103. Step 2031A may specifically include: when the background server 103 receives the second return request, it obtains the latest decryption parameter of the cabinet terminal 101 from the decryption parameter list as the target decryption parameter; the background server 103 decrypts the second return request according to the target encrypted information and the target decryption parameter carried by the second return request to obtain the second device information.

[0067] 2032A. The background server 103 updates the return result of the target power bank according to the second device information.

[0068] Among them, the second device information is the device information (such as the power bank identifier, etc.) decrypted by the background server 103 according to the second return request.

[0069] Exemplarily, in step 2032A, the background server 103 may record the corresponding power bank as returned according to the second device information (such as the power bank identifier), and feedback the return success as the return result of the target power bank to the terminal 102. The terminal 102 may forward the return result of the target power bank to the cabinet terminal 101, so that the cabinet terminal 101 can still ensure the correct return of the power bank without network, and there is no need to wait for the network of the cabinet terminal 101 to recover before performing the return operation of the power bank, thereby improving the return efficiency of the power bank. Further, when the target power bank is recorded as returned, the background server 103 may also feedback bill information, etc. to the terminal 102, so that the terminal 102 can complete the payment of the borrowing bill corresponding to the target power bank.

[0070] When the decryption of the target encrypted information fails in step 2031A, the background server 103 may feedback the return failure as the return result of the target power bank to the terminal 102, so that the user can know the return result of the target power bank and make further processing to ensure the normal return of the power bank.

[0071] It can be seen from the above that when the cabinet terminal 101 detects the return signal of the target power bank, it sends the first return request of the target power bank to the terminal 102, and when the terminal 102 receives the first return request, it sends the second return request of the target power bank to the background server 103. In this way, even in the case of network anomalies such as the cabinet terminal 101 being disconnected from the network, it can still ensure that the background server 103 can receive the return request of the target power bank in time, so that the return result of the target power bank can be updated in time, improving the return success rate of the power bank to a certain extent and reducing the waiting time during the power bank return process caused by the network anomaly of the cabinet terminal 101.

[0072] Next, a method for processing the return of a power bank by the background server 103 applied to a power bank return processing system will be introduced. Please refer to Figure 3 , Figure 3 which is a schematic flowchart of a method for processing the return of a power bank applied to the background server 103 provided in an embodiment of the present application. The power bank return processing system includes a cabinet terminal 101, a terminal 102, and a background server 103. The method for processing the return of a power bank applied to the background server 103 includes steps 301 to 303, where:

[0073] 301. The background server 103 receives the second return request of the target power bank sent by the terminal 102, where the second return request is triggered after the terminal 102 receives the first return request, and the first return request is triggered after the cabinet terminal 101 detects the return signal of the target power bank.

[0074] 302. The background server 103 updates the return result of the target power bank according to the first return request.

[0075] 303. The background server 103 feeds back the return result to the cabinet terminal 101 through the terminal 102.

[0076] Further, the first return request carries target encryption information. Step 303, "The background server 103 updates the return result of the target power bank according to the first return request" may specifically include the following steps 3031 to 3032:

[0077] 3031. The background server 103 decrypts according to the target encryption information carried in the first return request to obtain the second device information.

[0078] 3032. The background server 103 updates the return result of the target power bank according to the second device information.

[0079] In this way, through the return result processing method of steps 3031 to 3032, it is possible to prevent the terminal 102 from illegally sending a return request to the background server 103, so as to improve the return security of the power bank.

[0080] Further, the power bank return processing method applied to the background server 103 further includes: when the cabinet terminal 101 and the background server 103 establish a network connection, the background server 103 can also send the latest encryption parameters to the cabinet terminal 101 at a preset update frequency; record the decryption parameters corresponding to the latest encryption parameters as the latest decryption method of the cabinet terminal 101 in the decryption parameter list of the background server 103; when receiving the first return request, obtain the latest decryption parameters of the cabinet terminal 101 from the decryption parameter list as the target decryption parameters. In this way, dynamic encryption and decryption parameters can be used to process the return request, avoiding the problem that the terminal 102 illegally sends a return request to the background server 103 due to situations such as the encryption parameters being cracked, and improving the return security of the power bank.

[0081] It can be seen from the above content that when the cabinet terminal 101 detects the return signal of the target power bank, it sends the first return request of the target power bank to the terminal 102, and the terminal 102 forwards the first return request of the target power bank to the background server 103. In this way, even in the case of network anomalies such as the cabinet terminal 101 being disconnected from the network, it can still ensure that the background server 103 can receive the return request of the target power bank in time, so as to update the return result of the target power bank in time, improve the return success rate of the power bank to a certain extent, and reduce the waiting time during the power bank return process caused by the network anomaly of the cabinet terminal 101.

[0082] For the sake of simplicity in this text, the descriptions of the embodiments focus on certain aspects. For the specific implementation process and beneficial effects of the power bank return processing method applied to the back-end server 103, the parts not elaborated can refer to the relevant descriptions of the power bank return processing system and the process of using the power bank return processing system to implement power bank return.

[0083] The following introduces the power bank return processing method applied to the cabinet terminal 101 in the power bank return processing system. Please refer to Figure 4 , Figure 4 which is a schematic flowchart of a power bank return processing method applied to the cabinet terminal 101 provided by an embodiment of the present application. The power bank return processing system includes a cabinet terminal 101, a terminal 102, and a back-end server 103. The power bank return processing method applied to the cabinet terminal 101 includes steps 401 to 403, where:

[0084] 401. The cabinet terminal 101 detects a power bank return signal.

[0085] 402. The cabinet terminal 101 establishes a connection with the terminal 102.

[0086] 403. When the cabinet terminal 101 detects a return signal of the target power bank, the cabinet terminal 101 sends a return request of the target power bank to the back-end server 103 through the terminal 102.

[0087] Furthermore, the power bank return processing method applied to the cabinet terminal 101 further includes: the cabinet terminal 101 receives a return result feedback by the back-end server 103 based on the return request through the terminal 102.

[0088] Furthermore, the power bank return processing method applied to the cabinet terminal 101 further includes: when detecting a return signal of the target power bank, outputting a return operation prompt for the target power bank according to a preset prompt method, where the preset prompt method includes at least one of text prompt, light prompt, and voice prompt. Among them, the return operation prompt is used to guide a touch operation on the return control on the terminal 102; or when detecting a return signal of the target power bank and the cabinet terminal 101 is disconnected from the network connection with the back-end server 103, outputting a return operation prompt for the target power bank according to a preset prompt method.

[0089] Further, step 403 may specifically include: when the return signal of the target power bank is detected and the cabinet terminal 101 is disconnected from the background server 103, the cabinet terminal 101 establishes a communication connection with the terminal 102, and sends a return request for the target power bank to the background server 103 through the terminal 102.

[0090] Further, the return request carries target encryption information. Step 403 may specifically include: the cabinet terminal 101 generates target encryption information according to the target encryption parameter and the first device information of the target power bank; the cabinet terminal 101 sends a return request carrying the target encryption information to the background server 103 through the terminal 102, where the target encryption parameter is negotiated by the cabinet terminal 101 and the background server 103.

[0091] Further, before step 403, it may further include: when the cabinet terminal 101 and the background server 103 establish a network connection, the cabinet terminal 101 receives and records the latest encryption parameter sent by the background server 103. Step 403 may specifically include: when the cabinet terminal 101 detects the return signal of the target power bank, the cabinet terminal 101 obtains the latest encryption parameter recorded by the cabinet terminal 101 as the target encryption parameter; the cabinet terminal 101 generates target encryption information according to the target encryption parameter and the first device information of the target power bank; the cabinet terminal 101 sends a return request carrying the target encryption information to the background server 103 through the terminal 102, where the target encryption parameter is negotiated by the cabinet terminal 101 and the background server 103.

[0092] In this text, for the sake of simplified expression, the descriptions of the embodiments have different emphases. For the specific implementation process and beneficial effects of the power bank return processing method applied to the cabinet terminal 101, the parts not detailed can refer to the relevant descriptions of the power bank return processing system and the process of realizing power bank return by using the power bank return processing system.

[0093] Next, a power bank return processing method applied to the terminal 102 in the power bank return processing system will be introduced. Please refer to Figure 5 , Figure 5 which is a schematic flowchart of a power bank return processing method applied to the terminal 102 provided by an embodiment of the present application. The power bank return processing system includes a cabinet terminal 101, a terminal 102, and a background server 103. The power bank return processing method applied to the terminal 102 includes steps 501 to 504, where:

[0094] 501. The terminal 102 receives the first return request of the target power bank sent by the cabinet terminal 101, where the first return request is triggered after the cabinet terminal 101 detects the return signal of the target power bank.

[0095] 502. The terminal 102 sends a second return request of the target power bank to the background server 103 according to the first return request.

[0096] 503. The terminal 102 receives the return result fed back by the background server 103 based on the second return request.

[0097] 504. The terminal 102 forwards the return result to the cabinet terminal 101.

[0098] Further, the power bank return processing method applied to the terminal 102 further includes: the terminal 102 displays a return control for the target power bank; in response to a touch operation on the return control, the terminal 102 sends a second return request of the target power bank to the background server 103.

[0099] In this text, for the sake of simplified expression, the descriptions of the embodiments have different emphases. For the specific implementation process and beneficial effects of the power bank return processing method applied to the terminal 102, the parts not described in detail can refer to the relevant descriptions of the power bank return processing system and the process of realizing power bank return using the power bank return processing system.

[0100] To better implement the present application, an embodiment of the present application further provides a shared power bank cabinet, as Figure 6 and Figure 7 shown, Figure 6 is a schematic diagram of the external structure of the shared power bank cabinet provided by an embodiment of the present application, Figure 7 is a schematic block diagram of the principle structure of a shared power bank cabinet provided by an embodiment of the present application.

[0101] As Figure 6 shown, the shared power bank cabinet can be provided with a plurality of slots 601 for placing shared power banks, and the shared power bank cabinet can also be provided with a display interface 602 for providing an operation interface to the user, displaying power bank borrowing and returning information, etc. As Figure 7 shown, the shared power bank cabinet 700 includes a processor 701 and a memory 702, and the processor 701 and the memory 702 are connected through a bus 703, and this bus is, for example, a PCIe (Peripheral Component Interconnect Express) bus. The processor 701

[0102] Specifically, the processor 701 is used to provide computing and control capabilities to support the operation of the entire shared power bank cabinet 700. The processor 701 can be a central processing unit (CPU), and this processor 701 can also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or this processor can also be any conventional processor, etc.

[0103] Specifically, the memory 702 can be a Flash chip, read-only memory (ROM), magnetic disk, optical disc, USB flash drive, or mobile hard disk, etc.

[0104] Those skilled in the art can understand that Figure 7 the structure shown in is only a block diagram of some structures related to the solution of the embodiment of the present application, and does not constitute a limitation on the shared power bank cabinet to which the solution of the embodiment of the present application is applied. The specific shared power bank cabinet may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0105] Among them, the processor 701 is used to run the computer program stored in the memory 702 and implement any one of the power bank return processing methods provided in the embodiments of the present application when executing the computer program. For example, the processor 701 is used to run the computer program stored in the memory 702 and can implement the following steps when executing the computer program:

[0106] Detect the power bank return signal; establish a connection with the terminal; when detecting the return signal of the target power bank, send a return request for the target power bank to the background server 103 through the terminal:

[0107] Those of ordinary skill in the art can understand that all or part of the steps in the above power bank return processing method can be completed by instructions or by controlling relevant hardware through instructions. The instructions can be stored in a computer-readable storage medium and loaded and executed by the processor.

[0108] To this end, an embodiment of the present application provides a computer-readable storage medium, which stores multiple computer programs that can be loaded by a processor to execute any one of the power bank return processing methods provided by the embodiments of the present application. For example, the computer program can be loaded by the processor to execute the following steps:

[0109] The background server receives a second return request of the target power bank sent by the terminal, where the second return request is triggered after the terminal receives the first return request, and the first return request is triggered after the cabinet terminal detects the return signal of the target power bank;

[0110] The background server updates the return result of the target power bank according to the second return request;

[0111] The background server feeds back the return result to the cabinet terminal through the terminal.

[0112] In some embodiments, the computer program can be loaded by the processor to execute the following steps:

[0113] The background server decrypts the target encryption information carried in the second return request to obtain second device information; the background server updates the return result of the target power bank according to the second device information.

[0114] In some embodiments, the computer program can be loaded by the processor to execute the following steps:

[0115] When a network connection is established between the cabinet terminal and the background server, the background server can also send the latest encryption parameters to the cabinet terminal at a preset update frequency; record the decryption parameters corresponding to the latest encryption parameters as the latest decryption method of the cabinet terminal in the decryption parameter list of the background server; when receiving the second return request, obtain the latest decryption parameters of the cabinet terminal from the decryption parameter list as the target decryption parameters.

[0116] In some embodiments, the computer program can be loaded by the processor to execute the following steps:

[0117] The cabinet terminal detects the return signal of the power bank; the cabinet terminal establishes a connection with the terminal; when the cabinet terminal detects the return signal of the target power bank, the cabinet terminal sends a return request of the target power bank to the background server through the terminal.

[0118] In some embodiments, the computer program can be loaded by the processor to execute the following steps:

[0119] The cabinet terminal receives, through the terminal, the return result fed back by the background server based on the return request.

[0120] In some embodiments, the computer program can be loaded by a processor to perform the following steps:

[0121] When a return signal of the target power bank is detected, a return operation prompt for the target power bank is output in a preset prompt manner, where the preset prompt manner includes at least one of a text prompt, a light prompt, and a voice prompt. The return operation prompt is used to guide a touch operation on the return control at the terminal.

[0122] In some embodiments, the computer program can be loaded by a processor to perform the following steps:

[0123] When a return signal of the target power bank is detected and the network connection between the cabinet terminal and the background server is disconnected, a return operation prompt for the target power bank is output in a preset prompt manner.

[0124] In some embodiments, the computer program can be loaded by a processor to perform the following steps:

[0125] When a return signal of the target power bank is detected and the network connection between the cabinet terminal and the background server is disconnected, the terminal sends a second return request for the target power bank to the background server.

[0126] In some embodiments, the return request carries target encryption information. The computer program can be loaded by a processor to perform the following steps:

[0127] The cabinet terminal generates target encryption information according to target encryption parameters and first device information of the target power bank; the cabinet terminal sends, through the terminal, a return request carrying the target encryption information to the background server, where the target encryption parameters are negotiated between the cabinet terminal and the background server.

[0128] In some embodiments, the computer program can be loaded by a processor to perform the following steps:

[0129] When a network connection is established between the cabinet terminal and the background server, the cabinet terminal receives and records the latest encryption parameters sent by the background server.

[0130] In some embodiments, the computer program can be loaded by a processor to perform the following steps:

[0131] When the cabinet terminal detects the return signal of the target power bank, it obtains the latest encryption parameter recorded by the cabinet terminal as the target encryption parameter; the cabinet terminal generates target encryption information according to the target encryption parameter and the first device information of the target power bank; the cabinet terminal sends a return request carrying the target encryption information to the background server through the terminal, where the target encryption parameter is negotiated by the cabinet terminal and the background server.

[0132] In some embodiments, the computer program can be loaded by a processor to execute the following steps:

[0133] The terminal receives the first return request of the target power bank sent by the cabinet terminal, where the first return request is triggered after the cabinet terminal detects the return signal of the target power bank; the terminal sends a second return request of the target power bank to the background server; the terminal receives the return result fed back by the background server based on the second return request; the terminal forwards the return result to the cabinet terminal.

[0134] In some embodiments, the computer program can be loaded by a processor to execute the following steps:

[0135] The terminal displays a return control for the target power bank; in response to a touch operation on the return control, the terminal sends a second return request of the target power bank to the background server.

[0136] Among them, the computer-readable storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.

[0137] In the above embodiments of the power bank return processing system, method, shared power bank cabinet, and computer-readable storage medium, the descriptions of each embodiment have their own focuses. For parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments. Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes and beneficial effects of the above-described computer-readable storage medium, shared power bank cabinet, and power bank return processing method can refer to the description of the power bank return processing system in the above embodiments, and will not be elaborated here specifically.

[0138] The above has introduced in detail a power bank return processing system, method and shared power bank cabinet provided by the embodiments of the present application. Specific examples are used in this article to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.

Claims

1. A power bank return processing system, characterized in that: The system includes a cabinet end, a terminal and a background server, wherein the cabinet end and the terminal perform data exchange via wireless transmission, and the terminal and the background server perform data exchange via a network connection; The cabinet end is used to send a first return request of the target power bank to the terminal when a return signal of the target power bank is detected; The terminal is configured to send a second return request for the target power bank to the backend server upon receiving the first return request; The backend server is used to update the return result of the target power bank according to the second return request.

2. The power bank return processing system according to claim 1, characterized in that: The terminal is also used for: Display a return control of the target power bank; When a touch operation on the returned control is detected and the first return request is received, the second return request is sent to the background server.

3. The power bank return processing system according to claim 2, characterized in that: The cabinet end is also used for: When a return signal of a target power bank is detected, a return operation prompt of the target power bank is output according to a preset prompt mode, wherein the preset prompt mode includes at least one of a text prompt, a light prompt, and a voice prompt, wherein the return operation prompt is used to guide the touch operation of the return control on the terminal; Alternatively, when a return signal of the target power bank is detected and the cabinet end is disconnected from the backend server through the network, a return operation prompt for the target power bank is output in a preset prompting manner.

4. The power bank return processing system according to claim 1, characterized in that: The cabinet end is also used for: When a return signal of the target power bank is detected and the cabinet end is disconnected from the network of the backend server, the cabinet end establishes a communication connection with the terminal and sends a first return request of the target power bank to the terminal.

5. The power bank return processing system according to claim 1, characterized in that: The first return request and the second return request both carry target encrypted information; The cabinet end is also used to generate target encryption information according to the target encryption parameter and the first device information of the target power bank, and send a first return request carrying the target encryption information to the terminal, wherein the target encryption parameter is obtained by negotiation between the cabinet end and the background server; The terminal is further configured to generate, upon receiving the first return request, a second return request carrying the target encrypted information according to the first return request; The background server is also used to decrypt the target encryption information and target decryption parameters carried in the second return request to obtain the second device information, and update the return result of the target power bank according to the second device information, wherein the target decryption parameters are obtained by negotiation between the cabinet end and the background server.

6. The power bank return processing system according to claim 5, characterized in that: When the cabinet end and the background server establish a network connection, the background server is also used to send the latest encryption parameters to the cabinet end according to a preset update frequency; The cabinet end is also used to receive and record the latest encryption parameters sent by the background server. When a return signal of the target power bank is detected, the latest encryption parameters recorded by the cabinet end are obtained as the target encryption parameters.

7. The power bank return processing system according to claim 6, characterized in that: The backend server is also used for: Recording the decryption parameters corresponding to the latest encryption parameters as the latest decryption method of the cabinet end into the decryption parameter list of the backend server; When the second return request is received, the latest decryption parameter of the cabinet end is obtained from the decryption parameter list as the target decryption parameter.

8. A method for returning a power bank, characterized in that: The method is applied to a backend server in a power bank return processing system, the power bank return processing system includes a cabinet end, a terminal and a backend server, and the method includes: The backend server receives a second return request for the target power bank sent by the terminal, wherein the second return request is triggered after the terminal receives the first return request, and the first return request is triggered after the cabinet detects a return signal from the target power bank; The backend server updates the return result of the target power bank according to the second return request; The backend server feeds back the return result to the cabinet end through the terminal.

9. A method for returning a power bank, characterized in that: The method is applied to the cabinet end in the power bank return processing system, and the power bank return processing system includes the cabinet end, the terminal and the backend server. The method includes: The cabinet terminal performs power bank return signal detection; The cabinet end establishes a connection with the terminal; When the cabinet detects the return signal of the target power bank, the cabinet sends a return request of the target power bank to the background server through the terminal.

10. A shared power bank cabinet, characterized in that: It includes a processor and a memory, wherein a computer program is stored in the memory, and when the processor calls the computer program in the memory, the power bank return processing method as claimed in claim 9 is executed.

Citation Information

Patent Citations

  • Shared power bank renting method, system and device and storage medium

    CN117037373A