A vehicle driving data information transmission control system

By working together with the TBOX subsystem and the 4G module data parsing subsystem, the baud rate is dynamically adjusted to solve the problems of computational resource consumption and environmental response in the MCU parsing method, thereby achieving efficient and stable transmission of vehicle driving data and reducing the risk of system upgrades.

CN118660010BActive Publication Date: 2024-11-01XIAMEN JINLONG CAR ACCESSORIES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411142734.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-11-01
Estimated Expiration
2044-08-20

AI Technical Summary

Technical Problem

Traditional MCU parsing methods consume a lot of computing resources and memory, which can easily lead to system crashes and make it difficult to respond quickly to environmental changes, resulting in a decline in data transmission quality.

Method used

The TBOX subsystem receives CAN bus messages, the 4G module data parsing subsystem parses the data, analyzes the buffer overflow risk based on the data transmission rate and processing rate, dynamically adjusts the baud rate to ensure stable transmission, and the management subsystem adjusts the baud rate according to the comprehensive evaluation index to adapt to environmental changes.

Benefits of technology

It simplifies the MCU logic, reduces the risk of system crashes, improves the reliability and stability of data transmission, reduces the complexity of system upgrades, and ensures efficient and stable transmission of vehicle driving data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118660010B_ABST
    Figure CN118660010B_ABST
Patent Text Reader

Abstract

The present invention discloses a vehicle driving data information transmission control system, which relates to the technical field of information transmission. The TBOX subsystem is only responsible for receiving the message of the CAN bus and transparently transmitting it to the 4G module, which simplifies the logic of the MCU, greatly reduces the computing resources and memory usage of the MCU, and reduces the risk of system crash. Through the 4G module data analysis subsystem, the CAN data frame can be analyzed in real time, and the overflow risk of the buffer is analyzed according to the data transmission rate Scz and the data processing rate Scs, and an early warning instruction is issued in time. This dynamic analysis and early warning mechanism can effectively prevent data loss and improve the reliability of data transmission. The range analysis subsystem constructs a transmission quality coefficient Czxs by analyzing the data transmission status under different baud rates, and combines the maximum supported baud rate of the MCU and the 4G module to screen out a suitable baud rate range to ensure the stability and efficiency of data transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of information transmission, and in particular to a vehicle driving data information transmission control system. Background Art

[0002] In the field of vehicle networking technology, it involves the information exchange and management between vehicles, infrastructure and the Internet. With the development of smart cars, vehicle terminals (such as TBOX) have become important nodes for vehicles to exchange information with the outside world. Through long-distance communication and information science and technology, it can provide vehicles with driving data collection, remote query and control, and fault monitoring services. In short, the tbox system can provide car owners with functions such as fault diagnosis, road rescue, remote unlocking, and air conditioning control.

[0003] However, the traditional MCU parsing method not only takes up a lot of computing resources and memory, but also easily causes system crashes under high load conditions. For example, if TBOX wants to add a CAN message data, it is necessary to modify the data parsing of the CAN message on the MCU, add or modify the serial communication protocol, and add corresponding functions to the 4G module. In addition, if the TBOX is already installed on the vehicle, the 4G module program and the MCU program must be upgraded, which increases the risk of system upgrades. In addition, although the MCU logic is simplified, it also brings new problems. First, when the 4G module parses the CAN data frame, if the data transmission rate is higher than the data processing rate, it may cause buffer overflow and data loss, and the impact of different baud rate values ​​on data transmission needs to be dynamically adjusted. The traditional method is difficult to respond quickly to environmental changes, resulting in a decrease in transmission quality. Summary of the invention

[0004] In view of the deficiencies in the prior art, the present invention provides a vehicle driving data information transmission control system, which solves the problems in the above-mentioned background technology.

[0005] To achieve the above objectives, the present invention is implemented through the following technical solutions: a vehicle driving data information transmission control system, including a TBOX subsystem, a 4G module data analysis subsystem, a range analysis subsystem, a comprehensive analysis subsystem and a management subsystem;

[0006] The TBOX subsystem is used to directly receive CAN messages of several groups of sensors and controllers from the vehicle's CAN bus according to the MCU, and receive CAN data frames from the MCU through the 4G module;

[0007] The 4G module data parsing subsystem is used to parse several groups of CAN data frames, and in the process of parsing, according to the data transmission information set, construct the data transmission rate Scz and the data processing rate Scs, and analyze whether there is an overflow risk in the buffer according to the data transmission rate Scz and the data processing rate Scs, and if so, issue a warning instruction to the outside;

[0008] The range analysis subsystem is used to obtain a data transmission state set according to different baud rate values ​​after receiving the early warning instruction, construct a transmission quality coefficient Czxs under the corresponding condition according to the data transmission state set, and filter out the selection range of the baud rate in combination with the maximum supported baud rate of the MCU and the 4G module, and monitor the relevant condition data set in the data transmission process, and construct the environmental condition coefficient Htxs according to the relevant condition data set;

[0009] The comprehensive analysis subsystem is used to fit and calculate the comprehensive evaluation index Zpzs based on the trained information transmission prediction model and in combination with the environmental condition coefficient Htxs and the transmission quality coefficient Czxs;

[0010] The management subsystem is used to pre-set the evaluation threshold W, and compare and analyze the comprehensive evaluation index Zpzs with the evaluation threshold W to comprehensively analyze the current stable data transmission state, and select the corresponding baud rate according to the corresponding stable transmission state.

