[go: up one dir, main page]

CN1417717A - A management system that can receive and parse orders in XML format - Google Patents

A management system that can receive and parse orders in XML format Download PDF

Info

Publication number
CN1417717A
CN1417717A CN 01134644 CN01134644A CN1417717A CN 1417717 A CN1417717 A CN 1417717A CN 01134644 CN01134644 CN 01134644 CN 01134644 A CN01134644 A CN 01134644A CN 1417717 A CN1417717 A CN 1417717A
Authority
CN
China
Prior art keywords
format
order
xml format
xml
management system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 01134644
Other languages
Chinese (zh)
Inventor
邱鸿亮
余文祺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inventec Corp
Original Assignee
Inventec Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inventec Corp filed Critical Inventec Corp
Priority to CN 01134644 priority Critical patent/CN1417717A/en
Publication of CN1417717A publication Critical patent/CN1417717A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention is a management system for receiving and analyzing XML format order, which is constructed between a commodity manufacturer and at least one consignor computer system through Internet, to make the commodity manufacturer computer judge the correctness of the XML format order after receiving the XML format order from each consignor computer, and analyze the data information in the order, and then convert it into the EDI format order, to make it compatible with the EDI format order stored in the database of the management system.

Description

可用以接收并解析XML格式订单的管理系统A management system that can receive and parse orders in XML format

技术领域technical field

本发明涉及一种网络的订单管理系统,尤指一种可自国际互联网(Internet)上接收XML格式的订单,并将该XML格式订单,转换成EDI格式的订单后,与一资料库中原储存的EDI格式订单,整合在一起的可用以接收并解析XML格式订单的管理系统。The invention relates to a network order management system, especially an order that can receive an order in XML format from the Internet (Internet), convert the order in XML format into an order in EDI format, and store it with a database. An integrated EDI format order management system that can receive and parse XML format orders.

发明背景Background of the invention

XML(eXtensible Markup Language,简称XML)是根据SGML(StandardGeneralized Markup Language,简称SGML)所制定出来,因此XML可视为sGML的一部份,主要用以在电子文件里加上标记,使该电子文件的内容具有结构性,成为电脑与使用者都易于了解的电子文件,令其在国际互联网(World Wide Web,简称WWW)上进行传递、交换及使用时更为方便。一般言,XML本身仅规定如何加注标记的语法(Syntax),并没有定义特定的标记(Markup),但XML仍允许使用者在各别的应用领域,自行定义所需的标记,因而形成了各种XML的语汇(Vocabulary)。XML (eXtensible Markup Language, referred to as XML) is formulated according to SGML (Standard Generalized Markup Language, referred to as SGML), so XML can be regarded as a part of sGML, which is mainly used to add tags in electronic documents to make the electronic documents The content is structured and becomes an electronic file that is easy for both computers and users to understand, making it more convenient to transfer, exchange and use it on the Internet (World Wide Web, referred to as WWW). Generally speaking, XML itself only stipulates how to mark the grammar (Syntax), and does not define specific marks (Markup), but XML still allows users to define the required marks in different application fields, thus forming the Various XML vocabulary (Vocabulary).

传统上,在国际互联网上最为人熟知的标记语言,是属常见的HTML,HTML具备简单实用的特征,故在国际互联网上已创造出极广大的市场,但由于HTML具有下列缺点,故其已无法满足现今国际互联网的需求:Traditionally, the most well-known markup language on the Internet is the common HTML. HTML has simple and practical features, so it has created a huge market on the Internet. However, HTML has the following shortcomings, so it has Unable to meet the needs of today's Internet:

(1)HTML的结构不太规则:在HTML中,虽一般标记均是成对的,以将一段文字夹在中间,惟却仍有少数标记是呈不成对状,此一不规则性,造成使用上的诸多困难,也增加了资料分析上的困难度,如:难以在应用软件中,对网页里的资讯进行如查询资料库般的查询。(1) The structure of HTML is not very regular: In HTML, although the general tags are in pairs to sandwich a piece of text, there are still a few tags that are not in pairs. This irregularity causes Many difficulties in use also increase the difficulty in data analysis, such as: it is difficult to query the information in the webpage in the application software like querying a database.

(2)HTML的标记含义均是固定的:此一作法,令HTML的应用,有其先天上的限制。事实上,在不同应用领域中,应需要许多特别定义的标记,始能清楚地在各该领域中,表示出各电子文件里的特定结构与意义。(2) The meanings of HTML tags are fixed: this approach makes the application of HTML have its inherent limitations. In fact, in different application fields, many specially defined marks should be required to clearly express the specific structure and meaning of each electronic file in each field.

(3)HTML是将内容与呈现混在一起:此一作法,造成下列两项缺点:(3) HTML mixes content and presentation: this approach causes the following two disadvantages:

