CN103559186A - Design and query method of CAN bus database - Google Patents
Design and query method of CAN bus database Download PDFInfo
- Publication number
- CN103559186A CN103559186A CN201310354765.0A CN201310354765A CN103559186A CN 103559186 A CN103559186 A CN 103559186A CN 201310354765 A CN201310354765 A CN 201310354765A CN 103559186 A CN103559186 A CN 103559186A
- Authority
- CN
- China
- Prior art keywords
- message
- signal
- node
- definition
- design
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000013461 design Methods 0.000 title claims abstract description 21
- 230000003321 amplification Effects 0.000 claims description 2
- 230000005540 biological transmission Effects 0.000 claims description 2
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 2
- 230000008520 organization Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009472 formulation Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
- G05B19/4185—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM] characterised by the network communication
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/31—From computer integrated manufacturing till monitoring
- G05B2219/31166—Access data by name, object, stored in list, database
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention relates to a design and query method of a CAN bus database. The design of the CAN bus database is composed of three data tables, namely a signal table, a message table and a node table. The signal table includes all signal definitions in a network. The message table includes all message definitions in the network. Each message contains a signal which can be found in the signal table. The node table includes all node definitions in the network. Each node contains a message which is sent by the node and which can be found in the message table, and meanwhile, each node contains a signal which is received by the node and which can be found in the signal table.
Description
Technical field
The present invention relates to the software systems of computer realm, particularly a kind of Database Systems based on CAN bus.
Background technology
CAN bus, as the communication interface between each microcontroller, has a wide range of applications in automobile and industry; In the formulation of automobile CAN-bus agreement and implementation process, the signal defining in CAN network, message and node need to be encapsulated in a database file, realize the data access based on symbol, thereby simplify workflow, for the monitoring of CAN bus, emulation and test builds basis.
The CAN bus data storehouse of Ge great automobile vendor does not have unified standard at present, is much to manage based on excel spreadsheet lattice or even Word document the data that CAN is relevant, and the problem of bringing is like this: 1, search and revise corresponding data and seem very difficult; 2, the machine that cannot realize CAN associated data files reads and analytical capabilities, is difficult to guarantee the robotization control based on CAN bus.
Summary of the invention
Object of the present invention, exactly in order to overcome the problem of preserving and accessing based on CAN bus data, build a distinct CAN bus data storehouse framework, relevant CAN data can be managed efficiently, simultaneously can be so that machine can automatically read this database file and carry out the robotization control based on CAN bus.
Concrete technical scheme provided by the invention is as follows:
Design and the querying method in CAN bus data storehouse, defined three kinds of tables of data at a lane database, is respectively signal list, message table and node table.
Design and the querying method in CAN bus data storehouse, the definition that described signal list has comprised all signals that may occur in whole network, comprises signal name, signal length, syllable sequence, minimax value, amplification factor, side-play amount, unit, signal annotation etc.
Design and the querying method in CAN bus data storehouse, the definition that described message table has comprised all messages that may occur in whole network, comprises message name, message identifier, message data length, message annotation etc.
Design and the querying method in CAN bus data storehouse, the definition that described node table has comprised all nodes that may occur in whole network, comprises nodename, node annotation etc.
Design and the querying method in CAN bus data storehouse, each message in described message table has all comprised and has contained signal within it, and all signals all can find definition in signal list.
Design and the querying method in CAN bus data storehouse, each node of described node table has all comprised the message of its transmission, with and the signal that receives, all signals and message all can find its definition in signal list and message table.
Design and the querying method in CAN bus data storehouse, the message identifier by appointment can find message to define in message table, thus each signal definition that finds message to contain.
Design and the querying method in CAN bus data storehouse, the node by appointment can find its all message lists that send, and can find its all signal lists that receive simultaneously, thus the list of constructing its all messages that receive.
Design and the querying method in CAN bus data storehouse, it is advantageous that, architecture definition clear and rational can automatically preserve by machine, be written into CAN database file, thereby inquire about and control based on symbol.
Accompanying drawing explanation
Fig. 1 is total Organization Chart in CAN bus data storehouse in the invention process method
Fig. 2 is the Organization Chart of signal list in the invention process method
Fig. 3 is the Organization Chart of message table in the invention process method
Fig. 4 is the Organization Chart of node table in the invention process method
In Fig. 1, signal list (101), message table (102), node table (103), CAN bus data library file (104)
In Fig. 2, independent signal (201)-(207), can define an independent signal arbitrarily in signal list (101)
In Fig. 3, independent message (301)-(302), can define an independent message arbitrarily in message table (102)
In Fig. 4, isolated node (401)-(402), can define an isolated node arbitrarily in node table (103)
Embodiment
In Fig. 1, create CAN bus data library file (104), in it, comprise signal list (101), message table (102) and node table (103).
In Fig. 2, in signal list (101), can define independent signal (201)-(207) arbitrarily.
In Fig. 3, in message table (102), can define independent message (301)-(302) arbitrarily, each message inside comprises the independent signal that it loads, such as independent message (301) has loaded independent signal (201)-(203); Independent message (302) has loaded independent signal (204)-(205).
In Fig. 4, in node table (103), can define isolated node (401)-(402) arbitrarily, each intra-node comprises its message list sending, and for example isolated node (401) sends independent message (301) and independent message (302); Isolated node (402) is containing sending message.
In Fig. 4, each intra-node also comprises the signal list that this node receives, and for example isolated node (401) inside is not containing received signal; Isolated node (402) inside comprises independent signal (206) and (207).
Claims (8)
- Design and the querying method in 1.CAN bus data storehouse, is characterized in that, at a lane database, defined three kinds of tables of data, is respectively signal list, message table and node table; The definition that signal list comprises signal in network, the definition that message table comprises message in network, message inside comprises signal, the definition of signal can be found from signal list, the definition that node table comprises network node, intra-node comprises its all messages that send, and the definition of message can be found from message table, intra-node comprises all signals that it receives simultaneously, and the definition of signal can be found from signal list.
- 2. design and the querying method in CAN bus data according to claim 1 storehouse, it is characterized in that, the definition that described signal list has comprised all signals that may occur in whole network, comprises signal name, signal length, syllable sequence, minimax value, amplification factor, side-play amount, unit, signal annotation.
- 3. design and the querying method in CAN bus data according to claim 1 storehouse, it is characterized in that, the definition that described message table has comprised all messages that may occur in whole network, comprises message name, message identifier, message data length, message annotation.
- 4. design and the querying method in CAN bus data according to claim 1 storehouse, is characterized in that, the definition that described node table has comprised all nodes that may occur in whole network comprises nodename, node annotation.
- 5. design and the querying method in CAN bus data according to claim 3 storehouse, is characterized in that, each message in described message table has all comprised and contained signal within it, and all signals all can find definition in signal list.
- 6. design and the querying method in CAN bus data according to claim 4 storehouse, it is characterized in that, each node of described node table has all comprised the message of its transmission, with and the signal that receives, all signals and message all can find its definition in signal list and message table.
- 7. design and the querying method in CAN bus data according to claim 5 storehouse, is characterized in that, the message identifier by appointment can find message to define in message table, thus each signal definition that finds message to contain.
- 8. design and the querying method in CAN bus data according to claim 6 storehouse, it is characterized in that, node by appointment can find its all message lists that send, and can find its all signal lists that receive simultaneously, thus the list of constructing its all messages that receive.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310354765.0A CN103559186A (en) | 2013-08-15 | 2013-08-15 | Design and query method of CAN bus database |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310354765.0A CN103559186A (en) | 2013-08-15 | 2013-08-15 | Design and query method of CAN bus database |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103559186A true CN103559186A (en) | 2014-02-05 |
Family
ID=50013433
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310354765.0A Pending CN103559186A (en) | 2013-08-15 | 2013-08-15 | Design and query method of CAN bus database |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103559186A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110099033A (en) * | 2018-01-30 | 2019-08-06 | 上海融聂电子科技有限公司 | A kind of slave computer framework and the hardware Query method in real time in CANFD bus data library |
-
2013
- 2013-08-15 CN CN201310354765.0A patent/CN103559186A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110099033A (en) * | 2018-01-30 | 2019-08-06 | 上海融聂电子科技有限公司 | A kind of slave computer framework and the hardware Query method in real time in CANFD bus data library |
CN110099033B (en) * | 2018-01-30 | 2021-12-14 | 上海融聂电子科技有限公司 | Lower frame mechanism |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9823907B2 (en) | Extensible device object model | |
US20140282370A1 (en) | Methods for managing applications using semantic modeling and tagging and devices thereof | |
US10354343B2 (en) | Automated process control hardware engineering using schema-represented requirements | |
EP3217632B1 (en) | Oid configuration, parsing method, client, node, database and storage medium | |
US11487707B2 (en) | Efficient file path indexing for a content repository | |
CN104216961A (en) | Method and device for data processing | |
CN109582809A (en) | A kind of threedimensional model management system and method based on database | |
CN104657435A (en) | Storage management method for application data and network management system | |
CN101854343A (en) | Method for providing node information, and method and device for acquiring node information | |
CN103310304B (en) | The management method of procedural model and device | |
Cavalieri et al. | Realising interoperability between opc ua and ocf | |
CN110059091B (en) | Index construction method, device, client, server and system | |
CN103559186A (en) | Design and query method of CAN bus database | |
US10970316B1 (en) | Maintaining a class hierarchy of an object-oriented data model using shared columns and/or overflow tables | |
CN103561113A (en) | Web Service interface generating method and device | |
CN103514262A (en) | Method for designing and querying FlexRay bus database | |
US20170344504A1 (en) | Method for accessing a number of slave devices with registers by a master device over a network | |
CN107463618B (en) | Index creating method and device | |
CN113590348B (en) | Parameter transmission method, device, equipment and medium based on tree structure | |
CN101145959A (en) | A method and system for automatic realization of network management function | |
US10114864B1 (en) | List element query support and processing | |
CN102306150A (en) | Data export method and device | |
US20140074869A1 (en) | Autoclassifying compound documents for enhanced metadata search | |
CN104424334A (en) | Method and device for constructing nodes of XML (eXtensible Markup Language) documents | |
CN112600918B (en) | Industrial control edge big data efficient processing method and system based on BS architecture |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140205 |
|
WD01 | Invention patent application deemed withdrawn after publication |