CN109033338A - Method and system for generating database file of automobile communication protocol - Google Patents
Method and system for generating database file of automobile communication protocol Download PDFInfo
- Publication number
- CN109033338A CN109033338A CN201810811025.8A CN201810811025A CN109033338A CN 109033338 A CN109033338 A CN 109033338A CN 201810811025 A CN201810811025 A CN 201810811025A CN 109033338 A CN109033338 A CN 109033338A
- Authority
- CN
- China
- Prior art keywords
- column
- content
- record
- node
- row
- 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.)
- Granted
Links
- 230000006854 communication Effects 0.000 title claims abstract description 216
- 238000004891 communication Methods 0.000 title claims abstract description 215
- 238000000034 method Methods 0.000 title claims abstract description 33
- 239000011159 matrix material Substances 0.000 claims abstract description 123
- 230000005540 biological transmission Effects 0.000 claims description 18
- 230000008054 signal transmission Effects 0.000 claims description 12
- 238000000605 extraction Methods 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 6
- 230000003362 replicative effect Effects 0.000 claims description 3
- 230000008569 process Effects 0.000 description 12
- 238000011161 development Methods 0.000 description 4
- 239000000284 extract Substances 0.000 description 3
- 238000012546 transfer Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 239000000700 radioactive tracer Substances 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a method and a system for generating a database file of an automobile communication protocol, wherein the method comprises the following steps: extracting a node communication matrix related to a target communication node from the whole vehicle signal communication matrix; newly building a template text file, wherein variable types required to be defined by a database file are written in the template text file; reading the node communication matrix, generating signal description contents corresponding to signals in the node communication matrix according to the variable types, and writing the signal description contents into the template text file; renaming the suffix of the template text file into the suffix of the database file to obtain a target database file, and removing complicated and repeated manual input labor, thereby reducing the workload and the error rate.
Description
Technical field
The present invention relates to auto communication field more particularly to a kind of generation methods of the database file of automotive communication protocol
And system.
Background technique
With the continuous development of automobile industry, the intelligence of automobile becomes an important development direction.Therefore, in automobile
Communication module carries more and more communication functions.
Communications protocol is the communication matrix of signal interaction in vehicle network, and DBC (Data Base for CAN) file is row
Exploitation file in industry commonly used to a kind of tracer signal for CAN (Controller Area Network) bus, the two
Signal correspond.
But with the increase of vehicle signal transfer function, the database file of communications protocol and DBC were being developed in automobile
Cheng Zhong needs to carry out a large amount of data inputting, and error rate is high, and wastes a large amount of manpowers and development time.
Summary of the invention
The embodiment of the present invention provides the generation method and system of a kind of database file of automotive communication protocol, with solve with
The increase of vehicle signal transfer function, the database file of communications protocol and DBC in the process of development, need to carry out in automobile
The problem of a large amount of data inputting causes error rate high, waste of manpower.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment of the invention provides a kind of generation method of the database file of automotive communication protocol, packet
It includes:
From vehicle signal communication matrix, the relevant node communication matrix of target communication node is extracted;
Template text files are created, are written with the variable class defined needed for database file in the template text files
Type;
The node communication matrix is read, according to the types of variables, is generated and the signal in the node communication matrix
Corresponding signal description content, and the template text files are written into the signal description content;
By the suffix name of the suffix renamed as database file of the template text files, target data library text is obtained
Part.
Optionally, described from vehicle signal communication matrix, extract the relevant node communication matrix of target communication node
Step, comprising:
The gauge outfit row in the vehicle signal communication matrix is replicated into a node communication matrix list;
Successively detect the cell value arranged in the gauge outfit row of the vehicle signal communication matrix by AD;
In often detecting the gauge outfit row by the cell value of the AD cell arranged be the target communication
When node, it is determined that be classified as a column where one cell;
Respectively by the 2nd row, whether the cell value for detecting a column and G column is simultaneously sky;
If being not simultaneously sky, the cell value of a column is detected;
Cell of the cell value equal to S or R of a column is expert at and is determined as first object row;
The data of the first object row are replicated into the node communication matrix list, obtain the target communication node
Node communication matrix;
Wherein, having arranged record by the AD in the gauge outfit row of the vehicle signal communication matrix is vehicle signal
Each communication node title where communication on network segment;The content of the G column record is signal name, and cell value S indicates single
The corresponding communication node of nodename of first lattice column is sending node, and cell value R indicates the node of cell column
The corresponding communication node of title is receiving node.
Optionally, described to read the node communication matrix, according to the types of variables, generate and the node communication square
The corresponding signal description content of signal in battle array, and the signal description content is written to the step of the template text files
Suddenly, comprising:
Successively detect the cell value arranged in the 1st row of the node communication matrix by AD;
In the cell value deposit array that will have been arranged in 1st row by AD, until detecting in the 1st row by the
The cell value that AD has been arranged is sky;Value in the array is written in the template text files and is become with the first of definition
Measure corresponding first content display area;
Wherein, having arranged record by the AD in the 1st row of the node communication matrix is by the target
Each nodename when communication node is communicated on involved network segment.
Optionally, the value by the array is written corresponding with the first variable of definition in the template text files
First content display area the step of after, further includes:
By the 2nd row, the cell value of A column and G column in same a line is detected respectively;
It is not empty by the A cell value arranged, and the cell value of G column is that empty row is determined as the second mesh
Mark row;
It successively detects in second target line and the Set cell that cell value in subsequent column is S has been arranged by AD, really
Determining the nodal information that the gauge outfit of Set cell column described in subsequent column is recorded is message sending node information;
In the template text files, the column c of second target line, A are arranged respectively, the cell of F column
Value and the message sending node information, according to preset format write-in the second content display area corresponding with the second variable of definition
Domain, and the cell value that the column c of second target line and y are arranged, are written according to preset format and become with the third defined
Corresponding third content display region is measured, until detecting that the continuous f row of cell value of the A column and G column is
It is empty;
Wherein, the y column, comprising: E column, AA column, AB column, AC column, the D column of second target line;
Wherein, the content of A column record is message name, and the content of column c record is message identifier, D column record
Content be message transmission types, E column record content be message cycle time, F column record content be message length,
The content of G column record is signal name, and the content of AA column record is the quick sending cycle of message, the content of AB column record
Content for the quick transmission times of message, AC column record is the message delay time.
Optionally, it is described by the 2nd row, the step of detecting the cell value of the column of A in same a line and G column respectively it
Afterwards, further includes:
Cell value by A column is sky, and the cell value of G column is not that empty row is determined as third mesh
Mark row;
It successively detects in the third target line and the Set cell that cell value in subsequent column is R has been arranged by AD, really
Determining the nodal information that the gauge outfit of Set cell column described in subsequent column is recorded is message receiving node information;
In the template text files, respectively by the G column of the third target line, m column, L column, P column, the
Q column, R column, S column, Y column and the message receiving node information, according to the 4th variable preset format write-in and defined
Corresponding 4th content display region, and, by the column c of the third target line, G column and H column write-in and the of definition
Corresponding 5th content display region of five variables, and, by the column c of the third target line, G column with Z column or with W
Column, according to preset format write-in the 6th content display region corresponding with the 6th variable of definition, and, by the third target line
Column c, G column and xth column, according to preset format write-in and corresponding 7th content display region of the 7th variable that defines,
Until the continuous f row of cell value for detecting the A column and G column is sky;
Wherein, the xth column, comprising: Nth column, V column or the X column of the third target line;
Wherein, the content of H column record is signal description, and the content of L column record is signal length, m column record
Content is middle stop bit, and the content of Nth column record is signal transmission types, and the content of P column record is precision, Q column record
Content is offset, and the content of R column record is physics minimum value, and the content of S column record is physical maximum, V column note
The content of record is initial value, and the content of W column record is invalid value, and the content of X column record is non-enabled value, Y column record
Content be unit, Z column record content be signal value describe.
Second aspect, the embodiment of the invention also provides a kind of generation system of the database file of automotive communication protocol,
Include:
Extraction module, for from vehicle signal communication matrix, extracting the relevant node communication matrix of target communication node;
Newly-built module is written with needed for database file in the template text files for creating template text files
The types of variables of definition;
Generation module, according to the types of variables, generates and the node communication for reading the node communication matrix
The corresponding signal description content of signal in matrix, and the template text files are written into the signal description content;
Renamer module, for obtaining the suffix name of the suffix renamed as database file of the template text files
To target data library file.
Optionally, the extraction module is specifically used for:
Submodule is replicated, for replicating the gauge outfit row in the vehicle signal communication matrix to a node communication matrix list
In;
Successively detect the cell value arranged in the gauge outfit row of the vehicle signal communication matrix by AD;
In often detecting the gauge outfit row by the cell value of the AD cell arranged be the target communication
When node, it is determined that be classified as a column where one cell;
Respectively by the 2nd row, whether the cell value for detecting a column and G column is simultaneously sky;
If being not simultaneously sky, the cell value of a column is detected;
Cell of the cell value equal to S or R of a column is expert at and is determined as first object row;
The data of the first object row are replicated into the node communication matrix list, obtain the target communication node
Node communication matrix;
Wherein, having arranged record by the AD in the gauge outfit row of the vehicle signal communication matrix is vehicle signal
Each communication node title where communication on network segment;The content of the G column record is signal name, and cell value S indicates single
The corresponding communication node of nodename of first lattice column is sending node, and cell value R indicates the node of cell column
The corresponding communication node of title is receiving node.
Optionally, the generation module includes:
First detection sub-module, the unit arranged by AD in the 1st row for successively detecting the node communication matrix
Lattice value;
Sub-module stored, for will be stored in array in the 1st row by the cell value that AD has been arranged, until detecting
The cell value arranged in 1st row by AD is sky;First write-in submodule, for writing the value in the array
Enter first content display area corresponding with the first variable of definition in the template text files;
Wherein, having arranged record by the AD in the 1st row of the node communication matrix is by the target
Each nodename when communication node is communicated on involved network segment.
Optionally, the system further include:
Second detection sub-module detects the cell value of A column and G column in same a line for by the 2nd row respectively;
First determines submodule, and the cell value for arrange the A is not empty, and the cell value that the G is arranged
It is determined as the second target line for empty row;
Second determines submodule, has arranged cell value in subsequent column by AD for successively detecting in second target line
For the Set cell of S, determine that the nodal information that the gauge outfit of Set cell column described in subsequent column is recorded is message
Sending node information;
Second write-in submodule, in the template text files, respectively by the column c of second target line,
The second variable with definition is written according to preset format in the cell value and the message sending node information of A column, F column
Corresponding second content display region, and the cell value that the column c of second target line and y are arranged, according to default lattice
Formula write-in third content display region corresponding with the third variable of definition, until detecting what the A column and the G arranged
The continuous f row of cell value is sky;
Wherein, the y column, comprising: E column, AA column, AB column, AC column, the D column of second target line;
Wherein, the content of A column record is message name, and the content of column c record is message identifier, D column record
Content be message transmission types, E column record content be message cycle time, F column record content be message length,
The content of G column record is signal name, and the content of AA column record is the quick sending cycle of message, the content of AB column record
Content for the quick transmission times of message, AC column record is the message delay time.
Optionally, the system further include:
Third determines submodule, and the cell value for arranging the A is sky, and the cell value of G column is not
It is determined as third target line for empty row;
4th determines submodule, has arranged cell value in subsequent column by AD for successively detecting in the third target line
For the Set cell of R, determine that the nodal information that the gauge outfit of Set cell column described in subsequent column is recorded is message
Receiving node information;
Submodule is written in third, for respectively arranging the G of the third target line in the template text files,
M column, L column, P column, Q column, R column, S column, Y column and the message receiving node information, according to preset format
Corresponding 4th content display region of the 4th variable of write-in and definition, and, the column c of the third target line, G are arranged and
The write-in of H column and corresponding 5th content display region of the 5th variable defined, and, by the column c of the third target line, the
G column are arranged with Z column or with W, and the 6th content display region corresponding with the 6th variable of definition is written according to preset format,
And arrange the column c of the third target line, G column and xth, it is corresponding with the 7th variable of definition according to preset format write-in
The 7th content display region, until the continuous f row of cell value for detecting A column and G column is sky;
Wherein, the xth column, comprising: Nth column, V column or the X column of the third target line;
Wherein, the content of H column record is signal description, and the content of L column record is signal length, m column record
Content is middle stop bit, and the content of Nth column record is signal transmission types, and the content of P column record is precision, Q column record
Content is offset, and the content of R column record is physics minimum value, and the content of S column record is physical maximum, V column note
The content of record is initial value, and the content of W column record is invalid value, and the content of X column record is non-enabled value, Y column record
Content be unit, Z column record content be signal value describe.
In embodiments of the present invention, by from vehicle signal communication matrix, extracting the relevant node of target communication node
Communication matrix is based on the node communication matrix and template text files, generates corresponding with the signal in node communication matrix
Signal description content finally obtains database file corresponding with the data content of node communication matrix, realizes automobile communication
The automatical and efficient generation of the database file of agreement, subtract it is complicated it is duplicate labour is manually entered, reduce workload, reduce and malfunction
Rate.
Detailed description of the invention
Fig. 1 shows the flow charts of the generation method of the database file of automotive communication protocol in the embodiment of the present invention;
Fig. 2 indicates the structural block diagram of the generation system of the database file of automotive communication protocol in the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
The embodiment of the present invention discloses a kind of generation method of the database file of automotive communication protocol, as shown in connection with fig. 1, should
Method includes:
Step 101: from vehicle signal communication matrix, extracting the relevant node communication matrix of target communication node.
The target communication node is in vehicle communication process, and one in each communication node, the target communication node is really
Surely it can be the selection carried out by system, or according to user's determination that manually operation input carries out.
Wherein, the relevant node communication matrix of the target communication node, specially contains the receipts of the target communication node
The matrix of the Content of communciation of hair relationship.The relevant node communication matrix of the target communication node, network segment where being communicated for vehicle
The subset of signal communication matrix, the process be specially from vehicle signal communication matrix, filter out only with target communication node phase
The row matrix of pass extracts to realize.
As a preferred embodiment, wherein it is related should to extract target communication node from vehicle signal communication matrix
Node communication matrix the step of, comprising:
The gauge outfit row in the vehicle signal communication matrix is replicated into a node communication matrix list;
Successively detect the cell value arranged in the gauge outfit row of the vehicle signal communication matrix by AD;
In often detecting the gauge outfit row by the cell value of the AD cell arranged be the target communication
When node, then records one cell place and be classified as a column;
Respectively by the 2nd row, whether the cell value for detecting a column and G column is simultaneously sky;
If being not simultaneously sky, the cell value of a column is detected;
Cell of the cell value equal to S or R of a column is expert at and is determined as first object row;
The data of the first object row are replicated into the node communication matrix list, obtain the target communication node
Node communication matrix.
Wherein, having arranged record by the AD in the gauge outfit row of the vehicle signal communication matrix is vehicle signal
Each communication node title where communication on network segment;The content of the G column record is signal name, and cell value S indicates single
The corresponding communication node of nodename of first lattice column is sending node, and cell value R indicates the node of cell column
The corresponding communication node of title is receiving node.
Preferably, vehicle signal communication matrix node communication matrix relevant to target communication node is with EXCEL table
The form of lattice is recorded and is generated.
During being somebody's turn to do, node communication matrix list is specially the list of an Excel table or other forms, is first created
The Excel table of one node destination communication node, because what vehicle signal communication matrix and node communication matrix recorded is logical
Believe agreement, one value of the two attribute, therefore gauge outfit is the same, and the gauge outfit row in vehicle signal communication matrix is copied to newly-built
Node communication matrix list in.
In the list of a column and G column that the subsequent cell value arranged AD in vehicle signal communication matrix and the 2nd row rise
First lattice value is detected, it is therefore intended that finding attribute is the nodename and target communication node phase for picking node or sending node
The data of consistent node associated row, wherein successively detect the list arranged in the gauge outfit row of vehicle signal communication matrix by AD
First lattice value, often detect in gauge outfit row by the cell value of the AD cell arranged be target communication node when, then hold
The primary subsequent several steps of row, wherein respectively by the 2nd row, whether the cell value for detecting a column and G column is same
When for sky, this Rule of judgment is to judge whether to table tail, wherein the column where node transmitting-receiving relationship, be recorded as a column,
Value is much to seek if successively detecting the cell value arranged in gauge outfit row by AD, when until detecting the column that cell value is empty
Equal to the cell of target communication node, then illustrate target communication node not on this network segment.
That is, wherein by the AD cell value arranged in the gauge outfit row for successively detecting the vehicle signal communication matrix
After step, further includes: if detect in gauge outfit row by the cell value of the AD cell arranged for sky, terminate to examine
Survey operation.
The process filters out only relevant to target communication node row (i.e. above-mentioned to be risen by the 2nd row, the list of a column in each row
First lattice value is the row of R (receiving, Receive) or S (sending, Send)), the content of those rows is copied into target communication node
In node communication matrix list, until detecting table caudal knot beam, the node communication matrix of target communication node is obtained.
Step 102: creating template text files, be written with the change defined needed for database file in the template text files
Measure type.
In this article this document, the types of variables defined needed for the database file of write-in is subsequent based on this in order to realize
Text file generates final database file.
The effect of different typess of variables is for describing the signal in communication matrix in the types of variables.
Preferably, it is provided with several regions in template text files, is respectively as follows: BU_, BO_, BA_ ... BO_, BA ...
The region SG, SG_, CM_SG_, VAL_, these regions are used to describe the signal in communication matrix, specific format are as follows:
BU_ area format are as follows:
BU_: the node 2 ... on 1 network segment of node on network segment.
BO_ area format are as follows:
BO_CANID (decimal system) message name: message length (being defaulted as 8) sending node.
The rule in the region BA_ ... BO_ is as follows:
BA_ " GenMsgCycleTime " BO_CANID (decimal system) message cycle time;
BA_ " GenMsgNrOfRepetition " BO_CANID (decimal system) quick transmission times;
BA_ " GenMsgCycleTimeFast " BO_CANID (decimal system) quick sending cycle;
BA_ " GenMsgStartDelayTime " BO_CANID (decimal system) message delay time;
BA_ " GenMsgSendType " BO_CANID (decimal system) message transmission types;Wherein, under normal circumstances, if
Message transmission types are cycle, then this attribute is not present in DBC;If signal transmission types are event, signal hair
Sending type is 1.
The rule in the region BA ... SG_ is as follows:
BA_ " GenSigSendType " SG_CANID (decimal system) signal name signal transmission types;Wherein, normal condition
Under, if signal transmission types are cycle, this attribute is not present in DBC;If signal transmission types are OnWrite,
Then signal transmission types are 2.
BA_ " GenSigStartValue " SG_CANID (decimal system) signal name initial value;
The non-enabled value of BA_ " GenSigInactiveValue " SG_CANID (decimal system) signal name;
SG_ area format are as follows:
SG_ signal name: stop bit | and signal length@0+ (precision, offset) [minimal physical value | greatest physical value] it is " single
Position " receiving node 1, recipient node 2 ... (wherein, 0+ represents data type as Unsigned herein, 0- represent data type as
Signed);
CM_SG_ area format are as follows:
CM_SG_CANID (decimal system) signal name " signal description ";
VAL_ area format are as follows:
It is each in the description of VAL_CANID (decimal system) signal name signal value to be worth corresponding physical significance;
VAL_CANID (decimal system) signal name invalid value (decimal system) " Invalid ".
Wherein, above-mentioned CANID is message identifier.
Step 103: reading node communication matrix, according to the types of variables, generate and the signal phase in node communication matrix
Corresponding signal description content, and template text files are written into signal description content.
The process is actually that the value of each unit lattice is taken from Excel matrix, is then filled out according to the rule of DBC file
It is charged in TXT file.
Specifically, the reading node communication matrix generates and the node communication matrix according to the types of variables
In the corresponding signal description content of signal, and by the signal description content be written the template text files the step of,
Include:
Successively detect the cell value arranged in the 1st row of the node communication matrix by AD;
In the cell value deposit array that will have been arranged in 1st row by AD, until detecting in the 1st row by the
The cell value that AD has been arranged is sky;Value in the array is written in the template text files and is become with the first of definition
Measure corresponding first content display area;
Wherein, having arranged record by the AD in the 1st row of the node communication matrix is by the target
Each nodename when communication node is communicated on involved network segment.
In the node communication matrix, the 1st behavior gauge outfit row, the content that gauge outfit row records in the subsequent column since being arranged AD,
For each node on network segment, is realized in the above process and array BU [] is written into each nodename, for generating " BU_: network segment
Node 1, the node 2 ... on network segment " this variable.And the subsequent column in the remaining rows that the second row rises, since AD column
Whether the content of middle record is to the description content of each node, be for example, mark that transmitting-receiving node carries out to each node.
Wherein, value in array is written corresponding with the first variable of definition in the template text files for this
After the step of one content display region, further includes:
By the 2nd row, the cell value of A column and G column in same a line is detected respectively;
It is not empty by the A cell value arranged, and the cell value of G column is that empty row is determined as the second mesh
Mark row;
It successively detects in second target line and the Set cell that cell value in subsequent column is S has been arranged by AD, really
Determining the nodal information that the gauge outfit of Set cell column described in subsequent column is recorded is message sending node information;
In the template text files, the column c of second target line, A are arranged respectively, the cell of F column
Value and the message sending node information, according to preset format write-in the second content display area corresponding with the second variable of definition
Domain, and the cell value that the column c of second target line and y are arranged, are written according to preset format and become with the third defined
Corresponding third content display region is measured, until detecting that the continuous f row of cell value of the A column and G column is
It is empty;
Wherein, the y column, comprising: E column, AA column, AB column, AC column, the D column of second target line;
Wherein, the content of A column record is message name, and the content of column c record is message identifier, D column record
Content be message transmission types, E column record content be message cycle time, F column record content be message length,
The content of G column record is signal name, and the content of AA column record is the quick sending cycle of message, the content of AB column record
Content for the quick transmission times of message, AC column record is the message delay time.
Preferably, the content that A to the F column in interior joint of embodiment of the present invention communication matrix record is successively are as follows: A column note
The content of record is message name, and the content of column b record is type of message, and the content of column c record is message identifier, D
The content of column record is message transmission types, and the content of E column record is message cycle time, and the content of F column record is report
Literary length;The content of G column record is signal name.
During being somebody's turn to do, A to G is classified as the arrangement being numbered according to the sequence of English alphabet, wherein the report of A column record
Literary fame claims, and the signal name of G column record, when A is classified as non-empty, and G is classified as sky, representative is the header of a frame message, at this time can be with
The cell value and the message sending node information of column c in the second target line that the 2nd row rises, A column, F column are read from,
Corresponding content display region is written according to the format in the region BO_, and the C for the second target line that the 2nd row rises can be read from
The cell value of column and y column, y column can be specially E column, AA column, AB column, the AC column, D of the second target line
One in column, according to BA_ ..., corresponding content display region is written in BO_ area format, and realizing will be in communication matrix
Hold the automatic filling into text file, in order to automatically generating for database file.
Above-mentioned automatic filling and data writing process, in the cell value company for detecting the A column and G column
When continuous f row is sky, it is believed that reach table bottom, stop aforesaid operations process at this time, which is between 2 to 7, preferably
5。
Further, the step of should being risen by the 2nd row, and detecting the cell value that the column of A in same a line and G are arranged respectively it
Afterwards, further includes:
Cell value by A column is sky, and the cell value of G column is not that empty row is determined as third mesh
Mark row;
It successively detects in the third target line and the Set cell that cell value in subsequent column is R has been arranged by AD, really
Determining the nodal information that the gauge outfit of Set cell column described in subsequent column is recorded is message receiving node information;
In the template text files, respectively by the G column of the third target line, m column, L column, P column, the
Q column, R column, S column, Y column and the message receiving node information, according to the 4th variable preset format write-in and defined
Corresponding 4th content display region, and, by the column c of the third target line, G column and H column write-in and the of definition
Corresponding 5th content display region of five variables, and, by the column c of the third target line, G column with Z column or with W
Column, according to preset format write-in the 6th content display region corresponding with the 6th variable of definition, and, by the third target line
Column c, G column and xth column, according to preset format write-in and corresponding 7th content display region of the 7th variable that defines,
Until the continuous f row of cell value for detecting the A column and G column is sky;
Wherein, the xth column, comprising: Nth column, V column or the X column of the third target line;
Wherein, the content of H column record is signal description, and the content of L column record is signal length, m column record
Content is middle stop bit, and the content of Nth column record is signal transmission types, and the content of P column record is precision, Q column record
Content is offset, and the content of R column record is physics minimum value, and the content of S column record is physical maximum, V column note
The content of record is initial value, and the content of W column record is invalid value, and the content of X column record is non-enabled value, Y column record
Content be unit, Z column record content be signal value describe.
Preferably, the G in interior joint of embodiment of the present invention communication matrix is arranged to AC and is arranged the content of record successively are as follows: G
The content of column record is signal name, and the content of H column record is signal description, and the content of I column record is array format, the
The content of J column record is start byte, and the content of K column record is start bit, and the content of L column record is signal length, M
The content of column record is stop bit, and the content of Nth column record is signal transmission types, and the content of O column record is data type,
The content of P column record is precision, and the content of Q column record is offset, and the content of R column record is physics minimum value, S
Column record content be physical maximum, T column record content be bus minimum value, U column record content be bus most
Big value, the content of V column record are initial value, and the content of W column record is invalid value, and the content of X column record is non-enabled
Value, the content of Y column record are unit, and the content of Z column record is signal value description, and the content of Z column record is signal value
Description, the content of AA column record are the quick sending cycle of message, and the content of AB column record is the quick transmission times of message, the
The content of AC column record is the message delay time.
During being somebody's turn to do, G is arranged to AC and is classified as the arrangement being numbered according to the sequence of English alphabet, includes being arranged by G
It is arranged to Z, is arranged by AA to AC and arranged.
Wherein, the message name of A column record, the signal name of G column record, when A is classified as sky, and G column are not empty, representative is
The signal content of one frame message reads from G column in the third target line that the 2nd row rises, m column, L column, P column, Q at this time
It is aobvious that corresponding content is written according to the format in the region SG_ in column, R column, S column, Y column and the message receiving node information
Show region;The cell value that column c in the third target line that the 2nd row rises, G column and H column can also be read from, according to CM_
Corresponding content display region is written in the format in the region SG_;Column c, the in the third target line that the 2nd row rises can also be read from
G column and Z column either column c, the cell value of G column and W column, are written corresponding content according to the format in the region VAL_
Display area;It can also be the cell value for reading from column c in the third target line that the 2nd row rises, G column and xth column, the x
Column can be specially one in the Nth column of third target line, V column or X column, and according to BA_ ..., the format in the region SG_ is write
Enter corresponding content display region, the automatic filling by the content in communication matrix into text file is realized, in order to data
Library file automatically generates.
Above-mentioned automatic filling and data writing process, in the cell value company for detecting the A column and G column
When continuous f row is sky, it is believed that reach table bottom, stop aforesaid operations process at this time, which is between 2 to 7, preferably
5。
Step 104: by the suffix name of the suffix renamed as database file of template text files, obtaining target database
File.
Specially by the TXT file suffixes renamed as DBC of generation, obtain opposite with the data content of node communication matrix
The database file answered realizes the automatical and efficient generation of the database file of automotive communication protocol, subtracts complicated duplicate artificial
Input labour, reduces workload, reduces error rate.
A kind of generation system of the database file of automotive communication protocol is also disclosed in the embodiment of the present invention, as shown in connection with fig. 2,
It include: extraction module 301, newly-built module 302, generation module 303 and renamer module 304.
Extraction module 301, for from vehicle signal communication matrix, extracting the relevant node communication square of target communication node
Battle array.
Newly-built module 302 is written with database file institute for creating template text files in the template text files
The types of variables that need to be defined.
Generation module 303, according to the types of variables, generates and the node for reading the node communication matrix
The corresponding signal description content of signal in communication matrix, and the template text text is written into the signal description content
Part.
Renamer module 304, for by the suffix name of the suffix renamed as database file of the template text files,
Obtain target data library file.
Wherein, the extraction module 301 is specifically used for:
Submodule is replicated, for replicating the gauge outfit row in the vehicle signal communication matrix to a node communication matrix list
In;
Successively detect the cell value arranged in the gauge outfit row of the vehicle signal communication matrix by AD;
In often detecting the gauge outfit row by the cell value of the AD cell arranged be the target communication
When node, it is determined that be classified as a column where one cell;
Respectively by the 2nd row, whether the cell value for detecting a column and G column is simultaneously sky;
If being not simultaneously sky, the cell value of a column is detected;
Cell of the cell value equal to S or R of a column is expert at and is determined as first object row;
The data of the first object row are replicated into the node communication matrix list, obtain the target communication node
Node communication matrix;
Wherein, having arranged record by the AD in the gauge outfit row of the vehicle signal communication matrix is vehicle signal
Each communication node title where communication on network segment;The content of the G column record is signal name, and cell value S indicates single
The corresponding communication node of nodename of first lattice column is sending node, and cell value R indicates the node of cell column
The corresponding communication node of title is receiving node.
Wherein, the generation module 303 includes:
First detection sub-module, the unit arranged by AD in the 1st row for successively detecting the node communication matrix
Lattice value;
Sub-module stored, for will be stored in array in the 1st row by the cell value that AD has been arranged, until detecting
The cell value arranged in 1st row by AD is sky;First write-in submodule, for writing the value in the array
Enter first content display area corresponding with the first variable of definition in the template text files;
Wherein, having arranged record by the AD in the 1st row of the node communication matrix is by the target
Each nodename when communication node is communicated on involved network segment.
Wherein, the system further include:
Second detection sub-module detects the cell value of A column and G column in same a line for by the 2nd row respectively;
First determines submodule, and the cell value for arrange the A is not empty, and the cell value that the G is arranged
It is determined as the second target line for empty row;
Second determines submodule, has arranged cell value in subsequent column by AD for successively detecting in second target line
For the Set cell of S, determine that the nodal information that the gauge outfit of Set cell column described in subsequent column is recorded is message
Sending node information;
Second write-in submodule, in the template text files, respectively by the column c of second target line,
The second variable with definition is written according to preset format in the cell value and the message sending node information of A column, F column
Corresponding second content display region, and the cell value that the column c of second target line and y are arranged, according to default lattice
Formula write-in third content display region corresponding with the third variable of definition, until detecting what the A column and the G arranged
The continuous f row of cell value is sky;
Wherein, the y column, comprising: E column, AA column, AB column, AC column, the D column of second target line;
Wherein, the content of A column record is message name, and the content of column c record is message identifier, D column record
Content be message transmission types, E column record content be message cycle time, F column record content be message length,
The content of G column record is signal name, and the content of AA column record is the quick sending cycle of message, the content of AB column record
Content for the quick transmission times of message, AC column record is the message delay time.
Wherein, the system further include:
Third determines submodule, and the cell value for arranging the A is sky, and the cell value of G column is not
It is determined as third target line for empty row;
4th determines submodule, has arranged cell value in subsequent column by AD for successively detecting in the third target line
For the Set cell of R, determine that the nodal information that the gauge outfit of Set cell column described in subsequent column is recorded is message
Receiving node information;
Submodule is written in third, for respectively arranging the G of the third target line in the template text files,
M column, L column, P column, Q column, R column, S column, Y column and the message receiving node information, according to preset format
Corresponding 4th content display region of the 4th variable of write-in and definition, and, the column c of the third target line, G are arranged and
The write-in of H column and corresponding 5th content display region of the 5th variable defined, and, by the column c of the third target line, the
G column are arranged with Z column or with W, and the 6th content display region corresponding with the 6th variable of definition is written according to preset format,
And arrange the column c of the third target line, G column and xth, it is corresponding with the 7th variable of definition according to preset format write-in
The 7th content display region, until the continuous f row of cell value for detecting A column and G column is sky;
Wherein, the xth column, comprising: Nth column, V column or the X column of the third target line;
Wherein, the content of H column record is signal description, and the content of L column record is signal length, m column record
Content is middle stop bit, and the content of Nth column record is signal transmission types, and the content of P column record is precision, Q column record
Content is offset, and the content of R column record is physics minimum value, and the content of S column record is physical maximum, V column note
The content of record is initial value, and the content of W column record is invalid value, and the content of X column record is non-enabled value, Y column record
Content be unit, Z column record content be signal value describe.
The system extracts the relevant node communication matrix of target communication node from vehicle signal communication matrix, and being based on should
Node communication matrix and template text files generate signal description content corresponding with the signal in node communication matrix, most
Database file corresponding with the data content of node communication matrix is obtained eventually, realizes the database file of automotive communication protocol
Automatical and efficient generation, subtract it is complicated it is duplicate labour is manually entered, reduce workload, reduction error rate.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form belongs within protection of the invention.
Above-described is the preferred embodiment of the present invention, it should be pointed out that the ordinary person of the art is come
It says, can also make several improvements and retouch under the premise of not departing from principle of the present invention, these improvements and modifications also exist
In protection scope of the present invention.
Claims (10)
1. a kind of generation method of the database file of automotive communication protocol characterized by comprising
From vehicle signal communication matrix, the relevant node communication matrix of target communication node is extracted;
Template text files are created, are written with the types of variables defined needed for database file in the template text files;
The node communication matrix is read, according to the types of variables, is generated opposite with the signal in the node communication matrix
The signal description content answered, and the template text files are written into the signal description content;
By the suffix name of the suffix renamed as database file of the template text files, target data library file is obtained.
2. the generation method of database file according to claim 1, which is characterized in that described from vehicle signal communication square
In battle array, the step of extracting target communication node relevant node communication matrix, comprising:
The gauge outfit row in the vehicle signal communication matrix is replicated into a node communication matrix list;
Successively detect the cell value arranged in the gauge outfit row of the vehicle signal communication matrix by AD;
In often detecting the gauge outfit row by the cell value of the AD cell arranged be the target communication node
When, it is determined that a column are classified as where one cell;
Respectively by the 2nd row, whether the cell value for detecting a column and G column is simultaneously sky;
If being not simultaneously sky, the cell value of a column is detected;
Cell of the cell value equal to S or R of a column is expert at and is determined as first object row;
The data of the first object row are replicated into the node communication matrix list, obtain the section of the target communication node
Point communication matrix;
Wherein, having arranged record by the AD in the gauge outfit row of the vehicle signal communication matrix is vehicle signal communication
Each communication node title on the network segment of place;The content of the G column record is signal name, and cell value S indicates cell
The corresponding communication node of the nodename of column is sending node, and cell value R indicates the nodename of cell column
Corresponding communication node is receiving node.
3. the generation method of database file according to claim 1, which is characterized in that described to read the node communication
Matrix generates signal description content corresponding with the signal in the node communication matrix according to the types of variables, and will
The step of template text files is written in the signal description content, comprising:
Successively detect the cell value arranged in the 1st row of the node communication matrix by AD;
It will be stored in array in 1st row by the cell value that AD has been arranged, arranged until detecting in the 1st row by AD
The cell value risen is sky;The first variable pair in the template text files with definition is written into value in the array
The first content display area answered;
Wherein, having arranged record by the AD in the 1st row of the node communication matrix is by the target communication
Each nodename when node is communicated on involved network segment.
4. the generation method of database file according to claim 3, which is characterized in that the value by the array
After the step of first content display area corresponding with the first variable of definition in the template text files is written, also wrap
It includes:
By the 2nd row, the cell value of A column and G column in same a line is detected respectively;
It is not empty by the A cell value arranged, and the cell value of G column is that empty row is determined as the second target
Row;
It successively detects in second target line and the Set cell that cell value in subsequent column is S has been arranged by AD, after determining
The nodal information that the gauge outfit of Set cell column described in continuous column is recorded is message sending node information;
In the template text files, respectively by the column c of second target line, A column, F column cell value and
The second content display region corresponding with the second variable of definition is written according to preset format in the message sending node information,
And the cell value for arranging the column c of second target line and y, the third variable pair with definition is written according to preset format
The third content display region answered, until the continuous f row of cell value for detecting the A column and G column is sky;
Wherein, the y column, comprising: E column, AA column, AB column, AC column, the D column of second target line;
Wherein, the content that A column record is message name, and the content of column c record is message identifier, and D column record interior
Holding is message transmission types, and the content of E column record is message cycle time, and the content of F column record is message length, G
The content of column record is signal name, and the content of AA column record is the quick sending cycle of message, and the content of AB column record is
The content of the quick transmission times of message, AC column record is the message delay time.
5. the generation method of database file according to claim 4, which is characterized in that it is described by the 2nd row, examine respectively
Survey in a line A column and G column cell value the step of after, further includes:
Cell value by A column is sky, and the cell value of G column is not that empty row is determined as third target
Row;
It successively detects in the third target line and the Set cell that cell value in subsequent column is R has been arranged by AD, after determining
The nodal information that the gauge outfit of Set cell column described in continuous column is recorded is message receiving node information;
In the template text files, respectively arrange the G column of the third target line, m column, L column, P column, Q,
R column, S column, Y column and the message receiving node information, it is corresponding with the 4th variable of definition according to preset format write-in
The 4th content display region, and, by the column c of the third target line, G column and H column write-in with definition the 5th become
Corresponding 5th content display region is measured, and, the column c of the third target line, G column are arranged with Z column or with W,
According to preset format write-in the 6th content display region corresponding with the 6th variable of definition, and, by the third target line
Column c, G column and xth column, according to preset format write-in the 7th content display region corresponding with the 7th variable of definition, directly
It is sky to the continuous f row of cell value for detecting the A column and G column;
Wherein, the xth column, comprising: Nth column, V column or the X column of the third target line;
Wherein, the content of H column record is signal description, and the content of L column record is signal length, the content of m column record
For middle stop bit, the content of Nth column record is signal transmission types, and the content of P column record is precision, the content of Q column record
For offset, the content of R column record is physics minimum value, and the content of S column record is physical maximum, V column record
Content is initial value, and the content of W column record is invalid value, and the content of X column record is non-enabled value, and Y column record interior
Holding is unit, and the content of Z column record is signal value description.
6. a kind of generation system of the database file of automotive communication protocol characterized by comprising
Extraction module, for from vehicle signal communication matrix, extracting the relevant node communication matrix of target communication node;
Newly-built module is written with definition needed for database file for creating template text files in the template text files
Types of variables;
Generation module, according to the types of variables, generates and the node communication matrix for reading the node communication matrix
In the corresponding signal description content of signal, and the template text files are written into the signal description content;
Renamer module, for obtaining mesh for the suffix name of the suffix renamed as database file of the template text files
Mark database file.
7. the generation system of database file according to claim 6, which is characterized in that the extraction module is specifically used
In:
Submodule is replicated, for replicating the gauge outfit row in the vehicle signal communication matrix into a node communication matrix list;
Successively detect the cell value arranged in the gauge outfit row of the vehicle signal communication matrix by AD;
In often detecting the gauge outfit row by the cell value of the AD cell arranged be the target communication node
When, it is determined that a column are classified as where one cell;
Respectively by the 2nd row, whether the cell value for detecting a column and G column is simultaneously sky;
If being not simultaneously sky, the cell value of a column is detected;
Cell of the cell value equal to S or R of a column is expert at and is determined as first object row;
The data of the first object row are replicated into the node communication matrix list, obtain the section of the target communication node
Point communication matrix;
Wherein, having arranged record by the AD in the gauge outfit row of the vehicle signal communication matrix is vehicle signal communication
Each communication node title on the network segment of place;The content of the G column record is signal name, and cell value S indicates cell
The corresponding communication node of the nodename of column is sending node, and cell value R indicates the nodename of cell column
Corresponding communication node is receiving node.
8. the generation system of database file according to claim 6, which is characterized in that the generation module includes:
First detection sub-module, the cell value arranged by AD in the 1st row for successively detecting the node communication matrix;
Sub-module stored, for will be stored in array in the 1st row by the cell value that AD has been arranged, until detecting described
The cell value arranged in 1st row by AD is sky;First write-in submodule, for institute to be written in the value in the array
State first content display area corresponding with the first variable of definition in template text files;
Wherein, having arranged record by the AD in the 1st row of the node communication matrix is by the target communication
Each nodename when node is communicated on involved network segment.
9. the generation system of database file according to claim 8, which is characterized in that further include:
Second detection sub-module detects the cell value of A column and G column in same a line for by the 2nd row respectively;
First determines submodule, and the cell value for arranging the A is not empty, and the cell value of G column is sky
Row be determined as the second target line;
Second determines submodule, and for successively detecting, arrange in subsequent column cell value by AD in second target line be S
Set cell, determine the nodal information that the gauge outfit of Set cell column described in subsequent column is recorded for message transmission
Nodal information;
Second write-in submodule, is used in the template text files, respectively by the column c of second target line, A
The cell value and the message sending node information of column, F column, it is corresponding with the second variable of definition according to preset format write-in
The second content display region, and the cell value that the column c of second target line and y are arranged writes according to preset format
Enter third content display region corresponding with the third variable of definition, until detecting the unit of the A column and G column
The continuous f row of lattice value is sky;
Wherein, the y column, comprising: E column, AA column, AB column, AC column, the D column of second target line;
Wherein, the content that A column record is message name, and the content of column c record is message identifier, and D column record interior
Holding is message transmission types, and the content of E column record is message cycle time, and the content of F column record is message length, G
The content of column record is signal name, and the content of AA column record is the quick sending cycle of message, and the content of AB column record is
The content of the quick transmission times of message, AC column record is the message delay time.
10. the generation system of database file according to claim 9, which is characterized in that further include:
Third determines submodule, and the cell value for arranging the A is sky, and the cell value of G column is not empty
Row be determined as third target line;
4th determines submodule, and for successively detecting, arrange in subsequent column cell value by AD in the third target line be R
Set cell, determine the nodal information that the gauge outfit of Set cell column described in subsequent column is recorded for message reception
Nodal information;
Submodule is written in third, for respectively arranging the G of the third target line, M in the template text files
Column, L column, P column, Q column, R column, S column, Y column and the message receiving node information, are written according to preset format
The 4th content display region corresponding with the 4th variable of definition, and, by the column c of the third target line, G column and H
Column write-in the 5th content display region corresponding with the 5th variable of definition, and, the column c of the third target line, G are arranged
It arranges with Z or is arranged with W, according to preset format write-in the 6th content display region corresponding with the 6th variable of definition, and,
By the column c of the third target line, G column and xth column, according to preset format write-in corresponding with the 7th variable defined the
Seven content display regions, until the continuous f row of cell value for detecting the A column and G column is sky;
Wherein, the xth column, comprising: Nth column, V column or the X column of the third target line;
Wherein, the content of H column record is signal description, and the content of L column record is signal length, the content of m column record
For middle stop bit, the content of Nth column record is signal transmission types, and the content of P column record is precision, the content of Q column record
For offset, the content of R column record is physics minimum value, and the content of S column record is physical maximum, V column record
Content is initial value, and the content of W column record is invalid value, and the content of X column record is non-enabled value, and Y column record interior
Holding is unit, and the content of Z column record is signal value description.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810811025.8A CN109033338B (en) | 2018-07-23 | 2018-07-23 | Method and system for generating database file of automobile communication protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810811025.8A CN109033338B (en) | 2018-07-23 | 2018-07-23 | Method and system for generating database file of automobile communication protocol |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109033338A true CN109033338A (en) | 2018-12-18 |
CN109033338B CN109033338B (en) | 2022-02-01 |
Family
ID=64645007
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810811025.8A Active CN109033338B (en) | 2018-07-23 | 2018-07-23 | Method and system for generating database file of automobile communication protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109033338B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111427940A (en) * | 2020-03-26 | 2020-07-17 | 陶朝林 | Self-adaptive database conversion method and device |
CN111817938A (en) * | 2020-07-15 | 2020-10-23 | 上汽通用五菱汽车股份有限公司 | Method, system and storage medium for compiling automobile CAN communication matrix |
CN113364601A (en) * | 2020-03-02 | 2021-09-07 | 北京新能源汽车股份有限公司 | Signal change method and device for communication matrix platform library |
CN114035539A (en) * | 2021-10-25 | 2022-02-11 | 东风商用车有限公司 | Instantiated vehicle type communication matrix generation method, device, equipment and storage medium |
CN115314155A (en) * | 2022-07-14 | 2022-11-08 | 东风电驱动系统有限公司 | Communication method, device, equipment and readable storage medium |
CN115730395A (en) * | 2022-11-30 | 2023-03-03 | 成都赛力斯科技有限公司 | Automobile interface model generation method and device, computer equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103455023A (en) * | 2012-06-01 | 2013-12-18 | 北汽福田汽车股份有限公司 | Testing device and method used for power system of new energy automobile |
CN104331292A (en) * | 2014-11-03 | 2015-02-04 | 重庆邮电大学 | Method for generating configuration for middleware protocol conversion of Internet of vehicles |
CN106850372A (en) * | 2017-02-22 | 2017-06-13 | 重庆长安汽车股份有限公司 | A kind of method of testing and system of controller CAN signal |
CN107247697A (en) * | 2017-07-05 | 2017-10-13 | 上海蔚赫信息科技有限公司 | A kind of method that Excel file is converted to automotive networking DBC files |
CN107291674A (en) * | 2017-06-12 | 2017-10-24 | 广东川田卫生用品有限公司 | A kind of method that Excel list datas are converted to database format |
KR101797005B1 (en) * | 2017-03-09 | 2017-12-13 | 슈어소프트테크주식회사 | Method for producing test case by vehicle type |
-
2018
- 2018-07-23 CN CN201810811025.8A patent/CN109033338B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103455023A (en) * | 2012-06-01 | 2013-12-18 | 北汽福田汽车股份有限公司 | Testing device and method used for power system of new energy automobile |
CN104331292A (en) * | 2014-11-03 | 2015-02-04 | 重庆邮电大学 | Method for generating configuration for middleware protocol conversion of Internet of vehicles |
CN106850372A (en) * | 2017-02-22 | 2017-06-13 | 重庆长安汽车股份有限公司 | A kind of method of testing and system of controller CAN signal |
KR101797005B1 (en) * | 2017-03-09 | 2017-12-13 | 슈어소프트테크주식회사 | Method for producing test case by vehicle type |
CN107291674A (en) * | 2017-06-12 | 2017-10-24 | 广东川田卫生用品有限公司 | A kind of method that Excel list datas are converted to database format |
CN107247697A (en) * | 2017-07-05 | 2017-10-13 | 上海蔚赫信息科技有限公司 | A kind of method that Excel file is converted to automotive networking DBC files |
Non-Patent Citations (1)
Title |
---|
涂小芳: "基于USB-CAN适配器ECU测试系统的设计", 《中国优秀硕士学位论文全文数据库_工程科技Ⅱ辑》 * |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113364601A (en) * | 2020-03-02 | 2021-09-07 | 北京新能源汽车股份有限公司 | Signal change method and device for communication matrix platform library |
CN113364601B (en) * | 2020-03-02 | 2022-06-10 | 北京新能源汽车股份有限公司 | Signal change method and device for communication matrix platform library |
CN111427940A (en) * | 2020-03-26 | 2020-07-17 | 陶朝林 | Self-adaptive database conversion method and device |
CN111427940B (en) * | 2020-03-26 | 2023-09-05 | 陶朝林 | Self-adaptive database conversion method and device |
CN111817938A (en) * | 2020-07-15 | 2020-10-23 | 上汽通用五菱汽车股份有限公司 | Method, system and storage medium for compiling automobile CAN communication matrix |
CN114035539A (en) * | 2021-10-25 | 2022-02-11 | 东风商用车有限公司 | Instantiated vehicle type communication matrix generation method, device, equipment and storage medium |
CN114035539B (en) * | 2021-10-25 | 2023-12-05 | 东风商用车有限公司 | Method, device, equipment and storage medium for generating communication matrix of instantiated vehicle type |
CN115314155A (en) * | 2022-07-14 | 2022-11-08 | 东风电驱动系统有限公司 | Communication method, device, equipment and readable storage medium |
CN115314155B (en) * | 2022-07-14 | 2024-01-09 | 东风电驱动系统有限公司 | Communication method, device, equipment and readable storage medium |
CN115730395A (en) * | 2022-11-30 | 2023-03-03 | 成都赛力斯科技有限公司 | Automobile interface model generation method and device, computer equipment and storage medium |
CN115730395B (en) * | 2022-11-30 | 2023-11-21 | 成都赛力斯科技有限公司 | Automobile interface model generation method, device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109033338B (en) | 2022-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109033338A (en) | Method and system for generating database file of automobile communication protocol | |
CN109542844A (en) | A kind of event log collection method, system and electronic equipment and storage medium | |
CN104298726B (en) | A kind of BMS data-storage systems and its method based on database | |
CN102012954B (en) | Subsystem integration method and subsystem integration system for integration design of system-on-chip | |
CN109615015A (en) | A kind of data preprocessing method based on block chain intelligence contract and machine learning | |
CN101509783A (en) | Data checking method and device applying to navigation electronic map production | |
Fard et al. | Cutset enumeration of network systems with link and node failures | |
CN107622025A (en) | The method and apparatus of data transfer | |
CN113868873A (en) | Automatic driving simulation scene expansion method and system based on data reinjection | |
CN107092491A (en) | A kind of configuring load application method and system | |
CN107070897A (en) | Network log storage method based on many attribute Hash duplicate removals in intruding detection system | |
CN106776731A (en) | One kind search implementation method, device and system | |
JPH0887407A (en) | Decentralized development management device | |
CN106557308A (en) | A kind of software continuous integrated approach and device | |
CN106484789A (en) | The storage management system and method for pictorial information | |
CN104834749A (en) | File synchronization method and synchronization system for mobile terminal and PC terminal | |
CN114924914A (en) | Disk partition table information backup and recovery method and system | |
CN105718499B (en) | Geologic information data cleaning method and system | |
CN107368330A (en) | Client patch restorative procedure, device and system | |
US8041529B2 (en) | Changing parameters in a tested system using virtual working pages | |
CN108520006A (en) | Data mining method based on pipeline screening | |
CN112596671B (en) | Data storage method and device, storage medium and electronic equipment | |
CN110019564A (en) | Table relation decomposing auxiliary device and table relation decomposing householder method | |
CN106598769A (en) | Method and device for checking EMMC (embedded multi media card) burning file | |
CN107704548A (en) | A kind of storage medium and storage method of object data, device and equipment |
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 |