Equipment upgrading method and device, electronic equipment and storage medium

The wireless shared charging pile receives and stores upgrade packages and upgrades when charging the electric bicycle, which solves the high cost of upgrading battery management equipment and safety hazards in electric bicycles, and achieves the effect of reducing costs and improving safety.

CN119473363APending Publication Date: 2025-02-18SUZHOU CHENGXIANG INTELLIGENT TECHNOLOGY CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411722091.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The cost of upgrading battery management equipment in electric bicycles is increased during the process of upgrading, and may cause safety hazards during driving.

Method used

Receive upgrade packages pushed by the server through wireless shared charging piles and upgrade them when charging the electric bicycle, avoiding the need to install additional communication devices.

Benefits of technology

It reduces the cost of the upgrade process of battery management equipment in electric bicycles, and improves the safety of the upgrade process, avoiding safety issues such as the sudden loss of power of the electric bicycle due to upgrades.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119473363A_ABST
    Figure CN119473363A_ABST
Patent Text Reader

Abstract

The invention provides an equipment upgrading method and device, electronic equipment and a storage medium, and relates to the technical field of wireless charging equipment upgrade.The equipment upgrading method comprises the steps that after a target upgrading package sent by a server is received, an upgrading object of the target upgrading package is determined; under the condition that the upgrading object is the battery management equipment in the plurality of electric bicycles, storing the target upgrading package in a first storage space in the wireless shared charging pile; and when the wireless shared charging pile charges a first electric bicycle in the plurality of electric bicycles, upgrading a first battery management device in the first electric bicycle according to the target upgrade package. The cost of the upgrading process of the battery management equipment in the electric bicycle is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wireless charging device upgrade, and in particular to a device upgrade method, device, electronic device and storage medium. Background Art

[0002] With the application of wireless charging in electric bicycles, operators have deployed many wireless shared charging piles to charge electric bicycles to meet the charging needs of electric bicycles. However, during the operation process, with the continuous advancement of technology and changes in market demand, the battery management devices in wireless shared charging piles and electric bicycles need to be upgraded. For example, the operating system and control software of the wireless shared charging piles need to be upgraded, and the battery management devices of electric bicycles need to be upgraded to optimize battery charging and usage strategies and enhance battery protection functions.

[0003] In the related art, the upgrade package is usually pushed remotely to the device to be upgraded (wireless shared charging pile and electric bicycle battery management device) through the server. After receiving the upgrade package, the device to be upgraded is updated. When upgrading the electric bicycle battery management device, it is necessary to additionally install a communication device (such as a 4G communication card) in the electric bicycle to achieve remote network connection with the server, and then receive the upgrade package pushed by the server, thereby realizing the upgrade of the battery management device. However, the additional installation of a communication device in the electric bicycle to establish a network connection with the server will increase the cost of the battery management device upgrade process in the electric bicycle. Summary of the invention

[0004] The problem solved by the present invention is how to reduce the cost of the upgrade process of the battery management equipment in the electric bicycle.

[0005] In order to solve the above problems, the present invention provides a device upgrading method, apparatus, electronic device and storage medium.

[0006] In a first aspect, the present invention provides a device upgrade method, which is applied to a wireless shared charging pile, wherein the wireless shared charging pile is used to wirelessly charge an electric bicycle, and the device upgrade method comprises: After receiving the target upgrade package sent by the server, determining the upgrade object of the target upgrade package; When the upgrade object is a battery management device in a plurality of electric bicycles, storing the target upgrade package in a first storage space in the wireless shared charging station; When the wireless shared charging station charges a first electric bicycle among the plurality of electric bicycles, the first battery management device in the first electric bicycle is upgraded according to the target upgrade package.

[0007] Optionally, upgrading the first battery management device in the first electric bicycle according to the target upgrade package includes: Controlling the wireless shared charging pile to establish a network connection with the first battery management device; The target upgrade package is transmitted to the first battery management device through the network connection, so that the first battery management device is upgraded according to the target upgrade package.

[0008] Optionally, before transmitting the target upgrade package to the first battery management device through the network connection, the device upgrade method further includes: Obtaining a first version number currently corresponding to the first battery management device and a second version number of the target upgrade package; When the first version number is smaller than the second version number, the target upgrade package is sent to the first battery management device.

[0009] Optionally, after transmitting the target upgrade package to the first battery management device through the network connection, the device upgrade method further includes: receiving a first instruction sent by the first battery management device at a first moment, wherein the first instruction is used to instruct the first battery management device to start upgrading; receiving a first instruction sent by the first battery management device at a second moment, wherein the first instruction is used to indicate that the first battery management device is successfully upgraded; Determining an initial end time of the first electric bicycle according to order information corresponding to the first electric bicycle, wherein the order information includes a charging time of the first electric bicycle; Acquire the charging state corresponding to the first electric bicycle at the initial end time; When the charging state indicates that the first electric bicycle is not fully charged and the position of the first electric bicycle remains unchanged, controlling the wireless shared charging pile to continue charging the first electric bicycle; At a third moment, the wireless shared charging pile is controlled to stop charging the first electric bicycle, wherein the duration between the initial end moment and the third moment is equal to the duration between the first moment and the second moment.