(a)首先,网页内容的制作主要是在资讯的收集与整理,而内容的呈现则属美学范畴,需要不同的专业,故若内容与呈现混在一起,只会徒增网页制作上的困难;(a) First of all, the production of web content is mainly about the collection and arrangement of information, while the presentation of content belongs to the category of aesthetics and requires different majors. Therefore, if content and presentation are mixed together, it will only increase the difficulty of web page production;

(b)其次,内容与呈现混在一起,常会造成同一网站里的各个网页,各有其不同的呈现方式,造成彼此不一致。(b) Secondly, content and presentation are mixed together, often resulting in different presentation methods for each webpage in the same website, resulting in inconsistency with each other.

有鉴于此,XML1.0规范乃应运而生,并于1998年02月通过W3C的审核及推荐,成为国际互联网上近年来极为重要的一种标记语言,一般言,XML格式的文件主要包含元件(Element)、属性(Attribute)及文字元素(Text)等三项基本元素,其中元件是指一对标记及所包夹的整个内容,属性则是指标记中的内容,文字元素则是指对应标记间所包夹的文字内容,若欲将XML的各元件一一组合起来,即必须依循XML的语法(Syntax)中符合层级嵌套(Nested)的结构规定,始能正确地将各元件组合在一起。现就一正确的XML文件,说明如下:In view of this, the XML1.0 specification came into being and passed the review and recommendation of W3C in February 1998. It has become an extremely important markup language on the Internet in recent years. Generally speaking, XML format files mainly contain components. (Element), attribute (Attribute) and text element (Text) and other three basic elements, in which the element refers to a pair of tags and the entire content enclosed, the attribute refers to the content in the tag, and the text element refers to the corresponding If you want to combine the XML elements one by one for the text contained between the tags, you must follow the XML syntax (Syntax) that conforms to the hierarchical nesting (Nested) structure regulations, so that you can correctly combine the elements together. A correct XML file is now described as follows:

<姓名><name>

<姓>王</姓><surname>Wang</surname>

<名>小明</名><name>Xiaoming</name>

</姓名>,其中<姓名>至</姓名>、<姓>至</姓>或<名>至</名>的整个内容,即XML文件的各元件,<姓名>、<姓>或<名>是起始标记,</姓名>、</姓>或</名>是结束标记,而各该标记中的内容,如:姓名、姓或名,则为属性,文字元素则是指对应的起始标记及结束标记间所包夹的文字内容,如:王、小明。由该范例可知,在XML的语法中,标记均必需是成对的,且注记有引号(<>),而起始及结束标记间的差别,仅在于结束标记在引号内多加了“/”,在XML文件的语法结构中,两个元件除非彼此无交集,否则,就必须是一元件包含另一元件,形成层级嵌套(Nested)的关系。</name>, the entire content of <name> to </name>, <surname> to </surname> or <name> to </name>, that is, the elements of the XML file, <name>, <surname> Or <name> is the start tag, </name>, </surname> or </name> is the end tag, and the content in each tag, such as: name, surname or first name, is an attribute, and the text element is Refers to the text content enclosed between the corresponding start tag and end tag, such as: Wang, Xiaoming. From this example, we can see that in the XML grammar, tags must be in pairs, and marked with quotation marks (<>), and the difference between the start and end tags is only that the end tag adds "/" inside the quotation marks. ", in the grammatical structure of the XML file, unless two elements have no intersection with each other, one element must contain another element, forming a hierarchical nested (Nested) relationship.

由于XML语法的出现,使得标记语言得以标准化,并应用于各种领域,令其文件内容所传达的讯息,能更容易地传递于各平台间,有助于各种领域中大量资讯的交流、搜寻及处理,另外,XML简单易学,对已经熟悉HTML的使用者而言,更能轻易上手,对于既有的HTML文件,也可利用XHTML语法解决HTML格式过渡到XML格式的问题,因此,XML对于未来网络资讯世界的发展,应有举足轻重的影响。Due to the emergence of XML syntax, the markup language can be standardized and applied in various fields, so that the information conveyed by its document content can be more easily transmitted between various platforms, which is conducive to the exchange of a large amount of information in various fields. Searching and processing. In addition, XML is easy to learn. For users who are already familiar with HTML, it is easier to get started. For existing HTML files, XHTML syntax can also be used to solve the problem of transitioning from HTML format to XML format. Therefore, XML It should have a decisive influence on the development of the future network information world.

