[go: up one dir, main page]

CN1797443A - Data exchange system and method - Google Patents

Data exchange system and method Download PDF

Info

Publication number
CN1797443A
CN1797443A CNA2004100918876A CN200410091887A CN1797443A CN 1797443 A CN1797443 A CN 1797443A CN A2004100918876 A CNA2004100918876 A CN A2004100918876A CN 200410091887 A CN200410091887 A CN 200410091887A CN 1797443 A CN1797443 A CN 1797443A
Authority
CN
China
Prior art keywords
data
exchange
file
module
inventory
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
CNA2004100918876A
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CNA2004100918876A priority Critical patent/CN1797443A/en
Publication of CN1797443A publication Critical patent/CN1797443A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention is a data exchange system, able to exchange data of a provider inventory management system and an enterprise resources planning system. The data exchange system comprises an application server and a database, and the application server is used to obtain the data of providers and enterprises and makes data integration and exchange and comprises an inventory data updating module, a provider distributing module, a data processing module and a tracking inquiry module, where the data processing module comprises a data conversion submodule, a data integration submodule, a data reading submoudle, a data judgment submodule and a data exchange submodule. And the database is used to backup the data obtained from FTP server and store and integrate the updated data. The invention also provides a data exchange method for updating the data of the above two systems.

Description

数据交换系统及方法Data exchange system and method

【技术领域】【Technical field】

本发明涉及一种数据交换系统及方法,尤其涉及一种企业资源规划系统及供应商管理库存系统之间的数据交换系统及方法。The invention relates to a data exchange system and method, in particular to a data exchange system and method between an enterprise resource planning system and a supplier management inventory system.

【背景技术】【Background technique】

每一个制造型企业都有自己的供应链。采购方和供应商之间需要发生交易,采购方不断向供应商采购直接原料。在采购方从供应商处直接采购原料来维持足够的库存水平时,大部分问题都出现在采购过程中。这些问题产生原因是:采购方使用手工流程管理同供应商的关系。随着时间的进展,这些手工操作,费时费力的交易成了日常活动的一部分。此外,采购方关心交易的细节,很少有时间来分析整体状况。采购的是什么原料,采购的批量是多少,从哪个供应商处采购,供应商的成本如何比较,交付期是否满足要求,货运的频率如何及公司能否获得最佳的合同条款等,这些重要的信息都没能得到很好地沟通及清楚地分析。Every manufacturing company has its own supply chain. Transactions need to take place between the buyer and the supplier, and the buyer continuously purchases direct raw materials from the supplier. Most of the problems arise during the procurement process, when buyers purchase raw materials directly from suppliers to maintain adequate inventory levels. These problems arise because buyers use manual processes to manage relationships with suppliers. Over time, these manual, time-consuming transactions became part of daily activities. In addition, buyers are concerned with the details of the transaction and have little time to analyze the overall situation. What kind of raw materials are purchased, what is the batch size of the purchase, which supplier is purchased from, how the supplier's cost is compared, whether the delivery period meets the requirements, how often the freight is shipped, and whether the company can obtain the best contract terms, etc. These are important None of the information was communicated well and analyzed clearly.

面对今日信息经济时代,改变的速度愈来愈快,商品的利润愈来愈低,而如上所述的各类信息可以帮助采购方和产品经理确定影响财务收入的战略。有了这些供应资料,他们就能够对合同条款进行更好的协商,对库存进行更有效的管理,从而在整个企业中降低成本。企业为更好的提升自我竞争力,则应朝向以整合企业内部与外部资源规划的应用系统架构作为企业经营管理的策略。以期能充分利用企业资源、降低营运成本并提高整体的效率,达到企业电子化的效益。2003年2月5日公开的中国第1395203号专利发明揭露一种主动式数据仓储系统。该系统是介于供应商、虚拟库存中心与客户间,通过一网络骨干(Back Bone)主动传递讯息的过程,并有效地加以响应,其工作流程包含资料验证、资料清理、资料综合、新资料的产生、资料构成的非正规化与资料汇总等。该系统主要用于对客户与供应商之间的订单传递及数据确认。Facing today's information economy era, the speed of change is getting faster and faster, and the profit of commodities is getting lower and lower. The above-mentioned types of information can help buyers and product managers determine strategies that affect financial revenue. Armed with this supply profile, they are able to better negotiate contract terms and manage inventory more effectively, reducing costs across the business. In order to better enhance self-competitiveness, enterprises should adopt an application system architecture that integrates internal and external resource planning of the enterprise as a strategy for enterprise management. In order to make full use of enterprise resources, reduce operating costs and improve overall efficiency, to achieve the benefits of enterprise electronics. China Patent No. 1395203 published on February 5, 2003 discloses an active data storage system. The system is a process of actively transmitting information through a network backbone (Back Bone) between suppliers, virtual inventory centers and customers, and responds effectively. Its workflow includes data verification, data cleaning, data synthesis, new data generation, informalization of data composition, and data aggregation. The system is mainly used for order delivery and data confirmation between customers and suppliers.

