CN111404784A - Direct network management method for rapidly monitoring OSEK/VDX - Google Patents

Direct network management method for rapidly monitoring OSEK/VDX Download PDF

Info

Publication number
CN111404784A
CN111404784A CN202010205776.2A CN202010205776A CN111404784A CN 111404784 A CN111404784 A CN 111404784A CN 202010205776 A CN202010205776 A CN 202010205776A CN 111404784 A CN111404784 A CN 111404784A
Authority
CN
China
Prior art keywords
network management
osek
message
module
vdx
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
CN202010205776.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.)
Jiangling Motors Corp Ltd
Original Assignee
Jiangling Motors Corp Ltd
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 Jiangling Motors Corp Ltd filed Critical Jiangling Motors Corp Ltd
Priority to CN202010205776.2A priority Critical patent/CN111404784A/en
Publication of CN111404784A publication Critical patent/CN111404784A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • H04L43/065Generation of reports related to network devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Mining & Analysis (AREA)

Abstract

The method for rapidly monitoring the OSEK/VDX direct network management can solve the problems that when the whole vehicle is abnormally awakened, only messages at the awakening moment can be recorded and analyzed through manual data, the specific time is difficult to confirm during awakening, and only bus messages can be detected for a long time; the method has the advantages that the OSEK/VDX direct network management strategy is rapidly monitored only by connecting the CANoe to the whole vehicle, when the whole vehicle is abnormally awakened, the report can be automatically generated, a module which particularly causes the abnormal awakening is positioned, and the stability and the reliability of the OSEK direct network management of the vehicle in the engineering development and verification stage can be effectively improved.

Description

