TWI305884B - A system and method for data processing - Google Patents

A system and method for data processing Download PDF

Info

Publication number
TWI305884B
TWI305884B TW92137060A TW92137060A TWI305884B TW I305884 B TWI305884 B TW I305884B TW 92137060 A TW92137060 A TW 92137060A TW 92137060 A TW92137060 A TW 92137060A TW I305884 B TWI305884 B TW I305884B
Authority
TW
Taiwan
Prior art keywords
data
module
database
log
central server
Prior art date
Application number
TW92137060A
Other languages
Chinese (zh)
Other versions
TW200521773A (en
Inventor
jian-dong Wang
Bin Li
Original Assignee
Hon Hai Prec Ind 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW92137060A priority Critical patent/TWI305884B/en
Publication of TW200521773A publication Critical patent/TW200521773A/en
Application granted granted Critical
Publication of TWI305884B publication Critical patent/TWI305884B/en

Links

Landscapes

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

Description

13058841305884

Jt____η 曰 修正 92137fifin 五、發明說明(】) 【發明所屬之技術領域】 數據ΐ:;::及一種數據處理技術,尤指-種企業之間的 【先前技術】 單的2更: = 與用戶之間的聯,,及時反映用戶訂 和、隹吏用戶他夠更好的了解自己的訂單生產的壯 和進行程度,τ醢4丁 1 t J平王座的狀況 便用戶#壚八豐Ϊ i 產對料使用和需求的情況,以 單進彳-2 ±止業的生產、採購及庫存等ERP系統數據Si 早進订及時的調黎t χ 双僻·對δ丁 到用需要把企業膽系統數據傳读 至丨用戶EPR系統供參考,其中涉及到數據 數 :及傳送等數據處理問胃,故應該提供 解、、七式轉 的數據處理系統。 種解決上述問題 台灣智慧財產局於1 9 8 5年7月丨j曰公主八 251402,專利號為72421的名稱為"網路連3接之a扁號為 之通信系統及方法"之專利’該專利提供—數據處理器 該數據處理器可藉由網路與複數網路相連接數之康處理器’ 任一數據處理器通信,藉以傳送資訊。 益中的 台灣智慧財產局於1 988年11月〇 1日公生沾、山 344058,專利號為99054的名稱為"各核算單位^ σ =號為 分配資產的數據處理系統,,之專利’該專利之擇性 屬於幾個實體的各個内部核算單位之間資 疋在 與劃撥,所述資產是由儲存在資料庫中的數據性分配 上述兩專利雖然都涉及到數據處理, =的。 們所提出的問題。 都不能解決我 【發明内容】Jt____η 曰Revision 92137fifin V. Invention Description (]) [Technical Fields of Invention] Data ΐ:;:: and a data processing technology, especially between [pre-technology] single 2: = with users The connection between the two, in a timely manner reflects the user's subscription, the user is better enough to understand the extent of his order production and the degree of progress, τ醢4丁1 tJ Pingwang seat of the situation user #垆八丰Ϊ i In the case of production and demand for materials, the ERP system data such as production, procurement and inventory of the single-input--2 ±-stop industry is pre-set in time for the adjustment of Li t χ · · 对 对 到 到 到The system data is read to the user EPR system for reference, which involves the number of data: and transmission and other data processing, so it should provide a solution, seven-turn data processing system. To solve the above problems, Taiwan Intellectual Property Bureau in July 1985, 丨j曰 Princess Eight 251402, Patent No. 72421 is named "Communication System and Method for Network Connection 3" Patent 'This patent provides - Data Processor The data processor can communicate with any data processor through a network connected to a plurality of networks to transmit information. The Taiwan Intellectual Property Office of Yizhong was founded on November 1st, 1988. The name of the patent number is 99054, and the accounting unit is σ = number is the data processing system for allocating assets. 'The patent's selectivity belongs to the allocation of funds between the various internal accounting units of several entities, and the assets are distributed by the data stored in the database. Although the above two patents are related to data processing, =. The questions we raised. Can't solve me [invention]

第6頁 1305884 —--—案號 92137060__月 日 修正 五、發明說明(2) 本文所涉及的相關術語解釋如下: Β2β :企業對企業的電子商務。 本發明之主要目的在於提供一種數據處理系統,其可 以把止業ERP系統中的相關數據信息按照R〇settaNe t的PIP 數據格式透過網路HTTP協定傳送到外部系統的B2B伺服器 ^ 其中RosettaNet為數據格式和交換方法之標準。具體 採用的P IP數據格式為: 2A12 3A6 3B2 4A5 4C1 V01. 00.〇〇a V 02. 00. 〇〇 R01. 01.00d R01. 00.00Aa V 0 2. 0 0. 〇〇Page 6 1305884 —-- Case No. 92137060__ Month Day Amendment V. Invention Description (2) The relevant terms involved in this paper are explained as follows: Β 2β: Business-to-business e-commerce. The main object of the present invention is to provide a data processing system that can transmit related data information in a commercial ERP system to a B2B server of an external system according to the PIP data format of R〇settaNet via a network HTTP protocol^ where RosettaNet is The standard for data formats and exchange methods. The specific P IP data format used is: 2A12 3A6 3B2 4A5 4C1 V01. 00.〇〇a V 02. 00. 〇〇 R01. 01.00d R01. 00.00Aa V 0 2. 0 0. 〇〇

Distribute Product Master Distribute Order Status Notify 〇f Advance Shipment Notify 〇f Forecast Reply Distribute Inventory Report _ 士發明揭露了一種數據處理系統。該系統提供一中央 伺服^器、複數用戶端電腦、一配置及日誌資料庫及一企業 p寅料庫該中央伺服益藉由網路與複數用戶端電腦相 連,並藉由資料庫連接與企業ERp資料庫、西己置及曰諸資 料庫相連,其亦藉由網路與一外部系統之B2B伺服器.相連 糾拉其^二中央伺服器用於從企業ERP資料庫中讀取有關 D α ^ 早仔导數據貧訊,然後轉換為Distribute Product Master Distribute Order Status Notify 〇f Advance Shipment Notify Forecastf Forecast Reply Distribute Inventory Report _ The invention discloses a data processing system. The system provides a central server, a plurality of client computers, a configuration and log database, and a corporate database. The central server is connected to a plurality of client computers via a network, and is connected to the enterprise through a database. The ERp database, the Xijiji and the database are connected, and the network is connected to an external system B2B server. The central server is used to read the relevant D from the enterprise ERP database. ^ ^ early data guides the poor news, then converted to

RosettaNet 相應的PIP 規定的^ ^ 傳送到外部系統之B2B伺服器,並式 ^ ^ Π ^ * ss 、在傳送文件前和收到外 口P糸統之回覆後向配置及日誌資料 认尤吩 yri ^ ^ ' T十犀中寫入日誌資料’便 於查S旬。母個用戶端電腦設置有έ --- 甩团又1 ^頁介面,可藉由網路登The corresponding PIP specified by RosettaNet is transmitted to the B2B server of the external system, and ^^ Π ^ * ss, before the file is transmitted and after receiving the reply from the external port P, the configuration and log data are recognized. ^ ^ 'T ten rhinoceros write log data' is easy to check S. The parent client computer has a set of έ --- 甩 团 and 1 ^ page interface, can be accessed by the network

1305884 日 修正1305884 days amendment

案號卯〗^7060 年 五、發明說明(3) 錄到中央伺服器和配置及曰誌資料庫完成數據查詢、修改 及查詢已經發送數據的狀態等作業。企業ERP資料庫存儲 與生產有關的基本數據,如物料、訂單狀態、出貨及庫存 等數據資訊,還存儲有各PIP數據格式的標準。配置及日子 誌資料庫用於存儲系統需要的配置資料及系統運行過程中 的曰s志文件’其包括若干資料表,如StageTable表及 (:01^1舀_?8『8表。其中3七3忌6了&1316表用於記錄?1?處理的時 間、數據等,該表包括攔位:名稱及說明^其中攔位說明 用於記錄相對應攔位名稱的用途。對StageTable表之名 欄位詳細介紹如下:pipJame,用於記錄pjp名稱,如冉 2A12 ;Document_Content,用於記錄發送内容XML格式.Case No. ^ ^7060 years V. Invention Description (3) Record the status of the data in the central server and configuration and the database to complete the data query, modify and query the status of the transmitted data. Enterprise ERP data repository Basic data related to production, such as materials, order status, shipment and inventory data, as well as standards for each PIP data format. The configuration and the log database are used to store the configuration data required by the system and the files in the system running process, which include several data tables, such as the StageTable and (: 01^1舀_?8『8 tables. 3 of them 7 3 bogey 6 & 1316 table for recording? 1? Processing time, data, etc., the table includes the block: name and description ^ where the block description is used to record the corresponding block name use. For the StageTable The name field is described in detail as follows: pipJame, used to record the pjp name, such as 冉 2A12; Document_Content, used to record the XML content of the sending content.

Validate 一 Result,用於記錄ριρ數據驗證是否通過其值 為γ,表示通過驗證,值為N ’表示未通過驗證。c〇nfi2 Para表用於記錄配置參數。 ’令央飼服器還包括一參數初始化模 =參數曰:資=別名、曰諸文件目錄名稱(⑷目: i ί私一文 模組,用於產生本次處理的日社文 件名稱,f亥曰誌文件用於記錄本次處理過程中的… ,如若PIP名稱為2A12,則文件名格式為pip2M2 w貝枓 (yyyMMDDhh關ss. log;—數據獲取模組, 數據及每個基本數據對應的PIP數據;基本 ,用於連接企業ERP資料庫、配置及曰社資料1連接杈,: XML格式;一攔位内容更新模袓,用於/將p 1 p數據轉換為 ---:-二且用芑根據操作過程中產Validate a Result, used to record whether the ριρ data verification passes its value of γ, indicating that the verification is passed, and the value of N ’ indicates that the verification has not passed. The c〇nfi2 Para table is used to record configuration parameters. 'The ordering machine also includes a parameter initialization module = parameter 资: = = alias, 曰 file directory name ((4): i ί private document module, used to generate the name of the Japanese social file, fhai The file is used to record the process... If the PIP name is 2A12, the file name format is pip2M2 w 枓 (yyyMMDDhh ss. log; - data acquisition module, data and corresponding to each basic data PIP data; basic, used to connect enterprise ERP database, configuration and community information 1 connection,: XML format; a block content update module, used / to convert p 1 p data to ---:- two And use 芑 according to the middle of the operation process

第8頁 :料寫入模級,用於向指定的曰諸文件7=,心 (Log Message); —格式轉換槿 冩入曰-身枓 1305884 ---—92137060 年月 日 你 $ 五、發明說明(4) ' ' " ------------- 生的結果更新配置及日誌資料庫中相應表的攔位内容;一 數據驗證模組,用於驗證PI P數據格式是否正確;一查詢 模組’用於查詢配置及日誌資料庫中相應攔位内容;―一1發 模、、且用於將轉換格式後的數據發送出去;一攔位屬性 值判斷模組,用於判斷配置及日誌資料庫中相應攔位内容 0 本發明還提供一種數據處理方法。該方法包括如下步 驟:(a )中央伺服器產生本次處理日誌文件名稱;(b ) 該甲央飼服器連接企業ERP資料庫和配置及曰誌資料庫; (c )該中央伺服器從企業E RP資料庫讀取基本數據列表, 並取得需要處理的基本數據項次;(d )該中央伺服器擷 取一個基本數據;(e )該中央伺服器判斷該基本數據是 否已經存在;(f )該中央伺服器產生p I p數據格式文件的 ID ; ( § )該中央伺服器將該PIP文件ID及PIP名稱寫入配 置及日誌資料庫;(h )該中央伺服器讀取該基本數據對 應的PI P數據;(i )該中央伺服器將該p I P數據轉換為xml 格式;(j )該中央伺服器用轉換後之内容更新Page 8: Material write level, used to specify the file 7=, heart (Log Message); - format conversion input 曰 - body 1305884 --- 92137060 month you $ five, Description of the invention (4) ' ' " ------------- The result of the update is updated and the contents of the corresponding table in the log database; a data verification module for verifying the PI P Whether the data format is correct; a query module is used to query the corresponding interception content in the configuration and log database; - a 1 model, and is used to send the converted data; a block attribute value judgment module The group is used to determine the corresponding interception content in the configuration and log database. The present invention also provides a data processing method. The method comprises the following steps: (a) the central server generates the name of the processing log file; (b) the central feeding device connects the enterprise ERP database and the configuration and the database; (c) the central server from The enterprise E RP database reads the basic data list and obtains the basic data items to be processed; (d) the central server retrieves a basic data; (e) the central server determines whether the basic data already exists; f) the central server generates the ID of the p I p data format file; ( § ) the central server writes the PIP file ID and the PIP name into the configuration and log database; (h) the central server reads the basic The PI P data corresponding to the data; (i) the central server converts the p IP data into an xml format; (j) the central server updates with the converted content

StageTable 表中 Document —Content 欄位;(k)該中央伺 服器驗證該P IP數據是否正確;(1 )該中央伺服器判斷是 否立刻發送上述欄位内容;(m )該中央飼服器發送該欄 位内容;(η )該中央伺服器更新StageTable表中 Routing—Time (發送文件時間)攔位。 【實施方式】 本實施例以資訊標準RosettaNet相應的PIP2A1 2數據 格式為例。The Document_Content field in the StageTable table; (k) the central server verifies whether the P IP data is correct; (1) the central server determines whether to send the content of the field immediately; (m) the central feeder sends the Field content; (η) The central server updates the Routing_Time (send file time) block in the StageTable. [Embodiment] This embodiment takes the PIP2A1 2 data format corresponding to the information standard RosettaNet as an example.

第9頁 1305884Page 9 1305884

-案號 921,T7f)fiO 五'發明說明(5) i*加播:帛*所不’係為本發明數據處理系統之實施碩 圖。中央伺服器1藉由網路4與分散式分佈的;;: 戶端電腦3相連,亦藉由埴拉ς 、刀π ^後數用 ^力稽田連接5與企業ERp資料庫7、 日誌賁料庫6相連。該用0 *山+ 配置及 戶知電腦3亦藉由網路4盘配署芬 日誌資料庫6相連。本系鲚获Λ ,n A , t , 置及 ηπ 0„ 0 L 逆个乐統藉由網路4與外部系統的B2r仞 服窃2相連。並令,該中止右1 ^ (如第四m裕、中央伺服盗1包括一系列功能模組 、弟圖所小),用於讀取企業ERP資料庫7中的美太查 ,並轉換為xml文件’傳送到外部系統的Β2Β饲服器2土 1理外部系統回送的回覆(Ack Signal )信息。用戶端雷 月自3為用戶提供查詢資料的網頁介面,用於進行配置泉數 的設置、查詢配置及日誌資料庫中的資料、查詢已發 據的狀恝。企業ERP貢料庫7用於存儲與生產相關的基本數 據,如物料、訂單狀態、出貨及庫存等數據資訊,還存儲 有各PI P數據格式的標準。配置及日誌資料庫6用於存儲系 統需要的配置資料及系統運行過程中的日誌文件,其由若 干表組成’如StageTable表(如第二圖所示),- Case No. 921, T7f) fiO Five 'Inventions (5) i* Plus: 帛* is not the implementation of the data processing system of the present invention. The central server 1 is connected to the distributed computer through the network 4;;: the terminal computer 3, and also by the 埴 ς, the knife π ^ after the number is used to force the field connection 5 and the enterprise ERp database 7, the log The library 6 is connected. The 0*山+ configuration and the computer 3 are also connected to the Finnish log database 6 by the network 4 disk. The system captures Λ, n A , t , and ηπ 0 „ 0 L . The inverse of the music is connected to the B2r 仞 2 of the external system via the network 4 and the right 1 ^ (such as the fourth) m Yu, the central servo pirate 1 includes a series of function modules, the brother map is small), used to read the US ETA in the enterprise ERP database 7, and converted into an xml file 'transfer to the external system Β 2 Β feeding device 2 soil 1 external system echo reply (Ack Signal) information. User thunder month from 3 for the user to provide query information web interface, used to configure the number of settings, query configuration and log database information, query The status of the issued data. The enterprise ERP tribute library 7 is used to store basic data related to production, such as materials, order status, shipment and inventory data, as well as standards for each PI P data format. The log database 6 is used for storing configuration data required by the system and log files during system operation, and is composed of several tables, such as a StageTable (as shown in the second figure).

Config 一 Para表(如第三圖所示)等。 所述網路可以為企業内部網(I n t r a n e t )、網際網路 (I n t e rne t )或其他類型網路。所述資料庫連接可為開放 式資料庫連接(〇pen Database Connectivity,ODBC), 或者Java 資料庫連接(java Database Connectivity, JDBC )。 參閱第二圖所示,係為本發明所述配置及曰誌資料庫 6中所存儲之StageTabl e表8的欄位構成說明圖。該 S t a g e T a b 1 e表8用於記錄p I p處理的時間及數據等。該表8Config a Para table (as shown in the third figure). The network may be an intranet (I n t r a n e t ), an internet (I n t e rne t ) or other type of network. The database connection can be an open database connection (ODBC), or a Java database connection (JDBC). Referring to the second figure, it is an explanatory diagram of the field configuration of the StageTabl e table 8 stored in the configuration and the database 6 of the present invention. The S t a g e T a b 1 e Table 8 is used to record the time and data of the p I p process. Table 8

第10頁 1305884 __案號 92137060_年月日 修正 _ 五 '發明說明(6) 包括攔位:名稱8 0及說明81。其中說明欄位81記錄相對應 名稱欄位8 0的用途。對於名稱之攔位8 〇,參照第二圖所示 詳細介紹如下:PIP—Name,用於記錄pip名稱,如2Α12 ; PI P_Key,用於記錄關鍵數據,如訂單,料號等; Document—ID,用於記錄PIP文件的id ;Page 10 1305884 __ Case No. 92137060_ Year Month Day Amendment _ Five 'Invention Description (6) Includes Block: Name 8 0 and Description 81. The description of field 81 records the use of the corresponding name field 80. For the name of the block 8 〇, refer to the second figure as detailed as follows: PIP—Name, used to record the pip name, such as 2Α12; PI P_Key, used to record key data, such as orders, item numbers, etc.; Document—ID , used to record the id of the PIP file;

Document —Content,用於記錄發送内容XML格式;Document — Content, used to record the XML format of the sent content;

Val idate—Resul t,用於記錄PIP數據驗證是否通過,值 為"Y"表示通過驗證’值為"N"表示未通過驗證;Val idate—Resul t, used to record whether the PIP data verification is passed, and the value is "Y" indicates that the verification value is "N" indicates that the verification has not passed;

Rou t i ng_T i me,用於記錄發送文件的時間;Ack_T i me ’用 於記錄中央伺服器1收到外部系統之β 2 B伺服器2發來的回 覆# 息(Ack Signal)的時間;conversation ID ,用於記 錄B2B的會話ID。 參閱第三圖所示,係為本發明所述配置及日誌資料庫 6中所存儲之Con f i g一Par a表9之攔位構成說明圖。該 Conf ig —Para9表用於記錄配置參數,其包括欄位:名稱9〇 及說明9 1。其中說明欄位91記錄相對應名稱攔位9 〇的用 途。對於名稱之攔位9 〇,參照第三圖所示詳細介紹如下: DateTimeSty le,用於記錄時間格式。SendStatus,用於 表示是立刻發送數據,還是一起發送,其值為” 〇"表示即 刻發送’即一個基本數據格式轉換完後即刻發送;其他值 表示一起發送’即所有的基本數據格式轉換完後一起發 送。 參閱第四圖所示,係為本發明所述中央伺服器之功能 模組圖。該中央伺服器1包括一參數初始化模組丨丨1,用於 初始化相關參數’如企業ERP資料庫別名(TiptopAlias )Rou ti ng_T i me, used to record the time when the file is sent; Ack_T i me ' is used to record the time when the central server 1 receives the response from the β 2 B server 2 of the external system; ID, used to record the session ID of B2B. Referring to the third figure, it is an explanatory diagram of the configuration of the block of the Con f i g a Par a table 9 stored in the configuration and log database 6 of the present invention. The Conf ig - Para9 table is used to record configuration parameters, including fields: name 9 〇 and description 9 1 . The description of field 91 records the use of the corresponding name block 9 〇. For the name of the block 9 〇, refer to the third figure as detailed below: DateTimeSty le, used to record the time format. SendStatus is used to indicate whether the data is sent immediately or sent together. The value is "〇" and indicates "send immediately", that is, a basic data format is sent immediately after conversion; other values indicate that it is sent together, that is, all basic data formats are converted. Referring to the fourth figure, it is a functional module diagram of the central server of the present invention. The central server 1 includes a parameter initialization module 丨丨1 for initializing related parameters such as enterprise ERP. Database Alias (TiptopAlias)

1305884 修正 _案號92137060 年 五、發明說明(7) 、配置及曰誌資料庫別名(Loca 1A 1 i as )及日誌文件目錄 名稱(Log目錄)等;一日誌文件產生模組112,用於產生 本次處理的PIP處理程式日誌文件名,如若PIP的名稱為 2 A1 2,則日誌文件產生模組11 2生成的日誌文件名稱為 ?1?2八12一丫丫7丫11100111111111153.1〇^;—數據獲取模組113,用 於從企業ERP資料庫7讀取基本數據、根據各p丨p數據格式 標準產生每個基本數據對應的PIP數據;一資料庫連接模 組11 4,用於連接企業ERP資料庫7、配置及日誌資料庫6 ; 一日誌資料寫入模組1 1 5,用於將本系統運行過程中的日 遠資料寫入配置及日誌' 資料庫6中存放的相應日諸文件中 ;一格式轉換模組116,用於將pip數據格式轉換成XML文 件格式;一攔位内容更新模組丨丨7,用於將系統運行過程 所產生的内容更新到配置及曰誌資料庫6中對應表的相應 櫊位中,如將一個基本數據對應的P丨p數據格式的内容轉 換成XML文件格式後更新stageTable表中的Document1305884 Amendment _ Case No. 92137060 5, invention description (7), configuration and database alias (Loca 1A 1 i as ) and log file directory name (Log directory), etc.; a log file generation module 112, for The name of the PIP handler log file generated in this process. If the name of the PIP is 2 A1 2, the log file generated by the log file generating module 11 2 has the name of ?1?2八12一丫丫7丫11100111111111153.1〇^; a data acquisition module 113, configured to read basic data from the enterprise ERP database 7, and generate PIP data corresponding to each basic data according to each p丨p data format standard; a database connection module 11 4 for connection Enterprise ERP database 7, configuration and log database 6; a log data writing module 1 1 5, used to write the daily data in the running process of the system to the configuration and log the corresponding day stored in the database 6 In the files, a format conversion module 116 is configured to convert the pip data format into an XML file format; a block content update module 丨丨7 is used to update the content generated by the system running process to the configuration and the ambition Correspondence in database 6 Document stageTable table update the corresponding bit Ge, as the content of P p Shu data format corresponding to a basic data converted into XML format file

Content欄位的内容;一數據驗證模組118,用於對比ριρ 數據格式標準,驗證讀取的每一個ριρ數據是否正確,並 將驗證結果更新到StageTable表的Val idate_Resul t欄位 ’—查°旬模組11 9,用於查詢S t a g e T a b 1 e表中的相關欄位 内容;一發送模組12〇,用於將轉換後符合pip規定的χΜί 文件格式内容通過HTTP協定發送到外部系統的b 2B伺服器2 ^ 攔位屬性值判斷模組1 2 1 ’用於判斷配置及日誌資 ^庫6中存儲的表中欄位屬性值;以及一回覆資訊接收模 組1 22 ’用於接收外部系統的B2B伺服器2的回覆資訊。 參閱第五圖所示,係為本發明之資訊流圖。中央伺服 1305884 修正 ---案號 92137060_月 日 五、發明說明(8) 盗1從企業ERP資料庫7獲取基本數據,然後轉換為Content of the Content field; a data verification module 118 for comparing the ριρ data format standard, verifying whether each ριρ data read is correct, and updating the verification result to the Val idate_Resul t field of the StageTable table-- The module 11 9 is used to query the relevant field content in the Stage T ab 1 e table; a sending module 12〇 is used to send the converted file format content conforming to the pip specification to the external system through the HTTP protocol. b 2B server 2 ^ Intercept attribute value judging module 1 2 1 ' is used to judge the field attribute value in the table stored in the configuration and log resource 6; and a reply information receiving module 1 22 ' is used for Receive the reply information of the B2B server 2 of the external system. Referring to the fifth figure, it is an information flow diagram of the present invention. Central Servo 1305884 Amendment --- Case No. 92137060_月日 V. Invention Description (8) Pirate 1 obtains basic data from enterprise ERP database 7 and then converts to

RosettaNet相應的PIP規定的xml文件格式,通過Ηττρ協定 傳达到外部系統之B2B伺服器2,然後等待該B2B伺服器2的 回覆資訊:Ack Signal,在傳送文件前和收到Ack Signal 後11亥中央伺服斋1向配置及日誌資料庫6寫入日諸資料:RosettaNet's corresponding PIP-defined xml file format is communicated to the B2B server 2 of the external system via the Ηττρ protocol, and then waits for the reply message from the B2B server 2: Ack Signal, before the file is transmitted and after receiving the Ack Signal The server 1 writes the date data to the configuration and log database 6:

Log資料,用戶可藉由用戶端電腦3進行參數配置及查詢數 據。 、,參閲第六圖所示,係為本發明數據處理之作業流程圖 。首先,初始化參數,設定的參數包括兩個資料庫的別名 及曰誌文件目錄名稱(Log目錄)(步驟S6〇1)。然後產 生本次數據處理所需的日誌文件名稱,並放置於上述曰誌 文件目錄下,如本次進行數據格式ριρ2Α12的處理,則產。 生的日誌文件名為卩11>2^2_775^腿1)1)11}1_“,1〇§(步驟8 602 )。再連接企業ERp資料庫7與配置及曰誌資料庫6 (步 驟S603 )。藉由數據獲取模組113從企業ERp資料庫7讀取 基本數據列表,並獲得所讀取的基本數據的項次(步驟s 6〇4)。再藉由該數據獲取模組113從所讀取的基本數據列 表中提取一個待處理的基本數據(步驟S6〇5)。然後藉由 攔位屬性值判斷模組121判斷StageTaHe表中的Vaii^k 一 Result值,其值若是,,γ,,,說明該基本數據已經處理過, 則轉回步驟S 6 05重複流程(步驟S6〇6);否則執行步驟 S60 7,產生該Pip文件的ID,並將該⑺寫入表 的D〇cument一ID欄位及將該ριρ名稱,如2A12寫入ρϊρ —n j位(步驟S 6 0 8 )。再由數據獲取模組丄】3獲取該基本數 ^對應的PIP數據格式(步驟S60 9 ) 〇藉由格式轉換模組 第13頁 1305884 _案號 92137060 _年月日_修正 五、發明說明(9) 116將該PIP數據格式轉為XML文件格式(步驟S610 ),並 由欄位内容更新模組11 7將該轉換格式後之内容更新到Log data, the user can perform parameter configuration and query data through the client computer 3. Referring to the sixth figure, it is a flowchart of the operation of the data processing of the present invention. First, the parameters are initialized, and the set parameters include the aliases of the two databases and the directory name of the file (Log directory) (step S6〇1). Then, the name of the log file required for the data processing is generated and placed in the above-mentioned directory of the file, such as the processing of the data format ριρ2Α12. The generated log file is named 卩11>2^2_775^leg 1)1)11}1_",1〇§ (step 8 602). Then connect the enterprise ERp database 7 and the configuration and the database 6 (step S603) The basic data list is read from the enterprise ERp database 7 by the data acquisition module 113, and the items of the read basic data are obtained (step s 6〇4), and the data acquisition module 113 is used by the data acquisition module 113. Extracting a basic data to be processed from the read basic data list (step S6〇5), and then determining a value of Vaii^k in the StageTaHe table by the block attribute value judgment module 121, if the value is γ,,, indicating that the basic data has been processed, then returning to step S605 to repeat the process (step S6〇6); otherwise, executing step S607, generating the ID of the Pip file, and writing the (7) to the table D 〇cument an ID field and writing the ριρ name, such as 2A12, to the ρϊρ_nj bit (step S 6 0 8 ). Then, the data acquisition module 3 3 obtains the PIP data format corresponding to the basic number ^ (step S60) 9) 〇 by format conversion module page 13 1305884 _ case number 92137060 _ year and month _ correction five, invention description (9) 116 The PIP data format into an XML file format (step S610), and the contents 117 are updated by the format converting module updates the contents of the field