然而,在实际应用中,作为采购方的企业与供应商之间需要更紧密的联系,及时传递双方的最新信息,如供应商的库存信息等,并对双方交换的数据进行整合更新,以即时更新至供应商管理库存系统及企业资源规划系统,且需要确认双方的数据交换是否成功。However, in practical applications, enterprises as purchasers need closer ties with suppliers, timely transmit the latest information of both parties, such as supplier inventory information, etc., and integrate and update the data exchanged by both parties to real-time Update to the supplier management inventory system and enterprise resource planning system, and need to confirm whether the data exchange between the two parties is successful.

所以需要提供一种数据交换系统及方法,可实现对供应商管理库存系统及企业资源规划系统之间的数据传递交换;通过预先设置的热键,可将数据自动更新至供应商管理库存系统及企业资源规划系统;在数据交换过程中,系统可实现自动跟踪查询功能,以确认数据交换是否成功。Therefore, it is necessary to provide a data exchange system and method, which can realize the data transfer and exchange between the supplier management inventory system and the enterprise resource planning system; through the preset hotkey, the data can be automatically updated to the supplier management inventory system and the enterprise resource planning system. Enterprise resource planning system; during the data exchange process, the system can realize the automatic tracking and query function to confirm whether the data exchange is successful.

【发明内容】【Content of invention】

本发明的主要目的在于提供一种数据交换系统,其可通过供应商管理库存系统及企业资源规划系统之间进行数据交换,实现对上述两个系统数据的更新,并对交换过程进行自动跟踪查询,确认数据交换是否成功。The main purpose of the present invention is to provide a data exchange system, which can update the data of the above two systems through data exchange between the supplier management inventory system and the enterprise resource planning system, and automatically track and query the exchange process , to confirm whether the data exchange is successful.

本发明的另一目的在于提供一种数据交换方法,其可通过供应商管理库存系统及企业资源规划系统之间进行数据交换,实现对上述两个系统数据的更新,并对交换过程进行自动跟踪查询,确认数据交换是否成功。Another object of the present invention is to provide a data exchange method, which can update the data of the above two systems through data exchange between the supplier management inventory system and the enterprise resource planning system, and automatically track the exchange process Query to confirm whether the data exchange is successful.

为达成上述的目的,本发明提供一个数据交换系统,其可自动完成数据交换。该系统包括一应用服务器及一数据库。应用服务器用于获取供应商的库存数据、企业的订货数据及其它所需数据,并对数据进行整合及交换,以利于及时更新企业资源规划系统及供应商管理库存系统,其包括一库存数据更新模块、一供应商分配模块、一数据处理模块及一跟踪查询模块。其中,库存数据更新模块用于将供应商管理库存系统的库存数据定时更新至企业资源规划系统中的库存明细。供应商分配模块用于将企业对货物的需求量按比例自动分配至不同供应商处。数据处理模块用于处理企业资源规划系统及供应商管理库存系统所储存的不同数据,其包括一数据转换子模块、一数据整合子模块、一数据读取子模块、一数据判断子模块及一数据交换子模块。数据转换子模块用于从FTP(File Transfer Protocol,文件传输协议)服务器获取所需的数据并将该数据备份于数据库中,依数据存储格式进行相互转换,例如将EDI、HTML、E-mail文字等格式转换成XML格式或将XML格式转换成EDI、HTML、E-mail文字等格式。数据整合子模块用于将格式转换后的数据汇入系统,并对数据的相同项(如零部件数量等)进行整合(如加总等)。数据读取子模块用于读取整合后的数据,读取数据时以单行方式进行。数据判断子模块用于在读取数据时,判断所读取行的数据是否正确,并根据判断结果生成新文件,对正确与错误的数据分别进行存储,若所有数据都是正确的或者都是错误的,则只生成一份文件。数据交换子模块用于将判断及整合后的数据,替换FTP服务器存储的原文件,则通过预先设置的热键即可将数据文件更新至企业资源规划系统以及供应商管理库存系统。跟踪查询模块用于对数据交换作自动稽核,确认交换是否成功,并作一稽核记录存储于一资料夹中,该资料夹存放于数据库中。数据库用于备份从FTP服务器获取的数据以及存储整合更新后的数据。To achieve the above purpose, the present invention provides a data exchange system, which can automatically complete data exchange. The system includes an application server and a database. The application server is used to obtain the supplier's inventory data, the enterprise's order data and other required data, and integrate and exchange the data, so as to facilitate the timely update of the enterprise resource planning system and the supplier management inventory system, which includes an inventory data update module, a supplier allocation module, a data processing module and a tracking query module. Wherein, the inventory data update module is used to regularly update the inventory data in the supplier management inventory system to the inventory details in the enterprise resource planning system. The supplier allocation module is used to automatically allocate the enterprise's demand for goods to different suppliers in proportion. The data processing module is used to process different data stored in the enterprise resource planning system and the supplier management inventory system, which includes a data conversion sub-module, a data integration sub-module, a data reading sub-module, a data judgment sub-module and a Data exchange sub-module. The data conversion sub-module is used to obtain the required data from the FTP (File Transfer Protocol, file transfer protocol) server and back up the data in the database, and perform mutual conversion according to the data storage format, such as converting EDI, HTML, E-mail text Convert other formats into XML format or convert XML format into EDI, HTML, E-mail text and other formats. The data integration sub-module is used to import the format-converted data into the system, and integrate (such as summation, etc.) the same items of data (such as the number of parts, etc.). The data reading sub-module is used to read the integrated data, and the data is read in a single row. The data judging sub-module is used to judge whether the data of the read row is correct when reading data, and generate a new file according to the judging result, and store the correct and wrong data respectively. If all the data are correct or all If it is wrong, only one file will be generated. The data exchange sub-module is used to replace the original file stored in the FTP server with the judged and integrated data, and then the data file can be updated to the enterprise resource planning system and the supplier management inventory system through the preset hotkey. The tracking query module is used to automatically check the data exchange, confirm whether the exchange is successful, and make an audit record and store it in a folder, which is stored in the database. The database is used to back up the data obtained from the FTP server and to store and integrate updated data.

