Method, system and related equipment for updating electronic guide data of shared power bank
By working in tandem with the servers and power bank base stations, the electronic guide data for shared power banks is updated in real time, solving the problem of data update lag and improving user experience and information access convenience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SOYO TECH DEV CO LTD
- Filing Date
- 2025-05-07
- Publication Date
- 2026-05-19
AI Technical Summary
The existing shared power banks' electronic guide data updates are lagging behind, failing to respond promptly to changes in scenic area information and impacting user experience.
Through the collaborative work of servers, power bank base stations, and management terminals, the insertion of shared power banks is detected in real time, and the electronic guide data is updated to ensure timely synchronization and updating of data.
This improves the convenience and timeliness for users to obtain electronic guide information when using shared power banks, enhancing the value of shared power banks and the user experience.
Smart Images

Figure CN120512439B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of shared power bank technology, specifically to a method, system, and related equipment for updating electronic guide data for shared power banks. Background Technology
[0002] In the tourism industry, tourists' demand for convenient information access and guided tours is constantly increasing. Shared power banks, as an emerging portable power solution, not only meet users' needs for charging mobile devices but also provide additional electronic guide services. Through shared power banks, users can easily obtain information about attractions, historical and cultural backgrounds, route recommendations, etc., thereby enhancing their travel experience. However, the electronic guide data is pre-generated based on the current area (such as scenic spots) and written into the electronic guide function of the shared power bank. For example, if the information about the scenic spot changes, the electronic guide data in the shared power bank needs to be updated. Summary of the Invention
[0003] This application provides a method, system, and related equipment for updating electronic guide data in shared power banks. When the electronic guide data changes, the original electronic guide data in the shared power bank can be updated, thereby improving the user experience.
[0004] In a first aspect, this application provides a method for updating shared power bank electronic guide data. This method is applied to a shared power bank electronic guide data updating system, which includes a server, a power bank base station, and a management terminal. The method includes:
[0005] The server receives the modified electronic tour guide data from the management terminal;
[0006] The server sends the modified electronic guide data to the power bank base station;
[0007] When the power bank base station detects the insertion of a shared power bank, it obtains the identifier of the shared power bank to determine whether the identifier of the shared power bank exists in the update record table corresponding to the changed electronic guide data.
[0008] If the update record table does not contain the identifier for a shared power bank, the power bank base station will update the original electronic guide data in the shared power bank based on the changed electronic guide data.
[0009] Secondly, this application provides a system for updating shared power bank electronic guide data, which includes a server, a power bank base station, and a management terminal;
[0010] The server is used to receive modified electronic guide data from the management terminal and to send modified electronic guide data to the power bank base station.
[0011] When a shared power bank is detected by the base station, the base station obtains the identifier of the shared power bank to determine whether the identifier of the shared power bank exists in the update record table corresponding to the changed electronic guide data. If the identifier of the shared power bank does not exist in the update record table, the base station updates the original electronic guide data in the shared power bank based on the changed electronic guide data.
[0012] Thirdly, this application provides a method for updating shared power bank electronic guide data. This method is applied to a server located in a shared power bank electronic guide data updating system. The system also includes a power bank base station and a management terminal. The method includes:
[0013] The server receives the modified electronic tour guide data from the management terminal;
[0014] The server sends the modified electronic guide data to the power bank base station;
[0015] When the power bank base station detects the insertion of a shared power bank, the server obtains the identifier of the shared power bank through the power bank base station to determine whether the identifier of the shared power bank exists in the update record table corresponding to the changed electronic guide data;
[0016] If the update record table does not contain the identifier for the shared power bank, the server updates the original electronic guide data in the shared power bank based on the changed electronic guide data through the power bank base station.
[0017] Fourthly, this application provides a server located in a shared power bank electronic guide data update system, which also includes a power bank base station and a management terminal. The server includes a transceiver unit and a processing unit.
[0018] The transceiver unit is used to receive modified electronic guide data from the management terminal and send modified electronic guide data to the power bank base station.
[0019] When the power bank base station detects the insertion of a shared power bank, the transceiver unit is also used to obtain the identifier of the shared power bank through the power bank base station in order to determine whether the identifier of the shared power bank exists in the update record table corresponding to the changed electronic guide data;
[0020] If the update record table does not contain the identifier of the shared power bank, the processing unit updates the original electronic guide data in the shared power bank based on the changed electronic guide data through the power bank base station.
[0021] Fifthly, this application provides an electronic device, including: a processor and a memory, the processor being connected to the memory, the memory being used to store a computer program, and the processor being used to execute the computer program stored in the memory, so that the electronic device performs the method as described in the first aspect or the third aspect.
[0022] Sixthly, this application provides a computer-readable storage medium storing a computer program that causes a computer to perform the methods described in the first or third aspect.
[0023] In a seventh aspect, this application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and is operable to cause the computer to perform the methods of the first or third aspect.
[0024] Implementing this application will have the following beneficial effects:
[0025] When the electronic guide data changes, the management terminal can send the changed electronic guide data to the server; then the server sends the changed electronic guide data to the power bank base station; when the power bank base station detects the insertion of a shared power bank, the base station obtains the shared power bank's identifier to determine whether the identifier exists in the update record table corresponding to the changed electronic guide data; if the shared power bank's identifier does not exist in the update record table, it means that the shared power bank has not been updated, and the power bank base station updates the original electronic guide data in the shared power bank based on the changed electronic guide data. Compared with the existing lag in updating and dimensionality of the original electronic guide data in shared power banks, this can improve the convenience and timeliness of users obtaining electronic guide information when using shared power banks, enhancing the value of shared power banks while improving the user experience. Attached Figure Description
[0026] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0027] Figure 1 A schematic diagram of a shared power bank electronic tour guide data update system provided in this application embodiment;
[0028] Figure 2 A schematic diagram of the interactive process for updating shared power bank electronic guide data, provided in an embodiment of this application;
[0029] Figure 3 A schematic diagram of the interactive flow of another method for updating shared power bank electronic guide data provided in an embodiment of this application;
[0030] Figure 4 A functional unit block diagram of a server provided in an embodiment of this application;
[0031] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0032] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0033] The terms "first," "second," "third," and "fourth," etc., used in the specification, claims, and drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.
[0034] In this document, the term "embodiment" means that a particular feature, result, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0035] See Figure 1 , Figure 1 This is a schematic diagram of a shared power bank electronic guide data update system provided in an embodiment of this application.
[0036] Figure 1The shared power bank electronic guide data update system shown includes a server, a power bank base station, and a management terminal. The management terminal can be a smart terminal such as a tablet, laptop, desktop computer, smartphone, smart TV, desktop computer, smartwatch, or smart vehicle, etc., which is not specifically limited in this application. The server can be an independent physical server, a server cluster composed of multiple physical servers, or a distributed system. It can also be a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, and big data and artificial intelligence platforms, which is not specifically limited in this application. The power bank base station can also be called a rental station, which communicates with the shared power bank through its contact points. It should be noted that the number of power bank base stations, servers, and management terminals can be one or more. This application embodiment mainly uses one as an example for explanation and illustration. Figure 1 The styles of power bank base stations, servers, and management terminals shown are for illustrative purposes only and are not intended to be limiting.
[0037] When the electronic guide data needs to be changed, the management terminal obtains the changed electronic guide data. For example, the management personnel can obtain it from other terminals through the management terminal, or the management personnel can generate it locally through the management terminal; this application does not limit this. Then, the management terminal sends the changed electronic guide data to the server. Then, the server sends the changed electronic guide data to the power bank base station. Then, when the power bank base station detects the insertion of a shared power bank, the power bank base station obtains the identifier of the shared power bank to determine whether the identifier of the shared power bank exists in the update record table corresponding to the changed electronic guide data. If the identifier of the shared power bank does not exist in the update record table, the power bank base station updates the original electronic guide data in the shared power bank based on the changed electronic guide data.
[0038] It should be noted that the shared power bank electronic guide data update system, including its server, power bank base station, and management terminal, can perform other steps besides those described in the above embodiments. These will not be elaborated here; please refer to [link / reference]. Figure 2 The steps performed by the server, power bank base station, and management terminal shown in the embodiment.
[0039] In addition, it should be uniformly explained that the communication between the management terminal and the server, the communication between the power bank base station and the server, the communication between the server and the user terminal, and the communication between the shared power bank and the server in the embodiments of this application may include, but are not limited to, the following wireless communication methods: Long Range Wide Area Network (LoRA), Fast Longrange Communication (FLRC), Gaussian Frequency Shift Keying (GFSK), 4G, 5G and other modulation methods. The communication method used in each scenario can be set according to actual needs, and this application does not limit it.
[0040] See Figure 2 , Figure 2 This application provides an interactive flowchart illustrating a method for updating shared power bank electronic guide data in an embodiment of the present application. The method is applied to the shared power bank electronic guide data updating system described above, and includes, but is not limited to, the following steps S201-S204:
[0041] S201, The management terminal sends the modified electronic guide data to the server.
[0042] In the embodiments of this application, changing the type of electronic guide data may include one or more of voice packages, videos, images, text, etc., and this application does not limit it.
[0043] S202, The server sends the modified electronic guide data to the power bank base station.
[0044] S203. When the power bank base station detects the insertion of a shared power bank, the power bank base station obtains the identifier of the shared power bank to determine whether the identifier of the shared power bank exists in the update record table corresponding to the changed electronic guide data. If the identifier of the shared power bank does not exist in the update record table, proceed to step S204.
[0045] In the embodiments of this application, the update record table can be stored locally at the power bank base station. When there are multiple power bank base stations, that is, each power bank base station locally stores an update record table corresponding to the changed electronic guide data. The update record table includes the identifier of the shared power bank that has been updated with the changed electronic guide data. In other words, the update record table records the identifier of the shared power bank that has been updated with the changed electronic guide data. After obtaining the identifier of the inserted shared power bank, the power bank base station can determine whether the identifier of the shared power bank exists in the locally stored update record table, and thus determine whether the inserted shared power bank has been updated with the changed electronic guide data.
[0046] S204. The power bank base station updates the original electronic guide data in the shared power bank based on the changed electronic guide data.
[0047] If the update record table contains the identifier for the shared power bank, it means that the shared power bank has already undergone an update of its electronic guide data. In this case, the power bank base station will not repeat the update for the shared power bank and can simply charge it. If the update record table does not contain the identifier for the shared power bank, it means that the inserted shared power bank has not yet undergone an update of its electronic guide data. In this case, the power bank base station can update the original electronic guide data in the shared power bank based on the updated electronic guide data. For example, if the updated electronic guide data corresponds to all of the original electronic guide data, the original electronic guide data in the shared power bank can be directly replaced with the updated electronic guide data. If the updated electronic guide data corresponds to only a portion of the original electronic guide data, the power bank base station will replace the data in the original electronic guide data in the shared power bank that corresponds to the updated electronic guide data with the updated electronic guide data.
[0048] Furthermore, after updating the original electronic guide data in the shared power bank, the power bank base station updates the update record table based on the identifier of the shared power bank, for example, by writing the identifier of the shared power bank into the update record table. Of course, if there are multiple power bank base stations, the first power bank base station updates the update record table based on the shared power bank's identifier. The first power bank base station is the one where the shared power bank is inserted among the multiple power bank base stations. Then, the first power bank base station sends the shared power bank's identifier to the server. The server then sends the shared power bank's identifier to the second power bank base station, which is one of the multiple power bank base stations other than the first power bank base station. The second power bank base station then updates its locally stored update record table based on the shared power bank's identifier. In other words, the first power bank base station updates its locally maintained update record table and synchronizes the shared power bank's identifier to the server. The server then synchronizes the shared power bank's identifier to the other power bank base stations, i.e., the second power bank base station. These other power bank base stations also update their locally maintained update record tables based on the shared power bank's identifier. Thus, each power bank base station knows that the shared power bank has been updated, avoiding repeated updates to the shared power bank.
[0049] In one optional embodiment, the update record table can also be stored on a server. After obtaining the identifier of the shared power bank, the power bank base station sends a first query request to the server. This first query request queries the server to determine if the identifier of the shared power bank exists in the update record table. The server then sends a first response to the first query request to the power bank base station. Based on the first response, the power bank base station determines whether the identifier of the shared power bank exists in the update record table. Optionally, the power bank base station can also receive the update record table from the server and then determine whether the identifier of the shared power bank exists in the update record table. If... If the shared power bank's identifier is not found in the new record table, the power bank base station updates the original electronic guide data in the shared power bank based on the changed electronic guide data. Then, the power bank base station sends the shared power bank's identifier to the server. The server then updates the update record table based on the shared power bank's identifier, for example, by writing the shared power bank's identifier into the update record table. This allows for real-time synchronous maintenance and updates of the update record table. When other power bank base stations detect the insertion of a shared power bank, they can check whether the shared power bank's identifier exists in the latest update record table on the server, thereby determining whether the shared power bank needs to be updated and avoiding duplicate updates.
[0050] In an optional embodiment, if the update record table does not contain the identifier of the shared power bank, the power bank base station can also determine whether the current time period is within a preset peak tourist period. It should be noted that the server can also determine whether the current time period is within a peak tourist period, and then the server sends a first message to the power bank base station. This first message is used to indicate whether the current time period is within a peak tourist period. If the current time period is within a peak tourist period, the power bank base station will not update the electronic guide data of the shared power bank. If the current time period is not within a peak tourist period, the power bank base station will update the original electronic guide data in the shared power bank based on the changed electronic guide data. This will not be elaborated further here.
[0051] In one optional embodiment, the power bank base station can also predict the power required for updating based on the changed electronic guide data. For example: the power bank base station obtains the file size of the changed electronic guide data and the current network speed; then, based on the file size of the changed electronic guide data and the current network speed, the power bank base station determines the first time required to download the changed electronic guide data; then, based on the first time and a preset network power consumption, the power bank base station determines the first power required to download the changed electronic guide data; then, based on the file size of the changed electronic guide data and a preset write speed, the power bank base station determines the second time required to write the changed electronic guide data; then, based on the second time and a preset write power consumption, the power bank base station determines the second power required to write the changed electronic guide data; finally, based on the first power and the second power, the power required for updating is determined. For example, the power required for updating is the first power and the second power, or it can be the sum of the first power, the second power, and a preset empirical power value; this application does not limit this.
[0052] Then, the power bank base station obtains the remaining power of the shared power bank; then, based on the power required for the update and the remaining power, the power bank base station determines the update start time corresponding to the changed electronic guide data. For example, if the remaining power is greater than the power required for the update, the power bank base station determines that the update start time can be the current time, or the sum of the current time and a preset time empirical value; if the remaining power is less than the power required for the update, the power bank base station determines a first power difference between the power required for the update and the remaining power. Then, based on the first power difference and a preset charging power, the power bank base station determines a first charging time required to charge the remaining power to the power required for the update. Then, the power bank base station determines that the update start time can be the sum of the current time and the first charging time, or the sum of the current time, the first charging time and a preset time empirical value. This application does not limit this. It should be noted that this embodiment can be executed by either the power bank base station or the server. That is, the server can also determine the update start time, and then the server sends the update start time to the power bank base station; then, based on the changed electronic guide data, the power bank base station updates the original electronic guide data in the shared power bank at the update start time.
[0053] In an optional embodiment, the aforementioned modified electronic guide data may include multiple sub-electronic guide data corresponding to multiple attractions. Therefore, when the power bank base station determines the update start time corresponding to the modified electronic guide data based on the power required for the update and the remaining power, the power bank base station can also obtain the popularity value of the electronic guide data corresponding to multiple attractions in the original electronic guide data. For example, the popularity value of the electronic guide data corresponding to each attraction may be at least one of the number of downloads, usages, and shares of the electronic guide data corresponding to each attraction, or a weighted average may be performed based on the number of downloads, usages, and shares of the electronic guide data corresponding to each attraction, as well as their respective weight coefficients, to obtain the popularity value of the electronic guide data corresponding to each attraction. Then, the power bank base station determines the priority of each sub-electronic guide data based on the popularity value of the electronic guide data corresponding to multiple attractions in the original electronic guide data. For example, it sorts the electronic guide data corresponding to multiple attractions according to their popularity values to obtain the priority of each sub-electronic guide data. Then, based on each sub-electronic guide data, the power bank base station predicts the update time required for each sub-electronic guide data. For example, based on the file size of each sub-electronic guide data and the current network speed, the power bank base station determines the third time required to download each sub-electronic guide data, and based on the file size of each sub-electronic guide data and the preset write speed, determines the fourth time required to write each sub-electronic guide data. Then, based on the third and fourth times corresponding to each sub-electronic guide data, the power bank base station determines the update time required for each sub-electronic guide data. For example, it can be the sum of the third and fourth times corresponding to each sub-electronic guide data, or it can be the sum of the third and fourth times and the preset time empirical value. This application does not limit this.
[0054] Then, the power bank base station determines the update start time corresponding to each sub-electronic guide data based on the priority of each sub-electronic guide data, the time required to update each sub-electronic guide data, the power required to update each sub-electronic guide data, and the remaining power. For example:
[0055] First, the sub-electronic guide data is sorted in descending order of priority to obtain the first sequence. Then, for the first sub-electronic guide data, the power bank base station determines the update start time based on the update time required for the first sub-electronic guide data, the update power required for the first sub-electronic guide data, and the remaining power. The first sub-electronic guide data is the highest priority sub-electronic guide data in the first sequence. For example, if the remaining power is greater than the update power required for the first sub-electronic guide data, the power bank base station can determine the update start time for the first sub-electronic guide data as the current time, or... The remaining power is the sum of the current time and the preset time empirical value. If the remaining power is less than the power required to update the first sub-electronic guide data, the power bank base station determines a second power difference between the power required to update the first sub-electronic guide data and the remaining power. Then, based on the second power difference and the preset charging power, the power bank base station determines the first charging time required to charge the remaining power to the power required to update the first sub-electronic guide data. Then, based on the first charging time, the power bank base station determines the start time of updating the first sub-electronic guide data. For example, it can be the sum of the current time and the first charging time of the first sub-electronic guide data, or the sum of the current time, the first charging time and the preset time empirical value. This application does not limit it.
[0056] Then, the power bank base station determines the update start time corresponding to the (i+1)th sub-electronic guide data based on the update start time corresponding to the i-th sub-electronic guide data, the update time required for the i-th sub-electronic guide data, the remaining power of the shared power bank after the update of the i-th sub-electronic guide data, and the power required for the update of the (i+1)-th sub-electronic guide data. The priority of the i-th sub-electronic guide data is higher than that of the (i+1)-th sub-electronic guide data. The i-th sub-electronic guide data can be any one of the multiple sub-electronic guide data in the first sequence mentioned above. When i=1, the update start time corresponding to the 1st sub-electronic guide data is the same as the update start time corresponding to the first sub-electronic guide data. The remaining power of the shared power bank after the update of the 1st sub-electronic guide data is the difference between the remaining power of the shared power bank and the power required for the update of the first sub-electronic guide data. For example:
[0057] If the remaining power of the shared power bank after the update of the i-th sub-electronic guide data is greater than the power required for the update of the (i+1)-th sub-electronic guide data, then the power bank base station determines the update start time corresponding to the (i+1)-th sub-electronic guide data to be the current time, or the sum of the current time and a preset time empirical value, or the sum of the update start time corresponding to the i-th sub-electronic guide data and the update time required for the i-th sub-electronic guide data, or the sum of the update start time corresponding to the i-th sub-electronic guide data, the update time required for the i-th sub-electronic guide data and a preset time empirical value. This application does not impose any limitations.
[0058] If the remaining power of the shared power bank after the update of the i-th sub-electronic guide data is less than the power required for the update of the (i+1)-th sub-electronic guide data, the power bank base station determines a third power difference between the power required for the update of the (i+1)-th sub-electronic guide data and the remaining power of the i-th sub-electronic guide data. Then, based on the third power difference and a preset charging power, the power bank base station determines a second charging time required to charge the remaining power of the shared power bank after the update of the i-th sub-electronic guide data to the power required for the update of the (i+1)-th sub-electronic guide data. Then, based on the second charging time, the power bank base station determines the update start time corresponding to the (i+1)-th sub-electronic guide data, which may be the sum of the current time and the second charging time, or the sum of the current time, the second charging time, and a preset time empirical value, or the sum of the update start time corresponding to the i-th sub-electronic guide data, the update time required for the i-th sub-electronic guide data, the second charging time, and / or a preset time empirical value. This application does not impose any limitations on this.
[0059] It should be noted that in this embodiment, the process can be performed by either the power bank base station or the server. Similarly, the server can determine the update start time for each sub-modified guide data and then send this start time to the power bank base station. Furthermore, the power bank base station updates the original electronic guide data in the shared power bank based on the update start time corresponding to each sub-electronic guide data. It can be seen that in this embodiment, when the modified electronic guide data includes multiple attractions, the corresponding popularity value is obtained, and then, based on this popularity value and the remaining power of the shared power bank, the update start time for each sub-electronic guide data is predicted. That is, the higher the priority of the sub-modified guide data, the earlier it is updated. Moreover, this update start time also incorporates the power required for updating each sub-modified guide data and the remaining power of the shared power bank, ensuring that the update proceeds smoothly and is not interrupted due to power issues.
[0060] In one optional embodiment, during the update process, if a user scans the rental QR code on the power bank base station using their user terminal, and then selects the function type of the shared power bank to rent, the user terminal sends a rental request to the server. Correspondingly, the server receives the shared power bank rental request corresponding to the power bank base station from the user terminal. The rental request includes the function type of the shared power bank, such as charging only, charging + single-language electronic guide, or charging + multi-language electronic guide. The server then predicts the update time required for the changed electronic guide data based on the changed electronic guide data. The principle here can be explained by referring to the principle of the power bank base station predicting the update time required for each sub-electronic guide data based on each sub-electronic guide data, which will not be repeated here. Then, the server obtains the current remaining power of the shared power bank of the specified function type in the power bank base station, and obtains the update start time of the shared power bank of the specified function type. The principle of the update start time of the shared power bank of the specified function type is explained below. Similar to the principle of determining the update start time corresponding to the changed electronic guide data, or determining the update start time corresponding to each sub-electronic guide data, the server then determines the target shared power bank for the user to rent based on the update time required for the changed electronic guide data, the update start time of the shared power bank of the functional type, and the current remaining power of the shared power bank of the functional type. For example, the server determines the remaining update time of the shared power bank of the functional type based on the update time required for the changed electronic guide data and the update start time of the shared power bank of the functional type. Then, the server determines the target shared power bank for the user to rent based on the remaining update time of the shared power bank of the functional type and the current remaining power of the shared power bank of the functional type. For example, the server determines the recommendation score corresponding to each shared power bank of the functional type based on the remaining update time of the shared power bank of the functional type and the current remaining power of the shared power bank of the functional type. The recommendation score corresponding to the i-th shared power bank of the functional type can be obtained by formula (1):
[0061]
[0062] Among them, F i M represents the recommendation score for the i-th shared power bank of this feature type. i This indicates the remaining update time for the i-th shared power bank of this function type. N i This represents the current remaining battery level of the i-th shared power bank of this function type, e. () Let ω1 represent the first weighting coefficient and ω2 represent the second weighting coefficient.
[0063] Then, based on the recommendation score corresponding to each shared power bank of that function type, the server determines the target shared power bank for the user to rent, such as the shared power bank with the highest recommendation score for that function type. The server then sends the identifier of the target shared power bank to the power bank base station. The power bank base station then displays the target shared power bank corresponding to the identifier of the target shared power bank for the user to rent. This not only meets the user's rental needs but also matches the user with the most suitable power bank, which can improve the user experience.
[0064] In one optional embodiment, the shared power bank of this application may further include one or more of the following: a speaker, a display screen, and physical buttons. The user terminal can establish a connection with the rented shared power bank, such as a wired connection or a wireless connection such as a Bluetooth connection. Then, the user terminal can select to use the corresponding electronic guide data through the user terminal. The user terminal can then download the electronic guide data package from the shared power bank and use it, such as playing / browsing. Optionally, the user terminal can also send usage instructions for the electronic guide data to the shared power bank. If the electronic guide data is an audio package, it can be played through the speaker of the shared power bank. If the electronic guide data is a video, it can be displayed on the display screen of the shared power bank and the audio can be played through the speaker. If the electronic guide data includes images, text, etc., it can be displayed on the display screen of the shared power bank. This application does not make specific limitations.
[0065] See Figure 3 , Figure 3 A schematic diagram of the interactive flow of another method for updating shared power bank electronic guide data provided in this application embodiment, the method including but not limited to steps S301-S308:
[0066] S301. The server receives the modified electronic guide data from the management terminal.
[0067] S302, The server sends the modified electronic guide data to the power bank base station.
[0068] S303. When the power bank base station detects the insertion of a shared power bank, the power bank base station obtains the identifier of the shared power bank to determine whether the identifier of the shared power bank exists in the update record table corresponding to the changed electronic guide data. If the identifier of the shared power bank does not exist in the update record table, proceed to step S304.
[0069] S304. The power bank base station determines whether the current time period is during the peak tourist season. If not, proceed to step S305.
[0070] S305 and power bank base stations predict the required power consumption based on changes in electronic guide data.
[0071] S306, Power bank base station obtains the remaining power of shared power banks.
[0072] S307. The power bank base station determines the update start time corresponding to the change of electronic guide data based on the power required for the update and the remaining power.
[0073] S308, the power bank base station updates the original electronic guide data in the shared power bank based on the changed electronic guide data at the start time of the update.
[0074] It should be noted that the principles of steps S301-S308 can be referred to the above. Figure 2 The explanation of the embodiments will not be repeated here.
[0075] As can be seen from the embodiments of this application, when the electronic guide data changes, the management terminal can send the changed electronic guide data to the server; then the server sends the changed electronic guide data to the power bank base station; when the power bank base station detects the insertion of a shared power bank, the power bank base station obtains the identifier of the shared power bank to determine whether the identifier of the shared power bank exists in the update record table corresponding to the changed electronic guide data; if the identifier of the shared power bank does not exist in the update record table, it means that the shared power bank has not been updated, and the power bank base station updates the original electronic guide data in the shared power bank based on the changed electronic guide data. Compared with the existing lag in updating and dimensionality of the original electronic guide data in shared power banks, this can improve the convenience and timeliness of users obtaining electronic guide information when using shared power banks, enhancing the value of shared power banks while improving the user experience.
[0076] See Figure 4 , Figure 4 A functional unit block diagram of a server is provided for an embodiment of this application. The server 400 is located in a shared power bank electronic guide data update system. The system includes a server, a power bank base station, and a management terminal, including: a transceiver unit 401 and a processing unit 402;
[0077] Transceiver unit 401 is used to receive change electronic guide data from the management terminal and send change electronic guide data to the power bank base station;
[0078] When the power bank base station detects the insertion of a shared power bank, the transceiver unit 401 is also used to obtain the identifier of the shared power bank through the power bank base station in order to determine whether the identifier of the shared power bank exists in the update record table corresponding to the changed electronic guide data.
[0079] If the update record table does not contain the identifier of the shared power bank, the processing unit 402 is used to update the original electronic guide data in the shared power bank based on the changed electronic guide data through the power bank base station.
[0080] In one embodiment of this application, in updating the original electronic guide data in a shared power bank based on changed electronic guide data via a power bank base station, the processing unit 402 is specifically used for:
[0081] Determine whether the current time period is during peak tourist season;
[0082] If not, the original electronic guide data in the shared power bank will be updated based on the changed electronic guide data via the power bank base station.
[0083] In one embodiment of this application, in updating the original electronic guide data in a shared power bank based on the changed electronic guide data via a power bank base station, a processing unit 402 is used to predict the power required for the update based on the changed electronic guide data; a transceiver unit 401 is used to obtain the remaining power of the shared power bank; a processing unit 402 is used to determine the update start time corresponding to the changed electronic guide data based on the power required for the update and the remaining power; and a processing unit 402 is used to update the original electronic guide data in the shared power bank at the update start time via the power bank base station based on the changed electronic guide data.
[0084] In one embodiment of this application, if the changed electronic guide data includes multiple sub-electronic guide data corresponding to multiple attractions, the transceiver unit is used to obtain the popularity value of the electronic guide data corresponding to multiple attractions in the original electronic guide data in terms of determining the update start time corresponding to the changed electronic guide data based on the power required for updating and the remaining power. The processing unit 402 is specifically used to: determine the priority corresponding to each sub-electronic guide data based on the popularity value of the electronic guide data corresponding to multiple attractions in the original electronic guide data; predict the update time required for each sub-electronic guide data based on each sub-electronic guide data; and determine the update start time corresponding to each sub-electronic guide data based on the priority of each sub-electronic guide data, the update time required for each sub-electronic guide data, the power required for updating each sub-electronic guide data, and the remaining power.
[0085] In one embodiment of this application, the transceiver unit 401 is used to receive a shared power bank rental request corresponding to the power bank base station from the user terminal, wherein the rental request includes the function type of the shared power bank;
[0086] Processing unit 402 is used to predict the update time required for the changed electronic guide data based on the changed electronic guide data;
[0087] The transceiver unit 401 is used to obtain the current remaining power of the shared power bank of the same function type in the power bank base station, and to obtain the update start time of the shared power bank of the same function type.
[0088] The processing unit 402 is used to determine the target shared power bank for the user to rent based on the update time required for the change of electronic guide data, the update start time of the shared power bank of the function type, and the current remaining power of the shared power bank of the function type.
[0089] In one embodiment of this application, the update record table is stored locally by the power bank base station. When there are multiple power bank base stations, after updating the original electronic guide data in the shared power bank, the processing unit 402 is used to update the update record table based on the identifier of the shared power bank by the first power bank base station. The first power bank base station is the power bank base station into which the shared power bank is inserted among the multiple power bank base stations.
[0090] The transceiver unit 401 is used to receive the identifier of the shared power bank from the first power bank base station;
[0091] The transceiver unit 401 is used to send the identifier of the shared power bank to the second power bank base station, wherein the second power bank base station is a power bank base station other than the first power bank base station among multiple power bank base stations;
[0092] The processing unit 402 is used to update the locally stored update record table of the second power bank base station based on the identifier of the shared power bank.
[0093] In one embodiment of this application, the update record table is stored on a server. After updating the original electronic guide data in the shared power bank, the transceiver unit 401 is used to receive the identifier of the shared power bank from the power bank base station; the processing unit 402 is used to update the update record table based on the identifier of the shared power bank.
[0094] In specific implementations, the transceiver unit 401 and processing unit 402 described in the embodiments of the present invention can execute other implementations described in the embodiments of the shared power bank electronic guide data update method provided in the embodiments of the present invention, which will not be repeated here.
[0095] See Figure 5 , Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 5 As shown, the electronic device 500 includes a transceiver 501, a processor 502, and a memory 503. These are connected via a bus 504. The memory 503 stores computer programs and data, and can transfer data stored in the memory 503 to the processor 502.
[0096] Processor 502 is used to read the computer program in memory 503 and perform the following operations:
[0097] The transceiver 501 receives the modified electronic guide data from the management terminal and sends the modified electronic guide data to the power bank base station.
[0098] When the power bank base station detects the insertion of a shared power bank, the control transceiver 501 obtains the identifier of the shared power bank to determine whether the identifier of the shared power bank exists in the update record table corresponding to the changed electronic guide data;
[0099] If the update record table does not contain the identifier for shared power banks, the original electronic guide data in the shared power banks will be updated based on the changed electronic guide data.
[0100] In one embodiment of this application, in updating the original electronic guide data in a shared power bank based on changed electronic guide data via a power bank base station, the processor 502 is specifically configured to perform the following steps:
[0101] Determine whether the current time period is during peak tourist season;
[0102] If not, the original electronic guide data in the shared power bank will be updated based on the changed electronic guide data via the power bank base station.
[0103] In one embodiment of this application, in updating the original electronic guide data in a shared power bank based on changed electronic guide data via a power bank base station, the processor 502 is specifically configured to perform the following steps:
[0104] Based on the changes in electronic guide data, predict the power consumption required for the update;
[0105] Control transceiver 501 to obtain the remaining power of the shared power bank;
[0106] Based on the power required for the update and the remaining power, determine the start time for the update corresponding to the change in electronic guide data;
[0107] By using the power bank base station to update the original electronic guide data in the shared power bank at the start time of the update, the system can be updated accordingly.
[0108] In one embodiment of this application, if the changed electronic guide data includes multiple sub-electronic guide data corresponding to multiple attractions, the processor 502 is specifically configured to perform the following steps to determine the update start time corresponding to the changed electronic guide data based on the power required for updating and the remaining power:
[0109] The transceiver 501 is controlled to acquire the popularity values of electronic guide data corresponding to multiple attractions in the original electronic guide data;
[0110] Based on the popularity values of electronic guide data corresponding to multiple attractions in the original electronic guide data, the priority of each sub-electronic guide data is determined; based on each sub-electronic guide data, the update time required for each sub-electronic guide data is predicted; based on the priority of each sub-electronic guide data, the update time required for each sub-electronic guide data, the power required for the update of each sub-electronic guide data, and the remaining power, the update start time for each sub-electronic guide data is determined.
[0111] In one embodiment of this application, the processor 502 is specifically used to perform the following steps:
[0112] The control transceiver 501 receives a shared power bank rental request corresponding to the power bank base station from the user terminal, wherein the rental request includes the function type of the shared power bank;
[0113] Based on the changes to the electronic guide data, predict the time required to update the corresponding changes to the electronic guide data;
[0114] The transceiver 501 controls the acquisition of the current remaining power of the shared power banks of the same function type in the power bank base station, as well as the update start time of the shared power banks of the same function type;
[0115] Based on the update time required for the changed electronic guide data, the update start time of the shared power bank of the different function types, and the current remaining power of the shared power bank of the different function types, the target shared power bank for the user to rent is determined.
[0116] In one embodiment of this application, the update record table is stored locally at the power bank base station. When there are multiple power bank base stations, after updating the original electronic guide data in the shared power bank, the processor 502 is specifically used to perform the following steps:
[0117] The update record table is updated based on the identifier of the shared power bank by the first power bank base station, where the first power bank base station is the power bank base station into which the shared power bank is inserted among multiple power bank base stations;
[0118] The transceiver 501 receives the identifier of the shared power bank from the first power bank base station;
[0119] The control transceiver 501 sends the identifier of the shared power bank to the second power bank base station, wherein the second power bank base station is a power bank base station other than the first power bank base station among multiple power bank base stations;
[0120] The second power bank base station updates the locally stored update record table based on the shared power bank's identifier.
[0121] In one embodiment of this application, the update record table is stored on a server. After updating the original electronic guide data in the shared power bank, the processor 502 is specifically used to perform the following steps:
[0122] The control transceiver 501 receives the identifier of the shared power bank from the power bank base station; and updates the update record table based on the identifier of the shared power bank.
[0123] Specifically, the transceiver 501 described above can be Figure 4 The transceiver unit 401 of the server 400 in the embodiment, the processor 502 can be Figure 4 The processing unit 402 of the server 400 in the embodiment.
[0124] In specific implementations, the transceiver 501 and processor 502 described in the embodiments of the present invention can also execute other implementations described in the embodiments of the shared power bank electronic guide data update method provided in the embodiments of the present invention, which will not be repeated here.
[0125] It should be understood that the electronic device in this application can be a server, such as a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, and big data and artificial intelligence platforms. This application does not make specific limitations. The above-mentioned electronic devices are merely examples and not exhaustive, and include but are not limited to the above-mentioned electronic devices.
[0126] It should be understood that embodiments of this application also provide a computer-readable storage medium storing a computer program that is executed by a processor to implement some or all of the steps of any of the shared power bank electronic guide data update methods described in the above method embodiments.
[0127] This application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the shared power bank electronic guide data update methods described in the above method embodiments.
[0128] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to this application.
[0129] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0130] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical or other forms.
[0131] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0132] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software program module.
[0133] If the integrated unit is implemented as a software program module and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0134] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0135] The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for updating shared power bank electronic guide data, characterized in that, A system for updating electronic tour guide data for shared power banks, the system comprising a server, power bank base stations, and a management terminal, the method comprising: The server receives modified electronic tour guide data from the management terminal; The server sends the modified electronic guide data to the power bank base station; When the power bank base station detects the insertion of a shared power bank, the power bank base station obtains the identifier of the shared power bank to determine whether the identifier of the shared power bank exists in the update record table corresponding to the changed electronic guide data; If the shared power bank's identifier is not found in the update record table, the power bank base station updates the original electronic guide data in the shared power bank based on the changed electronic guide data, including: The power bank base station obtains the file size of the modified electronic guide data and the current network speed. Based on the file size and current network speed, the power bank base station determines the first time required to download the modified electronic guide data. Based on the first time and a preset network power consumption, the power bank base station determines the first amount of electricity required to download the modified electronic guide data. Based on the file size and preset write speed, the power bank base station determines the second time required to write the modified electronic guide data. Based on the second time and preset write power consumption, the power bank base station determines the second amount of electricity required to write the modified electronic guide data. Based on the first and second amounts of electricity, the power bank base station determines the amount of electricity required for the update. The power bank base station obtains the remaining power of the shared power bank; The power bank base station determines the update start time corresponding to the changed electronic guide data based on the power required for the update and the remaining power; the power bank base station updates the original electronic guide data in the shared power bank based on the changed electronic guide data at the update start time; The power bank base station determines the update start time corresponding to the changed electronic guide data based on the power required for the update and the remaining power, including: If the remaining battery power is greater than the power required for the update, the power bank base station determines the update start time as the current time, or as the sum of the current time and a preset time empirical value; if the remaining battery power is less than the power required for the update, the power bank base station determines a first battery power difference between the power required for the update and the remaining battery power; based on the first battery power difference and a preset charging power, the power bank base station determines a first charging time required to charge the remaining battery power to the power required for the update; the power bank base station determines the update start time as the sum of the current time and the first charging time, or as the sum of the current time, the first charging time, and a preset time empirical value.
2. The method according to claim 1, characterized in that, The power bank base station updates the original electronic guide data in the shared power bank based on the modified electronic guide data, including: The power bank base station determines whether the current time period is during peak tourist season; If not, the power bank base station updates the original electronic guide data in the shared power bank based on the changed electronic guide data.
3. The method according to claim 1, characterized in that, If the modified electronic guide data includes multiple sub-electronic guide data corresponding to multiple attractions, the power bank base station determines the update start time corresponding to the modified electronic guide data based on the power required for the update and the remaining power, including: The power bank base station acquires the popularity value of the electronic guide data corresponding to the multiple attractions in the original electronic guide data; The power bank base station determines the priority of each sub-electronic guide data based on the popularity value of the electronic guide data corresponding to the multiple attractions in the original electronic guide data. The power bank base station predicts the update time required for each sub-electronic guide data based on the data of each sub-electronic guide data. The power bank base station determines the update start time corresponding to each sub-electronic guide data based on the priority of each sub-electronic guide data, the time required to update each sub-electronic guide data, the power required to update each sub-electronic guide data, and the remaining power.
4. The method according to any one of claims 1-3, characterized in that, The method further includes: The server receives a shared power bank rental request corresponding to the power bank base station from the user terminal, wherein the rental request includes the function type of the shared power bank; Based on the changed electronic guide data, the server predicts the update time required for the corresponding changed electronic guide data. The server obtains the current remaining power of the shared power bank of the specified function type in the power bank base station, and obtains the update start time of the shared power bank of the specified function type; The server determines the target shared power bank for the user to rent based on the update time required for the changed electronic guide data, the update start time of the shared power bank of the specified function type, and the current remaining power of the shared power bank of the specified function type.
5. The method according to any one of claims 1-4, characterized in that, The update record table is stored locally by the power bank base station. When there are multiple power bank base stations, after updating the original electronic guide data in the shared power bank, the method further includes: The first power bank base station updates the update record table based on the identifier of the shared power bank, wherein the first power bank base station is the power bank base station into which the shared power bank is inserted among multiple power bank base stations; The first power bank base station sends the identifier of the shared power bank to the server; The server sends the identifier of the shared power bank to the second power bank base station, wherein the second power bank base station is one of the multiple power bank base stations other than the first power bank base station; The second power bank base station updates the locally stored update record table based on the identifier of the shared power bank.
6. The method according to any one of claims 1-4, characterized in that, The update record table is stored on the server. After updating the original electronic guide data in the shared power bank, the method further includes: The power bank base station sends the identifier of the shared power bank to the server; The server updates the update record table based on the identifier of the shared power bank.
7. A system for updating shared power bank electronic tour guide data, the system being used to implement the method described in any one of claims 1-6, the system comprising a server, a power bank base station, and a management terminal; The server is used to receive modified electronic tour guide data from the management terminal; The modified electronic guide data is sent to the power bank base station; When the power bank base station detects the insertion of a shared power bank, the power bank base station obtains the identifier of the shared power bank to determine whether the identifier of the shared power bank exists in the update record table corresponding to the changed electronic guide data; If the shared power bank's identifier is not found in the update record table, the power bank base station updates the original electronic guide data in the shared power bank based on the changed electronic guide data.
8. An electronic device, characterized in that, include: A processor and a memory, the processor being connected to the memory, the memory being used to store a computer program, and the processor being used to execute the computer program stored in the memory to cause the electronic device to perform the method as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that is executed by a processor to implement the method as described in any one of claims 1-6.