Information presentation method, device, equipment and storage medium
By obtaining the borrowed time of the charging rental equipment and the user's movement information, calculating the movement time and sending reminder messages, the problem of users missing or forgetting to return the charging equipment is solved, and the protection and return of user property is made more efficient.
Patent Information
- Application Number
- CN202310674489.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-07
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2043-06-07
AI Technical Summary
Users often miss the return time or forget to return the charging rental equipment, resulting in paying for invalid usage time. Existing technology has not been able to effectively solve this problem.
By obtaining the borrowed time of the charging rental equipment and the user's movement information, including location and speed, the system calculates the travel time from the user's current location to the charging equipment and sends reminder messages to the user at appropriate times to guide the user to return the equipment in a timely manner.
This effectively prevents users from paying for invalid usage time due to missing the return time or forgetting to return the item, thus improving user property security and return efficiency.
Smart Images

Figure CN116721498B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of computer technology, and specifically relates to an information prompting method, apparatus, device, and storage medium. Background Technology
[0002] Charging rental equipment, such as shared charging stations and charging piles, provides great convenience to people's lives due to their ease of use. For example, shared charging stations can provide paid charging services for electronic devices used by users while traveling, preventing power outages from affecting their use.
[0003] In related technologies, charging rental equipment is charged on a per-hour basis. Therefore, if a user misses the return time or forgets to return the equipment, they will have to pay for the invalid usage time, resulting in financial loss. For example, if the charging rental equipment is charged on an hourly basis, and the user returns it after 1 hour and 5 minutes, they will have to pay for two hours. Or, if the user returns it within 30 minutes, they will still have to pay for one hour. Thus, the user will have to pay for the remaining 55 minutes of the second unit time or the remaining 30 minutes of the first unit time, which is considered invalid usage time. Summary of the Invention
[0004] The purpose of this application is to provide an information prompting method, apparatus, device, and storage medium that can solve the problem in related technologies where users miss the return time or forget to return the charging rental equipment, resulting in property loss for the users.
[0005] In a first aspect, embodiments of this application provide an information prompting method, which may include:
[0006] The system obtains the borrowing time of the charging rental equipment and the user's movement information, including the user's initial location and the user's movement speed.
[0007] Based on the user's movement information and the second location of the charging equipment corresponding to the charging rental equipment, the movement time of the user from the first location to the charging equipment is determined;
[0008] A notification message is sent to the user based on the borrowed time and the mobile time.
[0009] Secondly, embodiments of this application provide an information prompting device, which may include:
[0010] The acquisition module is used to acquire the borrowing time of the charging rental equipment and the user's movement information, including the user's initial location and the user's movement speed.
[0011] The determination module is used to determine the travel time from the first location to the charging device based on the user's movement information and the second location of the charging device corresponding to the charging rental device;
[0012] The notification module is used to send notification messages to users based on the borrowed time and the mobile time.
[0013] Thirdly, embodiments of this application provide an electronic device, which includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor. When the program or instructions are executed by the processor, they implement the steps of the information prompting method as shown in the first aspect.
[0014] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, and when the program or instructions are executed by a processor, the steps of the information prompting method as shown in the first aspect are implemented.
[0015] Fifthly, embodiments of this application provide a chip, which includes a processor and a display interface, the display interface and the processor being coupled together, the processor being used to run programs or instructions to implement the steps of the information prompting method as shown in the first aspect.
[0016] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the steps of the information prompting method as described in the first aspect.
[0017] In this embodiment, the borrowed time of the charging rental device and the user's movement information can be obtained. The user's movement information includes the user's first location and movement speed. Based on the user's movement information and the second location of the charging device corresponding to the charging rental device, the movement time from the first location to the charging device is determined. Based on the borrowed time and movement time, a reminder message is sent to the user. In this way, the user's first location and the second location of the charging device can be determined by location, and the user can be reminded to return the charging rental device based on the movement time from the first location to the second location and the borrowed time. This avoids the problem of users missing the return time or forgetting to return the charging rental device and having to pay for the invalid usage time, ensuring the user's property security and improving the effectiveness of reminding users to return the charging rental device quickly. Attached Figure Description
[0018] Figure 1 A flowchart illustrating an information prompting method provided in an embodiment of this application;
[0019] Figure 2 This is a schematic diagram of the structure of an information prompting device provided in an embodiment of this application;
[0020] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0021] Figure 4 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0022] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0023] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0024] Users may encounter the following issues when using rental charging equipment. Since rental charging equipment is typically charged per unit of time, for example, the price for one hour is X, if a user misses the return time for that unit of time or forgets to return the equipment, it may result in the equipment being lost or the user having to pay for the invalid usage time. For instance, if the charging equipment is charged per unit of time (1 hour), and the user returns it after 1 hour and 5 minutes, they will have to pay for two hours. Alternatively, if the user returns it within 30 minutes, they will still have to pay for one hour. Thus, the user will have to pay for the remaining 55 minutes of the second unit of time or the remaining 30 minutes of the first unit of time, which constitutes invalid usage time.
[0025] In addition, users may not pay attention to the charging equipment information of the rental charging station in real time. When users walk away from the charging equipment, the final unused time may be longer, resulting in paying more for the unused time.
[0026] To address the issues in the relevant technologies, the following section, in conjunction with the appendix, provides further details. Figure 1 The information prompting method provided in this application will be described in detail through specific embodiments and application scenarios.
[0027] First, combined Figure 1 This application provides a detailed description of an information prompting method based on an embodiment.
[0028] Figure 1 A flowchart illustrating an information prompting method provided in an embodiment of this application.
[0029] like Figure 1 As shown, the information prompting method provided in this application embodiment can be applied to electronic devices, and the information prompting method may include the following steps:
[0030] Step 110: Obtain the borrowed time of the charging rental device and the user's movement information, including the user's first location and the user's movement speed; Step 120: Determine the movement time of the user from the first location to the charging device based on the user's movement information and the second location of the charging device corresponding to the charging rental device; Step 130: Send a prompt message to the user based on the borrowed time and the movement time.
[0031] In this way, the system can determine the user's primary location and the charging device's secondary location through location tracking. Based on the travel time from the primary location to the secondary location and the total usage time, the system can remind the user to return the charging rental device. This avoids the problem of users missing the return time or forgetting to return the charging rental device, thus incurring charges for the invalid usage time. It also ensures the user's property security and improves the effectiveness of reminding users to return the charging rental device quickly.
[0032] The steps described above are explained in detail below.
[0033] First, regarding step 110, in one or more possible embodiments, step 110 may specifically include:
[0034] According to a preset frequency, obtain the N positions of the user, where N is an integer greater than 1;
[0035] Calculate the user's movement speed based on the distance between any two adjacent locations in the N locations and the time it takes for the user to move between any two adjacent locations.
[0036] The last position obtained among the N positions is determined as the first position.
[0037] For example, if the location system is used to locate the user's position every 5 minutes, then two locations can be obtained within 10 minutes, namely location 1 and location 2. If the movement time between location 1 and location 2 is 100 meters, and the time to move 100 meters is 2 minutes, then the user's movement speed is 50 meters per minute. At this time, since the last location obtained is location 2, location 2 can be determined as the first location.
[0038] For example, if the location system is used to locate the user's position every 4 minutes, then within 20 minutes, 5 locations will be obtained: location 1, location 2, location 3, location 4, and location 5. If the distance between location 1 and location 2 is 100 meters and the time taken to travel 100 meters is 2 minutes, then the user's speed is 50 meters per minute. Similarly, if the distance between location 2 and location 3 is 200 meters and the time taken to travel 200 meters is 2 minutes, then the user's speed is 100 meters per minute; and if the distance between location 3 and location 4 is 100 meters and the time taken to travel 100 meters is 2 minutes, then the user's speed is 50 meters per minute; and if the distance between location 4 and location 5 is 100 meters and the time taken to travel 100 meters is 2 minutes, then the user's speed is 50 meters per minute. At this point, the average of the four user movement speeds is determined as the user movement speed v, which is (50+100+50+50) / 4 = 62.5. Since the last position obtained among the five positions is position 5, position 5 can be determined as the first position.
[0039] In another or more possible embodiments, the N locations of the user can be obtained directly at a preset frequency during the period when the user rents the electricity rental equipment. Based on this, step 110 may specifically include:
[0040] During the period when the user is renting electricity rental equipment, the N locations of the user are periodically or at a preset frequency are obtained;
[0041] The most recently obtained position among the N positions is determined as the first position.
[0042] It should be noted that the preset frequency in the embodiments of this application can be a low frequency, wherein the low frequency is a preset unit time interval greater than or equal to a fifth preset threshold, such as once every 5 minutes, once every 10 minutes, etc.
[0043] In addition, the information prompting method in this application embodiment can also obtain the borrowed time of the charging rental device through the following steps, that is, step 110 may specifically include:
[0044] Once it is confirmed that the user has scanned the QR code on the charging device corresponding to the charging rental device and received a notification message, the recorded rental time begins to be recorded. The notification message is information sent by the server corresponding to the charging device that the charging rental device has been disconnected from the charging device.
[0045] For example, a user can scan the QR code on the charging device corresponding to the charging rental device using an electronic device. When the user receives a notification from the server corresponding to the charging device that the charging rental device has been removed from the charging device, it can be confirmed that the charging rental device has been taken out by the user. At this time, the usage time of the charging rental device can be recorded from the time the user takes out the charging rental device.
[0046] It should be noted that the charging device in this application embodiment includes a charging device with an effective empty slot that can accommodate the charging rental device. This is so that users can accurately return their charging rental device to the charging device, avoiding the situation where users cannot return the charging rental device due to the lack of an effective empty slot, thereby increasing the cost of invalid usage time and wasting the user's time.
[0047] Next, regarding step 120, in one or more possible embodiments, step 120 may specifically include:
[0048] Calculate the first distance between the user and the charging device based on the first location and the second location of the charging device;
[0049] Calculate the movement time based on the initial distance and the user's movement speed.
[0050] For example, if the first position is A1, the first position of the charging device is A2, and the user's moving speed is v, then the first distance between A1 and A2 is S, and the moving time is T2 = S / v.
[0051] If there are M charging devices, then the first position A2 can include (A21, A22, A23, ..., A2M), where M is an integer greater than 1. In this case, the first distance S can be calculated using an optimal path algorithm. This first distance S can include (S21, S22, S23, ..., S2M), where S21 can be the distance between the first position and A21, with a movement time T21 = S21 / v; and S22 can be the distance between the first position and A22, with a movement time T22 = S22 / v.
[0052] Then, relating to step 130, in one or more possible embodiments, step 130 may specifically include:
[0053] If the difference between the borrowed time and an integer multiple of the preset time unit is less than the sixth preset threshold, a prompt message will be sent to the user.
[0054] For example, if the preset time unit is hours, and the borrowed time is 50 minutes, and the difference between the borrowed time of 50 minutes and an integer multiple of 1 hour is less than the sixth preset threshold of 20 minutes, then a prompt message is sent to the user, that is, a reminder can be sent when the borrowed time meets the integer multiple of hours.
[0055] It should be noted that in this embodiment of the application, a reminder can be given when the charging time of the electronic device charged by the charging rental equipment meets an integer multiple of hours.
[0056] The preset time unit in the embodiments of this application may include hours, minutes, seconds, etc.
[0057] In another or more possible embodiments, based on this, step 130 may specifically include:
[0058] If the difference between the total borrowed time and mobile time and an integer multiple of the preset time unit is less than the first preset threshold, a prompt message will be sent to the user.
[0059] The prompt message indicates that when the user arrives at the first location, the battery level of the electronic device is greater than or equal to a first threshold, and the borrowed time of the charging rental device will reach the critical time corresponding to an integer multiple of the time unit. If the charging rental device is not returned when the critical time is reached, the amount of resources that need to be paid will be charged.
[0060] For example, if the preset time unit is hours, the borrowed time is 40 minutes, the travel time is 5 minutes, and the total time is 45 minutes, the difference between the total time of 45 minutes and an integer multiple of 1 hour is less than the first preset threshold of 20 minutes, then the user is prompted to return the device at the first location. In this way, it can be ensured that the charging rental device can charge the electronic device to meet the preset usage power (such as 100% or more than 80%), and it can also be ensured that the user pays the fee for 1 hour. If the device is not returned after 1 hour, the user will have to pay extra fees.
[0061] In yet another or more possible embodiments, based on this, step 130 may specifically include:
[0062] Based on the charging speed of the charging rental equipment and electronic devices, calculate the estimated charging amount of the electronic devices within the total time of borrowing and travel.
[0063] If the estimated charging capacity is greater than or equal to the second threshold, a prompt message is sent to the user. The prompt message is used to inform the user that the estimated charging capacity of the electronic device is greater than or equal to the second threshold when the device reaches the first location.
[0064] For example, the system can prompt the user when the charging power meets the preset power level, such as 100% or more. Specifically, if the estimated charging power is 85% and the preset power level is 80%, and the estimated charging power is greater than or equal to the preset power level, the system can prompt the user to return the device to the first location. In this way, it can ensure that the charging rental device charges the electronic device to the preset power level, such as 85%, and also ensure that the user pays the fee for one hour.
[0065] It should be noted that, in addition to sending a prompt to the user by estimating that the charging capacity is greater than or equal to the preset capacity, the prompt can also be triggered by the actual charging capacity. That is, if the charging capacity of the rental charging device for the electronic device is detected to be greater than or equal to the preset usage capacity, such as 85%, the user can be prompted to return the rental charging device.
[0066] In one or more possible embodiments, the number of charging devices is M, the first location includes a sub-location of each of the M charging devices, and the movement time includes the target movement time for the user to move from the first location to each charging device. Based on this, step 130 may specifically include:
[0067] Select target durations from the total duration of borrowed time and each target movement time, where the difference between the target duration and an integer multiple of a preset time unit is less than a second preset threshold.
[0068] If the distance between the user's initial location and the target charging device corresponding to the target duration is greater than or equal to a preset distance, a prompt message will be given to the user.
[0069] The prompt message is used to remind the user that when they arrive at the target charging device, the battery level of the electronic device is greater than or equal to the third threshold. If the user does not return the rental charging device when they arrive at the target charging device, they will be charged the amount of resources required when they arrive at another charging device.
[0070] For example, when the user gets further and further away from the nearest and valid target charging device, a reminder is issued, indicating that the electronic device's battery level meets the preset usage requirements when the user reaches the target charging device. If the user does not return the rental charging device when the user reaches the target charging device, the user will be charged the target amount of resources required when reaching other charging devices, in order to prevent the user from missing the best charging device.
[0071] In one or more possible embodiments, based on this, step 130 may specifically include:
[0072] Based on the charging speed of the charging rental equipment for electronic devices, calculate the estimated charging amount over the total time of borrowing and travel.
[0073] If the difference between the borrowed time and the charging time of the charging rental equipment for the electronic device is greater than or equal to the fourth threshold, a prompt message will be sent to the user.
[0074] The prompt information is used to remind users to use the charging rental equipment to charge their electronic devices, and to estimate the charging capacity when the user arrives at the first location.
[0075] For example, a reminder can be issued if a user fails to retrieve the charging rental device or retrieves the device but fails to charge it. Specifically, if a user has successfully rented the device but has not charged it for more than a certain threshold, such as 20 seconds, the user will be reminded to use the charging rental device. This prevents unnecessary financial losses caused by forgetting to retrieve and then forgetting to use the charging rental device. It also achieves the function of sharing and utilizing the charging rental device resources without occupying them, and prevents users from retrieving the charging rental device but forgetting to charge it.
[0076] In addition, when the user confirms the return of the charging rental equipment, the information prompting method provided in this application embodiment may also include steps 140 and 150.
[0077] Step 140: Receive the user's first input confirming the return of the charging rental equipment;
[0078] Step 150: In response to the first input, display navigation information, which includes the path from the first location to the charging device;
[0079] The charging equipment meets the following conditions: it has an effective empty slot that can accommodate the charging rental equipment; the charging amount of the charging rental equipment for the electronic device is greater than or equal to the fifth threshold during the time the user moves from the first position to the charging equipment; and the charging equipment does not require the user to pay for an integer multiple of the resource amount for the next time unit.
[0080] For example, when a user chooses to return the rental charging device immediately, the system determines the user's current movement state (walking, running, riding, or being driven) based on gravity sensors, direction sensors, and acceleration sensors. Different paths are planned according to different user movement states, such as walking mode, cycling mode, and driving mode. The system will then activate navigation mode and display navigation information to guide the user to the nearest valid return point. The charging device corresponding to the path displayed in the navigation information must meet at least one of the following conditions: the charging device includes a valid empty slot capable of accommodating the rental charging device; when the user arrives at the charging device, the rental charging device must be fully charged (100% or higher); and the user does not need to pay for the target resource amount of charging device for the next unit time period upon arrival, thus avoiding the user's property loss due to ineffective usage time.
[0081] Furthermore, if the user does not confirm the return of the charging rental equipment within the preset time, the information prompting method provided in this application embodiment can be repeatedly executed to prompt the user in the next preset rental step.
[0082] In summary, the information prompting method provided in this application embodiment obtains the user's first location and the second location of the charging device corresponding to the charging rental device by activating low-frequency positioning. It then sends a reminder to the user based on the time taken for the user to move from the first location to the charging device. Simultaneously, it reminds the user whether to return the charging rental device when the unit time is almost up. When the user chooses to return the charging rental device, a navigation module can be quickly invoked to guide the user to return the device promptly. This solves the problems of users missing the optimal return time after borrowing the charging rental device and failing to return it in time after it is fully charged.
[0083] Among them, it can solve the problems that users often encounter when borrowing charging rental equipment, such as scanning the code but forgetting to pick up the charging rental equipment, picking up the charging rental equipment but forgetting to charge it, or failing to return it on time after it is fully charged, resulting in excessive fees. It realizes intelligent prompts and guides users to return the charging rental equipment quickly, thus improving the user experience of borrowing charging rental equipment.
[0084] The information prompting method provided in this application can be executed by an information prompting device. This application uses an information prompting device executing the information prompting method as an example to illustrate the information prompting device provided in this application.
[0085] Based on the same inventive concept, this application also provides an information prompting device. (Specifically combined with...) Figure 3 Please provide a detailed explanation.
[0086] Figure 2 This is a schematic diagram of the structure of an information prompting device provided in an embodiment of this application.
[0087] like Figure 2 As shown, the information prompting device 20 may specifically include:
[0088] The acquisition module 201 is used to acquire the borrowing time of the charging rental equipment and the user's movement information, including the user's first location and the user's movement speed.
[0089] The determining module 202 is used to determine the travel time of the user from the first location to the charging device based on the user's movement information and the second location of the charging device corresponding to the charging rental device;
[0090] The notification module 203 is used to send notification information to the user based on the borrowed time and the mobile time.
[0091] The information display device 20 will be described in detail below:
[0092] In one or more possible embodiments, the information prompting device 20 provided in this application embodiment may further include a first computing module; wherein...
[0093] The first calculation module is used to calculate the first distance between the user and the charging device based on the first location and the second location of the charging device;
[0094] The first calculation module can also be used to calculate the movement time based on the first distance and the user's movement speed.
[0095] In another or more possible embodiments, the information prompting device 20 provided in this application embodiment may further include a second computing module; wherein,
[0096] The acquisition module 201 can also be used to acquire N locations of the user at a preset frequency, where N is an integer greater than 1, when the user movement information includes the user's first location.
[0097] The second calculation module is used to calculate the user's movement speed based on the distance between every two adjacent locations in the N locations and the time it takes for the user to move between every two adjacent locations.
[0098] The determination module 202 is used to determine the most recently acquired position among N positions as the first position.
[0099] In one or more possible embodiments, the prompting module 203 provided in this application embodiment can also be used to send a prompt message to the user when the difference between the total duration of borrowed time and travel time and an integer multiple of a preset time unit is less than a first preset threshold.
[0100] The prompt message indicates that when the user arrives at the first location, the battery level of the electronic device is greater than or equal to a first threshold, and the borrowed time of the charging rental device will reach the critical time corresponding to an integer multiple of the time unit. If the charging rental device is not returned when the critical time is reached, the amount of resources that need to be paid will be charged.
[0101] In one or more possible embodiments, the information prompting device 20 provided in this application may further include a third computing module; wherein,
[0102] The third calculation module is used to calculate the estimated charging capacity of electronic devices within the total time of borrowing and travel, based on the charging speed of the charging rental equipment and electronic devices.
[0103] The prompt module 203 can also be used to send a prompt message to the user when the estimated charging capacity is greater than or equal to the second threshold. The prompt message is used to remind the user that when the electronic device reaches the first position, the estimated charging capacity is greater than or equal to the second threshold.
[0104] In one or more possible embodiments, the information prompting device 20 provided in this application embodiment may further include a filtering module; wherein,
[0105] The filtering module is used to filter out target durations from the total duration of the borrowed duration and the total duration of each target duration, where the number of charging devices is M, the first position includes the sub-position of each of the M charging devices, and the movement duration includes the target movement duration of the user moving from the first position to each charging device, and the difference between the target duration and an integer multiple of a preset time unit is less than a second preset threshold.
[0106] The prompt module 203 can also be used to send a prompt message to the user when it is determined that the distance between the user's first location and the location of the target charging device corresponding to the target duration is greater than or equal to a preset distance.
[0107] The prompt message is used to remind the user that when they arrive at the target charging device, the battery level of the electronic device is greater than or equal to the third threshold. If the user does not return the rental charging device when they arrive at the target charging device, they will be charged the amount of resources required when they arrive at another charging device.
[0108] In one or more possible embodiments, the information prompting device 20 provided in this application embodiment may further include a fourth computing module; wherein,
[0109] The fourth calculation module is used to calculate the estimated charging amount over the total time of borrowing and travel, based on the charging speed of the charging rental equipment for charging electronic devices.
[0110] The prompt module 203 can also be used to send a prompt message to the user when it is determined that the difference between the borrowed time and the charging time of the charging rental equipment for charging electronic devices is greater than or equal to a fourth preset threshold.
[0111] The prompt information is used to remind users to use the charging rental equipment to charge their electronic devices, and to estimate the charging capacity when the user arrives at the first location.
[0112] In one or more possible embodiments, the information prompting device 20 provided in this application may further include a receiving module and a display module; wherein,
[0113] The receiving module is used to receive the first input confirming the return of the charging rental equipment by the user;
[0114] A display module is configured to display navigation information in response to a first input, the navigation information including the path from the first location to the charging device;
[0115] The charging equipment meets the following conditions: it has an effective empty slot that can accommodate the charging rental equipment; the charging amount of the charging rental equipment for the electronic device is greater than or equal to the fifth threshold during the time the user moves from the first position to the charging equipment; and the charging equipment does not require the user to pay for an integer multiple of the resource amount for the next time unit.
[0116] The information prompting device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television set (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the specific device.
[0117] The information prompting device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit it.
[0118] The information prompting device provided in this application embodiment can achieve... Figure 1 The various processes implemented in the illustrated information prompting method embodiment achieve the same technical effect, and will not be described again here to avoid repetition.
[0119] Based on this, the information prompting device provided in this application embodiment can obtain the borrowed time of the charging rental device and the user's movement information. The user's movement information includes the user's first location and the user's movement speed. Based on the user's movement information and the second location of the charging device corresponding to the charging rental device, the movement time from the first location to the charging device is determined. Based on the borrowed time and the movement time, a prompting message is sent to the user. In this way, the user's first location and the second location of the charging device can be obtained by positioning, and the user can be prompted to return the charging rental device based on the movement time from the first location to the second location and the borrowed time. This avoids the problem of users missing the return time or forgetting to return the charging rental device and having to pay for the invalid usage time, ensuring the user's property security and improving the effectiveness of prompting users to return the charging rental device quickly.
[0120] Optional, such as Figure 3 As shown, this application embodiment also provides an electronic device 30, including a processor 301 and a memory 302. The memory 302 stores a program or instructions that can run on the processor 301. When the program or instructions are executed by the processor 301, they implement the various steps of the above-described information prompting method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0121] It should be noted that the electronic devices in the embodiments of this application include the aforementioned mobile electronic devices and non-mobile electronic devices.
[0122] Figure 4 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application.
[0123] The electronic device 400 includes, but is not limited to, components such as: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.
[0124] Those skilled in the art will understand that the electronic device 400 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 410 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 4 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0125] In this embodiment, the processor 410 is configured to acquire the borrowed time of the charging rental device and user movement information, including the user's first location and movement speed. The processor 410 is also configured to determine the movement time from the first location to the charging device based on the user movement information and the second location of the charging device corresponding to the charging rental device. The display unit 406 or sensor 405 is configured to send a notification message to the user based on the borrowed time and movement time.
[0126] The electronic device 400 is described in detail below:
[0127] In one or more possible embodiments, the processor 410 is further configured to: calculate a first distance between the user and the charging device based on the first location and the second location of the charging device; and calculate the travel time based on the first distance and the user's moving speed.
[0128] In another or more possible embodiments, the processor 410 is further configured to, when the user movement information includes the first location of the user, acquire N locations of the user at a preset frequency, where N is an integer greater than 1; calculate the user's movement speed based on the distance between every two adjacent locations in the N locations and the time the user moves between every two adjacent locations; and determine the most recently acquired location among the N locations as the first location.
[0129] In one or more possible embodiments, the display unit 406 may also be used to send a prompt message to the user when the difference between the total duration of the borrowed time and the moving time and an integer multiple of the preset time unit is less than a first preset threshold.
[0130] The notification message also serves to inform the user that when they reach the first location, the battery level of the electronic device is greater than or equal to a first threshold, and the borrowed time of the charging rental device will reach a critical time corresponding to an integer multiple of the time unit. If the charging rental device is not returned when the critical time is reached, the user will have to pay for the amount of resources.
[0131] In one or more possible embodiments, the processor 410 may also be configured to calculate the estimated charging capacity of the electronic device over the total duration of the borrowed time and the travel time, based on the charging speed of the charging rental device and the electronic device.
[0132] The display unit 406 or sensor 405 can also be used to send a prompt message to the user when the estimated charging capacity is greater than or equal to a second threshold. The prompt message is used to remind the user that the estimated charging capacity of the electronic device is greater than or equal to the second threshold when the device reaches the first position.
[0133] In one or more possible embodiments, the processor 410 may also be used to, when the number of charging devices is M, the first position includes the sub-position of each of the M charging devices, and the movement time includes the target movement time of the user moving from the first position to each charging device, select a target time from the total time of the borrowed time and the total time of each target movement time where the difference between the target time and an integer multiple of a preset time unit is less than a second preset threshold.
[0134] The display unit 406 can also be used to provide information to the user when it is determined that the distance between the user's first location and the location of the target charging device corresponding to the target duration is greater than or equal to a preset distance.
[0135] The prompt message is used to remind the user that when they arrive at the target charging device, the battery level of the electronic device is greater than or equal to the third threshold. If the user does not return the rental charging device when they arrive at the target charging device, they will be charged the amount of resources required when they arrive at another charging device.
[0136] In one or more possible embodiments, the processor 410 may also be configured to calculate the estimated charging amount over the total duration of the borrowed time and the travel time, based on the charging speed at which the charging rental device charges the electronic device.
[0137] The display unit 406 can also be used to send a prompt message to the user when the difference between the borrowed time and the charging time of the charging rental device for the electronic device is greater than or equal to a fourth threshold. The prompt message is used to prompt the user to use the charging rental device to charge the electronic device and to estimate the charging capacity when the user arrives at the first location.
[0138] In one or more possible embodiments, the user input unit 407 is configured to receive a first input from the user confirming the return of the charging rental device;
[0139] Display unit 406 is configured to display navigation information in response to a first input, the navigation information including the path from the first location to the charging device;
[0140] The charging equipment meets the following conditions: it has an effective empty slot that can accommodate the charging rental equipment; the charging amount of the charging rental equipment for the electronic device is greater than or equal to the fifth threshold during the time the user moves from the first position to the charging equipment; and the charging equipment does not require the user to pay for an integer multiple of the resource amount for the next time unit.
[0141] It should be understood that the input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042. The GPU 4041 processes image data of still images or videos acquired by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 406 may include a display panel, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 407 includes at least one of a touch panel 4071 and other input devices 4072. The touch panel 4071 is also called a touch screen. The touch panel 4071 may include a touch detection device and a touch display. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume display buttons, power buttons, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.
[0142] The memory 409 can be used to store software programs and various data. The memory 409 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 409 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 409 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.
[0143] Processor 410 may include one or more processing units; optionally, processor 410 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless display signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 410.
[0144] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described information prompting method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0145] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0146] In addition, this application embodiment provides another chip, which includes a processor and a display interface. The display interface and the processor are coupled. The processor is used to run programs or instructions to implement the various processes of the above-described information prompting method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0147] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0148] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described information prompting method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0149] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0150] Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
[0151] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.
[0152] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. An information prompting method, characterized in that, include: The system obtains the borrowing time of the charging rental equipment and the user's movement information, including the user's first location and the user's movement speed. Based on the user's movement information and the second location of the charging device corresponding to the charging rental device, the movement time of the user from the first location to the charging device is determined. Based on the charging speed of the charging rental equipment and the electronic equipment, calculate the estimated charging amount of the electronic equipment within the total time of the borrowed time and the travel time. If the estimated charging capacity is greater than or equal to the second threshold, a prompt message is sent to the user. The prompt message is used to remind the user that when the electronic device reaches the first location, the estimated charging capacity is greater than or equal to the second threshold.
2. The method according to claim 1, characterized in that, The step of determining the travel time from the first location to the charging device based on the user's movement information and the second location of the charging device corresponding to the charging rental device includes: Based on the first location and the second location of the charging device, calculate the first distance between the user and the charging device; The movement time is calculated based on the first distance and the user's movement speed.
3. The method according to claim 1 or 2, characterized in that, The user movement information includes the user's first location; obtaining the borrowed duration of the charging rental equipment and the user movement information includes: According to a preset frequency, obtain the N positions of the user, where N is an integer greater than 1; The user's movement speed is calculated based on the distance between any two adjacent locations in the N locations and the time it takes for the user to move between any two adjacent locations. The most recently obtained position among the N positions is determined as the first position.
4. The method according to claim 1, characterized in that, The method further includes: If the difference between the total duration of the borrowed time and the travel time and an integer multiple of the time unit is less than a first threshold, a prompt message is sent to the user. The prompt information is used to indicate that when the user arrives at the first location, the battery level of the electronic device is greater than or equal to a first threshold, and the borrowed time of the charging rental device will reach a critical time corresponding to an integer multiple of the time unit. If the charging rental device is not returned when the critical time is reached, the amount of resources to be paid will be charged.
5. The method according to claim 1, characterized in that, The number of charging devices is M, the first position includes the sub-position of each of the M charging devices, and the movement time includes the target movement time for the user to move from the first position to each of the charging devices. The method further includes: Select target durations from the total duration of the borrowed duration and the duration of each target movement whose difference from an integer multiple of a preset time unit is less than a second preset threshold. If the distance between the user's first location and the location of the target charging device corresponding to the target duration is greater than or equal to a preset distance, a prompt message is given to the user; The prompt information is used to remind the user that when the electronic device reaches the location of the target charging device, the battery level of the electronic device is greater than or equal to a third threshold. If the user does not return the charging rental device when reaching the location of the target charging device, the user will be charged the amount of resources required when reaching other charging devices.
6. The method according to claim 1, characterized in that, The method further includes: Based on the charging speed of the charging rental equipment for charging electronic devices, calculate the estimated charging amount over the total time of the borrowed time and the travel time. If the difference between the borrowed time and the charging time of the charging rental device for the electronic device is greater than or equal to the fourth threshold, a prompt message is sent to the user. The prompt information is used to remind the user to use the charging rental equipment to charge the electronic device, and to provide an estimated charging capacity when the user arrives at the first location.
7. The method according to claim 1, characterized in that, The method further includes: Receive the first input confirming the user's return of the charging rental equipment; In response to the first input, navigation information is displayed, the navigation information including the path from the first location to the charging device; The charging equipment meets the following conditions: it has an effective empty slot that can accommodate the charging rental equipment; the charging amount of the charging rental equipment for the electronic device is greater than or equal to a fifth threshold during the time the user moves from the first position to the charging equipment; and the charging equipment does not require the user to pay for an integer multiple of the resource amount for the next time unit.
8. An information prompting device, characterized in that, include: The acquisition module is used to acquire the borrowing time of the charging rental equipment and the user's movement information, wherein the user's movement information includes the user's first location and the user's movement speed. The determining module is used to determine the movement time of the user from the first location to the charging device based on the user movement information and the first location of the charging device corresponding to the charging rental device; The prompt module is used to calculate the estimated charging capacity of the electronic device within the total duration of the borrowed time and the travel time, based on the charging speed of the charging rental equipment and the electronic device. If the estimated charging capacity is greater than or equal to the second threshold, a prompt message is sent to the user. The prompt message is used to remind the user that when the electronic device reaches the first location, the estimated charging capacity is greater than or equal to the second threshold.
9. An electronic device, characterized in that, include: A processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the information prompting method as described in any one of claims 1-7.
10. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the information prompting method as described in any one of claims 1-7.
Citation Information
Patent Citations
Return reservation method for shared mobile power supply
CN110491030A
Shared power bank return reminding system and method
CN110545518A