本发明还提供一种数据交换方法,该方法包括以下步骤:从FTP服务器获取所需的数据,并将获取的数据备份于数据库中;依数据存储格式进行相互转换,例如将EDI、HTML、E-mail文字等格式转换成XML格式或将XML格式转换成EDI、HTML、E-mail文字等格式;将格式转换后的数据汇入系统,并对数据的相同项(如零部件数量等)进行整合(如加总等);读取整合后的数据,读取数据时以单行方式进行;在读取数据时,判断所读取行的数据是否正确,根据判断结果生成新文件,将正确与错误的数据分别进行存储,若所有数据都是正确的或者都是错误的,则只生成一份文件,该文件存储于数据库中;根据需要可将生成的新文件中的正确文件转换成其它格式的文件;将格式转换后的文件替换FTP服务器存储的原文件,而错误文件则存储在另一资料夹中,若判断后无任何正确数据,则不进行文件的交换,仅将错误文件存储于FTP服务器的另一资料夹;对数据交换作自动稽核,确认交换是否成功,若交换成功则保存稽核记录,若交换失败则先返回一失败原因,再保存稽核记录,该稽核记录存储于数据库中的一资料夹。The present invention also provides a data exchange method, which includes the following steps: obtain the required data from the FTP server, and back up the obtained data in the database; perform mutual conversion according to the data storage format, such as converting EDI, HTML, E -Convert mail text and other formats into XML format or convert XML format into EDI, HTML, E-mail text and other formats; import the data after format conversion into the system, and carry out the same items of data (such as the number of parts, etc.) Integration (such as summation, etc.); read the integrated data, and read the data in a single line; when reading the data, judge whether the data of the read line is correct, generate a new file according to the judgment result, and combine the correct and Wrong data are stored separately, if all data are correct or all are wrong, only one file will be generated and stored in the database; correct files in the generated new files can be converted into other formats as needed files; the converted file will replace the original file stored on the FTP server, and the wrong file will be stored in another folder. If there is no correct data after judging, the file will not be exchanged, and only the wrong file will be stored in Another file folder of the FTP server; automatically audit the data exchange, confirm whether the exchange is successful, if the exchange is successful, save the audit record, if the exchange fails, first return a failure reason, and then save the audit record, which is stored in the database a folder of .

利用本发明,可实现供应商管理库存系统及企业资源规划系统之间的数据交换,且可通过预先设置的热键,将数据自动更新至供应商管理库存系统及企业资源规划系统,在数据交换过程中,系统可实现自动跟踪查询功能,以确认数据交换是否成功。Utilizing the present invention, the data exchange between the supplier management inventory system and the enterprise resource planning system can be realized, and the data can be automatically updated to the supplier management inventory system and the enterprise resource planning system through the preset hotkey, and the data exchange During the process, the system can realize the automatic tracking and query function to confirm whether the data exchange is successful.

【附图说明】【Description of drawings】

图1是本发明数据交换系统的架构图。Fig. 1 is a structure diagram of the data exchange system of the present invention.

图2是本发明数据交换系统的应用服务器的功能模块图。Fig. 2 is a functional block diagram of the application server of the data exchange system of the present invention.

图3是本发明数据交换系统的部分EDI数据传递示意图。Fig. 3 is a schematic diagram of part of EDI data transmission of the data exchange system of the present invention.

图4是本发明数据交换方法流程图。Fig. 4 is a flow chart of the data exchange method of the present invention.

图5是本发明数据交换方法的订货流程图。Fig. 5 is an order flow chart of the data exchange method of the present invention.

【具体实施方式】【Detailed ways】

