Tbox test method, device, equipment and storage medium

By using an automated TBOX testing method, data is generated and uploaded to the national standard platform based on the test items, and the target data is captured and compared. This solves the problems of slow testing speed and low accuracy in existing technologies, and achieves fast and accurate test results.

CN119996243BActive Publication Date: 2026-05-15CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
Filing Date
2025-01-09
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

The existing TBOX testing process is time-consuming and the manual data splitting is inaccurate, affecting the testing speed and accuracy.

Method used

By defining the test items for TBOX, generating corresponding target data and automatically uploading it to the national standard platform, and then retrieving the target data from the national standard platform, test results are generated according to the test standards, thus achieving automated testing.

Benefits of technology

It improves the speed and accuracy of TBOX testing, reduces manpower input, and enhances the reproducibility and accuracy of testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119996243B_ABST
    Figure CN119996243B_ABST
Patent Text Reader

Abstract

The application relates to a TBOX testing method, device, equipment and storage medium. In the scheme, first, the test item of the TBOX needs to be determined, then the corresponding first target data is generated according to the test item, the TBOX is controlled to upload the first target data to a national standard platform, second target data corresponding to the test item is grabbed from the national standard platform, and then the test result is generated according to the second target data and a test standard. The test standard is a test standard corresponding to the test item. It can be seen that the application can automatically generate the corresponding first target data according to the test item, automatically upload the first target data to the national standard platform through the TBOX, and automatically generate the test result according to the test standard and the second target data grabbed from the national standard platform. The whole process can realize the automatic test of the test item without the participation of the test personnel, and the test speed and accuracy of the TBOX are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle testing technology, and in particular to a TBOX testing method, apparatus, equipment and storage medium. Background Technology

[0002] A TBOX (Telematics Box) is an in-vehicle communication module used to connect vehicles to the internet, providing functions such as remote control, vehicle monitoring, and vehicle diagnostics. In TBOX functional testing, the national standard 32960 is a mandatory test that every TBOX must pass. During testing, testers manually send the message to be tested to the TBOX. The TBOX then uploads this message to the enterprise's national standard platform. The testers then retrieve the uploaded message from the platform, perform data segmentation, and compare it with the actual data transmitted by the TBOX. This testing process is time-consuming, and manual data segmentation and comparison cannot guarantee the accuracy of the test.

[0003] Therefore, how to improve the testing speed and accuracy of TBOX is a problem that needs to be solved by those skilled in the art. Summary of the Invention

[0004] This application provides a TBOX testing method, apparatus, device, and storage medium to improve the testing speed and accuracy of TBOX.

[0005] Firstly, this application provides a TBOX testing method, including:

[0006] Determine the test items for TBOX;

[0007] Generate the corresponding first target data based on the test items;

[0008] The TBOX is controlled to upload the first target data to the national standard platform;

[0009] The test results are generated based on the second target data corresponding to the test item obtained from the national standard platform and the test standard. The test standard is the test standard corresponding to the test item.

[0010] Optionally, if the test item is a login data test, then the step of retrieving the second target data corresponding to the test item from the national standard platform and generating test results based on the second target data and the test standard includes:

[0011] Collect the first login data from the TBOX;

[0012] Retrieve the second login data from the aforementioned national standard platform;

[0013] Test results are generated based on the first login data and the second login data.

[0014] Optionally, if the test item is a data reporting cycle test, then the step of retrieving the second target data corresponding to the test item from the national standard platform and generating test results based on the second target data and the test standard includes:

[0015] The first test data is retrieved from the national standard platform; the first test data is the data reported by the TBOX to the national standard platform.

[0016] The data reporting cycle is calculated based on the reporting time of each first test data.

[0017] The data reporting period is compared with the reporting period standard to generate test results.

[0018] Optionally, if the test item is a data resending mechanism test, then the step of retrieving the second target data corresponding to the test item from the national standard platform and generating test results based on the second target data and the test standard includes:

[0019] The reissue data is retrieved from the national standard platform; the reissue data is the data uploaded to the national standard platform by the TBOX after the reissue mechanism is triggered.

[0020] The reissued data is compared with the data reissue mechanism standard to generate test results.

