CN109639543A - A kind of method and system of automobile bus load reduction - Google Patents

A kind of method and system of automobile bus load reduction Download PDF

Info

Publication number
CN109639543A
CN109639543A CN201811549697.2A CN201811549697A CN109639543A CN 109639543 A CN109639543 A CN 109639543A CN 201811549697 A CN201811549697 A CN 201811549697A CN 109639543 A CN109639543 A CN 109639543A
Authority
CN
China
Prior art keywords
message
bus
request
load reduction
sending cycle
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
Application number
CN201811549697.2A
Other languages
Chinese (zh)
Inventor
崔书浩
吴成东
李朋飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Jianghuai Automobile Group Corp
Original Assignee
Anhui Jianghuai Automobile Group Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Anhui Jianghuai Automobile Group Corp filed Critical Anhui Jianghuai Automobile Group Corp
Priority to CN201811549697.2A priority Critical patent/CN109639543A/en
Publication of CN109639543A publication Critical patent/CN109639543A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • H04L12/40013Details regarding a bus controller
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/4013Management of data rate on the bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN

Abstract

The present invention provides a kind of method and system of automobile bus load reduction, this method comprises: the message sending cycle of setting CAN bus message, request responding time intervals and triggering transmission condition;The transmission request signal of CAN bus message is obtained, and other nodes periodically send message in CAN bus according to the message sending cycle;Judge whether the CAN bus message carries out data update, if it is, sending message to each node according to the request interresponse time.The present invention solves the problems, such as that big in the presence of load when the communication of existing vehicle CAN bus and communication efficiency is low, can improve the real-time and safety of vehicle communication.

Description