为便于理解,以下对本发明所涉及的专业术语做简要说明:For ease of understanding, the technical terms involved in the present invention are briefly described below:

ERP:Enterprise Resource Planning,企业资源规划系统。ERP: Enterprise Resource Planning, enterprise resource planning system.

VMI:Vendor Managed Inventory,供应商管理库存系统。VMI: Vendor Managed Inventory, supplier management inventory system.

FTP:File Transfer Protocol,文件传输协议。FTP: File Transfer Protocol, file transfer protocol.

EDI:Electronic Data Interchange,电子数据交换。EDI: Electronic Data Interchange, Electronic Data Interchange.

EDI846:为一种EDI格式,用于供应商向企业发送库存量的相关数据,可根据双方使用者的需要自由设置发送与接收的频率,如每小时发送两次,对方每小时接收两次等。EDI846: It is an EDI format for suppliers to send inventory related data to enterprises. The frequency of sending and receiving can be freely set according to the needs of both users, such as sending twice per hour and receiving twice per hour, etc. .

EDI862:为一种EDI格式,用于企业向供应商发出的订货通知,由使用者手动发送,供应商可根据需要自由设置接收的频率。EDI862: It is an EDI format used for the order notification sent by the enterprise to the supplier, which is sent manually by the user, and the supplier can freely set the receiving frequency according to the needs.

EDI856:为一种EDI格式,用于供应商向企业发出的出货通知,可根据双方使用者的需要自由设置发送与接收的频率。EDI856: It is an EDI format used for shipping notices sent by suppliers to enterprises, and the frequency of sending and receiving can be freely set according to the needs of both users.

EDI861:为一种EDI格式,用于企业向供应商发出的出货确认,由使用者手动发送,供应商可根据需要自由设置接收的频率。EDI861: It is an EDI format, which is used for the shipment confirmation issued by the enterprise to the supplier, which is sent manually by the user, and the supplier can freely set the receiving frequency according to the needs.

如图1所示,是本发明数据交换系统的架构图。数据交换系统1由一应用服务器10及一数据库11组成。该数据交换系统1通过FTP服务器2与企业资源规划系统3相连接,并通过网络4与一供应商管理库存系统5及多个使用者端计算机6连接。网络4可以是一企业内部网(Intranet),也可以是互联网(Internet)或其它类型通讯网络。As shown in FIG. 1, it is a structure diagram of the data exchange system of the present invention. The data exchange system 1 is composed of an application server 10 and a database 11 . The data exchange system 1 is connected to an enterprise resource planning system 3 through an FTP server 2 , and is connected to a supplier management inventory system 5 and a plurality of client computers 6 through a network 4 . The network 4 can be an intranet, or the Internet or other types of communication networks.

应用服务器10用于获取供应商的库存数据、企业的订货数据及其它数据,并对数据进行整合及交换,以利于及时更新企业资源规划系统3及供应商管理库存系统5。数据库11用于备份从FTP服务器2获取的数据以及存储整合更新后的数据。FTP服务器2用于获取企业资源规划系统3提供的订货数据等文件及通过网络4获取供应商管理库存系统5提供的库存数据等文件,并存储处理后的数据文件,通过预先设置的热键即可将数据文件更新至企业资源规划系统3以及供应商管理库存系统5。使用者端计算机6提供一交互式用户界面,以便于使用者选择及查看相关数据。The application server 10 is used to obtain the supplier's inventory data, the enterprise's order data and other data, and integrate and exchange the data, so as to facilitate timely updating of the enterprise resource planning system 3 and the supplier management inventory system 5 . The database 11 is used for backing up the data acquired from the FTP server 2 and for storing integrated and updated data. The FTP server 2 is used to obtain files such as order data provided by the enterprise resource planning system 3 and obtain files such as inventory data provided by the supplier management inventory system 5 through the network 4, and store the processed data files. Data files can be updated to the enterprise resource planning system 3 as well as the vendor managed inventory system 5 . The client computer 6 provides an interactive user interface for users to select and view relevant data.