Direct network management method for rapidly monitoring OSEK/VDX
Technical Field
The invention relates to the technical field of automobiles, in particular to a method for rapidly monitoring OSEK/VDX direct network management.
Background
With the development of automobile technology, modern automobiles have developed in the direction of safety, comfort and intelligence. The electronic control units on the automobile are more and more, and the network management of the electronic control units participating in the collaborative dormancy is more and more important.
The OSEK/VDX direct network management is the most common cooperative dormancy strategy at the present stage of an automobile electric control unit, when a certain electric control unit is not dormant or abnormally awakened, the whole automobile CAN network CAN be directly caused to work and feed power, so that when the whole automobile network is abnormal, how to quickly monitor the OSEK/VDX direct network management state and locate faults is very important. If the automobile is abnormally awakened by a certain electric control unit after the whole automobile is in a dormant state, the electric control units participating in the cooperative dormant state are all awakened to enter a working state, and the whole automobile storage battery is fed; if a certain electric control unit abnormally wakes up the CAN network of the whole vehicle and then enters the dormancy again, the state of the network for invisibly waking up the whole vehicle is difficult to be found, and the feed of the whole vehicle is easy to occur.
Disclosure of Invention
In order to realize real-time monitoring of a whole vehicle network in engineering development and verification stages and direct network management of the OSEK of the whole vehicle for driving protection, the invention provides a direct network management method for rapidly monitoring the OSEK/VDX, which has the following specific technical scheme: a method for rapidly monitoring OSEK/VDX direct network management comprises the following steps:
(1) extracting an OSEK network management message of the CAN bus;
(2) generating an analysis report file and storing a CAN bus data stream file;
(3) judging the message type, OSEK network management message, non-OSEK network management message or error frame;
(4) correspondingly operating a corresponding strategy, when receiving an OSEK network management message, indicating that the network segment enters a Normal state, continuously operating all electric control units participating in network management in the network segment, recording the first network management message and time of the network segment, and simultaneously stopping recording an application message mark; when the OSEK network management message is an OSEK network management message of Sleep ack (Sleep acknowledgement), the network segment enters a Sleep state, all electric control units participating in network management in the network segment stop sending the message, the network segment is switched to a Sleep mode, and the time point of the Sleep of the network segment and related messages are recorded; when receiving the non-OSEK network management message or error frame, indicating that the network segment is possible to be awakened, recording the related message content and time point of the network segment, wherein the recording frequency is less than or equal to 3 times.
Furthermore, the management method is based on CAP L (Communication Access Programming L algorithm) language, and employs the CA LL Back function and interrupt function of the system to process the related strategy.
Furthermore, the CANoe of Vertor is adopted to monitor all CAN buses participating in OSEK/VDX direct network management of the whole vehicle.
Further, the CAN bus is BodyCAN, TelemicCAN or CCAN.
Further, the system comprises a PreStart module and a PreStop module, wherein the PreStart module comprises a report file path setting module, a report file path acquiring module, a report file name setting module, a report file default setting module, a report file path setting module, a report file name setting module, a report file default setting module, a report file path setting module, a report; the Prestart module includes acquiring the current time of the system, reporting the end time of file recording, and closing the related files.
Furthermore, the whole vehicle is in a dormant state before running, and a file storage path and a name are initialized.
The invention aims to implement the state monitoring of all nodes on the current network and ensure that all nodes enter a dormant state at the same time. The status of each node may be monitored by other nodes on the network, and thus the monitored nodes will send network management messages onto the network. Direct network management requires network management of the entire network to be synchronized by the token ring. In the direct network management, the stations perform complex state conversion and form a logic ring structure; the state of other stations is actively monitored and reported by sending message messages in the logic ring, so that each station can obtain the state information of the whole network within a certain delay.
The method for rapidly monitoring the OSEK/VDX direct network management can solve the problem that when the whole vehicle is abnormally awakened, only messages at the awakening moment can be manually recorded and analyzed, the specific time is difficult to confirm during awakening, and only bus messages can be detected for a long time; the method has the advantages that the OSEK/VDX direct network management strategy is rapidly monitored only by connecting the CANoe to the whole vehicle, when the whole vehicle is abnormally awakened, the report can be automatically generated, a module which particularly causes the abnormal awakening is positioned, and the stability and the reliability of the OSEK direct network management of the vehicle in the engineering development and verification stage can be effectively improved.
Drawings
FIG. 1 is a flow chart of the method of the present invention;
FIG. 2 is an exemplary diagram of an OSEK-VDX direct network management message frame;
FIG. 3 OSEK-VDX direct network management report example;
FIG. 4 PreStart Process flow diagram;
FIG. 5 is a Prestop process flow diagram;
FIG. 6 is a flow diagram of OSEK network management message processing;
FIG. 7 is a flow diagram of non-OSEK network management message processing;
fig. 8 is a flow chart of error frame processing.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in the attached figure 1, the steps of the scheme are as follows
(1) Extracting an OSEK network management message of the CAN bus;
(2) generating an analysis report file and storing a CAN bus data stream file;
(3) judging the message type, OSEK network management message, non-OSEK network management message or error frame;
(4) correspondingly operating a corresponding strategy, when receiving an OSEK network management message, indicating that the network segment enters a Normal state, continuously operating all electric control units participating in network management in the network segment, recording the first network management message and time of the network segment, and simultaneously stopping recording an application message mark; when the OSEK network management message is an OSEK network management message of Sleep ack (Sleep acknowledgement), the network segment enters a Sleep state, all electric control units participating in network management in the network segment stop sending the message, the network segment is switched to a Sleep mode, and the time point of the Sleep of the network segment and related messages are recorded; when receiving the non-OSEK network management message or error frame, indicating that the network segment is possible to be awakened, recording the related message content and time point of the network segment, wherein the recording frequency is less than or equal to 3 times.
The management method is based on CAP L (Communication Access Programming L algorithm) language, and applies the CA LL Back function and interrupt function of the system to process the related strategy.
And monitoring all CAN buses participating in OSEK/VDX direct network management of the whole vehicle by using the CANoe of Vertor.
The CAN bus is BodyCAN, TelemicCAN or CCAN.
Example 1
In the embodiment, CANoe of Vector is used for monitoring all CAN buses (such as BodyCAN, Telemiccan and CCAN) participating in OSEK/VDX direct network management of the whole vehicle, compiling automatic monitoring software CAP L (Communication Access planning L arrangement), extracting OSEK network management messages from the buses in real time, analyzing the messages, automatically generating report files and saving bus data stream files.
Firstly, the whole vehicle is in a dormant state by default before the software starts to run, and file saving paths and names are initialized (the names are named by adding timestamps, the software automatically acquires the Beijing time of the current PC, if the result file name is Report _20191018_093546.txt, and the bus data file name is Trace _20191018_093546. asc). After the software runs, the management of two modes (Sleep mode and Normal mode) is entered.
The network management state of the current vehicle can be quickly and intuitively known through the automatically generated report file; when the bus is sleeping and when it is being woken up by which ecu, as shown in fig. 3.
Normal mode:
when receiving an OSEK network management message of a SleepAck sent by a bus, namely the network segment enters a Sleep state, and all electric control units participating in network management in the network segment stop sending messages, switching the network state of the network segment to a Sleep mode, and recording the time point of the Sleep of the network segment and related messages.
Sleep mode:
1) when receiving a non-OSEK network management message or an error frame, the network segment is possibly awakened (because the network segment can only be awakened by the OSEK network management message within the time from the electronic control node receiving sleep confirmation (SleepAck) to the tWaitBusSleep when the ECU sleeps; but after the time of tWaitBusSleep, the network segment can be awakened by any message (containing error frames), and the message content and the time point (at most 3 times) related to the network segment are recorded.
2) When receiving OSEK network management message, namely indicating that the network segment enters a Normal state, and all electric control units participating in network management in the network segment continuously enter the network, switching the network state of the network segment to a Normal mode, recording the network management message and time of the network segment for the first time, and simultaneously stopping recording application message marks; because the OSEK network management message can wake up the bus at any time, and if the bus is woken up by a non-OSEK network management message, the bus will also send out the OSEK network management message.
The mode switching is designed based on the CAP L language, and the related policies are handled by using the CA LL Back function and the interrupt function of the system, specifically, PreStart (initialization process before start) as shown in fig. 4, Message _ OSEK (receiving OSEK management Message entry) as shown in fig. 6, Message _ other (receiving non-OSEK management Message entry) as shown in fig. 7, error frame (error frame entry) as shown in fig. 8, and PreStop (ending process before stop) as shown in fig. 5.
The direct network management of the OSEK/VDX can be rapidly monitored, and the stability and the reliability of the direct network management of the vehicle OSEK in the engineering development and verification stage can be effectively improved.
Although the preferred embodiments of the present patent have been described in detail, the present patent is not limited to the above embodiments, and various changes can be made without departing from the spirit of the present patent within the knowledge of those skilled in the art.