[0010] Optionally, before determining the upgrade object of the target upgrade package, the device upgrade method further includes: In response to the upgrade instruction sent by the server, sending a response message to the server, wherein the server divides the target upgrade package into a plurality of sub-upgrade packages, and the upgrade instruction includes a first quantity, and the first quantity is used to indicate the number of the sub-upgrade packages obtained by the server; Receiving the sub-upgrade packages sent sequentially by the server; After all the sub-upgrade packages are received, it is determined that the target upgrade package sent by the server is received.

[0011] Optionally, the receiving the sub-upgrade packages sequentially sent by the server includes: After receiving the first sub-upgrade package, verifying the first sub-upgrade package; If the first sub-upgrade package passes verification, the first sub-upgrade package is stored in the first storage space and a second sub-upgrade package is started to be received; If the first sub-upgrade package fails verification, stop receiving the sub-upgrade package and delete the sub-upgrade package stored in the first storage space, wherein the multiple sub-upgrade packages include the first sub-upgrade package and the second sub-upgrade package.

[0012] Optionally, the device upgrading method further includes: The transmitting the target upgrade package to the first battery management device through the network connection includes: Obtaining the charging power of the first electric bicycle; When the charging power is less than or equal to a preset power threshold, the target upgrade package is sent to the first battery management device through the network connection.

[0013] In a second aspect, the present invention provides a device upgrade apparatus, which is applied to a wireless shared charging pile, wherein the wireless shared charging pile is used to wirelessly charge an electric bicycle, comprising: A determination module, configured to determine an upgrade object of the target upgrade package after receiving the target upgrade package sent by the server; A storage module, configured to store the target upgrade package in a first storage space in the wireless shared charging station when the upgrade object is a battery management device in a plurality of electric bicycles; An upgrade module is used to upgrade a first battery management device in a first electric bicycle among the plurality of electric bicycles according to the target upgrade package when the wireless shared charging pile charges the first electric bicycle.

[0014] In a third aspect, the present invention provides an electronic device, including a memory and a processor; The memory is used to store computer programs; The processor is used to implement the device upgrade method as described in the first aspect when executing the computer program.

[0015] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the device upgrade method as described in the first aspect is implemented.

[0016] The beneficial effects of the equipment upgrade method, device, electronic device and storage medium of the present invention are: the server sends a target upgrade package to the wireless shared charging pile, and after receiving the target upgrade package, the wireless shared charging pile determines the upgrade object of the target upgrade package. If the upgrade object of the target upgrade package is the battery management devices of multiple electric bicycles, the target upgrade package is first stored in the first storage space of the wireless shared charging pile. The wireless shared charging pile stores the target upgrade package for upgrading the battery management device of the electric bicycle in the first storage space, and when an electric bicycle requests to charge the corresponding wireless shared charging pile, the battery management device of the electric bicycle is upgraded, that is, there is no need to perform centralized upgrade processing on all electric bicycles at the same time and place. When the wireless shared charging pile is charging any one of the multiple electric bicycles, that is, when the first electric bicycle is charged, the first battery management device in the first electric bicycle is upgraded according to the target upgrade package stored in the first storage space. Therefore, when the battery management device in the electric bicycle needs to be upgraded, the target upgrade package will be sent to the wireless shared charging pile first. When the wireless shared charging pile is charging a certain electric bicycle, the target upgrade package in the first electric bicycle can be upgraded through the wireless shared charging pile. There is no need for the first electric bicycle to establish a remote network connection with the server, and there is no need to install an additional communication device on the first electric bicycle to realize the remote network connection with the server. The battery management device can be upgraded by receiving the upgrade package pushed by the server through the wireless shared charging pile when the first electric bicycle is charging at the wireless shared charging pile, thereby reducing the cost of the battery management device upgrade process in the electric bicycle. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A schematic diagram of a device upgrade method according to an embodiment of the present invention; Figure 2 A schematic diagram of a wireless charging system architecture according to an embodiment of the present invention; Figure 3 A schematic diagram of a flow chart of another device upgrading method according to an embodiment of the present invention; Figure 4 A schematic diagram of the structure of a device upgrading apparatus according to an embodiment of the present invention; Figure 5 The figure is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0018] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be interpreted as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.

[0019] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.

[0020] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to"; the term "based on" means "based at least in part on"; the term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc. mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0021] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0022] The names of the messages or information exchanged between multiple devices in the embodiments of the present invention are only used for illustrative purposes, and are not used to limit the scope of these messages or information.

[0023] Operators deploy numerous wireless shared charging piles for wireless charging of electric bicycles. A network card is built into the wireless shared charging pile to realize communication between the wireless shared charging pile and the server. The position of the wireless shared charging pile is fixed, so that the network connection between the wireless shared charging pile and the server is relatively stable. There is a wireless sensing area in the wireless shared charging pile. A transmitting end is installed in the wireless sensing area for charging the electric bicycle. A receiving end is installed in the electric bicycle. For example, a receiving end is installed in the kickstand of the electric bicycle. The kickstand of the electric bicycle contacts the wireless sensing area. The transmitting end in the wireless sensing area establishes electromagnetic coupling with the kickstand in the electric bicycle to realize the transmission of electric energy. The receiving end is connected to the battery of the electric bicycle so that after the receiving end in the electric bicycle receives the electric energy from the transmitting end, the electric energy is transmitted to the battery of the electric bicycle, thereby realizing wireless charging of the electric bicycle by the wireless shared charging pile. Compared with wired charging, it is more convenient to use a wireless shared charging pile to wirelessly charge an electric bicycle.