近数十年来,由于科技产业的快速发展,各行各业的步调,随着竞争剧烈的市场现况,而不断加快,便利快捷的通讯及交通设施,亦令工商业发展的区域逐步扩大。有鉴于此一发展趋势,世界各大知名品牌的商品制造及销售业,无不利用国际互联网,作为其全球制造及行销网间,进行资讯交换与沟通的工具,使其可根据各区域内市场的不同需求,迅速设计出符合市场需求的商品,再转由各地的加工制造部门,依其设计制作出商品,最后,再通过各地的商品物流部门,将该等商品快速地行销至世界各地,以大幅降低制作成本及供货时间,有效提升其市场的竞争力。In recent decades, due to the rapid development of the technology industry, the pace of all walks of life has been accelerating with the fierce competition in the market. The convenient and fast communication and transportation facilities have also gradually expanded the area for industrial and commercial development. In view of this development trend, the commodity manufacturing and sales industries of the world's major well-known brands all use the Internet as a tool for information exchange and communication between their global manufacturing and marketing networks, so that they can According to different needs, quickly design products that meet the market demand, and then transfer them to the processing and manufacturing departments in various places to produce products according to their designs. Finally, through the commodity logistics departments in various places, these products are quickly sold to all parts of the world. Significantly reduce the production cost and delivery time, and effectively enhance its market competitiveness.

一般言,在前述资讯交换与沟通的体系中,商品制造商与委托制造者间,均建立有一订单管理系统,参阅图1所示,该管理系统是利用网络30在该商品制造商与至少一委托制造者的电脑系统10、20间,建构一可定期沟通的管道,使该委托制造者20可依市场近期的需求,预估末来某一时段内所需的商品数量,并定期通过该管道,预先通报该商品制造商10,并要求该商品制造商10依其当时的库存量及其制造加工的能力,预估在该时段内所能承诺供应的商品数量,并回复该委托制造者20,使该委托制造者20能预知该时段内商品的可能供应数量,以作为其承接客户订单的依据,同时,亦令该商品制造商10可预知未来的商品需求,以弹性调整生产线的速度及产量,大幅减轻因不当库存所增加的成本。Generally speaking, in the aforementioned information exchange and communication system, an order management system is established between the commodity manufacturer and the commissioned manufacturer, as shown in FIG. Between the computer systems 10 and 20 of the entrusted manufacturer, a channel for regular communication is constructed, so that the entrusted manufacturer 20 can estimate the quantity of goods required in a certain period of time in the end according to the recent demand of the market, and regularly pass the Pipeline, notify the commodity manufacturer 10 in advance, and require the commodity manufacturer 10 to estimate the quantity of commodities that can be promised to supply within the time period according to its current inventory and manufacturing and processing capabilities, and reply to the entrusted manufacturer 20, enabling the entrusted manufacturer 20 to predict the possible supply quantity of the commodity within the time period as the basis for accepting customer orders, and at the same time, enabling the commodity manufacturer 10 to predict the future commodity demand and adjust the speed of the production line flexibly And production, greatly reducing the cost increased due to improper inventory.

传统上,该管理系统是定期通过网络30连线,将该委托制造者20的预估订单,以EDI(Acronym for Electronic Data Interchange,简称EDI)格式,经由加值型网络(Value-Added Network,简称VAN)或国际互联网(Internet),传送至该商品制造商10,在该等传送路径中,通过加值型网络传送订单,必需利用加值型网络供应商(如:GEIS)所提供的电子商务解决方案及路径,传输EDI格式的订单,故每年必需支出庞大的路线使用费,而通过国际互联网传送订单,虽可经由国际互联网接收电子邮件式的EDI订单(Mail-based Web-EDI)以节省庞大的路线使用费,并达到近乎即时存取资料的目的,但所传送的订单仍是EDI格式。Traditionally, the management system is regularly connected through the network 30, and the estimated order of the entrusted manufacturer 20 is sent in the format of EDI (Acronym for Electronic Data Interchange, referred to as EDI) via the value-added network (Value-Added Network, VAN for short) or the Internet (Internet), and transmit to the commodity manufacturer 10. In such transmission routes, to transmit the order through the value-added network, it is necessary to use the electronic information provided by the value-added network provider (such as: GEIS). Business solutions and routes, to transmit orders in EDI format, so it is necessary to pay a huge route usage fee every year, and to transmit orders through the Internet, although it is possible to receive email-based EDI orders (Mail-based Web-EDI) through the Internet to Save huge route usage fees and achieve near-instant access to data, but the transmitted order is still in EDI format.

诚如前述,由于近年来XML的兴起,业界均亟欲将XML格式的文件,应用于订单的传送,然而,此一作法,却令原管理系统中所存放的EDI格式的订单,无法与XML格式的订单相容,而无法进行订单资料的交流与整合。故,如何令该管理系统具备一可用以接收并解析XML格式订单的机制,即为业者亟待解决的一重要课题。As mentioned above, due to the rise of XML in recent years, the industry is eager to apply XML format files to order transmission. However, this approach makes it impossible for EDI format orders stored in the original management system to be compatible with XML Format orders are compatible, but order data cannot be exchanged and integrated. Therefore, how to provide the management system with a mechanism for receiving and analyzing orders in XML format is an important issue to be solved urgently by the industry.

