25.01.2015 Views

Download Full Issue in PDF - Academy Publisher

Download Full Issue in PDF - Academy Publisher

Download Full Issue in PDF - Academy Publisher

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1572 JOURNAL OF COMPUTERS, VOL. 8, NO. 6, JUNE 2013<br />

functional strong coupl<strong>in</strong>g relationships <strong>in</strong>to data type<br />

weak coupl<strong>in</strong>g relationships. Metadata research is widely<br />

used <strong>in</strong> data-driv<strong>in</strong>g system such as file system,<br />

<strong>in</strong>formation system and so on [11, 12]. On the other hand,<br />

the abstract computational model: Tur<strong>in</strong>g mach<strong>in</strong>e, which<br />

can simulate any human comput<strong>in</strong>g process, is equivalent<br />

to any f<strong>in</strong>ite mathematics of logic process. The Tur<strong>in</strong>g<br />

mach<strong>in</strong>e is also a general-purpose computer and an ideal<br />

model of universal def<strong>in</strong>ition. Its abstract def<strong>in</strong>ition is a<br />

k<strong>in</strong>d of mathematical logic mach<strong>in</strong>e [13]. Von Neumann<br />

implemented the ideal model, designed store-based<br />

computer architecture [14]. The Von’s th<strong>in</strong>k<strong>in</strong>g is<br />

<strong>in</strong>herited by modern computer architectures, s<strong>in</strong>ce its<br />

clear structure and feasibility [15].<br />

Tak<strong>in</strong>g <strong>in</strong>to account the needs of application<br />

virtualization mentioned above, and by means of<br />

metadata, Tur<strong>in</strong>g mach<strong>in</strong>e and Von Neumann architecture,<br />

a Metadata-driven Cloud Comput<strong>in</strong>g Application<br />

Virtualization Model(MCCAVM) <strong>in</strong> software level is<br />

proposed <strong>in</strong> this paper. A Metadata-driven Cloud<br />

Comput<strong>in</strong>g Application Virtualization System<br />

(MCCAVS) is implemented based on MCCAVM by<br />

then. We make the follow<strong>in</strong>g three major contributions: 1)<br />

Metadata is used to drive the whole system, so that the<br />

description of the system is standard and uniform. The<br />

decoupl<strong>in</strong>g purpose is well done besides. 2) We propose<br />

an application virtualization model <strong>in</strong> software level by<br />

refer<strong>in</strong>g Von Neumann architecture. All k<strong>in</strong>d of<br />

applications and services can be managed by software<br />

bus. 3) Not only implemented eng<strong>in</strong>eer<strong>in</strong>g, the entire<br />

model and system are def<strong>in</strong>ed and verified formally by<br />

us<strong>in</strong>g Tur<strong>in</strong>g mach<strong>in</strong>e.<br />

The rest of this paper is organized as follows: after the<br />

<strong>in</strong>troduction <strong>in</strong> Section 1, Section 2 describes the formal<br />

def<strong>in</strong>ition and gives the system model; Section 3 designs<br />

system and expla<strong>in</strong>s each module <strong>in</strong> detail; Section 4<br />

presents our MCCAVS and verifies it eng<strong>in</strong>eer<strong>in</strong>g and<br />

formally respectively; Section 5 concludes this paper.<br />

II. MODEL<br />

A. Formal Def<strong>in</strong>ition<br />

Before giv<strong>in</strong>g model description formally, the<br />

def<strong>in</strong>ition of capability and Service <strong>in</strong> the model is<br />

described firstly.<br />

Def<strong>in</strong>ition 1. Capability. Any underly<strong>in</strong>g hardware<br />

and software resource <strong>in</strong> the cloud server side.<br />

Def<strong>in</strong>ition 2. Service. Product generated by a variety<br />

of capabilities, through assembl<strong>in</strong>g and reprocess<strong>in</strong>g<br />

pattern.<br />

In fact, a virtual application <strong>in</strong> the cloud server side is<br />

comb<strong>in</strong>ed of Capability and Service. Accord<strong>in</strong>g to Von<br />

Neumann architecture, computers must have five basic<br />

components: <strong>in</strong>put data and devices, memory program<br />

and data memory, data process<strong>in</strong>g comput<strong>in</strong>g device,<br />

control program execution controller, output device.<br />

Draw<strong>in</strong>g on the th<strong>in</strong>k<strong>in</strong>g of the Von Neumann computer<br />

architecture, model regards Capability and Service as an<br />

external device. Various external devices mounted to the<br />