A kind of method and system of automobile bus load reduction
Technical field
The present invention relates to automotive bus technology field more particularly to a kind of method and system of automobile bus load reduction.
Background technique
With automobile electronics fast development, vehicle electric function is also significantly increased at present, vehicle communication node quantity It is further promoted, the load of vehicle CAN communication is caused to rise, and under traditional network communication protocol, bus communication generallys use 2 Kind communication modes, one is message mode is sent using the set time, another kind is using event triggering transmission message mode.This Bus load, while both communication modes sheets can not be effectively reduced under the premise of electric function increase in two kinds of communication modes Body haves the defects that certain, if there is under update status data information in the former message, node still can send the message, Bus communication bandwidth is wasted, unnecessary communication load is increased.It is logical that bus is added when having node after the completion of event triggering in the latter News, then only waiting until event triggering next time, which can just receive the triggering information, if the trigger event is not touched Hair, then the node can not will receive always, causes information communication not can guarantee.
Summary of the invention
The present invention provides a kind of method and system of automobile bus load reduction, when solving the communication of existing vehicle CAN bus There is a problem of that load is big and communication efficiency is low, the real-time and safety of vehicle communication can be improved.
In order to achieve the above object, the present invention the following technical schemes are provided:
A kind of method of automobile bus load reduction, comprising:
The message sending cycle, request responding time intervals and triggering transmission condition of CAN bus message are set;
Obtain CAN bus message transmission request signal, and according to the message sending cycle in CAN bus other sections Point periodically sends message;
Judge whether the CAN bus message carries out data update, if it is, according to the request interresponse time Message is sent to each node.
Preferably, further includes:
Judge whether the CAN bus message meets the triggering transmission condition, if it is, obtaining CAN bus message Request response time in bus, and the CAN bus message is sent by the request response time, wherein the request Response time is the response time of bus alternation of bed response application layer request.
Preferably, further includes:
According to the message sending cycle, the common period for sending message in CAN bus, the open period are determined For the integral multiple of the message sending cycle;
Judge whether the CAN bus message carries out data update or meet the trigger condition, if it is not, then will be described CAN bus message sends message to each node by the common period.
Preferably, further includes:
The priority of the CAN bus message is obtained, and according to the common period CAN corresponding to each priority Bus message is ranked up transmission.
The present invention also provides a kind of systems of automobile bus load reduction, comprising:
Message setting unit, for the message sending cycle, request responding time intervals and triggering transmission of CAN bus message to be arranged Condition;
Period sends control unit, sends for obtaining the transmission request signal of CAN bus message, and according to the message Period other nodes in CAN bus periodically send message;
Interval sends control unit, for judging whether the CAN bus message carries out data update, if it is, root Message is sent to each node according to the request interresponse time.
Preferably, further includes:
Triggering transmission control unit, for judging whether the CAN bus message meets the triggering transmission condition, if It is then to obtain request response time of the CAN bus message in bus, and it is total to press the request response time transmission CAN Report from a liner text, wherein the request response time is the response time of bus alternation of bed response application layer request.
Preferably, further includes:
Public transmission control unit, for according to the message sending cycle, determining the transmission message in CAN bus Common period, the open period are the integral multiple of the message sending cycle;And judge whether the CAN bus message carries out Data update or meet the trigger condition, if it is not, then the CAN bus message is sent out by the common period to each node It delivers newspaper text.
Preferably, further includes:
Ordering control unit, for obtaining the priority of the CAN bus message, and according to the common period to each excellent The corresponding CAN bus message of grade is selected to be ranked up transmission.
The present invention provides a kind of method and system of automobile bus load reduction, passes through the report that CAN bus message is arranged Literary sending cycle, request responding time intervals and triggering transmission condition be configured, enable CAN bus message by message sending cycle to Each node periodicity sending also sends message by request responding time intervals when message is updated, and does not need the transmission of CAN bus message Frequently send.It solves the problems, such as that big in the presence of load when the communication of existing vehicle CAN bus and communication efficiency is low, vehicle communication can be improved Real-time and safety.
Detailed description of the invention
In order to illustrate more clearly of specific embodiments of the present invention, attached drawing needed in the embodiment will be made below Simply introduce.
Fig. 1: being a kind of method schematic diagram of automobile bus load reduction provided by the invention.
Specific embodiment
The scheme of embodiment in order to enable those skilled in the art to better understand the present invention with reference to the accompanying drawing and is implemented Mode is described in further detail the embodiment of the present invention.
Sending easily for current automobile CAN-bus message has that load is big and communication efficiency is low.The present invention provides A kind of method and system of automobile bus load reduction are responded by message sending cycle that CAN bus message is arranged, request Interval and triggering transmission condition are configured, and enable CAN bus message by message sending cycle to each node periodicity sending, Message is sent by request responding time intervals when message is updated, the transmission of CAN bus message is made not need frequently to send.It solves existing whole Vehicle CAN bus has that load is big and communication efficiency is low when communicating, can improve the real-time and safety of vehicle communication.
As shown in Figure 1, a kind of method of automobile bus load reduction, comprising:
S1: message sending cycle, request responding time intervals and the triggering transmission condition of setting CAN bus message.
S2: obtain CAN bus message transmission request signal, and according to the message sending cycle in CAN bus its Its node periodically sends message.
S3: judging whether the CAN bus message carries out data update, if it is, according to the request responding time intervals Time sends message to each node.
This method is provided simultaneously with periodic transfer and random transmission, i.e. infomational message data for the transmission of CAN bus message When not updating, it will transmitted with periodic formation always, after infomational message data update, will be transmitted immediately.Vehicle can be improved The real-time and communication efficiency of communication.
This method further include:
S4: judging whether the CAN bus message meets the triggering transmission condition, if it is, obtaining CAN bus report Request response time of the text in bus, and the CAN bus message is sent by the request response time, wherein it is described to ask Asking the response time is the response time of bus alternation of bed response application layer request.
In practical applications, in order to avoid infomational message data frequently change, high-frequency is caused to be transmitted, defines one: " most Request response time of small transmission intercal time again " i.e., will not even if information data changes in this time interval Message is triggered to send.
In one embodiment, traditional BCM communication modes have fixed message communication modes and event triggering communication modes such as table 1 It is shown, it is as shown in table 2 using new method communication modes.
Table 1
Table 2
Wherein, triggering transmission condition mainly uses event triggered fashion, sends message without specific sending time, in order to keep away Exempt to cause event message frequently to send because event frequently triggers, occupy bus, settable message minimum interval is 10ms.Meanwhile Since set time sending method has event triggering communication modes, Realtime Capability of Communication has promotion, so it is fixed Time can be further amplified 10 times.After data information changes, the message is sent immediately, to avoid data information not It when changing, repeats to send historical data, causes to waste bus load situation, while event being triggered and increases by one on message Fixed sending cycle, avoiding not triggering because of event causes individual rear online nodes that can not receive message situation.It can from table Out, compared with traditional message transmitting party formula, 154.8 messages are reduced using mixing message transmitting party formula, i.e. bus load drops Low 57.63%.
This method further include:
S5: according to the message sending cycle, the common period for sending message, the disclosure in CAN bus are determined Period is the integral multiple of the message sending cycle;
S6: judging whether the CAN bus message carries out data update or meet the trigger condition, if it is not, then will The CAN bus message sends message to each node by the common period.
This method further include:
S7: the priority of the CAN bus message is obtained, and corresponding to each priority described according to the common period CAN bus message is ranked up transmission.
As it can be seen that the present invention provides a kind of method of automobile bus load reduction, pass through the message that CAN bus message is arranged Sending cycle, request responding time intervals and triggering transmission condition are configured, and enable CAN bus message by message sending cycle to each Node periodicity sending also sends message by request responding time intervals when message is updated.When solving the communication of existing vehicle CAN bus There is a problem of that load is big and communication efficiency is low, the real-time and safety of vehicle communication can be improved.
The present invention also provides a kind of systems of automobile bus load reduction, comprising: message setting unit, for CAN to be arranged Message sending cycle, request responding time intervals and the triggering transmission condition of bus message.Period sends control unit, for obtaining The transmission request signal of CAN bus message, and other nodes are periodically sent out in CAN bus according to the message sending cycle It delivers newspaper text.Interval sends control unit, for judging whether the CAN bus message carries out data update, if it is, according to The request interresponse time sends message to each node.
The system further include: triggering transmission control unit, for judging whether the CAN bus message meets the triggering Transmission condition if it is, obtaining request response time of the CAN bus message in bus, and presses the request response time Send the CAN bus message, wherein when the request response time is the response of bus alternation of bed response application layer request Between.
The system further include: public transmission control unit, for determining in CAN bus according to the message sending cycle The common period for sending message, the open period are the integral multiple of the message sending cycle;And judge that the CAN is total Whether report from a liner text carries out data update or meets the trigger condition, if it is not, then by the CAN bus message by described public Period sends message to each node.
The system further include: ordering control unit, for obtaining the priority of the CAN bus message, and according to described The common period CAN bus message corresponding to each priority is ranked up transmission.
As it can be seen that the present invention provides a kind of system of automobile bus load reduction, pass through the message that CAN bus message is arranged Sending cycle, request responding time intervals and triggering transmission condition are configured, and enable CAN bus message by message sending cycle to each Node periodicity sending also sends message by request responding time intervals when message is updated.When solving the communication of existing vehicle CAN bus There is a problem of that load is big and communication efficiency is low, the real-time and safety of vehicle communication can be improved.
Structure, feature and effect of the invention, the above institute is described in detail according to diagrammatically shown embodiment above Only presently preferred embodiments of the present invention is stated, but the present invention does not limit the scope of implementation as shown in the drawings, it is all according to structure of the invention Think made change or equivalent example modified to equivalent change, when not going beyond the spirit of the description and the drawings, It should all be within the scope of the present invention.

