A method for remotely upgrading batteries via a smart food delivery motorcycle
Through the remote battery upgrade method of intelligent takeaway motorcycles, the coordinated work of the takeaway delivery management system and the central controller is used to realize the automatic upgrade of the battery, solving the problems of high battery upgrade cost and poor timeliness in the existing technology, and reducing operation and maintenance Difficulty and improve economic benefits.
Patent Information
- Application Number
- CN202211695343.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-28
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2042-12-28
AI Technical Summary
The existing battery BMS lacks communication modules, which leads to failure to remote upgrades when there is a problem or function increase, and requires manual on-site processing or return to the factory for repair, resulting in high labor and cost.
Through the remote battery upgrade method of intelligent takeaway motorcycles, upload upgrade files using the takeaway delivery management system, create upgrade tasks and set rules, determine battery upgrade conditions regularly, issue upgrade packages and perform CRC32 verification, ensure the integrity of the upgrade package and achieve Automated upgrade.
Reduce operation and maintenance costs, improve the timeliness of battery upgrades, reduce the burden on operation and maintenance personnel, save equipment costs, achieve timely and quantitative upgrades, and do not affect the normal operation of the equipment and increase economic benefits.
Smart Images

Figure CN116055320B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things, and in particular to a method for remotely upgrading a battery via a smart food delivery electric motorcycle. Background Art
[0002] Currently, most battery BMSs on the market do not have communication modules, which means that once a BMS fails or a new function is added, it cannot be upgraded remotely. Operation and maintenance personnel must go to the site to handle it or the battery must be returned to the factory for repair, which incurs huge manpower and expense costs. Summary of the invention
[0003] The purpose of the present invention is to provide a method for remotely upgrading the battery of an intelligent takeout electric motorcycle, which reduces the cost of manual operation and maintenance, improves the timeliness of battery upgrades, and increases product reliability. The method does not require the battery to have a remote communication function, saves equipment costs, and can realize remote automatic task upgrades. The remote battery can be upgraded in a timely and quantitative manner, which reduces the difficulty of the operation and maintenance personnel to go to the site, does not affect the normal operation of the equipment, increases economic and work benefits, and can effectively solve the problems raised in the above-mentioned background technology.
[0004] To achieve the above object, according to one aspect of the present invention, the present invention provides a method for remotely upgrading a battery via a smart food delivery electric motorcycle, the method comprising:
[0005] Upload the battery upgrade file to the food delivery management system;
[0006] Create an upgrade task in the food delivery management system and set the battery upgrade rules;
[0007] The food delivery management system periodically determines whether the battery of the smart food delivery motorcycle has reached the upgrade condition;
[0008] If the upgrade conditions are met, the food delivery management system will send the battery upgrade file to the smart food delivery motorcycle and save the battery upgrade package in the storage area of the central controller. If the upgrade fails, it will indicate that the device upgrade has failed in the upgrade task.
[0009] The central controller of the smart food delivery motorcycle performs CRC32 calculation and packet length calculation on the battery upgrade package, and then compares it with the upgrade package issued by the food delivery management system. If the comparison passes, it proceeds to the next step. If the comparison fails, it requests the food delivery management system to start the upgrade. If three requests to download the upgrade package fail, the upgrade task will be directly defined as a failure.
[0010] The central controller forwards the battery upgrade package that passes the comparison to the battery. The battery BMS performs CRC32 calculation and package length calculation on the battery upgrade package, and then compares it with the upgrade package sent by the upgrade request. If the comparison passes, it proceeds to the next step. If it fails, it requests the central controller to start the upgrade again. If three requests to download the upgrade package fail, the upgrade task will be directly defined as a failure.
[0011] After the battery receives the correct and complete upgrade package, use this file as the upgrade package to upgrade the system;
[0012] After the battery upgrade is successful, the RS485 interface will be used to notify the central controller of the upgrade completion. The central controller will then forward the battery upgrade completion information to the food delivery management system. The food delivery management system will change the upgrade task of the battery that meets the battery upgrade rules within this task to success. Subsequent logins of this batch of smart food delivery motorcycles will not respond to this battery upgrade task unless the aforementioned battery upgrade task is encountered again.
[0013] Preferably, after uploading the battery upgrade file to the takeaway delivery management system, the method further includes:
[0014] The cloud platform calculates the CRC32 value of the file, and the version information is manually entered into the food delivery management system. The food delivery management system will store the URL information, version number, and file verification code information of the upgrade file.
[0015] Preferably, the battery upgrade rule specifically includes upgrading according to the battery BMS version number, or upgrading according to the battery serial number.
[0016] Preferably, if the upgrade conditions are met, the food delivery management system sends the battery upgrade file to the smart food delivery motorcycle, specifically:
[0017] The food delivery management system packages the upgrade package version number, upgrade package CRC32 checksum, and upgrade package length information through a TCP private protocol link, and sends it to the smart food delivery motorcycle.
[0018] Preferably, the operations before the food delivery management system periodically determines whether the battery of the smart food delivery motorcycle meets the upgrade conditions include:
[0019] When the battery is installed on the smart food delivery electric motorcycle, the battery information is automatically obtained when the smart food delivery electric motorcycle is turned on.
[0020] According to another aspect of the present invention, the present invention provides a system for remotely upgrading batteries through a smart takeaway electric motorcycle, the system comprising a takeaway delivery management system and a smart takeaway electric motorcycle loaded with a battery, the smart takeaway electric motorcycle comprising a central controller, a controller and a battery;
[0021] Among them, the takeaway delivery management system and the smart takeaway electric motorcycle are linked through the TCP private protocol, and the central controller and the battery of the smart takeaway electric motorcycle communicate through the RS485 interface.
[0022] Compared with the prior art, the present invention has the following beneficial effects:
[0023] The present invention does not require a battery to have a remote communication function, thus saving equipment costs;
[0024] The present invention can realize remote automatic task upgrade, can perform scheduled and quantitative upgrade, reduces the difficulty of on-site work for operation and maintenance personnel, and does not need to wait for a fixed time for upgrading. It can perform scheduled and automatic upgrade, does not affect the normal operation of the equipment, and increases benefits. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 This is a flowchart of a method for remotely upgrading a battery via a smart food delivery motorcycle according to the present invention;
[0026] Figure 2 This is a system architecture diagram of the present invention for remotely upgrading the battery via a smart food delivery motorcycle;
[0027] Figure 3 The figure is a schematic diagram of the hardware structure of a takeaway delivery management system of the present invention. DETAILED DESCRIPTION
[0028] To make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be described clearly and completely in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein.
[0030] It should be understood that in various embodiments of the present invention, the size of the sequence number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0031] It should be understood that in the present invention, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or apparatuses.
[0032] It should be understood that in the present invention, "plurality" refers to two or more than two. "And / or" is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "Contains A, B and C", "Contains A, B, C" means that A, B, and C are all included, "Contains A, B or C" means that one of A, B, and C is included, and "Contains A, B and / or C" means that any one, any two, or any three of A, B, and C are included.
[0033] It should be understood that in the present invention, "B corresponding to A", "B corresponding to A", "A corresponds to B" or "B corresponds to A" means that B is associated with A and B can be determined based on A. Determining B based on A does not mean determining B based only on A, but B can also be determined based on A and / or other information. A and B match when the similarity between A and B is greater than or equal to a preset threshold.
[0034] Depending on the context, "if" as used herein may be interpreted as "when" or "when" or "in response to determining" or "in response to detecting."
[0035] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0036] The inventive concept of the present invention is to set up a system method for remotely upgrading batteries, which does not require the batteries to have remote communication functions, saves equipment costs and can realize remote automatic task upgrades. The remote batteries can be upgraded on a regular and quantitative basis, which reduces the difficulty of work for operation and maintenance personnel to go to the site. There is no need to wait for a fixed time for upgrading, and it can be upgraded automatically on a regular basis, which does not affect the normal operation of the equipment and increases economic and work benefits.
[0037] It should be noted that the battery upgrade system method conceived by the present invention can be well applied to upgrading the batteries of smart food delivery motorcycles, upgrading the batteries of battery swap cabinets, or upgrading the batteries of charging stations.
[0038] Example 1
[0039] See also Figure 1 This embodiment provides a method for remotely upgrading a battery via a smart food delivery motorcycle, including:
[0040] Upload the battery upgrade file to the food delivery management system;
[0041] Create an upgrade task in the food delivery management system and set the battery upgrade rules;
[0042] The food delivery management system periodically determines whether the battery of the smart food delivery motorcycle has reached the upgrade condition;
[0043] If the upgrade conditions are met, the food delivery management system will send the battery upgrade file to the smart food delivery motorcycle and save the battery upgrade package in the storage area of the central controller. If the upgrade fails, it will indicate that the device upgrade has failed in the upgrade task.
[0044] The central controller of the smart food delivery motorcycle performs CRC32 calculation and packet length calculation on the battery upgrade package, and then compares it with the upgrade package issued by the food delivery management system. If the comparison passes, it proceeds to the next step. If the comparison fails, it requests the food delivery management system to start the upgrade. If three requests to download the upgrade package fail, the upgrade task will be directly defined as a failure.
[0045] The central controller forwards the battery upgrade package that passes the comparison to the battery. The battery BMS performs CRC32 calculation and package length calculation on the battery upgrade package, and then compares it with the upgrade package sent by the upgrade request. If the comparison passes, it proceeds to the next step. If it fails, it requests the central controller to start the upgrade again. If three requests to download the upgrade package fail, the upgrade task will be directly defined as a failure.
[0046] After the battery receives the correct and complete upgrade package, use this file as the upgrade package to upgrade the system;
[0047] After the battery upgrade is successful, the RS485 interface will be used to notify the central controller of the upgrade completion. The central controller will then forward the battery upgrade completion information to the food delivery management system. The food delivery management system will change the upgrade task of the battery that meets the battery upgrade rules within this task to success. Subsequent logins of this batch of smart food delivery motorcycles will not respond to this battery upgrade task unless the aforementioned battery upgrade task is encountered again.
[0048] In this embodiment, after uploading the battery upgrade file to the food delivery management system, the process further includes:
[0049] The cloud platform calculates the CRC32 value of the file, and the version information is manually entered into the food delivery management system. The food delivery management system will store the URL information, version number, and file verification code information of the upgrade file.
[0050] In this embodiment, the battery upgrade rule specifically includes upgrading according to the battery BMS version number, or upgrading according to the battery serial number.
[0051] In this embodiment, if the upgrade conditions are met, the food delivery management system sends the battery upgrade file to the smart food delivery motorcycle, specifically:
[0052] The food delivery management system packages the upgrade package version number, upgrade package CRC32 checksum, and upgrade package length information through a TCP private protocol link, and sends it to the smart food delivery motorcycle.
[0053] In this embodiment, the operations of the food delivery management system before periodically determining whether the battery of the smart food delivery motorcycle has reached the upgrade condition include:
[0054] When the battery is installed on the smart food delivery electric motorcycle, the battery information is automatically obtained when the smart food delivery electric motorcycle is turned on.
[0055] Example 2
[0056] See also Figure 2 This embodiment provides a system for remotely upgrading batteries through a smart takeaway electric motorcycle, which is used in a method for remotely upgrading batteries through a smart takeaway electric motorcycle in Embodiment 1. The system includes a takeaway delivery management system and a smart takeaway electric motorcycle loaded with a battery. The smart takeaway electric motorcycle includes a central controller, a controller and a battery. The takeaway delivery management system and the smart takeaway electric motorcycle are linked via a TCP private protocol, and the central controller and the battery of the smart takeaway electric motorcycle communicate via an RS485 interface.
[0057] See also Figure 3 , is a schematic diagram of the hardware structure of a takeaway delivery management system provided by an embodiment of the present invention, the takeaway delivery management system 40 includes: a processor 41, a memory 42 and a computer program; wherein,
[0058] The memory 42 is used to store the computer program, and the memory 42 may also be a flash memory. The computer program is, for example, an application program, a functional module, etc. for implementing the above method.
[0059] The processor 41 is used to execute the computer program stored in the memory 42 to implement each step performed by the device in the above method. For details, please refer to the relevant description in the above method embodiment.
[0060] Optionally, the memory 42 may be independent or integrated with the processor 41 .
[0061] When the memory 42 is a device independent of the processor 41, the device may further include:
[0062] The bus 43 is used to connect the memory 42 and the processor 41 .
[0063] The present invention further provides a readable storage medium, in which a computer program is stored. When the computer program is executed by the processor 41, it is used to implement the methods provided by the various embodiments described above.
[0064] Among them, the readable storage medium can be a computer storage medium or a communication medium. The communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The computer storage medium can be any available medium that can be accessed by a general-purpose or special-purpose computer. For example, a readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application-specific integrated circuit (Application Specific Integrated Circuits, abbreviated as: ASIC). In addition, the ASIC can be located in a user device. Of course, the processor and the readable storage medium can also exist in a communication device as discrete components. The readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0065] The present invention also provides a program product, which includes an execution instruction, which is stored in a readable storage medium. At least one processor of a device can read the execution instruction from the readable storage medium, and at least one processor executes the execution instruction so that the device implements the methods provided in the above various embodiments.
[0066] In the above-mentioned embodiment of the mobile terminal, it should be understood that the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the present invention can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor.
[0067] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for remotely upgrading the battery of a smart food delivery motorcycle, characterized in that: The method includes: Upload the battery upgrade file to the food delivery management system; Create an upgrade task in the food delivery management system and set the battery upgrade rules; The food delivery management system periodically determines whether the battery of the smart food delivery motorcycle has reached the upgrade condition; If the upgrade conditions are met, the food delivery management system will send the battery upgrade file to the smart food delivery motorcycle and save the battery upgrade package in the storage area of the central controller. If the upgrade fails, it will indicate that the device upgrade has failed in the upgrade task. The central controller of the smart food delivery motorcycle performs CRC32 calculation and packet length calculation on the battery upgrade package, and then compares it with the upgrade package issued by the food delivery management system. If the comparison passes, it proceeds to the next step. If the comparison fails, it requests the food delivery management system to start the upgrade. If three requests to download the upgrade package fail, the upgrade task will be directly defined as a failure. The central controller forwards the battery upgrade package that passes the comparison to the battery. The battery BMS performs CRC32 calculation and package length calculation on the battery upgrade package, and then compares it with the upgrade package sent by the upgrade request. If the comparison passes, it proceeds to the next step. If it fails, it requests the central controller to start the upgrade again. If three requests to download the upgrade package fail, the upgrade task will be directly defined as a failure. After the battery receives the correct and complete upgrade package, use this file as the upgrade package to upgrade the system; After the battery upgrade is successful, the central controller is notified of the upgrade completion through the RS485 interface, and the central controller then forwards the battery upgrade completion information to the food delivery management system. The food delivery management system changes the upgrade task of the battery that meets the battery upgrade rules in this task to success. The subsequent smart food delivery motorcycle login that succeeds in the battery upgrade task will not respond to this battery upgrade task unless the aforementioned battery upgrade task is encountered again; Wherein, after uploading the battery upgrade file to the takeaway delivery management system, the method further includes: The cloud platform calculates the CRC32 value of the file, and the version information is manually entered into the food delivery management system. The food delivery management system will store the URL information, version number, and file checksum information of the upgrade file; The battery upgrade rule specifically includes upgrading according to the battery BMS version number or upgrading according to the battery number; If the upgrade conditions are met, the food delivery management system will send the battery upgrade file to the smart food delivery motorcycle, specifically: The food delivery management system packages the upgrade package version number, upgrade package CRC32 checksum, and upgrade package length information through the TCP private protocol link, and sends it to the smart food delivery motorcycle; The operations of the food delivery management system before periodically determining whether the battery of the smart food delivery motorcycle has reached the upgrade condition include: When the battery is installed on the smart food delivery electric motorcycle, the battery information is automatically obtained when the smart food delivery electric motorcycle is turned on.
2. A system for remotely upgrading batteries via a smart food delivery motorcycle, used to execute the method for remotely upgrading batteries via a smart food delivery motorcycle as claimed in claim 1, characterized in that: The system includes a food delivery management system and a smart food delivery motorcycle loaded with a battery, wherein the smart food delivery motorcycle includes a central control unit, a controller and a battery; Among them, the takeaway delivery management system and the smart takeaway electric motorcycle are linked through the TCP private protocol, and the central controller and the battery of the smart takeaway electric motorcycle communicate through the RS485 interface.
