A method and device for remotely collecting vehicle information
Through OBD, the battery monitoring parameters of new energy vehicles are collected and sent to the server, and the remote real-time monitoring of new energy vehicles is realized, which solves the problems of short battery life and illegal scrapping, ensuring the reasonable sharing of economic losses and the extension of battery service life.
Patent Information
- Application Number
- CN202210829943.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-15
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2042-07-15
AI Technical Summary
The short battery life of new energy vehicles has caused economic losses to rental companies, and it is difficult to monitor vehicle battery data in real time to avoid illegal scrapped battery operations.
Through OBD, battery monitoring parameter data is collected, protocol configuration files are analyzed and formed, communication links are established to send data to the server, real-time remote monitoring of new energy vehicles is realized.
Ensure that the battery loss is in normal use during compensation, avoid illegal operations such as artificial replacement of scrapped batteries privately, provide a basis for insurance companies to make claims, and extend the battery life.
Smart Images

Figure CN115311760B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to new energy vehicles, and in particular to a method and device for remotely collecting vehicle information. Background Art
[0002] With the development of science and technology, new energy vehicles are gradually accepted by everyone, and their market share continues to increase. Due to the limitations of battery technology, the battery life of new energy vehicles will not be very long when they are in use, which affects the short service life of the vehicle. Therefore, new energy vehicle rental companies for commercial use have emerged. They provide vehicles for car rental personnel, who pay a certain amount of rent, and new energy vehicle rental companies bear the losses incurred during the use of the vehicles, especially the loss of battery life. The leasing company hopes to invest in insurance for the battery to reduce the economic losses caused by battery loss. As an insurance company, it hopes to monitor the battery data of the vehicle in real time to ensure that the battery is lost during normal use when paying compensation, rather than caused by illegal operations such as privately replacing scrapped batteries. Summary of the invention
[0003] The invention provides a method and device for remotely collecting vehicle information.
[0004] According to a first aspect of the present invention, the present invention provides a method for remotely collecting vehicle information, comprising:
[0005] Collecting data of battery monitoring parameters in the OBD to change the data of the battery monitoring parameters, and parsing the vehicle protocol according to the changed data of the battery monitoring parameters;
[0006] According to the parsed protocol, a protocol configuration file database is formed by means of a configuration table;
[0007] Traversing the protocol configuration file, reading the data of the battery monitoring parameters, and parsing the data of the battery monitoring parameters;
[0008] A communication link is established, and the data of the battery monitoring parameters are packaged and sent to the server according to the agreed communication protocol.
[0009] Furthermore, the collecting of battery monitoring parameter data in the vehicle OBD causes the battery monitoring parameter data to change, and parsing the vehicle protocol according to the changed battery monitoring parameter data, including:
[0010] Collect data of multiple battery monitoring parameters in the vehicle OBD through a CAN data collector;
[0011] The data of the battery monitoring parameters are changed separately, the real-time monitored CAN data is checked synchronously, and the changed CAN data items are screened out;
[0012] Acquire the monitored vehicle data in conjunction with the dashboard, and determine which group of battery monitoring parameter CAN data it is based on the data change size and the corresponding CAN data change size;
[0013] Compare the actual data displayed on the dashboard with the CAN data, and determine the analytical formula for the CAN data based on the data changes.
[0014] Further, traversing the protocol configuration file, reading the data of the battery monitoring parameters, and parsing the data of the battery monitoring parameters include:
[0015] Traverse the protocol configuration file, set filter IDs for all CAN IDs, determine the CAN baud rate to be used, and set the CAN driver;
[0016] The CAN data reading function is started to read the data of the battery monitoring parameters, traverse the protocol configuration file, and parse the data according to the data parsing method in the protocol configuration file.
[0017] Furthermore, the method further comprises:
[0018] When the vehicle terminal does not detect CAN data, it enters a low power consumption state. After the timing time is reached, the vehicle terminal enters a normal operation mode from a low power consumption state to detect whether there is CAN data. If there is, it continues to maintain the normal operation mode. If not, it continues to maintain low power consumption.
[0019] Furthermore, the method further comprises:
[0020] When the vehicle is charging and the OBD detects CAN data, the received CAN data is parsed and uploaded according to the configured protocol profile.
[0021] Furthermore, the battery monitoring parameters include: battery voltage, battery current, battery temperature, vehicle speed, rotation speed, battery charge and discharge status, battery model and battery power.
[0022] Furthermore, the protocol configuration file database includes the following fields:
[0023] Protocol type, filter id, filter id mask, confirmation code position, confirmation code size, confirmation code, data position, data length and data parsing method.
[0024] According to a second aspect of the present invention, the present invention provides a vehicle information remote collection device, comprising:
[0025] A processing module, used for collecting data of battery monitoring parameters in the OBD, changing the data of the battery monitoring parameters, and parsing the vehicle protocol according to the changed data of the battery monitoring parameters;
[0026] A configuration module, used to form a protocol configuration file database by means of a configuration table according to the parsed protocol;
[0027] A parsing module, used for traversing the protocol configuration file, reading the data of the battery monitoring parameters, and parsing the data of the battery monitoring parameters;
[0028] The sending module is used to establish a communication link, package the data of the battery monitoring parameters according to the agreed communication protocol, and send the data to the server.
[0029] Furthermore, the processing module includes:
[0030] A collection unit, used for collecting data of multiple battery monitoring parameters in the vehicle OBD through a CAN data collector;
[0031] A screening unit, used to change the data of the battery monitoring parameters individually, synchronously check the real-time monitored CAN data, and screen out the changed CAN data items;
[0032] A determination unit, used to obtain the vehicle data being monitored in conjunction with the dashboard, and determine which group of battery monitoring parameter CAN data it is based on the data change size and the corresponding CAN data change size;
[0033] The parsing unit is used to compare the actual data displayed on the instrument panel with the CAN data, and determine the parsing formula of the CAN data based on the change in the data.
[0034] Furthermore, the parsing module includes:
[0035] A setting unit, used for traversing the protocol configuration file, filtering ID settings for all CAN IDs, determining the CAN baud rate to be used, and setting the CAN driver;
[0036] The parsing unit is used to start the CAN data reading function, read the data of the battery monitoring parameters, traverse the protocol configuration file, and parse the data according to the data parsing method in the protocol configuration file.
[0037] Furthermore, the device also includes:
[0038] The low-power module is used to enter a low-power state when the vehicle terminal does not detect CAN data. After the timing time is reached, the vehicle terminal enters the normal operating mode from the low-power state to detect whether there is CAN data. If there is, it continues to maintain the normal operating mode. If not, it continues to maintain low power consumption.
[0039] Furthermore, the device also includes:
[0040] The charging upload module is used to parse and upload the received CAN data according to the configured protocol configuration file when the vehicle is charging and the OBD detects the CAN data.
[0041] According to a third aspect of the present invention, the present invention provides a vehicle information remote collection device, comprising:
[0042] Memory, used to store programs;
[0043] The processor is used to implement the above method by executing the program stored in the memory.
[0044] The beneficial effects of the present invention are:
[0045] The vehicle information remote collection method and device provided by the embodiment of the present invention include collecting the data of the battery monitoring parameters in the OBD, causing the data of the battery monitoring parameters to change, parsing the vehicle protocol according to the changed data of the battery monitoring parameters; forming a protocol configuration file database by means of a configuration table according to the parsed protocol; traversing the protocol configuration file, reading the data of the battery monitoring parameters, and parsing the data of the battery monitoring parameters; establishing a communication link, and packaging the battery monitoring parameter data according to the agreed communication protocol and sending it to the server. The vehicle information remote collection method and device provided by the embodiment of the present invention can remotely monitor each insured new energy vehicle in real time, provide the vehicle's battery data in real time, ensure that the battery is damaged during normal use when making compensation, and avoid illegal operations such as stealing and replacing scrapped batteries privately. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 A flow chart of a method for remotely collecting vehicle information provided in Example 1 of the present invention in one implementation manner;
[0047] Figure 2 A flow chart of another implementation of the method for remotely collecting vehicle information provided in the first embodiment of the present invention;
[0048] Figure 3 A flow chart of another implementation of the method for remotely collecting vehicle information provided in the first embodiment of the present invention;
[0049] Figure 4A schematic diagram of a program module of a vehicle information remote collection device in one implementation manner provided in Embodiment 2 of the present invention;
[0050] Figure 5 A schematic diagram of a program module of a processing module provided in Embodiment 2 of the present invention in one implementation manner;
[0051] Figure 6 A schematic diagram of a program module of an analysis module provided in Embodiment 2 of the present invention in one implementation manner;
[0052] Figure 7 This is a schematic diagram of program modules of the vehicle information remote collection device provided in the second embodiment of the present invention in another implementation manner. DETAILED DESCRIPTION
[0053] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present invention better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present invention are not shown or described in the specification, this is to avoid the core part of the present invention being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.
[0054] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.
[0055] The serial numbers assigned to the components herein, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning. The "connection" and "coupling" mentioned in the present invention include direct and indirect connections (couplings) unless otherwise specified.
[0056] Embodiment 1:
[0057] like Figure 1 As shown, a method for remotely collecting vehicle information provided by an embodiment of the present invention includes the following steps:
[0058] Step 102: Collect the data of the battery monitoring parameters in the OBD (On-Board Diagnost ics) to change the data of the battery monitoring parameters, and parse the vehicle protocol according to the changed data of the battery monitoring parameters.
[0059] In one embodiment, the battery monitoring parameters include: battery voltage, battery current, battery temperature, vehicle speed, rotation speed, battery charge and discharge status, battery model and battery power, etc.
[0060] Step 104: According to the parsed protocol, a protocol configuration file database is formed by configuring a table.
[0061] According to the parsed protocol, the filter ID of each data item and the calculation formula of the value are determined. Through the configuration table, they are integrated to form a small database. When the application is used, the CAN (Controller Area Network) filter settings are performed by looking up the table, and the data is parsed after receiving it.
[0062] Furthermore, the protocol configuration file database may include fields such as protocol type, filter ID, filter ID mask, confirmation code position, confirmation code size, confirmation code, data position, data length and data parsing method.
[0063] In one implementation, the database structure is shown in the following table:
[0064]
[0065] Table 1 Database structure
[0066] Step 106: traverse the protocol configuration file, read the data of the battery monitoring parameters, and parse the data of the battery monitoring parameters.
[0067] Step 108: Establish a communication link, package the battery monitoring parameter data according to the agreed communication protocol and send it to the server.
[0068] Establish the communication link between the terminal and the platform, package the battery information data according to the agreed communication protocol, and send the data to the background server through the communication module after packaging.
[0069] Furthermore, if Figure 2 As shown, step 102 may specifically include the following steps:
[0070] Step 202: Collect data of multiple battery monitoring parameters in the vehicle OBD through a CAN data collector.
[0071] Step 204: Change the data of the battery monitoring parameters separately, check the CAN data monitored in real time synchronously, and filter out the changed CAN data items.
[0072] Step 206: Acquire the vehicle data being monitored in conjunction with the dashboard, and determine which group of battery monitoring parameter CAN data it is based on the data change size and the corresponding CAN data change size.
[0073] Step 208: Compare the actual data displayed on the instrument panel with the CAN data, and determine the analytical formula for the CAN data based on the data change.
[0074] First, the vehicle OBD data is collected without filtering through the CAN data collector, and the changed bytes of each group of CAN data are monitored in real time through the collection tool. Then, conditions are created to make separate changes to the vehicle's battery voltage, battery current, battery temperature, vehicle speed, rotation speed, battery charge and discharge status, battery model and battery power, and the CAN data monitored in real time by the collection tool are simultaneously viewed to filter out the changed CAN data items. Finally, the vehicle data being monitored is obtained intuitively through the dashboard, and the group of CAN data is determined by the size of the data change and the corresponding size of the CAN data change. At the same time, the analysis formula of the CAN data is further determined by comparing the actual data displayed on the dashboard with the CAN data, as well as the change amount of the two data. Through the above method, the vehicle protocol is finally parsed.
[0075] Furthermore, if Figure 3 As shown, step 106 may specifically include the following steps:
[0076] Step 302: traverse the protocol configuration file, filter all CAN IDs, determine the CAN baud rate to be used, and set the CAN driver.
[0077] Step 304: Start the CAN data reading function, read the data of the battery monitoring parameters, traverse the protocol configuration file, and parse the data according to the data parsing method in the protocol configuration file.
[0078] To read OBD CAN data, first traverse the protocol configuration file and set the filtered ID for all CAN IDs; then determine the CAN baud rate to be used and set the CAN driver; if all CAN data is broadcast data, set the CAN working mode to monitoring mode to reduce interference with the vehicle CAN network. After the above configuration, start the CAN data reading function. After reading the CAN data, traverse the protocol configuration file. According to the data parsing method in the protocol configuration file, parse the data, and then update the obtained structure to the memory variable.
[0079] In one implementation, the vehicle information remote collection method provided by the embodiment of the present invention may further include the following steps:
[0080] Step 110: When the vehicle terminal does not detect CAN data, it enters a low power consumption state. After the timing time is reached, the vehicle terminal enters a normal operation mode from the low power consumption state to detect whether there is CAN data. If there is, it continues to maintain the normal operation mode. If not, it continues to maintain low power consumption.
[0081] Since the vehicle-mounted equipment generally uses the power provided by the vehicle battery, low-power processing is required to prevent the equipment from continuing to use the vehicle's power when there is no data upload service during operation, resulting in the vehicle battery feeding. If the situation is serious, the vehicle cannot be started. Therefore, when the vehicle is parked, the vehicle-mounted equipment needs to enter a low-power state. The vehicle-mounted terminal will enter a low-power state when no CAN data is detected. Before the terminal enters low power consumption, an alarm is set. When the timing time is reached, the vehicle-mounted terminal will enter the normal operating mode from the low-power state and detect whether there is CAN data. If there is no CAN data, the low-power mode will be entered again; if there is CAN data, the normal operating mode will continue. When no CAN data is detected, the low-power mode will be entered again, and this will be repeated. Through low-power management, the vehicle battery power used can be effectively reduced, the vehicle can be started normally, and the battery life can be extended.
[0082] In another implementation, the vehicle information remote collection method provided by the embodiment of the present invention may further include the following steps:
[0083] Step 112: When the vehicle is charging and the OBD detects CAN data, the received CAN data is parsed and uploaded according to the configured CAN protocol configuration file.
[0084] Since the vehicle is charged when the vehicle is parked, the battery data during charging is also crucial, so the data at this time needs to be uploaded to the background. When the vehicle is charging, the OBD port will also broadcast CAN data. When OBD detects CAN data, it parses and uploads the received CAN data according to the configured CAN data protocol file.
[0085] The vehicle information remote collection method provided by the embodiment of the present invention includes collecting the data of the battery monitoring parameters in the OBD, changing the data of the battery monitoring parameters, parsing the vehicle protocol according to the changed data of the battery monitoring parameters; forming a protocol configuration file database by means of a configuration table according to the parsed protocol; traversing the protocol configuration file, reading the data of the battery monitoring parameters, and parsing the data of the battery monitoring parameters; establishing a communication link, and packaging the data of the battery monitoring parameters according to the agreed communication protocol and sending it to the server. The vehicle information remote collection method provided by the embodiment of the present invention can remotely monitor each insured new energy vehicle in real time, provide the battery data of the vehicle in real time, ensure that the battery is damaged during normal use when paying compensation, and avoid illegal operations such as stealing and replacing scrapped batteries privately. The embodiment of the present invention can provide a basis for insurance companies to settle claims by reading the battery data when the new energy vehicle is started and when the vehicle is charged, and uploading it to the background.
[0086] Embodiment 2:
[0087] like Figures 4 to 7 As shown, the vehicle information remote collection device provided by an embodiment of the present invention, in one implementation manner, includes a processing module 410 , a configuration module 420 , a parsing module 430 and a sending module 440 .
[0088] The processing module 410 is used to collect the data of the battery monitoring parameters in the OBD, change the data of the battery monitoring parameters, and parse the vehicle protocol according to the changed data of the battery monitoring parameters.
[0089] The configuration module 420 is used to form a protocol configuration file database in the form of a configuration table according to the parsed protocol.
[0090] According to the parsed protocol, the filter ID of each data item and the calculation formula of the value are determined. Through the configuration table, they are integrated to form a small database. When the application is used, the CAN filter settings are performed by looking up the table, and the data is parsed after receiving it.
[0091] Furthermore, the protocol configuration file database may include fields such as protocol type, filter ID, filter ID mask, confirmation code position, confirmation code size, confirmation code, data position, data length and data parsing method.
[0092] In one implementation, the database structure is shown in the following table:
[0093]
[0094] Table 1 Database structure
[0095] A parsing module 430, configured to traverse the protocol configuration file, read the data of the battery monitoring parameters, and parse the data of the battery monitoring parameters;
[0096] The sending module 440 is used to establish a communication link, package the data of the battery monitoring parameters according to the agreed communication protocol, and send the data to the server.
[0097] Establish the communication link between the terminal and the platform, package the battery information data according to the agreed communication protocol, and send the data to the background server through the communication module after packaging.
[0098] Furthermore, the processing module 410 may include a collecting unit 411 , a screening unit 412 , a determining unit 413 and a parsing unit 414 .
[0099] The acquisition unit 411 is used to acquire data of multiple battery monitoring parameters in the vehicle OBD through a CAN data collector;
[0100] A screening unit 412, used to change the data of the battery monitoring parameters separately, synchronously check the real-time monitored CAN data, and screen out the changed CAN data items;
[0101] The determination unit 413 is used to obtain the vehicle data being monitored in combination with the dashboard, and determine which group of battery monitoring parameter CAN data it is based on the data change size and the corresponding CAN data change size;
[0102] The parsing unit 414 is used to compare the actual data displayed on the instrument panel with the CAN data, and determine the parsing formula of the CAN data according to the change amount of the data.
[0103] First, the vehicle OBD data is collected without filtering through the CAN data collector, and the changed bytes of each group of CAN data are monitored in real time through the collection tool. Then, conditions are created to make separate changes to the vehicle's battery voltage, battery current, battery temperature, vehicle speed, rotation speed, battery charge and discharge status, battery model and battery power, and the CAN data monitored in real time by the collection tool are simultaneously viewed to filter out the changed CAN data items. Finally, the vehicle data being monitored is obtained intuitively through the dashboard, and the group of CAN data is determined by the size of the data change and the corresponding size of the CAN data change. At the same time, the analysis formula of the CAN data is further determined by comparing the actual data displayed on the dashboard with the CAN data, as well as the change amount of the two data. Through the above method, the vehicle protocol is finally parsed.
[0104] Further, the parsing module 430 may include a setting unit 431 and a parsing unit 432 .
[0105] The setting unit 431 is used to traverse the protocol configuration file, filter ID settings for all CAN IDs, determine the CAN baud rate to be used, and set the CAN driver;
[0106] The parsing unit 432 is used to start the CAN data reading function, read the data of the battery monitoring parameters, traverse the protocol configuration file, and parse the data according to the data parsing method in the protocol configuration file.
[0107] Another implementation of the vehicle information remote collection device provided in the embodiment of the present invention may further include a low power consumption module 450 and a charging upload module 460 .
[0108] The low power consumption module 450 is used to enter a low power consumption state when the vehicle terminal does not detect CAN data. After the timing time is reached, the vehicle terminal enters a normal operating mode from the low power consumption state to detect whether there is CAN data. If there is, it continues to maintain the normal operating mode. If not, it continues to maintain low power consumption.
[0109] Since the on-board equipment generally uses the power provided by the vehicle battery, low-power processing is required to prevent the equipment from continuing to use the vehicle's power when there is no data to upload during operation, resulting in the vehicle battery feeding. If the situation is serious, the vehicle cannot be started. Therefore, when the vehicle is parked, the on-board equipment needs to enter a low-power state. When the vehicle terminal does not detect CAN data, it will enter a low-power state. Before the terminal enters low power consumption, an alarm is set. When the timing time is reached, the vehicle terminal will enter the normal operating mode from the low-power state and detect whether there is CAN data. If there is no CAN data, the low-power mode will be entered again; if there is CAN data, the normal operating mode will continue. When no CAN data is detected, the low-power mode will be entered again, and this will be repeated.
[0110] The charging upload module 460 is used to parse and upload the received CAN data according to the configured CAN protocol configuration file when the vehicle is charging and the OBD detects the CAN data.
[0111] Since the vehicle is charged when the vehicle is parked, the battery data during charging is also crucial, so the data at this time needs to be uploaded to the background. When the vehicle is charging, the OBD port will also broadcast CAN data. When OBD detects CAN data, it parses and uploads the received CAN data according to the configured CAN data protocol file.
[0112] The vehicle information remote collection device provided by the embodiment of the present invention includes: a processing module for collecting the data of the battery monitoring parameters in the OBD, changing the data of the battery monitoring parameters, and parsing the vehicle protocol according to the changed data of the battery monitoring parameters; a configuration module for forming a protocol configuration file database by means of a configuration table according to the parsed protocol; a parsing module for traversing the protocol configuration file, reading the data of the battery monitoring parameters, and parsing the data of the battery monitoring parameters; a sending module for establishing a communication link, and packaging the data of the battery monitoring parameters according to the agreed communication protocol and sending it to the server. The vehicle information remote collection device provided by the embodiment of the present invention can remotely monitor each insured new energy vehicle in real time, provide the battery data of the vehicle in real time, ensure that the battery is damaged during normal use when paying compensation, and avoid illegal operations such as stealing and replacing scrapped batteries privately. The embodiment of the present invention can provide a basis for insurance companies to settle claims by reading the battery data when the new energy vehicle is started and when the vehicle is charged, and uploading it to the background.
[0113] Embodiment three:
[0114] A vehicle information remote collection device provided in an embodiment of the present invention, in one implementation manner, includes a memory and a processor.
[0115] Memory, used to store programs;
[0116] The processor is used to implement the method in the first embodiment by executing the program stored in the memory.
[0117] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.
[0118] The above specific examples are used to illustrate the present invention, which is only used to help understand the present invention and is not intended to limit the present invention. For those skilled in the art, according to the concept of the present invention, some simple deductions, modifications or substitutions can be made.
Claims
1. A method for remotely collecting vehicle information, characterized in that: include: Collecting data of battery monitoring parameters in the OBD to change the data of the battery monitoring parameters, and parsing the vehicle protocol according to the changed data of the battery monitoring parameters; According to the parsed protocol, a protocol configuration file database is formed by means of a configuration table; Traversing the protocol configuration file, reading the data of the battery monitoring parameters, and parsing the data of the battery monitoring parameters; Establishing a communication link, packaging the data of the battery monitoring parameters according to the agreed communication protocol and sending the data to the server; The collecting of battery monitoring parameter data in the vehicle OBD causes the battery monitoring parameter data to change, and parsing the vehicle protocol according to the changed battery monitoring parameter data, including: Collect data of multiple battery monitoring parameters in the vehicle OBD through a CAN data collector; The data of the battery monitoring parameters are changed separately, the real-time monitored CAN data is checked synchronously, and the changed CAN data items are screened out; Acquire the monitored vehicle data in conjunction with the dashboard, and determine which group of battery monitoring parameter CAN data it is based on the data change size and the corresponding CAN data change size; Compare the actual data displayed on the dashboard with the CAN data, and determine the analytical formula for the CAN data based on the data changes.
2. The method according to claim 1, characterized in that The traversing the protocol configuration file, reading the data of the battery monitoring parameter, and parsing the data of the battery monitoring parameter include: Traverse the protocol configuration file, set filter IDs for all CAN IDs, determine the CAN baud rate to be used, and set the CAN driver; The CAN data reading function is started to read the data of the battery monitoring parameters, traverse the protocol configuration file, and parse the data according to the data parsing method in the protocol configuration file.
3. The method according to claim 1, characterized in that The method further comprises: When the vehicle terminal does not detect CAN data, it enters a low power consumption state. After the timing time is reached, the vehicle terminal enters a normal operation mode from a low power consumption state to detect whether there is CAN data. If there is, it continues to maintain the normal operation mode. If not, it continues to maintain low power consumption.
4. The method according to claim 1, characterized in that The method further comprises: When the vehicle is charging and the OBD detects CAN data, the received CAN data is parsed and uploaded according to the configured protocol profile.
5. The method according to claim 1, characterized in that The battery monitoring parameters include: battery voltage, battery current, battery temperature, vehicle speed, rotation speed, battery charge and discharge status, battery model and battery power.
6. The method according to claim 1, characterized in that The protocol configuration file database includes the following fields: Protocol type, filter id, filter id mask, confirmation code position, confirmation code size, confirmation code, data position, data length and data parsing method.
7. A vehicle information remote collection device, characterized in that: include: A processing module, used for collecting data of battery monitoring parameters in the OBD, changing the data of the battery monitoring parameters, and parsing the vehicle protocol according to the changed data of the battery monitoring parameters; A configuration module, used to form a protocol configuration file database by means of a configuration table according to the parsed protocol; A parsing module, used for traversing the protocol configuration file, reading the data of the battery monitoring parameters, and parsing the data of the battery monitoring parameters; A sending module, used to establish a communication link, package the data of the battery monitoring parameters according to the agreed communication protocol and send the data to the server; The processing module comprises: A collection unit, used for collecting data of multiple battery monitoring parameters in the vehicle OBD through a CAN data collector; A screening unit, used to change the data of the battery monitoring parameters individually, synchronously check the real-time monitored CAN data, and screen out the changed CAN data items; A determination unit, used to obtain the vehicle data being monitored in conjunction with the dashboard, and determine which group of battery monitoring parameter CAN data it is based on the data change size and the corresponding CAN data change size; The parsing unit is used to compare the actual data displayed on the instrument panel with the CAN data, and determine the parsing formula of the CAN data based on the change in the data.
8. The device according to claim 7, characterized in that The parsing module comprises: A setting unit, used for traversing the protocol configuration file, filtering ID settings for all CAN IDs, determining the CAN baud rate to be used, and setting the CAN driver; The parsing unit is used to start the CAN data reading function, read the data of the battery monitoring parameters, traverse the protocol configuration file, and parse the data according to the data parsing method in the protocol configuration file.
9. The device according to claim 7, characterized in that The device also includes: The low-power module is used to set a timer and enter a low-power state when the vehicle terminal does not detect CAN data; after the timer is reached, the vehicle terminal will enter the normal operation mode from the low-power state until CAN data is detected, then continue to maintain the normal operation mode.
10. The device according to claim 7, characterized in that The device also includes: The charging upload module is used to parse and upload the received CAN data according to the configured protocol configuration file when the vehicle is charging and the OBD detects the CAN data.
11. A vehicle information remote collection device, characterized in that: include: Memory, used to store programs; A processor, configured to implement the method according to any one of claims 1 to 6 by executing the program stored in the memory.