[0024] The wireless shared charging pile has a built-in integrated board, which carries the control system of the wireless shared charging pile. The electric bicycle has a built-in battery management device. The version upgrade of the wireless shared charging pile refers to upgrading the control system of the wireless shared charging pile, including upgrading the firmware or software of the charging pile to fix known vulnerabilities and add new functions, such as supporting more wireless charging standards, providing faster charging speeds, and adding remote monitoring and management functions. Upgrading the electric bicycle means upgrading the built-in battery management device of the electric bicycle, including fixing known vulnerabilities in the management strategy of the battery management device or upgrading the battery management strategy or upgrading the power conversion strategy, etc., to achieve more efficient charging and battery safety.

[0025] In the related technology, OTA technology (Over The Air, air transmission technology) is used to achieve the upgrade, specifically by directly establishing a network connection between the server and the device to be upgraded, and remotely pushing the upgrade package to the device to be upgraded to achieve the upgrade. Electric bicycles are generally equipped with a module for near-field network connection to enable the electric bicycle to establish a network connection with other devices within a short distance. For example, Bluetooth modules, NFC, etc. are provided in electric bicycles, but the server pushes the upgrade package generally remotely, and it is impossible to push the upgrade package through the near-field network connection, thereby achieving the upgrade of the battery management device of the electric bicycle. Therefore, when upgrading the battery management device of the electric bicycle, it is necessary to install an additional communication device (such as a 4G communication card) in the electric bicycle to achieve a remote network connection with the server, and then receive the upgrade package pushed by the server, thereby achieving the upgrade of the battery management device. However, installing an additional communication device in the electric bicycle to establish a network connection with the server will increase the cost of the battery management device upgrade process in the electric bicycle.

[0026] In addition, when the server remotely pushes the upgrade package to upgrade the battery management device in the electric bicycle, the electric bicycle may be running. If the upgrade is performed at this time, the battery may not work normally during the upgrade process. After the upgrade is completed, the battery management device needs to be restarted. Therefore, the electric bicycle may not be able to run normally. If the upgrade is performed while driving at high speed, the electric bicycle may suddenly lose power, posing a danger to the driver and even causing a safety accident.

[0027] In view of the problems existing in the above-mentioned related technologies, this embodiment provides a device upgrading method, apparatus, electronic device and storage medium.

[0028] like Figure 1 As shown, an embodiment of the present invention provides a device upgrade method, which is applied to a wireless shared charging pile, and the wireless shared charging pile is used to wirelessly charge multiple electric bicycles, including: Step S100, after receiving the target upgrade package sent by the server, determining the upgrade object of the target upgrade package; Specifically, the system architecture of wireless charging is as follows: Figure 2 As shown in FIG. 1 , the system architecture includes a server, multiple wireless shared charging piles, and multiple electric bicycles. The user sends an order request to the server by scanning a code or other means to use one of the multiple wireless shared charging piles to charge the electric bicycle corresponding to the user. The server and the multiple wireless shared charging piles always maintain a network connection to achieve data interaction. When the operator needs to upgrade the battery management device in the wireless shared charging pile or the electric bicycle, the target upgrade package for the upgrade is uploaded to the server, and then the target upgrade package is pushed to the corresponding device to complete the upgrade.

[0029] The server does not directly establish a network connection with the battery management device in the electric bicycle, but only establishes a network connection with each of the multiple wireless shared charging piles. Therefore, when the server detects that a new upgrade package (target upgrade package) is uploaded to the server, the server sends the target upgrade package to the multiple shared charging piles, where each shared charging pile executes the device upgrade method after receiving the target upgrade package sent by the server.

[0030] The target upgrade package may be an upgrade package for upgrading the wireless shared charging pile, or it may be an upgrade package for upgrading the battery management device in the electric bicycle. After receiving the target upgrade package, the wireless shared charging pile first determines whether the upgrade object of the target upgrade package is the wireless shared charging pile or the battery management device in the electric bicycle.

[0031] Step S200, when the upgrade object is a battery management device in a plurality of electric bicycles, storing the target upgrade package in a first storage space in the wireless shared charging pile; Specifically, the upgrade object of the target upgrade package is the battery management device in multiple electric bicycles, which means that the target upgrade package is used to upgrade the battery management device, and the target upgrade package is stored in the first storage space in the wireless shared charging pile, wherein the first storage space is used to store the upgrade package for upgrading the battery management device.

[0032] Step S300, when the wireless shared charging pile charges a first electric bicycle among the plurality of electric bicycles, a first battery management device in the first electric bicycle is upgraded according to the target upgrade package.

[0033] Specifically, the first electric bicycle is an electric bicycle being charged by a wireless shared charging pile. At this time, the battery management device (first battery management device) in the electric bicycle being charged by the wireless shared charging pile is upgraded according to the upgrade package (i.e., the target upgrade package) stored in the first storage space.

