CN111817938B - Method, system and storage medium for compiling automobile CAN communication matrix - Google Patents

Method, system and storage medium for compiling automobile CAN communication matrix Download PDF

Info

Publication number
CN111817938B
CN111817938B CN202010678036.0A CN202010678036A CN111817938B CN 111817938 B CN111817938 B CN 111817938B CN 202010678036 A CN202010678036 A CN 202010678036A CN 111817938 B CN111817938 B CN 111817938B
Authority
CN
China
Prior art keywords
node
topology
message
file
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010678036.0A
Other languages
Chinese (zh)
Other versions
CN111817938A (en
Inventor
魏晓翰
覃华强
苏凯
彭杨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SAIC GM Wuling Automobile Co Ltd
Original Assignee
SAIC GM Wuling Automobile Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SAIC GM Wuling Automobile Co Ltd filed Critical SAIC GM Wuling Automobile Co Ltd
Priority to CN202010678036.0A priority Critical patent/CN111817938B/en
Publication of CN111817938A publication Critical patent/CN111817938A/en
Application granted granted Critical
Publication of CN111817938B publication Critical patent/CN111817938B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2428Query predicate definition using graphical user interfaces, including menus and forms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Mathematical Physics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a method, a system and a storage medium for compiling an automobile CAN communication matrix. The invention has the beneficial effects that: the unified database file is easy to create and simple to maintain, and realizes the unification and synchronous updating of the communication matrix information of all projects. The compiling process of the communication matrix is simplified into the screening of the node sending message and the signal configuration information and the node signal receiving condition information, the automation degree of the whole development process is high, and the working efficiency is improved.

Description

Method, system and storage medium for compiling automobile CAN communication matrix
Technical Field
The invention relates to the technical field of automobile electronic information, in particular to a method, a system and a storage medium for compiling an automobile CAN communication matrix.
Background
The CAN bus is also called as an automobile bus, is called as a Controller Area Network (CAN-Controller Area Network), and is a serial data communication protocol developed by the german bosch company to solve data exchange among a plurality of controllers and between the controllers and a test instrument in modern automobiles. When the bus is idle, the controller (CAN node) CAN send the message; if two or more CAN nodes start to send messages at the same time, comparison and arbitration are carried out through message IDs. The smaller the ID value is, the higher the priority is, and the message with low priority can quit sending after the arbitration is finished.
In order to ensure normal and reasonable communication of the CAN bus, design definition needs to be performed on information such as message ID, transmission cycle, message signal and the like in the CAN communication matrix. The CAN communication matrix content mainly comprises a CAN node network topological graph, a CAN node message signal sending definition list, a message signal receiving list and the like. There are often multiple vehicle models of different configurations for a product project: during matrix compilation, an engineer is required to draw a CAN node network topological graph (figure 1) of each vehicle type according to a product configuration definition table, and then a message signal definition list and a project comprehensive signal receiving relation list are correspondingly modified based on the prior project comprehensive CAN node; when a single CAN node matrix is issued, screening out the node association information through manual identification; when a CAN tool software Database (DBC) is created, the communication matrix information is filled and converted in the tool software manually.
The automation degree of the whole development process is low, errors easily occur, and the communication matrix is inconvenient to unify and standardize; the components of the communication matrix are not linked, and cannot be related and synchronously changed; nor can a communication matrix for a network topology or node be automatically generated or derived.
Disclosure of Invention
The invention provides a method for compiling a CAN communication matrix of an automobile, which comprises a database file creating step and a communication matrix generating step,
database file creation: establishing an editable unified database file which covers complete CAN matrix information;
the communication matrix generating step comprises the following steps:
step 1: loading a database file, filling in a project name, and selecting the number of network topologies;
step 2: filling in the name of the network topology, selecting the number of network segments in the network topology, and adding nodes contained in the network topology;
and step 3: filling in the name of the network segment, and selecting the number of nodes in the network segment;
and 4, step 4: selecting the name of a node and whether the node is a terminal node, adding the node to send message configuration information and signal configuration information, and adding node signal receiving condition information;
and 5: judging whether the node is the last node, if so, executing the step 6, otherwise, returning to execute the step 4;
step 6: judging whether the network segment is the last network segment, if so, executing the step 7, otherwise, returning to execute the step 3;
and 7: judging whether the topology is the last network topology, if so, executing a step 8, otherwise, returning to execute the step 2;
and 8: and generating a message ID list of each node under each topology, generating a communication matrix corresponding to each topology, generating a project comprehensive communication matrix, and storing a project configuration file.
As a further improvement of the present invention, in the database file creating step, the database file includes a node name, a message definition, a message configuration, a signal name, a signal definition, a signal configuration, a receiving node, and a receiving condition of the receiving node;
if one column of message configuration is empty, the node is indicated to send the message under all conditions; if not, indicating that the node sends the message under the specified configuration;
if one column of signal configuration is empty, the message is indicated to contain the signal under all conditions; if not, the message is indicated to contain the signal under the specified configuration;
each receiving node is followed by a receiving condition, and if the receiving condition is null, the receiving condition indicates that the node receives the signal under all conditions; if not, it indicates that the node will receive the signal under the specified conditions.
As a further improvement of the present invention, in step 4, if the node is a gateway, only the message that needs to be sent by the gateway itself needs to be configured here, and if the message is a recombined transmission of the gateway received signal, the signal that needs to be received is automatically generated when the message is configured to be sent. The messages that need to be routed directly by the gateway, that is, the messages forwarded by the gateway between network segments in a topology, are automatically generated after the information configuration of all nodes in a topology is completed.
As a further improvement of the present invention, in the step 8, the topology name must not be repeated; in each topology, except for the gateway, each node must appear only once; in each topology, when only one network segment exists, a gateway node does not appear; in each topology, when two or more network segments exist, the occurrence frequency of gateway nodes is equal to the number of the network segments; unless the segments are used for diagnostic purposes only, there must be two end nodes in each segment.
As a further improvement of the present invention, in step 8, there are two communication matrices: one node corresponds to each network topology one to one and represents the node message signal receiving and sending condition of each vehicle type; and the other represents the maximum message receiving and sending conditions of all the nodes appearing in the project.
As a further improvement of the present invention, the method further comprises an editing process step, the editing process step comprising:
step a: loading a database and a project configuration file or loading a composite communication matrix file (only suitable for post-processing);
step b: if the editing option is selected, skipping to the step 2 of the communication matrix generation step; if the post-processing option is selected, performing step c;
step c: selecting a whole vehicle or a single node, if the whole vehicle is selected, executing a whole vehicle generation step, and if the single node is selected, executing a single node generation step;
the whole vehicle generation step: generating a topological corresponding DBC file for CAN test work of a specific vehicle type; or generating a project comprehensive DBC file for processing the project vehicle-building problem;
the single node generating step: and generating a receiving and sending message ID list containing the node under each topology, a communication matrix corresponding to the node under each topology, a composite matrix file of the node project comprehensive communication matrix and a node project comprehensive DBC file for issuing the node matrix and the DBC file.
The invention also provides a system for compiling the automobile CAN communication matrix, which comprises the following steps: memory, a processor and a computer program stored on the memory, the computer program being configured to carry out the steps of the method of the invention when called by the processor.
The invention also provides a computer-readable storage medium having stored thereon a computer program configured to, when invoked by a processor, perform the steps of the method of the invention.
The invention has the beneficial effects that: the unified database file is easy to create and simple to maintain, and realizes the unification and synchronous updating of the communication matrix information of all projects. The compiling process of the communication matrix is simplified into the screening of the node sending message and the signal configuration information and the node signal receiving condition information, the automation degree of the whole development process is high, and the working efficiency is improved.
Drawings
FIG. 1 is a diagram of a background art CAN node network topology;
FIG. 2 is a schematic diagram of a database file of the present invention;
FIG. 3 is a logic diagram of software communication matrix generation;
fig. 4 is a schematic diagram of a topology node ID list for sending and receiving a packet;
FIG. 5 is a logic diagram of software communication matrix editing or post-processing;
FIG. 6 is a software settings wizard diagram;
FIG. 7 is a diagram of a new project;
FIG. 8 is an edit topology diagram;
FIG. 9 is a diagram of an editing network segment;
FIG. 10 is an edit node diagram;
FIG. 11 is a project tree (right-key editable);
FIG. 12 is an edit project diagram;
FIG. 13 is a post-processing diagram;
FIG. 14 is a post-processing-vehicle diagram;
FIG. 15 is a post-processing-single node diagram.
Detailed Description
The invention discloses a method for compiling an automobile CAN communication matrix, which comprises a database file creating step and a communication matrix generating step.
Database file creation: establishing an editable unified database file (figure 2) covering complete CAN matrix information; . All nodes will act as both sending (portrait) and receiving (landscape) nodes.
In the database file creating step, the database file includes a node name, a packet definition, a packet configuration, a signal name, a signal definition, a signal configuration, a receiving node, and a receiving condition of the receiving node.
If one column of message configuration is empty, the node is indicated to send the message under all conditions; if not, the node is indicated to send the message under the specified configuration.
If one column of signal configuration is empty, the message is indicated to contain the signal under all conditions; if not, it indicates that the message will contain the signal in the specified configuration.
Each receiving node is followed by a receiving condition, and if the receiving condition is null, the receiving condition indicates that the node receives the signal under all conditions; if not, it indicates that the node will receive the signal under the specified conditions.
The above configuration or condition information is critical to the correct generation of the communication matrix.
As shown in fig. 3, the communication matrix generating step includes the following steps:
step 1: and loading the database file to the software, and filling in the project name. Since there are often a plurality of vehicle models of different configurations for one product project, the number of network topologies (software parameters) is selected accordingly.
Step 2: filling in the name of the network topology, selecting the number of network segments (software parameters) in the network topology, and adding nodes (performing basic screening on a database) contained in the network topology.
And step 3: the name of the network segment is filled in, and the number of nodes (software parameters) in the network segment is selected.
And 4, step 4: selecting the name of the node and whether the node is a terminal node, adding node message sending configuration information and signal configuration information (screening message signals sent by the node), and adding node signal receiving condition information (screening message signals received by the node).
And 5: and judging whether the node is the last node, if so, executing the step 6, otherwise, returning to execute the step 4.
Step 6: and (4) judging whether the network segment is the last network segment, if so, executing the step 7, otherwise, returning to execute the step 3.
And 7: and (4) judging whether the topology is the last network topology, if so, executing the step 8, otherwise, returning to execute the step 2.
And 8: and generating a message ID list of each node under each topology, generating a communication matrix corresponding to each topology, generating a project comprehensive communication matrix, and storing a project configuration file.
In the step 4, if the node is a gateway, only the message that needs to be sent by the gateway itself needs to be configured here, and if the message is a recombined transmission of the gateway received signal, the signal that needs to be received is automatically generated correspondingly when the message is configured to be sent. The messages that need to be routed directly by the gateway, that is, the messages forwarded by the gateway between network segments in a topology, are automatically generated after the information configuration of all nodes in a topology is completed.
In step 8, the topology name must not be repeated; in each topology, except for the gateway, each node must appear only once; in each topology, when only one network segment exists, a gateway node does not appear; in each topology, when two or more network segments exist, the occurrence frequency of gateway nodes is equal to the number of the network segments; unless the segments are used for diagnostic purposes only, there must be two end nodes in each segment. A matrix file will not be able to be generated in the event that the project information is incomplete or there is a logical error above.
The node transmit-receive message ID list generated by the software provides all information required by drawing a network topology map (fig. 4), and a software user only needs to draw a block diagram in a similar Microsoft Visio and then fill the list information to complete the conversion of the list to a graphic format.
The software generated communication matrix has two types: one node corresponds to each network topology one to one and represents the node message signal receiving and sending condition of each vehicle type; a maximized messaging scenario represents all occurring nodes in a project. In addition, the message signal definition list and the message signal receiving relation list which are sent by the single node in the past are integrated into a current list.
The method further comprises an editing processing step, wherein the editing processing step comprises the following steps:
step a: the software can start the editing or post-processing process by two modes of loading a database and a project configuration file and loading a composite communication matrix file (only suitable for post-processing).
Step b: if the editing option is selected, skipping to the step 2 of the communication matrix generation step; if the post-processing option is selected, step c is performed.
Step c: and selecting a whole vehicle or a single node, if the whole vehicle is selected, executing a whole vehicle generation step, and if the single node is selected, executing a single node generation step.
The whole vehicle generation step: generating a topological corresponding DBC file for CAN test work of a specific vehicle type; or generating a project comprehensive DBC file for processing the project vehicle-building problem.
The single node generating step: and generating a receiving and sending message ID list containing the node under each topology, a communication matrix corresponding to the node under each topology, a composite matrix file of the node project comprehensive communication matrix and a node project comprehensive DBC file for issuing the node matrix and the DBC file.
In the invention, the unified database file can be stored in the network shared folder, revised and maintained according to certain rules and attached with detailed historical revision records. The software user has at least access to the read database file.
When compiling a new product project CAN communication matrix, a user firstly needs to plan and design the type of network topology according to a product configuration definition table to obtain information such as the number and name of the network topologies, the number and name of network segments in each topology, the number and name of nodes in each network segment and the like.
And opening the software, creating a new product project, and loading the unified database file. And sequentially selecting and filling the topology, the network segment and the node information according to the software prompt, and screening message signals sent and received by the nodes according to the vehicle type configuration condition of the topology. And (3) completely inputting the information of all nodes in the network segment, completely inputting the information of all network segments by repeating the previous steps, and completely inputting the information of all network topologies by repeating the previous steps. And clicking to generate a CAN communication matrix file, and automatically generating a composite matrix file containing a message ID list of nodes under each topology, a communication matrix corresponding to each topology and a project comprehensive communication matrix by software. The compiling of the CAN communication matrix CAN be completed only by converting the ID list of the node transmitting and receiving message into a topological graph. Project configuration files can be saved at any time during editing.
And when the CAN communication matrix needs to be changed, opening software to load a unified database file and a project configuration file, clicking an editing option, and updating topology, network segments, nodes and message signal screening information. For message signal screening information, if the entry is in use but the unified database file has been deleted, the configurations or conditions will turn grey in the software and the associated message signals will be removed from the communication matrix.
If only the CAN communication matrix needs to be post-processed, the software CAN be simply opened to load the composite communication matrix file, and the post-processing option is clicked. For the whole vehicle, a DBC file of each topology CAN be generated and used for CAN test work of a specific vehicle type; or generating a project comprehensive DBC file for processing the project vehicle-building problem. For a single node, a transmit-receive packet ID list including the node under each topology, a communication matrix corresponding to the node under each topology, a composite matrix file of the node project comprehensive communication matrix, and a node project comprehensive DBC file may be generated for issuing the node matrix and the DBC file.
Fig. 6-12 are software interface transformations of the software communication matrix generation logic block diagram of fig. 3. 7-10 the information entered in the dialog box is synchronously embodied in the project tree of FIG. 11; similarly, if the topology, network segments and nodes are added or deleted in the project tree diagram of fig. 11, the associated change of the information in the dialog boxes of fig. 7-9 will also be caused. The software user can complete the project communication matrix information by clicking the 'next step' button according to the steps of software design; and navigation can be performed by using the project tree diagram, and the editing mode can be customized.
The "node name" drop down menu content in the FIG. 10 dialog box is generated based on the node list selection in the FIG. 8 dialog box; the "transmission signal configuration information" candidate list is generated based on the selection of the "transmission message configuration information".
The "project name" and "topology number" in the dialog box of fig. 12 are automatically filled by the software after the project configuration file and the database file are correctly loaded. After clicking on "next" the project correspondence matrix information is edited, again via the dialog boxes of fig. 8-11.
Fig. 13-15 are dialog boxes illustrating software interface transformations of the post-processing logic block diagram of the software communication matrix of fig. 5. The "project name" in the dialog box of fig. 13 is automatically filled in by the software after the communication matrix file or the project configuration file or the database file is correctly loaded. The software will automatically generate the corresponding matrix or DBC file according to the actual selection in the dialog boxes of fig. 13-15.
The invention also discloses a system for compiling the automobile CAN communication matrix, which comprises the following steps: memory, a processor and a computer program stored on the memory, the computer program being configured to carry out the steps of the method of the invention when called by the processor.
The invention also discloses a computer-readable storage medium storing a computer program configured to, when invoked by a processor, implement the steps of the method of the invention.
The invention has the following beneficial effects:
1. the unified database file is easy to create and simple to maintain, and the unification and synchronous updating of all project communication matrix information are realized.
2. The compiling process of the communication matrix is simplified into the screening of the message sent by the node in the software, the signal configuration information and the node signal receiving condition information.
3. The gateway directly routes the message, i.e. the gateway automatically processes the message forwarded between network segments of a network topology.
4. Software (the method of the invention) automatically generates a message ID list of the nodes under each network topology, and the conversion of the network topology graph can be completed only by one step.
5. The corresponding communication matrix of the network topology and the comprehensive communication matrix of the project are synchronously generated, and a message signal definition list and a message signal receiving relation list are combined into a whole.
6. And one-key extraction of the single-node composite communication matrix.
7. And single network topology DBC file, project comprehensive DBC file and single node comprehensive DBC file are converted in a one-key mode.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (8)

1. A method for compiling automobile CAN communication matrix is characterized by comprising a database file creating step and a communication matrix generating step,
database file creation: establishing an editable unified database file which covers complete CAN matrix information;
the communication matrix generating step comprises the following steps:
step 1: loading a database file, filling in a project name, and selecting the number of network topologies;
step 2: filling in the name of the network topology, selecting the number of network segments in the network topology, and adding nodes contained in the network topology;
and step 3: filling in the name of the network segment, and selecting the number of nodes in the network segment;
and 4, step 4: selecting the name of a node and whether the node is a terminal node, adding the node to send message configuration information and signal configuration information, and adding node signal receiving condition information;
and 5: judging whether the node is the last node, if so, executing the step 6, otherwise, returning to execute the step 4;
step 6: judging whether the network segment is the last network segment, if so, executing the step 7, otherwise, returning to execute the step 3;
and 7: judging whether the topology is the last network topology, if so, executing a step 8, otherwise, returning to execute the step 2;
and 8: and generating a message ID list of each node under each topology, generating a communication matrix corresponding to each topology, generating a project comprehensive communication matrix, and storing a project configuration file.
2. The method according to claim 1, wherein in the database file creating step, the database file includes a node name, a packet definition, a packet configuration, a signal name, a signal definition, a signal configuration, a receiving node, a receiving condition of the receiving node;
if one column of message configuration is empty, the node is indicated to send the message under all conditions; if not, indicating that the node sends the message under the specified configuration;
if one column of signal configuration is empty, the message is indicated to contain the signal under all conditions; if not, the message is indicated to contain the signal under the specified configuration;
each receiving node is followed by a receiving condition, and if the receiving condition is null, the receiving condition indicates that the node receives the signal under all conditions; if not, it indicates that the node will receive the signal under the specified conditions.
3. The method according to claim 1, wherein in the step 4, if the node is a gateway, only a message that needs to be sent by the gateway itself needs to be configured, and if the message is a recombined transmission of a gateway received signal, the signal that needs to be received is automatically generated when the message is configured to be sent; the messages that need to be routed directly by the gateway, that is, the messages forwarded by the gateway between network segments in a topology, are automatically generated after the information configuration of all nodes in a topology is completed.
4. The method according to claim 1, wherein in step 8, topology names must not be repeated; in each topology, except for the gateway, each node must appear only once; in each topology, when only one network segment exists, a gateway node does not appear; in each topology, when two or more network segments exist, the occurrence frequency of gateway nodes is equal to the number of the network segments; unless the segments are used for diagnostic purposes only, there must be two end nodes in each segment.
5. The method of claim 1, wherein in step 8, there are two types of communication matrices: one node corresponds to each network topology one to one and represents the node message signal receiving and sending condition of each vehicle type; and the other represents the maximum message receiving and sending conditions of all the nodes appearing in the project.
6. The method according to any one of claims 1 to 5, characterized in that it further comprises an editing process step comprising:
step a: loading a database and a project configuration file or loading a composite communication matrix file;
step b: if the editing option is selected, skipping to the step 2 of the communication matrix generation step; if the post-processing option is selected, performing step c;
step c: selecting a whole vehicle or a single node, if the whole vehicle is selected, executing a whole vehicle generation step, and if the single node is selected, executing a single node generation step;
the whole vehicle generation step: generating a topological corresponding DBC file for CAN test work of a specific vehicle type; or generating a project comprehensive DBC file for processing the project vehicle-building problem; the DBC file is a database file of CAN tool software;
the single node generating step: and generating a receiving and sending message ID list containing the node under each topology, a communication matrix corresponding to the node under each topology, a composite matrix file of the node project comprehensive communication matrix and a node project comprehensive DBC file for issuing the node matrix and the DBC file.
7. The utility model provides a system of car CAN communication matrix establishment which characterized in that: the method comprises the following steps: memory, a processor and a computer program stored on the memory, the computer program being configured to carry out the steps of the method of any one of claims 1-6 when invoked by the processor.
8. A computer-readable storage medium characterized by: the computer-readable storage medium stores a computer program configured to implement the steps of the method of any one of claims 1-6 when invoked by a processor.
CN202010678036.0A 2020-07-15 2020-07-15 Method, system and storage medium for compiling automobile CAN communication matrix Active CN111817938B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010678036.0A CN111817938B (en) 2020-07-15 2020-07-15 Method, system and storage medium for compiling automobile CAN communication matrix

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010678036.0A CN111817938B (en) 2020-07-15 2020-07-15 Method, system and storage medium for compiling automobile CAN communication matrix

Publications (2)

Publication Number Publication Date
CN111817938A CN111817938A (en) 2020-10-23
CN111817938B true CN111817938B (en) 2022-04-01

Family

ID=72865123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010678036.0A Active CN111817938B (en) 2020-07-15 2020-07-15 Method, system and storage medium for compiling automobile CAN communication matrix

Country Status (1)

Country Link
CN (1) CN111817938B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112378420A (en) * 2020-10-30 2021-02-19 北斗星通智联科技有限责任公司 Signal simulation method and system for automobile navigation test and electronic equipment
CN113904922B (en) * 2021-09-06 2024-04-19 东风柳州汽车有限公司 Gateway configuration method and device
CN113867318B (en) * 2021-09-30 2023-07-18 东风汽车集团股份有限公司 Automatic integration method for hardware-in-loop test engineering of CAN communication controller
CN114035539B (en) * 2021-10-25 2023-12-05 东风商用车有限公司 Method, device, equipment and storage medium for generating communication matrix of instantiated vehicle type
CN114465889B (en) * 2022-01-07 2024-06-04 东风柳州汽车有限公司 Switching method of vehicle configuration
CN114545906B (en) * 2022-02-28 2024-05-10 奇瑞汽车股份有限公司 Vehicle-mounted Ethernet gateway and vehicle
CN115730395B (en) * 2022-11-30 2023-11-21 成都赛力斯科技有限公司 Automobile interface model generation method, device, computer equipment and storage medium
CN116599890B (en) * 2023-07-13 2023-10-20 岚图汽车科技有限公司 Vehicle-mounted network communication data routing table generation control method and related equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102611713A (en) * 2012-04-10 2012-07-25 重庆交通大学 Entropy operation-based network intrusion detection method and device
CN103281374A (en) * 2013-05-30 2013-09-04 成都信息工程学院 Method for rapid data scheduling in cloud storage
EP2723012A1 (en) * 2010-03-29 2014-04-23 Samsung Electronics Co., Ltd Method and apparatus for controlling retransmission on uplink in a wireless communication system supporting mimo
CN106656546A (en) * 2016-08-23 2017-05-10 成都科来软件有限公司 Network topology generating method and apparatus
CN109753043A (en) * 2017-11-06 2019-05-14 联合汽车电子有限公司 The test device and method of CAN bus communication matrix
CN110226159A (en) * 2017-01-17 2019-09-10 华为技术有限公司 Best-effort traffic library facility

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107132832B (en) * 2016-02-29 2019-10-11 株洲南车时代电气股份有限公司 A kind of DBC document analysis and its Programming Methodology based on CAN communication
CN109033338B (en) * 2018-07-23 2022-02-01 北京新能源汽车股份有限公司 Method and system for generating database file of automobile communication protocol

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2723012A1 (en) * 2010-03-29 2014-04-23 Samsung Electronics Co., Ltd Method and apparatus for controlling retransmission on uplink in a wireless communication system supporting mimo
CN102611713A (en) * 2012-04-10 2012-07-25 重庆交通大学 Entropy operation-based network intrusion detection method and device
CN103281374A (en) * 2013-05-30 2013-09-04 成都信息工程学院 Method for rapid data scheduling in cloud storage
CN106656546A (en) * 2016-08-23 2017-05-10 成都科来软件有限公司 Network topology generating method and apparatus
CN110226159A (en) * 2017-01-17 2019-09-10 华为技术有限公司 Best-effort traffic library facility
CN109753043A (en) * 2017-11-06 2019-05-14 联合汽车电子有限公司 The test device and method of CAN bus communication matrix

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《基于组态软件的电动汽车CAN总线网络设计》;杨鸿铭;《机电工程技术》;20100115;第39卷(第1期);全文 *

Also Published As

Publication number Publication date
CN111817938A (en) 2020-10-23

Similar Documents

Publication Publication Date Title
CN111817938B (en) Method, system and storage medium for compiling automobile CAN communication matrix
CN114115857B (en) Machine learning model automatic production line construction method and system
US6550052B1 (en) Software development framework for constructing embedded vehicle controller software
US6966050B2 (en) Software building support system
CN106980560B (en) ICD database based multi-bus protocol testing and simulating method and platform
US6725288B2 (en) System for transmitting data between a device data area and a variable data area of a memory according to a memory map based on an identifying data of a device detected
CN113612654B (en) Vehicle-mounted gateway function test method based on database
CN102043753A (en) Device information setting apparatus and device information setting method
CN114117798A (en) Automatic interface model generation method and system based on matlab
CN114460925B (en) Automatic test method for CAN interface HIL of electric automobile controller
CN115277882A (en) CAN message database establishing method and device, vehicle-mounted electronic equipment and storage medium
CN111857100B (en) Automobile diagnosis method and device and related equipment
JP2000244567A (en) Router network managing method
CN114035539A (en) Instantiated vehicle type communication matrix generation method, device, equipment and storage medium
CN116560697A (en) DBC database synchronization method, device, electronic equipment and readable storage medium
CN114911715B (en) Formalized test model modeling method, system, computer and storage medium
CN115348169B (en) Route configuration method, device, equipment and storage medium for vehicle-mounted gateway
CN114968196A (en) Development platform architecture based on CODESYS software
CN115357300A (en) Batch packaging and step-by-step loading system and method for associalbundle resources
CN115686439A (en) Electronic and electrical architecture modification management method and device for vehicle
CN102109818B (en) Adaptive command processing method and system based on XCP (universal measurement and calibration protocol)
CN114519050A (en) Vehicle part configuration logic constraint relation generation method, device, equipment and medium
JPH1065762A (en) Automatic testing simulator for communication software and automatic testing method therefor
US20060277251A1 (en) Information processing apparatus and system development method
CN117971778A (en) File merging method, device, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant