Internet of vehicles data analysis method, system and device, server and vehicle equipment
By receiving and parsing the enumerated values of CAN signal data as Chinese text, the problem of CAN signal data not being able to be dynamically converted into Chinese characters is solved, thus improving the efficiency of vehicle fault diagnosis and maintenance.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
- Filing Date
- 2023-04-27
- Publication Date
- 2026-08-04
AI Technical Summary
In existing technologies, CAN signal data cannot be dynamically converted into Chinese meanings, making vehicle fault diagnosis and maintenance difficult.
By receiving vehicle signal data, extracting signal identifiers and enumeration values, determining the corresponding Chinese text, parsing the enumeration values into Chinese text, and updating the information in the configuration file.
It enables fast and accurate parsing of CAN signal data into Chinese text, making it easier for maintenance personnel to understand the actual meaning of the signal data and improving the efficiency of troubleshooting and maintenance.
Smart Images

Figure CN116582837B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a method, system, device, server, and vehicle equipment for parsing data in the Internet of Vehicles (IoV). Background Technology
[0002] With the rapid development of internet technology, more and more intelligent vehicles are entering people's lives. Intelligent vehicles generate various vehicle signal data during operation. This vehicle signal data can be data from the Controller Area Network (CAN), or simply CAN signal data, which is a key source of vehicle status and control information. In CAN, CAN signal data is typically represented using vehicle signal identifiers and bit data. However, CAN signal data cannot be dynamically converted into Chinese meanings. Currently, CAN signal data can only be provided as enumerated values in a DBC file, rather than a more intuitive Chinese description. This poses a significant challenge to vehicle fault diagnosis and maintenance. Summary of the Invention
[0003] In view of this, embodiments of this application provide a method, system, device, server, vehicle equipment, and computer-readable storage medium for parsing vehicle network data, in order to solve the problem in related technologies that it is impossible to dynamically convert the enumerated values in CAN signal data into Chinese meanings.
[0004] A first aspect of this application provides a vehicle-to-everything (V2X) data parsing method applied to a V2X platform. The method includes: receiving V2X data sent by a vehicle device, and vehicle signal data in a V2X data packet controller local area network; extracting a vehicle signal identifier and at least one enumerated value corresponding to the vehicle signal identifier from the vehicle signal data; determining at least one Chinese text corresponding to the vehicle signal identifier based on the vehicle signal identifier; and parsing the enumerated value in the vehicle signal data into the corresponding Chinese text based on the at least one enumerated value corresponding to the vehicle signal identifier and the at least one Chinese text corresponding to the vehicle signal identifier.
[0005] A second aspect of this application provides a vehicle-to-everything (V2X) data parsing method applied to vehicle equipment. The method includes: sending V2X data to a V2X platform, the V2X data including vehicle signal data in a controller local area network (Controller Area Network), such that the V2X platform extracts a vehicle signal identifier and at least one enumerated value corresponding to the vehicle signal identifier from the vehicle signal data; determining at least one Chinese text corresponding to the vehicle signal identifier based on the vehicle signal identifier; parsing the enumerated value in the vehicle signal data into the corresponding Chinese text based on the at least one enumerated value and the at least one Chinese text corresponding to the vehicle signal identifier; receiving a notification from the V2X platform for updating a configuration file in the Controller Area Network, the configuration file containing the enumerated value of the vehicle signal data and the corresponding Chinese text; and, based on the notification, performing an update operation asynchronously on the enumerated value of the vehicle signal data and / or the corresponding Chinese text in the configuration file, the update operation including modification, addition, or deletion.
[0006] A third aspect of this application provides a vehicle-to-everything (V2X) data parsing system. The system includes a V2X platform and a vehicle device. The vehicle device is configured to send V2X data to the V2X platform, the V2X data including vehicle signal data in a controller local area network (Controller Area Network). The V2X platform is configured to receive the V2X data; extract a vehicle signal identifier and at least one enumeration value corresponding to the vehicle signal identifier from the vehicle signal data; determine at least one Chinese text corresponding to the vehicle signal identifier based on the vehicle signal identifier; and parse the enumeration value in the vehicle signal data into the corresponding Chinese text based on the at least one enumeration value and the at least one Chinese text corresponding to the vehicle signal identifier. The V2X platform is further configured to send a notification message to the vehicle device for updating a configuration file in the Controller Area Network, the configuration file containing the enumeration value of the vehicle signal data and the corresponding Chinese text. The vehicle device is further configured to receive the notification message; and, based on the notification message, perform an update operation on the enumeration value of the vehicle signal data in the configuration file and / or the corresponding Chinese text in an asynchronous manner, the update operation including modification, addition, or deletion.
[0007] A fourth aspect of this application provides a vehicle network data parsing device applied to a vehicle network platform. The device includes: a receiving module for receiving vehicle network data sent by vehicle equipment and vehicle signal data in a vehicle network data packet controller local area network; an extraction module for extracting a vehicle signal identifier and at least one enumerated value corresponding to the vehicle signal identifier from the vehicle signal data; a Chinese text determination module for determining at least one Chinese text corresponding to the vehicle signal identifier based on the vehicle signal identifier; and a parsing module for parsing the enumerated value in the vehicle signal data into the corresponding Chinese text based on the at least one enumerated value corresponding to the vehicle signal identifier and the at least one Chinese text corresponding to the vehicle signal identifier.
[0008] A fifth aspect of this application provides a vehicle network data parsing apparatus applied to vehicle equipment. The apparatus includes: a sending module, configured to send vehicle network data to a vehicle network platform, the vehicle network data including vehicle signal data in a controller local area network (Controller Area Network), such that the vehicle network platform extracts a vehicle signal identifier and at least one enumerated value corresponding to the vehicle signal identifier from the vehicle signal data; determines at least one Chinese text corresponding to the vehicle signal identifier based on the vehicle signal identifier; and parses the enumerated value in the vehicle signal data into the corresponding Chinese text based on the at least one enumerated value corresponding to the vehicle signal identifier and the at least one Chinese text corresponding to the vehicle signal identifier; a receiving module, configured to receive a notification from the vehicle network platform for updating a configuration file in the Controller Area Network, the configuration file containing the enumerated value of the vehicle signal data and the corresponding Chinese text; and an updating module, configured to perform an update operation on the enumerated value of the vehicle signal data and / or the corresponding Chinese text in the configuration file asynchronously based on the notification information, the update operation including modification, addition, or deletion.
[0009] A sixth aspect of this application provides a server, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the method proposed in the first aspect above.
[0010] A seventh aspect of this application provides a vehicle device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the method described in the second aspect.
[0011] An eighth aspect of the embodiments of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the methods proposed in the first or second aspect described above.
[0012] The beneficial effects of this application embodiment compared with the prior art include at least the following: This application embodiment can extract the vehicle signal identifier and at least one enumeration value corresponding to the vehicle signal identifier from the vehicle signal data, and determine at least one Chinese text corresponding to the vehicle signal identifier based on the vehicle signal identifier. Then, based on the at least one enumeration value corresponding to the vehicle signal identifier and the at least one Chinese text corresponding to the vehicle signal identifier, the enumeration value in the vehicle signal data is parsed into the corresponding Chinese text. In this way, the enumeration value in the vehicle signal data can be parsed into the corresponding Chinese text quickly and accurately, so that maintenance personnel can easily understand the actual meaning of the vehicle signal data from the Chinese text, which is convenient for vehicle fault diagnosis and maintenance. Attached Figure Description
[0013] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0014] Figure 1 This is a schematic diagram of a vehicle network data parsing system according to an embodiment of this application;
[0015] Figure 2 This is a flowchart of a vehicle network data parsing method applied to a vehicle network platform according to an embodiment of this application;
[0016] Figure 3 This is a flowchart of a vehicle network data parsing method applied to vehicle equipment according to an embodiment of this application;
[0017] Figure 4 This is a schematic diagram illustrating the interaction between the vehicle networking platform and vehicle equipment according to an embodiment of this application;
[0018] Figure 5 This is a block diagram of a vehicle network data parsing device applied to a vehicle network platform according to an embodiment of this application;
[0019] Figure 6 This is a block diagram of a vehicle network data parsing device applied to vehicle equipment according to an embodiment of this application;
[0020] Figure 7 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. Detailed Implementation
[0021] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0022] The following will describe in detail, with reference to the accompanying drawings, the vehicle network data parsing method, system, and apparatus according to embodiments of this application.
[0023] Figure 1 This is a schematic diagram of a vehicle network data parsing system according to an embodiment of this application.
[0024] like Figure 1 As shown, the vehicle-to-everything (V2X) data parsing system 100 may include vehicle equipment and a V2X platform. In this embodiment, the vehicle equipment may be vehicle equipment 101, vehicle equipment 102, or vehicle equipment 103. The V2X platform may be a server 105.
[0025] In some embodiments, vehicle device 101, vehicle device 102, or vehicle device 103 can interact with server 105 via network 104. Network 104 serves as a medium for providing a communication link between vehicle device 101, vehicle device 102, or vehicle device 103 and server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.
[0026] It should be understood that Figure 1 The number of vehicles, devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of vehicles, devices, networks, and servers can be included. For example, server 105 could be a server cluster composed of multiple servers.
[0027] In some embodiments, vehicle device 101, vehicle device 102, or vehicle device 103 may be used to: send vehicle networking data to server 105, the vehicle networking data including vehicle signal data in the controller local area network.
[0028] In some embodiments, the server 105 may be configured to: receive vehicle network data, and extract a vehicle signal identifier and at least one enumeration value corresponding to the vehicle signal identifier from the vehicle signal data, then determine at least one Chinese text corresponding to the vehicle signal identifier based on the vehicle signal identifier, and parse the enumeration value in the vehicle signal data into the corresponding Chinese text based on the at least one enumeration value corresponding to the vehicle signal identifier and the at least one Chinese text corresponding to the vehicle signal identifier.
[0029] In some embodiments, server 105 may also be used to send a notification message to vehicle device 101, vehicle device 102, or vehicle device 103 for updating a configuration file in the controller local area network, the configuration file containing an enumeration value of vehicle signal data and the corresponding Chinese text of the enumeration value.
[0030] In some embodiments, vehicle device 101, vehicle device 102, or vehicle device 103 may also be used to: receive notification information and, based on the notification information, perform an update operation on the enumeration value of the vehicle signal data in the configuration file and / or the Chinese text corresponding to the enumeration value in an asynchronous manner. The update operation includes a modification operation, an addition operation, or a deletion operation.
[0031] The aforementioned vehicle network data parsing system 100 can quickly and accurately parse the enumeration values in the vehicle signal data of vehicle devices 101, 102, or 103 into corresponding Chinese text, enabling maintenance personnel to easily understand the actual meaning of the vehicle signal data from the Chinese text. The vehicle network data parsing system 100 can also asynchronously update the enumeration values of the vehicle signal data in the configuration file and / or the corresponding Chinese text based on notification information used to update the configuration file in the controller area network. This method ensures accurate and timely synchronization of the updated content to the configuration file in the controller area network.
[0032] Figure 2 This is a flowchart illustrating a vehicle network data parsing method applied to a vehicle network platform according to an embodiment of this application. The method provided in this application embodiment can be executed by any electronic device with computer processing capabilities; for example, the electronic device may be... Figure 1 The server shown.
[0033] like Figure 2 As shown, the method includes steps S210 to S240.
[0034] In step S210, vehicle network data sent by vehicle equipment is received, which is vehicle signal data in the controller local area network.
[0035] In step S220, based on the vehicle signal data, the vehicle signal identifier and at least one enumerated value corresponding to the vehicle signal identifier are extracted from the vehicle signal data.
[0036] In step S230, at least one Chinese text corresponding to the vehicle signal identifier is determined based on the vehicle signal identifier.
[0037] In step S240, the enumeration value in the vehicle signal data is parsed into the corresponding Chinese text based on at least one enumeration value corresponding to the vehicle signal identifier and at least one Chinese text corresponding to the vehicle signal identifier.
[0038] This method can extract the vehicle signal identifier and at least one enumeration value corresponding to the vehicle signal identifier from the vehicle signal data. Based on the vehicle signal identifier, at least one Chinese text corresponding to the vehicle signal identifier is determined. Then, based on the at least one enumeration value and the at least one Chinese text corresponding to the vehicle signal identifier, the enumeration value in the vehicle signal data is parsed into the corresponding Chinese text. In this way, the enumeration value in the vehicle signal data can be quickly and accurately parsed into the corresponding Chinese text, so that maintenance personnel can easily understand the actual meaning of the vehicle signal data from the Chinese text, which is convenient for vehicle fault diagnosis and maintenance.
[0039] In some embodiments, the vehicle signal data in the controller local area network described above can be any vehicle-related data. For example, vehicle speed, vehicle battery level, vehicle engine temperature, vehicle air conditioning status, vehicle charging status, etc., but not limited to these.
[0040] In some embodiments, the vehicle signal data may include a vehicle signal identifier and a corresponding enumeration value. For example, the vehicle signal identifier may be an identifier for vehicle signals such as vehicle speed, battery level, engine temperature, air conditioning status, or charging status. The enumeration value corresponding to the vehicle signal identifier may be any number such as 0, 1, 2, 3, 4, 5, etc. This enumeration value is used to represent the actual state of the vehicle. For example, the enumeration value may represent the actual state of vehicle signals such as vehicle speed, battery level, engine temperature, air conditioning status, or charging status. For example, if the vehicle signal identifier is an identifier for the air conditioning status, 0 may indicate that the air conditioning is off, 1 indicates that the air conditioning is on, and 2 indicates that the air conditioning is in an abnormal state.
[0041] In some embodiments, based on the vehicle signal data, a vehicle signal identifier and at least one enumerated value corresponding to the vehicle signal identifier are extracted from the vehicle signal data. For example, the vehicle signal data is traversed, and the vehicle signal identifier is extracted from the vehicle signal data. Then, one or more enumerated values corresponding to the vehicle signal identifier are extracted.
[0042] In some embodiments, at least one Chinese text corresponding to a vehicle signal identifier is determined based on the vehicle signal identifier. For example, based on the mapping relationship between vehicle signal identifiers and Chinese text, one or more Chinese texts corresponding to the vehicle signal identifier are queried from a mapping table of vehicle identifiers and Chinese texts. In this embodiment, the Chinese text can be any word related to the vehicle. For example, the Chinese text can be "open", "close", "abnormal", etc.
[0043] In some embodiments, parsing enumeration values in vehicle signal data into corresponding Chinese text based on at least one enumeration value corresponding to a vehicle signal identifier and at least one corresponding Chinese text includes: determining a mapping relationship between enumeration values and Chinese text based on at least one enumeration value corresponding to a vehicle signal identifier and at least one corresponding Chinese text; and parsing at least one enumeration value corresponding to a vehicle signal identifier into at least one corresponding Chinese text based on the mapping relationship. For example, based on at least one Chinese text corresponding to a vehicle signal identifier, the mapping table between enumeration values and Chinese text is traversed to query the mapping relationship between enumeration values and Chinese text, and at least one enumeration value corresponding to a vehicle signal identifier is parsed into the corresponding Chinese text based on the mapping relationship. For example, enumeration value 0 has a mapping relationship with the Chinese text "OFF", so 0 can be parsed as "OFF". Enumeration value 1 has a mapping relationship with the Chinese text "OFF", so 1 can be parsed as "OFF". Enumeration value 2 has a mapping relationship with the Chinese text "ANIST", so 2 can be parsed as "ANIST". This method allows for the dynamic parsing of enumerated values in vehicle signal data (CAN signal data) into corresponding Chinese text, facilitating maintenance personnel to troubleshoot vehicle faults and maintain the vehicle based on the Chinese text.
[0044] In some embodiments, parsing enumeration values in vehicle signal data into corresponding Chinese text based on at least one enumeration value corresponding to a vehicle signal identifier and at least one corresponding Chinese text includes: inputting at least one enumeration value corresponding to a vehicle signal identifier and at least one corresponding Chinese text into a vehicle signal data parsing model; parsing the at least one enumeration value and at least one Chinese text through the vehicle signal data parsing model; outputting the matching degree between each enumeration value and each corresponding Chinese text; and parsing at least one enumeration value corresponding to a vehicle signal identifier into at least one corresponding Chinese text based on the matching degree between each enumeration value and each corresponding Chinese text. For example, inputting the enumeration value and Chinese words corresponding to a vehicle signal identifier into a trained vehicle signal data parsing model; calculating the matching probability between the enumeration value and the Chinese words through an algorithm in the vehicle signal data parsing model; and parsing the enumeration value into the Chinese word when the matching probability is greater than a preset threshold.
[0045] In some embodiments, the vehicle signal data parsing model can use the enumerated values in the vehicle signal data and the marked Chinese words corresponding to the enumerated values as training samples, and use the training samples to train the model to obtain the vehicle signal data parsing model.
[0046] In some embodiments, the vehicle network data parsing method applied to a vehicle network platform may further include: receiving a target enumeration value and / or target Chinese text corresponding to a vehicle signal identifier input by a user through a visual management interface; modifying the enumeration value and / or target Chinese text corresponding to the vehicle signal identifier in the mapping table between enumeration values and Chinese text based on the target enumeration value and / or target Chinese text; and sending a modification notification to the vehicle device. Alternatively, based on the target enumeration value and target Chinese text corresponding to the vehicle signal identifier, the method may add the target enumeration value and target Chinese text corresponding to the vehicle signal identifier to the mapping table between enumeration values and Chinese text, and send an addition notification to the vehicle device. In this embodiment, the vehicle network platform provides a visual management interface to the user. On this interface, the user can input the enumeration value and / or Chinese words corresponding to the vehicle signal identifier to be modified. The vehicle network platform modifies the enumeration value and / or Chinese text in the mapping table between enumeration values and Chinese text according to the user-input enumeration value and / or Chinese words. Users can also add enumeration values and corresponding Chinese words for new vehicle signal identifiers on this visual management interface. The vehicle networking platform can add the enumeration values and corresponding Chinese words for new vehicle signal identifiers to the mapping table between enumeration values and Chinese text. After the vehicle networking platform completes the modification or addition, it generates corresponding update notification information (e.g., modification notification information or addition notification information) based on the modified or added content and sends the update notification information to the vehicle equipment, so that the vehicle equipment can accurately and timely update the modified or added content in the update notification information to the configuration file in the controller area network.
[0047] In some embodiments, the vehicle network data parsing method applied to the vehicle network platform may further include: responding to a user's operation of deleting the enumeration value and Chinese text corresponding to a vehicle signal through a visual management interface, retrieving the enumeration value and Chinese text corresponding to the vehicle signal from a mapping table of enumeration values and Chinese text, and sending a deletion notification to the vehicle device. For example, a user can input the enumeration value and Chinese words corresponding to the vehicle signal identifier to be deleted, and the vehicle network platform deletes the enumeration value and / or Chinese text corresponding to the enumeration value and / or Chinese text in the mapping table of enumeration values and / or Chinese text according to the enumeration value and / or Chinese words corresponding to the vehicle signal identifier to be deleted. After the vehicle network platform completes the deletion, it generates corresponding update notification information (e.g., deletion notification information) based on the deleted content and sends the update notification information to the vehicle device, so that the vehicle device accurately and promptly deletes the enumeration value and Chinese text corresponding to the vehicle signal identifier in the configuration file in the controller area network according to the deletion content in the update notification information.
[0048] The aforementioned vehicle-to-everything (V2X) data parsing method applied to the V2X platform automatically converts CAN signals into their corresponding Chinese meanings, thereby improving the efficiency of vehicle fault diagnosis and maintenance. Users no longer need to manually search for enumeration value descriptions in DBC files; instead, they can directly view the corresponding Chinese meanings of the enumeration values on the V2X platform's visual interface, making the process convenient and quick.
[0049] Figure 3 This is a flowchart illustrating a vehicle network data parsing method applied to vehicle equipment according to an embodiment of this application. The method provided in this embodiment can be executed by any electronic device with computer processing capabilities, such as an electronic device that can be... Figure 1 The vehicle equipment shown.
[0050] like Figure 3 As shown, the above method may include steps S310 to S330.
[0051] In step S310, vehicle network data is sent to the vehicle network platform. This vehicle network data includes vehicle signal data from the controller local area network, so that the vehicle network platform can extract the vehicle signal identifier and at least one enumeration value corresponding to the vehicle signal identifier from the vehicle signal data; determine at least one Chinese text corresponding to the vehicle signal identifier based on the vehicle signal identifier; and parse the enumeration value in the vehicle signal data into the corresponding Chinese text based on the at least one enumeration value corresponding to the vehicle signal identifier and the at least one Chinese text corresponding to the vehicle signal identifier.
[0052] In step S320, a notification message sent by the vehicle network platform is received to update the configuration file in the controller local area network. The configuration file contains an enumeration value of the vehicle signal data and the corresponding Chinese text.
[0053] In step S330, based on the notification information, an update operation is performed asynchronously on the enumerated value of the vehicle signal data in the configuration file and / or the Chinese text corresponding to the enumerated value. The update operation includes modification, addition, or deletion.
[0054] This method can send vehicle signal data from the controller area network (CAN) to the vehicle networking platform, enabling the platform to dynamically parse the enumeration values in the vehicle signal data into their corresponding Chinese text. Upon receiving a notification to update the configuration file in the CAN, the method can also automatically update the enumeration values of the vehicle signal data in the configuration file and / or their corresponding Chinese text asynchronously, ensuring accurate and timely updates to the relevant content in the configuration file.
[0055] In related technologies, predefined enumeration values and Chinese text are managed and uploaded to the vehicle networking platform. When modifications are involved, timely and accurate updates and synchronization can be achieved, ensuring the accuracy of subsequent CAN signal data parsing. When the enumeration values and Chinese text of the CAN signal data need to be updated, this can be achieved by manually modifying the corresponding configuration file. In this application, to ensure that the modified information is accurately updated into the CAN module's memory, thereby guaranteeing the accuracy of subsequent CAN signal parsing and reducing the possibility of errors, a visual management interface is provided for editing and updating. For example, the visual management interface provides a tool for editing and updating the enumeration values and Chinese text of the CAN signal data. Administrators can add, delete, and modify the enumeration values and Chinese text of the CAN signal data in this visual management interface, and synchronize the modified information to the CAN module's memory by clicking the save button. To further improve the efficiency and accuracy of updates, automatic updates can also be used. Specifically, an automatic update function module can be integrated into the CAN module. This module can periodically obtain the latest CAN signal data enumeration values and Chinese text from the vehicle networking platform and automatically update them into the CAN module's memory. Automatic updates can be implemented through asynchronous notifications. For example, automatic updates can be achieved by sending asynchronous notifications to the CAN module from the vehicle's central server. When the enumerated values of the CAN signal data and the Chinese text in the vehicle networking platform change, the platform can proactively send update notifications to the CAN module, thus enabling automatic updates.
[0056] In some embodiments, corresponding Chinese text is set for the enumeration values corresponding to vehicle signal identifiers to obtain a configuration file, which can be a DBC file. For example, the enumeration values and Chinese meaning information of CAN signal data are defined. For example, in a CAN message, there is a signal with ID 0x100, and its enumeration value description in the DBC file is as follows:
[0057] enum{
[0058] ID_0x100_SIGNAL_A_OFF=0,
[0059] ID_0x100_SIGNAL_A_ON = 1,
[0060] ID_0x100_SIGNAL_A_ERROR=2
[0061] }
[0062] The corresponding Chinese text is set, and its enumeration value description in the DBC file is as follows:
[0063] {
[0064] "ID":0x100,
[0065] "Signals":[
[0066] {
[0067] "Name":"Signal A",
[0068] "Enum":[
[0069] {"Key":0,"Value":"Off"},
[0070] {"Key":1,"Value":"Open"},
[0071] {"Key":2,"Value":"Error"}
[0072] ]}]}
[0073] Here, ID is the ID of the CAN message, i.e., the vehicle signal identifier, and Signals contains information about all signals corresponding to that ID. In this example, there is only one signal, Signal A. This vehicle signal identifier has three enumeration values: 0, 1, and 2. The Chinese text corresponding to enumeration value 0 is "OFF". The Chinese text corresponding to enumeration value 1 is "OFF". The Chinese text corresponding to enumeration value 2 is "Error".
[0074] For example, in a CAN message, there is a signal with ID 0x101, whose enumeration value in the DBC file is described as:
[0075] enum{
[0076] ID_0x101_SIGNAL_B_INVALID=0x0,
[0077] ID_0x101_SIGNAL_B_CHARGING_IN_PARK=0x1,
[0078] ID_0x101_SIGNAL_B_CHARGING_IN_DRIVE=0x2,
[0079] ID_0x101_SIGNAL_B_NOT_CHARGING=0x3,
[0080] ID_0x101_SIGNAL_B_CHARGE_COMPLETE=0x4,
[0081] ID_0x101_SIGNAL_B_CHARGE_ABNORMAL=0x5
[0082] }
[0083] The corresponding Chinese text is set, and its enumeration value description in the DBC file is as follows:
[0084]
[0085] Here, ID is the ID of the CAN message, i.e., the vehicle signal identifier, and Signals contains information about all signals corresponding to that ID. In this example, there is only one signal, Signal B. This vehicle signal identifier has five enumeration values: 0, 1, 2, 3, 4, and 5. The Chinese text corresponding to enumeration value 0 is "Invalid". The Chinese text corresponding to enumeration value 1 is "Charging while parked". The Chinese text corresponding to enumeration value 2 is "Charging while driving". The Chinese text corresponding to enumeration value 3 is "Not charging". The Chinese text corresponding to enumeration value 4 is "Charging complete". The Chinese text corresponding to enumeration value 5 is "Reverse charging".
[0086] The vehicle-to-everything (V2X) data parsing method applied to vehicle equipment can automatically update the enumeration values and / or Chinese text in the aforementioned DBC file. For example, upon receiving a notification to update the aforementioned DBC file, the system can automatically update the enumeration values of the vehicle signal data in the configuration file and / or the corresponding Chinese text based on this communication information in an asynchronous manner. This ensures accurate and timely updates to the corresponding content in the aforementioned DBC file.
[0087] Figure 4 This is a schematic diagram illustrating the interaction between the vehicle networking platform and vehicle equipment according to an embodiment of this application.
[0088] like Figure 4 As shown, the interaction process between the vehicle networking platform and vehicle equipment may include the following steps:
[0089] S1: Maintenance personnel open the CAN signal definition management page (i.e., the above-mentioned visual management interface) in the vehicle networking platform and modify the CAN signal enumeration values and Chinese meanings that need to be updated.
[0090] S2: The vehicle networking platform saves the modified CAN signal definition information to the database.
[0091] S3: When the vehicle networking platform detects an update to the CAN signal definition information, it packages the updated information into a data packet.
[0092] S4: The vehicle networking platform sends data packets to the designated address of the CAN module (i.e., controller area network) of the vehicle equipment via network transmission protocols (such as HTTP or FTP).
[0093] S5: After receiving the data packet, the CAN module of the vehicle equipment parses the update information in the data packet and updates the CAN signal enumeration values and Chinese meanings in the memory of the CAN module.
[0094] S6: The CAN module of the vehicle equipment returns the updated signal definition information to the vehicle networking platform. After receiving the update success response, the vehicle networking platform records the update result in the database.
[0095] The above method can be used to update the content to be updated in the CAN module. For example, when the CAN message contains a predefined enumeration value, the CAN module will look up the corresponding Chinese meaning information in memory and automatically convert the CAN signal into the corresponding Chinese meaning. This can be achieved using a hash table or other data structures for fast lookup. In this example, when the CAN message contains an enumeration value of 0 for signal A, the CAN module will automatically convert the signal into the Chinese meaning "off".
[0096] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. The vehicle network data parsing apparatus described below and the vehicle network data parsing method described above can be referred to each other. For details not disclosed in the apparatus embodiments of this application, please refer to the method embodiments of this application.
[0097] Figure 5 This is a block diagram of a vehicle network data parsing device applied to a vehicle network platform, according to an embodiment of this application.
[0098] like Figure 5 As shown, the vehicle network data parsing device 500 applied to the vehicle network platform includes a receiving module 510, an extraction module 520, a Chinese text determination module 530, and a parsing module 540.
[0099] Specifically, the receiving module 510 is used to receive vehicle network data sent by vehicle equipment and vehicle signal data in the vehicle network data packet controller local area network.
[0100] The extraction module 520 is used to extract the vehicle signal identifier and at least one enumerated value corresponding to the vehicle signal identifier from the vehicle signal data.
[0101] The Chinese text determination module 530 is used to determine at least one Chinese text corresponding to the vehicle signal sign based on the vehicle signal sign.
[0102] The parsing module 540 is used to parse the enumeration value in the vehicle signal data into the corresponding Chinese text based on at least one enumeration value corresponding to the vehicle signal identifier and at least one Chinese text corresponding to the vehicle signal identifier.
[0103] The vehicle network data parsing device 500 applied to the vehicle network platform can extract the vehicle signal identifier and at least one enumeration value corresponding to the vehicle signal identifier from the vehicle signal data. Based on the vehicle signal identifier, it determines at least one Chinese text corresponding to the vehicle signal identifier. Then, based on the at least one enumeration value and the at least one Chinese text corresponding to the vehicle signal identifier, it parses the enumeration value in the vehicle signal data into the corresponding Chinese text. In this way, the enumeration value in the vehicle signal data can be quickly and accurately parsed into the corresponding Chinese text, so that maintenance personnel can easily understand the actual meaning of the vehicle signal data from the Chinese text, which is convenient for vehicle fault diagnosis and maintenance.
[0104] In some embodiments, the parsing module 540 may be configured to: determine the mapping relationship between the enumeration value and the Chinese text based on at least one enumeration value corresponding to the vehicle signal identifier and at least one Chinese text corresponding to the vehicle signal identifier; and parse the at least one enumeration value corresponding to the vehicle signal identifier into the corresponding at least one Chinese text based on the mapping relationship between the enumeration value and the Chinese text.
[0105] In some embodiments, the parsing module 540 may also be configured to: input at least one enumerated value corresponding to the vehicle signal identifier and at least one Chinese text corresponding to the vehicle signal identifier into the vehicle signal data parsing model; parse the at least one enumerated value and at least one Chinese text through the vehicle signal data parsing model; output the matching degree between each enumerated value and each Chinese text; and parse the at least one enumerated value corresponding to the vehicle signal identifier into the corresponding at least one Chinese text based on the matching degree between each enumerated value and each Chinese text.
[0106] In some embodiments, the vehicle network data parsing device 500 of the vehicle network platform is further configured to: receive the target enumeration value and / or target Chinese text corresponding to the vehicle signal identifier input by the user through a visual management interface; modify the enumeration value and / or target Chinese text corresponding to the vehicle signal identifier in the mapping table between enumeration values and Chinese text based on the target enumeration value and / or target Chinese text corresponding to the vehicle signal identifier, and send modification notification information to the vehicle device; add the target enumeration value and target Chinese text corresponding to the vehicle signal identifier to the mapping table between enumeration values and Chinese text based on the target enumeration value and target Chinese text corresponding to the vehicle signal identifier, and send addition notification information to the vehicle device.
[0107] In some embodiments, the vehicle network data parsing device 500 of the vehicle network platform is further configured to: in response to the user's operation of deleting the enumeration value and / or Chinese text corresponding to the vehicle signal through a visual management interface, retrieve the enumeration value and / or Chinese text corresponding to the vehicle signal from the mapping table of enumeration value and Chinese text, and send deletion notification information to the vehicle device.
[0108] Figure 6 This is a block diagram of a vehicle network data parsing device applied to vehicle equipment according to an embodiment of this application.
[0109] like Figure 6 As shown, the vehicle network data parsing device 600 applied to vehicle equipment may include a sending module 610, a receiving module 620, and an updating module 630.
[0110] Specifically, the sending module 610 is used to send vehicle network data to the vehicle network platform. The vehicle network data includes vehicle signal data in the controller local area network, so that the vehicle network platform can extract the vehicle signal identifier and at least one enumeration value corresponding to the vehicle signal identifier from the vehicle signal data; determine at least one Chinese text corresponding to the vehicle signal identifier based on the vehicle signal identifier; and parse the enumeration value in the vehicle signal data into the corresponding Chinese text based on the at least one enumeration value corresponding to the vehicle signal identifier and the at least one Chinese text corresponding to the vehicle signal identifier.
[0111] The receiving module 620 is used to receive notification information sent by the vehicle networking platform for updating the configuration file in the controller area network. The configuration file contains enumeration values of vehicle signal data and the corresponding Chinese text of the enumeration values.
[0112] The update module 630 is used to perform update operations on the enumerated values of vehicle signal data in the configuration file and / or the corresponding Chinese text of the enumerated values in an asynchronous manner according to the notification information. The update operations include modification operations, addition operations, or deletion operations.
[0113] The vehicle network data parsing device 600, applied to vehicle equipment, can send vehicle signal data from the controller area network (CAN) to the vehicle network platform, enabling the platform to dynamically parse the enumeration values in the vehicle signal data into their corresponding Chinese text. Upon receiving a notification to update the configuration file in the CAN, it can also automatically update the enumeration values of the vehicle signal data in the configuration file and / or the corresponding Chinese text based on this communication information asynchronously. This ensures accurate and timely updates to the corresponding content in the configuration file.
[0114] Figure 7 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. In this embodiment, the electronic device 700 can be a server for executing a vehicle-to-everything (V2X) data parsing method, or it can be a vehicle device for executing the V2X data parsing method.
[0115] like Figure 7As shown, the electronic device 700 of this embodiment includes a processor 710, a memory 720, and a computer program 730 stored in the memory 720 and executable on the processor 710. When the processor 710 executes the computer program 730, it implements the steps in the various method embodiments described above. Alternatively, when the processor 710 executes the computer program 730, it implements the functions of each module in the various device embodiments described above.
[0116] Electronic device 700 can be a desktop computer, laptop, handheld computer, cloud server, or other electronic device. Electronic device 700 may include, but is not limited to, processor 710 and memory 720. Those skilled in the art will understand that... Figure 7 This is merely an example of electronic device 700 and does not constitute a limitation on electronic device 700. It may include more or fewer parts than shown, or different parts.
[0117] The processor 710 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0118] The memory 720 can be an internal storage unit of the electronic device 700, such as a hard disk or RAM of the electronic device 700. The memory 720 can also be an external storage device of the electronic device 700, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, etc., equipped on the electronic device 700. The memory 720 can also include both internal and external storage units of the electronic device 700. The memory 720 is used to store computer programs and other programs and data required by the electronic device.
[0119] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0120] If an integrated module is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program may include computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. A computer-readable medium may include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in a computer-readable medium can be appropriately added to or subtracted according to the requirements of legislation and patent practice in a jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electrical carrier signals and telecommunication signals.
[0121] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method for parsing vehicle network data, applied to a vehicle network platform, characterized in that, The method includes: Receive vehicle network data sent by vehicle equipment, wherein the vehicle network data includes vehicle signal data in the controller local area network; Based on the vehicle signal data, extract the vehicle signal identifier and at least one enumerated value corresponding to the vehicle signal identifier from the vehicle signal data; Based on the vehicle signal identifier, determine at least one Chinese text corresponding to the vehicle signal identifier; Based on at least one enumerated value corresponding to the vehicle signal identifier and at least one Chinese text corresponding to the vehicle signal identifier, the enumerated value in the vehicle signal data is parsed into the corresponding Chinese text, so that maintenance personnel can perform vehicle fault diagnosis and maintenance based on the Chinese text. The method further includes: The system receives an update operation triggered by a user through a visual management interface and sends a notification to the vehicle device to update the configuration file in the controller local area network. The configuration file contains an enumeration value of the vehicle signal data and the corresponding Chinese text. The vehicle device then performs an update operation on the enumeration value of the vehicle signal data and / or the corresponding Chinese text in the configuration file asynchronously, based on the notification. The update operation includes modification, addition, or deletion.
2. The method according to claim 1, characterized in that, Based on at least one enumerated value corresponding to the vehicle signal identifier and at least one Chinese text corresponding to the vehicle signal identifier, the enumerated value in the vehicle signal data is parsed into the corresponding Chinese text, including: Based on at least one enumerated value corresponding to the vehicle signal identifier and at least one Chinese text corresponding to the vehicle signal identifier, determine the mapping relationship between the enumerated value and the Chinese text; Based on the mapping relationship between the enumeration values and Chinese text, at least one enumeration value corresponding to the vehicle signal identifier is parsed into at least one corresponding Chinese text.
3. The method according to claim 1, characterized in that, Based on at least one enumerated value corresponding to the vehicle signal identifier and at least one Chinese text corresponding to the vehicle signal identifier, the enumerated value in the vehicle signal data is parsed into the corresponding Chinese text, including: Input at least one enumerated value corresponding to the vehicle signal identifier and at least one Chinese text corresponding to the vehicle signal identifier into the vehicle signal data parsing model. The vehicle signal data parsing model parses and processes the at least one enumerated value and the at least one Chinese text, and outputs the matching degree between each enumerated value and each Chinese text. Based on the matching degree between each enumeration value and each corresponding Chinese text, at least one enumeration value corresponding to the vehicle signal identifier is parsed into at least one corresponding Chinese text.
4. The method according to claim 2, characterized in that, The update operation includes: Receive the target enumeration value and / or target Chinese text corresponding to the vehicle signal identifier input by the user through the visual management interface; Based on the target enumeration value and / or target Chinese text corresponding to the vehicle signal identifier, modify the enumeration value and / or Chinese text corresponding to the vehicle signal identifier in the mapping table between enumeration value and Chinese text, and send modification notification information to the vehicle equipment; Based on the target enumeration value and target Chinese text corresponding to the vehicle signal identifier, the target enumeration value and target Chinese text corresponding to the vehicle signal identifier are added to the mapping table between the enumeration value and the Chinese text, and an addition notification message is sent to the vehicle equipment.
5. The method according to claim 2, characterized in that, The update operation also includes: In response to a user's operation of deleting the enumeration value and Chinese text corresponding to a vehicle signal through a visual management interface, the enumeration value and Chinese text corresponding to the vehicle signal are deleted from the mapping table between enumeration values and Chinese text, and a deletion notification message is sent to the vehicle device.
6. A method for parsing vehicle network data, applied to vehicle equipment, characterized in that, The method includes: The system sends vehicle network data to a vehicle network platform, the vehicle network data including vehicle signal data from the controller area network, so that the vehicle network platform can extract a vehicle signal identifier and at least one enumeration value corresponding to the vehicle signal identifier from the vehicle signal data; determine at least one Chinese text corresponding to the vehicle signal identifier based on the vehicle signal identifier; and parse the enumeration value in the vehicle signal data into the corresponding Chinese text based on the at least one enumeration value corresponding to the vehicle signal identifier and the at least one Chinese text corresponding to the vehicle signal identifier, so that maintenance personnel can perform vehicle fault diagnosis and maintenance based on the Chinese text. The system receives a notification message from the vehicle network platform to update the configuration file in the controller local area network based on an update operation triggered by the user through a visual management interface. The configuration file contains an enumeration value of the vehicle signal data and the corresponding Chinese text. Based on the notification information, an update operation is performed asynchronously on the enumerated values of vehicle signal data in the configuration file and / or the corresponding Chinese text. The update operation includes modification, addition, or deletion.
7. A vehicle-to-everything (V2X) data analysis system, characterized in that, The system includes a vehicle networking platform and vehicle equipment; The vehicle equipment is used to send vehicle network data to the vehicle network platform, and the vehicle network data includes vehicle signal data in the controller local area network; The vehicle network platform is used to receive the vehicle network data; extract the vehicle signal identifier and at least one enumeration value corresponding to the vehicle signal identifier from the vehicle signal data; determine at least one Chinese text corresponding to the vehicle signal identifier based on the vehicle signal identifier; and parse the enumeration value in the vehicle signal data into the corresponding Chinese text based on the at least one enumeration value and the at least one Chinese text corresponding to the vehicle signal identifier, so that maintenance personnel can perform vehicle fault diagnosis and maintenance based on the Chinese text. The vehicle networking platform is also used to send a notification message to the vehicle equipment to update the configuration file in the controller local area network based on the update operation triggered by the user through the visual management interface. The configuration file contains the enumeration value of the vehicle signal data and the Chinese text corresponding to the enumeration value. The vehicle equipment is also used to receive the notification information; and according to the notification information, to perform an update operation on the enumeration value of the vehicle signal data in the configuration file and / or the Chinese text corresponding to the enumeration value in an asynchronous manner, wherein the update operation includes modification operation, addition operation, or deletion operation.
8. A vehicle-to-everything (V2X) data parsing device, applied to a V2X platform, characterized in that, The device includes: A receiving module is used to receive vehicle network data sent by vehicle equipment, wherein the vehicle network data includes vehicle signal data in the controller local area network; The extraction module is used to extract the vehicle signal identifier and at least one enumerated value corresponding to the vehicle signal identifier from the vehicle signal data. The Chinese text determination module is used to determine at least one Chinese text corresponding to the vehicle signal identifier based on the vehicle signal identifier; The parsing module is used to parse the enumeration value in the vehicle signal data into the corresponding Chinese text based on at least one enumeration value corresponding to the vehicle signal identifier and at least one Chinese text corresponding to the vehicle signal identifier, so that maintenance personnel can perform vehicle fault diagnosis and maintenance based on the Chinese text. The vehicle network data parsing device is further configured to: receive an update operation triggered by a user through a visual management interface, and send a notification message to the vehicle device for updating the configuration file in the controller local area network. The configuration file contains an enumeration value of the vehicle signal data and the corresponding Chinese text, so that the vehicle device can perform an update operation on the enumeration value of the vehicle signal data and / or the corresponding Chinese text in the configuration file asynchronously according to the notification message. The update operation includes modification, addition, or deletion.
9. A vehicle networking data parsing device, applied to vehicle equipment, characterized in that, The device includes: The sending module is used to send vehicle network data to the vehicle network platform. The vehicle network data includes vehicle signal data in the controller local area network, so that the vehicle network platform can extract a vehicle signal identifier and at least one enumeration value corresponding to the vehicle signal identifier from the vehicle signal data; determine at least one Chinese text corresponding to the vehicle signal identifier based on the vehicle signal identifier; and parse the enumeration value in the vehicle signal data into the corresponding Chinese text based on the at least one enumeration value corresponding to the vehicle signal identifier and the at least one Chinese text corresponding to the vehicle signal identifier, so that maintenance personnel can perform vehicle fault diagnosis and maintenance based on the Chinese text. The receiving module is used to receive notification information sent by the vehicle networking platform based on the update operation triggered by the user through the visual management interface, which is used to update the configuration file in the controller local area network. The configuration file contains the enumeration value of the vehicle signal data and the Chinese text corresponding to the enumeration value. The update module is used to perform an update operation on the enumerated value of the vehicle signal data in the configuration file and / or the Chinese text corresponding to the enumerated value in an asynchronous manner according to the notification information. The update operation includes modification operation, addition operation, or deletion operation.
10. A server comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 5.
11. A vehicle device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in claim 6.
12. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 5 or the steps of the method as described in claim 6.