如图2所示,是本发明数据交换系统的应用服务器的功能模块图。应用服务器10用于获取供应商的库存数据、企业的订货数据及其它数据,并对数据进行整合及交换,以利于及时更新企业资源规划系统3及供应商管理库存系统5。该应用服务器10包括一库存数据更新模块100、一供应商分配模块101、一数据处理模块102及一跟踪查询模块103。其中,库存数据更新模块100用于将供应商管理库存系统5的库存数据定时更新至企业资源规划系统3中的库存明细。供应商分配模块101用于将企业对货物的需求量按比例自动分配至不同供应商处。数据处理模块102用于处理企业资源规划系统3及供应商管理库存系统5所储存的不同数据,其包括一数据转换子模块1020、一数据整合子模块1021、一数据读取子模块1022、一数据判断子模块1023及一数据交换子模块1024。数据转换子模块1020用于从FTP服务器2获取所需的数据并将该数据备份于数据库11中,依数据存储格式进行相互转换,例如将EDI、HTML、E-mail文字等格式转换成XML格式或将XML格式转换成EDI、HTML、E-mail文字等格式。数据整合子模块1021用于将格式转换后的数据汇入系统,并对数据的相同项(如零部件数量等)进行整合(如加总等)。数据读取子模块1022用于读取整合后的数据,读取数据时以单行方式进行。数据判断子模块1023用于在读取数据时,判断所读取行的数据是否正确,例如判断数据是否匹配等,其判断的条件可以设置及修改。然后,根据判断结果生成新文件,将正确与错误的数据分别进行存储,若所有数据都是正确的或者都是错误的,则只生成一份文件。数据交换子模块1024用于将判断及整合后的数据,替换FTP服务器2存储的原文件,通过预先设置的热键即可将数据文件更新至企业资源规划系统3以及供应商管理库存系统5。跟踪查询模块103用于对数据交换作自动稽核,确认交换是否成功,并作一稽核记录存储于一资料夹中,该资料夹存放于数据库11中。As shown in Fig. 2, it is a functional block diagram of the application server of the data exchange system of the present invention. The application server 10 is used to obtain the supplier's inventory data, the enterprise's order data and other data, and integrate and exchange the data, so as to facilitate timely updating of the enterprise resource planning system 3 and the supplier management inventory system 5 . The application server 10 includes an inventory data update module 100 , a supplier allocation module 101 , a data processing module 102 and a tracking query module 103 . Wherein, the inventory data update module 100 is used to periodically update the inventory data of the supplier management inventory system 5 to the inventory details in the enterprise resource planning system 3 . The supplier allocation module 101 is used to automatically allocate the enterprise's demand for goods to different suppliers in proportion. The data processing module 102 is used to process different data stored by the enterprise resource planning system 3 and the supplier management inventory system 5, and it includes a data conversion submodule 1020, a data integration submodule 1021, a data reading submodule 1022, a A data judgment sub-module 1023 and a data exchange sub-module 1024 . The data conversion sub-module 1020 is used to obtain the required data from the FTP server 2 and back up the data in the database 11, and perform mutual conversion according to the data storage format, such as converting EDI, HTML, E-mail text and other formats into XML format Or convert XML format into EDI, HTML, E-mail text and other formats. The data integration sub-module 1021 is used to import the format-converted data into the system, and integrate (such as summation, etc.) the same items of data (such as the number of components, etc.). The data reading sub-module 1022 is used to read the integrated data, and read the data in a single row. The data judging sub-module 1023 is used for judging whether the data of the read row is correct when reading data, for example judging whether the data matches, etc. The judging conditions can be set and modified. Then, a new file is generated according to the judgment result, and the correct and wrong data are stored separately. If all the data are correct or all are wrong, only one file is generated. The data exchange sub-module 1024 is used to replace the original file stored in the FTP server 2 with the judged and integrated data, and update the data file to the enterprise resource planning system 3 and the supplier management inventory system 5 through a preset hotkey. The tracking query module 103 is used to automatically audit the data exchange, confirm whether the exchange is successful, and make an audit record and store it in a folder, which is stored in the database 11 .

如图3所示,是本发明所述的数据交换系统的部分EDI数据传递示意图,进行数据传递的系统分别为企业资源规划系统3与供应商管理库存系统5。供应商管理库存系统5向企业资源规划系统3发送数据文件EDI846,为有关库存量等数据。企业资源规划系统3根据需求及对方的库存量向供应商管理库存系统5发出订货通知EDI862,供应商管理库存系统5调配好货物种类及数量后即发送出货通知EDI856,企业资源规划系统3对出货通知确认无误后,即发送出货确认EDI861至供应商管理库存系统5。As shown in FIG. 3 , it is a schematic diagram of part of the EDI data transfer of the data exchange system of the present invention, and the systems for data transfer are the enterprise resource planning system 3 and the supplier management inventory system 5 respectively. The supplier management inventory system 5 sends the data file EDI846 to the enterprise resource planning system 3, which is the data about inventory and so on. The enterprise resource planning system 3 sends an order notification EDI862 to the supplier management inventory system 5 according to the demand and the inventory of the other party. After the shipping notification is confirmed to be correct, the shipping confirmation EDI861 is sent to the supplier management inventory system 5.