发明内容Contents of the invention

有鉴于前述传统管理系统,无法将所接收的XML格式订单,解析成EDI格式的问题,发明人乃研究出一种可用以接收并解析XML格式订单的管理系统,该管理系统是通过国际互联网(Internet)建构在一商品制造商与至少一委托制造者的电脑系统间,使该商品制造商的电脑在接收到由各该委托制造的电脑传来的XML格式的订单后,可判断出该XML格式订单的正确性,并解析出该订单中的数据资料,再将其转换成EDI格式的订单,使与该管理系统的一资料库中原储存的EDI格式订单相容,而可与原先储存的EDI格式订单,相互进行整合。如此,即完全无需通过加值型网络传送订单,而可节省下庞大的路线使用费,且达到近乎即时存取资料的目的。In view of the problem that the aforementioned traditional management system cannot parse the received XML format orders into EDI format, the inventor has developed a management system that can receive and parse XML format orders. The management system is through the Internet ( Internet) is constructed between the computer systems of a commodity manufacturer and at least one commissioned manufacturer, so that the computer of the commodity manufacturer can determine that the XML The correctness of the format order, and analyze the data in the order, and then convert it into an EDI format order, so that it is compatible with the original stored EDI format order in a database of the management system, and can be compatible with the original stored Orders in EDI format are integrated with each other. In this way, there is no need to send orders through value-added networks, which can save huge route usage fees, and achieve the purpose of accessing data almost instantly.

为达成上述目的,本发明的可用以接收并解析XML格式订单的管理系统内设有一可用以解析XML格式文件的XML解析介面,该解析介面是依XML的语法及有关层级嵌套结构的规定,对所接收的XML格式订单中各元件的正确性,进行分析判断,并自该XML格式的订单中,解析出订单的数据资料。该管理系统内还设有一可用以将数据资料转换成EDI格式文件的EDI转换介面,该EDI转换介面是将自XML格式订单中所解析出的该等数据资料,转换成EDI格式的文件。In order to achieve the above purpose, the management system of the present invention that can receive and parse orders in XML format is equipped with an XML parsing interface that can parse XML format files. Analyze and judge the correctness of each component in the received order in XML format, and parse out the order data from the order in XML format. The management system also has an EDI conversion interface for converting data into EDI format files. The EDI conversion interface converts the data parsed from the XML format order into EDI format files.

该管理系统在该商品制造商的电脑接收到各该委托制造者的电脑定期传来的XML格式的订单后,该商品制造商的电脑的中央处理单元将依下列步骤,对其进行处理:首先,读取各该委托制造的电脑传来的XML格式的预估订单;依该XML解析介面内所包含的XML语法及相关层级嵌套结构的规定,对各该XML格式的预估订单进行解析;分析各该XML格式的预估订单,判断其语法及层级嵌套结构是否符合规定;若符合规定,则搜寻该XML格式的预估订单中的元件标记,并读取该对应标记间的文字及数据资料;依该EDI转换介面内所包含的相关规定,将所读取的该文字及数据资料转换成EDI格式的文件;将该EDI格式的文件储存至该资料库中,与原储存的EDI格式订单,整合在一起。After the management system receives the orders in XML format that are regularly transmitted from the computers of the entrusted manufacturers to the computer of the commodity manufacturer, the central processing unit of the computer of the commodity manufacturer will process it according to the following steps: first , read the estimated orders in XML format from the computers that are entrusted to manufacture; analyze the estimated orders in XML format according to the XML grammar contained in the XML analysis interface and the relevant hierarchical nesting structure regulations ;Analyze each estimated order in the XML format to determine whether its syntax and hierarchical nesting structure meet the requirements; if it meets the requirements, search for the component tags in the estimated order in the XML format, and read the text between the corresponding tags and data data; according to the relevant regulations contained in the EDI conversion interface, convert the read text and data data into EDI format files; store the EDI format files in the database, and the original stored Orders in EDI format, integrated together.

附图说明Description of drawings

图1所示是传统商品制造商与委托制造者间的连线架构示意图;Figure 1 is a schematic diagram of the connection structure between the traditional commodity manufacturer and the commissioned manufacturer;

图2所示是本发明的管理系统的方块示意图;Figure 2 is a schematic block diagram of the management system of the present invention;

图3所示是本发明的一较佳实施例中,该管理系统的作业流程示意图。FIG. 3 is a schematic diagram of the operation flow of the management system in a preferred embodiment of the present invention.