Claims (6)

1. A method for rapidly monitoring OSEK/VDX direct network management is characterized in that: the method comprises the following steps:
(1) extracting an OSEK network management message of the CAN bus;
(2) generating an analysis report file and storing a CAN bus data stream file;
(3) judging the message type, OSEK network management message, non-OSEK network management message or error frame;
(4) correspondingly operating a corresponding strategy, when receiving an OSEK network management message, indicating that the network segment enters a Normal state, continuously operating all electric control units participating in network management in the network segment, recording the first network management message and time of the network segment, and simultaneously stopping recording an application message mark; when the OSEK network management message is an OSEK network management message of Sleep ack (Sleep acknowledgement), the network segment enters a Sleep state, all electric control units participating in network management in the network segment stop sending the message, the network segment is switched to a Sleep mode, and the time point of the Sleep of the network segment and related messages are recorded; when receiving the non-OSEK network management message or error frame, indicating that the network segment is possible to be awakened, recording the related message content and time point of the network segment, wherein the recording frequency is less than or equal to 3 times.
2. The direct network management method for rapidly monitoring OSEK/VDX as claimed in claim 1, wherein the management method is based on CAP L language.
3. The method of claim 1, wherein the method comprises the following steps: and monitoring all CAN buses participating in OSEK/VDX direct network management of the whole vehicle by using the CANoe of Vertor.
4. The method of claim 3, wherein the OSEK/VDX direct network management method comprises: the CAN bus is BodyCAN, TelemicCAN or CCAN.
5. The method of claim 1, wherein the method comprises the following steps: a PreStart module and a PreStop module are also included,
the Prestart module comprises a report file path setting module, a report file path acquiring module, a report file name setting module, a report file default setting module, a report file reading module and a report file starting module, wherein the report file path setting module is used for setting a report file path, acquiring the current time of a system, setting a file name, setting a system default setting module, reading; the Prestart module includes acquiring the current time of the system, reporting the end time of file recording, and closing the related files.
6. The method of claim 5, wherein the OSEK/VDX direct network management method comprises: setting the whole vehicle in a dormant state before starting running, and initializing a file storage path and a name.
CN202010205776.2A 2020-03-23 2020-03-23 Direct network management method for rapidly monitoring OSEK/VDX Pending CN111404784A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010205776.2A CN111404784A (en) 2020-03-23 2020-03-23 Direct network management method for rapidly monitoring OSEK/VDX

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010205776.2A CN111404784A (en) 2020-03-23 2020-03-23 Direct network management method for rapidly monitoring OSEK/VDX

Publications (1)

Publication Number Publication Date
CN111404784A true CN111404784A (en) 2020-07-10

Family

ID=71431057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010205776.2A Pending CN111404784A (en) 2020-03-23 2020-03-23 Direct network management method for rapidly monitoring OSEK/VDX

Country Status (1)

Country Link
CN (1) CN111404784A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112558590A (en) * 2020-12-08 2021-03-26 广州橙行智动汽车科技有限公司 Network management abnormity monitoring method, system, vehicle and readable storage medium
CN112615767A (en) * 2020-12-04 2021-04-06 东风商用车有限公司 Whole vehicle network management method and system
CN113763592A (en) * 2021-07-29 2021-12-07 江铃汽车股份有限公司 Vehicle feed detection method and system, readable storage medium and computer equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101547118A (en) * 2009-04-20 2009-09-30 浙江大学 Dynamic network management method based on an OSEK network management mechanism
CN101795245A (en) * 2010-03-20 2010-08-04 中国第一汽车集团公司 C302-model gateway control unit
CN102801551A (en) * 2012-03-14 2012-11-28 中国汽车技术研究中心 Open systems and the corresponding interfaces for automotive electronics (OSEK) network management-based controller area network (CAN) management method
CN103676939A (en) * 2013-12-18 2014-03-26 重庆长安汽车股份有限公司 Automatic test system based on OSEK direct network management mechanism
CN203759531U (en) * 2013-12-18 2014-08-06 重庆长安汽车股份有限公司 Automatic test system based on OSEK direct network management mechanism
CN104199351A (en) * 2014-08-21 2014-12-10 东南(福建)汽车工业有限公司 Automobile bus dormancy waking-up method
CN106302060A (en) * 2016-07-26 2017-01-04 广州汽车集团股份有限公司 A kind of car load dormancy awakening method, system and automotive CAN network gateway
CN106603314A (en) * 2017-01-25 2017-04-26 安徽江淮汽车集团股份有限公司 Test system and test method for OSEK-based direct network management
CN107911260A (en) * 2017-10-30 2018-04-13 华晨汽车集团控股有限公司 A kind of vehicle test system based on OSEC network managements
CN108123838A (en) * 2017-12-21 2018-06-05 北京经纬恒润科技有限公司 Node state management method and node state managing device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101547118A (en) * 2009-04-20 2009-09-30 浙江大学 Dynamic network management method based on an OSEK network management mechanism
CN101795245A (en) * 2010-03-20 2010-08-04 中国第一汽车集团公司 C302-model gateway control unit
CN102801551A (en) * 2012-03-14 2012-11-28 中国汽车技术研究中心 Open systems and the corresponding interfaces for automotive electronics (OSEK) network management-based controller area network (CAN) management method
CN103676939A (en) * 2013-12-18 2014-03-26 重庆长安汽车股份有限公司 Automatic test system based on OSEK direct network management mechanism
CN203759531U (en) * 2013-12-18 2014-08-06 重庆长安汽车股份有限公司 Automatic test system based on OSEK direct network management mechanism
CN104199351A (en) * 2014-08-21 2014-12-10 东南(福建)汽车工业有限公司 Automobile bus dormancy waking-up method
CN106302060A (en) * 2016-07-26 2017-01-04 广州汽车集团股份有限公司 A kind of car load dormancy awakening method, system and automotive CAN network gateway
CN106603314A (en) * 2017-01-25 2017-04-26 安徽江淮汽车集团股份有限公司 Test system and test method for OSEK-based direct network management
CN107911260A (en) * 2017-10-30 2018-04-13 华晨汽车集团控股有限公司 A kind of vehicle test system based on OSEC network managements
CN108123838A (en) * 2017-12-21 2018-06-05 北京经纬恒润科技有限公司 Node state management method and node state managing device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112615767A (en) * 2020-12-04 2021-04-06 东风商用车有限公司 Whole vehicle network management method and system
CN112615767B (en) * 2020-12-04 2022-08-12 东风商用车有限公司 Whole vehicle network management method and system
CN112558590A (en) * 2020-12-08 2021-03-26 广州橙行智动汽车科技有限公司 Network management abnormity monitoring method, system, vehicle and readable storage medium
CN113763592A (en) * 2021-07-29 2021-12-07 江铃汽车股份有限公司 Vehicle feed detection method and system, readable storage medium and computer equipment