[0011] Preferably, the TBOX subsystem includes a receiving unit and a sending unit;

[0012] The receiving unit is used to connect the CAN controller of the MCU to the CAN bus, to receive CAN message data from the vehicle, the CAN message data includes driving data and trajectory data in the vehicle terminal, and to select the UART serial port interface on the MCU, and to pre-configure the baud rate and data format;

[0013] The sending unit is used to configure the serial port interface on the 4G module and set the same baud rate and data format as the MCU to receive the CAN data frame from the MCU, and then parse the received CAN data frame, wherein the parsing content includes but is not limited to the CAN ID, data field and verification of data integrity operations.

[0014] Preferably, the 4G module data analysis subsystem includes a data monitoring unit, an overflow risk analysis unit and an early warning unit;

[0015] The data monitoring unit is used to monitor and record the data transmission information set in real time during the parsing process of the 4G module, wherein the data transmission information set includes the size Bz of each frame of data, the serial port data transmission rate Cs, the buffer capacity, the transmission frequency Mc of the data frame, and the average time required to process a data frame. .

[0016] Preferably, the overflow risk analysis unit is used to construct the data transmission rate Scz and the data processing rate Scs respectively according to the data transmission information set, which are specifically obtained according to the following formula:

[0017] ;

[0018] In the formula, Cs represents the serial port data transmission rate; Bz represents the size of each frame of data; Mc represents the transmission frequency of the data frame, that is, the number of data frames transmitted per second; Indicates converting the number of bytes into the number of bits;

[0019] ;

[0020] In the formula, It is expressed as the average time required to process a data frame. Expressed as the number of data frames processed per second.

[0021] Preferably, the early warning unit is used to compare the data transmission rate Scz and the data processing rate Scs to analyze whether there is an overflow risk in the buffer. The specific analysis content is as follows:

[0022] If the data transmission rate Scz ≥ the data processing rate Scs, it is analyzed that there is a risk of buffer overflow, and an early warning instruction will be issued to further analyze the parsing process in the 4G module;

[0023] If the data transmission rate Scz is less than the data processing rate Scs, it is analyzed that there is no overflow risk in the buffer.

[0024] Preferably, the range analysis subsystem includes a collection unit, a preliminary range analysis unit and a condition analysis unit;

[0025] The acquisition unit is used to obtain a data transmission state set and a related condition data set according to different baud rate values ​​after receiving the early warning instruction, wherein the data transmission state set includes a transmission frequency Cspz and an error rate Cwz under different baud rate conditions;

[0026] The relevant condition data set includes the temperature value Wdz, the electromagnetic interference intensity Dcqd and the transmission distance Csjj.

[0027] Preferably, the preliminary range analysis unit is used to construct a transmission quality coefficient Czxs under the corresponding condition after linear normalization processing of the transmission frequency Cspz and the error rate Cwz under the corresponding condition according to the data transmission state set, which is specifically obtained in the following manner:

[0028] ;

[0029] Where n is the number of different baud rate values, i=1, 2, 3, ..., n, Expressed as the transmission frequency at the i-th baud rate, Expressed as the error rate at the i-th baud rate, Expressed as the mean of the transmission frequencies in all cases, It is expressed as the mean of the error rate in all cases, a1 and a2 are weight coefficients, where the values ​​of different baud rates are marked with serial numbers;

[0030] The quality threshold is set in advance, and the transmission quality coefficient Czxs is compared and analyzed with the quality threshold to preliminarily screen out the selection range of the baud rate, and the specific contents are as follows:

[0031] If the transmission quality coefficient Czxs exceeds the quality threshold, the corresponding baud rate value is initially included in the selection range;

[0032] If the transmission quality coefficient Czxs does not exceed the quality threshold, the corresponding baud rate value will not be included in the selection range;

[0033] According to several groups of baud rate values ​​initially included in the selection range, and combined with the maximum supported baud rates of the MCU and the 4G module, the several groups of baud rate values ​​initially included in the selection range are compared with the maximum supported baud rate, and several groups of baud rate values ​​less than the maximum supported baud rate are screened out from the initially included selection range and used as the main selection range.

[0034] Preferably, the condition analysis unit is used to construct an environmental condition coefficient Htxs according to a set of relevant condition data, and the environmental condition coefficient Htxs is obtained by the following formula:

[0035] ;

[0036] Wherein, Dcqd represents the electromagnetic interference intensity, Csjj represents the transmission distance, Wdz represents the temperature value, b1, b2 and b3 are all weight coefficients, and P represents the first correction constant.

[0037] Preferably, the comprehensive analysis subsystem will calculate the comprehensive evaluation index Zpzs based on the trained information transmission prediction model and in combination with the environmental condition coefficient Htxs and the transmission quality coefficient Czxs under the corresponding conditions within the main selection range, specifically according to the following formula:

[0038] ;

[0039] Wherein, F1 and F2 are weight coefficients, and V represents the second correction constant.

[0040] Preferably, the comprehensive evaluation index Zpzs is compared and analyzed with the evaluation threshold W to comprehensively analyze the current stable data transmission state, and select the corresponding baud rate according to the corresponding stable transmission state. The specific contents are as follows:

[0041] If the comprehensive evaluation index Zpzs is greater than the evaluation threshold W, it means that the current data stable transmission state is in an abnormal state. At this time, the serial communication baud rate of the MCU and the 4G module will be adjusted, and the corresponding baud rate within the current main selection range will be increased to the previous gear to improve the reliability and stability of the transmission. At the same time, the receiving and sending buffers of the MCU and the 4G module will be expanded to cope with sudden data flows and high load conditions;

[0042] If the comprehensive evaluation index Zpzs is equal to the evaluation threshold W, it means that the current data transmission state is stable and in a normal state. At this time, the current baud rate and buffer size will continue to be maintained, and the data transmission state will be monitored and recorded regularly to ensure continuous and stable data transmission;

[0043] If the comprehensive evaluation index Zpzs is less than the evaluation threshold W, it means that the current stable data transmission state is in an abnormal state. At this time, the serial communication baud rate of the MCU and the 4G module will be adjusted, and the corresponding baud rate within the current main selection range will be lowered to the next gear to improve the reliability and stability of the transmission. At the same time, the receiving and sending buffers of the MCU and the 4G module will be expanded to cope with sudden data flows and high load conditions.

[0044] The present invention provides a vehicle driving data information transmission control system, which has the following beneficial effects:

[0045] (1) The TBOX subsystem is only responsible for receiving messages from the CAN bus and transparently transmitting them to the 4G module. This simplifies the logic of the MCU, greatly reduces the computing resources and memory usage of the MCU, and reduces the risk of system crashes. Through the 4G module data analysis subsystem, the CAN data frame can be analyzed in real time, and the overflow risk of the buffer can be analyzed based on the data transmission rate Scz and the data processing rate Scs, and warning instructions can be issued in time. This dynamic analysis and warning mechanism can effectively prevent data loss and improve the reliability of data transmission. The range analysis subsystem constructs the transmission quality coefficient Czxs by analyzing the data transmission status under different baud rates, and combines the maximum supported baud rate of the MCU and 4G module to select a suitable baud rate range to ensure the stability and efficiency of data transmission. By monitoring the environmental condition data during data transmission, the environmental condition coefficient Htxs is constructed. The comprehensive analysis subsystem can fit and calculate the comprehensive evaluation index Zpzs based on the trained information transmission prediction model, combined with the environmental condition coefficient Htxs and the transmission quality coefficient Czxs. The management subsystem flexibly adjusts the baud rate based on the comparison analysis of Zpzs and the evaluation threshold W to ensure stable data transmission under different environments. Since data analysis is mainly performed on the 4G module and the MCU has relatively simple functions, when CAN message data needs to be added or modified, only the 4G module needs to be upgraded to avoid frequent changes to the MCU, thus reducing the risk and complexity of system upgrades. In short, the system achieves efficient and stable transmission of vehicle driving data by optimizing the data analysis and transmission mechanism, which not only improves the robustness and reliability of the system, but also simplifies system upgrades and maintenance, and has significant practical application value.

[0046] (2) By comparing the data transmission rate Scz with the data processing rate Scs, the warning unit can timely analyze whether there is a risk of buffer overflow and issue a warning instruction. By real-time monitoring and accurate analysis of the data transmission rate and processing rate, the system can warn of the risk of buffer overflow in advance, further avoiding data loss and transmission errors caused by excessively high data transmission rates. This design improves the reliability and stability of data transmission and ensures the accurate transmission and analysis of vehicle driving data information. The system can dynamically adjust the transmission and processing strategies based on the real-time monitored data transmission information to adapt to changes in different environmental conditions. This dynamic adaptability enables the system to maintain efficient and stable data transmission performance in various complex environments, reducing the possibility of transmission quality degradation due to environmental changes.

[0047] (3) When the MCU directly receives the CAN message and transmits it through the serial port, the 4G module parses the data. The traditional MCU parsing method not only takes up a lot of computing resources and memory, but also easily causes the system to crash under high load. After transferring the parsing work to the 4G module, the burden of the MCU can be effectively reduced and the robustness of the system can be improved. At the same time, by analyzing the impact of different baud rates on data transmission in the 4G module, the baud rate can be dynamically adjusted to optimize the data transmission rate and processing rate, prevent buffer overflow, and reduce data loss. This design overcomes the shortcomings of traditional methods in processing large amounts of data, ensures the real-time and reliability of vehicle driving data transmission, and provides users with more reliable and efficient Internet of Vehicles services. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 The present invention is a block diagram of a vehicle driving data information transmission control system. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] Example 1

[0051] See also Figure 1 , the present invention provides a vehicle driving data information transmission control system, including a TBOX subsystem, a 4G module data analysis subsystem, a range analysis subsystem, a comprehensive analysis subsystem and a management subsystem;

[0052] The TBOX subsystem is used to directly receive CAN messages of several groups of sensors and controllers from the vehicle's CAN bus according to the MCU, and receive CAN data frames from the MCU through the 4G module;

[0053] The 4G module data parsing subsystem is used to parse several groups of CAN data frames, and in the process of parsing, according to the data transmission information set, construct the data transmission rate Scz and the data processing rate Scs, and analyze whether there is an overflow risk in the buffer according to the data transmission rate Scz and the data processing rate Scs, and if so, issue a warning instruction to the outside;