model via a software bus and driven by model controlled<br />

components. The work of the model is based on<br />

predef<strong>in</strong>ed tasks, makes multiple types of Capability and<br />

Service work together, and provides virtualization<br />

technology by us<strong>in</strong>g the basis of hardware, software<br />

resources and the upper applications supplied by these<br />

devices. Regard<strong>in</strong>g Capability and Service as an external<br />

device, the collaborative process can be considered as the<br />

calculation of the f<strong>in</strong>ite number of steps. Based on formal<br />

def<strong>in</strong>ition, the paper proposed a Metadata-driven Cloud<br />

Comput<strong>in</strong>g Application Virtualization Model(MCCAVM)<br />

consider<strong>in</strong>g Tur<strong>in</strong>g mach<strong>in</strong>e computation model and the<br />

von Neumann computer system structure of these devices.<br />

Def<strong>in</strong>ition 3. Formal def<strong>in</strong>ition of the model. A<br />

Metadata-driven cloud comput<strong>in</strong>g application<br />

virtualization model can be formalized as a ten-tuple: T =<br />

(Q,Σ,Γ 1 ,Γ 2 ,Γ 3 ,Γ 4 ,δ,q 0 ,q a ,q r )<br />

Q is the set of states;<br />

Σ is the <strong>in</strong>put alphabet, which does not conta<strong>in</strong> a<br />

special blank symbol B;<br />

Γ 1 is the capability to take the alphabet, where B∈Γ 1<br />

and Σ∈Γ 1 ;<br />

Γ 2 is the service with the alphabet, where B∈Γ 2 and<br />

Σ∈Γ 2 ;<br />

Γ 3 is the result with the alphabet, where B∈Γ 3 and Σ<br />

∈Γ 3 ;<br />

Γ 4 is a task with an alphabet, where B∈Γ 4 andΣ∈Γ 4 ;<br />

δ : Q×Γ 4 →Q×Γ 4 ×{L,R} 4 is the transfer function,<br />

where L, R <strong>in</strong>dicates that the read-write head to the left or<br />

to the right;<br />

q 0 ∈Q is the <strong>in</strong>itial state;<br />

q a ∈Q is an accept<strong>in</strong>g state;<br />

q r ∈Q is the denial of state and q r ≠q a ;<br />

Capability alphabet and service alphabet need to be<br />

processed were recorded on work tapeΓ 1 and Γ 2 ; Γ 3<br />

records the results; Γ 4 records work processes alphabet of<br />

different virtualization tasks.<br />

Theorem 1. MCCAVM is a general comput<strong>in</strong>g model<br />

which is equivalent to the universal Tur<strong>in</strong>g mach<strong>in</strong>e.<br />

Proof: Firstly, <strong>in</strong> Def<strong>in</strong>ition 3, depend<strong>in</strong>g on the<br />

differences of storage function, def<strong>in</strong><strong>in</strong>g a number of<br />

work<strong>in</strong>g tapes. Obviously, MCCAVM is multi-tape<br />

Tur<strong>in</strong>g mach<strong>in</strong>e, and multi-tape Tur<strong>in</strong>g mach<strong>in</strong>e is<br />

equivalent with Tur<strong>in</strong>g mach<strong>in</strong>e, so MCCAVM is<br />

equivalent with Tur<strong>in</strong>g mach<strong>in</strong>e.<br />

Secondly, we set the capability alphabet, service<br />

alphabet, results alphabet and tasks alphabet as<br />

T1,T2,T3,T4 <strong>in</strong> T's each comput<strong>in</strong>g step. Tur<strong>in</strong>g mach<strong>in</strong>e<br />

M is a seven-tuple. The current state, the current tape<br />

content and the location of the read-write head constitute<br />

the pattern of M. The specific calculation process of M is<br />

conversion from one pattern to another, based on the<br />

conversion rules described <strong>in</strong> the transition function δ.<br />

The essence of the Tur<strong>in</strong>g mach<strong>in</strong>e is an algorithm or<br />

function, given data x, a mapp<strong>in</strong>g rule accord<strong>in</strong>g to the<br />

function f, calculat<strong>in</strong>g the correspond<strong>in</strong>g f(x), that is, M is<br />

equivalent to a dedicated mach<strong>in</strong>e for a particular<br />

calculation. For a specific task, it completes a specific<br />

calculation or mapp<strong>in</strong>g process by MCCAVM accord<strong>in</strong>g<br />

to task process.<br />

© 2013 ACADEMY PUBLISHER

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!