Power bank renting equipment, control method thereof and storage medium
By adopting the control method of detachable power supply module and detection module status in the power bank rental equipment, the high cost problem caused by energy storage power is solved, the effect of reducing transportation and operating costs when not needed is achieved, and the equipment is ensured to operate stably .
Patent Information
- Application Number
- CN202411298948.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-14
- Publication Date
- 2025-01-14
AI Technical Summary
The transportation and operation costs of power bank rental equipment are high, mainly due to the large size, heavy weight and expensive energy storage power supply.
A control method for power bank rental equipment is designed, using a detachable connected power supply module to detect the status of the power supply module. If it is in a working state, the driving power bank rental cabinet is in the first working state, and the power provided by the power supply module is used for renting. /Return operation. If the power supply module does not work, switch to the mains power supply state for charging and upgrading.
No need to carry energy storage power, it is more convenient to use, reduces transportation and operating costs, and ensures stable operation of the equipment, avoiding unnecessary power consumption and upgrade interference.
Smart Images

Figure CN119314257A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power bank rental, and in particular to a power bank rental device and a control method and storage medium thereof. Background Art
[0002] Power bank rental cabinets usually require an external mains (220V AC) power supply. However, in some scenic spots or outdoor places, it is not possible to provide mains power to power shared power bank devices. To solve this problem, the current solution is to use energy storage power and convert it into 220V AC power through an inverter for use by the device.
[0003] However, energy storage power sources are bulky, heavy, and expensive, which results in high transportation and operating costs for power bank rental equipment. Summary of the invention
[0004] The technical problem to be solved by the embodiments of the present invention is to provide a power bank rental device and a control method and storage medium thereof, so as to solve the problem that the transportation cost and operating cost of the power bank rental device in the prior art are quite high.
[0005] The present invention discloses a control method for a power bank rental device, which is applied to the power bank rental device, wherein the power bank rental device comprises a power bank rental cabinet and a power supply module detachably connected to the power bank rental cabinet, the power bank rental cabinet is provided with at least one charging compartment, the charging compartment is used to place the power bank, and a control module for controlling the rental / return operation of the power bank;
[0006] The control method of the power bank component device includes:
[0007] Detecting whether the power bank rental cabinet is connected to the control module;
[0008] If yes, detecting whether the power supply module is in a control state;
[0009] If yes, driving the power bank rental cabinet to be in the first working state;
[0010] When the power bank rental cabinet is in the first working state, it receives the working power provided by the power supply module and provides the working power to the control module to maintain the control module's ability to perform the power bank rental / return operation, while stopping charging the multiple power banks.
[0011] Optionally, the step of driving the power bank rental cabinet to be in the first working state further includes:
[0012] The power bank rental cabinet is driven to send a work notification to a remote control device corresponding to the power bank rental cabinet, so that the cloud storage server obtains the current status of the power bank rental cabinet and prohibits issuing upgrade instructions to the power bank rental cabinet.
[0013] Optionally, after the step of detecting whether the power supply module is in a working state, the step further includes:
[0014] If not, driving the power bank rental cabinet to be in the second working state;
[0015] When the power bank rental cabinet is in the second working state, the AC power supply connected to the power bank rental cabinet is obtained, the AC power supply is provided to the control module, and the multiple power banks are charged at the same time.
[0016] Optionally, the step of driving the power bank rental cabinet to be in the second working state also includes:
[0017] The power bank rental cabinet is driven to send an upgrade notification to the remote control device, so that the cloud storage server obtains the current status of the power bank rental cabinet and sends an upgrade instruction to the power bank rental cabinet.
[0018] Optionally, the step of detecting whether the power supply module is in a working state includes:
[0019] Detecting whether a status notification sent by the power supply module through the bus protocol is received;
[0020] If the status notification is received, determining that the power supply module is in the working state;
[0021] If the status notification is not received within the preset time period, it is determined that the power supply module is not in the working state.
[0022] Optionally, before the step of detecting whether the power supply module is in a working state, the step includes:
[0023] Driving any one of the multiple power banks to supply power to the power supply module; or
[0024] The power supply module is powered by a charging device provided by a user.
[0025] Optionally, the method further comprises:
[0026] Obtain the cabinet identification of the power bank rental cabinet and the module identification of the power supply module, obtain the user identification of the user, and send the cabinet identification, the module identification and the user identification to the remote control device for binding;
[0027] Before the step of detecting whether the power supply module is in a working state, the method includes:
[0028] Determine whether the module identifier of the power supply module and the cabinet identifier of the power bank rental cabinet are bound to the same user identifier;
[0029] If yes, then executing the step of detecting whether the power supply module is in working state, and subsequent steps;
[0030] If not, the communication between the power bank rental cabinet and the power supply module is interrupted.
[0031] Optionally, the step of sending the cabinet identifier, the module identifier and the user identifier to the remote control device for binding includes:
[0032] When the power supply module is shipped or used by a user for the first time, the module identifier and the user identifier are sent to the remote control device for binding;
[0033] When the power bank rental cabinet is shipped, or is used by a user for the first time, the cabinet identifier and the user identifier are sent to the remote control device for binding.
[0034] The present invention also discloses a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor executes the steps of the method described above.
[0035] The present invention also discloses a power bank rental device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above method.
[0036] Compared with the prior art, the control method for the power bank rental device provided by the embodiment of the present invention has the beneficial effect of: when it is detected that the power supply module is in a working state, the power bank rental cabinet is driven to be in a first working state, and the working power provided by the power supply module is provided to the control module of the power bank rental cabinet, so that the power bank rental cabinet can complete the rental / return operation of the power bank, without the need to carry a storage power supply, which is more convenient to use and reduces transportation costs and operating costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The scheme of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments, in which:
[0038] Figure 1 It is a flow chart of a first embodiment of a control method for a power bank rental device provided by the present invention;
[0039] Figure 2It is a structural schematic diagram of an embodiment of the power bank rental device provided by the present invention;
[0040] Figure 3 It is a flow chart of a second embodiment of the control method of the power bank rental device provided by the present invention;
[0041] Figure 4 It is a flow chart of a third embodiment of a control method for a power bank rental device provided by the present invention;
[0042] Figure 5 A schematic diagram of the internal structure of a power bank rental device in one embodiment is shown.
[0043] The reference numerals in the figures are:
[0044] 10. Power bank rental equipment; 11. Power bank rental cabinet; 12. Power supply module; 13. Power bank; 14. Control module; 15. Charging compartment. DETAILED DESCRIPTION
[0045] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. Now, in conjunction with the accompanying drawings, the preferred embodiments of the present invention are described in detail.
[0046] Please refer to Figure 1 and Figure 2 , Figure 1 It is a flow chart of a first embodiment of a control method for a power bank rental device provided by the present invention. Figure 2 It is a structural schematic diagram of an embodiment of the power bank rental device provided by the present invention. The power bank rental device 10 includes a detachably connected power bank rental cabinet 11 and a power supply module 12, and the power bank rental cabinet 11 and the power supply module 12 are connected through the structure of a thimble and a terminal. For example, the power supply module 12 is equipped with a thimble, and the power bank rental cabinet 11 is equipped with a terminal. The thimble adopts a spring design and has a cylindrical shape. It is fixed to the bottom or side of the power supply module 12 and can be popped out or bounced in when needed. The design of the thimble can provide pressure when in contact and ensure a good electrical connection. The terminal is fixed to the surface or inside of the power bank rental cabinet 11 for receiving the connection of the thimble.
[0047] When the power bank rental cabinet 11 and the power supply module 12 need to communicate and transmit power, the ejector pin pops out from one module and contacts the terminal on the other module. This contact method achieves electrical connection through direct contact between metals. The spring design of the ejector pin ensures good contact pressure, thereby ensuring a stable connection. The design of the ejector pin and the terminal is particularly suitable for communication and power transmission between the power bank rental cabinet 11 and the power supply module 12 that require frequent connection and separation.
[0048] A plurality of power banks 13 are arranged in the power bank rental cabinet 11. Specifically, a plurality of charging compartments 15 can be arranged in the power bank rental cabinet 11, and the power banks 13 are arranged one by one in the charging compartments 15. A control module 14 for controlling the rental / return operations of the plurality of power banks 13 is also arranged in the power bank rental cabinet 11. The control module 14 is responsible for managing the rental process of the power bank 13 and performing specific rental / return operations. It can track the status of each power bank 13, including whether it can be rented, has been rented, returned, etc. Furthermore, the power bank rental cabinet 11 also includes a charging module for charging each power bank 13 based on a power supply provided by the outside world.
[0049] The control method of the power bank assembly device provided by the present invention comprises the following steps:
[0050] S101: Detect whether the power bank rental cabinet is connected to the control module. If so, execute step S102.
[0051] In a specific implementation scenario, it is detected whether the power bank rental cabinet is connected to the control module, and a physical sensor or connector is set between the power bank rental cabinet and the control module to detect whether the two are in a connected state. For example, a sensor is set at the connection port of the two, and when the power bank rental cabinet and the control module are in a connected state, the sensor can send a sensor signal, so that it can be detected that the power bank rental cabinet and the control module are in a connected state.
[0052] If the power bank rental cabinet and the control module are in a non-connected state, that is, the two are disconnected, the control module cannot communicate with the power bank rental cabinet, and the subsequent steps cannot be executed.
[0053] S102: Detect whether the power supply module is in a control state; if so, execute step S103.
[0054] In a specific implementation scenario, the power bank rental cabinet detects whether the power supply module is in the control state. The power bank rental cabinet can be connected to the mains power supply, so as to charge the power bank through the mains power supply and power the control module, thereby realizing the rental / return operation of the power bank.
[0055] The power bank rental cabinet is detachably connected to the power supply module. When the power bank rental cabinet is connected to the power supply module, it detects whether the power supply module is in a control state. The power supply module and the power bank rental cabinet communicate through a bus protocol, so that the power supply module can notify the power bank rental cabinet whether it is currently in a control state through the bus protocol.
[0056] Specifically, the power bank rental cabinet and the power supply module first establish a communication connection through the bus protocol, including executing steps involving configuring communication parameters and establishing physical connections. The power bank rental cabinet sends a query command to the power supply module, requesting the power supply module to reply with the current status information. After receiving the query command, the power supply module will parse the command and check its own status. If the power supply module generates a response message and sends the response message back to the power bank rental cabinet. This message may contain control status information and other relevant data. After receiving the response message from the power supply module, the power bank rental cabinet will parse the message content to determine whether the power supply module is in a control state.
[0057] In other implementation scenarios, the power bank rental cabinet may also be in a waiting state all the time. Once the power supply module is in a control state, it will immediately send a status notification to the power bank rental cabinet. After receiving the status notification, the power bank rental cabinet can know that the power supply module is in a control state.
[0058] In other implementation scenarios, after the power supply module is in the control state, it will send a status notification to the power bank rental cabinet according to a preset period. Therefore, the power bank rental cabinet can determine whether the power supply module is in the control state at the current moment according to whether the status notification is currently received, and perform corresponding processing. For example, if the power bank rental cabinet receives a status notification, it is determined that the power supply module is in the control state during the cycle. If the power bank rental cabinet fails to receive the status notification for N consecutive cycles (N≥1) or within a preset time (for example, 5s), it is determined that the power supply module is in a non-control state.
[0059] In this embodiment, the power supply module does not carry a power supply itself and must rely on a power supply provided by an external source to be in a control state. Therefore, when the power supply module is connected to the power supply, it is in a control state, and when it is disconnected from the power supply, it is in a non-control state. In other implementation scenarios, the power supply module can also be switched between the control state and the non-control state by a switch.
[0060] In this embodiment, the voltage of the power supply required by the power supply module is 5V. Therefore, the power supply module can be powered by any power bank in the power bank rental cabinet, or by a charging device additionally prepared by the user (such as a 5V constant voltage power supply device, a lithium battery, etc.). In this embodiment, when the power supply module is connected to the power bank rental cabinet, the power bank rental cabinet selects one of the multiple power banks as the target power bank for powering the power supply module. When selecting the target power bank, one or more slots can be predetermined, and the target power bank inserted in the one or more slots can be used to power the power supply module.
[0061] In this implementation scenario, when the power bank rental cabinet is connected to the mains power supply, the connection between the target power bank and the power supply module is automatically cut, and the power supply module is immediately in a non-control state.
[0062] S103: driving the power bank rental cabinet to be in a first working state.
[0063] In a specific implementation scenario, the power supply module is in a control state, which means that the power bank rental cabinet is not connected to the mains power supply, so the corresponding driving power bank rental cabinet is in the first working state. When the power supply module is in a control state, the target power bank provides power to the power supply module for operation, and at the same time, the power supply module transmits the working power of the target power bank to the control module of the power bank rental cabinet, so that the power bank rental cabinet can perform the rental / return operation of the power bank. It is understandable that once the target power bank is connected to the power supply module, it will not be rented as a power bank. The rental / return operation completed with the power of the target power bank is consistent with the rental / return operation under the mains condition, and will not be repeated here. In this way, even if the power bank rental cabinet is disconnected from the mains, it can perform the rental / return operation with the power provided by the power supply module to maintain normal use for a period of time.
[0064] Since the target power bank can only provide a limited amount of working power, the operation of charging multiple power banks will be stopped. Since the power bank is no longer charged, the power of the power bank returned after use will remain at a low level when it is returned. The control module of the power bank rental cabinet can obtain the power of each power bank in real time. When performing the power bank rental / return operation, the power bank with a stored power greater than a preset threshold (for example, greater than 95%) will be regarded as a rentable power bank, and the rental / return operation will be performed to avoid renting out low-power power banks.
[0065] Furthermore, if there are currently a large number of low-battery power banks, the power of several low-battery power banks can be transferred to the same power bank to increase the number of power banks that can be rented.
[0066] In other implementation scenarios, since the target power bank has limited power, in order to extend the standby time of the power bank rental cabinet as much as possible, when the remaining power in the target power bank is low, the rental operation of the power bank can be suspended and only the return operation can be performed to further save power. Furthermore, the remaining power of the power bank can be used to power the power supply module.
[0067] In other implementation scenarios, when the power supply module is in the control state, due to the limited power of the target power bank, it cannot be ensured that the power bank rental cabinet can be in working condition for a long time, and at this time the upgrade operation is a non-essential operation compared to the rental / return operation. Therefore, a work notification is sent to the remote control device corresponding to the power bank rental cabinet, so that the cloud storage server obtains the current status of the power bank rental cabinet, and prohibits the issuance of upgrade (OTA, Over-The-Air) instructions to the power bank rental cabinet.
[0068] Specifically, the control module of the power bank rental cabinet can be driven to send a work notification to the corresponding remote control device, and the work notification includes the unique identifier or other identification information of the power bank rental cabinet to ensure that the server can accurately identify and follow the instructions of the cabinet.
[0069] The first working state is set for the power bank rental device to suspend the charging service and perform rental / return operations under specific circumstances where it cannot be connected to the mains. In this case, performing an OTA upgrade may interfere with the normal operation of the device and cause unnecessary power consumption. Therefore, notifying the remote control device not to send OTA upgrade instructions can avoid unnecessary upgrade operations and ensure the stable operation of the control module and the service quality of the rental / return operation. In addition, performing OTA upgrades in a specific mode may introduce risks, such as interrupting services, causing the device to become unresponsive, and other issues. By notifying the remote control device not to send OTA upgrade instructions, it can be ensured that the power bank rental device continues to operate stably in the first working state and is not affected by the upgrade operation.
[0070] It can be seen from the above description that in this embodiment, when the power supply module is detected to be in the control state, the power bank rental cabinet is driven to be in the first working state, and the working power provided by the power supply module is provided to the control module of the power bank rental cabinet, so that the power bank rental cabinet can complete the rental / return operation of the power bank, without the need to carry energy storage power supply, which is more convenient to use and reduces transportation costs and operating costs. Furthermore, prohibiting the remote control device from issuing upgrade instructions to the power bank rental cabinet can ensure the stable operation of the power bank rental device, while saving electricity, and ensuring that the working time of the power bank rental cabinet in the first working state is not affected.
[0071] Please refer to Figure 3 , Figure 3 1 is a flow chart of a second embodiment of a control method for a power bank rental device provided by the present invention. The control method for a power bank rental device provided by the present invention comprises the following steps:
[0072] S201: Detect whether the power bank rental cabinet is connected to the control module. If so, execute step S202.
[0073] S202: Detect whether the power supply module is in a control state. If not, execute step S203.
[0074] In a specific implementation scenario, steps S201-S202 are substantially consistent with steps S101-S202 of the first embodiment of the control method for the power bank rental device provided by the present invention, and will not be described in detail here.
[0075] S203: driving the power bank rental cabinet to be in a second working state.
[0076] In a specific implementation scenario, if the power supply module is in a non-control state, it proves that the power bank rental cabinet can be normally connected to the mains, and the power bank rental cabinet is driven to be in the second working state. At this time, the control module is powered by the mains power supply connected to the power bank rental cabinet. At the same time, since it is currently powered by the mains, the power supply is sufficient, so multiple power banks are charged. The control module can obtain the stored power of each power bank in real time, and the mains can be used to charge the power bank with less than 100% stored power. At this time, the control module is also in a normal working state because it is powered by the mains, and obtains the power of each power bank in real time, and executes the power bank rental / return operation. The work flow and content of the control module in the first embodiment of the control method for the power bank rental device provided by the present invention are basically consistent, and will not be repeated here.
[0077] Furthermore, when the power supply module is in a non-control state, the power bank rental cabinet is driven to send an upgrade notification to the remote control device corresponding to the power bank rental cabinet, so that the cloud storage server obtains the current state of the power bank rental cabinet and sends an upgrade instruction to the power bank rental cabinet. Since the current power bank rental cabinet is powered by the mains and has sufficient power, the remote control device can send an upgrade notification, allowing the remote control device to continue to send OTA upgrade instructions, ensuring that the power bank rental system can be updated and maintained in a timely manner, ensuring that the device is synchronized with the cloud, and ensuring consistency and interoperability between the device and the cloud service.
[0078] In other implementation scenarios, the power supply module can switch between a control state and a non-control state, and correspondingly, the power bank rental cabinet also switches between a first working state and a second working state. For example, the power bank rental equipment is first arranged for use in a scenic area and cannot be connected to the mains, then the power bank rental cabinet is in a first working state, and then the power bank rental equipment is moved to the urban area and can be connected to the mains, then the power bank rental cabinet switches from the first working state to the second working state. Among them, the state of the control module does not change, but the charging state of the power bank changes, and the insufficient power of the multiple power banks is charged. The multiple power banks include the target power bank that was originally connected to the power supply module. Since the power bank rental cabinet is already connected to the mains, the connection between the target power bank and the power supply module is disconnected, and the target power bank will be charged together with the remaining power banks, and can be used as a rentable power bank when the power is sufficient.
[0079] In other implementation scenarios, since the power supply module can switch between a control state and a non-control state, before driving the power bank rental cabinet to the first working state / second working state, the current control state of the power bank rental cabinet can be obtained first. If the current working state of the power bank rental cabinet matches the detection result, no operation is performed. If the two do not match, the current working state of the power bank rental cabinet is adjusted in time.
[0080] For example, at time T, the power bank rental cabinet receives a status notification sent by the bus protocol sent by the power supply module, then determines that the power supply module is in the control state, and drives the power bank rental cabinet to be in the first working state. At time T+1, the power bank rental cabinet receives a status notification sent by the bus protocol sent by the power supply module, then determines that the power supply module is in the control state, detects that the power bank rental cabinet is in the first working state, and matches the working state of the power supply module, then maintains the current state of the power bank rental cabinet.
[0081] At time T+2, if the power bank rental cabinet does not receive the status notification sent by the bus protocol sent by the power supply module, it determines that the power supply module is in a non-control state, and detects that the power bank rental cabinet is in the first working state, which does not match the non-control state of the power supply module, then the power bank rental cabinet is driven to the second working state.
[0082] At time T+3, if the power bank rental cabinet does not receive the status notification sent by the bus protocol sent by the power supply module, it determines that the power supply module is in a non-control state, and detects that the power bank rental cabinet is in the second working state, which matches the non-control state of the power supply module, then the current state of the power bank rental cabinet is maintained.
[0083] Furthermore, after the target power bank is fully charged, the power supply module can be powered when the power bank rental cabinet is in the first working state next time, thereby ensuring that the power bank rental cabinet is used for a sufficiently long time in the first working state next time.
[0084] Furthermore, the remote control device can obtain the current working status (first working status or second working status) of the power bank rental cabinet, so that the owner of the power bank rental cabinet can obtain the current working status of the power bank rental cabinet by accessing the remote control device and remotely monitor the current working status of the power bank rental cabinet.
[0085] From the above description, it can be seen that in this embodiment, when the power supply module is in a non-control state, it means that the power bank rental cabinet is successfully connected to the mains and has sufficient power. In addition to performing power bank rental / return operations, the power bank can also be charged and OTA upgraded, avoiding the problem of limited working time of the power bank rental cabinet caused by being powered only by the target power bank.
[0086] Please refer to Figure 4 , Figure 4 1 is a flow chart of a third embodiment of a control method for a power bank rental device provided by the present invention. The control method for a power bank rental device provided by the present invention comprises the following steps:
[0087] S301: Obtain a cabinet ID of a power bank rental cabinet and a module ID of a power supply module, obtain a user ID of a user, and send the cabinet ID, module ID, and user ID to a remote control device for binding.
[0088] In a specific implementation scenario, the cabinet identifier of the power bank rental cabinet and the module identifier of the power supply module, as well as the user identifier of the user, are obtained. The cabinet identifier, module identifier and user identifier can be sent to the remote control device on the mobile terminal for binding. The three identifiers can be bound on the mobile terminal first and then sent to the remote control device for storage, or the three identifiers can be sent to the remote control device and then bound on the remote control device.
[0089] It should be noted that a power bank rental cabinet can be bound to multiple power supply modules, but can only be bound to one user ID. A power supply module can also be bound to multiple power bank rental cabinets, but can only be bound to one user ID. One user ID can be bound to at least one power bank rental cabinet and at least one power supply module.
[0090] In this implementation scenario, the above binding steps are performed when the power supply module is shipped or used by the user for the first time. Specifically, when the power supply module is shipped or used by the user for the first time, the module identifier and the user identifier are sent to the remote control device for binding. When the power bank rental cabinet is shipped or used by the user for the first time, the cabinet identifier and the user identifier are sent to the remote control device for binding.
[0091] S302: Determine whether the module identifier of the power supply module and the cabinet identifier of the power bank rental cabinet are bound to the same user identifier. If so, execute step S303; if not, execute step S307.
[0092] In a specific implementation scenario, the power bank rental cabinet can obtain the stall identification of the power supply module, send the cabinet identification of the power bank rental cabinet and the obtained stall identification to the remote control device, query the user identification associated with it through the module identification, query the user identification associated with it through the cabinet identification, compare the user identification corresponding to the queried module identification and the user identification corresponding to the cabinet identification, and determine whether they are the same. If the user identification corresponding to the module identification and the user identification corresponding to the cabinet identification are the same, it means that they are bound to the same user.
[0093] In this implementation scenario, after the power supply module is powered by the target power bank or the charging device provided by the user, it first sends its own module identification to the power bank rental cabinet. The power bank rental cabinet first sends the module identification and cabinet identification to the remote control device based on the amount of power provided by the power supply module, and receives the judgment result sent by the remote control device. If the module identification and cabinet identification correspond to the same user identification, then execute Figure 1 or Figure 2 If the module identification and the cabinet identification do not match, the communication between the power bank rental cabinet and the power supply module is interrupted.
[0094] S303: Detect whether the power bank rental cabinet is connected to the control module. If so, execute step S304.
[0095] S304: Detect whether the power supply module is in working state. If so, execute step S305; if not, execute step S306.
[0096] S305: driving the power bank rental cabinet to be in a first working state.
[0097] S306: driving the power bank rental cabinet to be in the second working state.
[0098] In a specific implementation scenario, steps S303-S306 are basically the same as steps S101-S103 in the first embodiment of the control method of the power bank rental device provided by the present invention, and steps S201-S203 in the second embodiment of the control method of the power bank rental device, and will not be repeated here.
[0099] S307: interrupting the communication between the power bank rental cabinet and the power supply module.
[0100] In a specific implementation scenario, the module identifier and the cabinet identifier do not match, interrupting the communication between the power bank rental cabinet and the power supply module. Specifically, if the target power bank is used to power the power supply module, the connection between the target power bank and the power supply module is immediately disconnected, making the power supply module unable to work normally. If the charging device provided by the user is used to power the power supply module, the communication connection and electrical connection with the power supply module are immediately disconnected, and the power provided by the power supply module is no longer received. As a result, the power bank rental cabinet is in a non-working state, and the power bank rental / return operation cannot be performed without access to the mains.
[0101] From the above description, it can be seen that in this embodiment, by binding the power supply module and the cabinet to the same user ID, the module ID of the power supply module and the cabinet ID of the power bank rental cabinet are not bound to the same user ID, thereby interrupting the communication between the power bank rental cabinet and the power supply module, so that the power bank rental cabinet will not be able to be used normally when it is not connected to the mains, which can effectively prevent the power supply module from being stolen and used in other cabinets, thereby improving the security of the system.
[0102] Figure 5 FIG. 1 shows a schematic diagram of the internal structure of a power bank rental device in one embodiment. Figure 5 As shown, the power bank rental device includes a processor, a memory, and a network interface connected via a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the power bank rental device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement a control method for the power bank rental device. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can execute a control method for the power bank rental device. Those skilled in the art will understand that Figure 5 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0103] In one embodiment, a power bank rental device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the above steps.
[0104] In one embodiment, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the processor executes the above steps.
[0105] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0106] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0107] It should be understood that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. For those skilled in the art, the technical solutions described in the above embodiments can be modified, or some of the technical features therein can be replaced by equivalents; and all these modifications and replacements should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A control method for a power bank rental device, characterized in that: Applied to a power bank rental device, the power bank rental device includes a power bank rental cabinet and a power supply module detachably connected to the power bank rental cabinet, the power bank rental cabinet is provided with at least one charging compartment, the charging compartment is used to place the power bank, and a control module for controlling the rental / return operation of the power bank; The control method of the power bank component device includes: Detecting whether the power bank rental cabinet is connected to the control module; If yes, detecting whether the power supply module is in a control state; If yes, driving the power bank rental cabinet to be in the first working state; When the power bank rental cabinet is in the first working state, it receives the working power provided by the power supply module and provides the working power to the control module to maintain the control module's ability to perform the power bank rental / return operation, while stopping charging the multiple power banks.
2. The control method of the power bank rental device according to claim 1, characterized in that: The step of driving the power bank rental cabinet to be in the first working state also includes: The power bank rental cabinet is driven to send a work notification to a remote control device corresponding to the power bank rental cabinet, so that the cloud storage server obtains the current status of the power bank rental cabinet and prohibits issuing upgrade instructions to the power bank rental cabinet.
3. The control method of the power bank rental device according to claim 1, characterized in that: After the step of detecting whether the power supply module is in a working state, the method further comprises: If not, driving the power bank rental cabinet to be in the second working state; When the power bank rental cabinet is in the second working state, the AC power supply connected to the power bank rental cabinet is obtained, the AC power supply is provided to the control module, and a plurality of the power banks are charged at the same time.
4. The control method of the power bank rental device according to claim 3, characterized in that: The step of driving the power bank rental cabinet to be in the second working state also includes: The power bank rental cabinet is driven to send an upgrade notification to the remote control device, so that the cloud storage server obtains the current status of the power bank rental cabinet and sends an upgrade instruction to the power bank rental cabinet.
5. The control method of the power bank rental device according to claim 3, characterized in that: The step of detecting whether the power supply module is in a working state comprises: Detecting whether a status notification sent by the power supply module through the bus protocol is received; If the status notification is received, determining that the power supply module is in the working state; If the status notification is not received within the preset time period, it is determined that the power supply module is not in the working state.
6. The control method of the power bank rental device according to claim 1, characterized in that: Before the step of detecting whether the power supply module is in a working state, the method includes: Driving any one of the power banks to supply power to the power supply module; or The power supply module is powered by a charging device provided by a user.
7. The control method of the power bank rental device according to any one of claims 1 to 6, characterized in that: The method further comprises: Obtain the cabinet identification of the power bank rental cabinet and the module identification of the power supply module, obtain the user identification of the user, and send the cabinet identification, the module identification and the user identification to the remote control device for binding; Before the step of detecting whether the power supply module is in a working state, the method includes: Determine whether the module identifier of the power supply module and the cabinet identifier of the power bank rental cabinet are bound to the same user identifier; If yes, then executing the step of detecting whether the power supply module is in working state, and subsequent steps; If not, the communication between the power bank rental cabinet and the power supply module is interrupted.
8. The control method of the power bank rental device according to claim 7, characterized in that: The step of sending the cabinet identifier, the module identifier and the user identifier to the remote control device for binding includes: When the power supply module is shipped or used by a user for the first time, the module identifier and the user identifier are sent to the remote control device for binding; When the power bank rental cabinet is shipped, or is used by a user for the first time, the cabinet identifier and the user identifier are sent to the remote control device for binding.
9. A computer-readable storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 8.
10. A power bank rental device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Mobile power supply leasing equipment supporting accidental power-down protection and power-down protection method thereof
CN110112820A
Mobile power source rental device identity recognition communication device and identification method
CN110136338A
Charging method for mobile power supply leasing equipment and mobile power supply
CN110601306A
Shared mobile power supply service processing method and device
CN113067403A
Method for power-off power returning based on shared power bank cabinet
CN117526542A