具体实施方式Detailed ways

本发明是一种可用以接收并解析XML格式订单的管理系统,参阅图2所示,该管理系统是通过国际互联网(Internet)30,建构在一商品制造商40与至少一委托制造者50的电脑系统间,使该商品制造商40可通过国际互联网(Internet)30,定期接收由委托制造50传来的XML格式的预估订单60,并可将该XML格式的预估订单60,转换成EDI格式的预估订单,然后,该管理系统再将该EDI格式的预估订单,与一资料库41中原储存的EDI格式订单,整合在一起,以分析判断出在未来某一时段内,所能供应的商品数量。The present invention is a management system that can receive and parse orders in XML format. Referring to FIG. 2, the management system is built on a product manufacturer 40 and at least one commissioned manufacturer 50 through the Internet (Internet) 30. Between the computer systems, the product manufacturer 40 can regularly receive the estimated order 60 in XML format sent by the contract manufacturing 50 through the Internet 30, and can convert the estimated order 60 in XML format into The estimated order in EDI format, and then, the management system integrates the estimated order in EDI format with the EDI format order originally stored in a database 41, so as to analyze and judge that in a certain period of time in the future, all The number of items that can be supplied.

在本发明的一较佳实施例中,复参阅图2所示,该管理系统是在该商品制造商的电脑40内装设一可用以解析XML格式文件的XML解析介面43,及一可用以将数据资料转换成EDI格式文件的EDI转换介面42,该解析介面43是依XML的语法(Syntax)中有关层级嵌套(Nested)的结构规定,对所接收的XML格式订单60中各元件的正确性,进行分析判断,而该EDI转换介面42则是将自XML格式订单60中所解析出的数据资料,转换成EDI格式的文件。该管理系统在该商品制造商的电脑40接收到各该委托制造者50定期传来的XML格式的预估订单60后,令该商品制造商的电脑40的中央处里单元44依下列步骤,参阅图3所示,对其进行处理:In a preferred embodiment of the present invention, referring back to shown in Figure 2, the management system is to install an XML parsing interface 43 that can be used to parse XML format files in the computer 40 of the commodity manufacturer, and an XML parsing interface 43 that can be used to convert The EDI conversion interface 42 that converts the data into an EDI format file. The analysis interface 43 is based on the XML syntax (Syntax) related to the nested (Nested) structure, and corrects the components in the received XML format order 60. analysis and judgment, and the EDI conversion interface 42 converts the data analyzed from the XML format order 60 into an EDI format file. After the computer 40 of the product manufacturer receives the estimated order 60 in XML format sent regularly by the entrusted manufacturers 50, the management system makes the central processing unit 44 of the computer 40 of the product manufacturer follow the steps below: Refer to Figure 3 and process it:

(70)首先,读取各该委托制造的电脑50传来的XML格式的预估订单60;(70) First, read the estimated order 60 in XML format transmitted from the computer 50 of each entrusted manufacture;

(71)依该XML解析介面43内所包含的XML语法(Syntax)及相关的层级嵌套(Nested)结构的规定,对各该XML格式的预估订单进行解析;(71) According to the XML syntax (Syntax) contained in the XML parsing interface 43 and the relevant hierarchical nesting (Nested) structure, analyze each estimated order in the XML format;

(72)分析各该XML格式的预估订单60,判断其语法(Syntax)及层级嵌套(Nested)结构是否符合规定;若符合规定,继续下列步骤,否则,进行步骤(77);(72) Analyze each estimated order 60 in the XML format, and judge whether its syntax (Syntax) and hierarchical nesting (Nested) structure meet the regulations; if it meets the regulations, continue the following steps, otherwise, proceed to step (77);

(73)搜寻该XML格式的预估订单60中元件的标记,并读取该对应标记间的文字及数据资料:(73) Search for the mark of the component in the estimated order 60 of the XML format, and read the text and data between the corresponding marks:

(74)依该EDI转换介面42内所包含的相关规定,将所读取的该文字及数据资料转换成EDI格式的文件;(74) According to the relevant regulations contained in the EDI conversion interface 42, convert the read text and data into a file in EDI format;

(75)将该EDI格式的文件储存至该资料库41中,与原储存的EDI格式订单,整合在一起;(75) Store the file in the EDI format in the database 41, and integrate it with the original stored EDI format order;

(76)继续搜寻该XML格式的预估订单60中下一元件的标记;若未搜寻到下一元件的标记,即结束处理,否则,若搜寻到下一元件的标记,则进行步骤(73),继续读取对应标记间的文字及数据资料;(76) continue to search for the mark of the next component in the estimated order 60 of this XML format; If the mark of the next component is not searched, promptly end processing, otherwise, if the mark of the next component is searched, then proceed to step (73 ), continue to read the text and data between the corresponding marks;

