Data dispatching method and device for CAN bus

A CAN bus and data distribution technology, applied in the field of computer communication, can solve the problems that affect the normal distribution of CAN data, cannot realize active data classification and transmission, cannot realize data sharing among multiple processes, etc. The effect of CAN data distribution

Active Publication Date: 2015-02-11
BYD CO LTD
View PDF6 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, these methods have the following defects: (1) The access method of WM_COPYDATA message is synchronous, that is, when sending a message, you must wait until the data is received and processed before continuing other operations, which affects the normal distribution of CAN data; (2) Shared memory Neither the segment method nor the memory-mapped file method can realize the active classification and transmission of data; (3) the point-to-point message queue method can only realize one-to-one data transmission, and cannot realize the sharing of data among multiple processes

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data dispatching method and device for CAN bus
  • Data dispatching method and device for CAN bus
  • Data dispatching method and device for CAN bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0023] The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. To simplify the disclosure of the present invention, components and arrangements of specific examples are described below. Of course, they are only examples and are not intended to limit the invention. Furthermore, the present invention may repeat reference numerals and / or letters in different instances. This repetition is for the purpose of simplicity and clarity and does not in itself indicat...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a data dispatching method for a CAN (Control Area Network) bus and a data dispatching device for the CAN bus, wherein the method comprises the following steps of receiving shared data transmitted by the CAN bus; sorting and storing the shared data into at least one shared data section; asynchronously transmitting a notification event to at least one application program by the at least one shared data section; asynchronously transmitting the corresponding sorted shared data to the at least one corresponding application program by the at least one shared data section according to the read request of the at least one application program. According to the method of the embodiment, out-of-process share and asynchronous transmission of data can be achieved and the data transmission efficiency is also improved.

Description

technical field [0001] The invention relates to the field of computer communication, in particular to a data distribution method and device for CAN bus. Background technique [0002] CAN (Controller Area Network, Controller Area Network) bus has been widely used in the data communication of automobile body due to its stable and high-speed characteristics, and the use of CAN bus for data communication has become the best choice for vehicle applications. However, the main problem is that the acquisition of data on a certain operating system is often exclusive and can only be obtained by a single application, so that other applications that require the same data cannot work normally, so the distribution of CAN data needs It was born. [0003] Among them, the core of CAN bus data distribution technology is to realize inter-process communication. Taking Windows CE (an open, upgradeable 32-bit embedded operating system) embedded system as an example, WM_COPYDATA (a A method to a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/54H04L12/40
Inventor 肖勇
Owner BYD CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products