如图4所示,是本发明所述的数据交换方法流程图。首先,数据转换子模块1020从FTP服务器2获取所需的数据(步骤S1)。将获取的数据备份于数据库11中(步骤S2)。依数据存储格式进行相互转换,例如将EDI、HTML、E-mail文字等格式转换成XML格式或将XML格式转换成EDI、HTML、E-mail文字等格式(步骤S3)。数据整合子模块1021将格式转换后的数据汇入系统,并对数据的相同项(如零部件数量等)进行整合(如加总等)(步骤S4)。数据读取子模块1022读取整合后的数据,读取数据时以单行方式进行(步骤S5)。数据判断子模块1023在读取数据时,判断所读取行的数据是否正确(步骤S6)。根据判断结果生成新文件,将正确与错误的数据分别进行存储,若所有数据都是正确的或者都是错误的,则只生成一份文件,文件存储于数据库11中(步骤S7)。数据转换子模块1020可根据需要将生成的新文件中的正确文件转换成其它格式的文件(步骤S8)。数据交换子模块1024将格式转换后的文件替换FTP服务器2存储的原文件,而错误文件则存储在另一资料夹中,若判断后无任何正确数据,则不进行文件的交换,仅将错误文件存储于FTP服务器2的另一资料夹(步骤S9)。跟踪查询模块103将对数据交换作自动稽核,确认交换是否成功(步骤S10)。若交换成功则保存稽核记录(步骤S11);若交换失败则先返回一失败原因(步骤S12),再进行步骤S11的记录保存,该稽核记录存储于数据库11中的一资料夹,结束本流程。As shown in FIG. 4 , it is a flow chart of the data exchange method of the present invention. First, the data conversion sub-module 1020 obtains the required data from the FTP server 2 (step S1). The acquired data is backed up in the database 11 (step S2). Mutual conversion is carried out according to the data storage format, such as converting EDI, HTML, E-mail text and other formats into XML format or converting XML format into EDI, HTML, E-mail text and other formats (step S3). The data integration sub-module 1021 imports the format-converted data into the system, and integrates (such as sums, etc.) the same items of data (such as the number of components, etc.) (step S4). The data reading sub-module 1022 reads the integrated data in a single-line manner (step S5). When the data judging sub-module 1023 reads data, it judges whether the data of the read line is correct (step S6). Generate a new file according to the judgment result, store correct and wrong data respectively, if all data are correct or all wrong, then only generate a file, and the file is stored in the database 11 (step S7). The data conversion sub-module 1020 can convert the correct files in the generated new files into files of other formats as needed (step S8). The data exchange sub-module 1024 replaces the original file stored by the FTP server 2 with the file after the format conversion, and the wrong file is then stored in another folder. If there is no correct data after the judgment, then the exchange of the file will not be carried out, and only the wrong file will be stored. The file is stored in another folder of the FTP server 2 (step S9). The tracking query module 103 will automatically audit the data exchange to confirm whether the exchange is successful (step S10). If the exchange is successful, then save the audit record (step S11); if the exchange fails, then return a failure reason (step S12), and then carry out the record preservation of step S11, the audit record is stored in a file folder in the database 11, and this flow process is ended .

如图5所示,是本发明所述的数据交换方法的订货流程图。首先,根据企业的需求选择货物资料,并通过本系统查询供应商管理库存系统5的库存量(步骤S20)。本系统将从供应商管理库存系统5中获取的有关库存量的数据生成一库存数据,系统对数据进行交换后,将该库存数据传递至企业资源规划系统3(步骤S21)。企业获取库存数据后,发出订货通知(步骤S22),系统根据通知中的产品类型及数量等数据自动生成一订货数据(步骤S23),并依照比例将货物需求的数量分配至不同供应商处(步骤S24)。供应商接收到订货通知后,生成一出货数据包括但不限于货物名称、数量、出货日期、货运方式、客户名称、出货地点、货物金额、运输金额、税金以及总金额等数据(步骤S25)。系统对数据进行交换后发送出货通知(步骤S26)。企业对供应商的出货通知进行确认,并回复供应商(步骤S27)。供应商根据确认后的出货数据生成一发票资料,并通过本系统传送至企业资源规划系统中(步骤S28)。As shown in FIG. 5 , it is an order flow chart of the data exchange method of the present invention. First, select the goods data according to the needs of the enterprise, and query the inventory quantity of the supplier management inventory system 5 through this system (step S20). The system generates inventory data from the data about inventory obtained from the supplier management inventory system 5, and after the system exchanges the data, the inventory data is transferred to the enterprise resource planning system 3 (step S21). After the enterprise obtains the inventory data, it sends out an order notification (step S22), and the system automatically generates an order data according to the product type and quantity in the notification (step S23), and distributes the required quantity of goods to different suppliers in proportion ( Step S24). After receiving the order notification, the supplier generates a shipment data including but not limited to the name of the goods, quantity, date of shipment, shipping method, customer name, place of shipment, amount of goods, amount of transportation, taxes and total amount (step S25). After exchanging the data, the system sends a shipping notice (step S26). The enterprise confirms the supplier's shipping notice and replies to the supplier (step S27). The supplier generates an invoice according to the confirmed shipment data, and sends it to the enterprise resource planning system through the system (step S28).

Claims (8)

