基于XML的EDI电子商务平台设计与开发
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着世界信息技术的不断发展,公司的大量日常业务由手工操作逐步转变为由相应的软件系统自动处理,公司进行电子商务通过Internet实现的公司之间或者公司内部信息交换来实现。随着计算机技术从开始发展到现在出现了非常多的软件和硬件环境,不同的开发工具所开发的软硬件系统应用于不同公司不同类型的平台之上,想要实现计算机之间没有差别的信息无错处理已经成为困扰着电子商务技术推广和发展的难题。现有的设计技术设计思想和实现方案所付出成本让企业难以接受,无法满足用户的实际需求。所以有相关需求的企业需要一种新的计算机技术来满足用户降低成本、提高效率要求。
     电子商务的发展和应用已经成为国际互联网的一个主要应用方面,基于web1.0的第一代互联网技术无法满足新的电子商务模式如企业对企业、企业对政府、个人对政府等等。主要原因是现在没有一个统一的协议来规范网间的数据交换标准。企业内部的管理信息、生产数据,不同企业间的资金流动情况、产品购买销售信息需要在不同的平台和不同的数据管理信息系统间进行交换和存储。XML(扩展标记语言)技术的出现,满足了用户的不受限制的跨平台的数据交换和存储的需求,实现了低成本、高效率、跨平台的数据传输。
     电子商务在国外发展从出现到现在不过十几年,但发展非常快,在发达国家电子商务的营业额已经占到商品销售总额的三分之一左右(不同国家有些差异),出现一批电子商务的龙头企业,例如亚马逊书城、雅虎、戴尔等。
     电子商务的应用非常广,不同的分类模式,得到的结果也不相同。其中以交易对象来划分是最常用的方法。按照该方法电子商务可以分为B2B、B2C、C2C、B2M、M2C、B2A(即B2G)、C2A七种模式。
     电子商务减少了人力、物力上开销降低了成本,由于网络的特点使电子商务活动突破了传统商务交易中的时间和空间的限制,提高了商务活动的效率。电子商务所具有的开放性和全球性的特点,为企业创造了更多的商机,获得更多的利益,提高了企业的竞争能力。改变了传统的商品流通模式,减少了中间环节,生产者和消费者可以直接交易。通过网络完成商品的交易全过程。
     因此,在电子商务系统的功能模块主要包括:产品宣传、业务咨询、网上销售、在线支付、交易管理等各项功能。企业借助电子商务平台发布各类商业信息,而客户可借助商务平台中的检索工具获得所需商品信息。参与电子交易的双方可以利用实时和非实时通信工具(如QQ、MSN、电子邮件等)进行文档、语音、视频方式的异地商务交流。最后通过基于XML的EDI技术完成整个电子商务活动:通过银行或信用卡公司实现网上支付,对于实物商品通过自己或其他物公司进行商品配送;对于非实物商品(如软件、影音商品等)可以直接利用网络数据传输技术发送给客户。
     电子商务系统是保证以电子商务活动实现的基础。电子商务系统结构:首先需要一个网络平台,由电子商务服务商包括接入服务商(IAP)、内容服务提供商(ICP)、服务提供商(ISP)、应用服务系统提供商(ASP)提供信息传送所需的所有服务;其次是电子商务基础平台,由CA认证、支付网关和客服中心构成,其中CA认证是核心;最后是各种各样的电子商务应用系统,包括企业内部网络系统、企业管理信息系统、电子商务站点三个部分组成。企业内部网络系统是信息传输的媒介,企业管理信息系统是信息加工、处理的工具,电子商务站点是企业拓展网上市场的窗口。
     XML(Extensible Markup Language)是可扩展标记语言的缩写,是一种非常灵活的基于文本的数据格式。最初是为电子出版行业开发的一种技术,随着互联网的发展XML在网络上的数据交换作用也越来越重要。本章的目的是说明目前XML的发展情况和XML技术的特性以及它的结构。
     XML文档组成的存储单元称为实体,它包含任何解析或未解析的数据。解析的数据是由字符、形态特征数据、宏指令组成的。编码的标记用于文本布局和逻辑结构。XML提供了一种机制对文本布局和逻辑结构做出了限制。有一种软件组件称为XML解释器是用来读取XML文件的,并提供访问文件的内容和结构。基于一个XML解释器做的另一个程序称为XML应用程序。
     XML是网络传输中应用最为广泛的数据格式,其中XHTML就是基于XML构建的。XML外表看似简单却有深奥的内涵,XML是基于纯文本的,最开始是由SGML演变而来。SGML是标准通用标语言的缩写。SGML年代久远,早在WEB不盛行的年代已经出现,一般用来保存电子文档的属性信息或做数据交换,由于SGML的复杂多变,导致学习成本比较高,逐渐给人们抛弃。随之而来XML吸取SGML的优点,化繁为简,逐渐被人们接受,成为了当今的行业标准。
     本系统中是以JDatastore和InterBase做为数据库,利用XML集成器对分散数据库进行包装,将分散数据库的数据按一定的算法和DTD转化为XML文档,同时将对XML文档的修改映射到相应分散数据库中,以CORBA服务对象向外提供访问服务。分散数据库各个方面的异构性完全被集成器屏蔽,外界看到的只是作为CORBA对象的具有统一DTD的XML文档。
     前台界面使用XML+XSLT解析技术实现,可以将XML数据直接解析成XHTML,在浏览器中运行,XHTML有良好的跨平台性,系统不仅兼容在所有PC平台浏览器,在移动平台上也可以正常运行。
     论文本身所论述内容只不过是Java技术在电子商务系统中的简单应用。完成时还有多个待解决的问题,比如怎样优化系统这样如何改进该开发流程将是笔者研究的主要方向。
With the world's information technology continues to evolve, the company's large number of daily business operations are gradually being transferred by hand the corresponding software system automatically processing, e-commerce companies in a company through the Internet to achieve the exchange of information between or within the company to achieve. With the development of computer technology from the beginning to now there are many software and hardware environment, development tools of different software and hardware systems developed by different companies used different types of platform, there is no difference between the computers you want to achieve the information No error handling has become a plague e-commerce technology promotion and development problems. Existing design technical design ideas and implementation allow enterprises to pay the cost of the program difficult to accept, does not meet the user's actual demand. Therefore, relevant demand-driven enterprise requires a new computer technology to meet customers reduce costs and improve efficiency requirements.
     The development and application of e-commerce has become a major Internet applications, based on web1.0 first generation of Internet technology can not meet the new e-commerce models such as business to business, business to government, individuals, etc. to the government. The main reason is the absence of a uniform protocol to standardize the data exchange standards between networks. Internal management information, production data, the flow of funds between different enterprises, product sales information needs to buy different platforms and different data management information exchanged between systems and storage. XML (Extensible Markup Language) technologies, to meet the user's unrestricted cross-platform data exchange and storage needs and achieve a low-cost, high efficiency, cross-platform data transfer.
     The development of e-commerce in foreign countries, but from there to the present 10 years, but developing very fast turnover of e-commerce in developed countries has accounted for approximately one-third of total commodity sales (there are some differences in different countries), there a number of e - the leading business enterprises, such as the Amazon Bookstore, Yahoo, Dell and so on.
     E-commerce applications is very wide, different types of models, the results obtained is not the same. Among them, divided by trading partners is the most commonly used method. According to the method of e-commerce can be divided into B2B, B2C, C2C, B2M, M2C, B2A (ie B2G), C2A 7 kinds of patterns.
     E-commerce to reduce the human and material resources to reduce the overhead costs, due to the characteristics of the network to enable e-commerce breakthrough in the traditional business transactions in time and space constraints, improve business efficiency. E-commerce has the openness and global characteristics of the enterprises to create more business opportunities, get more benefits, improve the competitiveness of enterprises. Has changed the traditional pattern of circulation of commodities, reducing the intermediate links, producers and consumers can deal directly. Commodities through the network to complete the entire process.
     Thus, in e-commerce system function modules include: product promotion, business consulting, online sales, online payment, transaction management and other functions. With the aid of e-commerce platform release all kinds of business information, and customers can take advantage of business platform to obtain the necessary commodity information retrieval tools. The parties involved in electronic transactions can take advantage of real-time and non real-time communication tools (such as QQ, MSN, e-mail, etc.) documents, voice, video, way off-site commercial exchanges. The final adoption of XML-based EDI technology to complete the entire e-commerce activities: through a bank or credit card companies achieve online payment for physical goods or other materials through its own distribution companies in goods; for non-physical goods (such as software, audio-visual products, etc.) can be directly used network data transmission technology to send to the client.
     E-commerce system is to ensure that e-commerce activities in order to achieve the foundation. E-commerce system architecture: first, the need for a network platform, from e-commerce service providers, including access service provider (IAP), content service providers (ICP), service provider (ISP), Application Service Provider (ASP) to provide information send all the necessary services; followed by the e-commerce-based platform, by the CA certificate, payment gateway and a central component of customer service, in which CA certificate is the core; Finally, a variety of e-business applications, including enterprise internal network system, enterprise management information systems, e-commerce site composed of three parts. Within the enterprise network system of information transmission media, enterprise management information system is information processing, handling tools, e-commerce enterprises to expand the online market site is a window.
     XML (Extensible Markup Language) is the abbreviation for Extensible Markup Language, is a very flexible text-based data format. Was originally developed for the electronic publishing industry, a technology with the development of the Internet XML data exchange on the network an increasingly important role. The purpose of this chapter is to specify the current development of XML and XML technology, features, and its structure.
     XML document storage unit known as the entities, it contains no analysis or parsing data. Analysis of the data is from the characters, morphological characteristics of data, macro composition. Coded tags used for text layout and logical structure. XML provides a mechanism for text layout and logical structure to make the limit. There is a software component called the XML parser is used to read XML documents and provide access to the file's contents and structure. Based on an XML parser to do another program called the XML application.
     XML is the most widely used network transmission of data format, in which XHTML is based on XML built. XML look like a simple and profound meaning there is, XML is based on plain text, and most initially evolved from SGML. SGML is a standard general-purpose standard language abbreviation. SGML age-old, back in the era of WEB is not dominant, has emerged, generally used to save the attribute information of electronic documents or do data exchange, due to the complex SGML, resulting in a relatively high learning costs, and gradually to the people to abandon. XML lessons SGML attendant advantages of simplified gradually being accepted, has become today's industry standards.
     This system is based on JDatastore and InterBase as the database, using XML integrator of distributed database package will be distributed database, the data according to certain algorithms and DTD into XML documents, XML documents at the same time the changes will be mapped to the corresponding distributed database in order to provide access to CORBA services to outside clients. Various aspects of distributed database, heterogeneous devices are completely integrated shielding, the outside world saw only as a CORBA object with a unified DTD, XML documents.
     Front-end interface using XML + XSLT parsing technology, you can parse XML data directly into XHTML, is running in the browser, XHTML has a good cross-platform, system is not only compatible with PC platforms on all browsers, on mobile platforms can also be a normal run.
     Paper itself is only discussed the contents of Java technology in e-commerce system in a simple application. Completed to a number of unresolved issues, such as how to optimize the system, so how to improve the development process will be the main direction of the study authors.
