Data processing method and system and electronic equipment

By automatically processing the vehicle network data and structural data of the vehicle communication network, the inefficiency and erroneous operation problems caused by manual operation in the prior art are solved, and efficient and accurate network data analysis is achieved.

CN120415946APending Publication Date: 2025-08-01Z-ONE TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510522204.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-24
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

In the development process of in-vehicle communication networks in the prior art, network data processing and analysis mainly relies on manual operations by developers, resulting in inefficient and prone to misoperation, affecting the accuracy of data processing.

Method used

By automatically processing target network data and communication network structure information based on the vehicle network data and structure data of the vehicle communication network, synthesis and analysis are carried out to generate accurate vehicle network data analysis results.

Benefits of technology

It improves the efficiency and accuracy of network data processing and analysis, reduces misoperation and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120415946A_ABST
    Figure CN120415946A_ABST
Patent Text Reader

Abstract

The invention discloses a data processing method and system and electronic equipment. The method comprises the following steps: obtaining target network data information according to vehicle network data corresponding to a vehicle communication network; obtaining target communication network structure information according to the whole vehicle network structure data corresponding to the vehicle communication network; performing synthesis processing on the target network data information and the target communication network structure information to obtain target network data; and performing data analysis processing according to the target network data to obtain a whole vehicle network data analysis result. Therefore, a developer does not need to carry out manual operation in the network data processing and analysis process, misoperation can be reduced, synthesis processing of the target network data information and the target communication network structure information is automatically achieved, and finally the network data analysis result is obtained through analysis processing. The efficiency and accuracy of network data processing and analysis are effectively improved, and the user experience can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of in-vehicle communication network data processing, and particularly relates to a data processing method, system, and electronic device. Background Art

[0002] Traditional in-vehicle communication network systems mainly include communication buses such as Controller Area Network (CAN) bus, Controller Area Network with Flexible Data rate (CANFD) bus, and Local Interconnect Network (LIN). With the increasing complexity of vehicle functions, the vehicle's electronic and electrical architecture has become increasingly complex. During the in-vehicle bus communication process, the amount of network data generated by the communication network is also increasing, which poses challenges to the processing and analysis of vehicle network data.

[0003] During the development of in-vehicle communication networks, the current processing and analysis of network data mainly rely on manual operations by developers, supplemented by communication network development tools for data management. Based on manual operations by developers for related processing, it is not only time-consuming and laborious, but also prone to misoperations, affecting the efficiency and accuracy of data processing. Summary of the Invention

[0004] This application provides a data processing method, system, and electronic device for solving the problems existing in the prior art that during the development of in-vehicle communication networks, the current processing and analysis of network data mainly rely on manual operations by developers, supplemented by communication network development tools for data management, which is not only time-consuming and laborious, but also prone to misoperations, affecting the efficiency and accuracy of data processing.

[0005] To solve the above technical problems, in a first aspect, an implementation manner of this application discloses a data processing method, which includes: obtaining target network data information according to the vehicle network data corresponding to the vehicle communication network; and obtaining target communication network structure information according to the vehicle network structure data corresponding to the vehicle communication network; performing synthesis processing on the target network data information and the target communication network structure information to obtain target network data; and performing data analysis processing on the target network data to obtain the vehicle network data analysis result.

[0006] Adopting the above technical solution, first, based on the vehicle network data corresponding to the vehicle communication network and the vehicle network structure data corresponding to the vehicle communication network, the target network data information and the target communication network structure information are obtained. Then, the target network data information and the target communication network structure information are synthesized to obtain the target network data. Finally, data analysis is performed on the target network data, and an accurate vehicle network data analysis result can be obtained. Thus, it is not necessary for developers to manually operate during the processing and analysis of network data, which can reduce misoperations, and automatically implement the synthesis of the target network data information and the target communication network structure information. Finally, the network data analysis result is obtained through analysis and processing, effectively improving the efficiency and accuracy of network data processing and analysis, and enhancing the user experience.

[0007] According to another specific implementation manner of the present application, a data processing method disclosed by the implementation manner of the present application further includes: determining a target communication network channel; obtaining the network data analysis result corresponding to the target communication network channel according to the target communication network channel and the vehicle network data analysis result.

[0008] Adopting the above technical solution, the target communication network channel can be determined, and the network data analysis result corresponding to the target communication network channel can be obtained; the network data analysis result corresponding to the target communication network channel can be output according to user requirements, enhancing the user experience.

[0009] According to another specific implementation manner of the present application, a data processing method disclosed by the implementation manner of the present application further includes: determining a target display mode; displaying the network data analysis result according to the target display mode.

[0010] Adopting the above technical solution, the target display mode can be determined, and the network data analysis result displayed in the target display mode can be obtained; the network data analysis result corresponding to the target display mode can be output according to user requirements, enhancing the user experience.

[0011] According to another specific implementation manner of the present application, in the case where the vehicle network data is vehicle log data, obtaining the target network data information according to the vehicle network data corresponding to the vehicle communication network includes: extracting first network segment related information from the vehicle log data, where the first network segment related information includes network segment channel information, network segment identification information, data link control information, actual network segment carrying information, and timestamp information corresponding to the vehicle log data; storing the first network segment related information according to the network segment data structure to obtain the target network data information.

[0012] With the above technical solution, when the vehicle network data is vehicle log data, the first network segment related information corresponding to the vehicle log data is extracted, including network segment channel information, network segment identification information, data link control information, actual network segment load information, and timestamp information. Storing the first network segment related information according to the network segment data structure can obtain more accurate target network data information, effectively improving the accuracy of the obtained network data analysis results.

[0013] According to another specific implementation manner of the present application, a data processing method disclosed by the implementation manner of the present application, when the vehicle network structure data is vehicle network database data, obtains target communication network structure information according to the vehicle network structure data corresponding to the vehicle communication network, including: reading the vehicle network database data according to keyword indexing, and extracting second network segment related information from the vehicle network database data. The second network segment related information includes network segment information corresponding to the vehicle network database data, network segment node names, message identification information, protocol data unit names, signal names, and location information of the actual network segment load information; storing the second network segment related information according to the network segment data structure to obtain target communication network structure information.

[0014] With the above technical solution, when the vehicle network structure data is vehicle network database data, the second network segment related information including network segment information corresponding to the vehicle network database data, network segment node names, message identification information, protocol data unit names, signal names, and location information of the actual network segment load information is extracted. Storing the second network segment related information according to the network segment data structure can obtain more accurate target communication network structure information, effectively improving the accuracy of the obtained network data analysis results.

[0015] According to another specific implementation manner of the present application, a data processing method disclosed by the implementation manner of the present application performs synthesis processing on the target network data information and the target communication network structure information to obtain target network data, including: performing network segment matching processing on the network segment identification information corresponding to the target network data information and the network segment node names corresponding to the target communication network structure information according to the network segment matching algorithm, so as to perform synthesis processing on the target network data information and the target communication network structure information to obtain target network data.

[0016] With the above technical solution, performing network segment matching processing on the network segment identification information corresponding to the target network data information and the network segment node names corresponding to the target communication network structure information according to the network segment matching algorithm can obtain an accurate corresponding relationship between the target network data information and the target communication network structure information, thereby performing synthesis processing on the target network data information and the target communication network structure information to obtain more accurate target network data, effectively improving the accuracy of the obtained network data analysis results.

[0017] According to another specific implementation manner of the present application, a data processing method disclosed by the implementation manner of the present application analyzes and processes target network data to obtain a vehicle network data analysis result, including: analyzing and processing the target network data and first data to obtain the vehicle network data analysis result, where the first data includes network channel information, node information, frame information, protocol data unit information, and signal information.

[0018] By adopting the above technical solution, the accuracy of obtaining the network data analysis result is effectively improved.

[0019] According to another specific implementation manner of the present application, a data processing method disclosed by the implementation manner of the present application, where the vehicle network data analysis result includes whether a node is online, the passing rate of vehicle functional safety signal verification, signals related to whether the vehicle's basic functions are powered on and ready, and result information corresponding to whether the vehicle can travel. Analyzing and processing the target network data and first data information to obtain the vehicle network data analysis result, including: if it is determined according to the node information that all frames sent by the node are not in the target network data, then it is determined that the node is not online; and according to the protocol data unit information, determining the passing rate of vehicle functional safety signal verification, signals related to whether the vehicle's basic functions are powered on and ready, and result information corresponding to whether the vehicle can travel.

[0020] By adopting the above technical solution, the integrity and accuracy of the obtained network data analysis result can be effectively improved.

[0021] According to another specific implementation manner of the present application, a data processing method disclosed by the implementation manner of the present application, where the vehicle network data analysis result includes at least one of information such as whether a node is online, whether the message sent by the node is complete, whether the message data link control information is accurate, the number of error frames, the passing rate of functional safety signal verification, signals related to whether the vehicle's basic functions are powered on and ready, and whether the vehicle can travel.

[0022] According to another specific implementation manner of the present application, a data processing method disclosed by the implementation manner of the present application, where the target display mode includes a display all frames mode and a display only non-online frames mode.

[0023] In a second aspect, an implementation of the present application also discloses a data processing system, including: a network data processing module, configured to obtain target network data information according to the vehicle network data corresponding to the vehicle communication network; a communication matrix processing module, configured to obtain target communication network structure information according to the vehicle network structure data corresponding to the vehicle communication network; a network data synthesis module, configured to perform synthesis processing on the target network data information and the target communication network structure information to obtain target network data; and a network data analysis module, configured to perform data analysis processing on the target network data to obtain a vehicle network data analysis result.

[0024] In a third aspect, an implementation of the present application also discloses an electronic device, including: a processor, and a memory communicatively connected to the processor; the memory stores a computer program; the processor executes the computer program stored in the memory so that the electronic device implements the data processing method provided in any implementation manner of the first aspect as described above.

[0025] In a fourth aspect, an implementation of the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, it is used to implement the data processing method provided in any implementation manner of the first aspect as described above.

[0026] In a fifth aspect, an implementation of the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the data processing method provided in any implementation manner of the first aspect as described above.

[0027] It can be understood that the beneficial effects of the second to fifth aspects as described above can also refer to the relevant descriptions in the first aspect, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 is a flowchart of a data processing method provided by an embodiment of the present application;

[0029] Figure 2 is a flowchart of another data processing method provided by an embodiment of the present application;