1.一种数据交换系统,用于通过FTP服务器及网络对企业资源规划系统及供应商管理库存系统之间的数据进行交换,其包括一应用服务器及一数据库,其特征在于:1. A data exchange system for exchanging data between an enterprise resource planning system and a supplier management inventory system by an FTP server and a network, comprising an application server and a database, characterized in that: 所述应用服务器用于从供应商及企业处获取所需的数据,并对数据进行整合及交换,其包括:The application server is used to obtain the required data from suppliers and enterprises, and integrate and exchange the data, including: 一库存数据更新模块,用于将供应商管理库存系统的库存数据定时更新至企业资源规划系统中的库存明细;An inventory data update module, used to regularly update the inventory data in the supplier management inventory system to the inventory details in the enterprise resource planning system; 一供应商分配模块,用于将企业对货物的需求量按比例分配至不同供应商处;A supplier allocation module, which is used to allocate the enterprise's demand for goods to different suppliers in proportion; 一数据处理模块,用于处理企业资源规划系统及供应商管理库存系统所储存的不同数据;及a data processing module for processing different data stored in the enterprise resource planning system and the supplier management inventory system; and 一跟踪查询模块,用于对数据交换作自动稽核,确认交换是否成功,并作一稽核记录存储于一资料夹;A tracking query module, which is used to automatically audit the data exchange, confirm whether the exchange is successful, and store an audit record in a folder; 所述数据库用于备份从FTP服务器获取的数据以及存储整合更新后的数据。The database is used for backing up the data acquired from the FTP server and storing and integrating updated data. 2.如权利要求1所述的数据交换系统,其特征在于,所述数据处理模块包括一数据转换子模块,用于从FTP服务器获取所需数据并将该数据备份于数据库中,依数据存储格式进行相互转换。2. data exchange system as claimed in claim 1, is characterized in that, described data processing module comprises a data conversion submodule, is used for obtaining required data from FTP server and this data is backed up in database, according to data storage formats to convert each other. 3.如权利要求2所述的数据交换系统,其特征在于,所述数据处理模块包括一数据整合子模块,用于将格式转换后的数据汇入系统,并对数据的相同项进行整合。3. The data exchange system according to claim 2, wherein the data processing module includes a data integration sub-module, which is used to import the format-converted data into the system and integrate the same items of data. 4.如权利要求3所述的数据交换系统,其特征在于,所述数据处理模块包括一数据读取子模块,用于读取整合后的数据,读取数据时以单行方式进行。4. The data exchange system according to claim 3, wherein the data processing module comprises a data reading sub-module for reading the integrated data, and the data is read in a single row. 5.如权利要求4所述的数据交换系统,其特征在于,所述数据处理模块包括一数据判断子模块,用于在读取数据时,判断所读取行的数据是否正确,并根据判断结果生成新文件,对正确与错误的数据分别进行存储,若所有数据都是正确的或者都是错误的,则只生成一份文件。5. The data exchange system according to claim 4, wherein the data processing module includes a data judging sub-module for judging whether the data of the read row is correct when reading data, and according to the judgment As a result, a new file is generated, and the correct and incorrect data are stored separately. If all the data are correct or all are wrong, only one file is generated. 6.如权利要求5所述的数据交换系统,其特征在于,所述数据处理模块包括一数据交换子模块,用于将判断及整合后的数据,替换FTP服务器存储的原文件。6. The data exchange system according to claim 5, wherein the data processing module comprises a data exchange sub-module for replacing the original file stored by the FTP server with the judged and integrated data. 7.一种利用权利要求1所述的数据交换系统进行数据交换的方法,其特征在于:7. A method utilizing the data exchange system according to claim 1 to carry out data exchange, characterized in that: 从FTP服务器获取所需的数据,并将获取的数据备份于数据库中;Obtain the required data from the FTP server, and back up the obtained data in the database; 依数据存储格式进行相互转换;Mutual conversion according to the data storage format; 将格式转换后的数据汇入系统,并对数据的相同项进行整合;Import the format-converted data into the system and integrate the same items of data; 读取整合后的数据,读取数据时以单行方式进行;Read the integrated data, and read the data in a single row; 在读取数据时,判断所读取行的数据是否正确,根据判断结果生成新文件,将正确与错误的数据分别进行存储,若所有数据都是正确的或者都是错误的,则只生成一份文件;When reading data, judge whether the data of the read line is correct, generate a new file according to the judgment result, and store the correct and wrong data separately. If all the data are correct or all are wrong, only one file will be generated. documents; 根据需要可将生成的新文件中的正确文件转换成其它格式的文件;The correct files in the generated new files can be converted into files in other formats as needed; 将格式转换后的文件替换FTP服务器存储的原文件,而错误文件则存储在另一资料夹中,若判断后无任何正确数据,则不进行文件的交换,仅将错误文件存储于FTP服务器的另一资料夹;及Replace the original file stored on the FTP server with the converted file, and store the wrong file in another folder. If there is no correct data after judging, the file will not be exchanged, and only the wrong file will be stored in the FTP server. another folder; and 对数据交换作自动稽核,确认交换是否成功,若交换成功则保存稽核记录,若交换失败则先返回一失败原因,再保存稽核记录,该稽核记录存储于数据库中的一资料夹。Automatically check the data exchange to confirm whether the exchange is successful, if the exchange is successful, save the audit record, if the exchange fails, first return a failure reason, and then save the audit record, which is stored in a folder in the database. 8.如权利要求7所述的数据交换方法,其特征在于,可通过预先设置的热键将完成交换后的数据更新至企业资源规划系统及供应商管理库存系统。8. The data exchange method according to claim 7, characterized in that the exchanged data can be updated to the enterprise resource planning system and the supplier management inventory system through a preset hotkey.
CNA2004100918876A 2004-12-25 2004-12-25 Data exchange system and method Pending CN1797443A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2004100918876A CN1797443A (en) 2004-12-25 2004-12-25 Data exchange system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2004100918876A CN1797443A (en) 2004-12-25 2004-12-25 Data exchange system and method