[0034] In this embodiment, the server sends a target upgrade package to the wireless shared charging pile. After receiving the target upgrade package, the wireless shared charging pile determines the upgrade object of the target upgrade package. If the upgrade object of the target upgrade package is the battery management devices of multiple electric bicycles, the target upgrade package is first stored in the first storage space of the wireless shared charging pile. The wireless shared charging pile stores the target upgrade package for upgrading the battery management device of the electric bicycle in the first storage space, and when an electric bicycle requests to charge the corresponding wireless shared charging pile, the battery management device of the electric bicycle is upgraded. That is, there is no need to perform centralized upgrade processing on all electric bicycles at the same time and place. When the wireless shared charging pile is charging any one of the multiple electric bicycles, that is, when the first electric bicycle is charged, the first battery management device in the first electric bicycle is upgraded according to the target upgrade package stored in the first storage space. Therefore, when the battery management device in the electric bicycle needs to be upgraded, the target upgrade package will be sent to the wireless shared charging pile first. When the wireless shared charging pile is charging a certain electric bicycle, the target upgrade package in the first electric bicycle can be upgraded through the wireless shared charging pile. There is no need for the first electric bicycle to establish a remote network connection with the server, and there is no need to install an additional communication device on the first electric bicycle to realize the remote network connection with the server. The battery management device can be upgraded by receiving the upgrade package pushed by the server through the wireless shared charging pile when the first electric bicycle is charging at the wireless shared charging pile, thereby reducing the cost of the battery management device upgrade process in the electric bicycle.

[0035] In addition, at this time, the position range of the first electric bicycle is fixed and it is not in a driving state. At this time, the first battery management device in the first electric bicycle will not cause the electric bicycle to be upgraded during driving, and safety problems such as sudden loss of power will not occur, thereby ensuring driving safety and improving the safety of upgrading the battery management device in the electric bicycle.

[0036] Optionally, upgrading the first battery management device in the first electric bicycle according to the target upgrade package includes: Controlling the wireless shared charging pile to establish a network connection with the first battery management device; The target upgrade package is transmitted to the first battery management device through the network connection, so that the first battery management device is upgraded according to the target upgrade package.

[0037] Specifically, since the first electric bicycle is generally equipped with a module for near-field network connection, when the wireless shared charging pile is charging the first electric bicycle, the first electric bicycle is very close to the wireless shared charging pile, and a near-field network connection, such as a Bluetooth connection or an NFC connection, can be established between the first electric bicycle and the wireless shared charging pile; the target upgrade package is transmitted to the first battery management device through the network connection, and the first battery management device can be upgraded according to the target upgrade package after receiving the target upgrade package. Through the existing network connection module in the first electric bicycle, the target upgrade package can be received to upgrade the battery management device.

[0038] In the related art, the server directly establishes a network connection with the battery management device, but the position of the electric bicycle is not fixed and may be placed in a location with poor network conditions. Even if it is not in a driving state, it is difficult to establish a network connection with the battery management device in the electric bicycle, and the upgrade cannot be achieved. That is, the related art cannot guarantee that the upgrade of the battery management device can be completed smoothly, and the reliability is not high. In this embodiment, the position of the wireless shared charging pile is fixed, and the wireless shared charging pile is very close to the first electric bicycle. The wireless shared charging pile establishes a relatively stable network connection with the first battery management device, ensuring the smooth upgrade of the first electric bicycle and improving the reliability of the upgrade process.

[0039] Optionally, before transmitting the target upgrade package to the first battery management device through the network connection, the device upgrade method includes: Obtaining a first version number currently corresponding to the first battery management device and a second version number of the target upgrade package; When the first version number is smaller than the second version number, the target upgrade package is sent to the first battery management device.

[0040] Specifically, since the wireless shared charging pile provides charging services for multiple electric bicycles, the first electric bicycle has already completed the upgrade during the last wireless charging process. If the target upgrade package is transmitted to the first battery management device during this charging process, and the first battery management device is upgraded according to the target upgrade package, there will be repeated upgrades of the battery management device that is already the latest version, resulting in a waste of resources.

[0041] In this embodiment, the version number represents the version of the battery management device. The larger the version number, the newer the version of the corresponding battery management device. Before the wireless shared charging pile sends the target upgrade package to the first battery management device, the current version number (first version number) of the first battery management device is compared with the version number (second version number) corresponding to the target upgrade package. Only when the first version number is less than the second version number, the system will send the target upgrade package to the first battery management device, preventing repeated upgrades of devices that are already the latest version, reducing the waste of system resources.

[0042] Optionally, after transmitting the target upgrade package to the first battery management device through the network connection, the device upgrade method includes: receiving a first instruction sent by the first battery management device at a first moment, wherein the first instruction is used to instruct the first battery management device to start upgrading; receiving a second instruction sent by the first battery management device at a second moment, wherein the second instruction is used to indicate that the first battery management device is successfully upgraded; Determining an initial end time of the first electric bicycle according to order information corresponding to the first electric bicycle, wherein the order information includes a charging time of the first electric bicycle; Acquire the charging state corresponding to the first electric bicycle at the initial end time; When the charging state indicates that the first electric bicycle is not fully charged and the position of the first electric bicycle remains unchanged, controlling the wireless shared charging pile to continue charging the first electric bicycle; At a third moment, the wireless shared charging pile is controlled to stop charging the first electric bicycle, wherein the duration between the initial end moment and the third moment is equal to the duration between the first moment and the second moment.