[0054] The range analysis subsystem is used to obtain a data transmission state set according to different baud rate values ​​after receiving the early warning instruction, construct a transmission quality coefficient Czxs under the corresponding condition according to the data transmission state set, and filter out the selection range of the baud rate in combination with the maximum supported baud rate of the MCU and the 4G module, and monitor the relevant condition data set in the data transmission process, and construct the environmental condition coefficient Htxs according to the relevant condition data set;

[0055] The comprehensive analysis subsystem is used to fit and calculate the comprehensive evaluation index Zpzs based on the trained information transmission prediction model and in combination with the environmental condition coefficient Htxs and the transmission quality coefficient Czxs;

[0056] The management subsystem is used to pre-set the evaluation threshold W, and compare and analyze the comprehensive evaluation index Zpzs with the evaluation threshold W to comprehensively analyze the current stable data transmission state, and select the corresponding baud rate according to the corresponding stable transmission state.

[0057] During the operation of this system, the TBOX subsystem is only responsible for receiving message data from the vehicle CAN bus and transparently transmitting it through the 4G module, avoiding the MCU from performing complex data parsing operations, which reduces the computing burden and memory usage of the MCU and improves the response speed and stability of the system. The 4G module data parsing subsystem is responsible for parsing the CAN data frame and constructing the data transmission rate Scz and data processing rate Scs based on the data transmission information set. This design makes the parsing work more flexible, and the 4G module can dynamically adjust the parsing strategy to improve data processing efficiency. During the parsing process, the 4G module data parsing subsystem will analyze whether there is an overflow risk in the buffer. If there is an overflow risk, an early warning instruction will be issued to the outside. This mechanism effectively prevents data loss and improves the reliability of data transmission. After receiving the early warning instruction, the range analysis subsystem obtains the data transmission status set according to different baud rate values ​​and constructs the transmission quality coefficient Czxs. Combined with the maximum supported baud rate of the MCU and the 4G module, the selection range of the baud rate is screened out to ensure the selection of the adaptive baud rate under different environmental conditions and improve the stability of data transmission. The comprehensive analysis subsystem combines the environmental condition coefficient Htxs and the transmission quality coefficient Czxs, and calculates the comprehensive evaluation index Zpzs through the trained information transmission prediction model. This evaluation mechanism can comprehensively analyze the current data transmission status, and compare and analyze the evaluation threshold W set by the management subsystem to select the appropriate baud rate to ensure efficient and stable data transmission. Since the parsing work is concentrated on the 4G module, the logic of the MCU is relatively simple. When new CAN message data is needed, only the parsing program of the 4G module needs to be modified, and there is no need to significantly change the MCU program. This reduces the complexity and risk of system upgrades and improves the maintainability of the system. The system can monitor and analyze vehicle data in real time, and issue warnings in time when abnormalities occur, making fault diagnosis and remote control more efficient and accurate, and improving the safety and user experience of the vehicle. Through these beneficial effects, the system significantly improves the performance of the vehicle driving data information transmission system, provides higher stability and flexibility, and meets the growing communication needs of smart cars.

[0058] Example 2

[0059] Please refer to Figure 1 ,Specifically: the TBOX subsystem includes a receiving unit and a sending unit;

[0060] The receiving unit is used to connect the CAN controller of the MCU to the CAN bus, to receive CAN message data from the vehicle, the CAN message data includes driving data and trajectory data in the vehicle terminal, and selects the UART serial port interface on the MCU, and pre-configures the baud rate and data format for communication with the 4G module;

[0061] The sending unit is used to configure the serial port interface on the 4G module and set the same baud rate and data format as the MCU to receive the CAN data frame from the MCU, and then parse the received CAN data frame, wherein the parsing content includes but is not limited to the CAN ID, data field and verification of data integrity operations.

[0062] It should be noted that: MCU refers to micro control unit;

[0063] UART is a serial communication protocol used to transmit data between devices. It uses two lines (transmit line and receive line) for full-duplex data transmission. UART communication is asynchronous, that is, no external clock signal is required to synchronize transmission when sending and receiving data.

[0064] In this embodiment, the receiving unit connects the CAN controller of the MCU to the CAN bus, effectively receiving the CAN message data from the vehicle, which includes the driving data and trajectory data in the vehicle terminal, ensuring the complete acquisition of various important information of the vehicle. In the receiving unit, by selecting the UART serial port interface on the MCU and pre-configuring the baud rate and data format, the communication stability with the 4G module is ensured. This design enables the system to flexibly adjust the baud rate and data format to adapt to different communication requirements and environmental conditions. The sending unit configures the serial port interface on the 4G module and sets the same baud rate and data format as the MCU, ensuring the consistency and stability of data transmission between the MCU and the 4G module. This consistency design avoids communication errors and data loss caused by mismatching baud rate or data format. After receiving the CAN data frame from the MCU, the sending unit performs parsing operations including but not limited to CAN ID, data field and verification of data integrity. Data parsing through the 4G module reduces the burden on the MCU and improves the parsing efficiency and accuracy of the system. During the parsing process, the integrity operation of the data is verified to ensure the reliability of the transmitted data. Any data corruption or error can be detected and processed in time, preventing system failure and misoperation caused by data errors. Through this design, the system can process and parse CAN data frames in real time, meeting the high real-time requirements of vehicle driving data, especially in scenarios where rapid response is required. The system can provide more reliable and rapid data processing capabilities. Since the 4G module undertakes the data parsing task, the logic of the MCU is simplified, which not only improves the robustness and stability of the system, but also reduces the occupation of MCU resources, making the system design more concise and efficient. When it is necessary to add CAN message data or expand functions, it is only necessary to modify the parsing program of the 4G module without significantly changing the configuration of the MCU. This design reduces the complexity and risk of system upgrades and enhances the scalability and maintainability of the system. In summary, by realizing the design of the receiving unit and the sending unit of the TBOX subsystem, the present invention provides an efficient, reliable and flexible vehicle driving data information transmission control system, which significantly improves the performance of data transmission and parsing, and ensures the stable and accurate transmission of various important data of the vehicle.