[0030] Figure 3 is a flowchart of yet another data processing method provided by an embodiment of the present application;

[0031] Figure 4 is a flowchart of a method for obtaining target network data information according to vehicle network data corresponding to a vehicle communication network provided by an embodiment of the present application;

[0032] Figure 5It is a schematic flowchart of a process for obtaining target communication network structure information based on the vehicle communication network corresponding vehicle network structure data provided by an embodiment of the present application;

[0033] Figure 6 It is a schematic diagram of a data processing system and the corresponding data processing process provided by an embodiment of the present application;

[0034] Figure 7 It is a schematic flowchart of another data processing method provided by an embodiment of the present application;

[0035] Figure 8 It is a schematic flowchart of another data processing method provided by an embodiment of the present application;

[0036] Figure 9 It is a schematic flowchart of a usage method provided by an embodiment of the present application;

[0037] Figure 10 It is a schematic diagram of the structure of another data processing system provided by an embodiment of the present application;

[0038] Figure 11 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application.

[0039] Specific implementation

[0040] As mentioned above, in the prior art, during the development of in-vehicle communication networks, the processing and analysis of network data mainly rely on manual operations by developers, supplemented by communication network development tools for data management. Conducting relevant processing based on manual operations by developers not only takes time and effort but also easily leads to problems of incorrect operations, affecting the efficiency and accuracy of data processing.

[0041] For example, during the development process, in the process of processing and analyzing network data, first, developers need to load vehicle data and communication databases into the network development tool, and then manually operate in the network development tool for data mapping, analysis, and statistics, and finally manually complete the analysis report. During the manual mapping, analysis, and statistics process, due to the large amount of data and the lack of necessary verification tools, incorrect entries and statistical omissions are very likely to occur, affecting the delivery quality. In addition, when operating in the network development tool, developers need to manually configure mapping relationships for each channel, which is time-consuming and cannot meet the requirements of rapid iterative delivery.

[0042] Based on this, the present application provides a data processing method. According to the vehicle network data corresponding to the vehicle communication network and the vehicle network structure data corresponding to the vehicle communication network, target network data information and target communication network structure information are obtained. The target network data information and the target communication network structure information are synthesized to obtain target network data. Data analysis is performed on the target network data, and an accurate vehicle network data analysis result can be obtained, effectively improving the efficiency and accuracy of network data processing and analysis, and enhancing the user experience.

[0043] Next, with reference to the accompanying drawings, the steps and advantages of the data processing method provided by the present application will be described in detail.

[0044] As Figure 1 shown, the data processing method provided by the present application includes the following steps.

[0045] S100: Obtain target network data information according to the vehicle network data corresponding to the vehicle communication network; and obtain target communication network structure information according to the vehicle network structure data corresponding to the vehicle communication network.

[0046] Exemplarily, a network engineer receives inputs from vehicle network data and a vehicle network communication matrix (i.e., vehicle network structure data), imports them into the corresponding processing system after summarizing all requirements, and starts the automated vehicle network data analysis work.

[0047] The vehicle network data may include vehicle log data or other network data.

[0048] Exemplarily, obtaining target network data information according to the vehicle network data corresponding to the vehicle communication network may be to read the preset format log data information of the vehicle (such as asc format, or other format data information that can be used for reading and analysis processing) through a processing script in a vehicle log data processing module, extract the network segment channel information, each network segment identification information (Identity document, ID), message data link control (Data Link Control, DLC) information, message network segment actual bearing information (Payload), and corresponding timestamp key data information therein, and place them in the cache module according to the network segment data structure.

[0049] Among them, DLC is used to control and manage data transmission at the data link layer, and Payload data refers to the information part actually carried during data transmission, usually not including protocol headers or other metadata.

[0050] Based on the vehicle communication network's corresponding vehicle network structure data, the target communication network structure information can be obtained. For example, it can be reading the vehicle communication matrix information, such as Automotive Open System Architecture Extensible Markup Language (AUTOSAR XML, ARXML) information. The processing script reads the ARXML file line by line, indexes according to relevant keywords in the ARXML (such as CAN frames and other information used for subsequent database creation), extracts the entire network database information such as network segments, nodes, messages, Protocol Data Units (PDUs), signals, etc., and caches it in a structure containing network segments, nodes, frames, PDUs, and signals for calling.

[0051] Among them, ARXML is a file format based on XML (Extensible Markup Language) and is used to describe various elements of automotive software systems in the AUTOSAR (Automotive Open System Architecture) standard. The ARXML file contains information such as software components, interfaces, data types, and configuration parameters, which are used to describe the functions and structures of the system. Relevant keywords can include conditions or events that trigger PDUs, data units used in the AUTOSAR architecture, containers that contain different types of PDUs as their members, and information related to combining multiple PDUs into a logical unit for transmission to reduce communication overhead and improve communication efficiency.

[0052] S200: Synthesize and process the target network data information and the target communication network structure information to obtain the target network data.

[0053] S300: Perform data analysis and processing based on the target network data to obtain the vehicle network data analysis result.

