Information processing method and device and computer readable storage medium
By creating interactive controls and binding relationships in the data management platform, the problem of insufficient interactivity in CANdb++ software was solved, and efficient editing and management of network description information was achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- JIANGSU GUOINNOVATION ENERGY COMMERCIAL VEHICLE INNOVATION TECHNOLOGY CO LTD
- Filing Date
- 2026-01-16
- Publication Date
- 2026-04-17
AI Technical Summary
The CANdb++ software lacks interactivity, resulting in low efficiency in editing and managing network description information.
Create interactive controls in the data management platform, including message sub-controls and signal sub-controls, and directly update them based on the attributes of message objects and signal objects to establish binding relationships. Use indexes for fast retrieval and management.
It improves the efficiency of editing and managing network description information, enables rapid retrieval and efficient editing of network description information, and reduces configuration error rate and operation and maintenance costs.
Smart Images

Figure CN121880285A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and in particular to an information processing method, an information processing apparatus, and a computer-readable storage medium. Background Technology
[0002] The CAN (Controller Area Network) and CAN FD (Controller Area Network Flexible Data-rate) buses widely used in automotive electronics require a unified description of network nodes, messages, signals and their scaling relationships, terminal order, units, value enumeration, comments and multiplexing relationships through DBC (Database for CAN) files.
[0003] In related technologies, CANdb++ software is used to edit and manage network description information in DBC files. Summary of the Invention
[0004] The inventors of this disclosure have discovered the following problem in the aforementioned related technologies: due to the insufficient interactivity of the CANdb++ software, the efficiency of editing and managing network description information is low.
[0005] In view of this, this disclosure proposes an information processing technology solution that can improve the efficiency of editing and managing network description information.
[0006] According to some embodiments of this disclosure, an information processing method is provided, comprising: parsing network description information into objects, the objects including message objects and signal objects; creating interactive controls in a data management platform based on the attributes of the message objects for maintaining the attributes of the objects, the interactive controls including message sub-controls for maintaining the attributes of the message objects and signal sub-controls for maintaining the attributes of the signal objects; and updating the attributes of the objects based on the interactive controls in response to an update of the network description information.
[0007] In some embodiments, creating interactive controls in a data management platform based on the attributes of a message object includes: determining the index of the message object based on its attributes; creating a message sub-control corresponding to the index in the data management platform; and creating a signal sub-control corresponding to the message sub-control based on the message object to which the signal object belongs.
[0008] In some embodiments, creating a message sub-control corresponding to an index in a data management platform includes: writing the current value of the message object's attribute into the message sub-control to establish a binding relationship between the message object and the message sub-control.
[0009] In some embodiments, creating a signal sub-control corresponding to a message sub-control based on the message object to which the signal object belongs includes: determining the message object to which the signal object belongs based on network description information; determining the message sub-control based on the index of the message object; and writing the current value of the signal object's attribute to the signal sub-control corresponding to the message sub-control to establish a binding relationship between the signal object and the signal sub-control.
[0010] In some embodiments, the attributes of a message object include a hardware identifier and a software identifier of the message object, as well as a sending node and a receiving node of the message object. Based on the attributes of the message object, determining the index of the message object includes: determining multiple items among the hardware identifier, software identifier, sending node, and receiving node as an index, which is used to find the message object in the data management platform.
[0011] In some embodiments, in response to an update of network description information, the properties of an object are updated based on an interactive control, including: updating the values of the properties of the object displayed on the interactive control in response to an update of network description information; and updating the text file used to store network description information based on the update result of the values of the object's properties.
[0012] In some embodiments, in response to an update of network description information, the values of the attributes of objects displayed on the interactive control are updated, including: displaying message objects and signal objects on a visualization interface of the data management platform; and updating the display result of the visualization interface in response to an update of the values of the attributes of objects displayed on the interactive control, so as to visualize the update result of the values of the attributes of the objects.
[0013] In some embodiments, in response to an update of network description information, updating the values of properties of objects displayed on interactive controls includes: in response to an update instruction of network description information to delete a message object, deleting the values of properties of the message object displayed on the message sub-control and the values of properties of the signal object displayed on the signal sub-control corresponding to the message sub-control; and / or in response to an update instruction of network description information to delete a signal object, deleting the values of properties of the signal object displayed on the signal sub-control.
[0014] In some embodiments, updating the values of properties of objects displayed on interactive controls in response to network description information updates includes: modifying the values of properties of message objects displayed on message sub-controls in response to network description information updates indicating modification of message object properties; and / or modifying the values of properties of signal objects displayed on signal sub-controls in response to network description information updates indicating modification of signal object properties.
[0015] In some embodiments, the visualization interface includes the total number of message objects and key attribute information of the message object currently being processed. The key attribute information includes the hardware identifier, cycle period, and at least one of the sending node and receiving node of the message object currently being processed.
[0016] In some embodiments, the network description information includes a protocol for describing communication between electronic control units within the vehicle via a controller area network bus.
[0017] According to some other embodiments of this disclosure, an information processing apparatus is provided, comprising: a parsing module configured to parse network description information into objects, the objects including message objects and signal objects; a creation module configured to create interactive controls in a data management platform based on the attributes of the message objects, for maintaining the attributes of the objects, the interactive controls including message sub-controls for maintaining the attributes of the message objects and signal sub-controls for maintaining the attributes of the signal objects; and an updating module configured to update the attributes of the objects based on the interactive controls in response to an update of the network description information.
[0018] In some embodiments, the creation module is configured to determine the index of a message object based on the attributes of the message object; create a message sub-control corresponding to the index in the data management platform; and create a signal sub-control corresponding to the message sub-control based on the message object to which the signal object belongs.
[0019] In some embodiments, the creation module is configured to write the current value of a property of a message object to a message sub-control to establish a binding relationship between the message object and the message sub-control.
[0020] In some embodiments, the creation module is configured to determine the message object to which the signal object belongs based on network description information; determine the message sub-control based on the index of the message object; and write the current value of the signal object's attribute to the signal sub-control corresponding to the message sub-control to establish a binding relationship between the signal object and the signal sub-control.
[0021] In some embodiments, the attributes of a message object include a hardware identifier and a software identifier for the message object, as well as a sending node and a receiving node for the message object. The creation module is configured to determine multiple attributes of the hardware identifier, software identifier, sending node, and receiving node as an index, which is used to locate the message object in the data management platform.
[0022] In some embodiments, the update module is configured to update the values of the properties of the object displayed on the interactive control in response to an update of the network description information; and update the text file used to store the network description information based on the update result of the object's property values.
[0023] In some embodiments, the update module is configured to display message objects and signal objects on a visualization interface of the data management platform; and to update the display result of the visualization interface in response to the update of the attribute values of the objects displayed on the interactive controls, so as to visualize the update result of the attribute values of the objects.
[0024] In some embodiments, the update module is configured to delete the values of the attributes of the message object displayed on the message sub-control and the values of the attributes of the signal object displayed on the signal sub-control corresponding to the message sub-control in response to an update instruction of the network description information; and / or delete the values of the attributes of the signal object displayed on the signal sub-control in response to an update instruction of the network description information.
[0025] In some embodiments, the update module is configured to modify the values of the attributes of a message object displayed on a message sub-control in response to an update instruction of network description information; and / or modify the values of the attributes of a signal object displayed on a signal sub-control in response to an update instruction of network description information.
[0026] In some embodiments, the visualization interface includes the total number of message objects and key attribute information of the message object currently being processed. The key attribute information includes the hardware identifier, cycle period, and at least one of the sending node and receiving node of the message object currently being processed.
[0027] In some embodiments, the network description information includes a protocol for describing communication between electronic control units within the vehicle via a controller area network bus.
[0028] According to further embodiments of the present disclosure, an information processing apparatus is provided, comprising: a memory; and a processor coupled to the memory, the processor being configured to execute the information processing method of any of the above embodiments based on instructions stored in the memory device.
[0029] According to further embodiments of the present disclosure, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the information processing method of any of the above embodiments.
[0030] According to further embodiments of this disclosure, a computer program product is also provided, including instructions that, when executed by a processor, cause the processor to perform the information processing method according to any of the foregoing embodiments.
[0031] In the above embodiments, network description information is parsed to obtain objects, and interactive controls corresponding to the objects are created on the data management platform. These interactive controls are then used to maintain the objects' attributes. By enhancing the interactivity of the data management platform, the efficiency of editing and managing network description information can be improved. Attached Figure Description
[0032] The accompanying drawings, which form part of this specification, illustrate embodiments of this disclosure and, together with the specification, serve to explain the principles of this disclosure.
[0033] This disclosure will become clearer with reference to the accompanying drawings and the following detailed description, wherein:
[0034] Figure 1 Flowcharts illustrating some embodiments of the information processing methods of this disclosure;
[0035] Figure 2 Flowcharts illustrating other embodiments of the information processing methods of this disclosure;
[0036] Figure 3 Block diagrams illustrating some embodiments of the data management platform of this disclosure;
[0037] Figure 4 Block diagrams illustrating some embodiments of the information processing apparatus of this disclosure;
[0038] Figure 5 Block diagrams illustrating other embodiments of the information processing apparatus of this disclosure;
[0039] Figure 6 Block diagrams illustrating further embodiments of the information processing apparatus of this disclosure are shown. Detailed Implementation
[0040] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the present disclosure.
[0041] At the same time, it should be understood that, for ease of description, the dimensions of the various parts shown in the accompanying drawings are not drawn according to actual scale.
[0042] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit this disclosure or its application or use.
[0043] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.
[0044] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.
[0045] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.
[0046] As mentioned above, DBC files are used throughout multiple stages of vehicle electronic and electrical development, including requirements definition, network design, simulation verification, software implementation, calibration, and testing. The quality of DBC files directly affects the reliability of bus communication and development efficiency. With the increasing platformization and variations of vehicle models, the size and complexity of DBC files are rapidly increasing, posing challenges to their modeling, modification, and management.
[0047] However, due to the insufficient visualization and interactivity of the CANdb++ software, the following problems exist when using CANdb++ to edit and manage DBC files: CANdb++'s retrieval function is insufficient, making it unable to retrieve messages from a large number of DBC files containing messages / signals; the interface for adding signals and modifying messages in CANdb++ is not intuitive enough, requiring repeated switching between interfaces to modify message and signal attributes. Furthermore, when adding signals to messages, it is necessary to manually create the signals first and then add them to the messages, resulting in low efficiency in editing and managing network description information.
[0048] To address at least one of the aforementioned technical problems, this disclosure proposes an information processing technical solution. In a data management platform, message sub-controls are created to maintain the attributes of message objects, and signal sub-controls are created to maintain the attributes of signal objects. The message sub-controls are used to directly update the attributes of message objects, and the signal sub-controls are used to directly update the attributes of signal objects. By enhancing the interactivity of the data management platform, the efficiency of editing and managing network description information can be improved.
[0049] For example, the technical solution of this disclosure can be implemented through the following embodiments.
[0050] Figure 1 Flowcharts illustrating some embodiments of the information processing methods of this disclosure are shown.
[0051] like Figure 1 As shown, in step 110, the network description information is parsed into objects, including message objects, which in turn include signal objects. For example, the network description information includes protocols used to describe communication between electronic control units within the vehicle via a controller area network bus.
[0052] For example, network description information can be ASCII-based text information in a DBC file, used to describe the communication protocol between network nodes such as ECUs (Electronic Control Units) within the vehicle via the CAN bus. The object can be a canDatabase object created using built-in functions of the simulation software.
[0053] For example, a data management platform can be an interactive editing platform built upon the programming toolbox built into the simulation software. Using the simulation software's built-in functions, network description information in a DBC file can be parsed to create a `canDatabase` object containing the complete structure information of the DBC file, serving as the object model within the simulation software. The object model can include message objects, signal objects, node objects, value table objects, and value table comments, etc. The DBC file can also be generated from the object model.
[0054] In some embodiments, properties in the canDatabase object can be accessed, and a structure can be created by reassigning the properties to manage the parsed objects.
[0055] In this way, a data management platform is built based on the programming toolbox built into the simulation software, and a unified in-memory data model is constructed. During the management of DBC files using this data management platform, the field order and necessary formatting can be maintained consistently, achieving lossless file parsing. This not only facilitates the subsequent creation of multi-dimensional indexes based on the data model and the maintenance of object attributes based on the indexes, but also benefits the management of network description information.
[0056] In step 120, based on the attributes of the message object, interactive controls are created in the data management platform to maintain the object's attributes. These interactive controls include message sub-controls for maintaining message object attributes and signal sub-controls for maintaining signal object attributes. For example, message object attributes include the message identifier "ID" (e.g., standard frame ID or extended frame ID), name "Name", number of bytes "DLC", cycle time "CycleTime", sending node "TxNode", receiving node "RxNodes", signal "Signals[]", custom attributes "Attributes", and comment "Comment". Signal object attributes include the signal name "Name", start bit "StartBit", length "Length", endianness "ByteOrder" (e.g., Motorola or Intel mode), sign "Signed" (e.g., signed or unsigned), scaling factor "Factor", offset "Offset", physical range "Min" and "Max", physical unit "Unit", value table "ValueTable", custom attributes "Attributes", and comment "Comment".
[0057] For example, interactive controls can be created on the property panel of the data management platform based on the attributes of message objects, for displaying information and facilitating human-computer interaction. These interactive controls can take the form of user interaction buttons, message dropdown lists, signal attribute information lists, etc. Interactive controls include message sub-controls and signal sub-controls. Based on message sub-controls, attributes such as the message object's ID, DLC, cycle period, sending node, receiving node, comments, and custom attributes can be maintained. Based on signal sub-controls, attributes such as the signal object's end order, whether it is signed or unsigned, scaling factor and offset, physical range, and physical units can be maintained.
[0058] In this way, by creating message sub-controls bound to message objects and signal sub-controls bound to signal objects respectively, the properties of objects can be maintained based on interactive controls, thereby improving the interactivity of the data management platform.
[0059] In some embodiments, the attributes of a message object include a hardware identifier and a software identifier, as well as a sending node and a receiving node. Multiple attributes of the hardware identifier, software identifier, sending node, and receiving node can be used as an index to locate the message object in the data management platform.
[0060] For example, a hardware identifier can be a message ID, and a software identifier can be a message name. Based on the message ID, name, sending node, receiving node, etc., a multi-dimensional index of the message can be built. Based on the multi-dimensional index of the message object to be searched, the message object to be searched can be located in the data management platform.
[0061] In this way, by establishing a multi-dimensional index based on ID, name, sending node, and receiving node, rapid message retrieval can be achieved. This not only benefits the data management platform's management of DBC files, but also allows for quick location of messages and objects contained within them, facilitating subsequent maintenance of message and object attributes and thus improving the efficiency of the data management platform in editing and managing network description information.
[0062] In some embodiments, the index of the message object is determined based on the attributes of the message object; a message sub-control corresponding to the index is created in the data management platform; and a signal sub-control corresponding to the message sub-control is created based on the message object to which the signal object belongs.
[0063] For example, in response to the first writing or addition of a message object, a message sub-control can be created in a specified area of the Properties panel. Since each message object has different properties, the index determined based on those properties will also be different. Based on the index of the message object to be written or added, a message sub-control corresponding to that message object can be identified to maintain the message object's properties.
[0064] For example, in response to the first writing or addition of a signal object, the message object to which the signal object belongs can be determined. A signal sub-control can be created in a specified area of the message sub-control corresponding to the message object to which the signal object belongs. Based on the dependency and mapping relationship between message objects and signal objects, the dependency and mapping relationship between message sub-controls and signal sub-controls can be determined.
[0065] In this way, by providing an interactive button to directly add signals in the message modification interface, new signals can be added by directly inputting the signal's attribute information, eliminating the need to import signals after creating them, thus improving the efficiency of editing and managing network description information.
[0066] In some embodiments, the current value of the message object's attribute is written to the message sub-control to establish a binding relationship between the message object and the message sub-control.
[0067] For example, in response to writing or adding a message object for the first time, the current values of the message object's name, DLC, cycle period, sending node, and other properties can be written to the message sub-control to establish a binding relationship between the message object and the message sub-control.
[0068] In some embodiments, after the attributes of the message object are filled in the message sub-control, the system data management platform can perform real-time verification of the message. For example, it can perform ID uniqueness verification on the message. After the verification passes, the message object can be written into the object model.
[0069] In this way, through two-way data binding between interactive controls and object models, not only can the current values of object properties be displayed on the controls, but it also facilitates strong consistency and low-latency feedback when updating message objects and signal objects in the future, thereby improving the efficiency of editing and managing network description information.
[0070] In some embodiments, the message object to which the signal object belongs is determined based on network description information; the message sub-control is determined based on the index of the message object; and the current value of the signal object's attribute is written to the signal sub-control corresponding to the message sub-control to establish a binding relationship between the signal object and the signal sub-control.
[0071] For example, based on network description information, the message object to which a signal object belongs can be determined. In response to writing or adding a signal object for the first time, the index of the message object can be determined based on the attributes of the message object to which the signal object belongs. Based on the message object's index, the corresponding message sub-control can be located on the property panel of the software management platform. After locating the message sub-control, a signal sub-control can be created in a specified area of that message sub-control to maintain the attributes of the signal objects contained within that message object.
[0072] For example, in response to writing or adding a signal object for the first time, the current values of the signal object's name, start bit, length, end order, signed or unsigned, scaling factor, offset, physical range, physical unit, and other properties can be written to the signal sub-control to establish a binding relationship between the signal object and the signal sub-control.
[0073] In some embodiments, after the attributes of a signal object are filled in the signal sub-control, the data management platform can perform real-time verification of the signal. For example, bit segment conflict and DLC out-of-bounds checks can be performed on the signal. After the verification passes, the signal object can be written into the object model and the bit occupancy structure can be updated. Bit segment conflict verification can be implemented based on the message definition to maintain the bit occupancy data structure.
[0074] In some embodiments, the software management platform also includes a visualization interface that can display bit-level layout views of message objects and signal objects. For example, in response to the software management platform detecting that message objects and / or signal objects are written to the object model, the bit-level layout view displayed on the visualization interface can be updated by refreshing the interface.
[0075] This allows for the establishment of hierarchical relationships between message sub-controls and signal sub-controls based on the hierarchical relationship between message objects and signal objects. Combined with index-driven combined queries and one-click location, the signal sub-control of a specified signal object can be quickly located, enabling efficient and reliable large-scale editing. Furthermore, new signals can be added directly by inputting signal attribute information within the message modification interface, eliminating the need to import signals after creation and improving the efficiency of editing and managing network description information.
[0076] In step 130, in response to an update of the network description information, the object's properties are updated based on the interactive controls. For example, in response to an update of the network description information, the user can perform operations such as adding, deleting, and modifying messages and / or signals on the data management platform based on the interactive controls. Before performing add, delete, or modify operations on messages and / or signals, the corresponding message sub-controls and signal sub-controls can be located based on the message index.
[0077] In this way, by creating message sub-controls to maintain the attributes of message objects and signal sub-controls to maintain the attributes of signal objects based on the attributes of message objects in the data management platform, and by directly updating the attributes of message objects using message sub-controls and directly updating the attributes of signal objects using signal sub-controls, the interactivity of the data management platform can be enhanced, thereby improving the efficiency of editing and managing network description information.
[0078] In some embodiments, in response to an update of network description information, the values of the properties of the object displayed on the interactive control are updated; based on the update result of the object's property values, the text file used to store the network description information is updated.
[0079] For example, the parsed objects can be edited and managed by adding, deleting, or modifying the property values of objects displayed on interactive controls. After updating the objects, a DBC file can also be generated from the object model.
[0080] In this way, when the network description information is updated, users can use the data management platform to edit and manage DBC files.
[0081] In some embodiments, message objects and signal objects are displayed on a visualization interface of the data management platform; in response to an update of the attribute values of the objects displayed on the interactive controls, the display result of the visualization interface is updated to visualize the update result of the attribute values of the objects.
[0082] For example, a hierarchical tree structure can be used to construct a message / signal tree to display all messages and all signals within them on a visual interface. In response to updates to message and / or object attributes, the results of these updates can be displayed on the visual interface.
[0083] This allows for real-time visualization of message and signal updates when adding, deleting, or editing messages and signals, providing a WYSIWYG experience and facilitating efficient and reliable large-scale editing.
[0084] In some embodiments, in response to an update instruction in the network description information to delete a message object, the values of the attributes of the message object displayed on the message sub-control and the values of the attributes of the signal object displayed on the signal sub-control corresponding to the message sub-control are deleted; and / or in response to an update instruction in the network description information to delete a signal object, the values of the attributes of the signal object displayed on the signal sub-control are deleted.
[0085] For example, in response to an update instruction in the network description information to delete a specified message object, the message sub-control of the specified message object can be located based on its index. After locating the message sub-control, the specified message object and all its constituent signal objects can be deleted simultaneously by deleting the values of the message object's properties displayed on the message sub-control. Before the user performs the deletion operation, the data management platform can provide a confirmation prompt to remind the user that deleting a message will also delete all its constituent signals.
[0086] For example, in response to an update instruction in network description information to delete a specified signal object, the message object to which the specified signal object belongs can first be determined based on the network description information. Based on the message object's index, the message sub-control of that message object can be determined, and then the signal sub-control of the specified signal object can be located. The specified signal object can be deleted by deleting the values of the signal object's properties displayed on the signal sub-control.
[0087] For example, after deleting a specified message object and / or a specified signal object, the user can refresh the visualization interface to see the results of the deletion.
[0088] In some embodiments, in response to an update instruction in the network description information, the values of the attributes of the message object displayed on the message sub-control are modified; and / or in response to an update instruction in the network description information, the values of the attributes of the signal object displayed on the signal sub-control are modified. For example, the message's ID, DLC, cycle time, sending node, receiving node, comments, and custom attributes can be updated.
[0089] For example, in response to an update instruction in the network description information to modify the attributes of a specified message object, the message sub-control of the specified message object can be located based on its index. After locating the message sub-control, the attributes of the message object can be modified within it. After the user submits the modification, the data management platform will perform an ID uniqueness check on the message object. Once the check passes, the modification result will be synchronized to the visualization interface.
[0090] For example, in response to an update instruction in network description information to modify the attributes of a specified signal object, the message object to which the specified signal object belongs can be determined first based on the network description information. Based on the message object's index, the message sub-control of that message object can be determined, and then the signal sub-control of the specified signal object can be located. After locating the signal sub-control, the attributes of the signal object can be modified within it. After the user submits the modification, the data management platform will verify the signal object's bit field conflicts and DLC out-of-bounds checks. Once the verification passes, the modification results will be synchronized to the visual interface.
[0091] In some embodiments, the visualization interface includes the total number of message objects and key attribute information of the message object currently being processed. The key attribute information includes the hardware identifier, cycle period, and at least one of the sending node and receiving node of the message object currently being processed.
[0092] For example, the visualization interface of the data management platform can also display key information such as the currently loaded DBC file, the total number of current messages, and the ID, cycle period, sending node, and receiving node of the currently processed message.
[0093] In some embodiments, the data management platform can interact with the visualization simulation toolbox of the simulation software. It provides API interfaces such as loadDBC, addMessage, addSignal, updateMessage, and exportDBC to support functional extensions such as automated verification, transformation, and regression testing.
[0094] This allows for native integration of the data management platform with simulation software toolkits or simulation environments. This improves interaction efficiency and collaboration, reduces configuration error rates and maintenance costs, making it suitable for large-scale vehicle network engineering scenarios.
[0095] Figure 2 Flowcharts illustrating some other embodiments of the information processing methods of this disclosure are shown.
[0096] like Figure 2 As shown, in step 205, the process begins. For example, DBC files can be edited and managed using an interactive data management platform built on the simulation software's built-in programming toolkit.
[0097] In step 210, loading and modeling occur. For example, the data management platform can receive and load a DBC file to be edited, and parse the DBC file to generate an object model. The object model can include messages, signals, nodes, and value tables, etc. The data management platform can also build a multidimensional index for messages based on attributes such as the message object's ID, name, sending node, and receiving node.
[0098] In step 215, the interface is presented and data is bound. For example, a message / signal tree can be constructed based on the parsed message and signal objects to display all messages and all signals within them, as well as bitmap views of the message and signal objects. The data management platform also includes a property panel, on which message sub-controls for maintaining the properties of message objects and signal sub-controls for maintaining the properties of signal objects can be constructed to complete two-way data binding and event listening between interactive controls and the object model, achieving WYSIWYG editing interaction.
[0099] In step 220, user operations are performed. For example, user operations may include adding messages and / or signals, deleting messages and / or signals, searching for messages, and modifying messages and / or signals.
[0100] In step 225, new messages and / or signals are added. For example, a new message can be added by writing attributes such as the message's ID, name, DLC, cycle period, and sending node into the message sub-control. After writing, an ID uniqueness check can be performed on the message object. If the check passes, the message object is created in the object model. After the user refreshes the visualization interface of the data management platform, the newly added message object can be displayed on the visualization interface. For example, a new signal can also be added by writing attributes such as the signal's name, start bit, length, end order, signed or unsigned, scaling factor, offset, physical range, and physical unit into the signal sub-control. After writing, a bit field conflict and DLC out-of-bounds checks can be performed on the signal object. If the checks pass, the signal object is created in the target message object of the object model, and the bit occupancy structure is updated.
[0101] In step 230, messages and / or signals are deleted. For example, message objects can be deleted through the message sub-control of the data management platform, and / or signal objects can be deleted through the signal sub-control. A confirmation message can be sent to the user before deletion. Deleting a message object can simultaneously delete all signal objects it contains. When deleting a signal object, only the specified signal objects are deleted.
[0102] In step 235, messages are queried and filtered. For example, a multidimensional index can be built based on the message object's ID, name, sending node, receiving node, etc. Based on the multidimensional index, a set of target message objects can be retrieved.
[0103] In step 240, the message and / or signal are modified. For example, the message object's ID, DLC, cycle time, sending node, receiving node, comments, and custom attributes can be modified based on the message sub-control of the data management platform. Similarly, the signal object's end order, signed or unsigned, scaling factor, offset, physical range, and physical unit can be modified based on the signal sub-control of the data management platform.
[0104] In step 245, integration with the visualization simulation toolbox of the simulation software is performed. For example, API interfaces such as loadDBC, addMessage, addSignal, updateMessage, and exportDBC can be provided to support functional extensions such as automated verification, transformation, and regression testing.
[0105] In step 250, it is determined whether to continue editing the DBC file. For example, the DBC file can be edited multiple times in the data management platform. If the user needs to continue editing the DBC file after completing the current operation, the process can return to step 220 to continue the corresponding editing and management based on the user's operation; if the user does not want to continue editing the DBC file, then step 255 is executed.
[0106] In step 255, the process ends. For example, after completing the editing and management of the DBC files, you can exit the data management platform.
[0107] Figure 3 Block diagrams illustrating some embodiments of the data management platform of this disclosure are shown.
[0108] like Figure 3 The data management platform disclosed herein may include multiple modules such as a parsing and generation module 31, a data model module 32, a CRUD transaction management module 33, an interaction and visualization module 34, and an integration interface module 35. These modules can work together to achieve the editing and management of DBC files.
[0109] In some embodiments, the parsing and generation module 31 can be configured to execute the information processing method in step 110 above. For example, the parsing and generation module 31 can use the built-in functions of the simulation software to parse the network description information in the DBC file to generate a canDatabase object containing the complete structural information of the DBC file, which serves as an object model within the simulation software. The object model may include messages, signals, nodes, value tables, and comments for the value tables. The parsing and generation module 31 can also reverse-engineer the DBC file based on the object model while maintaining the consistency of field order and necessary format.
[0110] In some embodiments, the data model module 32 can be configured to build a multidimensional index of the message so that the information processing method of step 120 described above can be performed based on the built multidimensional index. For example, the data model module 32 can maintain a memory representation of the object model so that a multidimensional index based on the message's ID, name, sending node, and receiving node can be built subsequently based on the memory representation. The data model module 32 can also maintain data structures such as bit occupancy of signals in the message according to the message's attributes to support the rapid determination of bit segment conflicts of signal objects.
[0111] In some embodiments, the CRUD transaction management module 33 can be configured to execute the information processing method in step 130 above. For example, the CRUD transaction management module 33 can be a transaction management module that encapsulates operations such as adding, deleting, modifying, and querying, and can support the addition and deletion of messages, the addition and deletion of signals included in messages, editing operations on the view of messages and signals, and the ability to search for a specified message object based on a multi-dimensional index such as the message object's ID, name, sending node, and receiving node.
[0112] In some embodiments, the interaction and visualization module 34 is configured to execute the information processing method in step 120 above. For example, the interaction and visualization module 34 can construct a message / signal tree to display the hierarchical relationship between messages and signals in the CAN network in a hierarchical tree structure on the data management platform. The interaction and visualization module 34 is also configured to construct an attribute editing panel and display a bit-level layout view, supporting the display of the currently loaded DBC file, the current total number of messages, and key information such as the ID, cycle period, sending node, and receiving node of the currently processed message. The attribute panel of the interaction and visualization module 34 includes message sub-controls for maintaining attributes such as the ID, DLC, cycle period, sending node, receiving node, comments, and custom attributes of message objects, and signal sub-controls for maintaining attributes such as the end order, signed or unsigned, scaling factor, offset, physical range, and physical unit of signal objects.
[0113] In some embodiments, the data management platform may further include an integration interface module 35, which can be configured to interact with the visualization simulation toolbox of the simulation software. By providing interface APIs such as loadDBC, addMessage, addSignal, updateMessage, and exportDBC, it can support functional extensions such as automated verification, transformation, and regression testing.
[0114] Figure 4 Block diagrams illustrating some embodiments of the information processing apparatus of this disclosure are shown.
[0115] like Figure 4As shown, the information processing device 4 in this embodiment includes: a parsing module 41, configured to enable the parsing and generation module 31 of the data management platform to parse network description information into objects, the objects including message objects, and the message objects including signal objects; a creation module 42, configured to enable the data model module 32 and the interaction and visualization module 34 of the data management platform to create interactive controls in the data management platform based on the attributes of the message objects, for maintaining the attributes of the objects, the interactive controls including message sub-controls for maintaining the attributes of message objects and signal sub-controls for maintaining the attributes of signal objects; and an update module 43, configured to enable the CRUD transaction management module 33 of the data management platform to update the attributes of the objects based on the interactive controls in response to the update of network description information.
[0116] In some embodiments, the creation module 42 is configured to determine the index of the message object based on the attributes of the message object; create a message sub-control corresponding to the index in the data management platform; and create a signal sub-control corresponding to the message sub-control based on the message object to which the signal object belongs.
[0117] In some embodiments, the creation module 42 is configured to write the current value of the message object's attribute to the message sub-control to establish a binding relationship between the message object and the message sub-control.
[0118] In some embodiments, the creation module 42 is configured to determine the message object to which the signal object belongs based on network description information; determine the message sub-control based on the index of the message object; and write the current value of the signal object's attribute to the signal sub-control corresponding to the message sub-control to establish a binding relationship between the signal object and the signal sub-control.
[0119] In some embodiments, the attributes of a message object include a hardware identifier and a software identifier for the message object, as well as a sending node and a receiving node for the message object. Creation module 42 is configured to determine multiple items among the hardware identifier, software identifier, sending node, and receiving node as an index, which is used to locate the message object in the data management platform.
[0120] In some embodiments, the update module 43 is configured to update the values of the properties of the object displayed on the interactive control in response to an update of the network description information; and update the text file used to store the network description information based on the update result of the object's property values.
[0121] In some embodiments, the update module 43 is configured to display message objects and signal objects on a visualization interface of the data management platform; and to update the display result of the visualization interface in response to the update of the attribute values of the objects displayed on the interactive control, so as to visualize the update result of the attribute values of the objects.
[0122] In some embodiments, the update module 43 is configured to delete the values of the attributes of the message object displayed on the message sub-control and the values of the attributes of the signal object displayed on the signal sub-control corresponding to the message sub-control in response to an update instruction of the network description information; and / or delete the values of the attributes of the signal object displayed on the signal sub-control in response to an update instruction of the network description information.
[0123] In some embodiments, the update module 43 is configured to modify the properties of a message object displayed on a message sub-control in response to an update instruction of network description information; and / or modify the properties of a signal object displayed on a signal sub-control in response to an update instruction of network description information.
[0124] In some embodiments, the visualization interface includes the total number of message objects and key attribute information of the message object currently being processed. The key attribute information includes the hardware identifier, cycle period, and at least one of the sending node and receiving node of the message object currently being processed.
[0125] In some embodiments, the network description information includes a protocol for describing communication between electronic control units within the vehicle via a controller area network bus.
[0126] Figure 5 Block diagrams illustrating other embodiments of the information processing apparatus of this disclosure are shown.
[0127] like Figure 5 As shown, the information processing apparatus 4 of this embodiment includes a memory 51 and a processor 52 coupled to the memory 51. The processor 52 is configured to execute the information processing method of any embodiment of this disclosure based on instructions stored in the memory 51.
[0128] The memory 51 may include, for example, system memory, fixed non-volatile storage media, etc. The system memory stores, for example, the operating system, application programs, boot loader, database, and other programs.
[0129] Figure 6 Block diagrams illustrating further embodiments of the information processing apparatus of this disclosure are shown.
[0130] like Figure 6 As shown, the information processing device 4 of this embodiment includes a memory 51 and a processor 52 coupled to the memory 51. The processor 52 is configured to execute the information processing method of any of the foregoing embodiments based on instructions stored in the memory 51.
[0131] The memory 51 may include, for example, system memory, fixed non-volatile storage media, etc. The system memory stores, for example, the operating system, application programs, boot loader, and other programs.
[0132] The information processing device 4 may also include an input / output interface 63, a network interface 64, and a storage interface 65. These interfaces 63, 64, and 65, as well as the memory 51 and processor 52, can be connected via, for example, a bus 66. The input / output interface 63 provides a connection interface for input / output devices such as a monitor, mouse, keyboard, touchscreen, microphone, and speakers. The network interface 64 provides a connection interface for various networked devices. The storage interface 65 provides a connection interface for external storage devices such as SD cards and USB flash drives.
[0133] Those skilled in the art will understand that embodiments of this disclosure can be provided as methods, systems, or computer program products. Therefore, this disclosure can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this disclosure can take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0134] The information processing method, information processing apparatus, and computer-readable storage medium according to this disclosure have been described in detail above. To avoid obscuring the concept of this disclosure, some details known in the art have not been described. Those skilled in the art will fully understand how to implement the technical solutions disclosed herein based on the above description.
[0135] The methods and systems of this disclosure may be implemented in many ways. For example, they may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order of steps for the methods is for illustrative purposes only, and the steps of the methods of this disclosure are not limited to the specific order described above unless otherwise specifically stated. Furthermore, in some embodiments, this disclosure may also be implemented as a program recorded on a recording medium, the program including machine-readable instructions for implementing the methods according to this disclosure. Thus, this disclosure also covers recording media storing programs for performing the methods according to this disclosure.
[0136] While specific embodiments of this disclosure have been described in detail by way of examples, those skilled in the art should understand that the examples are for illustrative purposes only and are not intended to limit the scope of this disclosure. Those skilled in the art should understand that modifications can be made to the above embodiments without departing from the scope and spirit of this disclosure.
Claims
1. An information processing method, comprising: The network description information is parsed into objects, including message objects, which in turn include signal objects; Based on the attributes of the message object, an interactive control is created in the data management platform to maintain the attributes of the object. The interactive control includes a message sub-control for maintaining the attributes of the message object and a signal sub-control for maintaining the attributes of the signal object. In response to the update of the network description information, the properties of the object are updated based on the interactive control.
2. The information processing method according to claim 1, wherein, The step of creating interactive controls in the data management platform based on the attributes of the message object includes: Determine the index of the message object based on its attributes; Create the message sub-control corresponding to the index in the data management platform; Based on the message object to which the signal object belongs, create the signal sub-control corresponding to the message sub-control.
3. The information processing method according to claim 2, wherein, Creating the message sub-control corresponding to the index in the data management platform includes: Write the current value of the message object's attribute to the message sub-control to establish a binding relationship between the message object and the message sub-control.
4. The information processing method according to claim 2, wherein, The step of creating a signal sub-control corresponding to the message sub-control based on the message object to which the signal object belongs includes: Based on the network description information, determine the message object to which the signal object belongs; The message sub-control is determined based on the index of the message object; Write the current value of the signal object's attribute to the signal sub-control corresponding to the message sub-control to establish a binding relationship between the signal object and the signal sub-control.
5. The information processing method according to claim 2, wherein, The attributes of the message object include the hardware identifier and software identifier of the message object, as well as the sending node and receiving node of the message object. Determining the index of the message object based on its attributes includes: The index is determined by multiple factors among the hardware identifier, the software identifier, the sending node, and the receiving node. The index is used to locate the message object in the data management platform.
6. The information processing method according to any one of claims 1 to 5, wherein, The step of updating the object's attributes based on the interactive control in response to the network description information update includes: In response to an update of the network description information, the values of the properties of the object displayed on the interactive control are updated; Based on the update results of the object's attribute values, the text file used to store the network description information is updated.
7. The information processing method according to claim 6, wherein, The step of updating the values of the properties of the object displayed on the interactive control in response to the update of the network description information includes: The message object and the signal object are displayed on the visual interface of the data management platform; In response to an update in the value of an object's property displayed on the interactive control, the display result of the visualization interface is updated to visualize the update result of the object's property value.
8. The information processing method according to claim 6, wherein, The step of updating the values of the properties of the object displayed on the interactive control in response to the update of the network description information includes: In response to the update instruction of the network description information, delete the packet object, delete the value of the attribute of the packet object displayed on the packet sub-control, and delete the value of the attribute of the signal object displayed on the signal sub-control corresponding to the packet sub-control; and / or In response to an update instruction in the network description information, the signal object is deleted, and the values of the signal object's properties displayed on the signal sub-control are deleted.
9. The information processing method according to claim 6, wherein, The step of updating the values of the properties of the object displayed on the interactive control in response to the update of the network description information includes: In response to an update instruction in the network description information, modify the attributes of the packet object, and modify the values of the attributes of the packet object displayed on the packet sub-control; and / or In response to an update instruction in the network description information, modify the properties of the signal object, and modify the values of the properties of the signal object displayed on the signal sub-control.
10. The information processing method according to claim 7, wherein, The visualization interface includes the total number of message objects and key attribute information of the currently processed message object. The key attribute information includes the hardware identifier, cycle period, and at least one of the sending node and receiving node of the currently processed message object.
11. The information processing method according to any one of claims 1 to 5, wherein, The network description information includes protocols used to describe communication between electronic control units within the vehicle via a controller area network bus.
12. An information processing apparatus, comprising: The parsing module is configured to parse network description information into objects, the objects including message objects, and the message objects including signal objects; A creation module is configured to create interactive controls in a data management platform based on the attributes of the message object, for maintaining the attributes of the object. The interactive controls include message sub-controls for maintaining the attributes of the message object and signal sub-controls for maintaining the attributes of the signal object. The update module is configured to update the properties of the object based on the interactive control in response to an update of the network description information.
13. An information processing apparatus, comprising: Memory; and A processor coupled to the memory, the processor being configured to execute the information processing method of any one of claims 1 to 11 based on instructions stored in the memory.
14. A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the information processing method according to any one of claims 1 to 11.
15. A computer program product comprising instructions that, when executed by a processor, cause the processor to perform the information processing method according to any one of claims 1 to 11.