[0065] Example 3

[0066] Please refer to Figure 1 ,Specifically: the 4G module data analysis subsystem includes a data monitoring unit, an overflow risk analysis unit and an early warning unit;

[0067] The data monitoring unit is used to monitor and record the data transmission information set in real time during the parsing process of the 4G module, wherein the data transmission information set includes the size Bz of each frame of data, the serial port data transmission rate Cs, the buffer capacity, the transmission frequency Mc of the data frame, and the average time required to process a data frame. .

[0068] The overflow risk analysis unit is used to construct a data transmission rate Scz and a data processing rate Scs according to the data transmission information set, which are specifically obtained according to the following formula:

[0069] ;

[0070] In the formula, Cs represents the serial port data transmission rate; Bz represents the size of each frame of data; Mc represents the transmission frequency of the data frame, that is, the number of data frames transmitted per second; Indicates converting the number of bytes into the number of bits;

[0071] ;

[0072] In the formula, It is expressed as the average time required to process a data frame. Expressed as the number of data frames processed per second.

[0073] The above serial port data transmission rate Cs can be directly obtained from the serial port configuration of MCU and 4G module;

[0074] The size Bz of each frame of data is determined according to the message format on the CAN bus;

[0075] The transmission frequency Mc of the data frame is obtained through the internal timer and data frame counter of the MCU.

[0076] The early warning unit is used to compare the data transmission rate Scz and the data processing rate Scs to analyze whether there is a buffer overflow risk. The specific analysis content is as follows:

[0077] If the data transmission rate Scz ≥ the data processing rate Scs, it is analyzed that there is a risk of buffer overflow, and an early warning instruction will be issued to further analyze the parsing process in the 4G module;

[0078] If the data transmission rate Scz is less than the data processing rate Scs, it is analyzed that there is no overflow risk in the buffer.

[0079] In this embodiment, the data monitoring unit monitors and records the data transmission information set in real time during the data parsing process of the 4G module. This real-time monitoring ensures that the system has a comprehensive understanding of the transmission status and provides accurate basic data for subsequent risk analysis. The overflow risk analysis unit constructs the data transmission rate Scz and the data processing rate Scs respectively based on the data transmission information set, and calculates through a specific formula to ensure the accurate measurement of the data transmission rate and the processing rate. This accurate analysis method can timely identify the buffer overflow risk and improve the reliability of the system. The early warning unit compares the data transmission rate Scz with the data processing rate Scs to clarify whether there is an overflow risk in the buffer. When the data transmission rate Scz ≥ the data processing rate Scs, the early warning unit will issue an early warning instruction to indicate that there is an overflow risk, thereby triggering further analysis and adjustment of the 4G module parsing process. This early warning mechanism can timely remind potential problems and prevent data loss and system crashes. Through real-time monitoring and accurate overflow risk analysis, the system can timely adjust the data transmission and processing strategy to ensure smooth and efficient data transmission, especially in high-load or complex environments. The system can effectively optimize data transmission performance and avoid transmission interruption and data loss due to buffer overflow. When the data transmission rate Scz is lower than the data processing rate Scs, the system can ensure the stability of data processing and avoid overflow risks. This design greatly improves the stability and reliability of the system, allowing the system to operate stably in various complex environments. The system can flexibly adjust the data transmission and processing strategies based on the real-time monitored data transmission information to adapt to different working environments and transmission requirements. Especially in application scenarios that require high real-time performance and high reliability, the system can provide more stable and efficient performance. Through early warning mechanisms and real-time monitoring, the system can identify potential problems in advance and reduce repeated processing and resource waste caused by overflow risks. This design not only improves the efficiency of data transmission and processing, but also reduces the occupation of system resources, making the system operation more economical and efficient.

[0080] Example 4

[0081] Please refer to Figure 1 ,Specifically: the range analysis subsystem includes a collection unit, a preliminary range analysis unit and a condition analysis unit;

[0082] The acquisition unit is used to obtain a data transmission state set and a related condition data set according to different baud rate values ​​after receiving the early warning instruction, wherein the data transmission state set includes a transmission frequency Cspz and an error rate Cwz under different baud rate conditions;

[0083] The relevant condition data set includes the temperature value Wdz, the electromagnetic interference intensity Dcqd and the transmission distance Csjj.

[0084] The preliminary range analysis unit is used to construct a transmission quality coefficient Czxs under the corresponding condition after linear normalization processing of the transmission frequency Cspz and the error rate Cwz under the corresponding condition according to the data transmission state set, which is specifically obtained in the following manner:

[0085] ;

