DocumentCode
2972891
Title
Formal modeling and analysis of an audio/video protocol: an industrial case study using UPPAAL
Author
Havelund, Klaus ; Skou, Arne ; Larsen, Kim Guldstrand ; Lund, Kristian
Author_Institution
BRICS, Aalborg Univ., Denmark
fYear
1997
fDate
5-5 Dec. 1997
Firstpage
2
Lastpage
13
Abstract
A formal and automatic verification of a real-life protocol is presented. The protocol, about 2800 lines of assembler code, has been used in products from the audio/video company Bang & Olufsen throughout more than a decade, and its purpose is to control the transmission of messages between audio/video components over a single bus. Such communications may collide, and one essential purpose of the protocol is to detect such collisions. The functioning is highly dependent on real-time considerations. Though the protocol was known to be faulty in that messages were lost occasionally, the protocol was too complicated in order for Bang & Olufsen to locate the bug using normal testing. However using the real-time verification tool UPPAAL, an error trace was automatically generated, which caused the detection of "the error" in the implementation. The error was corrected and the correction was automatically proven correct, again using UPPAAL. A future, and more automated, version of the protocol, where this error is fatal, will incorporate the correction. Hence, this work is an elegant demonstration of how model checking has had an impact on practical software development. The effort of modeling this protocol has in addition generated a number of suggestions for enriching the UPPAAL language. Hence, it\´s also an excellent example of the reverse impact.
Keywords
formal verification; protocols; real-time systems; software engineering; UPPAAL; assembler code; audio/video protocol; automatic verification; error trace; formal modeling; formal verification; industrial case study; real-life protocol; real-time considerations; real-time verification tool; Automatic control; Communication system control; Computer aided software engineering; Documentation; Error correction; Programming; Protocols; Real time systems; Safety; Testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Real-Time Systems Symposium, 1997. Proceedings., The 18th IEEE
Conference_Location
San Francisco, CA, USA
ISSN
1052-8725
Print_ISBN
0-8186-6600-5
Type
conf
DOI
10.1109/REAL.1997.641264
Filename
641264
Link To Document