Watchdog

Watchdog

Chien de garde (informatique)

Page d'aide sur l'homonymie Pour les articles homonymes, voir Chien de garde (homonymie).

Un chien de garde, encore désigné sous l'anglicisme watchdog, est un circuit électronique ou un logiciel utilisé en électronique numérique pour s'assurer qu'un automate ou un ordinateur ne reste pas bloqué à une étape particulière du traitement qu'il effectue. C'est une protection destinée généralement à redémarrer le système, si une action définie n'est pas exécutée dans un délai imparti.

En informatique industrielle, le chien de garde est souvent réalisé par un dispositif électronique, en général une bascule monostable. Il repose sur le principe que chaque étape du traitement doit s'exécuter en un temps maximal. A chaque étape, le système arme une temporisation avant son exécution. Si la bascule retourne à son état stable avant que la tâche ne soit achevée, le chien de garde se déclenche. Il met en œuvre un système de secours qui peut soit déclencher une alarme, soit faire redémarrer l'automate, soit mettre en marche un système redondant... Les chiens de garde sont souvent intégrés aux microcontrôleurs et aux cartes mères dédiées au temps réel.

Quand il est réalisé par logiciel, il s'agit en général d'un compteur qui est régulièrement remis à zéro. Si le compteur dépasse une valeur donnée (timeout) alors on procède à un reset (redémarrage) du système. Le chien de garde consiste souvent en un registre qui est mis à jour via une interruption régulière. Il peut également consister en une routine d'interruption qui doit effectuer certaines tâches de maintenance avant de redonner la main au programme principal. Si une routine entre dans une boucle infinie, le compteur du chien de garde ne sera plus remis à zéro et un reset est ordonné. Le chien de garde permet aussi d'effectuer un redémarrage si aucune instruction n'est prévue à cet effet. Il suffit alors d'écrire une valeur dépassant la capacité du compteur directement dans le registre : le chien de garde lancera le reset.

  • Portail de l’informatique Portail de l’informatique
Ce document provient de « Chien de garde (informatique) ».

Wikimedia Foundation. 2010.

Contenu soumis à la licence CC-BY-SA. Source : Article Watchdog de Wikipédia en français (auteurs)

Игры ⚽ Нужна курсовая?

Regardez d'autres dictionnaires:

  • watchdog — watch‧dog [ˈwɒtʆdɒg ǁ ˈwɑːtʆdɒːg, ˈwɒːtʆ ] noun [countable] LAW ORGANIZATIONS an independent organization responsible for making sure that companies in a particular industry or business do not do anything illegal: • France s stock market watchdog …   Financial and business terms

  • watchdog — [wächdôg΄, wôchdôg΄] n. 1. a dog kept to guard property, as by barking 2. a person or group that keeps watch in order to prevent waste, unethical practices, etc. vt. to act as a watchdog over …   English World dictionary

  • Watchdog — Watch dog (w[o^]ch d[o^]g ), n. A dog kept to watch and guard premises or property, and to give notice of the approach of intruders. [1913 Webster] …   The Collaborative International Dictionary of English

  • watchdog — c.1600, from WATCH (Cf. watch) (v.) + DOG (Cf. dog). Figurative sense is attested from 1845 …   Etymology dictionary

  • watchdog — ► NOUN 1) a dog kept to guard private property. 2) a person or group that monitors the practices of companies providing a particular service or utility …   English terms dictionary

  • Watchdog — Der Begriff Watchdog (englisch; Wachhund, auch WDC für Watchdog Counter) wird verallgemeinert für eine Komponente eines Systems verwendet, die die Funktion anderer Komponenten überwacht. Wird dabei eine mögliche Fehlfunktion erkannt, so wird… …   Deutsch Wikipedia

  • Watchdog — A watchdog is a dog who provides protection by watching for or guarding against intruders. ;In computing * Watchdog timer, a device in computer systems * Event Log Watchdog, a freeware software program * Watchdog Event Log, created by Windows… …   Wikipedia

  • watchdog — noun ADJECTIVE ▪ consumer ▪ environmental, financial, health (BrE), industry, media (esp. AmE), nuclear, safety ▪ …   Collocations dictionary

  • watchdog — UK [ˈwɒtʃˌdɒɡ] / US [ˈwɑtʃˌdɔɡ] noun [countable] Word forms watchdog : singular watchdog plural watchdogs 1) a person or organization that works to stop people from doing illegal things in a particular area of business or society a… …   English dictionary

  • watchdog — /woch dawg , dog /, n., adj., v., watchdogged, watchdogging. n. 1. a dog kept to guard property. 2. a watchful guardian: a self appointed watchdog of the public morals. adj. 3. of, pertaining to, or characteristic of a watchdog. 4. organized or… …   Universalium

  • watchdog — watch|dog [ watʃ,dɔg ] noun count 1. ) a person or organization that works to stop people from doing illegal things in a particular area of business or society: a consumer/congressional/government watchdog watchdog agency/body/group: a watchdog… …   Usage of the words and phrases in modern English

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”