Shared power management method and apparatus, storage medium, and electronic device
By acquiring and matching the identification information of shared power banks with the target identification information of usage orders, the problem of users mistakenly taking shared power banks was solved, and the smooth return of shared power banks was achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING SANKUAI ONLINE TECH CO LTD
- Filing Date
- 2021-05-26
- Publication Date
- 2026-07-21
AI Technical Summary
In shared power bank cabinets, users may mistakenly take shared power banks, making it difficult to return them and resulting in losses.
By obtaining the identification information of the shared power supply sent by the user terminal and matching it with the target identification information in the shared power supply usage order, an abnormal prompt message is sent to the user if they do not match.
This reduces losses caused by users accidentally taking shared power banks, and ensures that shared power banks can be returned smoothly by notifying users of the situation.
Smart Images

Figure CN115408679B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of shared power technology, and more specifically, to a shared power management method, apparatus, storage medium, and electronic device. Background Technology
[0002] Portable power banks, also known as power banks, are used to conveniently power electronic devices such as mobile phones and tablets. However, not everyone carries a power bank when they go out, so shared power banks have emerged to provide a convenient option for those who need them. Shared power banks are typically placed in shared power bank cabinets, and users can unlock and borrow a power bank by scanning a code on their smartphone.
[0003] In relevant scenarios, the number of shared power banks released by the shared power bank cabinet may be multiple, which may lead to users mistakenly taking the shared power banks, making it difficult to return them smoothly. Summary of the Invention
[0004] The purpose of this disclosure is to provide a shared power management method, apparatus, storage medium, and electronic device to solve the aforementioned related technical problems.
[0005] To achieve the above objectives, according to a first aspect of the present disclosure, a shared power management method is provided, comprising:
[0006] Obtain the identification information of the shared power source sent by the user terminal;
[0007] The identification information of the shared power supply is matched with the target identification information, wherein the target identification information is the shared power supply identifier in the shared power supply usage order corresponding to the user terminal;
[0008] If the matching result indicates that the identification information of the shared power source is different from the target identification information, an error message is sent to the user.
[0009] Optionally, obtaining the identification information of the shared power source sent by the user terminal includes:
[0010] Send an identification information acquisition request to the user terminal so that the user terminal can acquire the identification information of the shared power supply based on the identification code on the shared power supply;
[0011] Receive the identification information of the shared power source sent by the user terminal.
[0012] Optionally, obtaining the identification information of the shared power source sent by the user terminal includes:
[0013] Receive the identification information of the shared power source sent by the user terminal;
[0014] The shared power supply's storage unit stores the shared power supply's identification information. When the user terminal connects to the shared power supply via a transmission line, it obtains the identification information stored in the storage unit through the transmission line.
[0015] Optionally, before obtaining the identification information of the shared power source sent by the user terminal, the method further includes:
[0016] The number of shared power usage orders generated within the threshold time period;
[0017] The number of shared power supply usage orders is determined to be greater than a quantity threshold.
[0018] Optionally, sending the abnormal notification information to the user includes:
[0019] Send an error message to the user terminal corresponding to each shared power usage order generated within the threshold time period; and / or,
[0020] A notification instruction is sent to the storage device that houses the shared power supply, the notification instruction being used by the storage device to alert the user of any abnormality.
[0021] Optionally, sending the abnormal notification information to the user includes:
[0022] Send an error message to the user terminal; and / or,
[0023] A notification instruction is sent to the storage device that houses the shared power supply, the notification instruction being used by the storage device to alert the user of any abnormality.
[0024] Optionally, it also includes:
[0025] If the matching result indicates that the identifier information of the shared power supply is different from the target identifier information, then the shared power supply identifier in the shared power supply usage order corresponding to the user terminal will be modified to the shared power supply identifier sent by the user terminal.
[0026] According to a second aspect of the present disclosure, a shared power management device is provided, comprising:
[0027] The first acquisition module is used to acquire the identification information of the shared power source sent by the user terminal;
[0028] The matching module is used to match the identification information of the shared power supply with the target identification information, wherein the target identification information is the shared power supply identifier in the shared power supply usage order corresponding to the user terminal;
[0029] The sending module is used to send an error message to the user when the matching result indicates that the identification information of the shared power source is different from the target identification information.
[0030] Optionally, the first acquisition module includes:
[0031] The request sending submodule is used to send an identification information acquisition request to the user terminal, so that the user terminal can obtain the identification information of the shared power supply based on the identification code on the shared power supply;
[0032] The first receiving submodule is used to receive the identification information of the shared power source sent by the user terminal.
[0033] Optionally, the first acquisition module includes:
[0034] The second receiving submodule is used to receive the identification information of the shared power source sent by the user terminal;
[0035] The shared power supply's storage unit stores the shared power supply's identification information. When the user terminal connects to the shared power supply via a transmission line, it obtains the identification information stored in the storage unit through the transmission line.
[0036] Optionally, the device further includes:
[0037] The second acquisition module is used to acquire the number of shared power usage orders generated within a threshold time period before the first acquisition module acquires the identification information of the shared power sent by the user terminal.
[0038] The first determining module is used to determine that the number of shared power supply usage orders is greater than a quantity threshold.
[0039] Optionally, the sending module includes:
[0040] The first sending submodule is configured to send an exception notification message to the user terminal corresponding to each shared power usage order generated within the threshold time period; and / or,
[0041] The second sending submodule is used to send a prompt instruction to the storage device that houses the shared power supply. The prompt instruction is used by the storage device to provide an abnormal notification to the user.
[0042] Optionally, the sending module includes:
[0043] The third sending submodule is used to send an error message to the user terminal; and / or,
[0044] The fourth sending submodule is used to send a prompt instruction to the storage device that houses the shared power supply. The prompt instruction is used by the storage device to provide an abnormal notification to the user.
[0045] Optionally, the device further includes:
[0046] The order modification module is used to modify the shared power identifier in the shared power usage order corresponding to the user terminal to the shared power identifier sent by the user terminal when the matching result indicates that the identifier information of the shared power is different from the target identifier information.
[0047] According to a third aspect of the present disclosure, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps of the method described in any of the first aspects above.
[0048] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising:
[0049] A memory on which computer programs are stored;
[0050] A processor for executing the computer program in the memory to implement the steps of the method described in any of the first aspects above.
[0051] The above technical solution can have at least the following beneficial effects:
[0052] By obtaining the identification information of the shared power bank sent by the user terminal, the identification information of the shared power bank taken by the user can be determined. This identification information can then be matched with the target identification information in the shared power bank usage order corresponding to the user terminal, thereby determining whether the shared power bank taken by the user matches the shared power bank corresponding to the usage order. When the shared power bank taken by the user does not match the shared power bank corresponding to the usage order (i.e., the obtained identification information does not match the target identification information), an error message can be issued to the user, thus alerting the user to the mistakenly taken shared power bank. In other words, the above technical solution can alert the user when they mistakenly take a shared power bank, thereby reducing losses caused by this mistake.
[0053] Other features and advantages of this disclosure will be described in detail in the following detailed description section. Attached Figure Description
[0054] The accompanying drawings are provided to further illustrate the present disclosure and form part of the specification. They are used together with the following detailed description to explain the present disclosure, but do not constitute a limitation thereof. In the drawings:
[0055] Figure 1 This is a flowchart illustrating a shared power management method according to an exemplary embodiment of this disclosure.
[0056] Figure 2 This is a flowchart illustrating a shared power management method according to an exemplary embodiment of this disclosure.
[0057] Figure 3 This is a flowchart illustrating a shared power management method according to an exemplary embodiment of this disclosure.
[0058] Figure 4 This is a block diagram of a shared power management device shown in an exemplary embodiment of the present disclosure.
[0059] Figure 5 This is a block diagram of an electronic device shown in an exemplary embodiment of the present disclosure. Detailed Implementation
[0060] The specific embodiments of this disclosure will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are for illustration and explanation only and are not intended to limit this disclosure.
[0061] Before introducing the shared power management method, apparatus, storage medium, and electronic device of this disclosure, the application scenarios of this disclosure are first described. The various embodiments provided in this disclosure can be applied to shared power management scenarios, for example. The shared power source can be, for example, various types of mobile or non-mobile power supplies, and users can obtain the right to use the shared power source after following corresponding operation steps.
[0062] Taking shared power banks as an example, these power banks can be placed in shared cabinets. During use, the shared cabinet releases the power bank for borrowing via a user terminal's access code. After use, the user returns the power bank by inserting it into the cabinet's storage compartment, thus ending the borrowing process.
[0063] In relevant scenarios, when multiple users request to use a shared power bank, the shared cabinet can respond to these requests by releasing multiple shared power banks. However, the multiple shared power banks released by the cabinet may be difficult for users to distinguish, potentially leading to users mistakenly taking other users' shared power banks. This could ultimately result in the shared power banks being unable to be returned smoothly, causing losses to the users.
[0064] Therefore, this disclosure provides a shared power management method. Figure 1 This is a flowchart illustrating a shared power management method according to an exemplary embodiment of this disclosure, such as... Figure 1 As shown, the method includes:
[0065] In step S11, the identification information of the shared power source sent by the user terminal is obtained.
[0066] The identification information of the shared power supply may include, for example, its serial number. Thus, by obtaining the identification information of the shared power supply, it can be identified.
[0067] For example, in some implementation scenarios, the method can be applied to a shared power management server. The shared power management server can respond to relevant shared power rental requests and shared power return requests. When a user requests to rent a shared power source, the shared power management server can generate a shared power usage order based on the rental request. The shared power usage order may include information about the corresponding shared power source, specifically the target identifier information of the target shared power source corresponding to the rental request.
[0068] The shared power management server can also send power release commands to the storage device (e.g., a shared cabinet) that houses the shared power. Accordingly, the storage device can release the target shared power based on the power release command, making it available for user retrieval.
[0069] Thus, in some implementations, obtaining the identification information of the shared power source sent by the user terminal may include:
[0070] A request to obtain identification information is sent to the user terminal, so that the user terminal obtains the identification information of the shared power supply based on the identification code on the shared power supply, and receives the identification information of the shared power supply sent by the user terminal.
[0071] For example, the identification information of a shared power supply can be represented by an identification code (such as a barcode, QR code, etc.). The shared power supply management server can send corresponding notification messages to the user terminal. After receiving the notification message, the user can respond to the message. For example, when the notification message is "Please scan the identification code of the shared power supply", the user can obtain the identification information of the shared power supply by scanning the identification code of the shared power supply through a mobile terminal, and send the identification information to the shared power supply management server based on the mobile terminal. Of course, in some implementation scenarios, the user can also manually input the identification information (such as a serial number) of the shared power supply in the user terminal based on the identification information acquisition request, and this disclosure does not limit this.
[0072] In some implementations, obtaining the identification information of the shared power source sent by the user terminal may also include: receiving the identification information of the shared power source sent by the user terminal.
[0073] The shared power supply's storage unit stores the shared power supply's identification information. When the user terminal connects to the shared power supply via a transmission line, it obtains the identification information stored in the storage unit through the transmission line.
[0074] For example, the identification information of the shared power supply can be obtained by pre-setting corresponding control logic in the shared power supply rental application on the user terminal. For instance, the data transmission port in the transmission line of the shared power supply can be enabled, thus enabling the transmission line to simultaneously provide power supply and data transmission functions. In this way, with the user's permission, the user terminal can obtain the identification information of the shared power supply based on the pre-set control logic in the shared power supply rental application and the transmission line between the shared power supply and the user terminal, and send the obtained identification information to the shared power supply management server.
[0075] After obtaining the identification information of the shared power supply, in step S12, the identification information of the shared power supply is matched with the target identification information, which is the shared power supply identifier in the shared power supply usage order corresponding to the user terminal.
[0076] In step S13, if the matching result indicates that the identification information of the shared power source is different from the target identification information, an abnormal prompt message is sent to the user.
[0077] For example, the identifier of the target shared power supply corresponding to the shared power supply usage order of user terminal A could be, for instance, 'a'. Thus, if the shared power supply management server obtains the identifier of the shared power supply taken by the user as 'b' (i.e., different from the shared power supply identifier in the shared power supply usage order), it can send an error message to user terminal A, thereby informing the user that they may have mistakenly taken the wrong shared power supply. This error message can be presented as a notification message, such as an audio message, a text message, or a combination thereof.
[0078] In some implementation scenarios, sending an abnormality alert to the user may include sending an alert instruction to the storage device that houses the shared power supply, the alert instruction being used by the storage device to alert the user of the abnormality.
[0079] Continuing with the above example, after receiving the shared power supply identification information sent by user terminal A, the identification information can be matched with the shared power supply identifier 'a' in the shared power supply usage order. If the identification information of the shared power supply differs from the shared power supply identifier 'a' in the shared power supply usage order, it can be determined that the user corresponding to user terminal A has mistakenly taken the shared power supply.
[0080] In this scenario, the shared power management server can send a notification instruction to the storage device that houses the shared power supply. This notification instruction is used by the storage device to alert the user of any abnormalities.
[0081] For example, the shared power management server can send a voice broadcast command to the storage device, causing the storage device to broadcast relevant abnormality alerts. Of course, in specific implementations, the storage device can also provide alerts to users through voice, images, lights, or a combination thereof based on the alert command; this disclosure does not impose any limitations on this.
[0082] Furthermore, in some scenarios, users may leave the storage facility after taking the shared power bank. Therefore, in some implementations, before sending a notification instruction to the storage facility containing the shared power bank, the difference between the time the shared power bank usage order is generated and the time the matching result is obtained can be calculated.
[0083] When the difference is small, the user may still be near the storage device, so the alert instruction can be sent to the storage device to alert the user of the anomaly. Conversely, when the difference is large, the user may be far from the storage device, in which case the user can be alerted in other ways. For example, an alert message can be sent to the user's terminal.
[0084] By employing the above technical solution, the identification information of the shared power supply sent by the user terminal can be obtained, thereby determining the identification information of the shared power supply taken by the user. This identification information can then be matched with the target identification information in the shared power supply usage order corresponding to the user terminal, thus determining whether the shared power supply taken by the user matches the shared power supply corresponding to the usage order. When the shared power supply taken by the user does not match the shared power supply corresponding to the usage order (i.e., the obtained identification information does not match the target identification information), an error message can be issued to the user, thereby alerting the user that they have mistakenly taken a shared power supply.
[0085] In other words, the above technical solution can alert users when they accidentally take a shared power source, thereby reducing the losses caused by such an accident.
[0086] It's worth noting that when a large number of shared power supply usage orders are generated within a short period, the shared power supply storage facility may release multiple shared power supplies in a short time. In this situation, users may have a higher probability of mistakenly taking a shared power supply.
[0087] Therefore, refer to Figure 2 The flowchart shown illustrates a shared power management method. In one possible implementation, the method includes:
[0088] In step S21, the number of shared power usage orders generated within the threshold time period is obtained.
[0089] In step S22, it is determined that the number of shared power supply usage orders is greater than a quantity threshold.
[0090] Taking the application of the method to a shared power management server as an example, the shared power management server can monitor the generation time of each shared power usage order. When the number of shared power usage orders generated within a threshold time period is greater than the quantity threshold, the shared power management server can obtain the identification information of the shared power sent by the user terminal.
[0091] The threshold duration can be set according to the application scenario, such as 1 second, 2 seconds, etc. The quantity threshold can also be set according to the application scenario, such as 2, 3, etc., and this disclosure does not impose any restrictions on it.
[0092] In step S23, the identification information of the shared power source sent by the user terminal is obtained.
[0093] In step S24, the identification information of the shared power supply is matched with the target identification information, wherein the target identification information is the shared power supply identifier in the shared power supply usage order corresponding to the user terminal.
[0094] In step S25, if the matching result indicates that the identification information of the shared power source is different from the target identification information, an abnormal prompt message is sent to the user.
[0095] For example, in some implementation scenarios, sending an error message to the user includes:
[0096] An error message is sent to the user terminal corresponding to each shared power usage order generated within the threshold time period.
[0097] For example, the shared power usage order generated within the threshold time period can be shared power usage order c corresponding to user terminal C, shared power usage order d corresponding to user terminal D, and shared power usage order e corresponding to user terminal E. After receiving the shared power identification information sent by user terminal C, the shared power identification information can be matched with the shared power identifier in shared power usage order c. If the shared power identification information is different from the shared power identifier in shared power usage order c, it can be determined that the user corresponding to user terminal C has mistakenly taken the shared power. In this case, the shared power management server can send an error message to user terminal C, user terminal D, and user terminal E respectively.
[0098] For example, the shared power management server can send a notification message to user terminal C, user terminal D, and user terminal E respectively, stating "It has been detected that you may have taken the wrong shared power supply. Please return the shared power supply first," thereby providing an error message to each user.
[0099] Of course, in some implementation scenarios, the shared power management server can also provide users with the location information of the corresponding shared power return point when issuing an anomaly notification, so that users can return the shared power.
[0100] In other implementation scenarios, sending an abnormality alert to the user may include sending an alert instruction to the storage device that houses the shared power supply, the alert instruction being used by the storage device to alert the user of the abnormality.
[0101] Continuing with the above example, after receiving the shared power supply identification information sent by user terminal D, the shared power supply identification information can be matched with the shared power supply identifier in the shared power supply usage order d. If the shared power supply identification information differs from the shared power supply identifier in the shared power supply usage order d, it can be determined that the user corresponding to user terminal D has mistakenly taken the shared power supply. In this case, the shared power supply management server can send a notification instruction to the storage device containing the shared power supply, which is used by the storage device to provide an anomaly notification to the user.
[0102] For example, the shared power management server can send a voice broadcast command to the storage device, causing the storage device to broadcast relevant abnormality alerts. Of course, in specific implementations, the storage device can also provide alerts to users through voice, images, lights, or a combination thereof based on the alert command; this disclosure does not impose any limitations on this.
[0103] Furthermore, in some scenarios, users may leave the storage unit after taking the shared power bank. Therefore, in some implementations, before sending a notification instruction to the storage unit containing the shared power bank, the difference between the time the shared power bank usage order was generated and the time the matching result was obtained can be calculated. When the difference is small, the user may still be near the storage unit, so the notification instruction can be sent to the storage unit to provide an anomaly notification to the user.
[0104] By employing the above technical solution, the number of shared power supply usage orders generated within a threshold time period is detected. When the number of shared power supply usage orders generated within the threshold time period exceeds a certain threshold, the identification information of the shared power supply sent by the user terminal can be obtained, thereby determining the identification information of the shared power supply taken by the user. This identification information can then be matched with the target identification information in the shared power supply usage order corresponding to the user terminal, thus determining whether the shared power supply taken by the user matches the shared power supply corresponding to the usage order. When the shared power supply taken by the user does not match the shared power supply corresponding to the usage order (i.e., the obtained identification information does not match the target identification information), an abnormal prompt message can be issued to the user, thereby alerting the user to the mistakenly taken shared power supply. In other words, the above technical solution can alert the user when they mistakenly take a shared power supply, thereby reducing losses caused by mistakenly taking a shared power supply.
[0105] Furthermore, it is worth noting that the above embodiments describe the user notification process in two ways: sending an abnormality notification message to the user terminal and sending a notification command to the storage device containing the shared power supply. However, those skilled in the art should understand that both notification methods can be used simultaneously in specific implementations, and this disclosure does not impose any restrictions on this.
[0106] Figure 3 This is a flowchart illustrating a shared power management method according to an exemplary embodiment of this disclosure, such as... Figure 3 As shown, the method includes:
[0107] In step S31, the identification information of the shared power source sent by the user terminal is obtained.
[0108] The identification information of the shared power supply may include, for example, its serial number. Thus, by obtaining the identification information of the shared power supply, it can be identified.
[0109] For example, in some implementation scenarios, the method can be applied to a shared power management server. The shared power management server can respond to relevant shared power rental requests and shared power return requests. When a user requests to rent a shared power source, the shared power management server can generate a shared power usage order based on the rental request. The shared power usage order may include information about the corresponding shared power source, specifically the target identifier information of the target shared power source corresponding to the rental request.
[0110] The shared power management server can also send a power release command to the storage device (e.g., a shared cabinet) containing the shared power supply, so that the storage device can release the target shared power supply for the user to retrieve. Furthermore, the shared power management server can also send an identification information retrieval request to the user terminal to obtain the identification information of the shared power supply retrieved by the user.
[0111] For example, in some implementation scenarios, the shared power management server can send corresponding notification messages to user terminals. After receiving the notification message, the user can respond to it. For instance, when the notification message is "Please scan the shared power source's identification code," the user can obtain the shared power source's identification information by scanning the code with their mobile terminal, and then send the identification information to the shared power management server based on the mobile terminal.
[0112] In other implementation scenarios, the identification information of the shared power supply can also be obtained by pre-setting corresponding control logic in the user's shared power rental application. For example, when the transmission line of the shared power supply includes corresponding data transmission functions, the user terminal can, with the user's permission, obtain the identification information of the shared power supply through the transmission line between the shared power supply and the user terminal, and send the obtained identification information to the shared power supply management server.
[0113] After obtaining the identification information of the shared power supply, in step S32, the identification information of the shared power supply is matched with the target identification information, which is the shared power supply identifier in the shared power supply usage order corresponding to the user terminal.
[0114] In step S33, if the matching result indicates that the identification information of the shared power source is different from the target identification information, an abnormal prompt message is sent to the user.
[0115] For example, the identifier of the target shared power supply corresponding to the shared power supply usage order of user terminal A could be, for instance, 'a'. Thus, if the shared power supply management server obtains the identifier of the shared power supply taken by the user as 'b' (i.e., different from the shared power supply identifier in the shared power supply usage order), it can send an error message to user terminal A, thereby informing the user that they may have mistakenly taken the wrong shared power supply. This error message can be presented as a notification message, such as an audio message, a text message, or a combination thereof.
[0116] In step S34, if the matching result indicates that the identifier information of the shared power supply is different from the target identifier information, then the shared power supply identifier in the shared power supply usage order corresponding to the user terminal is modified to the identifier of the shared power supply sent by the user terminal.
[0117] Continuing with the above example, since the shared power management server obtains the shared power identifier information b sent by user terminal A, the shared power identifier in the shared power usage order corresponding to user terminal A can be adjusted to identifier information b. In this case, sending the error message to the user can refer to sending the user a message indicating that the shared power was incorrectly retrieved, and also sending the user a message indicating that the shared power usage order has been adjusted accordingly.
[0118] By employing the above technical solution, the identification information of the shared power bank taken by the user can be determined by acquiring the identification information of the shared power bank sent by the user terminal. This identification information can then be matched with the target identification information in the shared power bank usage order corresponding to the user terminal, thereby determining whether the shared power bank taken by the user matches the shared power bank corresponding to the usage order. When the shared power bank taken by the user does not match the shared power bank corresponding to the usage order (i.e., the acquired identification information does not match the target identification information), an error message can be issued to the user, and the target identification information in the shared power bank usage order corresponding to the user terminal can be modified to the identification information of the shared power bank sent by the user terminal. In this way, the shared power bank usage order can be corrected, facilitating the user's smooth return of the shared power bank.
[0119] It is also worth noting that, for the sake of simplicity, the above method embodiments are described as a series of actions. However, those skilled in the art should understand that this disclosure is not limited to the described order of actions. For example, the steps of sending an error message to the user and modifying the target identifier information in the shared power supply usage order can be performed simultaneously, and there is no order between them. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are merely examples, and the actions involved are not necessarily essential to the present invention.
[0120] Based on the same inventive concept, this disclosure also provides a shared power management device. Figure 4 This is a block diagram of a shared power management device shown in an exemplary embodiment of this disclosure, such as Figure 4 As shown, the device 400 includes:
[0121] The first acquisition module 401 is used to acquire the identification information of the shared power source sent by the user terminal;
[0122] The matching module 402 is used to match the identification information of the shared power supply with the target identification information, wherein the target identification information is the shared power supply identifier in the shared power supply usage order corresponding to the user terminal;
[0123] The sending module 403 is used to send an abnormal prompt message to the user when the matching result indicates that the identification information of the shared power source is different from the target identification information.
[0124] By employing the above technical solution, the identification information of the shared power bank sent by the user terminal can be obtained to determine the identification information of the shared power bank taken by the user. This identification information can then be matched with the target identification information in the shared power bank usage order corresponding to the user terminal, thereby determining whether the shared power bank taken by the user matches the shared power bank corresponding to the usage order. When the shared power bank taken by the user does not match the shared power bank corresponding to the usage order (i.e., the obtained identification information does not match the target identification information), an error message can be issued to the user, thus alerting the user to the mistakenly taken shared power bank. In other words, the above technical solution can alert the user when they mistakenly take a shared power bank, thereby reducing losses caused by this mistake.
[0125] Optionally, the first acquisition module 401 includes:
[0126] The request sending submodule is used to send an identification information acquisition request to the user terminal, so that the user terminal can obtain the identification information of the shared power supply based on the identification code on the shared power supply;
[0127] The first receiving submodule is used to receive the identification information of the shared power source sent by the user terminal.
[0128] Optionally, the first acquisition module 401 includes:
[0129] The second receiving submodule is used to receive the identification information of the shared power source sent by the user terminal;
[0130] The shared power supply's storage unit stores the shared power supply's identification information. When the user terminal connects to the shared power supply via a transmission line, it obtains the identification information stored in the storage unit through the transmission line.
[0131] Optionally, the device 400 further includes:
[0132] The second acquisition module is used to acquire the number of shared power usage orders generated within a threshold time period before the first acquisition module acquires the identification information of the shared power sent by the user terminal.
[0133] The first determining module is used to determine that the number of shared power supply usage orders is greater than a quantity threshold.
[0134] Optionally, the sending module 403 includes:
[0135] The first sending submodule is configured to send an exception notification message to the user terminal corresponding to each shared power usage order generated within the threshold time period; and / or,
[0136] The second sending submodule is used to send a prompt instruction to the storage device that houses the shared power supply. The prompt instruction is used by the storage device to provide an abnormal notification to the user.
[0137] Optionally, the sending module 403 includes:
[0138] The third sending submodule is used to send an error message to the user terminal; and / or,
[0139] The fourth sending submodule is used to send a prompt instruction to the storage device that houses the shared power supply. The prompt instruction is used by the storage device to provide an abnormal notification to the user.
[0140] Optionally, the device 400 further includes:
[0141] The order modification module is used to modify the shared power identifier in the shared power usage order corresponding to the user terminal to the shared power identifier sent by the user terminal when the matching result indicates that the identifier information of the shared power is different from the target identifier information.
[0142] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0143] Furthermore, it is worth noting that, for the sake of convenience and brevity, the embodiments described in this specification are all preferred embodiments, and the parts involved are not necessarily essential to the present invention. For example, the first transmitting submodule and the second transmitting submodule can be independent modules or the same module in specific implementations. As another example, the first acquiring module 401 and the second acquiring module can be independent devices or the same device in specific implementations; this disclosure does not limit this.
[0144] This disclosure also provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the steps of the shared power management method provided in this disclosure.
[0145] This disclosure also provides an electronic device, including:
[0146] A memory on which computer programs are stored;
[0147] A processor is configured to execute the computer program in the memory to implement the steps of the shared power management method provided in this disclosure.
[0148] Figure 5 This is a block diagram illustrating an electronic device 500 according to an exemplary embodiment. For example, the electronic device 500 may be provided as a server. (Refer to...) Figure 5 The electronic device 500 includes a processor 522, which may be one or more, and a memory 532 for storing computer programs executable by the processor 522. The computer program stored in the memory 532 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processor 522 may be configured to execute the computer program to perform the shared power management method described above.
[0149] Additionally, the electronic device 500 may also include a power supply component 526 and a communication component 550. The power supply component 526 can be configured to perform power management of the electronic device 500, and the communication component 550 can be configured to enable communication of the electronic device 500, such as wired or wireless communication. Furthermore, the electronic device 500 may also include an input / output (I / O) interface 558. The electronic device 500 can operate on an operating system, such as Windows Server, stored in memory 532. TM Mac OSX TM Unix TM Linux TM etc.
[0150] In another exemplary embodiment, a computer-readable storage medium including program instructions is also provided, which, when executed by a processor, implement the steps of the shared power management method described above. For example, the computer-readable storage medium may be the memory 532 including program instructions, which may be executed by the processor 522 of the electronic device 500 to complete the shared power management method described above.
[0151] In another exemplary embodiment, a computer program product is also provided, the computer program product comprising a computer program executable by a programmable device, the computer program having a code portion for performing the above-described shared power management method when executed by the programmable device.
[0152] The preferred embodiments of this disclosure have been described in detail above with reference to the accompanying drawings. However, this disclosure is not limited to the specific details of the above embodiments. Within the scope of the technical concept of this disclosure, various simple modifications can be made to the technical solutions of this disclosure, and these simple modifications all fall within the protection scope of this disclosure.
[0153] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, this disclosure will not describe the various possible combinations separately.
[0154] Furthermore, various different embodiments of this disclosure can be combined in any way, as long as they do not violate the spirit of this disclosure, they should also be regarded as the content disclosed in this disclosure.
Claims
1. A shared power supply management method, characterized in that, include: Obtaining the identification information of the shared power source sent by the user terminal specifically includes receiving the identification information of the shared power source sent by the user terminal, wherein the identification information of the shared power source is stored in the storage unit of the shared power source, and when the user terminal is connected to the shared power source through the transmission line, it obtains the identification information stored in the storage unit through the transmission line; The identification information of the shared power supply is matched with the target identification information, wherein the target identification information is the shared power supply identifier in the shared power supply usage order corresponding to the user terminal; If the matching result indicates that the identifier information of the shared power supply is different from the target identifier information, an error message is sent to the user, and the identifier of the shared power supply in the shared power supply usage order corresponding to the user terminal is modified to the identifier of the shared power supply sent by the user terminal.
2. The method according to claim 1, characterized in that, The step of obtaining the identification information of the shared power source sent by the user terminal includes: Send an identification information acquisition request to the user terminal so that the user terminal can acquire the identification information of the shared power supply based on the identification code on the shared power supply; Receive the identification information of the shared power source sent by the user terminal.
3. The method according to claim 1, characterized in that, Before obtaining the shared power identification information sent by the user terminal, the method further includes: The number of shared power usage orders generated within the threshold time period; The number of shared power supply usage orders is determined to be greater than a quantity threshold.
4. The method according to claim 3, characterized in that, Sending an error message to the user includes: Send an abnormality alert to the user terminal corresponding to each shared power supply usage order generated within the threshold time period; and / or send an alert instruction to the storage device containing the shared power supply, the alert instruction being used by the storage device to provide an abnormality alert to the user.
5. The method according to claim 1, characterized in that, Sending an error message to the user includes: Send an abnormality alert message to the user terminal; and / or send an alert instruction to the storage device that houses the shared power supply, the alert instruction being used by the storage device to alert the user of the abnormality.
6. A shared power management device, characterized in that, include: The first acquisition module is used to acquire the identification information of the shared power source sent by the user terminal. The first acquisition module includes a second receiving submodule, which is used to receive the identification information of the shared power source sent by the user terminal. The shared power source's storage unit stores the identification information of the shared power source. When the user terminal is connected to the shared power source through a transmission line, it acquires the identification information stored in the storage unit through the transmission line. The matching module is used to match the identification information of the shared power supply with the target identification information, wherein the target identification information is the shared power supply identifier in the shared power supply usage order corresponding to the user terminal; The sending module is used to send an error message to the user when the matching result indicates that the identification information of the shared power source is different from the target identification information; The order modification module is used to modify the shared power identifier in the shared power usage order corresponding to the user terminal to the shared power identifier sent by the user terminal when the matching result indicates that the identifier information of the shared power is different from the target identifier information.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the program implements the steps of the method described in any one of claims 1-5.
8. An electronic device, characterized in that, include: A memory on which computer programs are stored; A processor for executing the computer program in the memory to implement the steps of the method according to any one of claims 1-5.