StageTable表的Document —ID攔位(步驟S611 )。再由數 據驗證模組1 18根據配置及日誌資料庫6中存放的PIP數據 格式標準驗證該PIP數據是否符合規定(步驟S612 )。若 符合規定,則驗證結果為"Y",否則為"N",並將該驗證結 果更新到StageTable表Validate_Result攔位中(步驟S 613 )。接下來由查詢模組1 19查詢stageTable表的 Validate_Result欄位(步驟S614);若查詢結果為"N", 說明沒有驗證成功’則流程轉至步驟S6〇5繼續處理下一個 基本數據,若查詢結果為"γ ",則說明驗證成功,由該查 詢模組119繼續查詢(:〇11|18一?3]^表中的以11(131^1:115欄位, 以判斷該攔位内容是否為"0 "(步驟S6丨5 )。若其内容不 為"〇",表示不立刻發送該PIP數據,要和其他數據一起發 送,則流程轉到步驟S 6 〇 5繼續處理下一個基本數據,若為 "〇",則說明立刻發送該PIP數據,由發送模組12〇將該pip 數據發送至外部系統的Β2Β伺服器2 (步驟S616 ),且藉由 攔位内容更新模組117更新StageTable表中的R〇uting —The Document_ID block of the StageTable table (step S611). Further, the data verification module 1 18 verifies whether the PIP data conforms to the specification based on the configuration and the PIP data format standard stored in the log repository 6 (step S612). If the rule is met, the verification result is "Y", otherwise "N", and the verification result is updated to the StageTable table Validate_Result block (step S613). Next, the query module 1 19 queries the Validate_Result field of the stageTable table (step S614); if the query result is "N", indicating that no verification succeeds, then the flow goes to step S6〇5 to continue processing the next basic data, if If the query result is "γ ", the verification is successful, and the query module 119 continues to query (: 〇11|18一?3]^ in the table with 11 (131^1:115 field) to judge the Whether the content of the block is "0 " (step S6丨5). If the content is not "〇", it means that the PIP data is not sent immediately, and is sent together with other data, the flow proceeds to step S6. 〇5 continues to process the next basic data, if it is "〇", it means that the PIP data is sent immediately, and the sending module 12 transmits the pip data to the external system 2 (step S616), and Update R〇uting in the StageTable by blocking content update module 117 —

Time攔位,即更新發送文件時間(步驟S61 7 )。最後流程 轉至步驟S60 5繼續處理下一個基本數據。 ^ 芩閱第七圖所示’係本發明數據處理系統接收到外部 系統之回覆資訊後的作業流程圖H由回覆資訊接收 模組122接收外部系統之B2B伺服器2的回覆資訊(步驟$ 701 ),接著初始化參數:資料庫別名及日誌文件目錄名 稱(Log目^ (步驟S7〇2 )。然後產生本次處理的L〇g文The Time block, that is, the time to send the file is updated (step S61 7). The final flow proceeds to step S60 5 to continue processing the next basic data. ^ Referring to the seventh figure, the operation flow chart H after receiving the reply information of the external system by the data processing system of the present invention receives the reply information of the B2B server 2 of the external system by the reply information receiving module 122 (step $701) ), then initialize the parameters: database alias and log file directory name (Log directory ^ (step S7〇2). Then generate the L〇g text of this process

13058841305884

五、發明說明(ίο) 件名稱及寫入目錄’其中Log文件寫入目錄為:_目錄 \Ack (步驟S7G3),再連接配置及日$資料庫6 (步驟s 704),並判斷是否連接成功(步驟S7〇5),若連接失敗 則記入Log文件並退出,否則以當前時間更新以叫以礼“ 表中的Ack 一 Time攔位的内容(步驟S7〇6 ),且以 StageTable 表中D〇Curaent_iD 欄位内容更新c〇nversaU〇n ID ° 根據以上所述僅為本發明之較佳實施例而已,且已達 廣泛之使用功效,凡其他未脫離本發明所揭示之精神下所 完成之均等變化或修飾,均應包含在下述之申請專利範圍 内。V. Description of the invention (ίο) The name of the part and the written directory 'where the Log file is written to the directory: _ directory\Ack (step S7G3), and then the configuration and date $database 6 (step s 704), and determine whether to connect Success (step S7〇5), if the connection fails, it is recorded in the log file and exits, otherwise it is updated at the current time to call the content of the Ack-Time block in the table (step S7〇6), and in the StageTable D〇Curaent_iD Field Content Update c〇nversaU〇n ID ° According to the above description, it is only a preferred embodiment of the present invention, and has achieved a wide range of use effects, and others are completed without departing from the spirit of the present invention. Equivalent changes or modifications are intended to be included in the scope of the claims below.

曰 修正 1305884 _92137060 圖式簡單說明 【圖示簡單説明】 / 第一圖係為本發明數據處理系f ^硬體架構圖。 第二圖係為本發明配置及日德資料庫所存儲之StaSeTable 表的欄位構成說明圖。 第三圖係為本發明配置及日誌資料庫所存儲之Conf ig_ P a r a的欄位構成說明圖。 第四圖係為本發明中央伺服器之功能模組圖。 弟五圖係為本發明之資訊流圖。 第六圖係為本發明數據處理之作業流程圖。 第七圖係為本發明數據處理系統接收到外部系統的回覆資 訊後之作業流程圖。 【主要元件符號說明】 中央伺服器 i B2B伺服器 〇 3 4 5 6 7 111 112 113 114 115 用戶端電腦 網路 連接 配置及日誌資料庫 企業ERP資料庫 參數初始化模組 日ί志文件產生模組 數據獲取模組 資料庫連接模組 曰誌資料寫入模組修正 Correction 1305884 _92137060 Schematic description of the diagram [Simple description of the diagram] / The first diagram is the hardware architecture diagram of the data processing system of the present invention. The second figure is an explanatory diagram of the field configuration of the StaSeTable stored in the configuration of the present invention and the Suntech database. The third figure is an explanatory diagram of the field configuration of Conf ig_ P a r a stored in the configuration and log database of the present invention. The fourth figure is a functional module diagram of the central server of the present invention. The fifth picture is the information flow diagram of the present invention. The sixth figure is a flow chart of the operation of the data processing of the present invention. The seventh figure is a flow chart of the operation of the data processing system of the present invention after receiving the reply information of the external system. [Main component symbol description] Central server i B2B server 〇 3 4 5 6 7 111 112 113 114 115 User computer network connection configuration and log database Enterprise ERP database parameter initialization module day 志 文件 file generation module Data acquisition module database connection module

1305884 _案號92137060_年月日 修正 圖式簡單說明 格式轉換模組 116 攔位内容更新模組 117 數據驗證模組 118 查詢模組 119 發送模組 120 欄位屬性值判斷模組 121 回覆資訊接收模組 1221305884 _Case No. 92137060_Day and Month Day Correction Mode Simple Description Format Conversion Module 116 Block Content Update Module 117 Data Verification Module 118 Query Module 119 Transmit Module 120 Field Attribute Value Judgment Module 121 Reply Information Receive Module 122

第17頁Page 17

Claims (1)

案號 92137060 1305884 六 申請專利範圍 /榷數據處理系統,其可實現數據交換及查詢功外^ 系統包括一中央伺服器,透過網路相連接之福=及 電腦’其中: 戶端 中央伺服器,其連結有一企業ERp資料庫、—配 誌資料庫; ΐ及曰 所述企業ERP資料庫用於存儲與生產相關的基本數 國際資訊標準RosettaNet的PIP數據格式; 所述配置及日誌資料庫用於存儲系統需要的配置資料、 系統運行過程中的日誌文件及若干資料表; 、 所述中央伺服器,其包括: 一數據獲取模組,係用於從企業ERp資料庫讀取需處 理的基本數據列表及每個基本數據所對應的ριρ數 據; 一格式轉換模組,用於將每個基本數據轉換為 Roset taNe t相應的p I p規定的X社文件格式; 一發送模組,用於發送符合標準的pip數據; 一日誌資料寫入模組,用於將數據處理過程中出現的 各種資訊寫入日諸文件。 2. 如申請專利範圍第1項所述之數據處理系統,豆中用戶 端電腦用於實現對已發送數據狀態的查詢。 3. —種數據處理方法,其可實現數據交換及查詢功能,該 方法提供一中央伺服器,透過網路相連接之複數用戶端 電腦,其=中央伺服器尚連接—企業ERp資料庫、一配 置及日誌資料庫’該方法包括如下步驟. 1305884 _案號92137060_年月曰 修正_ 六、申請專利範圍 中央伺服器進行初始化操作; 該中央伺服器獲取一基本數據; 該中央伺服器從企業ERP資料庫讀取該基本數據對應 的P IP數據; 該中央伺服器將該P IP數據轉換成XML文件格式; 該中央伺服器發送該XML格式文件。 4. 如申請專利範圍第3項所述之數據處理方法,其中初始 化操作尚包括步驟: 初始化參數; 產生本次處理的日誌文件名稱。 5. 如申請專利範圍第4項所述之數據處理方法,其中初始 化參數指初始化企業E RP資料庫、一配置及曰誌資料庫 的別名。 6. 如申請專利範圍第3項所述之數據處理方法,其中基本 數據指與企業生產相關的物料、訂單狀態、出貨及庫存 等數據資訊。 7. 如申請專利範圍第3項所述之數據處理方法,其中獲取 一個基本數據進一步包括步驟: 連接企業ERP資料庫、配置及日誌資料庫。 8. 如申請專利範圍第3項所述之數據處理方法,其中該方 法進一步包括步驟: 接收回覆資訊並記錄日諸資料。 9. 如申請專利範圍第8項所述之數據處理方法,其中該方 法進一步包括步驟:Case No. 92371060 1305884 Six patent application scope/榷 data processing system, which can realize data exchange and query work outside the system ^ system includes a central server, connected through the network and the computer 'where: the central server of the terminal, The utility model is linked with an enterprise ERp database, a matching database, and an enterprise ERP database for storing and producing a basic number of international information standards RosettaNet PIP data format; the configuration and log database is used for The configuration data required by the storage system, the log file during the running of the system, and the plurality of data tables; the central server includes: a data acquisition module, configured to read basic data to be processed from the enterprise ERp database a list and each ριρ data corresponding to each basic data; a format conversion module for converting each basic data into a corresponding X I file format specified by the ping taNe t; a transmitting module for transmitting Standard pip data; a log data writing module for writing various information appearing during data processing Pieces. 2. For the data processing system described in item 1 of the patent application, the user computer in the bean is used to implement the query of the status of the transmitted data. 3. A data processing method, which can realize data exchange and query function, the method provides a central server, a plurality of client computers connected through a network, and the central server is still connected - the enterprise ERp database, one Configuration and Log Database 'This method includes the following steps. 1305884 _ Case No. 92371060_ Year Month _ Correction _ VI. Applying for the patent scope The central server performs initialization operation; The central server obtains a basic data; The central server is from the enterprise The ERP database reads the P IP data corresponding to the basic data; the central server converts the P IP data into an XML file format; and the central server sends the XML format file. 4. The data processing method of claim 3, wherein the initializing operation further comprises the steps of: initializing parameters; generating a log file name for the current processing. 5. The data processing method of claim 4, wherein the initialization parameter refers to an initialization of the enterprise E RP database, a configuration, and an alias of the database. 6. The data processing method described in claim 3, wherein the basic data refers to data such as materials, order status, shipments, and inventory related to the production of the enterprise. 7. The data processing method of claim 3, wherein obtaining a basic data further comprises the steps of: connecting the enterprise ERP database, the configuration, and the log database. 8. The data processing method of claim 3, wherein the method further comprises the steps of: receiving the reply information and recording the date data. 9. The data processing method of claim 8, wherein the method further comprises the steps of: 1305884 _案號92137060_年月日__ 六、申請專利範圍 中央伺服器接收回覆資訊; 該中央伺服器產生日誌文件名稱; 連接配置及日誌資料庫; 記錄收到回覆資訊的時間到上述產生的日誌文件。 1 0 .如申請專利範圍第9項所述之數據處理方法,其中連 接配置及日誌資料庫尚包括步驟: 判斷連接是否成功; 若不成功,則將該資訊寫入日誌文件並退出。1305884 _ Case No. 92371060_年月日日__ VI. The patent server receives the reply information from the central server; the central server generates the log file name; the connection configuration and the log database; records the time when the reply information is received to the above-mentioned Log file. 1 0. The data processing method of claim 9, wherein the connection configuration and the log database further comprise the steps of: determining whether the connection is successful; if not, writing the information to the log file and exiting. 第20頁 81 80 81305884 年月日修(¾正: Stage Table 名稱 Pip—Name 説明Page 20 81 80 81305884 Year of the Month (3⁄4正: Stage Table Name Pip-Name Description PIP名稱,如2A12 Pip—Key Document ID 關鍵數據,如p〇,料號 PIP文件的ID Document Content Validate Result Routing—Time pip數據驗證通過否 發送内容xml格式PIP name, such as 2A12 Pip-Key Document ID key data, such as p〇, item number PIP file ID Document Content Validate Result Routing—Time pip data verification passed No Send content xml format Ack TimeAck Time Conversation ID 發送左^時間 收到 Ack SignalConversation ID sent left ^ time received Ack Signal 第二圖 9 90 Config_Para 91 説明 時間的格式Figure 9 90 Config_Para 91 Description Time format 名稱 DateTimeStyleName DateTimeStyle 第三圖 1305884 上及日削更#The third picture 1305884 on the day and the more cut # 第六圖<2> 1305884 修正Figure 6 <2> 1305884 Amendment SS92I37060 、中文發明摘要(發明名稱:數據處理系統及方法) 本 一中央 配置及 於讀取 為規定 上述轉 誌資料 功能是 照資訊 部糸統 :明f露了 -種數據處理系統及方法。該系統提供 习服益、複數用戶端電腦、一企業ERp 庫、’、 日=料庫。中央伺服器包括一數據獲取二且,-用 K if各式轉換模組,用於將上述數據轉換 .牛礼式,一發送模組,用於通過HTTP協定傳送 換的文件;一日誌資料寫入模組,用於向配置及曰 庫寫入日誌資料,以備以後查詢。本系統所完成的 ⑨可將企業E R P系統中的有關物料,庫存等數據按 標準Rose ttaNet的PIP數據格式透過網路傳送到 的B2B伺服器。 五 '(一)、本案代表圖為:第—叟—圖 (二)、本案代表圖之元件代表符號簡單說明: 中央伺服器 1 參數初始化模組 111 曰誌文件產生模組 112SS92I37060, Chinese invention summary (invention name: data processing system and method) This central configuration and reading for the above-mentioned information is a function of the information department: Ming f exposed a kind of data processing system and method. The system provides benefits, multiple client computers, an enterprise ERp library, and a daily repository. The central server includes a data acquisition two, and uses K if various conversion modules for converting the above data. The cow ceremony type, a sending module, is used for transmitting the changed file through the HTTP protocol; The module is used to write log data to the configuration and library for later query. The system completed 9 can transfer the relevant materials, inventory and other data in the enterprise E R P system to the B2B server through the network according to the standard Rose ttaNet PIP data format. Five '(1), the representative figure of this case is: the first - 叟 - diagram (2), the representative symbol of the representative figure of this case is a simple description: Central server 1 parameter initialization module 111 曰 文件 file generation module 112 A system for data processing is disclosed.This system includes a host, a plurality of client computers, a enterprise ERP database and a config&log database. The host includes a module of getting data for reading and taking data, a module of switching format for switching the data into stated file format , a module of sending for sending the file switched via HTTP protocol, aA system for data processing is disclosed. This system includes a host, a plurality of client computers, a enterprise ERP database and a config&log database. The host includes a module of getting data for reading and taking data, a module of switching format For switching the data into stated file format , a module of sending for sending the file switched via HTTP protocol, a 修正 修正 113 114 115 1 16 117 118 119 120 121 122 數據獲取模組 資料庫連接模組 曰誌資料寫入模組 格式轉換模組 攔位内容更新模组 數據驗證模組 查詢模組 發送模組 攔位屬性值判斷模組 回覆資訊接收模組 五、英文發明摘要(發明名稱:A System and Method for Data Processing ) module of reading-in log message for writing the log message to log file.According to RosettaNet of PIP format, the system can send the data of the ERP system to B2B host of exterior system. A method for data processing is disclosed.Correction correction 113 114 115 1 16 117 118 119 120 121 122 Data acquisition module database connection module data writing module format conversion module blocking content update module data verification module query module sending module block Bit attribute value judgment module reply information receiving module 5, English invention summary (invention name: A System and Method for Data Processing) module of reading-in log message for writing the log message to log file.According to RosettaNet of PIP format , the system can send the data of the ERP system to B2B host of exterior system. A method for data processing is disclosed. 第3頁 1305884 _案號92137060_年月日 修正 六、指定代表圖Page 3 1305884 _ Case No. 92371060_年月月日 Revision 6. Designated representative map
TW92137060A 2003-12-26 2003-12-26 A system and method for data processing TWI305884B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW92137060A TWI305884B (en) 2003-12-26 2003-12-26 A system and method for data processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW92137060A TWI305884B (en) 2003-12-26 2003-12-26 A system and method for data processing

Publications (2)

Publication Number Publication Date
TW200521773A TW200521773A (en) 2005-07-01
TWI305884B true TWI305884B (en) 2009-02-01

Family

ID=45071248

Family Applications (1)

Application Number Title Priority Date Filing Date
TW92137060A TWI305884B (en) 2003-12-26 2003-12-26 A system and method for data processing

Country Status (1)

Country Link
TW (1) TWI305884B (en)

Also Published As

Publication number Publication date
TW200521773A (en) 2005-07-01

Similar Documents

Publication Publication Date Title
US10061754B2 (en) Method and apparatus for declarative updating of self-describing, structured documents
US9262388B2 (en) Method and apparatus for viewing electronic commerce-related documents
US9674226B2 (en) Synchronous interface to asynchronous processes
US7058886B1 (en) Method and apparatus for declarative error handling and presentation
CN100492355C (en) Method and apparatus for enabling associated portlets of a web portal to collaborate for synchronized content display
US6832366B2 (en) Application generator
US7970862B2 (en) Web services response templates
US7730194B2 (en) Enabling access to an application through a network portal
US20020069157A1 (en) Exchange fusion
US7571441B2 (en) Efficient retrieval of information from a network service using soap
US20080228867A1 (en) System and Methods for Synchronizing Data and Media with Third Party Websites and Marketing Materials
US9081867B2 (en) System and method to transform results of client requests using client uploaded presentation formats
WO2003017055A2 (en) Method and system for delivering multiple services electronically to customers via a centralized portal architecture
US7237191B1 (en) Method and apparatus for generic search interface across document types
US6845390B1 (en) Server-side state replication among collaborating world wide web servers
US20070050394A1 (en) Method and apparatus for automated database creation from Web Services Description Language (WSDL)
US7865403B2 (en) Method, system, and program for translating and interfacing between data pools and product information management (PIM) systems
CN1635520A (en) Data processing system and method
EP1748366A1 (en) A data processing system and method
TWI305884B (en) A system and method for data processing
US20020103743A1 (en) Platform independent business to business publish/subscribe messaging system
Tapang Web Services Description Language (WSDL) Explained
US20060200756A1 (en) Publishing system including front-end client links to workflow engine and communication protocol schema
Robie RESTful API Description Language (RADL)
JP3998469B2 (en) Community providing system and community providing method

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees