C # language-based TBox automatic production detection upper computer system

Through the TBox automated production detection host computer system based on C# language, the problems of complex software burning and multi-serial port requirements in traditional production detection methods are solved, and automated production detection is realized, which improves the production efficiency and intuitiveness of the detection results.

CN119718353APending Publication Date: 2025-03-28AEROSPACE HI TECH HLDG GROUP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411840698.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-13
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

In traditional TBox production and detection methods, the software burning process is complex, and third-party software cannot meet the needs of multiple serial ports, resulting in cumbersome operations, time-consuming and difficult to locate.

Method used

The TBox automated production detection host computer system based on C# language is adopted, and the recording unit and detection unit are realized through the DevExpress framework, supporting multi-serial communication protocol, automated software recording and hardware detection.

Benefits of technology

The production inspection process is simplified, production time, manpower and material resources are reduced, production efficiency is improved, the results are more intuitive, and suitable for mass production of TBox.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119718353A_ABST
    Figure CN119718353A_ABST
Patent Text Reader

Abstract

The invention discloses a TBox automatic production detection upper computer system based on a C # language, and relates to the field of automation. The invention aims to solve the problems that the software burning process of a traditional TBox production detection mode is complicated, and third-party software cannot meet the multi-serial-port requirement. According to the invention, a burning unit and a detection unit are realized based on a C # language and a DevExpress framework; the burning unit is used for calling JLink and ADB serial ports to carry out software burning; the detection unit is used for detecting serial ports of equipment currently connected with the TBox host after software burning is completed, sending detection data to a plurality of serial ports at the same time, and then analyzing response data returned by the TBox host according to communication protocols corresponding to the serial ports, so that automatic production detection of the TBox is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of automation. Background Art

[0002] As the demand for TBox in the commercial vehicle market continues to grow, the complex manual production and inspection process can no longer meet the growing demand for orders. To solve this problem, the traditional method is to complete software burning by writing scripts and use third-party software tools to complete hardware testing. However, due to the relatively complex software burning process, this method requires too many scripts to be written, and they need to be run one by one during operation. The overall process takes a long time to complete, and it is difficult for operators to intuitively judge the results. It is also difficult to locate the cause of some failures. At the same time, a single third-party software cannot meet the different communication protocols of multiple serial ports, and it is difficult to cover some special functional modules of some products. Some parts of the software that can be specialized have high programming requirements for operators, which are difficult to complete in the production workshop. Summary of the invention

[0003] The present invention aims to solve the problem that the software burning process of the traditional TBox production and detection method is complicated and the third-party software cannot meet the requirements of multiple serial ports. A TBox automated production and detection host computer system based on C# language is now provided.

[0004] The TBox automated production and testing host computer system based on C# language includes the burning unit and the testing unit implemented with C# language and DevExpress framework;

[0005] The burning unit is used to call JLink and ADB serial port to burn software;

[0006] The detection unit is used to detect the serial port of the device currently connected to the TBox host after the software burning is completed, and send detection data to multiple serial ports at the same time, and then parse the response data returned by the TBox host according to the communication protocol corresponding to the serial port to realize TBox automated production detection.

[0007] Furthermore, the above-mentioned burning unit is also used to burn the software after the TBox automated production inspection is completed.

[0008] Furthermore, the above-mentioned TBox automated production and testing host computer system based on C# language also includes a parameter configuration unit for configuring the software burning parameters of the burning unit.

[0009] Furthermore, the above-mentioned TBox automated production and testing host computer system based on C# language also includes an import interface for importing the software written in the TBox automated production and testing host computer system into the TBox host.

[0010] Furthermore, the above serial port includes: one or more of RS232, CAN and CH340.

[0011] Furthermore, after completing the TBox automated production test, the above-mentioned detection unit determines whether the number of detections has reached the upper limit. If so, the detection is terminated, otherwise, the next detection is performed.

[0012] Furthermore, the above-mentioned TBox automated production inspection host computer system based on C# language also includes a printing unit: used to judge all inspection results and connect the printer after confirming that the inspection is successful.

[0013] Furthermore, the above-mentioned TBox automated production detection host computer system based on C# language also includes a detection configuration unit for configuring the detection list of the detection unit.

[0014] The present invention is an automated production and detection host computer system that can be applied to the mass production of TBox. The present invention adopts C# language and DevExpress framework, and interacts with TBox through serial communication, CAN communication and other methods to complete the automated detection of product software and hardware functions. Compared with the production method before the production line, it takes less time, is more efficient, and has more intuitive results. At the same time, by combining the single-chip microcomputer with the different software burning methods of the 4G module, and simultaneously detecting data communication methods of multiple serial ports, the production and detection process is simplified, the time, manpower and material resources required for TBox products are reduced, and production efficiency is improved. Furthermore, the present invention reserves multiple interfaces, which can be further expanded and applied to the production process of other commercial vehicle on-board products through simple configuration, such as instruments, car computers, battery swap stations, etc. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 The workflow diagram of the host computer system for TBox automated production testing based on C# language;