[0043] Optionally, when a user needs to use a wireless shared charging pile for an electric bicycle, the user generally initiates a charging request through a mobile terminal such as a mobile phone to generate order information. The order information includes the charging time requested by the user (the charging time of the first electric bicycle) and the start time of the charging request. The user requests the wireless shared charging pile to charge the first electric bicycle for 3 hours at 14:00 (start time). The initial end time can be determined based on the order information. That is, if charging normally, the order will end charging after three hours (that is, 17:00), and 17:00 corresponds to the initial end time.

[0044] During the upgrade process, a certain amount of power resources needs to be allocated to handle the upgrade task. At this time, the battery charging efficiency of the first electric bicycle is reduced, but the corresponding charging order duration for the first electric bicycle is fixed. Under the same charging duration, the charging power of the first electric bicycle is reduced due to the upgrade task, which brings potential economic losses to the user. Therefore, in this embodiment, it is determined whether it is necessary to extend the charging time of the first electric bicycle in combination with the charging status and position of the first electric bicycle, and the loss caused by the upgrade task is compensated by extending the charging time.

[0045] The first battery management device in the first electric bicycle starts to upgrade the first battery management device after receiving the target upgrade package, and sends a first instruction to the wireless shared charging pile at the same time as starting the upgrade, for instructing the first battery management device to start the upgrade, and the time of starting the upgrade is the first time. When the upgrade is completed, a second instruction is sent to the wireless shared charging pile to instruct the first battery management device to end the upgrade. The wireless shared charging device learns the time (first time) when the first battery management device starts upgrading and the time (second time) when the upgrade is ended through the first instruction and the second instruction, and determines the duration used in the upgrade process through the first time and the second time (the duration between the first time and the second time, recorded as the first duration). After reaching the initial end time, if the first electric bicycle is not moved away and the first electric bicycle is not fully charged at this time, the wireless shared charging device continues to charge the first electric bicycle, that is, to extend the charging time of the first electric bicycle for a period of time, and the extended time is equal to the first duration. After the charging time is extended, the first electric bicycle is stopped from charging at the third time, and the duration from the initial end time to the third time is equal to the first duration.

[0046] Optionally, before receiving the second instruction sent by the first battery management device at the second time, the method further includes: determining generation and failure time information according to the peak period of use of the wireless shared charging pile, wherein the generation and failure time includes an effective time period and a failure time period; Integrate the generation and expiration time information with the target upgrade package to obtain integrated information; The integrated information is sent to a first battery management device in the first electric bicycle, so that the first battery management device is upgraded according to the integrated information.

[0047] The first battery management device is upgraded according to the integrated information, including: the first battery management device is upgraded according to the target upgrade package in the integrated information; After the upgrade is completed, the first battery management device determines whether the second moment is within the failure time period; When the second moment is in the invalid time period, the first battery management device sends a third instruction to the wireless shared charging pile at the second moment, wherein the third instruction is used to instruct the wireless shared charging pile to charge according to the actual charging power of the first electric bicycle during the charging process.

[0048] When the second moment is in the effective time period, the first battery management device sends the second instruction to the wireless shared charging pile at the second moment.

[0049] Specifically, if the charging time of the first electric bicycle is extended during the peak period of use of the wireless shared charging pile, the first electric bicycle will occupy the wireless shared charging pile for a long time, which will affect the charging needs of other users. The time period corresponding to the peak period of use will be determined as the invalid time period, and the time period not corresponding to the peak period will be determined as the valid time period.

[0050] The expiration time information and the target upgrade package are integrated together and sent to the first battery management device. After receiving the integrated information, the first battery management device first completes the upgrade according to the target upgrade package. At the moment of completing the upgrade (the second moment), it is determined whether the second moment is within the expiration time period. If it is within the expiration time period, the first battery management device requests to change the billing rules. The original first battery management device uses the time-based billing rules. If the second moment is within the expiration time period, in order not to affect other users' use of the wireless shared charging pile, the use time of the first electric bicycle will not be extended. However, in order to reduce the losses of the users corresponding to the first electric bicycle during the upgrade process, the time-based billing rules are changed to billing based on the actual charging power of the first electric bicycle.

[0051] If the second moment is within the effective time period, the first battery management device sends a second instruction, and according to the second instruction, the charging time for the first electric bicycle is extended according to the method described in the above embodiment.

[0052] Optionally, before determining the upgrade object of the target upgrade package, the device upgrade method further includes: In response to the upgrade instruction sent by the server, sending a response message to the server, wherein the server divides the target upgrade package into a plurality of sub-upgrade packages, and the upgrade instruction includes a first quantity, and the first quantity is used to indicate the number of the sub-upgrade packages obtained by the server; Receiving the sub-upgrade packages sent sequentially by the server; After all the sub-upgrade packages are received, it is determined that the target upgrade package sent by the server is received.

[0053] Specifically, after receiving the target upgrade package uploaded by the operator, the server first sends an upgrade instruction to the server. The wireless shared charging pile responds to the upgrade instruction and sends a response message to the server. Then the server sends the target upgrade package to the wireless shared charging pile.

