Self-Adaptive and Automatic Program Design and Application in Vending Machine

Article Preview

Abstract:

Program faults are usually reported through return-value or emergency. But, when they emergence in the state-orient model, how to make the program return to the fault point’s state and which further corresponding actions should be taken, merely by using the simple method-report or reset, can’t define the return-value or emergency. In order to process the fault automatically, this article presents an automatic program with thoughts of combined coding and state redundant design, and proposes its frame model and algorithm. This model decreases faults of state-switch and increases capability of fault-restore. At last, parts of the results are applied to a vending machine project and the tests show its satisfaction.

You might also be interested in these eBooks

Info:

Periodical:

Advanced Materials Research (Volumes 271-273)

Pages:

372-376

Citation:

Online since:

July 2011

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2011 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

[1] Morris Kline: Mathematics in the modern world. Trans. Qi Yiming. Shanghai Education Publish, pp.448-464, (2001).

Google Scholar

[2] Eric J. Braude. Software Design From Programming to Architecture. Trans. Li Renfa. Publishing House of Electronics Industry, pp.60-62, 405-411, (2005).

Google Scholar

[3] Jeffery Richter. Applied Microsoft . NET Framework programming(revised edition). Trans. Li Jiangzhong. Tsinghua University Press (2003).

Google Scholar

[4] Liu Xiaodong. Design Algorithm of Compiling Program. Sichuan University Press, Chengdu, pp.7-27( 2006).

Google Scholar

[5] Xu Fengsheng. Discrete Mathematics and Its Applications. China Machine Press, Beijing, pp.229-240 (2006).

Google Scholar

[6] Andreas Malcher. Minimizing finite automata is computationally hard. Theoretical Computer Science, Volume 327, Issue 3, 2 November 2004, pp.375-390.

DOI: 10.1016/j.tcs.2004.03.070

Google Scholar