BMS information reading method and device, storage medium and electronic equipment
By matching the communication pins, baud rate and information ID of the vehicle, obtaining historical information IDs with high matching degrees, solving the problem of difficulty in obtaining BMS information in new energy vehicle maintenance, and achieving rapid acquisition of key information and reducing fault diagnosis time.
Patent Information
- Application Number
- CN202411734544.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-27
- Publication Date
- 2025-03-21
AI Technical Summary
During the maintenance of new energy vehicles, a variety of vehicle models, battery brands and battery signals make it difficult to obtain battery management system (BMS) information, extending the fault diagnosis time.
By obtaining the vehicle's communication pin, communication baud rate and information ID, matching with historical data, obtaining a high matching historical information ID, displaying it to the user for selection, and reading the corresponding BMS information.
With the diversity of vehicle models, battery brands and battery signals, quickly obtain BMS information to reduce troubleshooting time.
Smart Images

Figure CN119669781A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data identification technology, and in particular to a method, device, storage medium and electronic device for reading BMS information. Background Art
[0002] When repairing batteries in new energy vehicles, it is particularly difficult to obtain Battery Manage System (BMS) information when repairing vehicles because there are many vehicle brands and models, and the same model year has multiple battery brands and battery models.
[0003] At present, BMS information is generally read with the assistance of detection equipment. The detection equipment is connected to the vehicle using an appropriate connection line, and then the vehicle diagnostic interface is entered to select the relevant information of the vehicle to read the BMS information. However, due to the diversity of vehicle models, battery brands and battery signals, the variety of vehicle models and battery systems may make it difficult for maintenance personnel to quickly obtain key information, thereby prolonging the time for fault diagnosis.
[0004] Therefore, how to reduce the fault diagnosis time has become an urgent problem to be solved in this field. Summary of the invention
[0005] The present application provides a method, device, storage medium and electronic device for reading BMS information, aiming to reduce fault diagnosis time.
[0006] In order to achieve the above objectives, this application provides the following technical solutions:
[0007] A method for reading BMS information, comprising:
[0008] Get the vehicle's communication pin, communication baud rate and information ID;
[0009] Matching the communication pin with a historical communication pin to obtain a first matching result;
[0010] When the first matching result indicates that the communication pin matches the historical communication pin successfully, matching the communication baud rate with the historical communication baud rate to obtain a second matching result;
[0011] When the second matching result indicates that the communication baud rate successfully matches the historical communication baud rate, matching the information ID with all historical information IDs in the database to obtain all matching degrees;
[0012] The BMS information is read according to all the matching degrees.
[0013] Optionally, matching the communication pin with a historical communication pin to obtain a first matching result includes:
[0014] Determine whether the communication pin is consistent with the historical communication pin;
[0015] If the communication pin is consistent with the historical communication pin, determining the first matching result is that the communication pin matches the historical communication pin successfully;
[0016] If the communication pin is inconsistent with the historical communication pin, it is determined that the first matching result is that the communication pin fails to match the historical communication pin.
[0017] Optionally, matching the communication baud rate with a historical communication baud rate to obtain a second matching result includes:
[0018] Determining whether the communication baud rate is consistent with the historical communication baud rate;
[0019] If the communication baud rate is consistent with the historical communication baud rate, determining the second matching result is that the communication baud rate successfully matches the historical communication baud rate;
[0020] If the communication baud rate is inconsistent with the historical communication baud rate, it is determined that the second matching result is that the communication baud rate fails to match the historical communication baud rate.
[0021] Optionally, matching the information ID with all historical information IDs in a database to obtain all matching degrees includes:
[0022] Setting the initial matching ratio of the information ID;
[0023] For each historical information ID in the database, compare whether the identifier in the information ID is consistent with the identifier in the historical information ID;
[0024] If the identifier in the information ID is consistent with the identifier in the historical information ID, the initial matching ratio is determined as the matching degree;
[0025] If the identifier in the information ID is inconsistent with the identifier in the historical information ID, then the number of inconsistencies between the identifier in the information ID and the identifier in the historical information ID is recorded;
[0026] The matching degree between the information ID and the historical information ID is calculated according to the initial matching degree ratio and the number.
[0027] Optionally, reading BMS information according to all the matching degrees includes:
[0028] Filter out historical information IDs whose matching degree is greater than a preset threshold from all the matching degrees;
[0029] Determine whether the number of historical information IDs is greater than the preset number;
[0030] If the number of the historical information IDs is greater than the preset number, the preset number of historical information IDs are screened out and displayed in descending order of matching degree;
[0031] If the number of the historical information IDs is not greater than the preset number, all the historical information IDs are displayed in order of matching degree from high to low;
[0032] When confirmation information of a target history information ID is received, BMS information corresponding to the target history information ID is read; the target history information indicates any one history information ID among all history information IDs.
[0033] A device for reading BMS information, comprising:
[0034] An acquisition unit, used to acquire the vehicle's communication pin, communication baud rate and information ID;
[0035] A first matching unit, used for matching the communication pin with a historical communication pin to obtain a first matching result;
[0036] A second matching unit, configured to match the communication baud rate with the historical communication baud rate to obtain a second matching result when the first matching result indicates that the communication pin matches the historical communication pin successfully;
[0037] a third matching unit, configured to match the information ID with all historical information IDs in a database to obtain all matching degrees when the second matching result indicates that the communication baud rate matches the historical communication baud rate successfully;
[0038] A reading unit is used to read the BMS information according to all the matching degrees.
[0039] Optionally, the first matching unit is specifically configured to:
[0040] Determine whether the communication pin is consistent with the historical communication pin;
[0041] If the communication pin is consistent with the historical communication pin, determining the first matching result is that the communication pin matches the historical communication pin successfully;
[0042] If the communication pin is inconsistent with the historical communication pin, it is determined that the first matching result is that the communication pin fails to match the historical communication pin.
[0043] Optionally, the second matching unit is specifically configured to:
[0044] Determining whether the communication baud rate is consistent with the historical communication baud rate;
[0045] If the communication baud rate is consistent with the historical communication baud rate, determining the second matching result is that the communication baud rate successfully matches the historical communication baud rate;
[0046] If the communication baud rate is inconsistent with the historical communication baud rate, it is determined that the second matching result is that the communication baud rate fails to match the historical communication baud rate.
[0047] A computer-readable storage medium includes a stored program, wherein the program executes the method for reading BMS information when executed by a processor.
[0048] An electronic device, comprising: a processor, a memory and a bus; the processor and the memory are connected via the bus;
[0049] The memory is used to store a program, and the processor is used to run the program, wherein the program executes the method for reading BMS information when the processor runs the program.
[0050] The technical solution provided by the present application obtains the communication pin, communication baud rate and information ID of the vehicle; matches the communication pin with the historical communication pin; when the communication pin matches the historical communication pin successfully, matches the communication baud rate with the historical communication baud rate; when the communication baud rate matches the historical communication baud rate successfully, matches the information ID with all historical information IDs in the database to obtain all matching degrees; and reads the BMS information according to all matching degrees. By matching the communication pin, communication baud rate and information ID, the historical information ID with a high matching degree is obtained and displayed. The user can obtain the corresponding BMS information by selecting the displayed historical information ID, and can quickly obtain key information in the diversity of vehicle models, battery brands and battery signals, thereby reducing the fault diagnosis time. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art 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 paying creative work.
[0052] Figure 1 A flowchart of a method for reading BMS information provided in an embodiment of the present application;
[0053] Figure 2A flowchart of a communication pin matching method provided in an embodiment of the present application;
[0054] Figure 3 A flow chart of a communication baud rate matching method provided in an embodiment of the present application;
[0055] Figure 4 A flowchart of a method for matching information IDs provided in an embodiment of the present application;
[0056] Figure 5 A schematic diagram of a display interface of a BMS provided in an embodiment of the present application;
[0057] Figure 6 A flowchart of a method for reading BMS information provided in an embodiment of the present application;
[0058] Figure 7 A schematic diagram of a BMS information display interface provided in an embodiment of the present application;
[0059] Figure 8 A schematic diagram of the architecture of a BMS information reading device provided in an embodiment of the present application;
[0060] Fig. 9 An electronic device is provided in an embodiment of the present application. DETAILED DESCRIPTION
[0061] The embodiments of the present application are described below in conjunction with the accompanying drawings.
[0062] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.
[0063] like Figure 1 As shown, it is a flowchart of a method for reading BMS information provided by an embodiment of the present application, including the following steps:
[0064] S101: Obtain the vehicle's communication pin, communication baud rate and information ID.
[0065] The communication pin, communication baud rate and information ID of the vehicle are obtained. Specifically, the interface data monitored by the diagnostic device is first obtained; and the communication pin, communication baud rate and information ID of the vehicle are obtained from the interface data.
[0066] Specifically, the interface data includes BmsIndex, vehicle model, motor model, rated voltage, rated capacity, PinOut, Canbps, MsgIDs (i.e., message ID). The specific meanings of the parameters are shown in Table 1.
[0067] Table 1
[0068]
[0069] It should be noted that the content of Table 1 above is only for illustration.
[0070] S102: Match the communication pin with the historical communication pin to obtain a first matching result.
[0071] Among them, the historical communication pin indicates the communication pin in the historical data.
[0072] Optionally, the first matching result includes: the communication pin successfully matches the historical communication pin, and the communication pin fails to match the historical communication pin.
[0073] It is understandable that the historical communication pin is first obtained from the database, and then the communication pin is matched with the historical communication pin to obtain a first matching result.
[0074] Optionally, in another embodiment of the present application, the specific implementation of step S102 is as follows: Figure 2 As shown, the following steps are included:
[0075] S201: Determine whether the communication pin is consistent with the historical communication pin.
[0076] If the communication pin is consistent with the historical communication pin, step S202 is executed; if the communication pin is inconsistent with the historical communication pin, step S203 is executed.
[0077] Specifically, assuming that the communication pins are pin 1: TX (send data), pin 2: RX (receive data), pin 3: GND (ground), and the historical communication pins are: pin A: TX, pin B: RX, pin C: GND, determine whether the communication pins are consistent with the historical communication pins. Obviously, the communication pins are consistent with the historical communication pins. Therefore, continue to execute step S202.
[0078] S202: Determine that the first matching result is that the communication pin matches the historical communication pin successfully.
[0079] S203: Determine that the first matching result is that the communication pin fails to match the historical communication pin.
[0080] It should be noted that when the matching result is that the communication pin fails to match the historical communication pin, the matching degree is set to 0.
[0081] S103: When the first matching result indicates that the communication pin matches the historical communication pin successfully, the communication baud rate is matched with the historical communication baud rate to obtain a second matching result.
[0082] The baud rate refers to the number of symbols (or signals) transmitted per unit time in data communication, and is usually expressed in the number of symbols transmitted per second (bps, i.e., bits per second).
[0083] Optionally, the historical communication baud rate indicates a communication baud rate in the historical data.
[0084] It can be understood that historical data is obtained from the database, and then the communication baud rate in the historical data is matched with the communication baud rate to obtain a matching result.
[0085] Optionally, in another embodiment of the present application, in step S103, the communication baud rate is matched with the historical communication baud rate to obtain a specific implementation of the second matching result, such as Figure 3 As shown, the following steps are included:
[0086] S301: Determine whether the communication baud rate is consistent with the historical communication baud rate.
[0087] If the communication baud rate is consistent with the historical communication baud rate, step S302 is executed; if the communication baud rate is inconsistent with the historical communication baud rate, step S303 is executed.
[0088] Specifically, assuming that the communication baud rate is 1200bps and the historical communication baud rate is 1200bps, it is determined whether the communication baud rate is consistent with the historical communication baud rate. Obviously, the communication baud rate is consistent with the historical communication baud rate, so step S302 is continued.
[0089] Specifically, assuming that the communication baud rate is 1200bps and the historical communication baud rate is 800bps, it is determined whether the communication baud rate is consistent with the historical communication baud rate. Obviously, the communication baud rate is inconsistent with the historical communication baud rate, so step S303 is continued.
[0090] S302: Determine that the second matching result is that the communication baud rate successfully matches the historical communication baud rate.
[0091] S303: Determine that the second matching result is that the communication baud rate fails to match the historical communication baud rate.
[0092] It should be noted that when the communication baud rate fails to match the historical communication baud rate, the matching degree is set to 0.
[0093] S104: When the second matching result indicates that the communication baud rate matches the historical communication baud rate successfully, the information ID is matched with all historical information IDs in the database to obtain all matching degrees.
[0094] The matching degree indicates the matching degree between the historical information ID and the information ID.
[0095] It can be understood that the information ID is matched with all historical information IDs in the database, that is, the matching degree between the information ID and all historical information IDs is calculated, so that the corresponding battery management system (BMS) information can be read according to the matching degree later.
[0096] Optionally, the information ID includes but is not limited to: text message ID, user ID, timestamp, session ID.
[0097] Optionally, in another embodiment of the present application, in step S104, the information ID is matched with all historical information IDs in the database to obtain a specific implementation method of all matching degrees, such as Figure 4 As shown, the following steps are included:
[0098] S401: Setting the initial matching ratio of the information ID.
[0099] The initial matching ratio includes but is not limited to 100%.
[0100] S402: For each historical information ID in the database, compare the identifier in the information ID with the identifier in the historical information ID to see if they are consistent.
[0101] If the identifier in the information ID is consistent with the identifier in the historical information ID, step S403 is executed; if the identifier in the information ID is inconsistent with the identifier in the historical information ID, step 404 is executed.
[0102] Specifically, assuming that the information ID is info_12345 (ID is 12345) and the historical information ID is info_12345 (ID is 12345), compare whether the identifier in the information ID is consistent with the identifier in the historical information ID. Obviously, the identifier in the information ID is consistent with the identifier in the historical information ID. Therefore, continue to execute step S403.
[0103] Specifically, assuming that the information ID is info_12345 (ID is 12345) and the historical information ID is info_12368 (ID is 12378), compare the identifier in the information ID with the identifier in the historical information ID to see if they are consistent. Obviously, the identifier in the information ID is inconsistent with the identifier in the historical information ID. Therefore, continue to execute step S404.
[0104] It should be noted that the comparison is to check whether the identifier in the information ID is consistent with the identifier in the historical information ID. Specifically, the identifier in the information ID does not exist in the identifier of the historical information ID, or the identifier in the historical information ID does not exist in the identifier of the information ID. For example, the identifier of the information ID is 123, and the identifier of the historical information ID is 134. It can be seen that the 2 in the information ID does not exist in the identifier of the historical information ID, and the 4 in the historical information ID does not exist in the identifier of the information ID.
[0105] S403: Determine the initial matching degree ratio as the matching degree.
[0106] It is understandable that if the identifier in the information ID is consistent with the identifier in the historical information ID, no operation is required on the matching degree, and the initial matching degree ratio is determined as the matching degree of the historical information ID.
[0107] S404: Record the number of inconsistencies between the identifier in the information ID and the identifier in the history information ID.
[0108] It can be understood that the number of identifiers in the recorded information ID that are inconsistent with the identifiers in the historical information ID, that is, the number of identifiers in the information ID that do not exist in the identifier of the historical information ID, and the number of identifiers in the historical information ID that do not exist in the identifier of the information ID.
[0109] For example, the identifier of the information ID is 123, and the identifier of the historical information ID is 134. It can be seen that 2 in the information ID does not exist in the identifier of the historical information ID, and 4 in the historical information ID does not exist in the identifier of the information ID, so the number of inconsistencies is 2.
[0110] S405: Calculate the matching degree between the information ID and the historical information ID according to the initial matching degree ratio and number.
[0111] It can be understood that the matching degree between the information ID and the historical information ID is calculated based on the initial matching degree ratio and the number. Specifically, the ratio between the number and 100 is calculated, and the product of the ratio and 100% is calculated; the difference between the initial matching degree ratio and the product is calculated to obtain the matching degree between the information ID and the historical information ID.
[0112] S105: Read BMS information according to all matching degrees.
[0113] It can be understood that the BMS information is read according to all the matching degrees. Specifically, the historical information ID corresponding to the matching degree is displayed according to all the matching degrees. When the confirmation information of triggering the historical information ID is received, the BMS information corresponding to the historical information ID is read and displayed. Figure 5 shown.
[0114] Optionally, in another embodiment of the present application, the specific implementation of step S105 is as follows: Figure 6 As shown, the following steps are included:
[0115] S601: Filter out historical information IDs whose matching degree is greater than a preset threshold from all matching degrees.
[0116] Optionally, the preset threshold value can be set according to actual conditions, and no specific limitation is made here. For example, the preset threshold value is 80%.
[0117] S602: Determine whether the number of historical information IDs is greater than a preset number.
[0118] If the number of historical information IDs is greater than the preset number, step S603 is executed; if the number of historical information IDs is not greater than the preset number, step S604 is executed.
[0119] Specifically, assuming that the preset number is 10 and the number of historical information IDs is 9, it is determined whether the number of historical information IDs is greater than the preset number. Obviously, the number of historical information IDs is not greater than the preset number, so step S604 is continued.
[0120] It should be noted that the preset number can be set according to actual conditions and is not specifically limited here.
[0121] S603: Filter out a preset number of historical information IDs in descending order of matching degree and display them.
[0122] It can be understood that a preset number of historical information IDs are screened and displayed in order of matching degree from high to low, that is, the historical information ID with the highest matching degree is displayed in the front menu, and in descending order, the historical information ID with the lowest matching degree is displayed in the back menu.
[0123] Specifically, the page where the historical information ID is displayed is as follows Figure 7 As shown, in Figure 7 Among them, BMS, model BYD7009BEV2, TZ200XSC, 123Ah (non-standard 17-10) is the historical information ID with the highest matching degree, and BMS, model BYD6490STV2, BYD487ZQB604, 8V, 33Ah is the historical information ID with the lowest matching degree.
[0124] S604: Display all historical information IDs in order from high to low matching degree.
[0125] It is understandable that if the number of historical information IDs is not greater than the preset number, it means that all historical information IDs can be displayed at this time. Therefore, all historical information IDs are displayed in order from high to low matching degree.
[0126] S605: When confirmation information of the target history information ID is received, the BMS information corresponding to the target history information ID is read.
[0127] The target historical information indicates any historical information ID among all historical information IDs.
[0128] It is understandable that when confirmation information of the target historical information ID triggered by the user is received, the BMS information corresponding to the target historical information ID is read and displayed.
[0129] In order to better explain the above content, please refer to the following code examples, which further illustrate the implementation methods of each part of the content in the above embodiments of the present application.
[0130]
[0131]
[0132]
[0133]
[0134]
[0135]
[0136] It should be noted that the above codes are only used for illustration and are not limited to the above codes when implementing the embodiments of the present application.
[0137] In summary, by matching the communication pin, communication baud rate and information ID, the historical information ID with a high matching degree is obtained and displayed. The user can obtain the corresponding BMS information by selecting the displayed historical information ID. The key information can also be quickly obtained in the diversity of vehicle models, battery brands and battery signals, thereby reducing the fault diagnosis time.
[0138] like Figure 8 , which is a schematic diagram of the architecture of a BMS information reading device provided in an embodiment of the present application, the reading device includes: an acquisition unit 100, a first matching unit 200, a second matching unit 300, a third matching unit 400 and a reading unit 500.
[0139] The acquisition unit 100 is used to acquire the communication pin, communication baud rate and information ID of the vehicle.
[0140] The first matching unit 200 is used to match the communication pin with the historical communication pin to obtain a first matching result.
[0141] The first matching unit 200 is specifically used to: determine whether the communication pin is consistent with the historical communication pin; if the communication pin is consistent with the historical communication pin, determine the first matching result as a successful match between the communication pin and the historical communication pin; if the communication pin is inconsistent with the historical communication pin, determine the first matching result as a failed match between the communication pin and the historical communication pin.
[0142] The second matching unit 300 is used to match the communication baud rate with the historical communication baud rate to obtain a second matching result when the first matching result indicates that the communication pin matches the historical communication pin successfully.
[0143] The second matching unit 300 is specifically used to: determine whether the communication baud rate is consistent with the historical communication baud rate; if the communication baud rate is consistent with the historical communication baud rate, determine the second matching result as a successful match between the communication baud rate and the historical communication baud rate; if the communication baud rate is inconsistent with the historical communication baud rate, determine the second matching result as a failed match between the communication baud rate and the historical communication baud rate.
[0144] The third matching unit 400 is used to match the information ID with all the historical information IDs in the database to obtain all matching degrees when the second matching result indicates that the communication baud rate matches the historical communication baud rate successfully. The third matching unit 400 is specifically used to: set the initial matching degree ratio of the information ID; for each historical information ID in the database, compare whether the identifier in the information ID is consistent with the identifier in the historical information ID; if the identifier in the information ID is consistent with the identifier in the historical information ID, determine the initial matching degree ratio as the matching degree; if the identifier in the information ID is inconsistent with the identifier in the historical information ID, record the number of inconsistencies between the identifier in the information ID and the identifier in the historical information ID; calculate the matching degree between the information ID and the historical information ID based on the initial matching degree ratio and the number.
[0145] The reading unit 500 is used to read the BMS information according to all matching degrees.
[0146] The reading unit 500 is specifically used to: filter out historical information IDs whose matching degree is greater than a preset threshold from all matching degrees; determine whether the number of historical information IDs is greater than the preset number; if the number of historical information IDs is greater than the preset number, filter out and display the preset number of historical information IDs in order of matching degree from high to low; if the number of historical information IDs is not greater than the preset number, display all historical information IDs in order of matching degree from high to low; when receiving confirmation information of the target historical information ID, read the BMS information corresponding to the target historical information ID; the target historical information indicates any historical information ID among all historical information IDs.
[0147] In summary, by matching the communication pin, communication baud rate and information ID, the historical information ID with a high matching degree is obtained and displayed. The user can obtain the corresponding BMS information by selecting the displayed historical information ID. The key information can also be quickly obtained in the diversity of vehicle models, battery brands and battery signals, thereby reducing the fault diagnosis time.
[0148] The present application also provides a computer-readable storage medium, the computer-readable storage medium includes a stored program, wherein the program executes the method for reading BMS information provided by the present application.
[0149] like Fig. 9 As shown, the present application also provides an electronic device, including: a processor 901, a memory 902 and a bus 903. The processor 901 is connected to the memory 902 via the bus 903, the memory 902 is used to store programs, and the processor 901 is used to run programs, wherein when the program is run, the method for reading BMS information provided by the present application is executed, including the following steps:
[0150] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.
[0151] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0152] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for reading BMS information, characterized in that: include: Get the vehicle's communication pin, communication baud rate and information ID; Matching the communication pin with a historical communication pin to obtain a first matching result; When the first matching result indicates that the communication pin matches the historical communication pin successfully, matching the communication baud rate with the historical communication baud rate to obtain a second matching result; When the second matching result indicates that the communication baud rate successfully matches the historical communication baud rate, matching the information ID with all historical information IDs in the database to obtain all matching degrees; The BMS information is read according to all the matching degrees.
2. The method according to claim 1, characterized in that The step of matching the communication pin with a historical communication pin to obtain a first matching result includes: Determine whether the communication pin is consistent with the historical communication pin; If the communication pin is consistent with the historical communication pin, determining the first matching result is that the communication pin matches the historical communication pin successfully; If the communication pin is inconsistent with the historical communication pin, it is determined that the first matching result is that the communication pin fails to match the historical communication pin.
3. The method according to claim 1, characterized in that The step of matching the communication baud rate with the historical communication baud rate to obtain a second matching result includes: Determining whether the communication baud rate is consistent with the historical communication baud rate; If the communication baud rate is consistent with the historical communication baud rate, determining the second matching result is that the communication baud rate successfully matches the historical communication baud rate; If the communication baud rate is inconsistent with the historical communication baud rate, it is determined that the second matching result is that the communication baud rate fails to match the historical communication baud rate.
4. The method according to claim 1, characterized in that: The information ID is matched with all historical information IDs in the database to obtain all matching degrees, including: Setting the initial matching ratio of the information ID; For each historical information ID in the database, compare whether the identifier in the information ID is consistent with the identifier in the historical information ID; If the identifier in the information ID is consistent with the identifier in the historical information ID, the initial matching ratio is determined as the matching degree; If the identifier in the information ID is inconsistent with the identifier in the historical information ID, then the number of inconsistencies between the identifier in the information ID and the identifier in the historical information ID is recorded; The matching degree between the information ID and the historical information ID is calculated according to the initial matching degree ratio and the number.
5. The method according to claim 1, characterized in that The reading of BMS information according to all the matching degrees includes: Filter out historical information IDs whose matching degree is greater than a preset threshold from all the matching degrees; Determine whether the number of historical information IDs is greater than the preset number; If the number of the historical information IDs is greater than the preset number, the preset number of historical information IDs are screened out and displayed in descending order of matching degree; If the number of the historical information IDs is not greater than the preset number, all the historical information IDs are displayed in order of matching degree from high to low; When confirmation information of a target history information ID is received, BMS information corresponding to the target history information ID is read; the target history information indicates any one history information ID among all history information IDs.
6. A device for reading BMS information, characterized in that: include: An acquisition unit, used to acquire the vehicle's communication pin, communication baud rate and information ID; A first matching unit, used for matching the communication pin with a historical communication pin to obtain a first matching result; A second matching unit, configured to match the communication baud rate with the historical communication baud rate to obtain a second matching result when the first matching result indicates that the communication pin matches the historical communication pin successfully; a third matching unit, configured to match the information ID with all historical information IDs in a database to obtain all matching degrees when the second matching result indicates that the communication baud rate matches the historical communication baud rate successfully; A reading unit is used to read the BMS information according to all the matching degrees.
7. The device according to claim 6, characterized in that The first matching unit is specifically used for: Determine whether the communication pin is consistent with the historical communication pin; If the communication pin is consistent with the historical communication pin, determining the first matching result is that the communication pin matches the historical communication pin successfully; If the communication pin is inconsistent with the historical communication pin, it is determined that the first matching result is that the communication pin fails to match the historical communication pin.
8. The device according to claim 6, characterized in that The second matching unit is specifically used for: Determining whether the communication baud rate is consistent with the historical communication baud rate; If the communication baud rate is consistent with the historical communication baud rate, determining the second matching result is that the communication baud rate successfully matches the historical communication baud rate; If the communication baud rate is inconsistent with the historical communication baud rate, it is determined that the second matching result is that the communication baud rate fails to match the historical communication baud rate.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program is executed by a processor to execute the method for reading BMS information according to any one of claims 1 to 5.
10. An electronic device, characterized in that: include: processor, memory, and bus; The processor is connected to the memory via the bus; The memory is used to store programs, and the processor is used to run programs, wherein the program, when run by the processor, executes the method for reading BMS information according to any one of claims 1 to 5.