[0054] Exemplarily, the cached data (i.e., the target network data information (which can also be called the vehicle log network cached data) and the target communication network structure information (which can also be called the communication matrix ARXML cached data)) first performs automatic matching of the network segment number and network segment name according to the ID matching algorithm, then establishes data information based on the network segments according to the automatically matched network segments, determines the node online status according to the network segment data ID summary algorithm, maps and compares the integrity of the messages sent by the node, the message DLC value, and the message Payload value based on the node, automatically identifies and performs functional safety verification on the frames containing functional safety verification signals, calculates its passing rate, and automatically extracts the basic signal information related to high voltage and EPTRdy on the vehicle to form the basic network data results of each network segment and the basic functional status of whether the vehicle can drive.

[0055] Among them, the automated matching of network segment numbers and network segment names is performed according to the ID matching algorithm. Specifically, it can be that network engineers perform automated matching of network segments according to the ID matching algorithm of the vehicle's log network cache data, so as to automatically confirm the network segment names corresponding to each network channel number (i.e., network segment number) in the log data. The main process includes: traversing the ID information of all channels in the vehicle's log network cache data according to the ID information in a single network segment in the communication matrix, and judging which channel matches by comparing the ID matching degree of each channel with the communication matrix. When the matching degree of the ID is greater than 85% (considering redundant situations such as development frames), the channel number is marked according to the channel name in the communication matrix (such as BDCAN, InfoCAN, etc.), and all ID, DLC, and Payload information of this network segment in the log data is filled into the cache of the corresponding sending node respectively, corresponding the frame, PDU, and signal names. Then, the same operation as described above is performed on all network segments in the communication matrix to complete the automated matching of the entire network's log data with the communication matrix channels and related nodes, messages, and signals.

[0056] Exemplarily, data analysis and processing are performed on the target network data to obtain the vehicle network data analysis results. Based on the aforementioned automated matching of network channels and nodes, frame PDU, and signal information, etc., the online status of the nodes and messages in the vehicle network can be judged. If all the frames sent by a node are not found in the synthesized data, it is judged that the node is not online. According to the synthesized data, the number of error frames in the actual vehicle data of each data channel and the DLC length verification information of each message are counted. The DLC length verification method needs to be judged according to the frame type. If it is a Container PDU, its length is variable and there is no need to verify its DLC length. If it is an IPDU, the frame ID in the ARXML is compared with the actual vehicle network frame ID and the analysis results are synthesized. Based on the timestamps of the recorded messages, the time intervals of each message are counted. A structure cache is established for each message to store all the timestamps within the recording period of this message. The difference between the current timestamp and the previous timestamp is calculated, and the timestamp information of all messages that do not conform to the message period jitter (this jitter period can be preset, and can be set to 5%, 10%, 15%, etc., or other data) and the corresponding positioning is counted and classified. If the difference exceeds one period, it is counted as a dropped frame. If the jitter is greater than the preset value but less than one period, it is counted as a period anomaly and stored in the cache for output.

[0057] Further, based on the aforementioned read internal PDU signals (e.g., various electrical signals inside the PDU for monitoring, control, and communication), all signals containing keyword information such as "CRC" and "RC" are obtained, and the ID of the frame mapped by the PDU is extracted to obtain the data frame ID that needs to be functionally safety verified. Based on the obtained frame ID, the data Payload (actual data part) containing this ID in the in-vehicle log data cache is extracted, and CRC verification and RC transition check are performed on the Payload based on a preset CRC algorithm, and the percentage of all functionally safety verified frames passing the verification and the percentage result of the number of frames with RC exceeding 14 are output.

[0058] Further, based on the aforementioned read internal PDU signals, high-voltage power-on related and EPTRdy enable signals are obtained, and the values of these related signals are comprehensively judged to draw a basic functional conclusion on whether the vehicle has been powered on with high voltage and whether the vehicle can drive.

[0059] Among them, EPTRdy usually refers to the "ready" state in vehicle data processing. Specifically, EPTRdy is the abbreviation of "Ready", indicating that the device or system is ready for data transmission or processing.

[0060] Finally, based on the aforementioned generated data analysis results, statistical integration is performed to form the network data analysis results of the entire network (i.e., the in-vehicle network data analysis results), including information such as nodes, frame online status, number of error frames, message DLC verification information, functionally safety verified frame verification result information, whether the vehicle has been powered on with high voltage and whether it can drive.

[0061] In an implementation manner of the present application, this data processing method can also select a specified network channel or the entire network channel to be analyzed and select the required display mode according to the analysis requirements.

[0062] Among them, the display mode can be divided into two types. One is to display all node and frame information of this network segment, and the second is to only display the offline node and frame information of this network segment. According to the selected display mode, the network data analysis results of the selected network channel or the entire network are output to the set file (such as excel) to form a network basic data and in-vehicle basic function analysis report.

[0063] The data processing method provided by this application first obtains target network data information and target communication network structure information based on the vehicle network data corresponding to the vehicle communication network and the vehicle network structure data corresponding to the vehicle communication network, then performs synthesis processing on the target network data information and the target communication network structure information to obtain target network data, and finally performs data analysis processing based on the target network data, and can obtain accurate vehicle network data analysis results. Thus, it is not necessary for developers to perform manual operations during the processing and analysis of network data, which can reduce misoperations, and automatically implement the synthesis processing of target network data information and target communication network structure information, and finally analyze and process to obtain network data analysis results, effectively improving the efficiency and accuracy of network data processing and analysis, and enhancing the user experience.

