Vehicle network multi-communication protocol management method and system based on brain map, and electronic equipment
By using a mind map-based visualization management method, the problems of frequent version updates and insufficient visualization in the management of vehicle network communication protocols were solved, realizing the flexibility and maintainability of the protocols, and improving user experience and project progress.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- XIAMEN YAXON ZHILLAN TECHNOLOGY CO LTD
- Filing Date
- 2024-10-31
- Publication Date
- 2026-05-01
AI Technical Summary
Existing vehicle network communication protocol management suffers from problems such as frequent protocol version updates, high maintenance costs, and insufficient visualization, resulting in poor flexibility and maintainability.
A mind map-based visualization management method is adopted, which displays and edits vehicle network communication protocols through a mind map logical structure diagram. It supports the reuse of basic protocols and the management of extended protocols, including editing and saving protocol names, version numbers, and data body attributes.
It enables intuitive management of protocols, improves their flexibility and maintainability, reduces maintenance time and effort, and enhances project progress and user experience.
Smart Images

Figure CN121967557A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a mind map-based method, system, and electronic device for managing multiple communication protocols in vehicle networks. Background Technology
[0002] With the rapid development of the Internet of Vehicles (IoV), the communication protocols running within it have become crucial and core to the construction of IoV systems. Currently, the communication protocols between vehicles and IoV platforms cover standards such as GB / T 32960 "Technical Specifications for Remote Service and Management System of Electric Vehicles", JT / T808 "Communication Protocol and Data Format of Satellite Positioning System Terminal for Road Transport Vehicles", and HJ 1239 "Technical Specifications for Remote Monitoring of Emissions of Heavy-Duty Vehicles", as well as proprietary protocols of vehicle manufacturers based on TCP. The industry-wide practice of hard-coding data gateways to parse protocol content also faces several problems and challenges, such as frequent protocol version updates requiring frequent adjustments to the parsing method; inflexible protocol content changes due to the hard-coding method; high maintenance costs, with frequent updates and changes requiring significant effort; and insufficient visualization, making it impossible to intuitively and quickly view and modify protocol content. In conclusion, while IoV communication protocols are core, they also face many challenges and require further optimization to improve flexibility and maintainability. Summary of the Invention
[0003] To address the aforementioned technical problems, this invention provides a mind map-based method, system, and electronic device for managing multiple communication protocols in vehicle networks. By utilizing mind map display and configuration technology, it enables visual management of communication protocols in vehicle networks. This not only supports the visual management of basic protocols but also supports the management of newly added protocols that can be extended by reusing existing basic protocol templates.
[0004] The present invention adopts the following technical solution:
[0005] Firstly, a mind map-based method for managing multiple communication protocols in vehicle networks includes:
[0006] Receive a request to add a new protocol, and obtain the basic information of the new protocol and the selected template information; the template information includes a basic protocol template or an empty template;
[0007] The template is parsed and displayed as a mind map logic structure diagram; the mind map logic structure diagram includes a main node representing the real-time vehicle information reporting and a main node representing the supplementary information reporting;
[0008] Receive editing requests on the mind map logical structure diagram based on expansion requirements; the editing requests include editing requests for child nodes under the main node or editing requests for data bodies under child nodes; the editing requests include add requests, delete requests, or modify requests.
[0009] Receive a request to save a newly added protocol and save the newly added protocol.
[0010] Preferably, the basic protocol template is loaded in JSON format and managed using a mind map.
[0011] Preferably, the basic information of the newly added protocol includes the protocol name, the current protocol version number, and the protocol description.
[0012] Preferably, the data body under the real-time information reporting master node includes real-time data and data collection time, and the child nodes of the real-time information reporting master node are associated with the real-time data.
[0013] Preferably, the data body under the main node for resending information includes the retransmitted data and the data collection time; the child nodes of the main node for resending information are associated with the retransmitted data.
[0014] Preferably, the data body editing request under the child node is specifically a metadata attribute editing request for the data body under the child node; the attributes include one or more of the following: type, name, Chinese name, format, data length, minimum, maximum, flag, offset, precision, and unit.
[0015] Preferably, receiving a request to save a newly added protocol and saving the newly added protocol specifically includes: receiving a request for the effective time of the newly added protocol selected on the protocol list page and / or a request for compatibility with the basic protocol, and saving the newly added protocol as set.
[0016] Secondly, a mind map-based vehicle network multi-communication protocol management system includes:
[0017] The new protocol request module is used to receive new protocol requests, obtain the basic information of the new protocol and the selected template information; the template information includes a basic protocol template or an empty template.
[0018] The template mind map display module is used to parse the template and display it as a mind map logic structure diagram; the mind map logic structure diagram includes a main node representing the real-time vehicle information reporting and a main node representing the supplementary information reporting;
[0019] The mind map editing request module is used to receive editing requests on the mind map logical structure diagram according to expansion requirements; the editing requests include editing requests for child nodes under the main node or editing requests for data bodies under child nodes; the editing requests include add requests, delete requests, or modify requests.
[0020] A new protocol saving module has been added to receive requests to save new protocols and to save the new protocols.
[0021] Thirdly, a computer device includes at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to execute the mind map-based vehicle network multi-communication protocol management method.
[0022] Fourthly, a computer-readable storage medium storing computer program code, which, when executed by a computer, performs the aforementioned mind map-based vehicle network multi-communication protocol management method.
[0023] The present invention has the following beneficial effects:
[0024] (1) This invention realizes the mind map visualization management of various protocols in the vehicle network. It not only fully reuses the basic protocols, but also fully considers the scalability, flexibility and compatibility of the protocols. With the help of the mind map display method, the protocol content is displayed globally, making the originally complex protocol structure intuitive and easy to understand.
[0025] (2) This invention supports rapid modification of protocol content, greatly reducing the time and effort required to maintain the protocol; this efficient protocol management method not only significantly speeds up the project progress, but also brings users a better experience;
[0026] (3) This invention utilizes mind map display and configuration technology to visualize and manage communication protocols in the Internet of Vehicles. Compared with traditional protocol management methods, it can better meet the needs of actual application scenarios. For example, when the data gateway obtains the vehicle CAN data reported by the vehicle, the gateway obtains the currently effective data protocol structure from the protocol management platform and parses the data reported by the vehicle.
[0027] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. Attached Figure Description
[0028] Figure 1 This is a flowchart of a mind map-based vehicle network multi-communication protocol management method according to an embodiment of the present invention;
[0029] Figure 2 This is a protocol mind map logic structure diagram of an embodiment of the present invention;
[0030] Figure 3 This is a schematic diagram of a newly added protocol in an embodiment of the present invention;
[0031] Figure 4 This is a schematic diagram illustrating the selection of a template according to an embodiment of the present invention;
[0032] Figure 5 This is a schematic diagram of a Western medicine visualization according to an embodiment of the present invention;
[0033] Figure 6 This is a schematic diagram illustrating the editing of protocol content according to an embodiment of the present invention;
[0034] Figure 7 This is a schematic diagram illustrating protocol saving in an embodiment of the present invention;
[0035] Figure 8 This is a schematic diagram illustrating the protocol activation in an embodiment of the present invention;
[0036] Figure 9 This is a structural block diagram of a mind map-based vehicle network multi-communication protocol management system according to an embodiment of the present invention. Detailed Implementation
[0037] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0038] In the description of this invention, it should be noted that the terms "comprising," "including," or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0039] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the step identifiers S101, S102, S103, etc. are only used for convenience of description and do not indicate the execution order. The corresponding execution order can be adjusted as needed.
[0040] like Figure 1 As shown, the present invention provides a mind map-based method for managing multiple communication protocols in vehicle networks, comprising:
[0041] S101, Receive a request to add a new protocol, and obtain the basic information of the new protocol and the selected template information; the template information includes a basic protocol template or an empty template;
[0042] S102, parse the template and display it as a mind map logic structure diagram; the mind map logic structure diagram includes a main node representing the real-time vehicle information reporting and a main node representing the supplementary information reporting;
[0043] S103, Receive an editing request on the mind map logic structure diagram according to the expansion requirements; the editing request includes a child node editing request under the main node or a data body editing request under the child node; the editing request includes an add request, a delete request, or a modify request;
[0044] S104: Receive a request to save the newly added protocol and save the newly added protocol.
[0045] As can be seen from the above, the mind map-based vehicle network multi-communication protocol management of the present invention involves basic protocol information management, template information management, and extended (new) protocol management.
[0046] Basic protocol information management: This includes manually setting the protocol iteration version number, adding notes on modifications, etc., which facilitates subsequent tracking and recording of the protocol's modification history.
[0047] Template information management: This mainly involves the management of basic protocol templates, such as supporting various types of basic protocols like GB32960 and HJ1239. The templates are loaded in JSON format and managed using mind maps, making it easy for users to intuitively understand and operate various protocols.
[0048] Extended Protocol Management: Users can select a basic protocol template and visually edit the protocol content on the front-end mind map interface.
[0049] It should be noted that when managing extended protocols, it is also possible to edit protocol content based on an empty template, that is, without using a basic template.
[0050] like Figure 2 As shown, the partial protocol content for new energy vehicle data reporting is displayed according to the mind map logic. The first node represents the Chinese identifier in the protocol, and the main nodes are
[02] and
[03] .
[02] represents real-time information reporting, and
[03] represents supplementary information reporting.
[0051] The master node
[02] → [Real-time Data] indicates that all child nodes below it contain all real-time reported data.
[0052] [Real-time Data] →
[01] represents vehicle data; [Real-time Data] →
[02] represents drive motor data; [Real-time Data] →
[03] represents fuel cell data; [Real-time Data] →
[04] represents engine data; [Real-time Data] →
[05] represents vehicle location data; [Real-time Data] →
[06] represents extreme values of vehicle location data; [Real-time Data] →
[07] represents alarm data; [Real-time Data] →
[08] represents individual cell voltage data of the power battery; [Real-time Data] →
[09] represents power battery temperature data; [Real-time Data] →
[128] represents custom elevation and direction data.
[0053] Each child node can include multiple data bodies. Taking the whole vehicle data as an example,
[01] → [Vehicle Status] represents the vehicle status data. Its node attributes include the English name of the data item, length, data format, offset, precision, unit, etc. See Table 1 below for details.
[0054] The master node
[03] → [Supplementary Data] indicates that all nodes below it report the data body for all supplementary data.
[0055] [Re-transmitted Data] →
[01] represents vehicle data; [Re-transmitted Data] →
[02] represents drive motor data; [Re-transmitted Data] →
[03] represents fuel cell data; [Re-transmitted Data] →
[04] represents engine data; [Re-transmitted Data] →
[05] represents vehicle location data; [Re-transmitted Data] →
[06] represents extreme values of vehicle location data; [Re-transmitted Data] →
[07] represents alarm data; [Re-transmitted Data] →
[08] represents individual cell voltage data of the power battery; [Re-transmitted Data] →
[09] represents power battery temperature data; [Re-transmitted Data] →
[128] represents custom elevation and direction data. Similar to real-time data, each sub-node can include multiple data volumes.
[0056] Table 1 Structure of Node Metadata
[0057]
[0058] The following will use a practical operating interface as an example to illustrate a mind map-based method for managing multiple communication protocols in vehicle networks.
[0059] (1) Create a new agreement, such as Figure 3 As shown.
[0060] (1.1) Start customizing the protocol by clicking Add Protocol.
[0061] (1.2) Add protocol name, protocol version number, and description.
[0062] For example, a new energy 32960 protocol has been added, with the protocol name GB-32960-yx and the version number 20241009-1.0. The description adds 08, 09 and custom elevation data volumes.
[0063] (1.3) Select the basic protocol template.
[0064] like Figure 4 As shown, you can select a basic protocol template. The template selection includes empty templates, GB32960, HJ1239, etc. For example, you can select the GB32960 template.
[0065] (2) Protocol visualization display.
[0066] The front-end interface provides a visual display, parses the selected basic protocol template, and displays the data using a one-sided layout mind map logic structure diagram, such as... Figure 5 As shown.
[0067] (3) Editing the agreement content.
[0068] like Figure 6 As shown, the protocol attributes can be edited in the mind map visualization interface. The node metadata attributes can be manipulated. Refer to the data content in Table 1, such as type, name, format, length, minimum, maximum, flag, offset, rate, unit and other attribute data can be modified.
[0069] For example, the attribute of the real-time vehicle status data can be modified with an offset of 0, a precision of 1, and a conversion format of INT.
[0070] (4) Agreement storage and activation.
[0071] like Figure 7 and Figure 8 As shown, after making the modifications, click "Save Agreement," select the agreement in the agreement list page, and set it as the default. Setting it as the default means the agreement will take effect.
[0072] like Figure 9 As shown, the present invention also discloses a mind map-based vehicle network multi-communication protocol management system, comprising:
[0073] The new protocol request module 901 is used to receive a new protocol request, obtain the basic information of the new protocol and the selected template information; the template information includes a basic protocol template or an empty template.
[0074] The template mind map display module 902 is used to parse the template and display it as a mind map logic structure diagram; the mind map logic structure diagram includes a main node representing the real-time information reporting of vehicles and a main node representing the supplementary information reporting;
[0075] The mind map editing request module 903 is used to receive editing requests on the mind map logical structure diagram according to the expansion requirements; the editing requests include editing requests for child nodes under the main node or editing requests for data bodies under child nodes; the editing requests include add requests, delete requests or modify requests.
[0076] A new protocol saving module 904 is added to receive new protocol saving requests and save the new protocols.
[0077] A mind map-based vehicle network multi-communication protocol management system corresponds to a mind map-based vehicle network multi-communication protocol management method. For specific embodiments, please refer to the implementation of the same mind map-based vehicle network multi-communication protocol management method. This embodiment will not be described again.
[0078] For ease of description, the above system is described by dividing it into various functional units. Of course, in implementing this application, the functions of each module can be implemented in one or more software and / or hardware.
[0079] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause an electronic device to execute the methods described in various embodiments or some parts of the embodiments of this application.
[0080] The above description is merely a preferred embodiment of the present invention; however, the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and its improved concepts, should be covered within the scope of protection of the present invention.
Claims
1. A mind map-based method for managing multiple communication protocols in vehicle networks, characterized in that, include: Receive a request to add a new protocol, and obtain the basic information of the new protocol and the selected template information; The template information includes a basic protocol template or an empty template; The template is parsed and displayed as a mind map logic structure diagram; the mind map logic structure diagram includes a main node representing the real-time vehicle information reporting and a main node representing the supplementary information reporting; Receive editing requests on the mind map logical structure diagram based on expansion requirements; the editing requests include editing requests for child nodes under the main node or editing requests for data bodies under child nodes; the editing requests include add requests, delete requests, or modify requests. Receive a request to save a newly added protocol and save the newly added protocol.
2. The mind map-based vehicle network multi-communication protocol management method according to claim 1, characterized in that, The basic protocol template is loaded in JSON format and managed using a mind map.
3. The mind map-based vehicle network multi-communication protocol management method according to claim 1, characterized in that, The basic information for the newly added protocol includes the protocol name, the current protocol version number, and the protocol description.
4. The mind map-based vehicle network multi-communication protocol management method according to claim 1, characterized in that, The data body under the real-time information reporting master node includes real-time data and data collection time. The child nodes of the real-time information reporting master node are associated with the real-time data.
5. The mind map-based vehicle network multi-communication protocol management method according to claim 1, characterized in that, The data body under the master node for resending information includes the retransmitted data and the data collection time; the child nodes of the master node for resending information are associated with the retransmitted data.
6. The mind map-based vehicle network multi-communication protocol management method according to claim 1, characterized in that, The data body editing request under the child node is specifically a metadata attribute editing request for the data body under the child node; the attributes include one or more of the following: type, name, Chinese name, format, data length, minimum, maximum, flag, offset, precision, and unit.
7. The mind map-based vehicle network multi-communication protocol management method according to claim 1, characterized in that, Receive and save new protocol requests, specifically including: receiving requests for the effective time of new protocols selected on the protocol list page and / or requests for compatibility with basic protocols, and saving the new protocols that are set.
8. A mind map-based vehicle network multi-communication protocol management system, characterized in that, include: The new protocol request module is used to receive new protocol requests and obtain the basic information of the new protocol and the selected template information. The template information includes a basic protocol template or an empty template; The template mind map display module is used to parse the template and display it as a mind map logic structure diagram; the mind map logic structure diagram includes a main node representing the real-time vehicle information reporting and a main node representing the supplementary information reporting; The mind map editing request module is used to receive editing requests on the mind map logical structure diagram according to expansion requirements; the editing requests include editing requests for child nodes under the main node or editing requests for data bodies under child nodes; the editing requests include add requests, delete requests, or modify requests. A new protocol saving module has been added to receive requests to save new protocols and to save the new protocols.
9. A computer device, characterized in that, The method includes at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the mind map-based vehicle network multi-communication protocol management method according to any one of claims 1-7.
10. A computer-readable storage medium storing computer program code thereon, characterized in that, When the computer program code is executed by a computer, the method described in any one of claims 1-7 is performed.