Beruflich Dokumente
Kultur Dokumente
Manuscript
Received: 27,Mar., 2012 Revised: 19,Jun., 2012 Accepted: 18,Sep., 2012 Published: 20,Dec., 2012
solve the single error in order to keep the system always running, the new model should be involving as clouding computer coming. How to revolution of controlling motors is the very important issue if the system should not stop for the one system is crashed or other reasons. The figure1 will show the classic model and Figure 2 will show clouding control model is like as below:
Keywords
Motor control, Clouding computer, heat upgrade, tolerate
1. Introduction
On this paper , the first step give a new clouding controlling mode, then according to tolerate issue, next part is about supervisor tree, and next is about heat upgrade without stopping system. And the same time, the next content is about data lost issue, and the last part is about development of controlling motor, how to chose a suitable programming language., a conclusion of the whole paper is put in the last of the paper.
Basically the mode is ongoing changing from simple to complicated if we watch the Figure 1 and Figure 2. The Figure 1 describe the most controlling system maybe follow the model that it is a one control serves one motor. But the Figure2 describes a system of clouding controlling motors. The Master Control is only receive the tasks from the motor1,motor2,motor3,motor4, and the same time, arrange the tasks to the control1,control2,control3,control4. The real task should be completed by the working controls liking control1, control2, control3, control4. As to Vice Master control is just stand by on the side of Mater Control. Once the Master Control is crashed for any reason, the Vice Master control will hand over all responsibility of Master Control. Thus any control is stopped for unclear reason, the whole system need not to care, because the system is just keeping running and it is so tolerate, it is so robust.
462
International J ournal of Advanced C omputer Science, Vol. 2, No. 12, Pp. 461-463, Dec., 2012.
If version k is old version, the version k+1 is a new version comparing to version k. The system is currently running the version k, we find some bugs and repair them to create the version k+1, how we to upgrade? In fact the system is running when we load the version k+1, the system had better use soft-change to upgrade to the version k+1. The whole process is completed when the system keep running. It is so cool. Suddenly we find the upgrade version k+1 and version K are not unstable, we want to downgrade to version k-1, how do we do for downgrade?
Suppose Work3 suddenly crashed for some reason, the crashed message should be sent to the Supervisor2; Supervisor2 then tell Supervisor4 the fact that Work3 have been crashed, who will be volunteers to take over the tasks for Work3; if possible, the Supervisor4 arrange Work1 to complete the tasks which Work3 have not completed. In fact the two parts are shown in the Figure3, the Supervisor is only to manage the Works, not do any real things; the Works only do itself. Once one work is crashed, the Supervisor knows the message and do plan of a new work to arrange new one to replace the crashed work.
The Figure5 is also suppose that the currently version is k, although version k have solve some bugs, the version is not unstable, the version is not accepted for the unstable. So we should to downgrade to the version k-1. The whole process is described as Figure5. Anything including upgrade and downgrade, we should keep only double versions in the current system. As time goes by, the system softly changes to so-called version. Who is new version? The last load version is so-call new version to run the system in the end.
Ameer A. Mohammed Baqer et al.: Efficient Sending for Iris Biometric Packets Through Shortest Reliable Path.
463
According to the Figure 6, the first step is split step, Block1,Block2,Block3 is split, only the last block doesnt equal others, the size of per Block belong to others is the same. So Block1 and Block2 is the same size. And the second step is to replicate 3 parts, the third step is to put 3 replications to five physical parts. In fact how many replications we could be set by yourself, normally most user to choose 3 replications. And the third step is very important, we hopefully put all duplications of one file into 5 physically different parts. As you know that if the putting parts bigger more 5, the getting time is more.
framework to help to complete your development, and also Erlang could strongly support heat upgrade, choose Erlang as controlling part is a good suggestion. But to the UI, most people like java, it is also a good choose to use java to development. How to communication between java,Erlang and C is also an important issue. Jinterface is the bridge of between java and Erlang. As to C and Erlang, it is could use three method to contact, one is used port, another is used virtual machine of Erlang, the third is used as node. Unfortunately not all method is a suggested choose. The paper only suggest that the port method of between Erlang and C is good way. If you want root cause, the answer is simple: the two other methods exists risk of system if one of C programming software crash, all system should be crash.
References
[1] J. Armstrong, Making reliable distributed systems in the presence of software errors, Ph.D. dissertation, The Royal Institute of Technology, Stockholm, Sweden, December 2003.. [2] J. Armstrong, M. Williams, C. Wikstrom, and R. Virding. Concurrent Programming in Erlang. Prentice-Hall, Englewood Clics, N.J., 1996. [3] J. L. Armstrong and T. Arts. A practical type system for erlang. Erlang User Conference, 2002. [4] Hakan Millroth. Private communication. 2003. [5] Henrik Back, Rickard Engberg, Johan Herdegard, Mikael Laaksonen, Rickard Lejon, Daniel Nibon, Viveka Sjoblom, Gustav Tano, Jiying Tian, Ming Zhao,Hao Zhang, Song Yuan Developing a location based service for mobile Phones 2006 [6] Global Mobile Phone & Smartphone Market (2010-2015). (2011). Available: http://www.marketsandmarkets.com/Market-Reports/smartphonemarket-219.html [7] Armstrong, J. L., Virding, S. R. and Williams, M. C., Use of Prolog for developing a new [8] G. Agha, Actors: a model of concurrent computation in distributed systems. Cambridge, MA, USA: MIT Press, 1986. [9] Amazon SimpleDB, http://aws.amazon.com/simpledb/. [10] Apache CouchDB, http://couchdb.apache.org/.
The infrastructure is drive part, most people know the C and assemble language, because there are samples of datasheet of CPU is always assemble, assemble could be embedded to C language. So choose C or assemble is a best choose. As to control part, the paper suggest that we could choose Erlang. Because Erlang is a distributed function programming language, its behaves of OTP is good