[0064] In an implementation manner of this application, as Figure 2 shown, the data processing method further includes the following steps.

[0065] S400: Determine the target communication network channel.

[0066] S500: Obtain the network data analysis result corresponding to the target communication network channel according to the target communication network channel and the vehicle network data analysis result.

[0067] In an implementation manner of this application, as Figure 3 shown, the data processing method further includes the following steps.

[0068] S600: Determine the target display mode.

[0069] S700: Display the network data analysis result according to the target display mode.

[0070] In an implementation manner of this application, as Figure 4 shown, in the case where the vehicle network data is vehicle log data, obtaining the target network data information according to the vehicle network data corresponding to the vehicle communication network includes the following steps.

[0071] S101: Extract the first network segment related information from the vehicle log data.

[0072] Among them, the first network segment related information includes the network segment channel information corresponding to the vehicle log data, the network segment identification information (i.e., the network segment message identification information), the data link control information, the actual load information of the network segment, and the timestamp information.

[0073] S102: Store the first network segment related information according to the network segment data structure to obtain the target network data information.

[0074] In an implementation manner of this application, as Figure 5As shown, in the case where the vehicle network structure data is the vehicle network database data, the target communication network structure information is obtained according to the vehicle network structure data corresponding to the vehicle communication network, including the following steps.

[0075] S110: Read the vehicle network database data according to keyword indexing, and extract the information related to the second network segment from the vehicle network database data.

[0076] Among them, the information related to the second network segment includes the network segment information corresponding to the vehicle network database data, the network segment node name, the message identification information, the protocol data unit name, the signal name, and the location information of the actual load information of the network segment.

[0077] S120: Store the information related to the second network segment according to the network segment data structure to obtain the target communication network structure information.

[0078] In an implementation manner of the present application, the target network data is obtained by performing a synthesis process on the target network data information and the target communication network structure information, including: performing network segment matching processing on the network segment identification information (such as ID) corresponding to the target network data information and the network segment node name (such as network segment name) corresponding to the target communication network structure information according to the network segment matching algorithm, so as to perform a synthesis process on the target network data information and the target communication network structure information to obtain the target network data.

[0079] In an implementation manner of the present application, the vehicle network data analysis result is obtained by performing data analysis processing on the target network data, including: performing data analysis processing on the target network data and the first data to obtain the vehicle network data analysis result, where the first data includes network channel information, node information, frame information, protocol data unit information, and signal information.

[0080] In an implementation manner of the present application, the vehicle network data analysis result includes whether the node is online, the passing rate of the vehicle functional safety signal verification, the signals related to the vehicle basic function going on high voltage and whether it is ready, and the result information corresponding to whether the vehicle can travel. Performing data analysis processing on the target network data and the first data information to obtain the vehicle network data analysis result, including: if it is determined that all frames sent by the node are not in the target network data according to the node information, it is determined that the node is not online; and according to the protocol data unit information, determining the passing rate of the vehicle functional safety signal verification, the signals related to the vehicle basic function going on high voltage and whether it is ready, and the result information corresponding to whether the vehicle can travel.

[0081] In an implementation of the present application, the analysis result of the vehicle network data includes at least one of the information such as whether a node is online, whether the message sent by the node is complete, whether the message data link control information is accurate, the number of error frames, the passing rate of the functional safety signal verification, the signals related to the vehicle's basic functions being powered on and whether it is ready, and whether the vehicle can drive.

[0082] In an implementation of the present application, the target display mode includes the display all nodes and frame mode and the display only non - online nodes and frame mode.

[0083] In an implementation of the present application, as Figure 6 shown, a schematic diagram of a data processing system and the corresponding data processing process is provided. The data processing system includes a network channel and display mode selection module, a vehicle network data processing module, a vehicle communication matrix processing module, a vehicle network data automatic synthesis module, a vehicle network data automatic analysis module, and a specified channel analysis report generation module. According to the sequential cooperation among the modules, a large amount of network data can be quickly analyzed and screened, and a network analysis report can be automatically generated, improving the efficiency, accuracy, development efficiency, and delivery quality of network data analysis. The data processing process includes:

[0084] The vehicle network data processing module extracts the network segment channel information, ID, DLC, Payload, and corresponding timestamp key data information in the real - vehicle log data, and maps the data information to the corresponding cache structure data based on the network segment data structure. Here, Log data usually refers to the records of a certain completed processing by a system or some software, and can also be called log data.

[0085] The vehicle communication matrix processing module reads each network segment information, each network segment node name, message name / ID, PDU name, signal name, and the Payload position information in the entire network database ARXML row by row according to the keyword index, and maps the data information to the corresponding cache structure data based on the network segment data structure.

[0086] The cached data in the aforementioned cache structure is first automatically matched with the network segment number and network segment name according to the ID matching algorithm in the vehicle network data automatic synthesis module, and then based on the automatically matched network segments, data information based on the network segments is established. The online status of the nodes is judged according to the network segment data ID aggregation algorithm. Based on the nodes, the integrity of the messages sent by them, the message DLC value, and the message Payload value are mapped and compared. The frames containing functional safety verification signals are automatically identified and functionally safety verified, and its passing rate is calculated. The basic signal information related to the vehicle being powered on and EPTRdy is automatically extracted to form the basic network data results of each network segment and the basic functional status of whether the vehicle can drive.