Similar Documents

Publication Publication Date Title
CN112491671B (en) Method and system for monitoring whole vehicle feed problem and vehicle CAN network gateway
CN111404784A (en) Direct network management method for rapidly monitoring OSEK/VDX
CN112380045B (en) Vehicle abnormality detection method, device, equipment and storage medium
US20200341534A1 (en) Method for transmitting and receiving wake-up signal in vehicle network
CN103676816B (en) For the system and method for the integrated network for controlling vehicle
CN109992464B (en) VCU automatic test method for integrated application layer software refreshing
CN114024864B (en) Dormancy anomaly detection method based on AUTOSAR network management
CN112269371B (en) Vehicle network dormancy abnormal event monitoring method
CN106020415B (en) Application control method and device under smart machine standby mode
CN113064403A (en) Controller state monitoring method based on OSEK network management
CN112306044A (en) Method and system for monitoring non-dormancy abnormity of bus network of whole vehicle
CN105313719B (en) A kind of entire car controller and its wakeup process monitoring method
CN112148538A (en) Complete vehicle fault identification method, device and system, vehicle and computer readable storage medium
JP2023547782A (en) ECU management method in a vehicle, ECU and readable storage medium
CN111624902A (en) Control method and device for dormancy and awakening
CN114978883A (en) Network wake-up management method and device, electronic equipment and storage medium
CN112389352A (en) Finished automobile static current management system and method
CN111625282B (en) Multi-subnet cooperative sleep method and system based on CAN bus
CN112835735A (en) Method and system for solving abnormal sleeping and abnormal awakening of vehicle and vehicle
CN114679767B (en) Controller state identification method and device, domain controller and central gateway
CN114675620A (en) Wake-up monitoring method and device
CN115208792B (en) Multi-network-segment whole-vehicle CAN network anomaly monitoring method based on Autosar network management
CN113923695A (en) Awakening fault detection method and device and message sending method and device
CN114697154B (en) Dormancy and wakeup control method
US20220179663A1 (en) Network system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200710