(77)显示错误讯息,并产生一要求封包,要求各该委托制造者的电脑50重新传送该XML格式的预估订单60。(77) Display an error message, and generate a request packet, requiring the computer 50 of each entrusted manufacturer to resend the estimated order 60 in XML format.

根据该实施例,若一委托制造者欲通过国际互联网(Internet),传送一XML格式的预估订单,若该预估订单(Forecast Schedule)的内容包括下列项目:According to this embodiment, if an entrusted manufacturer intends to send a forecast order in XML format through the Internet (Internet), if the content of the forecast order (Forecast Schedule) includes the following items:

(1)商品数量(Product Quantity):19(1) Product Quantity: 19

(2)委托制造编号(Business Identifier):656066230(2) Entrusted manufacturing number (Business Identifier): 656066230

(3)委托制造者所在地编号(Location Identifier):17(3) Location Identifier of the entrusted manufacturer: 17

(4)预估起始日期(Begin Date):2001年8月13日(4) Estimated start date (Begin Date): August 13, 2001

(5)预估结束日期(End Date):2001年8月20日(5) Estimated end date (End Date): August 20, 2001

则该预估订单(Forecast Schedule)可为如下所示的XML格式文件:Then the forecast order (Forecast Schedule) can be an XML format file as shown below:

           
-<ForecastSchedule>
  -<ForecastCustomer>

    -<ForecastQuantity>
        <!-- SIPO <DP n="7"> -->
        <dp n="d7"/>
   -<ProductQuantity>19</ProductQuantity>
   </ForecastQuantity>
   -<UsedBy>

   -<PartnerDescription>

     -<BusinessDescription>

       -<GlobalBusinessIdentifer>656066230</GlobalBusinessIdentifer>

     </BusinessDescription>

     -<PhysicalAddress>

       -<GlobalLocationIdentifer>17</GlobalLocationIdentifer>

     </PhysicalAddress>

   </PartnerDescription>
   </UsedBy>
 </ForecastCustomer>
 -<ForecastPeriod>
   -<DatePeriod>

   -<BeginDate>

     -<DateStamp>20010813</DateStamp>

   </BeginDate>

   -<EndDate>

     -<DateStamp>20010820</DateStamp>

     </EndDate>

   </DatePeriod>
   </ForecastPeriod>
</ForecastSechedule>

-<ForecastSchedule>
  -<ForecastCustomer>

    -<ForecastQuantity>
        <!-- SIPO <DP n="7"> -->
        <dp n="d7"/>
-<ProductQuantity>19</ProductQuantity>
   </ForecastQuantity>
   -<UsedBy>

-<PartnerDescription>

-<BusinessDescription>

-<GlobalBusinessIdentifer>656066230</GlobalBusinessIdentifer>

</BusinessDescription>

-<PhysicalAddress>

-<GlobalLocationIdentifer>17</GlobalLocationIdentifer>

</PhysicalAddress>

</PartnerDescription>
   </UsedBy>
 </ForecastCustomer>
 -<ForecastPeriod>
   -<DatePeriod>

-<BeginDate>

-<DateStamp>20010813</DateStamp>

</BeginDate>

-<EndDate>

-<DateStamp>20010820</DateStamp>

</EndDate>

</DatePeriod>
   </ForecastPeriod>
</ForecastSeschedule>

        

等该商品制造商的电脑40接收到该委托制造者50传来的前述XML格式的预估订单60后,该管理系统即可依该XML解析介面43中的语法及有关层级嵌套结构的规定,对该XML格式文件中各元件的正确性,进行分析判断,并解析出各该对应标记间的数据资料,并利用该EDI转换介面42,将其转换成EDI格式的文件,以与该资料库41中原存放的EDI格式订单,相互交流与整合,如此,即完全无需通过加值型网络传送订单,除可节省下庞大的路线使用费外,亦可达到近乎即时存取资料的目的。After the commodity manufacturer's computer 40 receives the aforementioned estimated order 60 in XML format from the entrusted manufacturer 50, the management system can follow the syntax in the XML analysis interface 43 and the relevant hierarchical nesting structure regulations , analyze and judge the correctness of each element in the XML format file, and analyze the data between the corresponding tags, and use the EDI conversion interface 42 to convert it into a file in EDI format to match the data The EDI format orders originally stored in the library 41 are exchanged and integrated with each other. In this way, there is no need to transmit orders through the value-added network. In addition to saving huge route usage fees, it can also achieve near-instant access to data.