[0021] Optionally, if the test item is a test that triggers a level 3 alarm, then the step of retrieving the second target data corresponding to the test item from the national standard platform and generating test results based on the second target data and the test standard includes:

[0022] The second test data is captured from the national standard platform; wherein, the second test data is the data uploaded to the national standard platform after the TBOX is triggered with a level 3 alarm, and the second test data includes: pre-alarm data within a first predetermined time before the alarm is triggered, and post-alarm data within a second predetermined time after the alarm is triggered;

[0023] Determine a first data upload mechanism for the data prior to the alarm, and determine a second data upload mechanism for the data after the alarm;

[0024] Test results are generated based on the first data upload mechanism, the second data upload mechanism, and the data upload mechanism standard.

[0025] Optionally, if the test item is a data consistency test, then the corresponding first target data is generated based on the test item, including:

[0026] The first national standard data is generated based on the national standard data comparison table and the CANOE tool; the first national standard data is the whole vehicle data uploaded by the TBOX to the national standard platform.

[0027] Optionally, the step of retrieving the second target data corresponding to the test item from the national standard platform and generating test results based on the second target data and the test standard includes:

[0028] The first national standard data is collected from the TBOX;

[0029] The second national standard data is retrieved from the national standard platform; the second national standard data is the whole vehicle data uploaded by the TBOX received by the national standard platform.

[0030] The first national standard data is compared with the second national standard data, and the test results are generated based on the comparison results.

[0031] Secondly, this application provides a TBOX testing apparatus, comprising:

[0032] The determination module is used to determine the test items for the TBOX;

[0033] The data generation module is used to generate corresponding first target data based on the test items;

[0034] The control module is used to control the TBOX to upload the first target data to the national standard platform;

[0035] The result generation module is used to retrieve the second target data corresponding to the test item from the national standard platform, and generate test results based on the second target data and the test standard; the test standard is the test standard corresponding to the test item.

[0036] Thirdly, this application provides an electronic device, comprising:

[0037] The processor, memory, and computer program stored in the memory and executable on the processor, wherein the processor performs the steps of the TBOX test method described above in this application through the computer program.

[0038] Fourthly, this application also provides a computer storage medium storing computer-executable instructions for performing the steps of the TBOX test method described above.

[0039] Compared with the prior art, the technical solution provided in this application has the following advantages: This application provides a TBOX testing scheme. This scheme first determines the test items for the TBOX, then generates corresponding first target data based on the test items, and controls the TBOX to upload the first target data to the national standard platform. After retrieving the second target data corresponding to the test items from the national standard platform, test results can be generated based on the second target data and the test standard; the test standard is the test standard corresponding to the test items. Therefore, this application can automatically generate corresponding first target data based on the test items, automatically upload it to the national standard platform via the TBOX, and automatically generate test results based on the test standard and the second target data retrieved from the national standard platform. The entire process can achieve automated testing of test items without the intervention of test personnel, improving the testing speed and accuracy of the TBOX. Attached Figure Description

[0040] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0041] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0042] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0043] Figure 1 This is a schematic diagram of a TBOX testing method provided in an embodiment of this application;

[0044] Figure 2 This application provides a schematic diagram of the structure of a TBOX testing system.

[0045] Figure 3 This is a schematic diagram of another TBOX testing method provided in an embodiment of this application;

[0046] Figure 4 This is a schematic diagram of another TBOX testing method provided in an embodiment of this application;

[0047] Figure 5 This is a schematic diagram of another TBOX testing method provided in an embodiment of this application;

[0048] Figure 6 This is a schematic diagram of another TBOX testing method provided in an embodiment of this application;

[0049] Figure 7 This is a schematic diagram of another TBOX testing method provided in an embodiment of this application;

[0050] Figure 8 A schematic diagram of a test process provided in an embodiment of this application;

[0051] Figure 9 This is a schematic diagram of a TBOX testing device provided in an embodiment of this application;

[0052] Figure 10 This is a schematic diagram of an electronic device structure provided in an embodiment of this application. Detailed Implementation

[0053] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0054] The following disclosure provides numerous different embodiments or examples for implementing various structures of the invention. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of the invention. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.

[0055] This embodiment provides a TBOX testing method, apparatus, device, and storage medium to improve the testing speed and accuracy of TBOX.