Publications (1)

Publication Number Publication Date
CN1797443A true CN1797443A (en) 2006-07-05

Family

ID=36818463

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2004100918876A Pending CN1797443A (en) 2004-12-25 2004-12-25 Data exchange system and method

Country Status (1)

Country Link
CN (1) CN1797443A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976499B (en) * 2006-12-18 2010-05-19 中兴通讯股份有限公司 A system and method for realizing dumping of historical short messages
CN101923679A (en) * 2010-08-04 2010-12-22 东莞广泽汽车饰件有限公司 A digital processing code management and control system
CN104699861A (en) * 2015-04-09 2015-06-10 成都卡莱博尔信息技术有限公司 Data processing method for main data center
CN105302847A (en) * 2014-05-29 2016-02-03 三星Sds株式会社 System and method for processing data
CN109584009A (en) * 2018-11-26 2019-04-05 上海阿米特数据系统有限公司 A kind of website data automatic patching system
CN110264590A (en) * 2019-05-09 2019-09-20 北京善义善美科技有限公司 A kind of inventory management system and management method
CN114764324A (en) * 2020-12-31 2022-07-19 鼎捷软件股份有限公司 Enterprise resource planning system and integration method thereof

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976499B (en) * 2006-12-18 2010-05-19 中兴通讯股份有限公司 A system and method for realizing dumping of historical short messages
CN101923679A (en) * 2010-08-04 2010-12-22 东莞广泽汽车饰件有限公司 A digital processing code management and control system
CN105302847A (en) * 2014-05-29 2016-02-03 三星Sds株式会社 System and method for processing data
CN105302847B (en) * 2014-05-29 2018-12-07 三星Sds株式会社 Data processing system and method
CN104699861A (en) * 2015-04-09 2015-06-10 成都卡莱博尔信息技术有限公司 Data processing method for main data center
CN109584009A (en) * 2018-11-26 2019-04-05 上海阿米特数据系统有限公司 A kind of website data automatic patching system
CN109584009B (en) * 2018-11-26 2021-10-29 上海阿米特数据系统有限公司 Automatic matching system for website data
CN110264590A (en) * 2019-05-09 2019-09-20 北京善义善美科技有限公司 A kind of inventory management system and management method
CN114764324A (en) * 2020-12-31 2022-07-19 鼎捷软件股份有限公司 Enterprise resource planning system and integration method thereof

Similar Documents

Publication Publication Date Title
US8325750B2 (en) Accelerated system and methods for synchronizing, managing, and publishing business information
Markus Paradigm shifts-E-business and business/systems integration
US7945498B2 (en) Method for facilitating chemical supplier transactions
US20050125251A1 (en) System and method for enterprise resource management
Lee et al. Supply chain integration over the Internet
US20040143504A1 (en) Purchase order management system and related methods
WO2003107117A2 (en) Buyer, multi-supplier, multi-stage supply chain management system
Nakatani et al. Data synchronization technology: standards, business values and implications
US20050071207A1 (en) Visibility and synchronization in a multi tier supply chain model
CN1442811A (en) Enterprise import and export commodity interconnected network monitoring system and method
CN1512421A (en) Purchasing management system and method
Laage-Hellman et al. Information technology and the efficiency of materials supply: The implementation of EDI in the Swedish construction industry
CN1542660A (en) Management System and Method for Online Bidding and Purchasing
CN1797443A (en) Data exchange system and method
CN1629856A (en) Purchasing management system and method
CN1510600A (en) Purchasing management system and method
CN1567314A (en) Contract buying management control system and method
WO2001002927A2 (en) Integrated business-to-business web commerce and business automation system
WO2001077936A2 (en) Electronic system and method for end to end operation and management of industry supply chain
CN1553385A (en) Production order automatic generation system and method
US20100241532A1 (en) System, method, and computer program product for third-party and fourth-party logistics
WO2007047538A1 (en) Delivery date simulation and control
Tenenbaum et al. Business Services Networks: delivering the promises of B 2 B
CN1680946A (en) System and method for returning materials into storage in supplier management inventory center
US20030036968A1 (en) Process & transformation private exchange

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

Open date: 20060705