[0086] Where n is the number of different baud rate values, i=1, 2, 3, ..., n, Expressed as the transmission frequency at the i-th baud rate, Expressed as the error rate at the i-th baud rate, Expressed as the mean of the transmission frequencies in all cases, It is expressed as the mean of the error rate in all cases, a1 and a2 are weight coefficients, 0<a1≤1, 0<a2≤1, and a1+a2=1, where the values ​​of different baud rates are marked with serial numbers;

[0087] The transmission frequency Cspz mentioned above refers to the frequency at which data frames are transmitted, that is, the number of frames transmitted per second, which is obtained by setting the baud rate of the MCU and 4G module and calculating the data frame transmission rate.

[0088] The error rate Cwz counts the proportion of error data frames by detecting error bits and check bits in received data frames.

[0089] The quality threshold is set in advance, and the transmission quality coefficient Czxs is compared and analyzed with the quality threshold to preliminarily screen out the selection range of the baud rate, and the specific contents are as follows:

[0090] If the transmission quality coefficient Czxs exceeds the quality threshold, the corresponding baud rate value is initially included in the selection range;

[0091] If the transmission quality coefficient Czxs does not exceed the quality threshold, the corresponding baud rate value will not be included in the selection range;

[0092] According to several groups of baud rate values ​​initially included in the selection range, and combined with the maximum supported baud rates of the MCU and the 4G module, the several groups of baud rate values ​​initially included in the selection range are compared with the maximum supported baud rate, and several groups of baud rate values ​​less than the maximum supported baud rate are screened out from the initially included selection range and used as the main selection range.

[0093] In this embodiment, after receiving the early warning instruction, the acquisition unit obtains the data transmission state set and the relevant condition data set according to different baud rates. By comprehensively considering multi-dimensional data, the system can fully understand the actual situation of data transmission and ensure the comprehensiveness and accuracy of the analysis. The preliminary range analysis unit linearly normalizes the transmission frequency Cspz and the error rate Cwz under the corresponding situation according to the data transmission state set, and constructs the transmission quality coefficient Czxs under the corresponding condition. The number of different baud rate values, the mean of the transmission frequency and the mean of the error rate are considered through the formula calculation. By setting the quality threshold, the transmission quality coefficient Czxs is compared and analyzed with the quality threshold, and the preliminary screening of the baud rate is realized. If the transmission quality coefficient Czxs exceeds the quality threshold, the corresponding baud rate value is included in the selection range; if it does not exceed, it is not included in the selection range. Combined with the maximum supported baud rate of the MCU and the 4G module, the baud rate value that meets the conditions is further screened out as the main selection range. This dynamic adjustment mechanism ensures the scientificity and rationality of the baud rate selection. By analyzing and comparing the data transmission status under different baud rates in detail, the system can select an appropriate baud rate to improve the stability and reliability of data transmission. This process effectively reduces the data loss and transmission errors caused by improper baud rate selection, ensuring the accurate transmission of vehicle driving data information. When analyzing the data transmission status, the system takes into account the environmental condition data set, can dynamically adapt to changes under different environmental conditions, and select an appropriate baud rate. This environmental adaptability enables the system to maintain efficient and stable data transmission performance in various complex environments. By accurately analyzing and dynamically adjusting the baud rate, the system reduces unnecessary baud rate settings and debugging work, and reduces the design complexity of the system. At the same time, through scientific and reasonable baud rate selection, the frequency and cost of system maintenance and upgrades are reduced, and the reliability and maintainability of the system are improved.

[0094] Example 5

[0095] Please refer to Figure 1 Specifically: the condition analysis unit is used to construct an environmental condition coefficient Htxs according to a set of relevant condition data, and the environmental condition coefficient Htxs is obtained by the following formula:

[0096] ;

[0097] Wherein, Dcqd represents the electromagnetic interference intensity, Csjj represents the transmission distance, Wdz represents the temperature value, b1, b2 and b3 are all weight coefficients, P represents the first correction constant, wherein 0<b1≤1, 0<b2≤1, 0<b3≤1, and b1+b2+b3=1.

[0098] The electromagnetic interference intensity Dcqd mentioned above uses an electromagnetic interference detection sensor to measure the electromagnetic interference intensity in the environment, such as an EMI sensor;

[0099] The transmission distance Csjj is calculated based on the vehicle's location information during driving and the distance to the transmission node.

[0100] The temperature value Wdz is obtained by monitoring using a temperature sensor, such as a thermistor or a semiconductor temperature sensor;

[0101] In this embodiment, the condition analysis unit is based on the relevant condition data set, and by comprehensively considering multiple factors such as electromagnetic interference, transmission distance and temperature, the system can comprehensively evaluate the impact of the environment on data transmission, thereby improving the stability and reliability of the data transmission process. The system can achieve dynamic response to environmental changes through the construction of the environmental condition coefficient Htxs. Under different environmental conditions, such as changes in electromagnetic interference intensity, increases and decreases in transmission distances, and fluctuations in temperature values, the corresponding environmental condition coefficient Htxs can be calculated. This dynamic adaptability ensures that the system can still maintain stable data transmission performance under various complex environments. The introduction of the environmental condition coefficient Htxs not only plays a key role in transmission quality evaluation, but also plays an important role in the baud rate selection process. By combining the transmission quality coefficient Czxs and the environmental condition coefficient Htxs, the system can more scientifically determine the adapted baud rate to achieve the optimal data transmission effect. After comprehensively considering the comprehensive impact of environmental conditions on data transmission, the system can be more accurate and reliable in selecting baud rates and optimizing data transmission. This comprehensive analysis effectively reduces data transmission problems caused by environmental changes and improves the overall stability and reliability of the system.