[0056] See Figure 1 , Figure 1 This application provides a schematic flowchart of a TBOX testing method, which specifically includes the following steps:

[0057] S101. Determine the test items for TBOX;

[0058] In this embodiment, the test item is a test performed on the TBOX, and the type of the test item can be determined according to actual needs. For example, the test item can be: login data test, information reporting cycle test, data resending mechanism test, triggering level 3 alarm test, data consistency test, etc., and is not specifically limited here.

[0059] S102. Generate the corresponding first target data based on the test items;

[0060] In this application, the first target data refers to the data that needs to be uploaded to the national standard platform. Since different test items require different data to be uploaded to the national standard platform, this application needs to generate the corresponding first target data according to the test item when generating the first target data. For example, if the test item is login data test, the first target data generated at this time is login data, which includes: login time, TBOX ICCID (Integrated circuit card identity), etc.; if the test item is information reporting cycle test, the first target data generated at this time is test data, which can be the whole vehicle data to be reported. The whole vehicle data can include at least one of the following data: vehicle status, charging status, operating mode, vehicle speed, cumulative mileage, total voltage, total current, SOS (Self-Organized Safety), DC-DC (Direct Current to Direct Current) status, driving force, braking force and gear, insulation resistance, accelerator pedal travel value, brake pedal travel value, etc.

[0061] S103. Control the TBOX to upload the first target data to the national standard platform;

[0062] In this embodiment, after determining the first target data corresponding to the test item, it is necessary to control the TBOX to upload the first target data to the national standard platform. The national standard platform is a vehicle monitoring platform provided for GB / T 32960. After generating the corresponding first target data according to the test item, this application needs to upload the first target data to the national standard platform in order to generate test results.

[0063] Furthermore, when this application controls the TBOX to upload the first target data to the national standard platform, if the TBOX can only upload the first target data under certain conditions, then it is necessary to control the TBOX to meet the corresponding conditions before uploading the first target data through the TBOX. For example, if the test item is a data resend mechanism test, and the first target data is resend data, then the TBOX needs to meet the resend mechanism triggering conditions before uploading the resend data to the national standard platform. Therefore, when conducting the data resend mechanism test, this application needs to control the TBOX to enter airplane mode to meet the resend mechanism triggering conditions before uploading the resend data to the national standard platform through the TBOX.

[0064] S104. Extract the second target data corresponding to the test item from the national standard platform, and generate test results based on the second target data and the test standard; the test standard is the test standard corresponding to the test item.

[0065] In this application, the second target data is data captured from the national standard platform. Different second target data needs to be obtained for different test items. Furthermore, different test items have different test standards. Therefore, after capturing the second target data corresponding to the test item from the national standard platform, this application needs to obtain the final test result based on the test standard corresponding to the test item. For example: if the test item is login data testing, the second target data captured from the national standard platform is login data. The test standard for login data testing is the login data recorded in TBOX. If the login data captured from the national standard platform is the same as the login data collected from TBOX, the test is successful; otherwise, the test fails. If the test item is information reporting cycle testing, the second target data captured from the national standard platform is each test data uploaded by TBOX. The test standard for information reporting cycle testing is the reporting cycle standard. If the information reporting cycle calculated from each test data is the same as the reporting cycle standard, the test is successful; otherwise, the test fails.

[0066] See Figure 2This is a schematic diagram of a TBOX testing system provided in an embodiment of the present invention. The system includes: a host computer, a TBOX controller, an antenna, a national standard platform, and a programmable power supply. The host computer controls the programmable power supply to power the TBOX controller. The host computer sends first target data to the TBOX controller, and the TBOX controller sends the first target data to the national standard platform through the antenna. Furthermore, a Python script is configured in the host computer, which can perform automated testing by executing the above-described steps S101-S104. The TBOX controller needs to be pre-registered on the enterprise's national standard platform and can upload relevant data normally. For test items such as data structure and transmission mechanism, the Python script can control the TBOX controller to perform the corresponding test preconditions, capture data from the national standard platform in real time, and parse and judge the captured data to obtain the test results.