[0016] Figure 2 This is the detection start interface diagram;

[0017] Figure 3 This is the script management interface diagram;

[0018] Figure 4 This is the detection success interface picture. DETAILED DESCRIPTION

[0019] The following will be combined with the accompanying 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, rather than 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 belong to the scope of protection of the present invention. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.

[0020] Based on the problems existing in the prior art, a set of tools that combines the functions of program burning and hardware detection is needed. It is easy to operate, saves time and improves efficiency, and can fully cover all detection points of the product. Therefore, this embodiment provides a TBox automated production detection host computer system based on C# language. The system includes two functional modules, one part is compatible with the software program burning function of the single-chip microcomputer and the 4G module; the other part supports serial ports of multiple different communication protocols for simultaneous communication detection. After the detection is completed, the system can automatically analyze the test results, save and upload them, and print the equipment information label, so as to achieve the effect of fully automated production detection.

[0021] like Figure 2 As shown, the software program burning module completes the software burning by calling JLink and ADB serial port in the background. The software program burning module does not require any additional operations. Compared with the traditional burning method, it saves the operator's time while avoiding errors in manual burning, and is more suitable for mass production of TBox devices. In this implementation, a function of burning the program after the detection is completed is also reserved to meet the requirements of some products for different orders of software burning and function testing.

[0022] like Figure 3 As shown in the figure, the system provides a software burning parameter configuration function. Operators can configure parameters such as waiting time to adapt the system to hosts with different performances, thereby achieving optimal production efficiency. The system also provides a configuration import interface, which is suitable for subsequent product iterations to add new software burning. R&D personnel can edit and export the software burning configuration in the system, and then have the production line operators directly import it, reducing the communication cost between the R&D department and the production line.

[0023] like Figure 1 and Figure 4As shown in the figure, after the system confirms that the software has been successfully burned, it automatically detects the serial port of the device currently connected to the host, and sends test data to multiple serial ports at the same time through multi-threading, including RS232, CAN, CH340, etc. The system parses the device response data according to the communication protocol corresponding to the serial port and displays the test results, saving the time spent on manually testing multiple serial ports in sequence. The system supports customized test items. R&D personnel can configure the test list according to the needs of different OEMs. During production, the operator can select different OEMs to automatically list the corresponding test items and check them according to the actual situation. After the test is completed, the system automatically judges all test results, and automatically connects to the printer after confirming that the test is successful, prints the device information label, and the entire automatic production test process is completed.

[0024] Although the present invention is described herein with reference to specific embodiments, it should be understood that these embodiments are merely examples of the principles and applications of the present invention. It should therefore be understood that many modifications may be made to the exemplary embodiments and that other arrangements may be devised without departing from the spirit and scope of the present invention as defined by the appended claims. It should be understood that the various dependent claims and features described herein may be combined in a manner different from that described in the original claims. It should also be understood that the features described in conjunction with a single embodiment may be used in other described embodiments.

Claims

1. Based on C# language, the TBox automated production and testing host computer system is characterized by: Including the burning unit and the detection unit implemented by C# language and DevExpress framework; The burning unit is used to call JLink and ADB serial port to burn software; The detection unit is used to detect the serial port of the device currently connected to the TBox host after the software burning is completed, and send detection data to multiple serial ports at the same time, and then parse the response data returned by the TBox host according to the communication protocol corresponding to the serial port to realize TBox automated production detection.

2. According to the C# language-based TBox automated production and detection host computer system of claim 1, it is characterized in that: The burning unit is also used to burn the software after the TBox automated production test is completed.

3. According to the C# language-based TBox automated production and detection host computer system of claim 2, it is characterized in that: It also includes a parameter configuration unit, which is used to configure the software burning parameters of the burning unit.

4. The C# language-based TBox automated production detection host computer system according to claim 1, 2 or 3, characterized in that: It also includes an import interface for importing the software written in the TBox automated production detection host computer system into the TBox host.

5. The TBox automated production and detection host computer system based on C# language according to claim 4 is characterized in that: The serial port includes: one or more of RS232, CAN and CH340.

6. The TBox automated production and detection host computer system based on C# language according to claim 1 or 4, characterized in that: After completing the TBox automated production test, the detection unit determines whether the number of tests has reached the upper limit. If so, the test is terminated; otherwise, the next test is performed.

7. The C# language-based TBox automated production and testing host computer system according to claim 6 is characterized in that: It also includes a printing unit: used to judge all test results and connect to a printer after confirming that the test is successful.

8. The TBox automated production and detection host computer system based on C# language according to claim 6 is characterized in that: It also includes a detection configuration unit, which is used to configure the detection list of the detection unit.