Battery pack sorting and coding method and device, vehicle, medium and product
By detecting the wake-up method of the battery pack in the battery module and determining its sorting and encoding information for encoding, the problem of high automatic encoding of the battery pack in the existing technology is solved, and the automatic sorting and encoding of the battery pack is realized, saving hardware costs and improving encoding is improved. accuracy.
Patent Information
- Application Number
- CN202411261489.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-12-27
AI Technical Summary
Existing battery pack automatic coding technology requires additional hardware and communication modules, resulting in increased costs and less adaptability.
By detecting the wake-up method of the battery pack in the battery module, determining its sorting and encoding information, and encoding it based on the wake-up method, the automatic sorting and encoding of the battery pack is realized, and the existing hardware is reused without adding additional hardware.
It realizes automatic encoding of the battery pack, saves hardware costs, and matches the installation location when the battery pack is used, improving the accuracy and efficiency of encoding.
Smart Images

Figure CN119201245A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of battery management technology, and in particular to a battery pack sorting and coding method, device, vehicle, medium and product. Background Art
[0002] When battery packs (especially battery packs of the same model) are used together, the battery packs need to be numbered to facilitate the main control unit to distinguish battery data or to quickly locate a faulty battery pack.
[0003] At present, the automatic encoding technology of battery packs usually adopts the following two methods: The first method is automatic encoding through serial communication, such as: an external module sends a coding signal to the first battery pack, and the first battery pack completes the encoding itself after receiving the coding signal, and then sends the coding information to the second battery pack, and so on. However, the current external communication of battery packs is usually a bus architecture, and the adaptability of serial communication is low. This method requires the addition of additional lower-level communication modules, which increases the cost. The second method is to automatically encode through a resistor divider circuit, such as: adding different resistors at the external interface, and the battery pack is encoded by identifying the resistance value. However, this method requires adding additional hardware circuits and external interfaces to the battery pack, which increases the cost. Therefore, it is urgent to design a battery pack sorting and encoding method that can utilize the existing hardware in the device without adding additional hardware. Summary of the invention
[0004] The present application provides a battery pack sorting and coding method, device, vehicle, medium and product. By reusing the wake-up module of the battery pack, there is no need to add additional hardware. When the battery packs are used in parallel, an automatic coding method that matches the installation position can be implemented for the battery pack, thereby saving hardware costs.
[0005] In a first aspect, the present application provides a battery pack sorting and coding method, the method comprising:
[0006] When it is detected that a battery pack in the battery module is awakened, determining a wake-up mode of the battery pack;
[0007] Determine the sorting coding information of the battery pack according to the wake-up method;
[0008] The battery pack is encoded based on the sorting coding information to obtain sorting information of the battery pack in the battery module.
[0009] Furthermore, determining the sorting coding information of the battery pack according to the wake-up method includes: determining the battery type of the battery pack according to the wake-up method; determining the spatial position information of the battery pack in the battery module; and determining the sorting coding information of the battery pack based on the battery type and based on the spatial position information.
[0010] Further, determining the battery type of the battery pack according to the wake-up method includes: if the wake-up method is the first wake-up method, the battery type of the battery pack is a master battery pack; if the wake-up method is the second wake-up method, the battery type of the battery pack is a slave battery pack.
[0011] Furthermore, determining the battery type of the battery pack according to the wake-up method includes: when the battery module is in a working state, determining whether a first wake-up method corresponding to the battery pack in the battery module is effective based on the wake-up method; determining the battery type of the battery pack corresponding to the effective first wake-up method as a master battery pack; and determining the battery type of the battery pack corresponding to the ineffective first wake-up method as a slave battery pack.
[0012] Furthermore, the first awakening mode is that the external load is awakened through device power-on information; the second awakening mode is that the external load or the main battery pack is awakened through bus communication.
[0013] Furthermore, the battery module is integrated into a vehicle that has space and weight restrictions on the battery pack, and the vehicle is a power-assisted vehicle.
[0014] In a second aspect, the present application provides a battery pack sorting and coding device, the device comprising:
[0015] A wake-up determination module, used for determining a wake-up mode of the battery pack when detecting that the battery pack in the battery module is awakened;
[0016] An information determination module, used to determine the sorting coding information of the battery pack according to the wake-up method;
[0017] A sorting and coding module is used to encode the battery pack based on the sorting and coding information to obtain sorting information of the battery pack in the battery module.
[0018] In a third aspect, the present application provides a vehicle comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the battery pack sorting and coding method described in any embodiment of the present application.
[0019] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the battery pack sorting and coding method described in any embodiment of the present application when executed.
[0020] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the battery pack sorting and coding method described in any embodiment of the present application.
[0021] In order to solve the defects of the prior art in the background technology, the embodiment of the present application provides a battery pack sorting coding method, and the execution of the method can bring the following beneficial effects: the present application detects and determines the wake-up mode of each battery pack in the battery module, and encodes each battery pack based on the wake-up mode, thereby realizing the sorting of each battery pack in the battery module. The present application reuses the wake-up module of the battery pack without adding additional hardware. When the battery packs are used in parallel, the battery pack can be automatically coded according to the installation position, saving hardware costs.
[0022] It should be noted that the above-mentioned computer instructions may be stored in whole or in part on a computer-readable storage medium. The computer-readable storage medium may be packaged together with the processor of the battery pack sorting and coding device, or may be packaged separately from the processor of the battery pack sorting and coding device, and this application does not limit this.
[0023] The description of the second, third, ..., and fifth aspects in this application can refer to the detailed description of the first aspect; and the beneficial effects of the description of the second, third, ..., and fifth aspects can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.
[0024] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description.
[0025] It is understandable that before using the technical solutions disclosed in the embodiments of this application, the type, scope of use, and usage scenarios of the personal information involved in this application should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0027] Figure 1 A schematic diagram of a flow chart of a battery pack sorting and coding method provided in an embodiment of the present application;
[0028] Figure 2 A schematic diagram of the connection between a battery pack and an external load in a battery module provided in an embodiment of the present application;
[0029] Figure 3 A schematic diagram of the structure of a battery pack sorting and coding device provided in an embodiment of the present application;
[0030] Figure 4 It is a block diagram of a vehicle used to implement a battery pack sorting and coding method according to an embodiment of the present application. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0032] It should be noted that the terms "first", "second", "target", and "original" in the specification and claims of the present application and the above-mentioned 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 data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including", "having", and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0033] Figure 1 A flowchart of a battery pack sorting and coding method provided in an embodiment of the present application is provided. This embodiment is applicable to the case where each battery pack in a battery module is sorted and coded by reusing the wake-up module of the battery pack. The battery pack sorting and coding method provided in this embodiment can be executed by the battery pack sorting and coding device provided in an embodiment of the present application. The device can be implemented by software and / or hardware and integrated in an electronic device that executes the method. Preferably, the electronic device in the embodiment of the present application can be a vehicle, such as a power-assisted vehicle.
[0034] See also Figure 1 The method of this embodiment includes but is not limited to the following steps:
[0035] S110: When it is detected that the battery pack in the battery module is awakened, determine the awakening method of the battery pack.
[0036] Among them, the battery module is integrated into a vehicle with space restrictions and weight restrictions on the battery pack, that is, the space on the vehicle for installing the battery module is not large and cannot install too many battery packs, such as two battery packs of the same model; the vehicle is a power-assisted vehicle or an electric vehicle. The battery pack usually has multiple wake-up methods, such as device power-on signal wake-up, bus communication wake-up, and external voltage signal wake-up. The executor of this application is a microcontroller, and a microcontroller may be configured for each battery pack in the battery module to manage the corresponding battery packs; or a microcontroller may be configured in the battery module to manage all battery packs in the battery module. This embodiment introduces the battery pack sorting coding method in this way.
[0037] In the embodiment of the present application, the microcontroller monitors the status of each battery pack in the battery module in real time. When it is detected that a battery pack in the battery module is awakened, the signal type of the awakening signal is further obtained, and the awakening mode of the battery pack can be obtained based on the signal type. For example, if the awakening signal is a device power-on signal, the awakening mode is device power-on signal awakening; if the awakening signal is a bus communication signal, the awakening mode is bus communication awakening.
[0038] S120: Determine the sorting coding information of the battery pack according to the wake-up method.
[0039] Specifically, determining the sorting coding information of the battery pack according to the wake-up method includes: determining the battery type of the battery pack according to the wake-up method; determining the spatial position information of the battery pack in the battery module based on the battery type; and determining the sorting coding information of the battery pack based on the spatial position information.
[0040] The battery type can be a master battery pack and a slave battery pack. This application does not limit the representation of spatial position information. The spatial position information of the battery pack can be distinguished by orientation information (such as front, back, left, right, up, down), or by encoding the spatial orientation (such as position 1, position 2).
[0041] After determining the wake-up method for each battery pack, the wake-up method can be used to distinguish the battery pack type, and the battery type corresponding to each battery pack can be determined. According to a pre-established configuration position relationship table of each type of battery pack, the spatial position information of each battery pack in the battery module can be determined, and the battery type and spatial position information are encoded based on a preset coding method, and the encoded result is used as the sorting coding information of each battery pack in the battery module.
[0042] In an optional embodiment, the battery type of the battery pack is determined according to the wake-up method, including: if the wake-up method is the first wake-up method, the battery type of the battery pack is a master battery pack; if the wake-up method is the second wake-up method, the battery type of the battery pack is a slave battery pack.
[0043] For example, when the external load wakes up the battery pack through the device power-on signal, it can be determined that the wake-up mode is device power-on signal wake-up, and the battery type of the battery pack can be determined to be a master battery pack. When the external load or other battery pack wakes up the battery pack through the bus communication signal, it can be determined that the wake-up mode is bus communication wake-up, and the battery type of the battery pack can be determined to be a slave battery pack.
[0044] In another optional embodiment, the battery type of the battery pack is determined according to the wake-up method, including: when the battery module is in a working state, determining whether a first wake-up method corresponding to the battery pack in the battery module is effective based on the wake-up method; determining the battery type of the battery pack corresponding to the effective first wake-up method as a master battery pack; and determining the battery type of the battery pack corresponding to the ineffective first wake-up method as a slave battery pack.
[0045] Exemplarily, when the battery module is in a working state, that means each battery pack in the battery module is awakened, then it is determined whether each battery pack is awakened by the device power-on signal, and the battery type of the battery pack awakened by the device power-on signal is determined as the main battery pack, and the battery type of the battery pack not awakened by the device power-on signal is determined as the slave battery pack.
[0046] Optionally, the first wake-up method is that the external load is awakened through device power-on information; the second wake-up method is that the external load or the main battery pack is awakened through bus communication, such as controller area network (CAN) bus communication awakening.
[0047] like Figure 2 The figure shows the connection diagram of the battery pack in the battery module and the external load. In the figure, the external load is connected to the battery pack 1 and the battery pack 2 respectively, which can be used to transmit the device startup signal and the bus communication signal. The battery pack 1 and the battery pack 2 are connected, which can be used to transmit the bus communication signal.
[0048] S130, encoding the battery pack based on the sorting coding information to obtain sorting information of the battery pack in the battery module.
[0049] In an embodiment of the present application, the microcontroller encodes each battery pack based on the sorting coding information to obtain the sorting information of each battery pack in the battery module.
[0050] In an optional embodiment, when the system is working, the external load wakes up the battery pack installed in physical position 1 through the device power-on information, and the microcontroller recognizes that the device power-on information corresponding to the battery pack wakes up and takes effect, and determines the sorting coding information of the battery pack, such as encoding itself as "1", and the battery pack can also be named battery pack 1. After battery pack 1 is awakened, battery pack 1 wakes up the battery pack installed in physical position 2 through the bus communication signal, and the microcontroller recognizes that the bus communication signal wake-up corresponding to the battery pack takes effect, and determines the sorting coding information of the battery pack, such as encoding itself as "2", and the battery pack can also be named battery pack 2; it can also encode itself as "2" by recognizing that the device power-on information wake-up is not effective.
[0051] The technical solution provided in this embodiment determines the wake-up method of the battery pack when it is detected that the battery pack in the battery module is awakened; determines the sorting coding information of the battery pack according to the wake-up method; and encodes the battery pack based on the sorting coding information to obtain the sorting information of the battery pack in the battery module. The present application detects and determines the wake-up method of each battery pack in the battery module, and encodes each battery pack based on the wake-up method, thereby realizing the sorting of each battery pack in the battery module. The present application reuses the wake-up module of the battery pack, without adding additional hardware. When the battery packs are used in parallel, an automatic encoding method that matches the installation position can be implemented for the battery pack, saving hardware costs.
[0052] Figure 3 A schematic diagram of the structure of a battery pack sorting coding device provided in an embodiment of the present application, such as Figure 3 As shown, the device 300 may include:
[0053] The wake-up determination module 310 is used to determine the wake-up mode of the battery pack when it is detected that the battery pack in the battery module is awakened;
[0054] An information determination module 320, configured to determine the sorting coding information of the battery pack according to the wake-up method;
[0055] The sorting coding module 330 is used to encode the battery pack based on the sorting coding information to obtain sorting information of the battery pack in the battery module.
[0056] Furthermore, the above-mentioned information determination module 320 can be specifically used to: determine the battery type of the battery pack according to the wake-up method; determine the spatial position information of the battery pack in the battery module; determine the sorting coding information of the battery pack based on the battery type and based on the spatial position information.
[0057] Furthermore, the information determination module 320 may be specifically configured to: if the wake-up mode is the first wake-up mode, the battery type of the battery pack is a main battery pack;
[0058] If the wake-up mode is the second wake-up mode, the battery type of the battery pack is a slave battery pack.
[0059] Furthermore, the above-mentioned information determination module 320 can also be specifically used for: when the battery module is in a working state, determining whether the first wake-up method corresponding to the battery pack in the battery module is effective based on the wake-up method; determining the battery type of the battery pack corresponding to the effective battery pack of the first wake-up method as the main battery pack; and determining the battery type of the battery pack corresponding to the ineffective battery pack of the first wake-up method as the slave battery pack.
[0060] Optionally, the first wake-up method is that the external load is awakened through device power-on information; the second wake-up method is that the external load or the main battery pack is awakened through bus communication.
[0061] Optionally, the battery module is integrated into a vehicle that has space and weight restrictions on the battery pack, and the vehicle is a power-assisted vehicle.
[0062] The battery pack sorting and coding device provided in this embodiment can be applied to the battery pack sorting and coding method provided in any of the above embodiments, and has corresponding functions and beneficial effects.
[0063] Figure 4 It is a block diagram of a vehicle for implementing a method for sorting and coding a battery pack according to an embodiment of the present application. Vehicle 10 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The vehicle may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.), 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 application described and / or required herein.
[0064] like Figure 4As shown, the vehicle 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the vehicle 10 can also be stored. The processor 11, ROM 12 and RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0065] A number of components in the vehicle 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the vehicle 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0066] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the sorting and coding method of the battery pack.
[0067] In some embodiments, the battery pack sorting and coding method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the vehicle 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the battery pack sorting and coding method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the battery pack sorting and coding method in any other appropriate manner (e.g., by means of firmware).
[0068] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0069] The computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer programs are executed by the processor, the functions / operations specified in the flow charts and / or block diagrams are implemented. The computer programs may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0070] In the context of the present application, a computer readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. Alternatively, a computer readable storage medium may be a machine readable signal medium. A more specific example of a machine readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0071] To provide interaction with a user, the systems and techniques described herein can be implemented on a vehicle having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the vehicle. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and the input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0072] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server) or a computing system that includes middleware components (e.g., an application server) or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein) or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0073] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0074] Note that the above are only preferred embodiments of the present application and the technical principles used. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, and substitutions can be made by those skilled in the art without departing from the scope of protection of the present application. For example, those skilled in the art can use the various forms of processes shown above to reorder, add, or delete steps; the steps recorded in the present application can be performed in parallel, sequentially, or in different orders, as long as the desired results of the technical solution of the present application can be achieved, and this document does not limit them here.
[0075] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A battery pack sorting and coding method, characterized in that: The method comprises: When it is detected that a battery pack in the battery module is awakened, determining a wake-up mode of the battery pack; Determine the sorting coding information of the battery pack according to the wake-up method; The battery pack is encoded based on the sorting coding information to obtain sorting information of the battery pack in the battery module.
2. The battery pack sorting and coding method according to claim 1, characterized in that: The determining the sorting coding information of the battery pack according to the wake-up mode includes: Determining the battery type of the battery pack according to the wake-up method; Determining the spatial position information of the battery pack in the battery module; The sorting coding information of the battery pack is determined based on the battery type and based on the spatial position information.
3. The battery pack sorting and coding method according to claim 2, characterized in that: The determining the battery type of the battery pack according to the wake-up mode includes: If the wake-up mode is the first wake-up mode, the battery type of the battery pack is a main battery pack; If the awakening mode is the second awakening mode, the battery type of the battery pack is a slave battery pack.
4. The battery pack sorting and coding method according to claim 2, characterized in that: The determining the battery type of the battery pack according to the wake-up mode includes: When the battery module is in working state, determining whether a first wake-up mode corresponding to a battery pack in the battery module is effective based on the wake-up mode; Determine the battery type of the battery pack corresponding to which the first wake-up method has taken effect as the main battery pack; The battery type of the battery pack corresponding to which the first awakening method is not effective is determined as a slave battery pack.
5. The battery pack sorting and coding method according to claim 3, characterized in that: The first awakening mode is that the external load is awakened by device power-on information; the second awakening mode is that the external load or the main battery pack is awakened by bus communication.
6. The battery pack sorting and coding method according to claim 1, characterized in that: The battery module is integrated on a vehicle with space and weight restrictions on the battery pack, and the vehicle is a power-assisted vehicle.
7. A battery pack sorting and coding device, characterized in that: The device comprises: A wake-up determination module, used for determining a wake-up mode of the battery pack when detecting that the battery pack in the battery module is awakened; An information determination module, used to determine the sorting coding information of the battery pack according to the wake-up method; A sorting and coding module is used to encode the battery pack based on the sorting and coding information to obtain sorting information of the battery pack in the battery module.
8. A vehicle, characterized in that: The vehicle comprises: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores a computer program executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the battery pack sorting and coding method described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the battery pack sorting and coding method according to any one of claims 1 to 6 when executed. 10 . A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the battery pack sorting and coding method according to any one of claims 1 to 6.