You are on page 1of 6

2 1

2012 2

Scientific Journal of Information Engineering(SJIE)

Vol.2 No.1
Feb. 2012

web

510006

Webweb UI

UIUIWeb
WEB

web serbiceUI

Web Service Automatically Layout Generation Method


Hao Han, Jie Yang, Chuhan Shang
South China University of Technology School of software, Guangzhou, 51006, China

Abstract: This paper introduces an application customization platform by which users can package internet information resources as
web services. The platform also creates a new UI layout markup language as well as an UI layout algorithm. The mobile client generates
web services UI automatically based on user-defined UI layout style, and run the web services. The test tables with some source code
are offered in the paper. The method is proved to be valid in enhancing the web service. The service is applied mainly on the mobile
platform and can create the interface. The future work is to invent product on various mobile phone platform.

Key words: Web service; Customization; UI layout markup language

SOA Web services


web Web
[1]
[2] HTML Web
[3] Web
eclipse Web
[4] web
web HTTP
GUI web [5]
GUI
web WS
web web
HTML
web WSDL web

www.sjie.org PP.5-10 2011 American V-King Scientific Publishing, LTD


-5-

Scientific Journal of Information Engineering (SJIE)

1
1.1
web web
CM=INPOUTPXT OP CONFUIINP
OUTP INP OUTP
URLXT XPATH HTML DOM
OP
CONF

1.2
web
URLURL HTML web
HTTP HTML AJAX
INP
web HTML
OUTP

1.3
javascript

INP OP
AJAX
DOM XPATH XT

1.4

UI
XML UI

XML UI

W H S
S = min(min(W), min(H))
50*50
a b
a a web

(Gx,Gy)
Nw(i)N h(i) UI

1.5

www.sjie.org PP.5-10 2011 American V-King Scientific Publishing, LTD


-6-

web

TextArea Button

W(i) = Nw(i)
* Nh(i)(Cx,Cy)
Cx =

w i . Gx i
wi

Cy =

w i . Gy i
wi

UI UI
BNF Ui=(ServerProcess,ClientProcess)
2 ServerProcess Ui PageUi type

PageLayout gridwidth gridheight

ClientProcess Ui ServerProcess config value


ServiceItem
java web
WSDLweb

web web

2
web

Ui
UI UI UI
1Rx Nw
f f=Max(Left= |Rx-0.5*Nw|, Right=|Rx+0.5*Nw|) n
Nw(k) k X(k) k

() +
=1

( + 1) ()
=1

2) config value
3)
( ) = ( ) (

)
+

Sw (SUM+0.5) SUM 0.25


Rw Button Rw<=0.5*Sw
Rw(i) Rh(i)
4) RxRy

( () =

, () =

5) RwRhXY
www.sjie.org PP.5-10 2011 American V-King Scientific Publishing, LTD
-7-

Scientific Journal of Information Engineering (SJIE)

web web
web

1 UI

web web web


4 web
1 UI
1

UI

IP

IP.CN

web web
web
1 UI
WSDL
www.sjie.org PP.5-10 2011 American V-King Scientific Publishing, LTD
-8-

web

2HTML web HTML


3 web
2
2

CPU

Milestone2

Android 2.3

512M

ARM Cortex-A8 1G HZ

CPU

PC

Windows server 2008

2G

2.4G HZ

5
3
HTML

HTML

UI

60426

673

129

202

1004

37417

762

76

173

1011

IP

16232

521

34

65

620

72219

714

156

232

1111

3 web 50%
web web

3
web web
web web Web
web
UI web

G101056137 SOA
S1010561121
X2jsB6110010 X2RJB2110140 X2RJD2116860

[1]

Hammer, H. Garcia-Molina, et al. Extracting Semistructured Information from the Web. In: Proc. of the Workshop on Management for
semistructured data (SIGMOD'97), 1997: 18-25.

[2]

Yang Shaohua,et al. A Markup Language for Generating Web Services out of Web-based Information. Resources and Software Support

www.sjie.org PP.5-10 2011 American V-King Scientific Publishing, LTD


-9-

Scientific Journal of Information Engineering (SJIE)


Thereof, JOURNAL OF COMPUTER RESEARCH AND DEVELOPMENT, Vol., Suppl, 2006, 43.
[3]

R. Baumgartner, S. Flesca, et al. Visual Web Information Extraction with Lixto. The VLDB Journal, 2001: 119-128.

[4]

P. Farley and M. Capp. Mobile Web Services, BT Technology Journal, 2005, 23(3): 202-213.

[5]

Jiang He, et al. An Adaptive User Interface Generation Framework for Web Services. 2008 IEEE Congress on Services Part II.

[6]

Paolucci Massimo, Kawamura Takahiro, Payne Terry R, Sycara Katia. Importing the semantic Web UDDI. In:proceedings of Web service,
E-business and semantic Web Workshop(CAISE Workshop), Toronon, Canada, 2002: 225-236.

[7]

Sivashanmugam K, Verma K, Mulye R. Speed-R: Semantic P2P environment for diverse Web service registries. Final Presentation, CSCI:
8350, Enterprise Integration,Department of Comuter Science, University of Georgia, GA, 2002.

[8]

Gao Xiang, Yang Jian, Papazoglou Midke P. The Capability matching of Web service. In: proceedings of the IEEE Four International
Symposium on multimedia softeware Engineering (MSEOZ), califormia, USA, 2002: 56-63.

[9]

, , , . WebQWSDL[J]..2005, 28(4).

[10] HU JQ ZOU P WANG HM ZHOU B. Research On Web service Description Language QWSDL and Service Matching Model[J]. Cinese
Journal of Computers.2005, 28(4).

Email: yjclear@scut.edu.cn

www.sjie.org PP.5-10 2011 American V-King Scientific Publishing, LTD


- 10 -

You might also like