[0087] According to the results of the synthesized basic network data, analysis is performed through the vehicle network data automatic analysis module, and the analysis conclusions of each network segment are output in multiple dimensions. The main conclusions include the following: whether the node is online, the integrity of the messages sent by the node, whether the message DLC is accurate, error frame statistics, the passing rate of CRC / RC verification of functional safety signals, the high-voltage and EPTRdy-related signal information of the basic functions of the vehicle, and the conclusion of whether the vehicle can drive.

[0088] Through the specified channel and message display module, according to the input of network channel and display mode requirements, a specified channel or the entire network channel can be selected as the index input for the downstream specified channel analysis report generation module. The message display mode can select the all-frame display mode or the non-online message only display mode. The specified channel network data analysis report generation module grabs the corresponding channel data from the data cache of the vehicle network data automatic analysis module, and automatically generates a network data analysis report after completion.

[0089] That is to say, for the data processing method provided in this application, in the vehicle network data processing module and the vehicle communication matrix processing module, the processing script places the input data information in the cache module according to the specified data structure and configures the specified index number. According to the index number information, the specified network data and communication matrix data can be extracted for operations such as comparison and assignment. After obtaining the network cache data and communication matrix cache data of the vehicle, the network engineer can automatically map and synthesize the data information of both parties according to the index number, and store the synthesized result in the cache module for data analysis. Then, according to the network requirements, key data analysis, calculation, and extraction of the network state of the synthesized cache data are performed, and an excel analysis report is automatically output according to the specified data structure of the network.

[0090] In another implementation manner of this application, as Figure 7 shown, a data processing method is provided, including the following steps.

[0091] S01: Read the network node information included in the vehicle communication matrix file (such as an ARXML file).

[0092] S02: In the vehicle log data processing module, read the frame PDU information.

[0093] S03: Build the mapping relationship between network nodes and frame PDUs and cache it in a structure. Specifically, the processing script reads the network node information line by line, indexes according to the keywords included in the vehicle communication matrix file, extracts the whole network database information such as network segment, node, message, PDU, signal, etc., and caches it in a structure containing network segment, node, frame, PDU, signal for calling. In addition, the processing script reads the frame PDU information (such as the actual vehicle asc format data information), extracts the key data information such as the network segment channel information, message ID, message DLC, message Payload and corresponding timestamp of each network segment, and places them in the cache module according to the network segment structure.

[0094] S04: Automatically read the message PDUs and IDs containing CRC / RC signals, and automatically read the signals related to high-voltage power-on and EPTRdy.

[0095] S05: Read the actual vehicle network frame information.

[0096] S06: Read the PDU Payload information containing CRC / RC in the actual vehicle network according to the ID, and read the signal values related to high-voltage power-on and EPTRdy.

[0097] S07: Automatically match the network channel number and channel name, synthesize data and judge whether the node or frame is online, error frame, DLC information, abnormal statistics and positioning information of message period, frame loss information, etc.

[0098] S08: Perform CRC check on the Payload and count the passing rate, and obtain the conclusion of whether the vehicle is powered by high voltage and can run according to the basic function signals of the vehicle.

[0099] S09: Select the network channel and display mode.

[0100] S10: Generate an excel analysis report according to the selected network channel and display mode statistical results.

[0101] In an implementation manner of the present application, the data processing method of the present application also provides the corresponding relationship between the files and functions used during use and their corresponding functions. Different types of files can correspond to different functions to achieve corresponding functions. For example, the files used can be files related to CRC check, etc., and the functions can include functions related to file information reading, information verification, etc. The types of files used, functions, etc. can all be specifically selected and set according to needs.

[0102] Further, in an implementation manner of the present application, as Figure 8 shown, based on the above-provided corresponding relationship between files and functions and their functions, the data analysis method provided by the present application can also be a vehicle data analysis process, including the following steps.

[0103] S001: Read the ARXML frame information and store it as a corresponding file.

[0104] S002: Read the ARXML PD frame information and store it as a corresponding file.

[0105] S003: Read the PDU information containing CRC, perform CRC verification through the corresponding function, and store it as a corresponding file.

[0106] S004: Map and cache the aforementioned PDU and frame to a structure and store it as a corresponding file.

[0107] S005: Synthesize data and judge whether the node or frame is online, the load rate information, error frames, DLC verification, etc., and store it as a corresponding file.

[0108] S006: Read the in-vehicle network frame information and store it as a corresponding file.

[0109] S007: Read the PDU BYTE information of the in-vehicle network containing CRC, and according to the content of step S003 above, perform CRC verification through the corresponding CRC verification function and store it as a corresponding file.

[0110] S008: Perform CRC verification to judge whether it passes and print the output, and store it as a corresponding file.

[0111] S009: Perform input selection for the network channel and display mode and store it as a corresponding file.

[0112] S010: Generate an excel analysis report according to the selected network channel, display mode, and CRC verification result and store it as a corresponding file.

[0113] The type of the above storage file can be selected and set according to needs to achieve the storage of corresponding information.

[0114] In an implementation manner of the present application, as Figure 9 shown, a usage method of this data processing method in a data processing system is provided, including the following steps.

[0115] S10: Load the corresponding project database.

[0116] S20: Load the offline file or online monitoring (and perform channel configuration or display configuration).

[0117] Exemplarily, the channel configuration process can be to select the required channel in Channel1, such as CHCANFD, and select the display mode through Frame display, such as All_Frame.

[0118] S30: Online monitoring needs to open the configured records (not required if offline).

[0119] S40: Write window and EXCEL configuration output file location.

[0120] S50: Configure the content to be tested through FLAG.

[0121] S60: Write window and EXCEL view output information.

[0122] S70: Record output records.

[0123] The data processing method provided by this application can also be called a fully automated analysis method for vehicle network data. Through the cooperation of multiple functional modules, it can achieve the automated integration of network data and the extraction of key functional signals. According to network requirements, it can customize multi-dimensional automated output of analysis results for each network segment and the basic state of vehicle driving functions, and automatically generate an analysis report for the specified network channel, improving the delivery quality and significantly shortening the development cycle.

[0124] The data processing method provided by this application can be applied not only to vehicles but also to electronic devices in other similar architecture network communication systems.

[0125] In another implementation manner of this application, as Figure 10 shown, a data processing system is provided, including:

[0126] A network data processing module, used to obtain target network data information according to the vehicle network data corresponding to the vehicle communication network.

[0127] A communication matrix processing module, used to obtain target communication network structure information according to the vehicle network structure data corresponding to the vehicle communication network.

[0128] A network data synthesis module, used to perform synthesis processing on the target network data information and the target communication network structure information to obtain target network data.

[0129] A network data analysis module, used to perform data analysis processing on the target network data to obtain the vehicle network data analysis result.

[0130] The network data processing module can, for example, implement the functions of the aforementioned vehicle network data processing module. The communication matrix processing module can, for example, implement the functions of the aforementioned vehicle communication matrix processing module. The network data synthesis module can, for example, implement the functions of the aforementioned vehicle network data automatic synthesis module. The network data analysis module can, for example, implement the functions of the aforementioned vehicle network data automatic analysis module.

[0131] Please refer toFigure 11 , Figure 11 The following is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As Figure 11 shown, the electronic device may include: a transceiver 121, a processor 122, and a memory 123.

[0132] The processor 122 executes the computer-executable instructions stored in the memory, enabling the processor 122 to execute some of the technical solutions of the data processing method in the above embodiment. The processor 122 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital data processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0133] The memory 123 is connected to the processor 122 through a system bus and completes communication therebetween. The memory 123 is used to store computer program instructions.

[0134] By way of example and not limitation, the memory 123 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disc, a magneto-optical disc, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. In a suitable case, the memory 123 may include a removable or non-removable (or fixed) medium. In a suitable case, the memory 123 may be inside or outside the integrated gateway device. In a specific embodiment, the memory 123 is a non-volatile solid-state memory. In a specific embodiment, the memory 123 includes a read-only memory (ROM). In a suitable case, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM), or a flash memory, or a combination of two or more of these.

[0135] The transceiver 121 may be used to obtain a task to be run and configuration information of the task to be run.

[0136] The system bus can be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of simplicity, only a thick line is used in the figure to represent it, but it does not mean that there is only one bus or one type of bus. The transceiver is used to implement communication between the database access device and other computers (such as clients, read-write libraries, and read-only libraries). The memory may include Random Access Memory (RAM) and may also include non-volatile memory.

[0137] An embodiment of this application also provides a chip for running instructions, which is used to execute the technical solution of the data processing method in the above embodiment.

[0138] An embodiment of this application also provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions run on the processor of an electronic device, the processor of the electronic device is enabled to execute the technical solution of the data processing method in the above embodiment.

[0139] In some possible implementation manners, each aspect of the method provided in this application can also be implemented in the form of a program product, which includes program code. When the program product runs on the processor of an electronic device, the program code is used to enable the processor of the electronic device to execute the steps in the methods according to various exemplary implementation manners described in this specification, for example, the electronic device can execute the data processing method recorded in the embodiment of this application.

[0140] The program product can adopt any combination of one or more readable media. The readable media can be readable data media or readable storage media. The readable storage media can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples (non-exhaustive list) of the readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, Random Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read-Only Memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0141] The implementation manner of the present application also provides a computer program product. The computer program product includes a computer program, which is stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When the at least one processor executes the computer program, the technical solution of the data processing method in the above embodiments can be implemented.

[0142] The present application is described with reference to the flowcharts and / or block diagrams of methods, apparatuses, and computer program products according to the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, and the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable information processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable information processing devices generate a device for implementing the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or multiple blocks.

[0143] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable information processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device implements the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or multiple blocks.

[0144] These computer program instructions can also be loaded onto a computer or other programmable information processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process. Thus, the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or multiple blocks.

[0145] After considering the specification and practicing the invention disclosed herein, those skilled in the art will readily conceive of other embodiments of the present application. The present application is intended to cover any variations, uses, or adaptations of the present application, which follow the general principles of the present application and include common general knowledge or conventional technical means in the technical field not disclosed in the present application.

