Unlock instant, AI-driven research and patent intelligence for your innovation.

Data distribution method for CAN bus

A CAN bus and data distribution technology, applied in the field of computer communication, can solve the problems affecting the normal distribution of CAN data, unable to realize active classification and transmission of data, unable to realize data sharing among multiple processes, etc.

Inactive Publication Date: 2019-03-29
仪征市嘉中电子元件有限公司
View PDF0 Cites 0 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 sending 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 distribution method for CAN bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0016] like figure 1 Shown, a kind of data distributing method for CAN bus, comprises the following steps:

[0017] Receive shared data sent by CAN bus;

[0018] Classify and store the shared data into at least one shared data segment, wherein each shared data segment stores the classified shared data in the form of a ring buffer, and the ring buffer includes a write pointer and at least A...

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 relates to a data distribution method for a CAN bus, comprising the following steps: receiving shared data sent by the CAN bus; Classifying and storing the shared data into at least oneshared data segment; At least one share data segment asynchronously sends a notification event to at least one application, respectively; And at least one shared data segment asynchronously distributes the corresponding classified shared data to the corresponding at least one application program according to the read request of the at least one application program. According to the method of the embodiment of the invention, cross-process sharing and asynchronous distribution of data are realized, and the efficiency of data distribution is improved.

Description

technical field [0001] The invention relates to the field of computer communication, in particular to a data distribution method for CAN bus. Background technique [0002] CAN (Controller Area Network, Controller Area Network) bus has been widely used in data communication of automobile body due to its stable and high-speed characteristics, and using 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, upgradable 32-bit embedded operating system) embedded system as an example, WM_COPYDATA (a A method to realize inter-process ...

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
CPCG06F9/544H04L12/40H04L2012/40215
Inventor 陆远林
Owner 仪征市嘉中电子元件有限公司