Claims (8)

1. a kind of method of automobile bus load reduction characterized by comprising
The message sending cycle, request responding time intervals and triggering transmission condition of CAN bus message are set;
The transmission request signal of CAN bus message is obtained, and other nodes are all in CAN bus according to the message sending cycle The transmission message of phase property;
Judge whether the CAN bus message carries out data update, if it is, according to the request interresponse time to each Node sends message.
2. the method for automobile bus load reduction according to claim 1, which is characterized in that further include:
Judge whether the CAN bus message meets the triggering transmission condition, if it is, obtaining CAN bus message total Request response time on line, and the CAN bus message is sent by the request response time, wherein the request response Time is the response time of bus alternation of bed response application layer request.
3. the method for automobile bus load reduction according to claim 2, which is characterized in that further include:
According to the message sending cycle, the common period for sending message in CAN bus is determined, the open period is institute State the integral multiple of message sending cycle;
Judge whether the CAN bus message carries out data update or meet the trigger condition, if it is not, then by the CAN Bus message sends message to each node by the common period.
4. the method for automobile bus load reduction according to claim 3, which is characterized in that further include:
The priority of the CAN bus message is obtained, and according to the common period CAN bus corresponding to each priority Message is ranked up transmission.
5. a kind of system of automobile bus load reduction characterized by comprising
Message setting unit, for the message sending cycle, request responding time intervals and triggering transfer bar of CAN bus message to be arranged Part;
Period sends control unit, for obtaining the transmission request signal of CAN bus message, and according to the message sending cycle Other nodes periodically send message in CAN bus;
Interval sends control unit, for judging whether the CAN bus message carries out data update, if it is, according to institute It states request interresponse time and sends message to each node.
6. the system of automobile bus load reduction according to claim 5, which is characterized in that further include:
Triggering transmission control unit, for judging whether the CAN bus message meets the triggering transmission condition, if so, Request response time of the CAN bus message in bus is then obtained, and sends the CAN bus report by the request response time Text, wherein the request response time is the response time of bus alternation of bed response application layer request.
7. the system of automobile bus load reduction according to claim 6, which is characterized in that further include:
Public transmission control unit is determined and described in CAN bus sends the public of message for according to the message sending cycle Period, the open period are the integral multiple of the message sending cycle;And judge whether the CAN bus message carries out data The trigger condition is updated or met, is reported if it is not, then the CAN bus message is sent by the common period to each node Text.
8. the system of automobile bus load reduction according to claim 7, which is characterized in that further include:
Ordering control unit, for obtaining the priority of the CAN bus message, and according to the common period to each priority The corresponding CAN bus message is ranked up transmission.
CN201811549697.2A 2018-12-18 2018-12-18 A kind of method and system of automobile bus load reduction Pending CN109639543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811549697.2A CN109639543A (en) 2018-12-18 2018-12-18 A kind of method and system of automobile bus load reduction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811549697.2A CN109639543A (en) 2018-12-18 2018-12-18 A kind of method and system of automobile bus load reduction