[0067] In summary, this application can generate first target data based on the test items, automatically upload it to the national standard platform via TBOX, and automatically generate test results based on the test standards and second target data captured from the national standard platform. The entire process can achieve automated testing of test items without the participation of test personnel, improve the testing speed and accuracy of TBOX, greatly reduce manpower input, and has high replicability, thus safeguarding the certification of new energy vehicles for the 32960 national standard.

[0068] See Figure 3 , Figure 3 This is a schematic diagram of another TBOX testing method provided in an embodiment of this application. The method specifically includes the following steps:

[0069] S201. Determine the test item for TBOX; this test item is login data test.

[0070] S202. Generate the corresponding first login data based on the test items;

[0071] S203. Control the TBOX to upload the first login data to the national standard platform;

[0072] S204. Collect the first login data from TBOX and retrieve the second login data from the national standard platform;

[0073] S205. Generate test results based on the first login data and the second login data.

[0074] Before testing, this application requires setting up the test environment, including setting up the TBOX controller, debugging the network platform environment, confirming that the platform link can upload normally, that the uploaded messages are parsed correctly, and debugging the programmable power supply, etc. If the test item is a login data test, the first target data generated is the login data, which includes: login time, TBOX ICCID, etc. Before executing the test, the programmable power supply needs to be connected to the KL30 / KL15 power supply through a Python script on the host computer. The programmable power supply is a device whose output voltage and current are controlled by programming and is used to power the TBOX. KL30 is the power supply for the ECU (electronic control unit), i.e., the battery, providing the ECU with operating voltage; KL15 is used to indicate the engine ignition status and also represents the signal that the vehicle key has been turned to start the car. After the TBOX starts up and connects to the network, it uploads the first login data to the national standard platform.

[0075] After uploading the first login data to the national standard platform, this application requires using a Python script to retrieve login data from both the TBOX and the national standard platform. For distinction, the login data collected from the TBOX is referred to as the first login data, and the login data retrieved from the national standard platform is referred to as the second login data. If the login time and ICCID in the first login data are the same as those in the second login data, the test is successful; otherwise, the test fails. Furthermore, the second login data retrieved from the national standard platform also includes the first login serial number. To test the login serial number, the Python script can control the programmable power supply to disconnect KL15, putting the TBOX into sleep mode. Then, the TBOX is reconnected to the KL15 power supply, causing the TBOX to restart and upload login data to the national standard platform again. The Python script then retrieves the login data from the national standard platform again, obtaining the second login serial number. If the second login serial number is one greater than the first login serial number, the test is successful; otherwise, the test fails.

[0076] In summary, this application can collect first login data from TBOX and second login data from the national standard platform when testing login data. By comparing whether the first login data and the second login data are the same, the test results of the login data can be obtained quickly and accurately.

[0077] See Figure 4 , Figure 4 This is a schematic diagram of another TBOX testing method provided in an embodiment of this application. The method specifically includes the following steps:

[0078] S301. Determine the test items for TBOX; this test item is the data reporting cycle test.

[0079] S302. Generate the corresponding first test data based on the test items;

[0080] S303, control TBOX to upload the first test data to the national standard platform;

[0081] S304. Retrieve the first test data from the national standard platform; this first test data is the data reported by TBOX to the national standard platform.

[0082] S305. Calculate the data reporting cycle based on the reporting time of each first test data;

[0083] S306. Compare the data reporting cycle with the reporting cycle standard to generate test results.

[0084] In this application, if the test item is a data reporting cycle test, TBOX needs to upload each first test data to the national standard platform, and then use a Python script to retrieve each first test data from the national standard platform. The first test data records the reporting time, which is the time when TBOX reports the corresponding test data to the national standard platform. The number of first test data can be set according to actual needs, as long as the reporting cycle can be calculated based on the reporting time of each first test data. In this application, the data retrieval time can be set, and each first test data will be continuously retrieved from the national standard platform within this data retrieval time. For example, if the data retrieval time is set to 5 minutes, this application will continuously retrieve each first test data from the national standard platform within these 5 minutes.

[0085] After capturing each set of first test data, this application can calculate the data reporting cycle based on the reporting time of each set of first test data. For example, if the reporting interval of each set of first test data is 1 second, then the data reporting cycle is 1 time / second. Then, the data reporting cycle is compared with the reporting cycle standard. If the data reporting cycle is the same as the reporting cycle standard, the test is successful; otherwise, the test fails.