[0102] Example 6

[0103] Please refer to Figure 1 Specifically: the comprehensive analysis subsystem will calculate the comprehensive evaluation index Zpzs based on the trained information transmission prediction model, combined with the environmental condition coefficient Htxs and the transmission quality coefficient Czxs under the corresponding conditions within the main selection range, according to the following formula:

[0104] ;

[0105] In the formula, F1 and F2 are weight coefficients, V represents the second correction constant, wherein 0<F1≤1, 0<F2≤1, and F1+F2=1.

[0106] By comparing and analyzing the comprehensive evaluation index Zpzs with the evaluation threshold W, the stable transmission state of the current data is comprehensively analyzed, and the corresponding baud rate is selected according to the corresponding stable transmission state. The specific contents are as follows:

[0107] If the comprehensive evaluation index Zpzs is greater than the evaluation threshold W, it means that the current data stable transmission state is in an abnormal state. At this time, the serial communication baud rate of the MCU and the 4G module will be adjusted, and the corresponding baud rate within the current main selection range will be increased to the previous gear to improve the reliability and stability of the transmission. At the same time, the receiving and sending buffers of the MCU and the 4G module will be expanded to cope with sudden data flows and high load conditions;

[0108] Among them, the baud rate gear includes 300bps, 600bps, 1200bps, 2400bps, 4800bps, 9600bps, 14400bps, 19200bps, 38400bps, 57600bps, 115200bps, 230400bps, 460800bps and 921600bps;

[0109] If the comprehensive evaluation index Zpzs is equal to the evaluation threshold W, it means that the current data transmission state is stable and in a normal state. At this time, the current baud rate and buffer size will continue to be maintained, and the data transmission state will be monitored and recorded regularly to ensure continuous and stable data transmission;

[0110] If the comprehensive evaluation index Zpzs is less than the evaluation threshold W, it means that the current stable data transmission state is in an abnormal state. At this time, the serial communication baud rate of the MCU and the 4G module will be adjusted, and the corresponding baud rate within the current main selection range will be lowered to the next gear to improve the reliability and stability of the transmission. At the same time, the receiving and sending buffers of the MCU and 4G module will be expanded to cope with sudden data flows and high load conditions, optimize the transmission effect, and reduce the risk of data loss and buffer overflow.

[0111] In this embodiment, through the calculation of the comprehensive evaluation index Zpzs, the system can objectively and scientifically evaluate the stability and reliability of the current data transmission. The comprehensive analysis subsystem can clearly determine the baud rate suitable for the current environmental conditions after evaluation based on the designed baud rate gear selection range to optimize the data transmission efficiency and stability. This intelligent selection ensures that the system can work in a good state under various operating conditions. By dynamically adjusting the baud rate and buffer size, the system demonstrates adaptive capabilities and can automatically optimize the data transmission settings according to real-time environmental changes and transmission quality requirements, thereby effectively coping with complex and changeable working environments. The implementation of the comprehensive analysis subsystem not only improves the intelligence and automation level of the vehicle driving data information transmission control system, but also significantly enhances the stability and reliability of the system under various working conditions, providing users with safer and more efficient data transmission services.