Publications (1)

Publication Number Publication Date
CN109639543A true CN109639543A (en) 2019-04-16

Family

ID=66075094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811549697.2A Pending CN109639543A (en) 2018-12-18 2018-12-18 A kind of method and system of automobile bus load reduction

Country Status (1)

Country Link
CN (1) CN109639543A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111935027A (en) * 2020-09-03 2020-11-13 北京经纬恒润科技有限公司 Method and system for optimizing load of whole vehicle network
CN112903124A (en) * 2021-01-22 2021-06-04 安徽三联学院 Low-voltage cabinet wired temperature detection system and method thereof
CN113489633A (en) * 2021-06-29 2021-10-08 东风汽车集团股份有限公司 Vehicle-mounted gateway CAN-Ethernet storage and forwarding method and gateway equipment
WO2024060928A1 (en) * 2022-09-21 2024-03-28 湖南三一智能控制设备有限公司 Load balancing method and apparatus, data interaction method, apparatus and system, and vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060171410A1 (en) * 2004-11-25 2006-08-03 Seung-Wook Jung Dynamic priority based message transmitting apparatus, priority adjusting apparatus using the same, and dynamic priority message processing method
CN103095566A (en) * 2013-02-20 2013-05-08 北京经纬恒润科技有限公司 Message sending method
CN105721268A (en) * 2016-01-29 2016-06-29 北京汽车研究总院有限公司 Method and device for sending controller area network (CAN) bus message
CN108011904A (en) * 2016-10-31 2018-05-08 比亚迪股份有限公司 Method for sending information, method of reseptance, device and information transmission system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060171410A1 (en) * 2004-11-25 2006-08-03 Seung-Wook Jung Dynamic priority based message transmitting apparatus, priority adjusting apparatus using the same, and dynamic priority message processing method
CN103095566A (en) * 2013-02-20 2013-05-08 北京经纬恒润科技有限公司 Message sending method
CN105721268A (en) * 2016-01-29 2016-06-29 北京汽车研究总院有限公司 Method and device for sending controller area network (CAN) bus message
CN108011904A (en) * 2016-10-31 2018-05-08 比亚迪股份有限公司 Method for sending information, method of reseptance, device and information transmission system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111935027A (en) * 2020-09-03 2020-11-13 北京经纬恒润科技有限公司 Method and system for optimizing load of whole vehicle network
CN111935027B (en) * 2020-09-03 2022-03-25 北京经纬恒润科技股份有限公司 Method and system for optimizing load of whole vehicle network
CN112903124A (en) * 2021-01-22 2021-06-04 安徽三联学院 Low-voltage cabinet wired temperature detection system and method thereof
CN113489633A (en) * 2021-06-29 2021-10-08 东风汽车集团股份有限公司 Vehicle-mounted gateway CAN-Ethernet storage and forwarding method and gateway equipment
CN113489633B (en) * 2021-06-29 2022-06-17 东风汽车集团股份有限公司 Vehicle-mounted gateway CAN-Ethernet storage and forwarding method and gateway equipment
WO2024060928A1 (en) * 2022-09-21 2024-03-28 湖南三一智能控制设备有限公司 Load balancing method and apparatus, data interaction method, apparatus and system, and vehicle