以上所述,仅是本发明的一较佳的实施例,惟,本发明所主张的权利范围,并不局限于此,按凡熟悉该项技艺人士,依据本发明所揭露的技术内容,可轻易思及的等效变化,均应属不脱离本发明的保护范畴。The above is only a preferred embodiment of the present invention, but the scope of rights claimed by the present invention is not limited thereto. According to those who are familiar with the art, according to the technical content disclosed in the present invention, they can The easily conceivable equivalent changes shall all fall within the scope of protection of the present invention.

Claims (5)

1、一种可用以接收并解析XML格式订单的管理系统,其特征是:该管理系统是通过国际互联网(Internet)建构在一商品制造商与至少一委托制造者的电脑系统间,使该商品制造商的电脑可通过国际互联网,定期接收由委托制造者的电脑传来的XML格式订单,并依下列步骤进行处理:1. A management system capable of receiving and parsing orders in XML format, characterized in that: the management system is constructed between the computer systems of a commodity manufacturer and at least one entrusted manufacturer through the Internet, so that the commodity The manufacturer's computer can regularly receive XML format orders from the entrusted manufacturer's computer through the Internet, and process them according to the following steps: 读取该XML格式的订单,并将其转换成EDI格式的订单;Read the order in XML format and convert it into an order in EDI format; 然后,再将该EDI格式订单,与该管理系统的一资料库中原储存的EDI格式订单,整合在一起。Then, the EDI format order is integrated with the original stored EDI format order in a database of the management system. 2、如权利要求1所述的可用以接收并解析XML格式订单的管理系统,其特征是:该管理系统内设有一可用以解析XML格式文件的XML解析介面,该解析介面是依XML的语法及有关层级嵌套结构的规定,对所接收的XML格式订单中各元件的正确性,进行分析判断,并自该XML格式的订单中,解析出订单的数据资料。2. The management system capable of receiving and parsing orders in XML format according to claim 1, characterized in that: the management system is equipped with an XML parsing interface that can parse XML format files, and the parsing interface is based on XML syntax According to the regulations on hierarchical nesting structure, analyze and judge the correctness of each component in the received order in XML format, and parse out the order data from the order in XML format. 3、如权利要求2所述的可用以接收并解析XML格式订单的管理系统,其特征是:该管理系统内设有一可用以将数据资料转换成EDI格式文件的EDI转换介面,该EDI转换介面是将自XML格式订单中所解析出的该等数据资料,转换成EDI格式的文件。3. The management system capable of receiving and analyzing orders in XML format as claimed in claim 2, characterized in that: the management system is equipped with an EDI conversion interface that can convert data into EDI format files, and the EDI conversion interface It is to convert the data analyzed from the XML format order into an EDI format file. 4、如权利要求3所述的可用以接收并解析XML格式订单的管理系统,其特征是:该管理系统在该商品制造商的电脑接收到各该委托制造者的电脑定期传来的XML格式的订单后,该商品制造商的电脑的中央处理单元将依下列步骤,对其进行处理:4. The management system capable of receiving and parsing orders in XML format as claimed in claim 3, characterized in that: the management system receives XML format orders regularly transmitted from the computers of the entrusted manufacturers on the computer of the product manufacturer. After the order is placed, the central processing unit of the manufacturer's computer will process it in the following steps: 首先,读取各该委托制造的电脑传来的XML格式的预估订单;First, read the estimated order in XML format from each computer to be commissioned; 依该XML解析介面内所包含的XML语法及相关层级嵌套结构的规定,对各该XML格式的预估订单进行解析;According to the XML syntax contained in the XML analysis interface and the relevant hierarchical nesting structure, analyze the estimated orders in the XML format; 分析各该XML格式的预估订单,判断其语法及层级嵌套结构是否符合规定;Analyze each estimated order in the XML format, and judge whether its grammar and hierarchical nesting structure meet the regulations; 若符合规定,则搜寻该XML格式的预估订单中的元件标记,并读取该对应标记间的文字及数据资料;If the requirements are met, search for the component tags in the estimated order in XML format, and read the text and data between the corresponding tags; 依该EDI转换介面内所包含的相关规定,将所读取的该文字及数据资料转换成EDI格式的文件;According to the relevant regulations contained in the EDI conversion interface, convert the read text and data into EDI format files; 将该EDI格式的文件储存至该资料库中,与原储存的EDI格式订单,整合在一起。Store the document in EDI format in the database, and integrate it with the original stored EDI format order. 5、如权利要求4所述的可用以接收并解析XML格式订单的管理系统,其特征是:若该XML格式的预估订单的语法及层级嵌套结构不符合规定,则显示错误讯息,并产生一要求封包,要求各该委托制造者的电脑重新传送该XML格式的预估订单。5. The management system capable of receiving and parsing orders in XML format as claimed in claim 4, characterized in that: if the grammar and hierarchical nesting structure of the estimated order in XML format do not comply with the regulations, an error message will be displayed, and A request packet is generated to request the computer of each commissioned manufacturer to retransmit the estimated order in XML format.
CN 01134644 2001-11-08 2001-11-08 A management system that can receive and parse orders in XML format Pending CN1417717A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 01134644 CN1417717A (en) 2001-11-08 2001-11-08 A management system that can receive and parse orders in XML format

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 01134644 CN1417717A (en) 2001-11-08 2001-11-08 A management system that can receive and parse orders in XML format

