TBOX detection device and method
By simulating the vehicle bus data format and communication protocol, the TBOX detection device and method solve the error problem in the TBOX data acquisition process, and realize the accurate calibration of data and the effective evaluation of the remote monitoring system.
Patent Information
- Application Number
- CN202010991822.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-18
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2040-09-18
AI Technical Summary
During the TBOX data collection and analysis process, data errors may occur, resulting in differences between the final stored and reported data and the original data, affecting the effectiveness of the vehicle monitoring system.
Provided is a TBOX detection device and method. The device simulates the vehicle bus data format and communication protocol through a test control module and a vehicle bus data simulation module, generates bus simulation data and sends it to the TBOX to be tested for processing. The received test data is then compared and analyzed to evaluate the data precision and accuracy.
It realizes the measurement and calibration of TBOX data without the whole vehicle, ensures the accuracy of data, provides data calibration and verification methods for remote monitoring systems, and improves the accuracy and consistency of data collection.
Smart Images

Figure CN111966084B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle communication technology, and in particular to a TBOX detection device and method. Background Art
[0002] The data collection and reporting process by TBOX involves the collection and analysis of key vehicle parameters, the generation of time and navigation positioning data, data encoding according to established protocols, and data storage and reporting. During this process, errors in data estimation, decoding transactions, and application software coding may cause discrepancies between the data ultimately stored and reported to the platform by TBOX and the original data.
[0003] To ensure the effectiveness of the vehicle monitoring system, the data collected by TBOX must be accurate and true. How to effectively measure and calibrate the data from the on-board terminal is an urgent problem that needs to be solved in vehicle remote monitoring. Summary of the Invention
[0004] The main purpose of this application is to provide a TBOX detection device and method to solve the above technical problems.
[0005] To achieve the above-mentioned objectives, a first aspect of an embodiment of the present application provides a TBOX detection device, comprising: a test control module and a vehicle bus data simulation module, wherein the test control module is connected to the vehicle bus data simulation module, the vehicle bus data simulation module is connected to a TBOX to be tested, and the TBOX to be tested is connected to the test control module;
[0006] The test control module is used to send bus simulation data to the vehicle bus simulation module;
[0007] The vehicle bus data simulation module is used to simulate the data format and communication protocol of the vehicle bus, encapsulate the bus simulation data into a message, and send the message to the TBOX to be tested, so that the TBOX to be tested processes the message to obtain the data to be tested;
[0008] The test control module is further configured to receive the test data reported by the TBOX to be tested, and compare and analyze the bus simulation data with the test data.
[0009] Optionally, the TBOX to be tested is specifically used to decode and translate the message, and encode the decoded and translated data according to a preset standard to obtain the data to be tested.
[0010] Optionally, the vehicle bus data simulation module is specifically configured to respond to a data acquisition request from the TBOX to be tested, simulate the data format and communication protocol of the vehicle bus, encapsulate the bus simulation data into a message, and send the message to the TBOX to be tested.
[0011] Optionally, the device further includes a programmable power supply for providing a stable current to the vehicle bus data simulation module and the TBOX to be tested.
[0012] Optionally, the test control module and the vehicle bus data simulation module are connected via a USB or RS232 serial line.
[0013] Optionally, the vehicle bus data simulation module is connected to the TBOX to be tested via any one of an OBD interface, a CAN line interface, and an RS232 interface.
[0014] Optionally, the TBOX to be tested and the test control module are connected via an RS232 serial line or an ADB line.
[0015] A second aspect of an embodiment of the present application provides a TBOX detection method, which is applied to a TBOX detection device. The TBOX detection device includes a test control module and a vehicle bus data simulation module. The method includes:
[0016] Using the test control module to send bus simulation data to the vehicle bus simulation module;
[0017] Utilizing the vehicle bus data simulation module to simulate the data format and communication protocol of the vehicle bus, and encapsulating the bus simulation data into a message;
[0018] Using the vehicle bus data simulation module to send the message to the TBOX to be tested, so that the TBOX to be tested processes the message to obtain the data to be tested;
[0019] The test control module is used to receive the test data reported by the TBOX to be tested, and the bus simulation data is compared and analyzed with the test data.
[0020] Optionally, the method further includes:
[0021] The message is decoded and translated by the TBOX to be tested, and the decoded and translated data is encoded according to a preset standard to obtain the data to be tested.
[0022] Optionally, the vehicle bus data simulation module responds to the data acquisition request of the TBOX to be tested, simulates the data format and communication protocol of the vehicle bus, encapsulates the bus simulation data into a message, and sends the message to the TBOX to be tested. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0024] Figure 1 A schematic structural diagram of a TBOX detection device provided in one embodiment of the present application;
[0025] Figure 2 A schematic flow chart of a TBOX detection method according to an embodiment of the present application. DETAILED DESCRIPTION
[0026] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely illustrative and are not intended to limit the scope of the present disclosure. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0027] The terms used herein are intended only to describe specific embodiments and are not intended to limit the present disclosure. The terms "a," "an," and "the" used herein should also include "plurality" and "multiples," unless the context clearly indicates otherwise. Furthermore, the terms "comprise," "include," and "includes" as used herein indicate the presence of the described features, steps, operations, and / or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
[0028] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0029] When expressions such as “at least one of A, B, and C, etc.” are used, they should generally be interpreted in accordance with the meaning commonly understood by those skilled in the art (e.g., “a system having at least one of A, B, and C” should include but is not limited to systems having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, and C, etc.). When expressions such as “at least one of A, B, or C, etc.” are used, they should generally be interpreted in accordance with the meaning commonly understood by those skilled in the art (e.g., “a system having at least one of A, B, or C” should include but is not limited to systems having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, and C, etc.). Those skilled in the art should also understand that any transitional conjunctions and / or phrases that essentially represent two or more optional items, whether in the specification, claims, or drawings, should be understood to provide the possibility of including one, either, or both of these items. For example, the phrase "A or B" should be understood to include the possibilities of "A" or "B", or "A and B".
[0030] The accompanying drawings show some block diagrams and / or flow charts. It should be understood that some blocks in the block diagrams and / or flow charts, or combinations thereof, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when these instructions are executed by the processor, they can create a device for implementing the functions / operations described in the block diagrams and / or flow charts.
[0031] The TBOX detection device and method provided by the present disclosure can realize the simulation and emulation of vehicle raw data, realize the measurement and calibration of TBOX collected data without a complete vehicle through an effective interface, realize the effective comparison of test raw data (bus simulation data) and data to be tested, and construct a value range comparison for measurement calibration, providing an effective evaluation method for measurement calibration and verification of the correctness of collected data for remote monitoring of TBOX data collection.
[0032] In this disclosure, TBOX generally refers to an intelligent vehicle-mounted terminal in a connected vehicle system, which directly communicates with the vehicle's CAN bus to obtain vehicle body status and condition information.
[0033] See also Figure 1 , Figure 1This is a structural diagram of a TBOX detection device provided in one embodiment of the present application. The device mainly includes: a test control module 101 and a vehicle bus data simulation module. The test control module 101 is connected to the vehicle bus data simulation module 102, the vehicle bus data simulation module 102 is connected to the TBOX 100 to be tested, and the TBOX 100 to be tested is connected to the test control module 101.
[0034] The test control module 101 is used to send bus simulation data to the vehicle bus simulation module.
[0035] The vehicle bus data simulation module 102 is used to simulate the data format and communication protocol of the vehicle bus, encapsulate the bus simulation data into a message, and send the message to the TBOX 100 to be tested, so that the TBOX 100 to be tested processes the message to obtain the test data.
[0036] The test control module 101 is further configured to receive the test data reported by the TBOX 100 to be tested, and compare and analyze the bus simulation data with the test data.
[0037] The vehicle bus data simulation module 102 simulates the data format and communication protocol of the vehicle bus and generates original vehicle information consistent with the vehicle bus protocol.
[0038] The test control module 101 compares the original data (bus simulation data) sent by itself with the data to be tested reported by the TBOX, analyzes it, and then gives an evaluation of the accuracy and precision of the collected data of the TBOX 100 to be tested.
[0039] Furthermore, the test control module 101 includes driver software, and its functions include: actively constructing vehicle engine related messages, and sending requested OBD diagnostic information to the device via ISO15765-4, SAEJ1939 and ISO27145.
[0040] The disclosed embodiments can effectively assess the magnitude of errors introduced by TBOX during the data collection, decoding, and encoding processes. By estimating normal errors, a reasonable TBOX calibration scheme can be provided, which can effectively assess the data accuracy of remotely monitored vehicles and the data quality of the entire remote monitoring system.
[0041] In one embodiment of the present disclosure, the TBOX 100 to be tested is specifically configured to decode and translate the message, and encode the decoded and translated data according to a preset standard to obtain the data to be tested.
[0042] In one embodiment of the present disclosure, the vehicle bus data simulation module 102 is specifically used to respond to the data acquisition request of the TBOX100 to be tested, simulate the data format and communication protocol of the vehicle bus, encapsulate the bus simulation data into a message, and send the message to the TBOX100 to be tested.
[0043] In one embodiment of the present disclosure, the apparatus further includes a programmable power supply 103 for providing a stable current to the vehicle bus data simulation module 102 and the TBOX 100 to be tested.
[0044] The programmable power supply 103 is connected to the TBOX 100 to be tested and the vehicle bus data simulation module 102 via a charging line, and provides a 12V or 24V voltage to the TBOX 100 to be tested and the vehicle bus data simulation module 102 .
[0045] In one embodiment of the present disclosure, the test control module 101 and the vehicle bus data simulation module 102 are connected via a USB or RS232 serial line.
[0046] In one embodiment of the present disclosure, the vehicle bus data simulation module 102 is connected to the TBOX 100 to be tested via any one of an OBD interface, a CAN line interface, and an RS232 interface.
[0047] In one embodiment of the present disclosure, the TBOX 100 to be tested is connected to the test control module 101 via an RS232 serial line or an ADB line.
[0048] See also Figure 2 , Figure 2 A flow chart of the TBOX detection method provided in one embodiment of the present application can be applied to Figure 1 The TBOX detection device shown, the method comprising:
[0049] S201: Utilize the test control module to send bus simulation data to the vehicle bus simulation module.
[0050] S202: Utilize the vehicle bus data simulation module to simulate the data format and communication protocol of the vehicle bus, and encapsulate the bus simulation data into a message.
[0051] S203 : Using the vehicle bus data simulation module, the message is sent to the TBOX to be tested, so that the TBOX to be tested processes the message to obtain data to be tested.
[0052] S204 : Utilize the test control module to receive the test data reported by the TBOX to be tested, and compare and analyze the bus simulation data with the test data.
[0053] In one embodiment of the present disclosure, the method further includes:
[0054] The message is decoded and translated by the TBOX to be tested, and the decoded and translated data is encoded according to a preset standard to obtain the data to be tested.
[0055] In one embodiment of the present disclosure, the vehicle bus data simulation module responds to the data acquisition request of the TBOX to be tested, simulates the data format and communication protocol of the vehicle bus, encapsulates the bus simulation data into a message, and sends the message to the TBOX to be tested.
[0056] It should be noted that the TBOX data collection and calibration method and device provided by the present invention only perform calibration on data collection and coding reporting of a normally operating TBOX, and does not include work on abnormal TBOX status.
[0057] It should be noted that for the aforementioned method embodiments, for ease of description, they are all expressed as a series of action combinations. However, those skilled in the art should be aware that the present invention is not limited by the order of the actions described, because according to the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0058] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0059] The above is a description of a TBOX detection device and method provided by the present invention. For those skilled in the art, according to the concept of the embodiments of the present invention, there may be changes in the specific implementation and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A TBOX detection device, characterized in that: include: A test control module and a vehicle bus data simulation module, wherein the test control module is connected to the vehicle bus data simulation module, the vehicle bus data simulation module is connected to the TBOX to be tested, and the TBOX to be tested is connected to the test control module; The test control module is used to send bus simulation data to the vehicle bus data simulation module; The vehicle bus data simulation module is used to simulate the data format and communication protocol of the vehicle bus, encapsulate the bus simulation data into a message, and send the message to the TBOX to be tested, so that the TBOX to be tested processes the message to obtain the data to be tested; The test control module is further configured to receive the test data reported by the TBOX to be tested, and compare and analyze the bus simulation data with the test data; The comparing and analyzing the bus simulation data with the data to be tested includes: Perform error estimation based on the bus simulation data and the data to be tested to determine an estimated error value, where the estimated error value represents the magnitude of the error generated by the TBOX to be tested during the acquisition, decoding, and encoding processes; The estimated error value is analyzed to obtain an accuracy evaluation of the collected data of the TBOX to be tested.
2. The TBOX detection device according to claim 1, characterized in that: The TBOX to be tested is specifically used to decode and translate the message, and encode the decoded and translated data according to a preset standard to obtain the data to be tested.
3. The TBOX detection device according to claim 1, characterized in that: The vehicle bus data simulation module is specifically configured to respond to a data acquisition request from the TBOX to be tested, simulate the data format and communication protocol of the vehicle bus, encapsulate the bus simulation data into a message, and send the message to the TBOX to be tested.
4. The TBOX detection device according to claim 1, characterized in that: The device further includes a programmable power supply for providing a stable current to the vehicle bus data simulation module and the TBOX to be tested.
5. The TBOX detection device according to any one of claims 1 to 4, characterized in that: The test control module is connected to the vehicle bus data simulation module via a USB or RS232 serial line.
6. The TBOX detection device according to any one of claims 1 to 4, characterized in that: The vehicle bus data simulation module is connected to the TBOX to be tested via any one of an OBD interface, a CAN line interface, and an RS232 interface.
7. The TBOX detection device according to any one of claims 1 to 4, characterized in that: The TBOX to be tested is connected to the test control module via an RS232 serial line or an ADB line.
8. A TBOX detection method, characterized in that: Applied to a TBOX detection device, the TBOX detection device includes a test control module and a vehicle bus data simulation module, and the method includes: Using the test control module to send bus simulation data to the vehicle bus data simulation module; Utilizing the vehicle bus data simulation module to simulate the data format and communication protocol of the vehicle bus, and encapsulating the bus simulation data into a message; Using the vehicle bus data simulation module to send the message to the TBOX to be tested, so that the TBOX to be tested processes the message to obtain the data to be tested; Utilizing the test control module to receive the test data reported by the TBOX to be tested, and performing comparative analysis between the bus simulation data and the test data; The comparing and analyzing the bus simulation data with the data to be tested includes: Perform error estimation based on the bus simulation data and the data to be tested to determine an estimated error value, where the estimated error value represents the magnitude of the error generated by the TBOX to be tested during the acquisition, decoding, and encoding processes; The estimated error value is analyzed to obtain an accuracy evaluation of the collected data of the TBOX to be tested.
9. The TBOX detection method according to claim 8, characterized in that The method further comprises: The message is decoded and translated by the TBOX to be tested, and the decoded and translated data is encoded according to a preset standard to obtain the data to be tested.
10. The TBOX detection method according to claim 8, characterized in that: in, The vehicle bus data simulation module responds to the data acquisition request of the TBOX to be tested, simulates the data format and communication protocol of the vehicle bus, encapsulates the bus simulation data into a message, and sends the message to the TBOX to be tested.
Citation Information
Patent Citations
A wireless remote communication protocol automatic test system and a method of a vehicle-mounted terminal
CN109039824A
In-loop simulation method, platform and system, server, and computer readable medium
CN109709824A
T-BOX test system and method
CN109901559A
TBOX detection device
CN212694288U