[0086] In summary, when testing the data reporting cycle, this application can calculate the reporting cycle based on the first test data captured from the national standard platform and compare it with the reporting cycle standard, thereby achieving a fast and accurate test result for the data reporting cycle.

[0087] See Figure 5 , Figure 5 This is a schematic diagram of another TBOX testing method provided in an embodiment of this application. The method specifically includes the following steps:

[0088] S401. Determine the test item for TBOX; this test item is the data retransmission mechanism test.

[0089] S402. Generate corresponding reissue data based on the test items;

[0090] S403, Control TBOX to upload the reissued data to the national standard platform;

[0091] S404. Retrieve replacement data from the national standard platform; this replacement data is the data uploaded to the national standard platform by TBOX after the replacement mechanism is triggered.

[0092] S405. Compare the reissued data with the data reissue mechanism standard to generate test results.

[0093] In this application, if the TBOX meets the triggering conditions of the reissue mechanism, the TBOX will upload reissue data to the national standard platform. The triggering conditions for this reissue mechanism are: flight mode and disconnection of KL30. If the Python script controls the TBOX to enter flight mode, the TBOX will upload the reissue data to the national standard platform. The Python script will retrieve the reissue data from the national standard platform and determine whether the reissue data conforms to the reissue mechanism standard. If it conforms, the test is successful; otherwise, the test fails. After the test, the Python script controls the TBOX to exit flight mode and controls the programmable power supply to disconnect the power to KL30. At this time, the TBOX will upload the reissue data to the national standard platform. The Python script will retrieve the reissue data from the national standard platform and determine whether the reissue data conforms to the reissue mechanism standard. If it conforms, the test is successful; otherwise, the test fails. The reissue mechanism standard includes information such as the upload cycle of the reissue data, the content format of the reissue data, and the data content of the reissue data, which are not specifically limited here.

[0094] In summary, when testing the data resending mechanism, the Python script can control the TBOX to meet the triggering conditions of the resending mechanism. After the triggering conditions are met, the TBOX will upload the resending data to the national standard platform. The resending data will be compared with the data resending mechanism standard to obtain the test results of the data resending mechanism quickly and accurately.

[0095] See Figure 6 , Figure 6 This is a schematic diagram of another TBOX testing method provided in an embodiment of this application. The method specifically includes the following steps:

[0096] S501. Determine the test item for TBOX; this test item is the test to trigger a level 3 alarm.

[0097] S502. Generate the corresponding second test data based on the test items;

[0098] S503, controls TBOX to upload the second test data to the national standard platform;

[0099] S504. Capture the second test data from the national standard platform; wherein, the second test data is the data uploaded to the national standard platform after the TBOX is triggered with a level 3 alarm, and the second test data includes: the data before the alarm is triggered within the first predetermined time period, and the data after the alarm is triggered within the second predetermined time period.

[0100] S505. Determine the first data upload mechanism for data before the alarm and the second data upload mechanism for data after the alarm.

[0101] S506. Generate test results based on the first data upload mechanism, the second data upload mechanism, and the data upload mechanism standard.

[0102] In this embodiment, if the test item is to trigger a level 3 alarm, the TBOX can be controlled by a Python script to trigger a level 3 alarm. The test data uploaded by the TBOX after a level 3 alarm is triggered includes: pre-alarm data within a first predetermined time period before the alarm is triggered, and post-alarm data within a second predetermined time period after the alarm is triggered. The pre-alarm data is uploaded according to the data resending mechanism, and its upload cycle is the data resending cycle. The post-alarm data is uploaded according to the normal upload mechanism, and its upload cycle is the normal upload cycle. Therefore, in this application, the standard for the data upload mechanism is: pre-alarm data is uploaded using the data resending mechanism, and post-alarm data is uploaded using the normal upload mechanism.

[0103] This application retrieves pre-alarm and post-alarm data from the national standard platform. It then determines the first data upload mechanism for pre-alarm data and the second data upload mechanism for post-alarm data based on information such as the upload cycle and uploaded content. The first and second data upload mechanisms are compared with the data upload mechanism standard to obtain the test result. Specifically, if the first data upload mechanism is a data resending mechanism and the second data upload mechanism is a normal upload mechanism, the test is successful; otherwise, the test fails. In this embodiment, according to the national standard 32960 specification document, both the first and second predetermined durations can be set to 30 seconds, and the data resending cycle can be set to 1 time / second.