Publications (1)

Publication Number Publication Date
CN1417717A true CN1417717A (en) 2003-05-14

Family

ID=4672638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 01134644 Pending CN1417717A (en) 2001-11-08 2001-11-08 A management system that can receive and parse orders in XML format

Country Status (1)

Country Link
CN (1) CN1417717A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1324511C (en) * 2003-05-23 2007-07-04 联想(北京)有限公司 Dynamic file indexing equipment and method based on data bank and expandable marked language
CN101145157B (en) * 2007-06-14 2010-06-02 中兴通讯股份有限公司 XML format embedded type apparatus characteristic information analysis method
CN1961314B (en) * 2004-05-04 2011-03-30 费舍-柔斯芒特系统股份有限公司 Method and device for correcting process control data
CN101506799B (en) * 2006-08-16 2011-07-13 三星电子株式会社 Extensible markup language document management system method for forwarding documents
CN101390089B (en) * 2006-02-24 2012-08-29 微软公司 Scalable Algorithms for Sharing EDI Schemas
CN102999632A (en) * 2012-12-14 2013-03-27 上海斐讯数据通信技术有限公司 Method for automatically reading and submitting tree structure database

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1324511C (en) * 2003-05-23 2007-07-04 联想(北京)有限公司 Dynamic file indexing equipment and method based on data bank and expandable marked language
CN1961314B (en) * 2004-05-04 2011-03-30 费舍-柔斯芒特系统股份有限公司 Method and device for correcting process control data
CN102081662B (en) * 2004-05-04 2013-06-05 费舍-柔斯芒特系统股份有限公司 Method and apparatus for modifying process control data
CN101390089B (en) * 2006-02-24 2012-08-29 微软公司 Scalable Algorithms for Sharing EDI Schemas
CN101506799B (en) * 2006-08-16 2011-07-13 三星电子株式会社 Extensible markup language document management system method for forwarding documents
CN101145157B (en) * 2007-06-14 2010-06-02 中兴通讯股份有限公司 XML format embedded type apparatus characteristic information analysis method
CN102999632A (en) * 2012-12-14 2013-03-27 上海斐讯数据通信技术有限公司 Method for automatically reading and submitting tree structure database

Similar Documents

Publication Publication Date Title
Damodaran B2B integration over the Internet with XML: RosettaNet successes and challenges
Nurmilaakso et al. A review of XML-based supply-chain integration
US8612307B2 (en) System and method to price and exchange data producers and data consumers through formatting data objects with necessary and sufficient item definition information
US6226675B1 (en) Participant server which process documents for commerce in trading partner networks
US6125391A (en) Market makers using documents for commerce in trading partner networks
EP1381945B1 (en) Method and system for reporting xml data based on precomputed context and a document object model
US7657534B2 (en) Order commitment method and system
US7711676B2 (en) Tracking usage of data elements in electronic business communications
US20190340229A1 (en) Validating an xml document
CN101266666B (en) Document for commerce in trading partner network and interface definition based on same document
Lampathaki et al. Business to business interoperability: A current review of XML data integration standards
Meltzer et al. XML and electronic commerce: enabling the network economy
US20050055631A1 (en) Techniques for streaming validation-based XML processing directions
US20050256965A1 (en) Intellectual asset protocol for defining data exchange rules and formats for universal intellectual asset documents, and systems, methods, and computer program products related to same
US20100077011A1 (en) Frame-slot architecture for data conversion
US8180796B1 (en) Supplier integration with services business language
WO2000023925A2 (en) Documents for commerce in trading partner networks and interface definitions based on the documents
Carlson Designing XML vocabularies with UML
US20030101184A1 (en) Management system for parsing and receiving XML based schedules
CN1417717A (en) A management system that can receive and parse orders in XML format
Thuy et al. Transforming valid XML documents into RDF via RDF schema
Lim et al. The impact of next generation XML
Witte et al. The Integration of EDI and the Internet
CA2370036A1 (en) An intellectual asset protocol for defining data exchange rules and formats for universal intellectual asset documents, and systems, methods, and computer program products relatedto same
Omelayenko Ontology integration tasks in business-to-business e-commerce

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication