Automobile cloud platform communication data analysis method and system

By dividing the vehicle data into multiple information modules in the Internet of Vehicles system and setting up multiple analysis units in the cloud platform, the problem of frequent modification of cloud analysis methods in the existing technology is solved, development efficiency and interaction efficiency are improved, and workload and cost are reduced.

CN119892937APending Publication Date: 2025-04-25KAIRUI AUTOMOBILE TECHNOLOGY (ANHUI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411981748.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

During the data analysis process of existing Internet of Vehicles technology, cloud analysis methods need to be frequently modified to adapt to changes in packet formats between TBOX and TSP, resulting in long development and testing cycles, high costs and large workloads.

Method used

By dividing the vehicle data into multiple information modules in TBOX, and pre-setting multiple analysis units in the cloud platform. Each analysis unit corresponds to the data of an information module. The data is packaged and parsed using a pre-set data packet structure. You only need to modify the analysis method of the corresponding analysis unit.

Benefits of technology

It improves the interaction efficiency between the cloud platform and TBOX, reduces the need for full software modification, and only needs to modify the analysis method for the modified message fields, which improves development efficiency and reduces workload.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119892937A_ABST
    Figure CN119892937A_ABST
Patent Text Reader

Abstract

The invention discloses an automobile cloud platform communication data analysis method and system, and the method comprises the steps: enabling a vehicle-mounted TBOX to divide the data of a whole automobile into a plurality of information modules, collecting and packaging the data of each information module in the TBOX into a message, and transmitting the message to a cloud platform, and enabling the cloud platform to be provided with a plurality of analysis units in advance, each parsing unit is used for correspondingly parsing data of one information module in the message, and the parsing units are in one-to-one correspondence with the information modules. The method has the advantages that the format and the analysis method of the message transmitted between the cloud platform and the TBOX are improved, the interaction efficiency is improved, the defects that software is completely modified and the like due to modification, deletion and increase of the message field are reduced, only the analysis method for modifying the message field needs to be modified, the development efficiency is improved, and the workload is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automobile networking technology, and in particular to a method and system for analyzing communication data of an automobile cloud platform. Background Art

[0002] With the development of Internet of Vehicles technology, intelligent connected cars, as a new emerging vehicle technology, are being applied in vehicles. Based on Internet of Vehicles technology, various vehicle remote control and data monitoring can be realized, which improves the user experience of vehicles. Traditional Internet of Vehicles technology includes TBOX set on the vehicle side, cloud platform TSP set on the cloud side, and mobile phone app on the user side. In the normal data monitoring process, the data of various sensors on the vehicle are aggregated to TBOX through CAN, and then TBOX is uploaded to TSP in the form of messages. The cloud platform TSP parses the received messages and obtains useful data information, so as to realize remote monitoring and acquisition of vehicle information.

[0003] In conventional existing technologies, the data in the vehicle is formed into a message data in the form of an entirety, which is summarized in TBOX and then sent to TSP for parsing. A corresponding parsing method is developed in TSP to parse this message. The message summarized in TBOX includes basic information of the vehicle, such as vehicle information obtained by sensors, such as steering wheel angle information obtained by angle sensors. During software development, the message fields corresponding to the angle sensors are pre-set, and then summarized in tbox and sent to the TSP cloud platform for parsing. The cloud platform has a corresponding parsing method to parse it, but this method has no defects for the pre-set TBOX and TSP interactive parsing data. However, once the data to be uploaded is not preset during the early software development, the message fields corresponding to the sensor module will be added, deleted or modified, resulting in changes in the message length, field addition, etc., and the corresponding parsing methods in the cloud must also be modified to adapt to this change. This method will result in a lot of manpower and material resources being spent on repetitive work during the development and testing phase, because once some fields are modified, such as adding sensor data, adding, deleting or modifying the transmitted information, it is necessary to modify all the cloud parsing methods according to the added, deleted or modified content, resulting in a large amount of modification of the software code in the cloud platform during the development and testing phase and the subsequent OTA upgrade phase, resulting in defects such as cumbersome development, high cost and long cycle. Summary of the invention

[0004] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a method and system for parsing communication data of an automobile cloud platform. By improving the message format and parsing method transmitted between the cloud platform and TBOX, the interaction efficiency is improved, and the defects such as complete software modification caused by modifying, deleting, and adding message fields are reduced. Only the parsing method for modifying the message fields needs to be modified, which improves development efficiency and reduces workload.

[0005] In order to achieve the above-mentioned purpose, the technical solution adopted by the present invention is: a method for parsing communication data of an automobile cloud platform, comprising: an on-board TBOX dividing the whole vehicle data into multiple information modules, the data of each information module is summarized and packaged into a message in the TBOX and sent to the cloud platform, and multiple parsing units are pre-set in the cloud platform, each parsing unit is used to correspond to the data of an information module in the parsed message, and the parsing unit corresponds to the information module one by one.

[0006] When data is packaged to form a message in the TBOX, a preset data packet structure is used for data packaging. After data of multiple information modules are packaged according to the data packet structure, a message is formed in a predetermined order.

[0007] The data packet structure includes a start character, a command unit, a unique identification code, a data unit encryption method, a data unit length, a data unit, and a check code.

[0008] After receiving the message, the cloud platform divides the message into multiple data segments corresponding to each parsing unit, and sends each data segment to the corresponding parsing unit for data parsing.

[0009] The cloud platform divides the data into multiple segments by reading the data unit length in the message structure of the message, and each data segment corresponds to a parsing unit.

[0010] During the development and testing of software OTA, TBOX and cloud platforms, when modifying, adding or deleting fields in the information module, only the parsing method of the corresponding parsing unit needs to be modified in the cloud platform.

[0011] The parsing unit is a software module corresponding to parsing message information, and is used to parse out the corresponding message information.

[0012] A parsing system for the automobile cloud platform communication data parsing method, the system comprising TBOX and a cloud platform; wherein the vehicle-mounted TBOX divides the whole vehicle data into multiple information modules and aggregates and packages the data of each information module in the TBOX into a message and sends it to the cloud platform, the cloud platform is pre-set with multiple parsing units, each parsing unit is used to correspond to the data of an information module in the parsing message, and the parsing unit corresponds to the information module one by one.

[0013] The cloud platform includes a data partitioning module, which partitions the message into a plurality of data segments corresponding to each parsing unit, and sends each data segment to a corresponding parsing unit for data parsing.

[0014] The data division module divides the data into multiple data segments by identifying the length of the data unit in the message, and each data segment corresponds to a parsing unit.

[0015] The advantages of the present invention are as follows: by improving the message format and parsing method transmitted between the cloud platform and TBOX, the interaction efficiency is improved, and defects such as complete software modification caused by modifying, deleting, and adding message fields are reduced. Only the parsing method for modifying the message fields needs to be modified, which improves development efficiency and reduces workload. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The following is a brief description of the contents expressed in the drawings of the present invention and the symbols in the drawings:

[0017] Figure 1 This is a system architecture diagram corresponding to the analysis method of the present invention;

[0018] Figure 2 The system architecture diagram of the analysis method of the prior art. DETAILED DESCRIPTION

[0019] The specific implementation of the present invention will be further explained in detail below by describing the optimal embodiment with reference to the accompanying drawings.

[0020] like Figure 2As shown in the figure, it is a parsing method of the cloud platform in the prior art. TBOX aggregates the data information of each vehicle-mounted sensor, ECU, and functional component and then packages it into a message information. The message information is periodically sent to the cloud server, that is, the cloud platform TSP. The cloud platform TSP has a parsing unit. The parsing unit is a parsing method formed by software development, which can parse the uploaded message to obtain the corresponding message information. Since the development and testing of the cloud platform and TBOX and the subsequent OTA may involve the modification, addition and deletion of the information fields in each vehicle-mounted sensor, ECU, and functional component, the format of the sent message will change. For example, the information field originally designed for a sensor only has data A, but in the subsequent OTA upgrade, the sensor The data has added information B, that is, the information A and B obtained by the sensor will be uploaded to the TSP cloud platform. Since the addition of information B leads to an increase in the fields of the corresponding message information in the message, the original parsing method cannot be directly applied, and the software corresponding to the entire parsing unit needs to be completely redeveloped, resulting in the defects of long development cycle and high cost. Therefore, this solution adopts the method of dividing the in-vehicle information according to modules. The information of different modules is pre-confirmed by the message length in the message format, and the message segments divided into different modules are sent to different parsing units in the cloud platform TSP for separate parsing. In this way, when modifying, deleting, adding fields, etc., OTA upgrades or software testing, etc., there is no need to modify the code of the entire parsing unit, only the code of the parsing unit corresponding to the modified module. The specific solution is introduced as follows:

[0021] The present embodiment provides a method for analyzing communication data of an automobile cloud platform, including the vehicle-mounted TBOX dividing the whole vehicle data into multiple information modules, the data of each information module is aggregated and packaged into a message in the TBOX and sent to the cloud platform, and multiple analysis units are pre-set in the cloud platform, each analysis unit is used to analyze the data of an information module in the message, and the analysis unit corresponds to the information module one by one. According to the pre-set division requirements, the data obtained in the TBOX is divided into different information modules respectively, and then the data information in different information modules is formed into message segments according to the pre-set communication data format, and multiple message segments are packaged to form a complete message, which is sent to the cloud platform. The cloud platform receives the message information and splits a complete message into multiple message segments, and then each message segment corresponds to a analysis unit, and each analysis unit corresponds to the information in a message segment, that is, the information of a module. In this way, the analysis unit can be divided from one to multiple analysis units. During the development or OTA upgrade process, only part of the module information field is modified on the vehicle side, and the corresponding analysis unit only needs to be modified, and all analysis units do not need to be modified, thereby improving the development efficiency.

[0022] The information of all modules is summarized in TBOX through the CAN module. When the data is packaged to form a message in TBOX, the pre-set data packet structure is used for data packaging. After the data of multiple information modules are packaged according to the data packet structure, a message is formed in a predetermined order. The data packet structure includes a start character, a command unit, a unique identification code, a data unit encryption method, a data unit length, a data unit, and a check code. The information of a module is packaged according to the data packet structure, and then a message is formed in TBOX in a sequential manner according to the data structure of each module and sent to the cloud platform. After receiving the message, the cloud platform divides the message into multiple data segments corresponding to each parsing unit, and sends each data segment to the corresponding parsing unit for data parsing.

[0023] Since each parsing unit in the cloud platform in this solution corresponds to the parsing of an information module, the cloud platform needs to divide the message information after obtaining the message information, and divide it into multiple different information modules, and then each corresponding information module after the division is called a message segment, and the message segment is sent to the corresponding parsing unit for parsing respectively. In order to split into different segments, the parameter of the data unit length is added to the message structure. By reading this parameter to determine the length of the message when splitting, it is possible to quickly divide a complete message into different message segments and parse them in different parsing units. In this solution, the parsing unit refers to a functional unit developed by software code. The parsing unit is a software module corresponding to the parsing message information, which is used to parse the corresponding message information. It can modify the software code according to the functions required for parsing to realize the parsing function. In this way, the cloud platform can divide multiple data segments by reading the data unit length in the message structure in the message, and each data segment corresponds to a parsing unit. The purpose of doing this is to improve efficiency, reduce repeated development of software code, and improve system reliability. Especially in the development and testing process of software OTA, TBOX and cloud platform, when modifying, adding or deleting fields in the information module, it is only necessary to modify the parsing method of the corresponding parsing unit in the cloud platform. In this way, only one development is required during the development of the cloud platform. In other cases, only some parsing units need to be modified as needed to realize the parsing of the entire communication interaction, which improves the development efficiency and subsequent maintenance efficiency.

[0024] like Figure 1As shown, a parsing system of a method for parsing communication data of an automobile cloud platform of this embodiment, the system includes TBOX and a cloud platform; wherein the vehicle-mounted TBOX divides the whole vehicle data into multiple information modules and aggregates the data of each information module in the TBOX into a message and sends it to the cloud platform, and multiple parsing units are pre-set in the cloud platform, each parsing unit is used to correspond to the data of an information module in the parsed message, and the parsing unit corresponds to the information module one by one. The cloud platform includes a data division module, which divides the message into multiple data segments corresponding to each parsing unit, and sends each data segment to the corresponding parsing unit for data parsing. The data division module divides the multiple data segments by identifying the length of the data unit in the message, and each data segment corresponds to a parsing unit.

[0025] As shown in Table 1, a complete data packet structure in the communication protocol between Tbox and the platform in this solution includes a start character, a command unit, an identification code, a data encryption method, a data unit length, a data unit and a check code. The structure and definition of the data packet are shown in the following table:

[0026] Table 1 Data packet structure and definition

[0027]

[0028]

[0029] The definition of the data type corresponding to the above data packet structure is shown in the following table:

[0030]

[0031]

[0032] By adopting the above data format, when developing and analyzing the communication between the cloud platform and TBOX, it is possible to implement separate analysis of multiple message segments corresponding to multiple analysis units of the cloud platform. A message segment is a message segment obtained by splitting a complete message according to its length. This solution is based on the protocol structure, communication connection, data packet structure and definition, data unit format and definition defined in the GB / T32960 document, and adds the analysis method and use of the periodic signal (D0). The following is a description of the analysis method.

[0033] 1. The module periodic signal message length is added to the definition of data format, which is convenient for classification analysis when parsing messages. That is, when a module adds, deletes or modifies a field, it only needs to be modified in the parsing method of the module, which will not affect the parsing methods of other modules.

[0034] When parsing a message containing multiple modules, due to the increase in the message length of the module periodic signal, the module message length can be used to split and intercept different modules according to the message length, and then distribute them to multiple threads for parsing. Therefore, when a module adds, deletes or modifies a field, parsing messages of different modules in different threads will not affect the parsing methods of other modules. This improves the efficiency of redevelopment and reduces the probability of parsing errors.

[0035] For example, there are two modules in a message, called modules A and B. Modules A and B are actually the information of two sensors or other components on the vehicle. The data length of module A is 10 bytes, and the data length of module B is 12 bytes. In the predefined format, module A is before module B. When forming a message, they are packaged in this order to form a message. This message is sent to the cloud platform TSP through the Internet of Vehicles network.

[0036] After receiving this message, when the cloud platform TSP parses this message, it intercepts 10 bytes from the message according to the length of the A module and sends it to the A-Thread thread to parse these 10 bytes using the A-Funct ion method, and intercepts 12 bytes from the message according to the length of the B module and sends it to the B-Thread thread to parse these 12 bytes using the B-Funct ion method. The A-Funct i on method and the B-Funct i on method are the software function modules corresponding to the two parsing units.

[0037] During the development and testing process or the subsequent OTA process, if more information is needed for the data acquisition of module A, that is, after a field is added to module A, the length becomes 14 bytes, and module B naturally moves back 4 bytes. At this time, 14 bytes in the message are intercepted according to the length of module A and sent to the A-Thread thread, and the A-Function method is used to parse these 14 bytes. According to the length of module B, 12 bytes in the message are intercepted and sent to the B-Thread thread, and the B-Function method is used to parse these 12 bytes. At this time, only the parsing method of A-Function needs to be modified, and B-Function will not be affected. Functional units such as the software code of the B-Function method do not need to be modified, which can greatly reduce the amount of data for maintaining and modifying the code, and improve the efficiency of development.

[0038] Obviously, the specific implementation of the present invention is not limited to the above-mentioned methods. As long as various non-substantial improvements are made using the method concept and technical solution of the present invention, they are all within the protection scope of the present invention.

Claims

1. A method for analyzing communication data of an automobile cloud platform, characterized in that: The on-board TBOX divides the vehicle data into multiple information modules. The data of each information module is summarized and packaged into a message in the TBOX and sent to the cloud platform. Multiple parsing units are pre-set in the cloud platform. Each parsing unit is used to parse the data of an information module in the message. The parsing unit corresponds to the information module one by one.

2. The method for analyzing automobile cloud platform communication data according to claim 1, characterized in that: When data is packaged to form a message in the TBOX, a preset data packet structure is used for data packaging. After data of multiple information modules are packaged according to the data packet structure, a message is formed in a predetermined order.

3. The method for analyzing automobile cloud platform communication data according to claim 2, characterized in that: The data packet structure includes a start character, a command unit, a unique identification code, a data unit encryption method, a data unit length, a data unit, and a check code.

4. A method for analyzing automobile cloud platform communication data according to any one of claims 1 to 3, characterized in that: After receiving the message, the cloud platform divides the message into multiple data segments corresponding to each parsing unit, and sends each data segment to the corresponding parsing unit for data parsing.

5. The method for analyzing automobile cloud platform communication data according to claim 4, characterized in that: The cloud platform divides the data into multiple segments by reading the data unit length in the message structure of the message, and each data segment corresponds to a parsing unit.

6. The method for analyzing automobile cloud platform communication data according to claim 4, characterized in that: During the development and testing of software OTA, TBOX and cloud platforms, when modifying, adding or deleting fields in the information module, only the parsing method of the corresponding parsing unit needs to be modified in the cloud platform.

7. The method for analyzing automobile cloud platform communication data according to claim 1, characterized in that: The parsing unit is a software module corresponding to parsing message information, and is used to parse out the corresponding message information.

8. A parsing system for running the automobile cloud platform communication data parsing method according to any one of claims 1 to 7, characterized in that: The system includes a TBOX and a cloud platform; wherein the vehicle-mounted TBOX divides the whole vehicle data into multiple information modules and aggregates and packages the data of each information module in the TBOX into a message and sends it to the cloud platform, wherein multiple parsing units are pre-set in the cloud platform, each parsing unit is used to correspond to the data of an information module in the parsing message, and the parsing unit corresponds to the information module one by one.

9. The automobile cloud platform communication data parsing system according to claim 8, characterized in that: The cloud platform includes a data partitioning module, which partitions the message into a plurality of data segments corresponding to each parsing unit, and sends each data segment to a corresponding parsing unit for data parsing.

10. The automobile cloud platform communication data analysis system according to claim 9, characterized in that: The data division module divides the data into multiple data segments by identifying the length of the data unit in the message, and each data segment corresponds to a parsing unit.