[0054] After receiving the target upgrade package, the server divides the target upgrade package into multiple sub-upgrade packages, and transmits the multiple sub-upgrade packages to the wireless shared charging pile in sequence. When sending an upgrade instruction, the upgrade instruction includes the number of sub-upgrade packages divided by the server (a first number). The wireless shared charging pile receives the sub-upgrade packages sent by the server in sequence. When the number of received sub-upgrade packages is the first number, it is determined that all sub-upgrade packages have been received, and the target upgrade package can be obtained by merging the multiple sub-upgrade packages.

[0055] Optionally, the receiving the sub-upgrade packages sequentially sent by the server includes: After receiving the first sub-upgrade package, verifying the first sub-upgrade package; If the first sub-upgrade package passes verification, the first sub-upgrade package is stored in the first storage space and a second sub-upgrade package is started to be received; If the first sub-upgrade package fails verification, stop receiving the sub-upgrade package and delete the sub-upgrade package stored in the first storage space, wherein the multiple sub-upgrade packages include the first sub-upgrade package and the second sub-upgrade package.

[0056] Specifically, after receiving the first sub-upgrade package among multiple sub-upgrade packages, the first sub-upgrade package is verified. This verification mechanism ensures the integrity and correctness of each sub-upgrade package, avoiding upgrade failures due to data corruption or errors. If the first sub-upgrade package passes the verification, it is stored in the first storage space and the second sub-upgrade package is started to be received, ensuring sequential storage and processing of upgrade data. If the first sub-upgrade package fails the verification, the system stops receiving sub-upgrade packages and deletes the sub-upgrade packages stored in the first storage space, ensuring that the upgrade process can be stopped in time when an error is found, avoiding system failures caused by erroneous data.

[0057] Optionally, transmitting the target upgrade package to the first battery management device through the network connection includes: Obtaining the charging power of the first electric bicycle; When the charging power is less than or equal to a preset power threshold, the target upgrade package is sent to the first battery management device through the network connection.

[0058] Specifically, when the upgrade process is not involved, during the charging process of the first electric bicycle, the corresponding charging power will be different according to the different charge states of the first electric bicycle. Specifically, when the charge state (battery power) of the first electric bicycle is less than or equal to the charge state threshold, for example, when the battery power of the electric vehicle is less than or equal to 80%, the battery of the first electric bicycle is charged with a larger charging power; when the charge state of the first electric bicycle is greater than the charge state threshold, for example, when the battery power of the electric vehicle is greater than 80%, the battery of the first electric bicycle is charged with a smaller charging power.

[0059] During the upgrade of the first battery management device, a certain amount of power resources needs to be allocated to process the upgrade task, resulting in a decrease in the charging power of the first electric bicycle, and further resulting in a decrease in the battery charging efficiency of the first electric bicycle.

[0060] In order to minimize the impact on battery charging efficiency, the wireless shared charging pile starts sending the target upgrade package when the charging power of the first electric bicycle is relatively low (i.e., less than the preset power threshold), and then the first electric bicycle starts to upgrade the first battery management device. At this time, due to the low charging power, the impact on the charging power during the upgrade process is also small. At this time, the battery power of the first electric bicycle is relatively high, so the electric bicycle can be upgraded stably.

[0061] Optionally, the device upgrading method further includes: When the upgrade object is the wireless shared charging pile, the wireless shared charging pile is upgraded according to the target upgrade package.

[0062] Specifically, for the upgrade of the wireless shared charging pile, the server also directly sends the upgrade package for the wireless shared charging pile to the wireless shared charging pile. Therefore, the wireless shared charging pile may receive an upgrade package for upgrading the wireless shared charging pile in the target upgrade package. Therefore, it is necessary to judge the upgrade object of the target upgrade package. When the upgrade object is the wireless shared charging pile, the wireless shared charging pile can be directly upgraded.

[0063] Optionally, before upgrading the wireless shared charging pile according to the target upgrade package, determine whether the wireless shared charging pile is in a power supply state; when the wireless shared charging pile is in a power supply state, the power supply state indicates that the wireless shared charging pile is charging a second electric bicycle; determine the charging end time of the wireless shared charging pile according to the wireless shared charging pile; after the charging end time and when the position of the second electric bicycle remains unchanged, control the wireless shared charging pile to continue charging the second electric bicycle; at a fourth moment, control the wireless shared charging pile to stop charging the first electric bicycle, wherein the time between the charging end time and the fourth moment is equal to the time between the fifth moment and the sixth moment, the fifth moment is the moment when the upgrade of the wireless shared charging pile starts, and the sixth moment is the moment when the upgrade of the wireless shared charging pile is completed.

[0064] like Figure 3 As shown, after receiving the target upgrade package sent by the server, the wireless shared charging pile first determines the upgrade object of the target upgrade package. When the upgrade object is the wireless shared charging pile, it determines whether the wireless shared charging pile is currently charging an electric bicycle, that is, whether it is in a power supply state. If it is in a power supply state, it starts to use the target upgrade package to upgrade the wireless shared charging pile and extend the charging time for the electric bicycle. If it is not in a power supply state, it only uses the target upgrade package to upgrade the wireless shared charging pile.