[0104] In summary, when testing the triggering of Level 3 alarms, this application can capture the data uploaded before and after the TBOX triggers the Level 3 alarm from the national standard platform and compare it with the data upload mechanism standard to obtain test results quickly and accurately.

[0105] See Figure 7 , Figure 7 This is a schematic diagram of another TBOX testing method provided in an embodiment of this application. The method specifically includes the following steps:

[0106] S601. Determine the test items for TBOX; this test item is data consistency testing.

[0107] S602. Generate first national standard data according to the national standard data comparison table and CANOE tool; the first national standard data is the whole vehicle data uploaded by the TBOX to the national standard platform;

[0108] S603, Control TBOX to upload the first national standard data to the national standard platform;

[0109] S604. Collect first national standard data from TBOX; retrieve second national standard data from the national standard platform; the second national standard data is the whole vehicle data uploaded by TBOX and received by the national standard platform;

[0110] S605. Compare the data from the first national standard with the data from the second national standard, and generate test results based on the comparison results.

[0111] In this application, before conducting data consistency testing, it is necessary to first set up the test environment, including setting up the TBOX controller, debugging the network platform environment, confirming that the platform link can upload normally, and that the uploaded messages are parsed correctly, etc. The first national standard data can be set to be reported once every ten seconds. This first national standard data is vehicle data, including at least one of the following: vehicle status, charging status, operating mode, vehicle speed, cumulative mileage, total voltage, total current, SOS, DC-DC status, driving force, braking force and gear, insulation resistance, accelerator pedal travel value, and brake pedal travel value. Furthermore, the first national standard data is generated based on the national standard data comparison table and the CANOE tool. The national standard data comparison table records the signals, messages, maximum data value, minimum data value, invalid data value, etc. required for TBOX to transmit vehicle data. The above data is imported into the CANOE tool's capl script. After the capl script recognizes the data, it automatically generates a test case. The CANOE tool automatically generates the first national standard data based on the test case and sends it to the TBOX so that the TBOX can generate the corresponding data message based on the first national standard data and upload it to the national standard platform.

[0112] The national standard platform receives the data packet uploaded by TBOX and refers to the national standard data in the data packet as the second national standard data. A Python script retrieves the second national standard data from the national standard platform and compares it with the first national standard data. If the first and second national standard data are identical, the test is successful; otherwise, the test fails. After performing various tests on TBOX, this application generates a test report, which records information such as the test process, test data, test time, and test results for reference in subsequent analysis.

[0113] See Figure 8 , Figure 8This is a schematic diagram of a test process provided in an embodiment of this application. As can be seen from the diagram, the host computer first generates a test case through a national standard data lookup table, and sends the bus signal corresponding to the data to be tested to the TBOX controller through the CANOE tool. This bus signal is the whole vehicle data. The TBOX controller uploads the corresponding national standard data to the national standard platform. The host computer captures the national standard data message uploaded by the TBOX controller in real time from the national standard platform, compares it with the corresponding national standard data uploaded by the TBOX controller, and obtains the test result.

[0114] In summary, this application can automatically generate national standard data based on the national standard data comparison table and the CANOE tool, and upload it to the national standard platform to achieve rapid generation of vehicle data and improve testing speed. Furthermore, after obtaining national standard data from TBOX and the national standard platform respectively, this application can quickly and accurately obtain test results of data consistency test by comparing the national standard data.

[0115] See Figure 9 , Figure 9 This application provides a schematic diagram of a TBOX testing device, which specifically includes:

[0116] Module 11 is used to determine the test items for the TBOX;

[0117] Data generation module 12 is used to generate corresponding first target data based on the test item;

[0118] Control module 13 is used to control the TBOX to upload the first target data to the national standard platform;

[0119] The result generation module 14 is used to retrieve the second target data corresponding to the test item from the national standard platform, and generate test results based on the second target data and the test standard; the test standard is the test standard corresponding to the test item.