[0146] It should be noted that, in addition to the implementation manners of the present application described in the above specific embodiments, those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in this specification. Although the description of the present application is introduced in combination with preferred embodiments, this does not mean that the features of this invention are limited to this implementation manner. On the contrary, the purpose of introducing the invention in combination with the implementation manner is to cover other alternatives or modifications that may be extended based on the claims of the present application. In order to provide a deep understanding of the present application, many specific details are included in the above description, and the present application can also be implemented without using these details. In addition, in order to avoid confusion or obscuring the key points of the present application, some specific details will be omitted in the description. It should be noted that, without conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0147] It should be noted that in this specification, similar reference numerals and letters denote similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.

[0148] Although the present application has been illustrated and described by referring to some preferred implementation manners of the present application, those of ordinary skill in the art should understand that the above content is a further detailed description of the present application in combination with specific implementation manners, and it cannot be determined that the specific implementation of the present application is only limited to these descriptions. Those skilled in the art can make various changes in form and details, including making several simple deductions or substitutions, without departing from the spirit and scope of the present application.

Claims

1. A data processing method, characterized in that The method includes: obtaining target network data information according to the vehicle network data corresponding to the vehicle communication network; and obtaining target communication network structure information according to the vehicle network structure data corresponding to the vehicle communication network; performing synthesis processing on the target network data information and the target communication network structure information to obtain target network data; performing data analysis processing on the target network data to obtain a vehicle network data analysis result.

2. The data processing method according to claim 1, wherein The method further includes: determining a target communication network channel; obtaining a network data analysis result corresponding to the target communication network channel according to the target communication network channel and the vehicle network data analysis result.

3. The data processing method according to claim 2, wherein The method further includes: determining a target display mode; displaying the network data analysis result according to the target display mode.

4. The data processing method according to any one of claims 1-3, characterized in that, When the vehicle network data is vehicle log data, obtaining target network data information according to the vehicle network data corresponding to the vehicle communication network includes: extracting first network segment related information from the vehicle log data, where the first network segment related information includes network segment channel information, network segment identification information, data link control information, actual network segment load information, and timestamp information corresponding to the vehicle log data; storing the first network segment related information according to the network segment data structure to obtain the target network data information.

5. The data processing method according to any one of claims 1-4, characterized in that, When the vehicle network structure data is vehicle network database data, obtaining target communication network structure information according to the vehicle network structure data corresponding to the vehicle communication network includes: reading the vehicle network database data according to keyword indexing, and extracting second network segment related information from the vehicle network database data, where the second network segment related information includes network segment information, network segment node name, message identification information, protocol data unit name, signal name, and location information of the actual network segment load information corresponding to the vehicle network database data; storing the second network segment related information according to the network segment data structure to obtain the target communication network structure information.

6. The data processing method according to claim 5, wherein Performing synthesis processing on the target network data information and the target communication network structure information to obtain target network data includes: performing network segment matching processing on the network segment identification information corresponding to the target network data information and the network segment node name corresponding to the target communication network structure information according to a network segment matching algorithm, so as to perform synthesis processing on the target network data information and the target communication network structure information to obtain the target network data.

7. The data processing method according to claim 6, wherein Performing data analysis processing on the target network data to obtain a vehicle network data analysis result includes: performing data analysis processing on the target network data and first data to obtain the vehicle network data analysis result, where the first data includes network channel information, node information, frame information, protocol data unit information, and signal information.

8. The data processing method according to claim 7, characterized in that, The obtained vehicle network data analysis results include whether the nodes are online, the passing rate of the vehicle functional safety signal verification, the signals related to the high voltage supply and readiness of the vehicle's basic functions, and the corresponding result information indicating whether the vehicle can run. The vehicle network data analysis results are obtained by performing data analysis and processing on the target network data and the first data information, including: If it is determined according to the node information that all the frames sent by the nodes are not in the target network data, it is determined that the nodes are not online; and According to the protocol data unit information, the passing rate of the vehicle functional safety signal verification, the signals related to the high voltage supply and readiness of the vehicle's basic functions, and the corresponding result information indicating whether the vehicle can run are determined.

9. A data processing system, characterized in that, Including: A network data processing module, configured to obtain target network data information according to the vehicle network data corresponding to the vehicle communication network; A communication matrix processing module, configured to obtain target communication network structure information according to the vehicle network structure data corresponding to the vehicle communication network; A network data synthesis module, configured to perform synthesis processing on the target network data information and the target communication network structure information to obtain target network data; A network data analysis module, configured to perform data analysis and processing on the target network data to obtain vehicle network data analysis results.

10. An electronic device, characterized in that, Including: A processor, and a memory communicatively connected to the processor; The memory stores a computer program; The processor executes the computer program stored in the memory, so that the electronic device implements the data processing method according to any one of claims 1-8.

Citation Information

Patent Citations

  • Vehicle function unit test method and device, electronic equipment and storage medium

    CN114095405A

  • CAN message database establishment method and device, vehicle-mounted electronic equipment and storage medium

    CN115277882A

  • Message transmission method and device, electronic equipment and computer readable storage medium

    CN115967604A

  • Vehicle-mounted network communication data routing table generation control method and related equipment

    CN116599890A

  • Vehicle-mounted network development system and vehicle

    CN117061545A