I. INTRODUCTION
Currently, varieties of electronic data interchange (EDI) electronic document processing systems have been set up and are being used. In the existing EDI document processing system, an interpreter mode using a script is used to convert the document, resulting in a long processing time and operational inefficiency. It also uses a closed network using a value added network (VAN) that is within a limited service range from the service provider, rendering the system compatibility inferior.
Recently, because EDI document processing systems using web protocols are in demand, and various types of mapping are necessary during extensible markup language (XML)-based EDI document processing as well as numerous other protocols, document processing types, a graphics tool is required during the mapping process [1-3].
In this paper, in order to decrease the conversion time and increase the operation efficiency of the existing EDI documents, we designed and implemented an EDI document processing system that can convert binary type XML-based EDI documents on which a mapping tool is applied to make automatic rule generation during web-based B2B gateway management into a user-defined flat file and then the flat file into an XML-based EDI electronic document.
II. RELATED RESEARCH
A.
Electronic Data Interchange (EDI)
EDI is a structured standard of documents that are exchanged among computers of enterprises or of public organizations following a mutually-agreed data format and
___________________________________________________________________________________________
Received 15 June 2012, Revised 23 July 2012, Accepted 30 July 2012
*Corresponding Author E-mail: [email protected]
http://dx.doi.org/10.6109/jicce.2012.10.3.258 print ISSN:2234-8255 online ISSN:2234-8883 This is an Open Access article distributed under the terms of the Creative Commons Attribution Non-Commercial License (http://creativecommons.org/li-censes/by-nc/3.0/) which permits unrestricted non-commercial use, distribution, and reproduction in any medium, provided the original work is properly cited.
Copyright ⓒ The Korea Institute of Information and Communication Engineering
J. lnf. Commun. Converg. Eng. 10(3): 258-263, Sep. 2012 Regular Paper
XML-based EDI Document Processing System with Binary
Format Mapping Rules
Chang-Su Kim1 and Hoe-Kyung Jung2*, Member, KIICE
1
Industry-Academic Cooperation Foundation, Paichai University, Daejeon 302-735, Korea 2Department of Computer Engineering, Paichai University, Daejeon 302-735, Korea
Abstract
Recently, the magnitude of electronic data interchange (EDI) document processing for the handling of port logistics is abruptly being increased. The existing system processes EDI documents in a script mode, but due to a complicated script preparation procedure and low document processing efficiency, it cannot meet the demand as the usage flow of documents increases. In this paper, an EDI electronic document processing system was designed and implemented in a document scanner and mapper, which are binary form electronic document processing tools and do not require script files during the conversion of extensible markup language (XML)-based electronic documents. This new system has the merits of XML features during reading and writing with improved speed, usage convenience, and good portability on systems when compared to the conventional ones.
Index Terms: XML, EDI, B2B, Document processing system
communicatio and a uniform depending on rules for Ele Commerce an UN has been recognized in
B. Existing
In the exis using a scan processor ma as the user-mapping scrip With this m process to rea or flat files, th load. Furthe information i occurs during inside memor integrity of d mishap is sortC. Analysis
1) Method Docum Existing re has been ma documents an XML is sca electronic do using a scan and then this as a flat file users using t This method and another documents or reading could 2) B2B Ga The existin an applicatio impairs versa true that man owing to the r 3) Mappin For the documents, a on standard vi m code system n the localities ectronic Data nd Transport n well establis nternationally [g EDI Docum
sting EDI doc script file to s aps the EDI do -defined rule
pt file. method, since d
ad and use the he system can ermore, by is stacked insi g document p ry would insta document cann ted out.
is of Existin
d of Processi ments esearch on EDI ainly on con nd the flat filearce. Also, cument inform
script file for loaded inform according to the user-define includes a pr process of r flat files. Ul d not be reduce ateway Contr ng B2B gatewa on program atility, causing ny users want t recent develop ng Tool for Ru conversion a a mapping rule ia standardize m. Though E and purposes, Interchange f (UN/EDIFAC shed as a stan [1].
ment Proce
cument proces scan the docum ocument inform using a user documents havscript as well nnot reduce the reading the de memory. In processing, in antly get lost. not be guarante
ng EDI Syst
ing XML-base
I electronic do nversion betwe
type, and the in document mation is load
r electronic do mation on the m the rules tha ed flat file m rocess of scrip reading eithe ltimately, the ed [5]. rol System ay control syste base. This p a portability to control EDI pment of the in ule Generatio among many e must be cre d uniform for EDI standards the United Na for Administra T) enacted by dard grammar
essing Syst
sing mode [4] ment, the docu mation as a fla r-defined flat ve to go throug as EDI docum e document rea document, n case any mi nformation sta Consequently eed even whentem
ed EDI Electro
ocument proces een EDI stan research base processing, ded in the mem
ocument scann memory is ma at were define mapping script pt reading and er EDI electr load for docu
em is being use process, there problem. It is I on web proto nternet. on y EDI electr ated. Until no rmats vary ations ation, y the r and
tem
], by ment at file file h the ments ading this ishap acked y, the n the ronic ssing ndard ed on EDI mory ning, apped ed by file. use, ronic ment ed as efore, also ocols ronic ow, it has that for tD. R
A XM proc proc need syst map grap oper acco impIII.
In proc XM elec stud EDI proc info to u Fig. proce trans queu Data been done ma tremendous ti the mapping, cRequiremen
As can be seen ML-based system cessing. Also, cessing metho ds to be develo em control is t pping tool ca phically replac rated. Therefo ommodates th lemented in thDESIGNING
PROCESSI
n the XM cessing system ML EDI electr ctronic docum dy and then se I electronic d cessing system ormation in el user-defined fl . 1. Structural dia essing system bas sfer protocol, SM uing, F/F: flat file, Interchange for Aanually by the ime is consum causing large er
nts
from the revi m is required binary type p d using a scr oped in such a transferred to a an automatical cing the conven fore, an XML hese requirem his study.
G THE EDI D
NG SYSTEM
ML-based ED m, trading par ronic docume ment processin end them again documents are m extracts re lectronic docu at files. agram of electron sed on extensible MTP: simple mail , UN/EDIFACT: U Administration, UI: administrator. med because of rrors. iew above, it i in EDI electro processing, no ript, is needed a way that the a web-based on lly create a ntional one th L-based EDI ments was dDOCUMENT
M
DI electroni rtners, who ar ents, convert ng system pro n to end users e received by ecorded sent uments and c ic data interchang e markup language transfer protoco United Nations ru user interface. The reality is f the long times clear that an onic document ot the existing d. The system B2B gateway ne and that the mapping rule at is manually system that designed and
T
c document e the users of these in the oposed in this s. When XML the user, the and received converts themge (EDI) document e (XML). FTP: file ol, MQ: message les for Electronic s e n t g m y e e y t d t f e s L e d m t e e c
Fig. 1 show processing sy The infor information information. XML to a fl documents th mapper on wh The conver the internet, transfer proto supported for to/from tradin which rules automatically web-based m web.
A. Module
Docume
In the XM system, there documents, d engine that co module for components o Fig. 2. e-doc interchange, XM MQ: message quB. Designi
Program
The conver Fig. 3. In t scanned, and ws a structura ystem based on rmation refer on a tradin This informa lat file or from hrough the m hich mapping-rted electronicand file trans ocol (SMTP), r electronic d ng partners. A for various y generated. A management sys
Constructi
ent Process
ML-based EDI e are servers t document send onverts EDI el operation ma of this system. ument processing L: extensible mar ueuing, TES: transing the XML
m
rsion process this process, d conversion al diagram of n XML designe rred to durin ng partner an ation become m a flat file t management pr related rules ar document is t fer protocol ( and message document send Also, there is document co dditionally, it stem to controion for XML
sing System
electronic doc to convert XM ding and rece lectronic docum anagement. F g system module kup language, FT sportation executiL-to-Flat Fil
of XML to fla XML docum is executed.the EDI docum ed in this paper ng this time nd EDI stan s converted to XML electr rocess to crea re designated. transmitted thr FTP), simple queuing (MQ ding and recei
a mapping to onversions can
is equipped w ol this tool ove
L-based EDI
m
cument conver ML EDI electr eiving modules ments, and a c Fig. 2 showses. EDI: electronic TP: file transfer pro
on systems.
le Conversio
at files is show ents are inpu During this t ment r. e is ndard from ronic ate a ough mail ) are iving ol in n be with a er the
I
rsion ronic s, an client the c data otocol,on
wn in utted, time, vari thro docu etc. load Map Fig. EDI:C. D
P
T Fig. scan and serv extr are a case inste conv the eD. M
In conv docu step Ther grap and ous conditions ough transacti ument convers A mapper in ded is also ref pping is done a. 3. Extensible m electronic data int
Designing t
Program
The process of 4. The receiv nned, the requi conversion m vice agreement acted by callin applied on the e mapper tries ead of an XM verted into an engine.
Mapping To
n an EDI docu versions take uments, so a la s are required t refore, a mapp phically betwee implemented ins for the conv ion processin sion and serv n which mapp ferred to in ord
as a user-define
markup language ( terchange, TP: tra
the Flat File
f flat file-to-XM ved flat file th
ired informatio method are ex t information, a ng the scanner. mapper and st s converting t ML file. The XML file thro
ool
ument informati place amon arge amount of to define rules ping rule whic en the convert n this study.version are bei ng (TP) inf vice agreemen ping informati
der to convert ed type and the
(XML)-to flat file co ansaction process
e-to-XML Co
ML conversio hat needs to be on is obtained xtracted by re and finally busThe extracted tored as an XM the file into a
extracted busi ough the optim
ion processing ng various E
f time and man manually for t ch can run to ted documents ing referred to formation for t information, ion is already t to a flat file. en saved. onversion process sing.
onversion
n is shown in e converted is d, and the scan ferring to the siness data are d business data ML/BIZ file in a business file iness data are mization part of system, many EDI electronic ny complicated the conversion. generate rules was designed o r , y . s. n s n e e a n e e f y c d . s dFig. 4. Flat file EDI: electronic da
IV. IMPLEM
DOCUM
The system C++, and th electronic doc to enable cros The database flexible system The XML and conversi converting th are shown in Fig. 5. Screen e-to-extensible ma ata interchange, TMENTATION
MENT PROC
m was develop he system co cument proces ss compiling to for system op m operation us receiving win ion window he inputted XM Figs. 5–7, resp n of extensible ma rkup language (XM P: transaction procN OF XML B
CESSING S
ped in the C la ore part for ssing was spec o be used in W peration was d sing a relationa ndow, inputted with XML b ML document pectively. arkup language (X ML) conversion pro cessing.BASED EDI
YSTEM
anguage and V XML-based cifically config Windows and Li designed to ha al database. d XML docum business data t by XMLSca XML) receive proce ocess. Visual EDI gured inux. ave a ment, a for anner essing. Fig. Fig. Fig. . 6. Inputted exte . 7. Extensible m . 8. Screen of maensible markup lan
arkup language (X apping tool. nguage (XML) doc XML) business da cument. ata.
Fig. 9. Screen of service agreement information.
The window of the web-based control system can be controlled since a variety of information, including agreement, is based on the web, as shown in Fig. 8. Input and modification are possible and judged as easier than the existing application program since it can be accessed from anywhere and anytime as long as the internet is available. Also, because rules are automatically generated by defining the rules graphically as shown in Fig. 9, rule generation between documents is easy.
V. CONCLUSIONS
In this study, an XML-based EDI electronic document system was designed and implemented in such a way that in the process mode, document scanning and mapping with a binary type without using an existing script mode was proposed. Also, a web-based EDI control system was designed in order to allow accessibility from anywhere at any time. By providing graphical conversion tools to create
conversion rules between varieties of EDI documents, rules can easily be created, and by inspecting the rules automatically, validation of the rules is also possible.
Since the XML-based EDI electronic document processing system proposed in this paper inter-converts between Linux and Windows, it would be more useful than existing EDI electronics document processing systems by making transplant possible even among various systems.
Also, it could be utilized as a B2B gateway system with all the merits of XML characteristics such as faster speed and better usage convenience compared to the existing EDI electronic document processing system as well as portability of the system.
As a future research task, research about an expandable system and environment that can make a scanner and mapper using a graphical user interface needs to be carried out.
REFERENCES
[1] J. Ham, “A study on EDI e-document processing system for port logistics,” Journal of Information and Communication Engineering, vol. 15, no. 5, pp. 1081-1086, 2011.
[2] F. Attarchi and N. Fallah, “Design procedure for an EDI System,” Ultrapure Water Journal, vol. 21, no. 5, pp. 29-34, 2004.
[3] G. Yixun, “EDI system based on client/server architecture,” Journal of Xiamen University, vol. 37, no. 5, pp. 662-667, 1998.
[4] P. Verstege, J. Brun, C. Cussac, J. M. Dangreaux, C. Heilbuth, H. Mehnen, A. Ritz, L. Vaessen, and C. Williams, “An audit framework for EDI-related systems,” Proceedings of the 9th International Conference on EDI-IOS, Bled, Slovenia, pp. 556-570, 1996.
[5] T. Xu, Y. Jin, and L. Li, “Designing and implementation of the XML-based symmetrical web-EDI system,” Computer Integrated Manufacturing Systems, vol. 7, no. 10, pp. 53-56, 2001.
Chang Su Kim
received B.S., M.S., and Ph.D. degrees from the Department of Computer Engineering of Paichai University, Korea, in 1996, 1998, and 2002, respectively. From 2005 to 2012, he worked for the Department of Internet at Chungwoon University as a professor and he has worked in the Business Support Division at the Daejeon Technopark. Since 2012, he has worked at the Industry-Academic Cooperation Foundation at Paichai University, where he works as an industry-academic cooperation professor. His current research interests include multimedia document architecture modeling, web 2.0, and the semantic web.
Hoe Kyung Jung
received the B.S degree in 1987 and Ph. D. degree in 1993 from the Department of Computer Engineering of Kwangwoon University, Korea. From 1994 to 2005, he worked for ETRI as a researcher. Since 1997, he has worked in the Department of Computer Engineering at Paichai University, where he now works as a professor. His current research interests include multimedia document architecture modeling, information processing, information retrieval, and databases.