Similar Documents

Publication Publication Date Title
CN109639543A (en) A kind of method and system of automobile bus load reduction
WO2021082301A1 (en) Sleep and wakeup method for in-vehicle hybrid network comprising in-vehicle ethernet
CN101304340B (en) Method and apparatus for monitoring resource condition as well as communication network
JP5444906B2 (en) Plant monitoring system, plant monitoring device, terminal device
KR100817098B1 (en) Information exchange system, management server, and method for reducing network load used in the same
CN105119793A (en) Identifier distribution method of sensor network CAN bus frame format
CN109040295B (en) Method and device for determining abnormal disconnection, terminal and storage medium
CN104243611A (en) Distribution thought based message service middleware system
CN108551668B (en) Information transmission method, device, equipment and storage medium
WO2012013057A1 (en) Method, equipment and system for controlling short message center cluster
CN103891198A (en) Method for transmitting messages in a communications network
JP2016535558A (en) Mobile radio communication apparatus, network apparatus and method
CN100414915C (en) Method and system for switching between subnetwork operation and full network operation
CN101873710A (en) Optimization method of non-channel way CSMA-CA (Carrier Sense Multiple Access-Conflict Avoidance) algorithm based on IEEE802.15.4 standard
WO2013097363A1 (en) Method and system for scheduling data sharing device
CN107820277B (en) Parent node device for wireless network, terminal device and data transmission method thereof
DE112016002363T5 (en) COMMUNICATION DEVICE AND COMMUNICATION PROCESS
CN105141483B (en) Multinode network minimal communications measuring space method based on CAN bus
CN110445700B (en) Master-slave communication system and method and terminal equipment
TWI763136B (en) Methods for multidrop network system
EP2781124B1 (en) A method for enhancing data transfer across a wireless network arrangement
CN112968783B (en) Low-power-consumption processing method and device based on transmitted data
CN114567513B (en) Method for a multipoint network system
CN111371922B (en) Automatic setting algorithm for address of network node without master and slave in network
KR101593338B1 (en) Apparatus for lin communication of vehicle and control method thereof

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 230601 No. 99 Ziyun Road, Hefei Economic and Technological Development Zone, Anhui Province

Applicant after: Anhui Jianghuai Automobile Group Limited by Share Ltd

Address before: 230601 No. 669 Shixin Road, Taohua Industrial Park, Hefei City, Anhui Province

Applicant before: Anhui Jianghuai Automobile Group Limited by Share Ltd

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190416