• DocumentCode
    642809
  • Title

    Global property violation detection and diagnosis for wireless sensor networks

  • Author

    Man Wang ; Zhiyuan Li

  • Author_Institution
    Comput. Sci. Dept., Purdue Univ., West Lafayette, IN, USA
  • fYear
    2013
  • fDate
    Sept. 29 2013-Oct. 4 2013
  • Firstpage
    1
  • Lastpage
    10
  • Abstract
    Run-time error detection and deterministic off-line error replay have received wide attention in recent years as a technique to enhance the programmer´s ability to find software errors. To apply this technique to wireless sensor networks (WSN), one must be able to deal with the severe constraint on the memory, the communication bandwidth and the energy source on the sensor motes and the highly dynamic and unpredictable operating environment. All these make it difficult for the application programmer to manually insert operations required for error detection and replay. This paper makes three contributions towards making error detection and replay automatic for WSNs: (i) a domain-specific language, called SensorC, for specifying WSN global properties that must be satisfied when the system and its application software are deployed; (ii) a method to automatically decompose such global properties into a set of local operations to detect global property violations, with the goal to minimize the communication traffic for state information exchanges; and (iii) a new program analysis to identify program sub-traces that can be skipped for replay without losing the accuracy of diagnosis. The proposed techniques, which are implemented in a compiler, are shown by experiments to successfully catch real WSN software errors and to substantially reduce message exchanges for run time error detection.
  • Keywords
    program compilers; program debugging; program diagnostics; wireless sensor networks; SensorC language; WSN software errors; application software; communication bandwidth constraint; communication traffic minimization; compilers; deterministic offline error replay; domain-specific language; energy source constraint; global property violation detection; global property violation diagnosis; local operations; memory constraint; message exchange reduction; operating environment; program analysis; program subtrace identification; run-time error detection; sensor motes; software errors; state information exchanges; wireless sensor networks; Base stations; Message passing; Production; Routing; Routing protocols; Software; Wireless sensor networks; Wireless sensor network; ants; invari; program debugging; property decomposition;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Compilers, Architecture and Synthesis for Embedded Systems (CASES), 2013 International Conference on
  • Conference_Location
    Montreal, QC
  • Type

    conf

  • DOI
    10.1109/CASES.2013.6662529
  • Filename
    6662529