[0112] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A vehicle driving data information transmission control system, characterized in that: Including TBOX subsystem, 4G module data analysis subsystem, range analysis subsystem, comprehensive analysis subsystem and management subsystem; The TBOX subsystem is used to directly receive CAN messages of several groups of sensors and controllers from the vehicle's CAN bus according to the MCU, and receive CAN data frames from the MCU through the 4G module; The 4G module data parsing subsystem is used to parse several groups of CAN data frames, and in the process of parsing, according to the data transmission information set, construct the data transmission rate Scz and the data processing rate Scs, and analyze whether there is an overflow risk in the buffer according to the data transmission rate Scz and the data processing rate Scs, and if so, issue a warning instruction to the outside; The range analysis subsystem is used to obtain a data transmission state set according to different baud rate values ​​after receiving the early warning instruction, construct a transmission quality coefficient Czxs under the corresponding condition according to the data transmission state set, and filter out the selection range of the baud rate in combination with the maximum supported baud rate of the MCU and the 4G module, and monitor the relevant condition data set in the data transmission process, and construct the environmental condition coefficient Htxs according to the relevant condition data set; The comprehensive analysis subsystem is used to fit and calculate the comprehensive evaluation index Zpzs based on the trained information transmission prediction model and in combination with the environmental condition coefficient Htxs and the transmission quality coefficient Czxs; The range analysis subsystem includes a collection unit, a preliminary range analysis unit and a condition analysis unit; The acquisition unit is used to obtain a data transmission state set and a related condition data set according to different baud rate values ​​after receiving the early warning instruction, wherein the data transmission state set includes a transmission frequency Cspz and an error rate Cwz under different baud rate conditions; The relevant condition data set includes temperature value Wdz, electromagnetic interference intensity Dcqd and transmission distance Csjj; The preliminary range analysis unit is used to construct a transmission quality coefficient Czxs under the corresponding condition after linear normalization processing of the transmission frequency Cspz and the error rate Cwz under the corresponding condition according to the data transmission state set, which is specifically obtained in the following manner: ; Where n is the number of different baud rate values, i=1, 2, 3, ..., n, Expressed as the transmission frequency at the i-th baud rate, Expressed as the error rate at the i-th baud rate, Expressed as the mean of the transmission frequencies in all cases, It is expressed as the mean of the error rate in all cases, a1 and a2 are weight coefficients, where the values ​​of different baud rates are marked with serial numbers; The quality threshold is set in advance, and the transmission quality coefficient Czxs is compared and analyzed with the quality threshold to preliminarily screen out the selection range of the baud rate, and the specific contents are as follows: If the transmission quality coefficient Czxs exceeds the quality threshold, the corresponding baud rate value is initially included in the selection range; If the transmission quality coefficient Czxs does not exceed the quality threshold, the corresponding baud rate value will not be included in the selection range; According to the several groups of baud rate values ​​initially included in the selection range, and in combination with the maximum supported baud rates of the MCU and the 4G module, the several groups of baud rate values ​​initially included in the selection range are compared with the maximum supported baud rate, and several groups of baud rate values ​​that are less than the maximum supported baud rate are screened out from the initial selection range and used as the main selection range; The condition analysis unit is used to construct an environmental condition coefficient Htxs according to a set of relevant condition data. The environmental condition coefficient Htxs is obtained by the following formula: ; Where Dcqd represents the electromagnetic interference intensity, Csjj represents the transmission distance, Wdz represents the temperature value, b1, b2 and b3 are all weight coefficients, and P represents the first correction constant; The comprehensive analysis subsystem will calculate the comprehensive evaluation index Zpzs based on the trained information transmission prediction model, combined with the environmental condition coefficient Htxs and the transmission quality coefficient Czxs under the corresponding conditions within the main selection range, according to the following formula: ; In the formula, F1 and F2 are weight coefficients, and V represents the second correction constant; The management subsystem is used to pre-set the evaluation threshold W, and compare and analyze the comprehensive evaluation index Zpzs with the evaluation threshold W to comprehensively analyze the current stable data transmission state, and select the corresponding baud rate according to the corresponding stable transmission state. The specific contents are as follows: If the comprehensive evaluation index Zpzs is greater than the evaluation threshold W, it means that the current data stable transmission state is in an abnormal state. At this time, the serial communication baud rate of the MCU and the 4G module will be adjusted, and the corresponding baud rate within the current main selection range will be increased to the previous gear. At the same time, the receiving and sending buffers of the MCU and the 4G module will be expanded to cope with sudden data flow and high load conditions; If the comprehensive evaluation index Zpzs is equal to the evaluation threshold W, it means that the current data transmission state is stable and in a normal state. At this time, the current baud rate and buffer size will continue to be maintained, and the data transmission state will be monitored and recorded regularly to ensure continuous and stable data transmission; If the comprehensive evaluation index Zpzs is less than the evaluation threshold W, it means that the current stable data transmission state is in an abnormal state. At this time, the serial communication baud rate of the MCU and the 4G module will be adjusted, and the corresponding baud rate within the current main selection range will be lowered to the next gear. At the same time, the receiving and sending buffers of the MCU and the 4G module will be expanded to cope with sudden data flows and high load conditions.

2. A vehicle driving data information transmission control system according to claim 1, characterized in that: The TBOX subsystem includes a receiving unit and a sending unit; The receiving unit is used to connect the CAN controller of the MCU to the CAN bus, to receive CAN message data from the vehicle, the CAN message data includes driving data and trajectory data in the vehicle terminal, and to select the UART serial port interface on the MCU, and to pre-configure the baud rate and data format; The sending unit is used to configure the serial port interface on the 4G module and set the same baud rate and data format as the MCU to receive the CAN data frame from the MCU, and then parse the received CAN data frame, wherein the parsing content includes but is not limited to the CAN ID, data field and verification of data integrity operations.

3. A vehicle driving data information transmission control system according to claim 1, characterized in that: The 4G module data analysis subsystem includes a data monitoring unit, an overflow risk analysis unit and an early warning unit; The data monitoring unit is used to monitor and record the data transmission information set in real time during the parsing process of the 4G module, wherein the data transmission information set includes the size Bz of each frame of data, the serial port data transmission rate Cs, the buffer capacity, the transmission frequency Mc of the data frame, and the average time required to process a data frame. .

4. A vehicle driving data information transmission control system according to claim 3, characterized in that: The overflow risk analysis unit is used to construct a data transmission rate Scz and a data processing rate Scs according to the data transmission information set, which are specifically obtained according to the following formula: ; In the formula, Cs represents the serial port data transmission rate; Bz represents the size of each frame of data; Mc represents the transmission frequency of the data frame, that is, the number of data frames transmitted per second; Indicates converting the number of bytes into the number of bits; ; In the formula, It is expressed as the average time required to process a data frame. Expressed as the number of data frames processed per second.

5. The vehicle driving data information transmission control system according to claim 3, characterized in that: The early warning unit is used to compare the data transmission rate Scz and the data processing rate Scs to analyze whether there is a buffer overflow risk. The specific analysis content is as follows: If the data transmission rate Scz ≥ the data processing rate Scs, it is analyzed that there is a risk of buffer overflow, and an early warning instruction will be issued to further analyze the parsing process in the 4G module; If the data transmission rate Scz is less than the data processing rate Scs, it is analyzed that there is no overflow risk in the buffer.