KR101673303B1 - 와치독 제어 방법 및 장치 - Google Patents
와치독 제어 방법 및 장치 Download PDFInfo
- Publication number
- KR101673303B1 KR101673303B1 KR1020140157074A KR20140157074A KR101673303B1 KR 101673303 B1 KR101673303 B1 KR 101673303B1 KR 1020140157074 A KR1020140157074 A KR 1020140157074A KR 20140157074 A KR20140157074 A KR 20140157074A KR 101673303 B1 KR101673303 B1 KR 101673303B1
- Authority
- KR
- South Korea
- Prior art keywords
- watchdog
- error
- count
- reset
- task
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0751—Error or fault detection not based on redundancy
- G06F11/0754—Error or fault detection not based on redundancy by exceeding limits
- G06F11/0757—Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0706—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
- G06F11/0736—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function
- G06F11/0739—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in functional embedded systems, i.e. in a data processing system designed as a combination of hardware and software dedicated to performing a certain function in a data processing system embedded in automotive or aircraft systems
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
Abstract
Description
도 1은 본 발명의 일 실시예에 따른 와치독 제어 장치의 구성도이다.
도 2는 본 발명의 일 실시예에 따른 오류 감지에 따른 와치독 경고 및 리셋 타이밍을 설명하기 위한 도면이다.
도 3은 본 발명의 일 실시예에 따른 와치독 제어 장치에서의 와치독 제어 방법을 설명하기 위한 순서도이다.
도 4는 본 발명의 일 실시예에 따른 재부팅에 따른 와치독 제어 방법을 설명하기 위한 순서도이다.
도 5는 본 발명의 다른 일 실시예에 따른 재부팅에 따른 와치독 제어 방법을 설명하기 위한 순서도이다.
도 6은 본 발명의 일 실시예에 따른 와치독 리셋 정보 테이블이다.
도 7은 본 발명의 일 실시예에 따른 와치독 제어 절차를 설명하기 위한 개념도이다.
도 8은 본 발명의 일 실시예에 따른 재부팅 시 와치독 제어 절차를 설명하기 위한 개념도이다.
도 9는 본 발명의 일 실시예에 따른 와치독 제어 장치의 계층 구조를 설명하기 위한 블록도이다.
도 10은 본 발명의 일 실시예에 따른 와치독 제어 장치에서의 와치독 제어 타이밍을 설명하기 위한 도면이다.
30: 와치독 제어 장치 100: 와치독 제어 장치
210: 와치독 카운트 클리어 레벨 220: 와치독 경고 레벨
230: 와치독 타임아웃 레벨
600: 와치독 리셋 정보 테이블
910: 서비스 계층
920: 드라이버 계층
930: 디바이스 계층
Claims (18)
- 제어기에서의 와치독 제어 방법에 있어서,
상기 제어기상의 오류가 감지되면 와치독 카운트를 소정 와치독 경고 레벨과 비교하여 상기 감지된 오류에 대한 대응 여부를 판단하는 단계;
상기 판단 결과, 상기 오류에 대한 대응이 필요하면, 상기 감지된 오류와 관련된 프로그램 그룹 정보 및 상기 프로그램 그룹에 대응되는 와치독 리셋 카운트를 증가시켜 메모리에 저장하는 단계; 및
상기 프로그램 그룹 내 상기 오류를 발생시킨 태스크를 식별하여 상기 식별된 태스크 정보를 상기 메모리에 저장한 후 상기 제어기를 리셋시키는 단계
를 포함하되, 상기 와치독 리셋 카운트가 소정 최대 리셋 카운트에 도달하면, 상기 프로그램 그룹을 스케줄링 대상에서 제외하거나 또는 상기 식별된 태스크에 대응되는 대체 프로그램을 수행하는 대체 태스크를 상기 프로그램 그룹에 포함하여 스케줄링을 수행하는, 와치독 제어 방법. - 삭제
- 제1항에 있어서,
상기 오류는 상기 와치독 카운트가 소정 와치독 카운트 클리어 레벨을 초과하면 감지되는, 와치독 제어 방법. - 삭제
- 삭제
- 제1항에 있어서,
상기 메모리는 비휘발성 메모리인, 와치독 제어 방법. - 제1항에 있어서,
상기 제어기상의 오류를 감지하기 위한 복수의 와치독 채널을 포함하는, 와치독 제어 방법. - 제7항에 있어서,
상기 와치독 채널은 내부(Internal) 와치독 채널 및 외부(External) 와치독 채널을 포함하는, 와치독 제어 방법. - 제7항에 있어서,
상기 와치독 채널 별 와치독 트리거링 주기 및 와치독 타임아웃 레벨이 설정 가능한, 와치독 제어 방법. - 제8항에 있어서,
상기 외부 와치독 채널은 디지털 입/출력 인터페이스(Digital Input/Output Interface) 채널, 주변 장치용 직렬 인터페이스(SPI: Serial Peripheral Interface) 채널 중 적어도 하나를 포함하는, 와치독 제어 방법. - 제7항에 있어서,
상기 와치독 채널에 따라 서로 상이한 오류 대응 방법이 정의되어 적용되는, 와치독 제어 방법. - 제어기에 구비되는 와치독 제어 장치에 있어서,
트리거 신호가 수신되면 와치독 카운트를 초기화시키는 와치독 디바이스;
와치독 태스크를 실행하여 상기 트리거 신호를 상기 와치독 디바이스에 전송하고, 상기 와치독 카운트를 소정 와치독 경고 레벨과 비교하여 오류에 대한 대응 여부를 판단하고, 상기 와치독 디바이스로부터의 리셋 신호가 수신되면 상기 제어기를 재구동시키는 마이크로프로세서; 및
상기 판단 결과, 상기 대응이 필요한 경우, 상기 마이크로프로세서에 의해 와치독 리셋 정보가 기록되며, 상기 제어기의 재구동시 상기 기록된 와치독 리셋 정보가 독출되는 메모리
를 포함하되, 상기 와치독 리셋 카운트가 소정 최대 리셋 카운트에 도달하면, 상기 마이크로프로세서가 상기 오류를 발생시킨 태스크에 대응되는 프로그램 그룹을 스케줄링 대상에서 제외하거나 또는 상기 오류를 발생시킨 태스크에 대응되는 대체 프로그램을 수행하는 대체 태스크를 상기 프로그램 그룹에 포함하여 스케줄링을 수행하는, 와치독 제어 장치. - 제12항에 있어서,
상기 와치독 리셋 정보는 상기 오류와 관련된 프로그램 그룹에 대한 정보, 상기 프로그램 그룹에 대응되는 와치독 리셋 카운트에 대한 정보, 상기 프로그램 그룹상에서의 상기 오류를 발생시킨 태스크에 대한 정보 중 적어도 하나를 포함하는, 와치독 제어 장치. - 삭제
- 삭제
- 제12항에 있어서,
상기 메모리는 비휘발성 메모리인, 와치독 제어 장치. - 제12항에 있어서,
상기 와치독 디바이스는 상기 트리거 신호가 수신되면 상기 와치독 카운트를 초기화시키는, 와치독 제어 장치. - 제어기상의 오류가 감지되면 와치독 카운트를 소정 와치독 경고 레벨과 비교하여 상기 감지된 오류에 대한 대응 여부를 판단하는 수단;
상기 판단 결과, 상기 오류에 대한 대응이 필요하면, 상기 감지된 오류와 관련된 프로그램 그룹 정보 및 상기 프로그램 그룹에 대응되는 와치독 리셋 카운트를 증가시켜 메모리에 저장하는 수단;
상기 와치독 카운트가 소정 와치독 타임아웃 레벨을 초과하면, 상기 프로그램 그룹 내 상기 오류를 발생시킨 태스크를 식별하여 상기 식별된 태스크 정보를 상기 메모리에 저장한 후 상기 제어기를 리셋시키는 수단; 및
상기 와치독 리셋 카운트가 소정 최대 리셋 카운트에 도달하면, 상기 프로그램 그룹을 스케줄링 대상에서 제외하거나 또는 상기 식별된 태스크에 대응되는 대체 프로그램을 수행하는 대체 태스크를 상기 프로그램 그룹에 포함하여 스케줄링을 수행하는 수단
을 기능화하기 위한 프로그램을 기록한 컴퓨터 판독 가능한 기록 매체.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020140157074A KR101673303B1 (ko) | 2014-11-12 | 2014-11-12 | 와치독 제어 방법 및 장치 |
| DE102015201443.6A DE102015201443A1 (de) | 2014-11-12 | 2015-01-28 | Verfahren und Vorrichtung zum Steuern eines Watchdog |
| US14/622,839 US9632855B2 (en) | 2014-11-12 | 2015-02-14 | Method and apparatus for controlling watchdog |
| CN201510096144.6A CN105988884B (zh) | 2014-11-12 | 2015-03-04 | 用于控制看门狗的方法和装置 |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020140157074A KR101673303B1 (ko) | 2014-11-12 | 2014-11-12 | 와치독 제어 방법 및 장치 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| KR20160056596A KR20160056596A (ko) | 2016-05-20 |
| KR101673303B1 true KR101673303B1 (ko) | 2016-11-22 |
Family
ID=55803037
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR1020140157074A Active KR101673303B1 (ko) | 2014-11-12 | 2014-11-12 | 와치독 제어 방법 및 장치 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US9632855B2 (ko) |
| KR (1) | KR101673303B1 (ko) |
| CN (1) | CN105988884B (ko) |
| DE (1) | DE102015201443A1 (ko) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR102219432B1 (ko) * | 2019-12-12 | 2021-02-26 | 현대모비스 주식회사 | 와치독 장치 및 그 제어 방법 |
Families Citing this family (22)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB201413836D0 (en) * | 2014-08-05 | 2014-09-17 | Arm Ip Ltd | Device security apparatus and methods |
| GB2540965B (en) | 2015-07-31 | 2019-01-30 | Arm Ip Ltd | Secure configuration data storage |
| GB2540961B (en) | 2015-07-31 | 2019-09-18 | Arm Ip Ltd | Controlling configuration data storage |
| KR102355424B1 (ko) * | 2017-09-13 | 2022-01-26 | 현대자동차주식회사 | 차량용 중앙 처리 장치를 제어하는 워치독 회로의 신뢰성을 향상시키는 장치 및 방법 |
| KR102258171B1 (ko) | 2017-12-15 | 2021-05-28 | 주식회사 엘지에너지솔루션 | 워치독 타이머를 진단하기 위한 장치 및 방법 |
| US10990319B2 (en) * | 2018-06-18 | 2021-04-27 | Micron Technology, Inc. | Adaptive watchdog in a memory device |
| CN109086154B (zh) * | 2018-07-26 | 2022-02-18 | 郑州云海信息技术有限公司 | 一种用于检测bios看门狗功能倒计时装置及方法 |
| CN109471749A (zh) * | 2018-11-06 | 2019-03-15 | 北京四方继保自动化股份有限公司 | 复位计数断电重启电路 |
| KR20200101682A (ko) * | 2019-02-20 | 2020-08-28 | 삼성전자주식회사 | 전자 장치 및 그 제어 방법 |
| CN111124849A (zh) * | 2019-11-08 | 2020-05-08 | 苏州浪潮智能科技有限公司 | 一种服务器故障告警的方法、设备及介质 |
| CN114594991B (zh) * | 2020-12-03 | 2025-10-03 | 意法半导体股份有限公司 | 硬件加速器设备、对应的系统和操作方法 |
| CN113626229B (zh) * | 2021-06-23 | 2023-07-21 | 浙江零跑科技股份有限公司 | 一种基于sbc的电机控制芯片唤醒方法 |
| CN113806130B (zh) * | 2021-09-22 | 2023-08-08 | 广州通则康威智能科技有限公司 | 看门狗周期自适应方法、装置、计算机设备及存储介质 |
| CN113946148B (zh) * | 2021-09-29 | 2023-11-10 | 浙江零跑科技股份有限公司 | 一种基于多ecu协同控制的mcu芯片唤醒系统 |
| KR20230086440A (ko) * | 2021-12-08 | 2023-06-15 | 에스케이하이닉스 주식회사 | 저장 장치 및 그 동작 방법 |
| KR20230089448A (ko) * | 2021-12-13 | 2023-06-20 | 현대자동차주식회사 | 차량용 임베디드 제어기의 리셋 원인 결정 방법 및 그 방법이 적용된 차량용 임베디드 제어기 |
| CN114924859B (zh) * | 2022-05-30 | 2024-05-17 | 苏州浪潮智能科技有限公司 | 一种无看门狗中断的程序数据保留方法、装置及存储介质 |
| CN115858224A (zh) * | 2022-12-26 | 2023-03-28 | 苏州浪潮智能科技有限公司 | 触发看门狗复位的方法、装置、设备、介质和产品 |
| DE102023111017A1 (de) * | 2023-04-28 | 2024-10-31 | Valeo Schalter Und Sensoren Gmbh | Integrierter Steuerungsschaltkreis für eine Recheneinheit und Recheneinheit für ein Kraftfahrzeug |
| KR102634650B1 (ko) * | 2023-07-11 | 2024-02-13 | 인터콘시스템스 주식회사 | 엠씨유 리셋 횟수 제한 설정 회로 |
| CN117130832B (zh) * | 2023-10-25 | 2024-02-23 | 南京芯驰半导体科技有限公司 | 多核异构系统的监控复位方法、系统、芯片及电子设备 |
| CN118656246B (zh) * | 2024-08-20 | 2024-12-27 | 中国第一汽车股份有限公司 | 一种域控制器的外部看门狗监控系统 |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101449274B1 (ko) * | 2013-04-23 | 2014-10-08 | 현대오트론 주식회사 | 유효 채널을 이용하는 와치독 및 그 동작방법 |
Family Cites Families (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100311366B1 (ko) | 1994-11-28 | 2002-02-19 | 구자홍 | 워치독타이머기능을갖는콘트롤러 |
| KR20030049442A (ko) * | 2001-12-15 | 2003-06-25 | 주식회사 하이닉스반도체 | 리셋 회로 |
| KR100495367B1 (ko) * | 2003-04-02 | 2005-06-14 | 엘지전자 주식회사 | 소프트웨어 워치도그를 이용한 시스템 관리방법 |
| KR100978713B1 (ko) | 2003-07-09 | 2010-08-30 | 엘지에릭슨 주식회사 | 시스템 리셋 원인 판별 장치 및 방법 |
| JP4784311B2 (ja) | 2006-01-11 | 2011-10-05 | 株式会社アドヴィックス | 車両用電子制御システム |
| JP2008059649A (ja) | 2006-08-30 | 2008-03-13 | Teac Corp | データ記録装置 |
| JP2008225807A (ja) | 2007-03-13 | 2008-09-25 | Yaskawa Electric Corp | 制御装置およびそのプログラム暴走監視方法 |
| JP5176405B2 (ja) | 2007-06-20 | 2013-04-03 | 株式会社明電舎 | コンピュータの異常検出・復旧方式 |
| KR100953510B1 (ko) | 2007-11-21 | 2010-04-21 | 주식회사 다산네트웍스 | 재기동 정보 관리 기능을 구비한 장치 |
| US20090204856A1 (en) * | 2008-02-08 | 2009-08-13 | Sinclair Colin A | Self-service terminal |
| CN101957790B (zh) * | 2009-11-26 | 2012-11-07 | 上海大学 | 微控制器多源看门狗的实现方法 |
| WO2012053110A1 (ja) * | 2010-10-22 | 2012-04-26 | 富士通株式会社 | 障害監視装置、障害監視方法及びプログラム |
| US9032258B2 (en) * | 2012-09-14 | 2015-05-12 | Infineon Technologies Ag | Safety system challenge-and-response using modified watchdog timer |
-
2014
- 2014-11-12 KR KR1020140157074A patent/KR101673303B1/ko active Active
-
2015
- 2015-01-28 DE DE102015201443.6A patent/DE102015201443A1/de active Pending
- 2015-02-14 US US14/622,839 patent/US9632855B2/en active Active
- 2015-03-04 CN CN201510096144.6A patent/CN105988884B/zh active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101449274B1 (ko) * | 2013-04-23 | 2014-10-08 | 현대오트론 주식회사 | 유효 채널을 이용하는 와치독 및 그 동작방법 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR102219432B1 (ko) * | 2019-12-12 | 2021-02-26 | 현대모비스 주식회사 | 와치독 장치 및 그 제어 방법 |
Also Published As
| Publication number | Publication date |
|---|---|
| US9632855B2 (en) | 2017-04-25 |
| CN105988884A (zh) | 2016-10-05 |
| CN105988884B (zh) | 2020-08-21 |
| US20160132378A1 (en) | 2016-05-12 |
| KR20160056596A (ko) | 2016-05-20 |
| DE102015201443A1 (de) | 2016-05-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101673303B1 (ko) | 와치독 제어 방법 및 장치 | |
| CN109032822B (zh) | 一种死机信息的保存方法和装置 | |
| US20060271916A1 (en) | Software process monitor | |
| US20040158702A1 (en) | Redundancy architecture of computer system using a plurality of BIOS programs | |
| JP6816345B2 (ja) | 駆動制御装置 | |
| JP5328720B2 (ja) | 情報処理装置 | |
| US10146626B2 (en) | Detecting and handling an expansion card fault during system initialization | |
| JP4643977B2 (ja) | プログラマブル・ロジック・デバイス、情報処理装置、プログラマブル・ロジック・デバイスの制御方法 | |
| CN108427609A (zh) | 控制器和控制程序更新方法 | |
| US10387260B2 (en) | Reboot system and reboot method | |
| US7558986B2 (en) | Software process monitor | |
| TWI509421B (zh) | 用於運算節點之可編程式件更新技術 | |
| US8332826B2 (en) | Software process monitor | |
| JP5994246B2 (ja) | 情報処理装置、情報処理方法及びプログラム | |
| JP6502211B2 (ja) | 車両制御装置 | |
| US9996134B2 (en) | Method to avoid over-rebooting of power supply device | |
| JP2016066139A (ja) | 車両制御装置 | |
| KR102438148B1 (ko) | 임베디드 컴퓨팅 모듈의 이상을 감지하는 이상 감지 장치, 시스템 및 방법 | |
| CN120045423A (zh) | 应用程序的运行监测方法和装置、存储介质及电子设备 | |
| EP1891527B1 (en) | SOFTWARE PROCESS MONITOR for detecting and recovering from abnormal process termination | |
| US9176830B2 (en) | Method for determining software error in virtualization based integrated control system | |
| US10108499B2 (en) | Information processing device with watchdog timer | |
| US8972786B2 (en) | Starting a field device | |
| US20140047136A1 (en) | Localized device missing delay timers in sas/sata topology | |
| JP2006227962A (ja) | アプリケーションタスク監視システムおよび方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A201 | Request for examination | ||
| PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20141112 |
|
| PA0201 | Request for examination | ||
| E902 | Notification of reason for refusal | ||
| PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20150917 Patent event code: PE09021S01D |
|
| E90F | Notification of reason for final refusal | ||
| PE0902 | Notice of grounds for rejection |
Comment text: Final Notice of Reason for Refusal Patent event date: 20160329 Patent event code: PE09021S02D |
|
| PG1501 | Laying open of application | ||
| E701 | Decision to grant or registration of patent right | ||
| PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 20160929 |
|
| GRNT | Written decision to grant | ||
| PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20161101 Patent event code: PR07011E01D |
|
| PR1002 | Payment of registration fee |
Payment date: 20161102 End annual number: 3 Start annual number: 1 |
|
| PG1601 | Publication of registration | ||
| FPAY | Annual fee payment |
Payment date: 20191029 Year of fee payment: 4 |
|
| PR1001 | Payment of annual fee |
Payment date: 20191029 Start annual number: 4 End annual number: 4 |
|
| PR1001 | Payment of annual fee |
Payment date: 20201028 Start annual number: 5 End annual number: 5 |
|
| PR1001 | Payment of annual fee |
Payment date: 20211027 Start annual number: 6 End annual number: 6 |
|
| PR1001 | Payment of annual fee |
Payment date: 20221026 Start annual number: 7 End annual number: 7 |
|
| PR1001 | Payment of annual fee |
Payment date: 20231025 Start annual number: 8 End annual number: 8 |