[0120] As an optional embodiment, the result generation module includes:

[0121] The first acquisition unit is used to acquire first login data from the TBOX when the test item is login data test;

[0122] The first capture unit is used to capture the second login data from the national standard platform;

[0123] The first generation unit is used to generate test results based on the first login data and the second login data.

[0124] As an optional embodiment, the result generation module includes:

[0125] The second capture unit is used to capture each first test data from the national standard platform when the test item is a data reporting cycle test; the first test data is the data reported by the TBOX to the national standard platform.

[0126] The calculation unit is used to calculate the data reporting cycle based on the reporting time of each first test data.

[0127] The second generation unit is used to compare the data reporting period with the reporting period standard and generate test results.

[0128] As an optional embodiment, the result generation module includes:

[0129] The third capture unit is used to capture reissue data from the national standard platform when the test item is a data reissue mechanism test; the reissue data is the data uploaded by the TBOX to the national standard platform after the reissue mechanism trigger condition is met;

[0130] The third generation unit is used to compare the resent data with the data resentment mechanism standard and generate test results.

[0131] As an optional embodiment, the result generation module includes:

[0132] The fourth capture unit is used to capture second test data from the national standard platform when the test item is a test to trigger a level 3 alarm; wherein, the second test data is the data uploaded to the national standard platform after the TBOX is triggered with a level 3 alarm, and the second test data includes: pre-alarm data within a first predetermined time before the alarm is triggered, and post-alarm data within a second predetermined time after the alarm is triggered;

[0133] A determining unit is used to determine a first data upload mechanism for the data before the alarm and a second data upload mechanism for the data after the alarm.

[0134] The fourth generation unit is used to generate test results based on the first data upload mechanism, the second data upload mechanism, and the data upload mechanism standard.

[0135] As an optional embodiment, the data generation module is specifically used for:

[0136] If the test item is a data consistency test, then the first national standard data is generated according to the national standard data comparison table and the CANOE tool; the first national standard data is the whole vehicle data uploaded by the TBOX to the national standard platform.

[0137] As an optional embodiment, the result generation module includes:

[0138] The second acquisition unit is used to acquire the first national standard data from the TBOX;

[0139] The fifth capture unit is used to capture second national standard data from the national standard platform; the second national standard data is the whole vehicle data uploaded by the TBOX received by the national standard platform;

[0140] The fifth generation unit is used to compare the first national standard data with the second national standard data and generate test results based on the comparison results.

[0141] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0142] See Figure 10 , Figure 10 This application provides a schematic diagram of an electronic device structure, which specifically includes:

[0143] The processor 21, memory 22, and computer program stored on memory 22 and executable on processor 21 are provided. Processor 21 executes the steps of the TBOX test method described in any of the above method embodiments through the computer program.

[0144] The processor 21 may include one or more processing cores, such as a quad-core processor or an octa-core processor. The processor 21 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 21 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0145] The memory 22 may include one or more computer-readable storage media, which may be non-transitory. The memory 22 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In this embodiment, the memory 22 is used to store at least the following computer program 221, which, after being loaded and executed by the processor 21, is capable of implementing the relevant steps in the TBOX testing method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 22 may also include an operating system 222 and data 223, etc., and the storage method may be temporary storage or permanent storage. The operating system 222 may include Windows, Unix, Linux, etc.

[0146] In some embodiments, the electronic device may further include a display screen 23, an input / output interface 24, a communication interface 25, a sensor 26, a power supply 27, and a communication bus 28.

[0147] certainly, Figure 10 The structure of the electronic device shown does not constitute a limitation on the electronic device in the embodiments of this application. In practical applications, the electronic device may include more than [other components]. Figure 10 More or fewer components as shown, or combinations of certain components.

[0148] In another exemplary embodiment, a computer storage medium is also provided, wherein the program instructions, when executed by a processor, implement the steps of the TBOX testing method described in any of the above method embodiments. The storage medium may include various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0149] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments, and will not be repeated here.

[0150] It should be understood that the terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms “a,” “an,” and “described” as used herein may also include the plural forms. The terms “comprising,” “including,” “containing,” and “having” are inclusive and therefore indicate the presence of the stated features, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described herein are not construed as requiring them to be performed in a particular order described or illustrated unless the order of performance is explicitly indicated. It should also be understood that additional or alternative steps may be used.