[0065] When the upgrade object is a battery management device, the target upgrade package is stored in the first storage space. When the wireless shared charging device is charging an electric bicycle, a network connection with the battery management device of the electric bicycle is established to determine whether the first version number corresponding to the battery management device is less than the second version number corresponding to the target upgrade package. When the first version number is less than the second version number, the target upgrade package stored in the first storage space is sent to the battery management device. The battery management device completes the upgrade according to the target upgrade package, and the wireless shared charging pile extends the charging time for the electric bicycle.

[0066] like Figure 4 As shown, an embodiment of the present invention provides a device upgrading apparatus 400, comprising: A determination module 410 is used to determine an upgrade object of the target upgrade package after receiving the target upgrade package sent by the server; The storage module 420 is used to store the target upgrade package in the first storage space in the wireless shared charging pile when the upgrade object is a battery management device in a plurality of electric bicycles; The upgrade module 430 is used to upgrade the first battery management device in the first electric bicycle according to the target upgrade package when the wireless shared charging pile charges the first electric bicycle among the multiple electric bicycles.

[0067] The device upgrade apparatus of this embodiment is used to implement the device upgrade method described above. Its advantages over the prior art are the same as the advantages of the device upgrade method described above over the prior art, and will not be repeated here.

[0068] Optionally, the above-mentioned upgrade module upgrades the first battery management device in the first electric bicycle according to the target upgrade package in the following manner: controlling the wireless shared charging pile to establish a network connection with the first battery management device; transmitting the target upgrade package to the first battery management device through the network connection, so that the first battery management device is upgraded according to the target upgrade package.

[0069] Optionally, the above-mentioned device upgrade device is also used to obtain the first version number currently corresponding to the first battery management device and the second version number of the target upgrade package before transmitting the target upgrade package to the first battery management device through the network connection; when the first version number is less than the second version number, the target upgrade package is sent to the first battery management device.

[0070] Optionally, the above-mentioned device upgrading device is also used to, after transmitting the target upgrade package to the first battery management device through the network connection: receive a first instruction sent by the first battery management device at a first moment, wherein the first instruction is used to instruct the first battery management device to start upgrading; receive a first instruction sent by the first battery management device at a second moment, wherein the first instruction is used to indicate that the first battery management device has been successfully upgraded; determine the initial end time of the first electric bicycle according to the order information corresponding to the first electric bicycle, wherein the order information includes the charging time of the first electric bicycle; obtain the charging status corresponding to the first electric bicycle at the initial end time; when the charging status indicates that the first electric bicycle is not fully charged and the position of the first electric bicycle remains unchanged, control the wireless shared charging pile to continue charging the first electric bicycle; at a third moment, control the wireless shared charging pile to stop charging the first electric bicycle, wherein the time between the initial end time and the third moment is equal to the time between the first moment and the second moment.

[0071] Optionally, the above-mentioned device upgrade device is also used to send a response message to the server in response to an upgrade instruction sent by the server before determining the upgrade object of the target upgrade package, wherein the server divides the target upgrade package into multiple sub-upgrade packages, and the upgrade instruction includes a first quantity, and the first quantity is used to indicate the number of the sub-upgrade packages obtained by the server; receive the sub-upgrade packages sent by the server in sequence; and determine the target upgrade package sent by the server after receiving all the sub-upgrade packages.

[0072] Optionally, the above-mentioned equipment upgrade device is also used to receive the sub-upgrade packages sent sequentially by the server in the following manner: after receiving the first sub-upgrade package, verify the first sub-upgrade package; if the first sub-upgrade package passes the verification, store the first sub-upgrade package in the first storage space and start receiving the second sub-upgrade package; if the first sub-upgrade package fails the verification, stop receiving the sub-upgrade packages and delete the sub-upgrade packages stored in the first storage space, wherein the multiple sub-upgrade packages include the first sub-upgrade package and the second sub-upgrade package.

[0073] Optionally, the above-mentioned device upgrade apparatus is also used to transmit the target upgrade package to the first battery management device through the network connection in the following manner: obtaining the charging power of the first electric bicycle; and when the charging power is less than or equal to a preset power threshold, sending the target upgrade package to the first battery management device through the network connection.

[0074] like Figure 5 As shown, an electronic device 500 provided by an embodiment of the present invention includes a memory 510 and a processor 520; the memory 510 is used to store a computer program; the processor 520 is used to implement the device upgrade method as described above when executing the computer program.

[0075] In other words, an electronic device 500 includes a memory 510 and a processor 520 coupled to the memory 510; the memory 510 is configured to store a computer program; and the processor 520 is configured to perform the following operations when executing the computer program: After receiving the target upgrade package sent by the server, determining the upgrade object of the target upgrade package; When the upgrade object is a battery management device in a plurality of electric bicycles, storing the target upgrade package in a first storage space in the wireless shared charging station; When the wireless shared charging station charges a first electric bicycle among the plurality of electric bicycles, the first battery management device in the first electric bicycle is upgraded according to the target upgrade package.

[0076] An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the device upgrade method as described above is implemented.

