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

A controller local area network bus communication control method, device and system

A local area network bus and controller technology, applied in transmission systems, bus networks, digital transmission systems, etc., can solve problems such as wrong bus bandwidth and waste of network resources

Active Publication Date: 2015-11-25
BEIJING JINGWEI HIRAIN TECH CO INC
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to solve the above technical problems, the embodiment of the present application provides a controller LAN bus communication control method to solve the problem in the prior art that error frames occupy bus bandwidth and cause waste of network resources

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
  • A controller local area network bus communication control method, device and system
  • A controller local area network bus communication control method, device and system
  • A controller local area network bus communication control method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] The flow chart of a controller LAN bus communication control method provided in Embodiment 1 of the present application is as follows: figure 1 shown, including:

[0051] Step S101: Detect the communication state of the bus in the communication mode, and judge whether the communication of the bus is abnormal, if so, execute step S102, otherwise, continue to execute step S101;

[0052] Step S102: sending an error report to the CPU;

[0053] In the controller local area network, under normal circumstances, the working mode of the CAN controller is in the communication mode. In this embodiment, the CAN controller detects the communication state of the bus in the communication mode, and judges whether the communication abnormality occurs in the bus. When the communication is abnormal, send an error report to the CPU; otherwise, continue to detect whether there is a communication abnormality on the bus.

[0054] Step S103: receiving the first switching instruction informat...

Embodiment 2

[0068] The flow chart of a controller LAN bus communication control method provided in Embodiment 2 of the present application is as follows: figure 2 shown, including:

[0069] Step S201: receiving the error report sent by the CAN controller;

[0070] Step S202: sending the first switching indication information corresponding to the error report, instructing the CAN controller to switch the working mode to the listening mode;

[0071] After receiving the error report sent by the CAN controller, the CPU sends the first switching instruction information to the CAN controller, instructing the CAN controller to switch the working mode from the communication mode to the monitoring mode;

[0072] Step S203: receiving the error elimination report sent by the CAN controller;

[0073] Step S204: Sending second switching instruction information corresponding to the error elimination report, instructing the CAN controller to switch the working mode to the communication mode.

[0074...

Embodiment 3

[0077] A schematic structural diagram of a CAN controller provided in Embodiment 3 of the present application is as follows image 3 shown, including:

[0078] The first detecting module 301, the first receiving module 302, the second detecting module 303, the second receiving module 304 and the switching module 305;

[0079] The first detection module 301 is used to detect the communication status of the bus in the communication mode, and when detecting abnormal communication, send an error report to the CPU;

[0080] The first receiving module 302 is configured to receive first switching instruction information sent by the CPU and corresponding to the error report for switching the working mode to the monitoring mode;

[0081] The second detection module 303 is used to detect whether the communication abnormality is eliminated in the monitoring mode, and send an error elimination report to the CPU when the communication abnormality is eliminated;

[0082] The second receiv...

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 method, a device and a system for controlling the bus communication of a controller area network. The method comprises the following steps: detecting bus communication state in a communication mode, in case of detecting abnormal communication, sending an error report to a CPU; switching a working mode into a monitoring mode after first switching indication information which corresponds to the error report and is sent by the CPU is received; detecting whether the communication abnormality is eliminated or not in the monitoring mode, if the communication abnormality is eliminated, sending an error eliminating report to the CPU; and switching the working mode into a communication mode after second switching indication information which corresponds to the error eliminating report and is sent by the CUP is received. Through the invention, the problem that the network resource is wasted, because a great amount of error frames are continuously sent to the bus of the controller area network and occupy bus band width when the communication abnormality is detected in the communication mode is solved.

Description

technical field [0001] The present application relates to the field of controller local area network bus, in particular to a controller local area network bus communication control method, device and system. Background technique [0002] Controller Area Network (ControllerAreaNetwork, CAN) bus is a layered serial data communication protocol developed by BOSCH Company in Germany, and finally became an international standard (ISO11898). The controller area network bus is widely used in automotive computer control systems because of its high reliability and good error detection capabilities. [0003] All protocol standards of the controller area network bus have been integrated into the chip of the CAN controller. In the controller area network, when the CPU (Central Processing Unit, central processing unit) wants to send a CAN message through the CAN controller, it only needs to The content of the data to be sent is passed to the CAN controller, and functions such as data pro...

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 Patents(China)
IPC IPC(8): H04L12/40H04L1/00
Inventor 王旭勾晓菲
Owner BEIJING JINGWEI HIRAIN TECH CO INC