[0151] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A TBOX testing method, characterized in that, Applied to a host computer, the method includes: The test items for TBOX are determined, including at least login data test, information reporting cycle test, data resending mechanism test, triggering level 3 alarm test, and data consistency test. Generate the corresponding first target data based on the test items; The TBOX is controlled to upload the first target data to the national standard platform, wherein the national standard platform is a vehicle monitoring platform provided for national standard 32960; The test results are generated based on the second target data corresponding to the test item obtained from the national standard platform and the test standard. The test standard is the test standard corresponding to the test item.

2. The TBOX test method according to claim 1, characterized in that, If the test item is a login data test, then the step of retrieving the second target data corresponding to the test item from the national standard platform and generating test results based on the second target data and the test standard includes: Collect the first login data from the TBOX; Retrieve the second login data from the aforementioned national standard platform; Test results are generated based on the first login data and the second login data.

3. The TBOX test method according to claim 1, characterized in that, If the test item is a data reporting cycle test, then the step of retrieving the second target data corresponding to the test item from the national standard platform and generating test results based on the second target data and the test standard includes: The first test data is retrieved from the national standard platform; the first test data is the data reported by the TBOX to the national standard platform. The data reporting cycle is calculated based on the reporting time of each first test data. The data reporting period is compared with the reporting period standard to generate test results.

4. The TBOX test method according to claim 1, characterized in that, If the test item is a data resending mechanism test, then the step of retrieving the second target data corresponding to the test item from the national standard platform and generating test results based on the second target data and the test standard includes: The reissue data is retrieved from the national standard platform; the reissue data is the data uploaded to the national standard platform by the TBOX after the reissue mechanism is triggered. The reissued data is compared with the data reissue mechanism standard to generate test results.

5. The TBOX test method according to claim 1, characterized in that, If the test item is a test that triggers a level 3 alarm, then the step of retrieving the second target data corresponding to the test item from the national standard platform and generating test results based on the second target data and the test standard includes: The second test data is captured from the national standard platform; wherein, the second test data is the data uploaded to the national standard platform after the TBOX is triggered with a level 3 alarm, and the second test data includes: pre-alarm data within a first predetermined time before the alarm is triggered, and post-alarm data within a second predetermined time after the alarm is triggered; Determine a first data upload mechanism for the data prior to the alarm, and determine a second data upload mechanism for the data after the alarm; Test results are generated based on the first data upload mechanism, the second data upload mechanism, and the data upload mechanism standard.

6. The TBOX test method according to claim 1, characterized in that, If the test item is a data consistency test, then generate the corresponding first target data based on the test item, including: The first national standard data is generated based on the national standard data comparison table and the CANOE tool; the first national standard data is the whole vehicle data uploaded by the TBOX to the national standard platform.

7. The TBOX test method according to claim 6, characterized in that, The step of retrieving the second target data corresponding to the test item from the national standard platform and generating test results based on the second target data and the test standard includes: The first national standard data is collected from the TBOX; The second national standard data is retrieved from the national standard platform; the second national standard data is the whole vehicle data uploaded by the TBOX received by the national standard platform. The first national standard data is compared with the second national standard data, and the test results are generated based on the comparison results.

8. A TBOX testing device, characterized in that, Applied to a host computer, the device includes: The determination module is used to determine the test items of TBOX, wherein the test items include at least login data test, information reporting cycle test, data resending mechanism test, triggering level 3 alarm test and data consistency test; The data generation module is used to generate corresponding first target data based on the test items; The control module is used to control the TBOX to upload the first target data to the national standard platform, wherein the national standard platform is a vehicle monitoring platform provided for national standard 32960; The result generation module is used to retrieve the second target data corresponding to the test item from the national standard platform, and generate test results based on the second target data and the test standard; the test standard is the test standard corresponding to the test item.

9. An electronic device, characterized in that, include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor performs the steps of the TBOX test method according to any one of claims 1 to 7 via the computer program.

10. A computer storage medium, characterized in that, The computer storage medium stores computer-executable instructions for performing the steps of the TBOX test method according to any one of claims 1 to 7.