引文
[1]杜大鹏著。XML实用大全,北京:中国水利水电出版社,2001
    [2]张利,王显著译: XML实用技术.北京:清华大学出版社,1999
    [3]陈勤意、陈长念著。XML&ASP网页程序设计,北京:清华大学出版社,2001
    [4]王海波、耿辉、姜吉发、白硕、祝明发:基于XML的数据交换.计算机应用,2001
    [5]徐国祥、张新荣:XML在未来Web中的应用.计算机工程,2001 [6]夏小彬、严小卫:XML数据文档及其处理技术探讨.计算机科学,2001
    [7]张大斌,朱邵文,熊伟,朱中煌:电子商务技术及其发展趋势.计算机工程,2001
    [8] CharlesF.Goldfarb,PaulPreseod著,XML实用技术.张利等译:清华大学出版社,1999
    [9]周傲英,张龙,梁宇奇,邱越峰:基于关系的XML数据存储.计算机应用.2000
    [10]吴慧萍,葛隧和: XML在电子商务中的应用前景.计算机应用.2001
    [11]李青山,陈平.一种基于内容的HTML到XML转换策略.计算机工程与应用.2001
    [12]瞿裕忠.一个基于XML的数据交换原型系统.计算机工程.2000,26(9):P35、37
    [13] Ramnivas Laddad . XML APIs for databases. Javaworld. January2000
    [14] Ann Navarro著.XML从入门到精通.周生炳译.电子工业出版社,2000
    [15]林清,董占球.XML与HTML在Web环境中的应用分析.计算机应用.2001
    [16]安世虎,聂培尧.基于XML的应用模型及主要技术.计算机工程与设计.2001
    [17]王劲松,王健,XML部署JSP应用,计算机系统应用,2003
    [18]吴艾,XML/JSP网页编程教程,北京希望电子出版社,2001
    [19]李俊兵,白圣猛,黄敏,B2B网上交易方案研究,微机发展,2003
    [20]王日芬,电子商务网站设计与管理,北京大学出版社,2002
    [21] Jone Wiggles Worth,Java程序设计高级主题,北京大学出版社,2004
    [22]肖桂东,SQLServer疑难解析,电子工业出版社,2003
    [23]丁振凡,XML数据岛技术及应用,技术与方法,2002
    [24]龙德应,基于Web服务/XML的电子商务体系及数据集成研究,广东工业大学学报,2003
    [25]陈小荣,余开朝,基于XML的电子商务应用体系,昆明理工大学学报,2003
    [26]曾莉,应用XML语言设计动态网站,曲靖师范学院学报,2003
    [27] NavarroAnn,周生炳,XML从入门到精通,电子工业出版社,2000
    [28]黄京华,电子商务教程,清华大学出版社,2002
    [29]范平志,袁丁两个小额电子支付系统的性能评估,计算机工程,200
    [30]刘方程,电子商务概论,电子工业出版社,2003
    [31]刘哲,网络银行与电子支付,华南金融电脑,2002

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700