[0077] In other words, a non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor performs the following operations: After receiving the target upgrade package sent by the server, determining the upgrade object of the target upgrade package; When the upgrade object is a battery management device in a plurality of electric bicycles, storing the target upgrade package in a first storage space in the wireless shared charging station; When the wireless shared charging station charges a first electric bicycle among the plurality of electric bicycles, the first battery management device in the first electric bicycle is upgraded according to the target upgrade package.

[0078] An electronic device 500 that can be used as a server or client of the present invention will now be described, which is an example of a hardware device that can be applied to various aspects of the present invention. The electronic device 500 is intended to represent various forms of digital electronic computer equipment, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device 500 can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples, and are not intended to limit the implementation of the present invention described and / or required herein.

[0079] The electronic device 500 includes a computing unit, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) or a computer program loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for the operation of the device can also be stored. The computing unit, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.

[0080] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc. In the present application, the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the present invention. In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

[0081] Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.

Claims

1. A device upgrading method, characterized in that: Applied to a wireless shared charging pile, the wireless shared charging pile is used to wirelessly charge multiple electric bicycles, and the device upgrade method includes: After receiving the target upgrade package sent by the server, determining the upgrade object of the target upgrade package; When the upgrade object is a battery management device in a plurality of electric bicycles, storing the target upgrade package in a first storage space in the wireless shared charging station; When the wireless shared charging station charges a first electric bicycle among the plurality of electric bicycles, the first battery management device in the first electric bicycle is upgraded according to the target upgrade package.

2. The device upgrade method according to claim 1, characterized in that: The step of upgrading the first battery management device in the first electric bicycle according to the target upgrade package includes: Controlling the wireless shared charging pile to establish a network connection with the first battery management device; The target upgrade package is transmitted to the first battery management device through the network connection, so that the first battery management device is upgraded according to the target upgrade package.

3. The device upgrade method according to claim 2, characterized in that: Before transmitting the target upgrade package to the first battery management device through the network connection, the device upgrade method further includes: Obtaining a first version number currently corresponding to the first battery management device and a second version number of the target upgrade package; When the first version number is smaller than the second version number, the target upgrade package is sent to the first battery management device.

4. The device upgrade method according to claim 2, characterized in that: After transmitting the target upgrade package to the first battery management device through the network connection, the device upgrade method further includes: receiving a first instruction sent by the first battery management device at a first moment, wherein the first instruction is used to instruct the first battery management device to start upgrading; receiving a first instruction sent by the first battery management device at a second moment, wherein the first instruction is used to indicate that the first battery management device is successfully upgraded; Determining an initial end time of the first electric bicycle according to order information corresponding to the first electric bicycle, wherein the order information includes a charging time of the first electric bicycle; Acquire the charging state corresponding to the first electric bicycle at the initial end time; When the charging state indicates that the first electric bicycle is not fully charged and the position of the first electric bicycle remains unchanged, controlling the wireless shared charging pile to continue charging the first electric bicycle; At a third moment, the wireless shared charging pile is controlled to stop charging the first electric bicycle, wherein the duration between the initial end moment and the third moment is equal to the duration between the first moment and the second moment.

5. The device upgrading method according to claim 1, characterized in that: Before determining the upgrade object of the target upgrade package, the device upgrade method further includes: In response to the upgrade instruction sent by the server, sending a response message to the server, wherein the server divides the target upgrade package into a plurality of sub-upgrade packages, and the upgrade instruction includes a first quantity, and the first quantity is used to indicate the number of the sub-upgrade packages obtained by the server; Receiving the sub-upgrade packages sent sequentially by the server; After all the sub-upgrade packages are received, it is determined that the target upgrade package sent by the server is received.

6. The device upgrade method according to claim 5, characterized in that: The receiving the sub-upgrade packages sequentially sent by the server includes: After receiving the first sub-upgrade package, verifying the first sub-upgrade package; If the first sub-upgrade package passes verification, the first sub-upgrade package is stored in the first storage space and a second sub-upgrade package is started to be received; If the first sub-upgrade package fails verification, stop receiving the sub-upgrade package and delete the sub-upgrade package stored in the first storage space, wherein the multiple sub-upgrade packages include the first sub-upgrade package and the second sub-upgrade package.

7. The device upgrading method according to claim 2, characterized in that: The transmitting the target upgrade package to the first battery management device through the network connection includes: Obtaining the charging power of the first electric bicycle; When the charging power is less than or equal to a preset power threshold, the target upgrade package is sent to the first battery management device through the network connection.

8. A device upgrading apparatus, characterized in that: Applied to a wireless shared charging pile, the wireless shared charging pile is used to wirelessly charge multiple electric bicycles, including: A determination module, configured to determine an upgrade object of the target upgrade package after receiving the target upgrade package sent by the server; A storage module, configured to store the target upgrade package in a first storage space in the wireless shared charging station when the upgrade object is a battery management device in a plurality of electric bicycles; An upgrade module is used to upgrade a first battery management device in a first electric bicycle among the plurality of electric bicycles according to the target upgrade package when the wireless shared charging pile charges the first electric bicycle.

9. An electronic device, characterized in that: including memory and processor; The memory is used to store computer programs; The processor is used to implement the device upgrade method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the device upgrade method according to any one of claims 1 to 7 is implemented.