TW201224801A - Data transmission system and method - Google Patents

Data transmission system and method Download PDF

Info

Publication number
TW201224801A
TW201224801A TW99142599A TW99142599A TW201224801A TW 201224801 A TW201224801 A TW 201224801A TW 99142599 A TW99142599 A TW 99142599A TW 99142599 A TW99142599 A TW 99142599A TW 201224801 A TW201224801 A TW 201224801A
Authority
TW
Taiwan
Prior art keywords
data
cloud
new record
transmission
message
Prior art date
Application number
TW99142599A
Other languages
Chinese (zh)
Other versions
TWI465944B (en
Inventor
ting-yu Zhang
Original Assignee
ting-yu Zhang
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 ting-yu Zhang filed Critical ting-yu Zhang
Priority to TW99142599A priority Critical patent/TW201224801A/en
Publication of TW201224801A publication Critical patent/TW201224801A/en
Application granted granted Critical
Publication of TWI465944B publication Critical patent/TWI465944B/zh

Links

Abstract

The invention provides a data transmission system and method applied in a network data transmission environment for cloud computing. In the data transmission system and method of the present invention, data is segmented and separated from the transmission logic. There is no need to consider what the content of the new record of the XML data type is. Instead, logic of transmission rules is used as the basis for transmission logic. It completes the data message exchange between the cloud end and the point of sale (POS) according to the different company code and/or POS code.

Description

201224801 六、發明說明: 【發明所屬之技術領域】 本發明係有關於傳輸系統’更詳而言之,係有關於一種應用於雲 端運算之網路資料傳輸環境的資料傳輸系統及方法,將資料與傳送邏 輯予以切割、分開,按不同之公司代碼及/或P〇S代碼,來完成伺服 端與使用端之間的資料訊息(message)交換。 【先前技術】 分散架構,例如,三層式(3-tier)分散架構,為目前最被普 遍使用的網路應用程式架構,以三層式分散架構而言,主要是由三個 層級所構成,分別是:使用者介面層(Presenta1:i〇n Layer)、運算 邏輯層(Business Logic Layer)、及永續層(persistence Layer)。 在分散架構中,於使用端電腦安裝具備圖形化操作介面(GUI)的 程式’而此些程式可透過特定格式的表單,供使用者輸人適當的資 訊,以便與飼服器進行互動;在網路應用架構中,使用者介面層為,例 如IE’lj覽器,而其功此為接收使用者所輸入之資料,以及將從飼 服器而來之結果予以展現出來。 運算邏輯層是用來作為使用端與資料庫之間的橋標,負貴資料處 理、網站词服器(web server)等運算法則的工作,負責運算邏輯的 處理知式於彳狐H電腦上執行,運算邏輯層之功能為接受來自用戶端 201224801 的請求,並且決定何種資訊可以被傳送至用戶端。 在永續層(資料服務層)中,包含了儲存大量資料的資料庫,以及 帛錄理轉這些資料的軟體。永續層(資料服務層)貞責提供資料 給運算邏輯層,再傳送至使用者介面層,所以用戶端無法直接存取 資料庫的内容,必須透過運算邏輯層的連接,因而提高了系統的安全 性。 • 目前之伺服端與使用端之間的資料訊息交換,於資料傳輸結構設 計時’必須考量實體資料及/或記錄及/或新記錄、表單(table)結構 之公司代碼(c〇m_n〇)與p〇s代碼(p0s_n0)的組合,而根據此種結構設 计產生出資料傳輸規則,換言之,於習知之資料傳輸結構設計,為將 i料及/或記錄及/或新記錄、表單(table)結構之公司代碼' p〇s代 碼與傳輸邏輯綁在一起。 φ 所以’如果能將資料與傳送邏輯予以切割、分開,無須考慮為 胤資料型式之新記錄(new record)所具有之内容為何,而是使用傳 輸規則中之邏輯做為傳送邏輯依據,按不同之公司代碼及/或P0S代 碼’來元成雲端與銷售端P0S之間的資料訊息(message)交換,換言 之’無須將資料及/或記錄及/或新記錄、表單(table)結構之公司代 碼、P0S代碼與傳輸邏輯綁在一起,乃是待解決的問題。 201224801 【發明内容】 本發明之主要目的便是在於提供-種龍傳輸1狀方法,係應 用於雲端運算之網路資料傳輸環境’本發明之資料傳輸系統及方法, 將資料與傳送邏輯予以切割、分開。 本發明之又-目的便是在於提供-種資料傳輸系統及方法,係應 用於網路資料傳輸環境,無須考慮為XML資料型式之新記錄(new record)所具有之内容為何’而是使㈣輸規則巾之邏輯做為傳送邏 輯依據,按不同之公司代碼及/或P0S代碼,來完成雲端與銷售端p〇s 之間的資料訊息(message)交換。 本發明之再-目的歧在於提供—㈣料傳齡制^法,係應 用於網路資料傳輸環境,雲端與銷售端p〇s之間的資料訊息(隱卿) 父換;雲端接收銷售端p〇S資料,例如,接收銷售資料,並送到雲端 中之主機資料庫ρ供雲端作資料分析;協助齡端之間作資料交 換’派送資料,例如’單據、主檔交換等銷售端p〇s商業活動;雲端 與銷售端P〇S之間的協同商務活動,例如,銷售端P0S向供應商下採 購、主檔下載等B2B活動。 根據以上所述之目的,本發明提供一種資料傳輸系統,該資料傳 輸系統包含銷售端P〇Sm務次系統、以及雲端服務次系統,在此,本 發明之資料傳輸系統架構可以使用任何付費或者是免費的開源資料 201224801 傳輸伺服器。 位於銷售端P0S之銷售端p〇s服務次系統,該銷售端p〇s服務次 系統包含資料定義語言DDL服務模組、以及資料訊息服務(message service)模組。 資料定義語言DDL服務模組,該資料定義語言DDL服務模組負責 處理銷售端P0S資料庫資料的存取與處理,並且與資料訊息服務 (message service)模組進行溝通,轉化資料物件(Entity Bean)與 XML〇 該資料定義語言亂服務模組會將所需傳出的資料,搬運到銷售 端P0S之資料庫(例如,MS-SQL,Oracele ’ MySQL),以讓資料訊息服 務模組能自資料庫中將所需傳出的資料予以傳輸,及/或,該資料訊 息服務模組將所接收到之資料,傳送至該資料定義語言DDL服務模組 以進行過遽無須傳送之資料。 資料訊息服務模組’銷售端p〇S與雲端之間的資料傳輸為由該資 料訊息服務模組來負責,而所有傳輸、接收的資料放在銷售端p〇s之 資料庫’例如,MS-SQL,Oracel,MySQL。 相對於資料訊息指派MDP(Message Dispatching Process)模細 MDP,資料訊息服務模組為在銷售端P0S的程式,負責與資料傳輪伺 服器溝通,取得下載資料與上傳資料到資料傳輸伺服器。 201224801 資料定義語言DDL服務模組含有永續層(資料服務層)中的一個實 體(entity)物件,該資料定義語言胍服務模組至少具有邏輯層面 (logical level)之傳輸規則、以及資料層面(data Ievel)之新記錄 (new record),其中,傳輸規則包含公司代碼(com_no)、p〇s代碼 (loc_no)以做為傳送邏輯依據,新記錄為資料無論裡面是主播、單據 或其它,在此,由於將資料與傳送邏輯予以切割、分開,無須考慮為 XML資料型式之新記錄(new reconj)所具有之内容為何,而是使用傳 輸規則中之公司代碼(com_no)、P〇s代碼(1〇c一n〇)做為傳送邏輯依 據,按不同之公司代碼及/或P0S代碼,來完成雲端與銷售端p〇s之 間的資料訊息(message)交換,其中,新記錄為狐資料,裡面就是 資料定義語言DDL服務模組所用的實體資料(或記錄)。 於雲端之雲端服務次系統’該雲端服務次系統至少包含資料傳輸 伺服器、雲端運算ccP(Cl〇ud computing Process)程式模組、以及 資料訊息指派 MDP(Message Dispatching Process)模組。 資料傳輸伺服器,銷售端p〇S直接(不透過門市小後台主機)經由 身料訊息服務(message service)模組連接該資料傳輸伺服器以上傳 與接收資料,該資料傳輸伺服器透過訊息佇列(Message Queue)與網 頁服務(Web Service)任何可即時傳輸模式。銷售端p〇s與雲端之資 料流的邏輯是透過邏輯中心(p〇licy Center)控制。 201224801 雲端運算CCP(Cloud computing Process)程式模組,該雲端運 算CCP(Cloud computing Process)程式模組主要負貴接收並解析X亂 資料’透過XML資料與商業邏輯比對後,確定資料流的流向(要到哪 一個銷售端P0S)。 資料訊息指派MDP(Message Dispatching Process)模組,該資料 訊息指派MDP(Message Dispatching Process)模組負貴與資料傳輸 祠服器溝通’接收雲端運算CCP(Cloud computing Process)程式模 組的指派命令,把要指定派送的資料送到資料傳輸伺服器以進行傳 送。 利用本發明之資料傳輸系統以進行資料傳輸方法時,銷售端 服務次系統之資料定義語言DDL服務模組,將資料與傳送邏輯予以切 割、分開’無須考慮為胤資料型式之新記錄(newrec〇rd)所具有之 内谷為何而疋使用傳輸規貝j中之公司代碼(c〇m—n〇)、p〇S代碼 (loc—no)做為舰邏輯絲,按不同之公3代碼及/或pQS代碼,來 凡成P0S端與雲端之間㈣料訊息(message)交換丨從銷售端⑽傳回 需分析的資料皆可予以儲存至雲端之資料庫,例如,0racle database ’並可供其它系統使用。 利用本發明之資料傳輸系統以進行資料傳輸方法時: 於銷售端P0S發送動作流程:首先,銷售端資料產生異動後,透 201224801 過資料定義語言DDL服務模組產生狐資料,而資料訊息服務 (message service)模組把χ]^資料丟到資料傳輸伺服器;接著,於資 料到雲端之後,雲端運算CCP(cl〇ud c〇fflputing Pr〇cess)程式模組 從資料傳翻服器取得XML資料分析並且運算,結果會儲存到雲端的 負料庫。透過雲4運算CCP(Cl〇ud computing Process)程式模組邏 輯處理,假設結果資料需要回傳該銷售端p〇s或傳到其他的銷售端 pos ’會把該結果轉成胤交給資料訊息指派MDp(Mess鄉 Dispatching Process)模組指派放入資料傳輸伺服器,以經由該資料 傳輸伺服器而回傳該銷售端P0S或傳到其他的銷售端p〇s。 於雲端之網頁舰||(web server)動作流程:賴者操㈣統過後, 造成資料異動,透過雲端運算(XP(aGud _puting prceess)程式 模組運算,資料訊息指派M])P(Message Dispatching Pr〇cess)模組 派送將需要傳送給銷售端p〇S的資料先傳送至資料傳輸伺服器,再 經由資料傳輸伺服器而傳送至銷售端p〇s。 於銷售端P0S之銷售端P0S服務次系統接收流程:資料訊息服務 (message service)模組從資料伺服器取得下傳下來的狐,透過資 料定義語言DDL服務模組把資料從狐轉成資料物件(Entity .以進行資料處理。 本發明之資料傳輸系統架構可以使用任何付費或者是免費的開 201224801 源資料傳輸伺服器,不限定使用一台資料傳輸伺服器,而銷售端p〇s 指定由哪一台資料傳輸伺服器服務,由邏輯中心設定。 於實際施行時,可選擇,例如,該資料傳輸伺服器是一個開放碼 之符合J2EE規範的應用容器(container),作為J2EE規範的補充, 引入了 Α0Ρ框架’為普通java類提供了 J2EE服務,資料傳輸祠服器 如同郵件伺服器(mail server)—樣,有訊息佇列用以存放訊息佇 列’每一個使用端(Node)均有對應之訊息佇列。 例如,以一個循環為例來說明,使用端(Node)把資料送到資料傳 輸伺服器之訊息佇列,資料傳輸伺服器會將資料收到其資料庫予以暫 存’存暫資料經由雲端運算CCP(Cloud computing Process)程式模 組處理後可能產生需再派送的資料’亦將之儲存於雲端之資料庫,例 如 ’ MySQL。雲端運鼻 CCP(Cloud computing Process)程式模組,該 雲端運算CCP(Cloud computing Process)程式模組從雲端之資料庫, 例如,MySQL ’讀取最新收到的暫存資料並作判斷,若需再派送則會 產生新的傳輸資料,每一判斷過的資料會予以標記。透過雲端運算 CCP(Cloud computing Process)程式模組邏輯處理,假設結果資料需 要回傳該鎖售端P0S或傳到其他的銷售端P0S,會把該結果轉成xml 交給資料訊息指派MDP(Message Dispatching Process)模組指派放 入資料傳輸祠服Is之息^丁列,最後’使用端(Node)各自從資料傳輸 201224801 伺服器之訊息佇列取回資料。 爲使熟悉該項技藝人士瞭解本發明之目的、特徵及功 效,茲藉由下述具體實施例,並配合所附之圖式,對本發明 詳加說明如後: 【實施方式】 第1圖為一系統示意圖,用以顯示說明本發明之資料傳輸系統之 系統架構、以及運作情形。如第1圖中所示之資料傳輪系統1,該資 料傳輸系統1包含銷售端P0S服務次系統2、以及雲端服務次系統3。 位於一個以上之銷售端P0S4之銷售端P〇S服務次系統2,該銷 售端P0S服務次系統2包含負料疋義DDL服務模組21、以及資 料訊息服務(message service)模組22。 資料定義語言DDL服務模組21,該資料定義語言DDL服務模組 21負責處理銷售端P0S4之資料庫41資料的存取與處理,並且與資 料訊息服務(message service)模組22進行溝通,轉化資料物件 (Entity Bean)與 XML。 該=貝料定義s吾言DDL服務模組21會將所需傳出的資料,搬運到 銷售端P0S4之資料庫41(例如’ MS-SQL,〇raceie,MySQL),以讓資 料訊息服務模組22能自資料庫41中將所需傳出的資料予以傳輸,及 201224801 /或,§亥> 料訊息服務模組22將所接收到之資料,傳送至該資料定義 語言DDL服務模组21以進行過濾無須傳送之資料。 資料訊息服務(message service)模組22,銷售端P0S4與雲端5 之間的k料傳輸為由該資料訊息服務(message service)模組22來負 責,而所有傳輸、接收的資料放在銷售端p〇S4之資料庫41,例如, MS-SQL,Oracel,MySQL。 .資料定義語言DDL服務模組21含有永續層(資料服務層)中的一個 實體(entity)物件,該資料定義語言DDL服務模組21至少具有邏輯層 面(logical level)之傳輸規則211、以及資料層面(data level)之 新記錄(new record)212,其中,傳輸規則211包含公司代碼 (com_no)2111、P0S代碼(loc_no)2112以做為傳送邏輯依據,新記錄 212為資料’無論裡面是主棺、单據或其它’在此,由於將資料與傳 送邏輯予以切割、分開,無須考慮為xml資料型式之新記錄(new record)212所具有之内容為何,而是使用傳輸規則211中之公司代 碼(com_no)2111、P0S代碼(loc_no)2112做為傳送邏輯依據,按不同 之公司代碼2111及/或P0S代碼2112,來完成雲端5與銷售端p〇s4 之間的資料訊息(message)交換,其中’新記錄212為xml資料,裡 面就是資料定義語言DDL服務模組21所用的實體資料(或記錄)(未圖 示出)。 12 201224801 於雲端5之雲端服務次系統3,該雲端服務次系統3至少包含資 料傳輸伺服器31、雲端運算ccP(Cloud computing Process)程式模 組犯、以及資料訊息指派MDP(Message Dispatching Process)模組 33 〇 資料傳輸伺服器31 ’銷售端P0S4直接(不透過門市小後台主機) 經由 > 料訊息服務(message service)模組22連接該資料傳輸伺服器 31以上傳與接收資料,該資料傳輸伺服器31透過訊息佇列(Message Queue)301與網頁伺服器7之網頁服務(Web Service)任何可即時傳 輸模式。銷售端P0S 4與雲端5之資料流的邏輯是透過邏輯中心 (Policy Center)8 控制。 雲端運算CCP(Cloud computing Process)程式模組32,該雲端 運算CCP(Cloud computing Process)程式模組32主要負貴接收並解 析XML資料,透過XML資料與商業邏輯比對後,確定資料流的流向(要 到哪一個銷售端P0S)。 資料訊息指派MDP(Message Dispatching Process)模組 33,該資 料訊息指派MDP(Message Dispatching Process)模組33負責與資料 傳輸祠服益31溝通’接收雲端運鼻CCP(Cloud computing Process) 程式模組32的指派命令,把要指定派送的資料送到資料傳輸伺服器 31以進行傳送。 13 201224801 方;實際她行時,可選擇,例如,該資料傳輸祠服器31是一個開放 碼之付s J2EE規範的應用容器(c〇ntainer),作為】2εε規範的補充, 引入了 Α0Ρ框架’為普通Java類提供了观以艮務資料傳輸伺服器 31 服器(mail server)一樣,有訊息符列3〇1用以存放 訊息仔列(未圖示出),每一個銷售端p〇s(N〇de)4均有對應之訊息佇 列(未圖示出)。 • 例如,以一個循環為例來說明,首先,銷售端P0S(Node)4把資 料(新記錄(new record)212)送到資料傳輸伺服器31之訊息佇列301 之前,銷售端P0S服務次系統2之資料定義語言DDL服務21,先將 新記錄(new record)212(資料)與傳輸規則211(傳送邏輯)予以切 割、分開’無須考慮新記錄(new record)212(為XML資料型式)所具 有之内容為何’而是使用傳輸規則211中之公司代碼(com_no)2lli、 P0S代碼(loc_no)2112做為傳送邏輯依據,按不同之公司代碼2111 及/或P0S代碼2112,來完成雲端5與銷售端P0S4之間的資料訊息 (message)交換。 接著,銷售端P〇S(Node)4之資料訊息服務(message service) 模組22(銷售端P0S(Node)4與雲端5之間的資料傳輸為由該資料訊 息服務(message service)模組22來負責)將新記錄212(資料)送到 資料傳輸伺服器31之訊息佇列(Queue)301,資料傳輸伺服器31會將 14 201224801 新記錄212(資料)收到其資料庫51,例如,㈣亂,予以暫存。 躺’㈣新記錄212(=細經由雲端運算哪((:1_ _puting Process)程式模组32處理後可能產生需再派送的資料(未圖示出), 亦狀齡於賴庫51,顺,MySQL;m#端運算Gcp(㈤d C〇IDPUting Pr〇Cess)程式模組32從資料庫51,例如,MySQL,讀取 最新收到的暫存新記錄212(資料)並作躺,若需再派酬會產生新 • _輸資料(再派送資料),每一判斷過的資料(未圖示出)會予以標 記。 繼之,透過雲端運算CCP(Cloud computing pr0cess)程式模組 32邏輯處理’假設再派送餅(新的傳輸資料)需要回傳該銷售端 腦或傳到其他的銷售端p〇S4,會把該再派送資料⑽的傳輸資料) 轉成胤交給資料訊息指派MDp(Message ―阳癒呢Pr〇⑽)模 組33指派放入資料傳輸伺服器31之訊息佇列3(U。 最後’銷售端P〇S(N〇de)4各自從訊息佇列(Queue)3〇1取回資料。 第2圖為一流程圖,用以顯示說明利用如第1圖中之本發明之資 料傳輸系統以進行資料傳輸方法的流程步驟。如第2圖中所示之,首 先於步驟U ’首先’銷售端P0S(Node)4把資料(新記錄(new record)212)送到資料傳輸伺服器31之訊息佇列3〇1之前,銷售端 P0S服務次系統2之資料定義語言DDL服務21,先將新記錄(new 15 201224801 record)212(資料)與傳輸規則211(傳送邏輯)予以切割、分開,無須 考慮新記錄(new record)212(為XML資料型式)所具有之内容為何, 而是使用傳輸規則211中之公司代碼(com_no)2ui、p〇s代碼 (loc_no)2112做為傳送邏輯依據,按不同之公司代碼2111及/或p〇S 代碼2112 ’來元成雲端5與銷售端P0S4之間的資料訊息(message) 交換,並進到步驟12。 步驟12,銷售端P0S4與雲端5之間的進行新記錄(new reC〇rd)212(資料)傳輸,並進行後續之處理動作;亦即,由該資料訊 息服務(message service)模組22負責將新記錄212(資料)送到資料 傳輸伺服器31之訊息佇列(Queue)301,以進行後續之處理動作。 第3圖為一流程圖,用以顯示說明於第2圖中之新記錄傳輸並進 行後續之處理動作步驟的更詳細之流程步驟。如第3圖中所示之,首 先’於步驟121’魅端職_)4之資料訊息服務 模組22(銷售端P_ode)4與雲端5之間的資料傳輸為由該資料訊 息服務(message service)模組22來負責)將新記錄212(f料)送到 資料傳輸舰ϋ 31之訊級列(Queue)3()1,f贿輸舰㈣會將 新記錄212(資料)收到其資料庫5卜例如,MySQL,予以暫存,並進 到步驟122。 於步驟122,存暫新記錄212(資料)經由雲端運算ccp(ci〇ud 16 201224801 computing Process)程式模組32處理後可能產生需再派送的資料(未 圖示出),亦將之儲存於資料庫51,例如,MySQL;該雲端運算 CCP(Cloud computing Process)程式模組 32 從資料庫 51,例如,201224801 VI. Description of the Invention: [Technical Field of the Invention] The present invention relates to a transmission system. More specifically, it relates to a data transmission system and method for a network data transmission environment applied to cloud computing. The communication logic is cut and separated, and the company code and/or P〇S code are used to complete the message exchange between the server and the user. [Prior Art] Decentralized architecture, for example, a three-tier (3-tier) decentralized architecture, is currently the most commonly used network application architecture. In the case of a three-tier distributed architecture, it is mainly composed of three levels. They are: user interface layer (Presenta1: i〇n Layer), operation logic layer (Business Logic Layer), and persistence layer (persistence layer). In a decentralized architecture, a program with a graphical user interface (GUI) is installed on the terminal computer, and these programs can be used to input appropriate information for interaction with the feeder through a form in a specific format; In the network application architecture, the user interface layer is, for example, an IE'l browser, and the function is to receive the data input by the user and display the result from the feeder. The logic layer is used as the bridge between the user and the database, the work of the data processing, the web server, etc., and the processing logic of the logic is on the computer. Execution, the function of the logic layer is to accept the request from the client 201224801 and decide what information can be transmitted to the client. In the perpetual layer (data service layer), it contains a database that stores a large amount of data, and a software that records the data. The perpetual layer (data service layer) is responsible for providing data to the computing logic layer and then to the user interface layer. Therefore, the user cannot directly access the contents of the database, and must connect through the logical layer of the operation, thereby improving the system. safety. • The current data exchange between the server and the user. When designing the data transmission structure, 'must consider the entity data and/or the record and/or the new record, the company code of the table structure (c〇m_n〇) Combined with the p〇s code (p0s_n0), and according to the structure design, the data transmission rule is generated, in other words, in the conventional data transmission structure design, for the material and/or record and/or new record, form (table The structure of the company code 'p〇s code is tied to the transfer logic. φ So 'if the data and transmission logic can be cut and separated, it is not necessary to consider what the new record of the data type has, but use the logic in the transmission rule as the transmission logic, according to different The company code and / or P0S code 'community exchange between the source and the sales terminal P0S, in other words 'do not need to data and / or record and / or new record, form (table) structure of the company code The P0S code is tied to the transmission logic, which is a problem to be solved. 201224801 [Summary of the Invention] The main object of the present invention is to provide a method for transmitting data in a cloud data transmission environment of the present invention, which is a data transmission system and method of the present invention, which cuts data and transmission logic. ,separate. The present invention is also directed to providing a data transmission system and method for use in a network data transmission environment, without having to consider what the new record of the XML data type has, but instead (4) The logic of the input rule towel is used as the transmission logic basis, and the message exchange between the cloud and the sales terminal p〇s is completed according to different company codes and/or P0S codes. The re-purpose of the present invention is to provide - (four) material ageing method, which is applied to the network data transmission environment, the data message between the cloud and the sales terminal p隐s (hidden) father change; the cloud receives the sales terminal p〇S data, for example, receiving sales data, and sending it to the host database in the cloud for data analysis in the cloud; assisting in the exchange of data between the ages, such as 'documents, main file exchange, etc. 〇s commercial activities; collaborative business activities between the cloud and the sales terminal P〇S, for example, B2B activities such as sales-side P0S purchasing from suppliers, main file downloading, etc. According to the above, the present invention provides a data transmission system including a sales terminal P〇Sm service system and a cloud service subsystem. Here, the data transmission system architecture of the present invention can use any payment or Is the free open source data 201224801 transmission server. The sales terminal p〇s service subsystem of the sales terminal P0S includes a data definition language DDL service module and a message service module. The data definition language DDL service module, the data definition language DDL service module is responsible for processing the access and processing of the sales side P0S database data, and communicating with the data message service (message service) module to convert the data object (Entity Bean) ) and XML 〇 the data definition language chaos service module will transfer the required outgoing data to the sales POS database (for example, MS-SQL, Oracele ' MySQL), so that the data message service module can The data to be transmitted is transmitted in the database, and/or the data service module transmits the received data to the DDL service module of the data definition language for data that has not been transmitted. The data transmission service module's data transmission between the sales terminal and the cloud is handled by the data message service module, and all data transmitted and received is placed in the database of the sales terminal p's, for example, MS. -SQL, Oracel, MySQL. The MDP (Message Dispatching Process) MDP is assigned to the data message, and the data message service module is a program at the sales terminal P0S, which is responsible for communicating with the data transfer server, obtaining the downloaded data and uploading the data to the data transfer server. 201224801 Data Definition Language The DDL service module contains an entity object in the perpetual layer (data service layer). The data definition language service module has at least a logical level of transmission rules and a data level ( Data Ievel) new record, where the transport rule contains the company code (com_no), p〇s code (loc_no) as the logical basis for the transfer, the new record is the data, whether it is the anchor, the document or other, in Therefore, since the data and the transmission logic are cut and separated, it is not necessary to consider what the new reconj of the XML data type has, but the company code (com_no) and the P〇s code in the transmission rule ( 1〇c一n〇) as a logical basis for transmission, according to different company codes and/or P0S codes, to complete the message exchange between the cloud and the sales terminal p,s, wherein the new record is Fox data. , which is the entity data (or record) used by the data definition language DDL service module. The cloud service sub-system in the cloud's cloud service sub-system includes at least a data transmission server, a cloud computing ccP (Cl〇ud computing Process) program module, and a data message assignment MDP (Message Dispatching Process) module. The data transmission server, the sales terminal p〇S directly (not through the small market background host) connects to the data transmission server via the message service module to upload and receive data, and the data transmission server transmits the message through the message. Any instant transfer mode between Message Queue and Web Service. The logic of the sales side p〇s and the cloud's resources is controlled by the logical center (p〇licy Center). 201224801 Cloud computing Process program module, the cloud computing process program module is mainly responsible for receiving and parsing X messy data. After comparing the XML data with the business logic, determine the flow of the data stream. (Which sales terminal to go to P0S). The data message is assigned to the MDP (Message Dispatching Process) module, which assigns the MDP (Message Dispatching Process) module to communicate with the data transmission server to receive the assignment command of the Cloud Computing Process program module. The data to be designated for delivery is sent to the data transfer server for transmission. When the data transmission system of the present invention is used for the data transmission method, the DDL service module of the data definition language of the sales service sub-system cuts and separates the data and the transmission logic' without considering the new record of the data type (newrec〇) What is the inner valley of rd)? Use the company code (c〇m-n〇) and p〇S code (loc-no) in the transmission code to be the ship logic wire, according to the different public code and / or pQS code, to enter between the P0S end and the cloud (four) message exchange (message) exchange information from the sales end (10) to be analyzed can be stored in the cloud database, for example, 0racle database 'and available Used by other systems. When using the data transmission system of the present invention to carry out the data transmission method: The sales process is sent at the sales terminal POS: firstly, after the sales terminal data is changed, the data definition service language DDL service module generates the fox data through the 201224801, and the data message service ( The message service) module dumps the data to the data transfer server; then, after the data is sent to the cloud, the cloud computing CCP (cl〇ud c〇fflputing Pr〇cess) program module obtains the XML from the data transfer server. The data is analyzed and calculated, and the results are stored in the cloud's negative library. Through the logical processing of the CCPCluster Computing Process module, it is assumed that the result data needs to be returned to the sales terminal p〇s or passed to other sales terminals pos', and the result will be converted into a data message. The assigned MDp (Mess Town Dispatching Process) module is assigned to the data transfer server to transmit the sales terminal POS or to other sales terminals p〇s via the data transfer server. In the cloud of the web ship | | (web server) action flow: Lai Xing Fu (four) unified, resulting in data changes, through the cloud computing (XP (aGud _puting prceess) program module operation, data message assignment M]) P (Message Dispatching Pr〇cess) The module delivers the data that needs to be transmitted to the sales terminal to the data transfer server, and then transmits it to the sales terminal p〇s via the data transfer server. On the sales side P0S sales terminal P0S service sub-system receiving process: the message service service (message service) module obtains the downloaded fox from the data server, and converts the data from fox to data object through the data definition language DDL service module. (Entity. For data processing. The data transmission system architecture of the present invention can use any paid or free 201224801 source data transmission server, and is not limited to use a data transmission server, and the sales terminal p〇s is specified by which A data transmission server service, set by the logic center. In actual implementation, it can be selected. For example, the data transmission server is an open code J2EE-compliant application container, which is added as a supplement to the J2EE specification. The Α0Ρ framework provides J2EE services for ordinary Java classes, and the data transfer server is like a mail server. There is a message queue for storing messages. Each of the nodes (Node) has a corresponding For example, a loop is taken as an example to illustrate that the node is used to send data to the data transmission server. The data transmission server will receive the data from its database for temporary storage. The temporary data will be processed by the Cloud Computing Process (Programming Module) and may generate data to be re-delivered. Cloud database, such as 'MySQL. Cloud computing process module, the cloud computing process program module from the cloud database, for example, MySQL 'read the latest received Temporary data is stored and judged. If it is to be dispatched, new transmission data will be generated, and each judged data will be marked. Through the cloud computing process (Logic Computing Process) program module logic processing, it is assumed that the result data needs to be returned. The lock sale terminal P0S or the other sales terminal P0S will convert the result into xml and submit it to the data message to assign the MDP (Message Dispatching Process) module to assign the data transfer service to the service information, and finally ' The Nodes retrieve the data from the message relay 201224801 server. The purpose and characteristics of the present invention are known to those skilled in the art. The present invention will be described in detail by the following specific embodiments, and with the accompanying drawings: FIG. 1 is a schematic diagram of a system for illustrating the data transmission system of the present invention. System architecture, and operation situation. As shown in FIG. 1 , the data transmission system 1 includes a sales terminal POS service subsystem 2 and a cloud service subsystem 3. The sales terminal P〇S service subsystem 2 located at more than one sales terminal P0S4 includes a negative DDL service module 21 and a message service module 22. The data definition language DDL service module 21, the data definition language DDL service module 21 is responsible for processing the access and processing of the data of the database 411 of the sales terminal POS4, and communicating with the message service module 22 to convert Entity Bean and XML. The definition of the material is stipulated. The DDL service module 21 will transfer the required data to the database of the sales terminal P0S4 (for example, 'MS-SQL, 〇raceie, MySQL) to enable the data message service module. The group 22 can transmit the required outgoing data from the database 41, and the 201224801 / or § hai> message service module 22 transmits the received data to the data definition language DDL service module. 21 for filtering without transmission of information. The message service module 22, the k-material transmission between the sales terminal POS4 and the cloud 5 is responsible for the message service module 22, and all the transmitted and received data are placed on the sales side. A database 41 of p〇S4, for example, MS-SQL, Oracel, MySQL. The data definition language DDL service module 21 includes an entity object in a perpetual layer (data service layer), the data definition language DDL service module 21 has at least a logical level transmission rule 211, and A new record 212 of the data level, wherein the transmission rule 211 includes a company code (com_no) 2111, a POS code (loc_no) 2112 as a transmission logic basis, and a new record 212 as a material 'whether inside Home, document or other 'here, because the data and the transfer logic are cut and separated, it is not necessary to consider what the new record 212 of the xml data type has, but use the transmission rule 211. The company code (com_no) 2111, P0S code (loc_no) 2112 is used as the transmission logic basis, and the information message between the cloud 5 and the sales terminal p〇s4 is completed according to different company code 2111 and/or P0S code 2112. Exchange, where 'new record 212 is xml data, which is the entity data (or record) used by the data definition language DDL service module 21 (not shown). 12 201224801 Cloud Service Subsystem 3 in Cloud 5, the cloud service subsystem 3 includes at least a data transmission server 31, a cloud computing process program module, and a message dispatching MDP (Message Dispatching Process) module. Group 33 〇 data transmission server 31 'sales terminal P0S4 directly (not through the store small background host) via the > message service module (message service) module 22 to connect the data transfer server 31 to upload and receive data, the data transmission The server 31 transmits any instant transfer mode through the message queue 301 and the web service of the web server 7. The logic of the data flow of the sales terminal P0S 4 and the cloud 5 is controlled by a Policy Center 8. The cloud computing process program module 32, the cloud computing process program module 32 mainly receives and parses the XML data, and compares the XML data with the business logic to determine the flow of the data stream. (Which sales terminal to go to P0S). The data message is assigned a MDP (Message Dispatching Process) module 33, which is responsible for communicating with the data transmission/service benefit 31. The cloud computing process module 32 is received. The assignment command sends the data to be designated to the data transfer server 31 for transmission. 13 201224801 方; Actually, she can choose, for example, the data transmission server 31 is an application container (c〇ntainer) of the open code payment s J2EE specification, which is a supplement to the 2εε specification, and introduces a frame of Α0Ρ 'For the ordinary Java class, it provides the same as the mail server server (mail server), there is a message column 3〇1 for storing messages (not shown), each sales terminal p〇 s(N〇de)4 has a corresponding message queue (not shown). • For example, taking a loop as an example, first, the sales terminal P0S (Node) 4 sends the data (new record 212) to the message queue 301 of the data transmission server 31, and the sales terminal P0S service times. The data definition language DDL service 21 of the system 2 first cuts and separates the new record 212 (data) and the transmission rule 211 (transfer logic) 'without considering the new record 212 (for the XML data type) What is the content? Instead, the company code (com_no) 2lli and P0S code (loc_no) 2112 in the transmission rule 211 are used as the transmission logic basis, and the cloud code 5 is completed according to the company code 2111 and/or the P0S code 2112. A message exchange with the sales terminal P0S4. Then, the data service (message service) module 22 of the sales terminal P〇S (Node) 4 (the data transmission between the sales terminal P0S (Node) 4 and the cloud 5 is transmitted by the message service module (message service) module. 22 is responsible for sending a new record 212 (data) to the message queue 301 of the data transfer server 31, and the data transfer server 31 will receive 14 201224801 new record 212 (data) from its database 51, for example (4) chaos, temporarily stored. Lying '(4) new record 212 (= by the cloud computing which ((:1_ _puting Process) program module 32 processing may generate data to be re-delivered (not shown), also aged in Laiku 51, Shun, MySQL; m# terminal operation Gcp ((5) d C〇IDPUting Pr〇Cess) program module 32 reads the newly received temporary new record 212 (data) from the database 51, for example, MySQL, and lays it down, if necessary Remuneration will generate new • _ lose data (re-delivery data), each judged data (not shown) will be marked. Subsequently, through the cloud computing pr (Cloud computing pr0cess) program module 32 logic processing ' Assume that the delivery of the cake (new transmission data) needs to be returned to the sales terminal or to other sales terminals p〇S4, and the transmission data of the re-delivery data (10) will be transferred to the data message to assign MDp (Message). The "Yanghe" Pr(10)) module 33 assigns the message queue 3 (U.) to the data transfer server 31. Finally, the 'sales terminal P〇S(N〇de) 4 are each from the message queue (Queue) 3〇 1 Retrieving data. Fig. 2 is a flow chart showing the use of the data transmission system of the present invention as shown in Fig. 1. For the process steps of the data transmission method, as shown in FIG. 2, first, in step U 'first' the sales terminal POS (Node) 4 sends the data (new record 212) to the data transmission server 31. Before the message queue 3〇1, the data definition language DDL service 21 of the sales side P0S service subsystem 2 first cuts and separates the new record (new 15 201224801 record) 212 (data) and the transmission rule 211 (transfer logic). No need to consider the content of the new record 212 (for the XML data type), but use the company code (com_no) 2ui and the p〇s code (loc_no) 2112 in the transmission rule 211 as the transmission logic basis. , according to different company code 2111 and / or p 〇 S code 2112 'to enter the message exchange between the cloud 5 and the sales terminal P0S4, and proceed to step 12. Step 12, the sales terminal P0S4 and the cloud 5 The new record (new reC〇rd) 212 (data) is transmitted and the subsequent processing action is performed; that is, the message service module 22 is responsible for sending the new record 212 (data) to the data. The message queue 301 of the transport server 31, For the subsequent processing action. Fig. 3 is a flow chart for displaying a more detailed process step for explaining the new record transmission in Fig. 2 and performing the subsequent processing action steps, as shown in Fig. 3. First, the data transmission between the data message service module 22 (sales terminal P_ode) 4 and the cloud 5 in step 121 is the responsibility of the message service module 22) The new record 212 (f material) is sent to the data transmission ship ϋ 31 Queue 3 () 1, the bribe transport ship (four) will receive a new record 212 (data) received its database 5 b, for example, MySQL , temporarily store it, and proceed to step 122. In step 122, the temporary new record 212 (data) is processed by the cloud computing ccp (ci〇ud 16 201224801 computing Process) program module 32, and may generate data to be re-delivered (not shown), and is also stored in The database 51, for example, MySQL; the Cloud Computing Process program module 32 from the database 51, for example,

MySQL,讀取最新收到的暫存新記錄212(資料)並作判斷,若需再派 送則會產生新的傳輸資料(再派送資料),每一判斷過的資料(未圖示 出)會予以標記;並進到步驟123。 • 於步驟123,透過雲端運算CCP(Cl〇Ud computing Pr〇cess)程式 模組32邏輯處理,假設再派送資料(新的傳輸資料)需要回傳該銷售 端P0S4或傳到其他的銷售端p〇S4,會把該再派送資料(新的傳輸資 料)轉成 XML 交給資料訊息指派 MDP(MeSsage Dispatching Process) 模組33指派放入資料傳輸伺服器31之訊息佇列301,並進到步驟 124。 第4圖為一系統示意圖,用以顯示說明本發明之資料傳輸系統之 一貫施例的系統架構、以及運作情形。如第4圖中所示之資料傳輸系 統1,該資料傳輸系統1包含銷售端p〇s服務次系統2、以及雲端服 務次系統3。 位於一個以上之銷售端P0S4之銷售端p〇s服務次系統2,該銷 售端P0S服務次系統2包含資料定義語言肌服務模組21、以及資 料訊息服務(message service)模組22,在此,該一個以上之銷售端 201224801 P0S4為,例如,飲料店,其中,飲料店包含連鎖飲料店及/或單一 飲料店。 資料訊息服務(message service)模組22,銷售端P0S4與雲端 5(例如,總公司傳輸伺服器端)之間的資料傳輸為由該資料訊息服務 (message service)模組22來負責,而所有傳輸、接收的資料放在銷 售端 P0S4 之資料庫 41,例如,MS-SQL,Oracel,MySQL。 資料定義語言DDL服務模組21含有永續層(資料服務層)中的一個 實體物件’該資料定義語言DDL服務模組21至少具有邏輯層面之傳輸 規則213、以及資料層面之新記錄214 ’其中,傳輸規則213包含公 司代碼(com—no)2131、P0S代碼(loc_no)2132以做為傳送邏輯依據, 在此’例如,公司代碼(com_no)2131為指定(assigned)號碼、P0S代 碼(locjio)2132為指定(assigned)號碼,係用以表示有特定組織、 分店號碼,新記錄214會傳送到一銷售端P0S4之一指定銷售端 P0S42,在此,新記錄214為資料,裡面是單據;在此,由於將新記錄 214(資料)與傳輸規則213(傳送邏輯)予以切割、分開,因而,無須 考慮為XML資料型式之新記錄214所具有之内容為何,而是使用傳輸 規則213中之為指定(assigned)號碼的公司代碼(com_no)2131、為指 定(assigned)號碼的P0S代碼(l〇c_no)2132做為傳送邏輯依據,按 為指定(assigned)號碼的公司代碼2131與P0S代碼2132,來完成雲 18 201224801 端5與銷售端p〇S4之間的資料訊息交換,其中,新記錄214(為xml 資料)包含單據2141,為資料定義語言DDL服務模組21所用的實體 資料(或記錄)。 資料定義語言DDL服務模組21,該資料定義語言DDL服務模組 21會將所需傳出的新記錄214(包含單據2141),搬運到銷售端P0S4 之資料庫41,例如,MySQL。 於雲端5之雲端服務次系統3 ’該雲端服務次系統3至少包含資 料傳輸伺服器31、雲端運算CCP(Cloud computing Process)程式模 組32、以及資料訊息指派MDP(Message Dispatching Process)模組 33。 資料傳輸伺服器31,銷售端P0S4直接(不透過門市小後台主機) 經由資料訊息服務(message service)模組22連接該資料傳輸伺服器 31以上傳與接收資料,該資料傳輸伺服器31透過訊息佇列(Message Queue)303與網頁伺服器7之網頁服務(Web Service)任何可即時傳 輸模式。銷售端P0S 4與雲端5之資料流的邏輯是透過邏輯中心 (Policy Center)8控制。 資料傳輸伺服器31 ’該資料傳輸伺服器31是一個開放碼之符合 J2EE規範的應用容器,作為J2EE規範的補充,引入了 Α0Ρ框架,為 普通Java類提供了 J2EE服務’資料傳輸伺服器31如同郵件伺服器 19 201224801 一樣有存放訊息的訊息佇列303,每一個銷售端P0S(Node)4對應相 關之訊息佇列303。 雲端運算CCP(Cloud computing Process)程式模組32,該雲端 運算CCP(Cloud computing Process)程式模組32從雲端5之資料庫 5卜例如’ MySQL ’讀取最新收到之暫存的新記錄214並作判斷,若 需再派送則會產生包含單據2141之資料331,每一判斷過的新記錄 214會予以標記。 資料訊息指派MDP(Message Dispatching Process)模組 33,該資 料sfl息指派 MDP(Message Dispatching Process)模組 33 負責與資料 傳輸伺服器31溝通,接收雲端運算CCP(cl〇ud c〇mputing pr〇cess) 程式模組32的指派命令,把要指定派送之包含單據2141的資料331 送到資料傳輸飼服器31以進行傳送。 在此,舉例言之,於將單據2141自一銷售端p〇S4傳送給一指定 銷售端P0S42(另一銷售端p〇s4)的過程時,首先,於銷售端 P0S(Node)4之=貝料訊息服務(message seryice)模組22把新記錄 送到貝料傳翻服器31之訊息仵列3G3之前,銷售端pqs服務次系 統2之資料定義語言胍服務2卜先將新記錄214與傳輸規則213 予以切割、分開’在此’新記錄(為XML資料型式)214包含單據2141, 使用傳輸規則213中之公司代碼(⑴m_n〇)213卜代碼 201224801 (l〇C_n〇)2132做為傳送邏輯依據,在此,例如,公司代碼(c〇m』〇)2i3i 為指定(assigned)號碼、P0S 代碼(l〇c_no)2i32 為指定(assigned) 號碼,係用以表示有特定組織、分店號碼,包含單據2141之新記錄 214會傳送到-銷售端p0S4之-指定銷售端P〇s,來絲雲端5與銷 售端P0S4之間的資料訊息(message)交換。 接著’銷售端P0S(Node)4之資料訊息服務(message service) 模組22將包含單據2141之新記錄214送到送到資料傳輸彳司服器3i 之訊息佇列(Queue)303,資料傳輸伺服器31會將新記錄214收到資 料庫51,例如,MySQL,予以暫存。 繼而,雲端運算CCP(Cloud computing Process)程式模組32從 資料庫51,例如’ MySQL ’讀取最新收到的暫存新記錄214並作判斷, 若需再派送則會產生新的包含單據2141之再派送資料331,判斷過 的新記錄214資料會予以標記,換言之,暫存新記錄214經由雲端運 算CCP(Cloud computing Process)程式模組32處理後可能產生需再 派送之包含單據2141的資料331,儲存於資料庫51,例如,MySQL。 繼之’透過雲端運算CCP(Cloud computing Process)程式模组 32運算’將儲存於資料庫51之包含單據2141的資料331轉成XML 父給為料訊息指派MDP(Message Dispatching Process)模組33指派 放入資料傳輸伺服器31之訊息佇列303。 21 201224801 最後’銷售端P0S(Node)4之一指定銷售端P0S42利用其所具有 之資料訊息服務模組22從訊息佇列3〇3取回包含單據2141的資料 331 ’並可將資料331傳送至銷售端p〇S42之資料定義語言DDL服務 模組21,並過濾無須傳送之資料。 第5圖為一流程圖’用以顯示說明利用如第4圖中之本發明之資 料傳輸系統的一實施例,以進行資料傳輸方法的流程步驟。在此,為 將單據2141自一銷售端P0S4傳送給一指定銷售端p〇s42(另一銷售 端 P0S4) 〇 如第5圖中所示之,首先,於步驟1〇1,於銷售端p〇s(N〇de)4 之資料訊息服務(message service)模組22把新記錄214送到資料傳 輸伺服器31之訊息佇列303之前,銷售端p〇s服務次系統2之資料 定義語言亂服務模組2卜先將新記錄214與傳輸規則213予以切 割、分開,在此,新記錄(為XML資料型式)214包含單據2141,使用 傳輸規則213中之公司代碼(com_no)2l31、p〇s代碼(l〇c_no)2132做 為傳送邏輯依據,在此,例如,公司代碼(c〇m_n〇)2131為指定 (assigned)號碼、POS 代碼(l〇c—no)2132 為指定(assigned)號碼,係 '用以表示有特定組織、分店號碼,包含單據2141之新記錄214會傳 送到一銷售端P0S4之一指定銷售端P0S42,來完成雲端5與銷售端 P〇S4之間的資料訊息(message)交換,並進到步驟1〇2。 22 201224801 於步驟102 ’接著,銷售端P0S(N〇de)4之資料訊息服$(message service)模組22將包含單據2141之新記錄214送到送到資料傳輸伺 服器31之訊息佇列(Queue)303,資料傳輸伺服器31會將新記錄214 收到負料庫51,例如,MySQL·,予以暫存,並進到步驟1〇3。 於步驟103,雲端運算cCP(Cloud computing Process)程式模組 32從資料庫51,例如’ MySQL,讀取最新收到的暫存新記錄214並作 判斷,若需再派送則會產生新的包含單據2141之再派送資料331, 判斷過的新記錄214資料會予以標記,換言之,暫存新記錄214經由 雲運算CCP(Cloud computing Process)程式模組32處理後可能產 生需再派送之包含單據2141的資料331,儲存於資料庫51,例如, MySQL;並進到步驟1〇4。 於步驟104,透過雲端運算ccP(Cl〇ud computing Process)程式 模組32運算,將儲存於資料庫51之包含單據2141的資料331轉成 XML 乂給資料訊息心派肋p(Message DiSpatching process)模組 33 指派放入資料傳輸伺服器31之訊息佇列3〇3,並進到步驟1〇5。 於步驟105,銷售端P〇S(N〇de)4之一指定銷售端P0S42利用其 所具有之資料訊息服務模組22從訊息佇列3〇3取回包含單據2141的 資料331,並可將資料331傳送至銷售端p〇S42之資料定義語言DDL 服務模組21,並過濾無須傳送之資料。 23 201224801 第6圖為一系統示意圖,用以顯示說明本發明之資料傳輸系統之 又一實施例的系統架構、以及運作情形。如第6圖中所示之資料傳輸 系統1,該資料傳輸系統1包含銷售端p〇S服務次系統2、以及雲端 服務次系統3。 位於一個以上之銷售端P0S4之銷售端p〇s服務次系統2,該銷 售端P0S服務次系統2包含資料定義語言DDL服務模組21、以及資 料訊息服務(message service)模組22,在此,該一個以上之銷售端 P0S4為’例如,飲料店’其中,飲料店包含連鎖飲料及/或單一飲料 店。 資料訊息服務(message service)模組22,銷售端P0S4與雲端 5(例如,總公司傳輸伺服器端)之間的資料傳輸為由該資料訊息服務 (message service)模組22來負責’而所有傳輸、接收的資料放在銷 售端 P0S4 之資料庫 41,例如,MS-SQL,Oracel,MySQL。 資料定義語言DDL服務模組21含有永續層(資料服務層)中的一個 實體物件’該資料定義語言DDL服務模組21至少具有邏輯層面之傳輸 規則215、以及資料層面之新記錄216,其中,傳輸規則215包含公 司代碼(com_no)2151、P〇S代碼(l〇c_n〇)2152以做為傳送邏輯依據, 在此’例如’公司代碼(com_no)2i51為指定號碼,而P0S代碼 (loc—no)2152並非為指定號碼,係用以表示有特定組織、但並無特 24 201224801 刀店號碼,換s之,由於並無特定分店號碼,因而,新記錄MB會 傳送到每—銷售端腿,纽,新記錄216為商品主稽;在此,由於 將新°己錄216與傳輸規則215予以切割、分開,因而,無須考慮為 狐貝料型式之新記錄216所具有之内容為何,而是使用傳輸規則215 中之為私疋號碼的公司代碼(conuio)2151、以及非為指定號碼的 代碼(loc—no)2i52做為傳送邏輯依據,按為指定號碼的公司代碼 2151、以及非為指定號碼的P0S代碼2152,來完成雲端5與銷售端 P〇S4之間的資料訊息交換,其中,新記錄216(為XML資料)為商品主 檔,將傳送至每一銷售端P0S4,為資料定義語言DDL服務模組21所 用的實體資料(或記錄)。 資料定義語言DDL服務模組21,該資料定義語言DDL服務模組 21會將所需傳出的新記錄216(商品主檔),搬運到銷售端p〇S4之資 料庫41,例如,MySQL。 於雲端5之雲端服務次系統3,該雲端服務次系統3至少包含資 料傳輸4司服器31、雲端運算CCP(Cl〇ud computing Process)程式模 組32、以及資料訊息指派MDP(Message Dispatching Process)模組 33。 資料傳輸伺服器31,該資料傳輸伺服器31是一個開放碼之符合 J2EE規範的應用容器,作為J2EE規範的補充,引入了 Α0Ρ框架,為 25 201224801 普通Java類提供了 J2EE服務,資料傳輸伺服器31如同郵件祠服器 一樣有存放訊息的訊息佇列305,每一個銷售端p〇s(N〇(ie)4對應相 關之訊息佇列305。 雲端運算CCP(Cloud computing Process)程式模組32,該雲端 運算CCP(Cl〇ud computing Process)程式模組32從雲端5之資料庫 51 ’例如,MySQL,讀取最新收到之暫存的新記錄216並作判斷,若 需再派送則會產生資料332,每一判斷過的新記錄216會予以標記。 資料訊息指派MDP(Message Dispatching Process)模組 33,該資 料訊息指派MDP(Message Dispatching Process)模組33負責與資料 傳輸飼服器31溝通’接收雲端運算CCP(Cloud C〇_ting Pnx^y 程式模組32的指派命令,把要指定派送之資料332送到資料傳輸伺 服器31以進行傳送。 在此,舉例言之,於將商品主檔自一銷售端p〇S4傳送給其他之 銷售端P0S4的過程時,首先,於銷售端P〇s(N〇de)4之資料訊息服務 (message service)模組22把新記錄216送到資料傳輸伺服器31之 訊息侧305之前,銷售端P〇S服務次系統2之資料定義語言肌服 務模組21,先將新記錄216與傳輸規則215予以切割、分開,在此, 新記錄(為XML資料型式扇為商品主檔,使用傳輸規則215中之公 司代碼(com_no)215;l、P0S代碼(i〇c_no)2i52做為傳送邏輯依據,在 26 201224801 此,公司代碼(com_no)2151為指定號碼、而p〇S代碼(loc—n〇)2152 並非為指定號碼,係用以表示有特定組織、但並無特定分店號碼,為 商品主檔之新記錄216會傳送到每一銷售端p〇S4,來完成雲端5與 銷售端P0S4之間的資料訊息(message)交換。 接著,銷售端P0S(Node)4之資料訊息服務(message service) 模組22將新記錄216送到送到資料傳輸伺服器31之訊息佇列3〇5 , 資料傳輸伺服器31會將新記錄216收到資料庫51 ,例如,MySQL, 予以暫存。 繼而,雲端運算CCP(Cloud computing Process)程式模組32從 資料庫51 ’例如’ MySQL ’讀取最新收到的暫存新記錄216並作判斷, 右需再派送則會產生新的再派送資料332,判斷過的新記錄216資料 會予以標記,換言之,暫存新記錄216經由雲端運算ccp(ci〇ud computing Process)程式模組32處理後可能產生需再派送之資料 332 ’儲存於資料庫51,例如,MySQL。 繼之’透過雲端運算CCP(Cloud computing Process)程式模組 32運算’將儲存於資料庫51之資料332轉成狐交給資料訊息指派 MDP(MeSSage Dispatching process)模組33指派放入資料傳輸伺服 器31之訊息佇列305。 最後’每-銷售端P0S(Node)4利用其所具有之資料訊息服務模 27 201224801 組22,分別從訊息佇列3〇5取回為商品主檔的資料泊2,並可將資料 332傳送至資料定義語言DDL服務模組21,並過濾無須傳送之資料。 第7圖為一流程圖,用以顯示說明利用如第6圖中之本發明之資 料傳輸系統的又一實施例,以進行資料傳輸方法的流程步驟。在此, 將為商品主檔的新記錄216自一銷售端P〇S4傳送給其它銷售端p〇S4。 如第7圖中所示之,首先,於步驟2〇1,於銷售端p〇s(N〇de)4 之資料訊息服務(message service)模組22把新記錄216送到資料傳 輸伺服器31之訊息佇列305之前,銷售端P〇s服務次系統2之資料 定義語言DDL服務模組21,先將新記錄216與傳輸規則215予以切 割、分開’在此’新記錄(為X此資料型式)216為商品主檔’使用傳 輸規則215中之公司代碼(com—n〇)2i5i、p〇s代碼(i〇c_n〇)2l52做為 傳送邏輯依據’在此’公司代碼(⑽_nQ)2151為指定號碼、而p〇s 代碼(lcxuiQ)2152並麵献號碼,伽以麵树定組織、但並 無特定分店號碼’為商品主檔之新記錄216會傳送到每一銷售端 P0S4 ’來完成雲端5與鎖售端p〇S4之間的資料訊息(message)交換, 並進到步驟202。 於步驟202銷售端p〇s(N〇de)4之資料訊息服務(message service)模組22將新記錄216制送到資料傳輸伺服器31之訊息仔 列305 ’資料傳輸伺服器31會將新記錄216收到資料庫51,例如, 28 201224801MySQL, read the newly received temporary new record 212 (data) and make a judgment. If it needs to be dispatched, it will generate new transmission data (re-delivery data), and each judged data (not shown) will Mark it; go to step 123. • In step 123, through the cloud computing CCP (Cl〇Ud computing Pr〇cess) program module 32 logic processing, assuming that the data (new transmission data) needs to be returned to the sales terminal P0S4 or to other sales terminals p 〇S4, the re-delivery data (new transmission data) is converted into XML, and the MDS (MeSsage Dispatching Process) module 33 assigns the message queue 301 to the data transmission server 31, and proceeds to step 124. . Figure 4 is a system diagram showing the system architecture and operation of a consistent embodiment of the data transmission system of the present invention. As shown in Fig. 4, the data transmission system 1 includes a sales terminal p〇s service subsystem 2 and a cloud service subsystem 3. The sales terminal P0S service sub-system 2 is located at more than one sales terminal P0S4, and the sales-side P0S service sub-system 2 includes a data definition language muscle service module 21 and a message service module 22, The one or more sales terminals 201224801 P0S4 are, for example, a beverage store, wherein the beverage store comprises a chain beverage store and/or a single beverage store. The message service module 22, the data transmission between the sales terminal POS4 and the cloud 5 (for example, the head office transmission server end) is responsible for the message service module 22, and all The transmitted and received data is placed in the database 41 of the sales terminal P0S4, for example, MS-SQL, Oracel, MySQL. The data definition language DDL service module 21 contains a physical object in the perpetual layer (data service layer). The data definition language DDL service module 21 has at least a logical level transmission rule 213 and a data level new record 214 ' The transmission rule 213 includes a company code (com-no) 2131 and a POS code (loc_no) 2132 as a transmission logic basis, where 'for example, the company code (com_no) 2131 is an assigned number, a POS code (locjio). 2132 is an assigned number, which is used to indicate that there is a specific organization, branch number, and the new record 214 is transmitted to one of the sales terminals P0S4 to designate the sales terminal P0S42, where the new record 214 is the data, which is the document; Therefore, since the new record 214 (data) and the transmission rule 213 (transfer logic) are cut and separated, it is not necessary to consider what the new record 214 of the XML data type has, but use the transmission rule 213 as The company code (com_no) 2131 specifying the (assigned) number and the P0S code (l〇c_no) 2132 of the designated (assigned) number are used as the transmission logic basis, and the designated number is assigned. The company code 2131 and the P0S code 2132 are used to complete the data exchange between the cloud 18 201224801 terminal 5 and the sales terminal p〇S4, wherein the new record 214 (for the xml data) contains the document 2141, which is a data definition language DDL service module. The entity data (or record) used by group 21. The data definition language DDL service module 21, the data definition language DDL service module 21 transfers the required new record 214 (including the document 2141) to the database 41 of the sales terminal POS4, for example, MySQL. The Cloud Service Subsystem 3 of the Cloud 5 includes at least a data transfer server 31, a Cloud Computing Process program module 32, and a Message Dispatching Process module (MDP) 33. . The data transmission server 31, the sales terminal POS4 directly (not through the store small background host) is connected to the data transmission server 31 via the message service module 22 to upload and receive data, and the data transmission server 31 transmits the message. The Message Queue 303 and the Web Service of the Web Server 7 can be any instant transfer mode. The logic of the data stream of the sales terminal P0S 4 and the cloud 5 is controlled by a Policy Center 8. Data Transfer Server 31 'This data transfer server 31 is an open code J2EE-compliant application container. As a supplement to the J2EE specification, it introduces a framework for providing J2EE services for ordinary Java classes. The mail server 19 201224801 has a message queue 303 for storing messages, and each of the sales terminals P0S (Node) 4 corresponds to the related message queue 303. The Cloud Computing Process program module 32, the Cloud Computing Process program module 32 reads the newly received temporary new record 214 from the database 5 of the cloud 5, such as 'MySQL'. And to make a judgment, if it needs to be dispatched, a data 331 containing the document 2141 will be generated, and each judged new record 214 will be marked. The data message is assigned a MDP (Message Dispatching Process) module 33, which is responsible for communicating with the data transmission server 31 and receiving the cloud computing CCP (cl〇ud c〇mputing pr〇cess). The assignment command of the program module 32 sends the data 331 of the containing document 2141 to be dispatched to the data transfer feeder 31 for transmission. Here, for example, when the document 2141 is transmitted from a sales terminal p〇S4 to a designated sales terminal POS42 (another sales terminal p〇s4), first, at the sales terminal P0S (Node) 4 = The message seryice module 22 sends the new record to the message stacking device 31 before the message queue 3G3, and the sales side pqs service subsystem 2 data definition language 胍 service 2 first new record 214 And the transmission rule 213 is cut and separated 'here' the new record (for the XML data type) 214 contains the document 2141, using the company code ((1) m_n〇) 213 code 201224801 (l〇C_n〇) 2132 in the transmission rule 213 as The transmission logic is based on, for example, the company code (c〇m)〇) 2i3i is the designated (assigned) number, and the P0S code (l〇c_no) 2i32 is the designated (assigned) number, which is used to indicate that there is a specific organization or branch. The number, the new record 214 containing the document 2141, is transmitted to the sales terminal p0S4 - the designated sales terminal P〇s, to exchange the message between the silk cloud 5 and the sales terminal P0S4. Then, the 'message service' module 22 of the sales terminal P0S (Node) 4 sends the new record 214 containing the document 2141 to the message queue 303 sent to the data transmission server 3i for data transmission. The server 31 will receive the new record 214 from the database 51, for example, MySQL. Then, the Cloud Computing Process program module 32 reads the newly received temporary new record 214 from the database 51, for example, 'MySQL' and makes a judgment. If it needs to be dispatched, a new included document 2141 is generated. The re-delivery data 331, the judged new record 214 data will be marked, in other words, the temporary new record 214 may be processed by the Cloud Computing Process program module 32 to generate the data containing the document 2141 to be re-delivered. The 331, is stored in the database 51, for example, MySQL. Following the 'Cloud Computing Process' module 32 operation', the data 331 containing the document 2141 stored in the database 51 is converted into an XML parent. The message is assigned to the MDP (Message Dispatching Process) module 33. The message queue 303 is placed in the data transfer server 31. 21 201224801 Finally, one of the sales terminals P0S (Node) 4 designates the sales terminal POS 42 to retrieve the data 331 ' containing the document 2141 from the message queue 3 利用 3 using the data message service module 22 it has, and can transmit the data 331 The data to the sales terminal p〇S42 defines the language DDL service module 21 and filters the data that is not required to be transmitted. Fig. 5 is a flow chart showing the flow of the data transfer method for explaining an embodiment of the data transfer system using the present invention as shown in Fig. 4. Here, in order to transfer the document 2141 from a sales terminal POS4 to a designated sales terminal p〇s42 (another sales terminal POS4), as shown in FIG. 5, first, at step 1〇1, at the sales terminal p The message service module 22 of the 〇s(N〇de)4 sends the new record 214 to the message queue 303 of the data transfer server 31, and the data definition language of the sales terminal p〇s service subsystem 2 The messy service module 2 first cuts and separates the new record 214 from the transport rule 213. Here, the new record (for the XML data type) 214 contains the document 2141, using the company code (com_no) 2l31, p in the transport rule 213. The 〇s code (l〇c_no) 2132 is used as the transmission logic. Here, for example, the company code (c〇m_n〇) 2131 is the designated (assigned) number, and the POS code (l〇c-no) 2132 is specified (assigned). The number is used to indicate that there is a specific organization, branch number, and the new record 214 containing the document 2141 is transmitted to one of the sales terminals P0S4 to designate the sales terminal P0S42 to complete the data between the cloud 5 and the sales terminal P〇S4. The message is exchanged and proceeds to step 1〇2. 22 201224801 In step 102 'Next, the message service package 22 of the sales terminal P0S (N〇de) 4 sends the new record 214 containing the document 2141 to the message queue sent to the data transfer server 31. (Queue) 303, the data transfer server 31 will receive the new record 214, for example, MySQL, for temporary storage, and proceeds to step 1〇3. In step 103, the cloud computing process program module 32 reads the newly received temporary new record 214 from the database 51, such as 'MySQL, and makes a judgment. If it needs to be dispatched, a new inclusion is generated. The re-delivery data 331 of the document 2141, the judged new record 214 data will be marked, in other words, the temporary new record 214 may be processed by the cloud computing process module 32 to generate the included document 2141. The data 331 is stored in the database 51, for example, MySQL; and proceeds to step 1〇4. In step 104, the data 331 containing the document 2141 stored in the database 51 is converted into XML by the CUP (Cl〇ud computing Process) program module 32, and the Message DiSpatching process is performed. The module 33 assigns the message queue 3〇3 placed in the data transfer server 31 and proceeds to step 1〇5. In step 105, one of the sales terminals P〇S(N〇de)4 designates the sales terminal POS42 to retrieve the data 331 containing the document 2141 from the message queue 3〇3 by using the data message service module 22 provided by the sales terminal P0S42. The data 331 is transmitted to the data definition language DDL service module 21 of the sales terminal p42, and the data that is not required to be transmitted is filtered. 23 201224801 Figure 6 is a system diagram showing the system architecture and operation of a further embodiment of the data transmission system of the present invention. As shown in Fig. 6, the data transmission system 1 includes a sales terminal service system 2 and a cloud service subsystem 3. The sales terminal P0S service sub-system 2 of the sales terminal P0S4 includes the data definition language DDL service module 21 and the message service module 22, where The one or more sales terminals POS4 are 'for example, a beverage store' wherein the beverage store comprises a chain beverage and/or a single beverage store. The message service module 22, the data transmission between the sales terminal POS4 and the cloud 5 (for example, the head office transmission server end) is responsible for the message service module 22. The transmitted and received data is placed in the database 41 of the sales terminal P0S4, for example, MS-SQL, Oracel, MySQL. The data definition language DDL service module 21 includes a physical object in the persistent layer (data service layer). The data definition language DDL service module 21 has at least a logical level transmission rule 215 and a data level new record 216, wherein The transmission rule 215 includes a company code (com_no) 2151, a P〇S code (l〇c_n〇) 2152 as a transmission logic basis, where 'for example, the company code (com_no) 2i51 is a designated number, and the POS code (loc —no) 2152 is not a designated number. It is used to indicate that there is a specific organization, but there is no special 24 201224801 knife shop number. For s, since there is no specific store number, the new record MB will be transmitted to each sales terminal. Legs, New Zealand, and New Record 216 are the main items of the goods; here, since the new record 216 and the transmission rule 215 are cut and separated, it is not necessary to consider the content of the new record 216 of the Fox type. Instead, the company code (conuio) 2151, which is the private number in the transmission rule 215, and the code (loc_no) 2i52, which is not the designated number, are used as the transmission logic basis, and the company code is the designated number. 2151, and the P0S code 2152 which is not the designated number, completes the data exchange between the cloud 5 and the sales terminal P〇S4, wherein the new record 216 (for XML data) is the product master file and will be transmitted to each sale. The terminal P0S4 is an entity data (or record) used by the data definition language DDL service module 21. The data definition language DDL service module 21, the data definition language DDL service module 21 will transfer the new record 216 (commodity master file) that needs to be sent to the asset library 41 of the sales terminal p〇S4, for example, MySQL. In the cloud service sub-system 3 of the cloud 5, the cloud service sub-system 3 includes at least a data transmission 4 server device 31, a cloud computing CCP (Cl〇ud computing Process) program module 32, and a data message assignment MDP (Message Dispatching Process). ) Module 33. The data transmission server 31 is an open code J2EE-compliant application container. As a supplement to the J2EE specification, the data transmission server 31 introduces a framework for providing a J2EE service for the general Java class of 201224801, a data transmission server. 31, like the mail server, there is a message 305 for storing messages, and each sales terminal p〇s (N〇(ie)4 corresponds to the related message queue 305. Cloud computing Process program module 32 The cloud computing CCP (Cl〇ud computing Process) program module 32 reads the newly received temporary new record 216 from the database 5 of the cloud 5, for example, MySQL, and judges if it needs to be dispatched again. The data 332 is generated, and each of the judged new records 216 is marked. The data message is assigned a MDP (Message Dispatching Process) module 33, which is responsible for the MDP (Message Dispatching Process) module 33 and the data transfer server 31. The communication 'receives the cloud computing CCP (the cloud C〇_ting Pnx^y program module 32 assignment command, and sends the dispatched data 332 to the data transmission server 31 for transmission. For example, in the process of transmitting the product master file from a sales terminal p〇S4 to another sales terminal POS4, first, the data service (message service) of the sales terminal P〇s(N〇de)4 Before the module 22 sends the new record 216 to the message side 305 of the data transfer server 31, the data terminal defines the language muscle service module 21 of the service terminal system 2, and firstly records the new record 216 and the transfer rule 215. Cutting, separating, here, the new record (for the XML data type fan is the commodity master file, using the company code (com_no) 215 in the transmission rule 215; l, P0S code (i〇c_no) 2i52 as the transmission logic basis, in 26 201224801 Therefore, the company code (com_no) 2151 is the designated number, and the p〇S code (loc_n〇) 2152 is not the designated number. It is used to indicate that there is a specific organization, but there is no specific branch number, which is the product master. The new record 216 is transmitted to each sales terminal p〇S4 to complete the message exchange between the cloud 5 and the sales terminal P0S 4. Then, the data service (message service) of the sales terminal P0S (Node) 4 Module 22 sends new record 216 to the data transmission SERVER 31 of the message queue 3〇5, data transmission server 31 will receive 216 new records database 51, for example, MySQL, be temporarily stored. Then, the Cloud Computing Process program module 32 reads the newly received temporary new record 216 from the database 51 'for example, 'MySQL' and makes a judgment. If the right needs to be dispatched, a new resend data will be generated. 332, the judged new record 216 data will be marked, in other words, the temporary new record 216 may be generated by the cloud computing ccp (ci〇ud computing process) program module 32 may generate data to be re-delivered 332 'stored in the database 51, for example, MySQL. Following the 'Cloud Computing Process' module 32 operation', the data 332 stored in the database 51 is converted into a data transfer message. The MDS (MeSSage Dispatching process) module 33 is assigned to the data transfer servo. The message of the device 31 is queued 305. Finally, the per-sales terminal P0S (Node) 4 retrieves the data mooring 2 as the main product file from the message queue 3〇5 by using the data message service module 27 201224801 group 22 which it has, and can transmit the data 332. To the data definition language DDL service module 21, and filter the data that is not required to be transmitted. Fig. 7 is a flow chart for showing a flow chart showing a further embodiment of the data transfer system using the present invention as shown in Fig. 6 for carrying out the data transfer method. Here, a new record 216 for the product master is transferred from one point of sale P〇S4 to the other point of sale p〇S4. As shown in FIG. 7, first, in step 2〇1, the message service module 22 of the sales terminal p〇s(N〇de)4 sends the new record 216 to the data transmission server. Before the message 301 of the message 305, the data definition language DDL service module 21 of the sales terminal P〇s service subsystem 2 first cuts the new record 216 and the transmission rule 215 and separates the 'new record' here (for this X) The data type) 216 is the product master file 'Use the company code (com-n〇) 2i5i, p〇s code (i〇c_n〇) 2l52 in the transmission rule 215 as the transmission logic basis 'here' company code ((10)_nQ) 2151 is the designated number, and the p〇s code (lcxuiQ) 2152 is provided with the number, and the new record 216 of the product name is transmitted to the sales terminal P0S4. To complete the message exchange between the cloud 5 and the lock terminal p〇S4, and proceed to step 202. In step 202, the data service message module 22 of the sales terminal p〇s (N〇de) 4 sends the new record 216 to the message transmission server 31. The data transmission server 31 will The new record 216 receives the database 51, for example, 28 201224801

MySQL ’予以暫存,並進到步驟2〇3。 於步驟203,雲端運算cCP(Cloiid computing Process)程式模組 32從資料庫51,例如,MySQL,讀取最新收到的暫存新記錄216並作 判斷,若需再派送則會產生新的再派送資料332,判斷過的新記錄2(6 二貝料會予以標記,換言之,暫存新記錄216經由雲端運算ccp(cl〇ud computing Process)程式模組32處理後可能產生需再派送之資料 332 ’儲存於資料庫5卜例如,啦狐,並進到步驟2〇4。 於步驟204 ’繼之’透過雲端運算cCP(Cloud computing Process) 耘式模組32運算’將儲存於資料庫51之資料332轉成XML交給資料 訊息指派MDP(Message Dispatching Process)模組33指派放入資料 傳輸伺服器31之訊息佇列305,並進到步驟2〇5。 於步驟205 ’每一銷售端p〇s(N〇de)4利用其所具有之資料訊息 服務模組22,分別從訊息佇列3〇5取回為商品主檔的資料332,並可 將資料332傳送至資料定義語言亂服務模組21,並過渡無須傳送 之資料。 綜合以上之實施例,我們可以得到本發明之一種資料傳輸系統及 方法,係顧於雲端運算之網路資料傳輸觀,本發明之資料傳輸系 統及方法’將資料與傳送邏輯予以切割、分開,無須考慮為胤資料 型式之新記錄(newrecord)所具有之内容為何,而是使贿輸規則之 29 201224801 邏輯做為傳送邏輯依據 ,按不同之公司代碼及/或P0S代碼,來完成 與銷售端P〇S(Point OF Sale)之間的資料訊息(message)交換。 本發明之資料傳輸系統及方法包含以下優點: L將資料與傳送邏輯予以切割、分開,無須考慮為XML資料型式之 新記錄所具有之内容為何,而是使用傳輸規則中之公司代碼 (com—no)、p〇s代碼(i〇c_no)做為傳送邏輯依據,按不同之公司代 碼及/或P0S代碼,來完成雲端與銷售端P〇s之間的資料訊息交換。 2.雲端與銷售端p〇s之間的資料訊息交換,雲端接收使用端資料, 例如,接收銷售資料,並送到雲端資料庫以供雲端作資料分析;協 助銷售端P0S之間作資料交換,派送資料,例如,單據、主檔交 換等飲料店端商業活動;雲端與銷售端P0S之間的協同商務活動, 例如,銷售端pos向供應商下採購、主檔下載等B2B活動。 以上所述僅為本發明之較佳實施例而已,並非用以限定本發明之 範圍;凡其它未脫離本發明所揭示之精神下所完成之等效改變或修 飾’均應包含在下述之專利範圍内。 【圖式簡單說明】 第1圖為一系統示意圖,用以顯示說明本發明之資料傳輸系統之 系統架構、以及運作情形; 201224801 第2圖為一流程圖,用以顯示說明利用如第1圖中之本發明之資 料傳輸系統以進行資料傳輪方法的流程步驟; 第3圖為一流程圖,用以顯示説明於第2圖中之新記錄傳輸並進 行後續之處理動作步驟的更詳細之流程步驟; 第4圖為一系統示意圖,用以顯示說明本發明之資料傳輸系統之 —實施例的系統架構、以及運作情形; 第5圖為一流程圖,用以顯示說明利用如第4圖中之本發明之資 料傳輸系統的一實施例,以進行資料傳輸方法的流程步驟; 第6圖為一系統示意圖,用以顯示說明本發明之資料傳輸系統之 又—實施例的系統架構、以及運作情形;以及 第7圖為一流程圖,用以顯示說明利用如第6圖中之本發明之資 料傳輪系統的又一實施例,以進行資料傳輸方法的流程步驟。 【主要元件符號說明】 1 .資料傳輸系統 2 銷售端P0S服務次系統 3雲端服務次系統 1 銷售端P0S }雲端 31 201224801 7 網頁伺服器 8 邏輯中心 11 12步驟 21資料定義語言DDL服務模組 22資料訊息服務模組 31資料傳輸伺服器 φ 32雲端運算CCP程式模組 33貢料訊息指派MDP核組 41資料庫 42指定店 51資料庫 101 102 103 104 105 106 步驟 121 122 123 124 125 步驟 201 202 203 204 205 206 步驟 211傳輸規則 212新記錄 213傳輸規則 214新記錄 215傳輸規則 32 201224801 216新記錄 301 訊息佇列 303訊息佇列 305訊息佇列 331再派送資料 332再派送資料 2111 公司代碼 2112 POS 代碼 2131 公司代碼 2132 POS 代碼 2141單據 2151 公司代碼 2152 POS 代碼MySQL' is temporarily staging and proceeds to step 2〇3. In step 203, the cloud computing cCP (Cloiid Computing Process) program module 32 reads the newly received temporary new record 216 from the database 51, for example, MySQL, and makes a judgment. If it needs to be dispatched, a new one is generated. The dispatched data 332, the judged new record 2 (6 two bills will be marked, in other words, the temporary new record 216 is processed by the cloud computing ccp (cl〇ud computing Process) program module 32 may generate data to be re-delivered 332 ' stored in the database 5, for example, fox, and proceeds to step 2 〇 4. In step 204 'follow' through the cloud computing cCP (Cloud computing Process) 模组 module 32 operation 'will be stored in the database 51 The data 332 is converted into XML and the Message Dispatching Process (MDP) module 33 assigns the message queue 305 to the data transfer server 31, and proceeds to step 2〇5. In step 205, 'each sales terminal p〇 s(N〇de)4 uses its data message service module 22 to retrieve the data 332 as the product master file from the message queue 3〇5, and can transmit the data 332 to the data definition language mess service module. Group 21, and the transition does not need to pass According to the above embodiments, we can obtain a data transmission system and method of the present invention, which is based on the network data transmission concept of cloud computing, and the data transmission system and method of the present invention cuts data and transmission logic. Separate, no need to consider what the new record of the data type has, but to make the bribes of the rule 201224801 logic as the transmission logic, according to different company code and / or P0S code, to complete The data exchange system and method between the sales terminal P〇S (Point OF Sale) The data transmission system and method of the present invention include the following advantages: L. Cutting and separating data and transmission logic, without considering XML data type What is the content of the new record, but the company code (com-no) and p〇s code (i〇c_no) in the transmission rule are used as the transmission logic basis, according to different company code and/or P0S code. To complete the exchange of information between the cloud and the sales terminal P〇s. 2. Exchange of information between the cloud and the sales terminal, and the cloud receiving and using the terminal. For example, receiving sales data and sending it to the cloud database for data analysis in the cloud; assisting in the exchange of data between the sales terminals, sending materials, for example, document, main file exchange and other beverage store business activities; cloud and sales Collaborative business activities between the POSs, for example, the B2B activities of the sales pos to the supplier, the main file download, etc. The above is only the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention; All other equivalent changes or modifications made without departing from the spirit of the invention shall be included in the scope of the following patents. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic diagram of a system for illustrating the system architecture and operation of the data transmission system of the present invention; 201224801 FIG. 2 is a flow chart for illustrating the use of FIG. The data transmission system of the present invention performs the flow steps of the data transfer method; FIG. 3 is a flow chart for displaying the detailed description of the new record transmission in FIG. 2 and performing the subsequent processing steps. Figure 4 is a schematic diagram of a system for illustrating the system architecture and operation of the data transmission system of the present invention; Figure 5 is a flow chart for illustrating the use of Figure 4 An embodiment of the data transmission system of the present invention for performing the flow of the data transmission method; FIG. 6 is a system diagram for showing a system architecture for explaining another embodiment of the data transmission system of the present invention, and Operational situation; and FIG. 7 is a flow chart showing a further embodiment illustrating the use of the data transfer system of the present invention as in FIG. Line data transmission method of process steps. [Main component symbol description] 1. Data transmission system 2 Sales terminal P0S service subsystem 3 Cloud service subsystem 1 Sales terminal P0S } Cloud 31 201224801 7 Web server 8 Logical center 11 12 Step 21 Data definition language DDL service module 22 Data message service module 31 data transmission server φ 32 cloud computing CCP program module 33 tribute message assignment MDP core group 41 database 42 designated store 51 database 101 102 103 104 105 106 step 121 122 123 124 125 step 201 202 203 204 205 206 Step 211 Transmission rule 212 New record 213 Transmission rule 214 New record 215 Transmission rule 32 201224801 216 New record 301 Message queue 303 Message queue 305 Message queue 331 Resend data 332 Resend data 2111 Company code 2112 POS Code 2131 company code 2132 POS code 2141 document 2151 company code 2152 POS code

Claims (1)

201224801 七、申請專利範圍: 1. 一種資料傳輸方法,係應用於雲端運算之網路資料傳輸環境,將資 料與傳送邏輯予以洲、分開’該資料傳輸方法聽含町程序: 將新記錄與傳輸規則予以切割、分開,無須考慮該新記錄所具有 之内容為何’而是使用該傳輸規則中之公司代碼、p〇s代碼做為傳送 邏輯依據,按不同之該公司代碼及/或該廳代碼,來完成雲端與銷 售端之間的資料訊息交換;以及 該銷售端與該雲端之間的進行該新記錄傳輸並進行後續之處理 ,其中,進行後續之 2.如申請專利細第丨項所述之該資料傳輸方法, 處理動作的該程序,係包含以下步驟. ’於該雲端將該新 該鎖售端將該新記錄送到於該雲端之訊息仔列 讀取收到之暫存之簡記錄並作判斷,若 f儲存於該雲端之該 記錄收到該雲端之資料庫予以暫存; 從該雲端之該資料庫,讀取收岛201224801 VII. Patent application scope: 1. A data transmission method, which is applied to the network data transmission environment of cloud computing, and separates the data and transmission logic from the continent. The data transmission method is heard in the program: the new record and transmission The rules are cut and separated, regardless of the content of the new record. Instead, the company code and p〇s code in the transmission rule are used as the transmission logic basis, and the company code and/or the office code are different. To complete the exchange of data information between the cloud and the sales end; and to perform the new record transmission between the sales terminal and the cloud and perform subsequent processing, wherein the subsequent processing is performed. The data transmission method, the program for processing the action, includes the following steps: 'The cloud sends the new record to the cloud to send the new record to the cloud to read the received temporary storage. The record is recorded and judged. If the record stored in the cloud is received by the cloud, the database is temporarily stored; from the database of the cloud, the island is read. 料庫’每—判斷過的該新記錄會予以標記; 讀取該再派送資料並放到該訊息仔列。 方法,其令,進行後續之 3.如申請專利細第1項所述之該資料傳輸方法 處理動作的雜序,係包含以下步驟. 34 201224801 該銷售端將該新記錄送到於該雲端之訊息仔列,於該雲端將該新 記錄收到軸端之資料庫予以暫存; 從該雲端之崎料庫,讀取收到之暫存之該新記錄並作判斷,若 需再派送則會產生再派送資料,並將該再派送資料儲存於該雲端之該 資料庫’每—觸過的該新記齡予以標記; 讀取該再派送資料並放到該訊息符列;以及 • 賴售魏觀息侧取賴再派送資料。 4. 如申請專利範_ 2項或第3項所述之該㈣傳輸方法,其中,該 新記錄為XML資料型式的單據資料。 5. 如申請專利範圍第2項或第3項所述之該資料傳輸方法,其中,該 新記錄為XML資料型式的商品主檔。 6·如申請專利範圍第2項或第3項所述之該資料傳輪方法,其中,該 φ 伺服端之該資料庫為MySQL。 7. 如申請專利範圍第3項所述之該資料傳輸方法,其中,該伺服端之 該總部之該資料庫為〇racle資料庫。 8. -種資料傳輪方法,係應躲雲端運算之網路資料傳輸環境,將資 料與傳送邏輯予以切割、分開,該資料傳輸方法係包含以下程序. 銷售端之銷售端P〇S服務次系統之資料定義語言DDL服務模組, 先將新記錄與傳輪規則予以切割、分開,無須考慮該新記錄所具有之 35 201224801 内容為何,而是使用該傳輸規則中之公司代碼、P〇S代碼做為傳送邏 輯依據,按不同之該公司代碼及/或該P〇S代碼,來完成雲端與該銷 售端之間的資料訊息交換;以及 該銷售端與該雲端之間的進行該新記錄傳輸,並進行後續之處理 動作。The new record of the repository 'per-judgment will be marked; read the re-delivery information and put it in the message. The method, which causes the subsequent processing. The processing sequence of the data transmission method described in the first application of the patent application includes the following steps. 34 201224801 The sales terminal sends the new record to the cloud. The message is stored in the cloud, and the new record is received from the database of the axis end; from the cloud of the cloud, the received new record is read and judged, and if it is to be dispatched, A re-delivery data is generated, and the re-delivered data is stored in the database of the cloud. Each of the touched new ages is marked; the re-delivery information is read and placed in the message column; and • Selling Wei’s interest-seeking side will then send the information. 4. If the (4) transmission method described in the patent specification _ 2 or item 3 is applied, the new record is the document data of the XML data type. 5. The method of transmitting data according to item 2 or item 3 of the patent application, wherein the new record is a commodity master file of an XML data type. 6. The data transfer method as described in claim 2 or 3, wherein the database of the φ server is MySQL. 7. The data transmission method according to claim 3, wherein the database of the headquarters of the server is a 〇racle database. 8. - The data transfer method is to cut and separate the data and transmission logic in the network data transmission environment of the cloud computing. The data transmission method includes the following procedures. The sales terminal P〇S service times The system data definition language DDL service module first cuts and separates the new record and the routing rule. It is not necessary to consider the content of the new record. The content of the 2012 201201801 is used, but the company code in the transmission rule, P〇S The code is used as a transmission logic basis, and the data exchange between the cloud and the sales terminal is completed according to the different company code and/or the P〇S code; and the new record is performed between the sales terminal and the cloud. Transfer and perform subsequent processing actions. 9.如申請專利範圍第8項所述之該資料傳輸方法,其中,進行後續之 處理動作的該程序,係包含以下步驟: 該銷售端之資料訊息服務模組將該新記錄送到資料傳輸伺服器 之訊息糊,該龍傳輸舰时將賴記錄收_雲歡資料庫予 以暫存; 一運算GCP㈣她觀雲端之該資料庫棘彳㈣之暫存的 該新。己錄颇躺,若需再派酬會產生再派送倾,每—判斷過的 該新記錄會予以標記; 資料訊息指瞻模組把娜送_再_料送_料傳 輸伺服器之該訊以宁列;以及 該銷售端從雜息侧取回簡派送資料。 進行後續 1〇·如申請專利範圍第8項所述之該資料傳輪方法,其中 之處理動作的該程序,係包含以下步驟: 該銷售 鳊之資料訊息服務模組將該新記 錄送到資料傳輪伺服器 36 201224801 會將該新記錄收_雲端之資料庫予 之訊息件列,該資料傳輸飼服器 以暫存; 雲端運請程式模組從該雲端之_庫讀取收到之暫存的 該新記錄並作瓣,若需再派獅會產生再泥 ’該新記錄會予以標記;以及 氏送資料,每—判斷過的9. The data transmission method according to claim 8, wherein the program for performing the subsequent processing operation comprises the following steps: the data message service module of the sales terminal sends the new record to the data transmission The server's message paste, the dragon transport ship will rely on the record collection _ Yunhuan database to temporarily store; a calculation GCP (four) she sees the cloud of the database thorny (four) temporary storage of the new. If you need to re-pay, you will be sent again, and each new record will be marked. The information message refers to the module that sends the message to the server. Ning Lie; and the sales side retrieves the brief delivery information from the miscellaneous side. The following is a method for processing the data as described in claim 8 of the patent application, wherein the process of processing the action comprises the following steps: the data message service module of the sales file sends the new record to the data The delivery server 36 201224801 will send the new record to the message list of the cloud, and the data transmission server will be temporarily stored; the cloud application module will read and receive from the cloud library. Temporarily save the new record and make a petal. If you need to send another lion, it will produce another mud. 'The new record will be marked; and the data will be sent, every time - judged 資料訊息指纖職她伽Μ物送到該資料 傳輸伺服器之該訊息佇列。 U.如申請專利範圍第9項或㈣項所述之該資料傳輸方法,其卜 該新記錄為XML資料型式的單據資料。 比如申請專利範圍第9項或第1〇項所述之該資料傳輸方法,其令, 该新記錄為XML資料型式的商品主槽。 士申π專利細第9項或第1〇項所述之該資料傳輸方法,其中, 該伺服端之該資料庫為MySQL。 H·如申請專利範圍第1〇項所述之該資料傳輸方法,其中,該飼服端 之該總部之該資料庫為Graele資料庫。 K -種資料傳輸方法,係細於雲端運算之網路資料傳輸環境將 資料與傳送邏輯予以_、分開’該資料傳輸方法係包含以下程序: —銷售端之銷售端服務次系統之資料絲語言狐服務模细先 斤。己錄與傳輸規則予以切割、分開,在此,該新記錄包含單據,使 37 201224801 用該傳輸規則中之公司代碼、舰代碼做為傳送邏輯依據,在此,該 公司代碼為指定號碼、該pGS代碼為指定號碼制以表示有特定組 織、刀店號碼,包含該單據之該新記錄會傳制另-使⑽之-指定 店,來π成令孤端與該些使用端之間的資料訊息交換; 料訊息服務模組將包含該單據之該新記錄送到資 料傳輸值ϋ之訊騎列,該龍傳輸瓶时將賴鱗收到該雲 端之資料庫予以暫存; 农端運算GGP程辆組從該雲端之該資料庫讀取㈣之暫存的 s新。己錄並作躺,若需再派糊會纽包含該單據之再派送資料, =存於及雲端之該資料庫,每_判斷過的賴記錄會予以標記; 資料訊息指派MDP模組把要再派送的該再派送資料送到該資料 傳輪伺服器之該訊息佇列;以及 該銷售端之該-指定店利用其所具有之資料訊息服務模組,而從 δ s Ut列取回包含該單據的該再派送資料資料並可將該再派送 貝料傳送至該—指定店之資料定義語言DDL服務模組,並過渡無須傳 送之資料。 16· -種資料傳輪方法,係應用於雲端運算之網路資料傳輸環境,將 身料與傳送簡' ,料傳輸方法係包含以下程序: 一銷售端之銷售端P0S服務次系統之資料定義語言DDL服務模 38 201224801 組’先將新記錄與傳輸規則予 攄,估田 刀開在此,該新記錄包含單 該傳輪規則中之公司代碼、p〇s 此 代條鱗送邏輯依據,在 …她純糊、謂s代物錢碼,伽以表示有 一=織、分錢碼’包含該單據之該新記錄會傳送到另—銷售端之 扣疋店’來完成雲端與該些銷售端之間的資料訊息交換;The data message refers to the message queue of the data carrier to the data transmission server. U. The data transmission method as described in item 9 or (4) of the patent application, the new record being the document data of the XML data type. For example, the data transmission method described in claim 9 or the first aspect of the patent application, the new record is the main slot of the commodity of the XML data type. The data transmission method according to Item 9 or Item 1, wherein the database of the server is MySQL. H. The data transmission method of claim 1, wherein the database of the headquarters of the feeding end is a Graele database. The K-type data transmission method is a network data transmission environment that is finer than the cloud computing. The data transmission logic is separated from the transmission logic. The data transmission method includes the following procedures: - the sales end service sub-system data line language The fox service is fine. The recorded and transmitted rules are cut and separated. Here, the new record contains a document, so that 37 201224801 uses the company code and the ship code in the transmission rule as the transmission logic, where the company code is the designated number, The pGS code is a designated number system to indicate that there is a specific organization, a shop number, and the new record containing the document will be passed to another (10)-designated store to π into the data between the orphan and the user. Message exchange; the material message service module sends the new record containing the document to the data collection value of the data transmission value, and the dragon transports the bottle to receive the database of the cloud for temporary storage; the agricultural operation GGP The vehicle group reads (4) the temporary storage s new from the database of the cloud. Have recorded and laid down, if you need to send a paste to the new information including the re-delivery of the document, = the database stored in the cloud, each _ judged record will be marked; data message assigned MDP module to The re-delivered data is sent to the message queue of the data delivery server; and the designated store of the sales terminal uses the data message service module of the sales terminal to retrieve the content from the δ s Ut column. The re-delivery of the document may be transmitted to the data-defining DDL service module of the designated store, and the information to be transferred is not transferred. 16· - The data transfer method is applied to the network data transmission environment of cloud computing, and the material transmission and transmission method is included. The material transmission method includes the following procedures: Data definition of the sales terminal P0S service subsystem of the sales terminal Language DDL Service Module 38 201224801 Group 'Firstly, the new record and transmission rules are given. The estimated record is opened here. The new record contains the company code in the pass rule, and the logical basis for the generation of the bar code. In her... she is a pure paste, that is, s generation money code, gamma means that there is a = weaving, the money code 'the new record containing the document will be transferred to the other - sales side of the buckle shop' to complete the cloud and the sales side Exchange of information between 該-銷售端之資料訊息服務模組將包含該單據之該新記錄送到 資料傳輸伺服器之訊息仵列,該資料傳輸伺服器會將該新記錄收到該 雲端之資料庫予以暫存; 雲端運算(TP程式模組從該雲端之該龍庫讀取收到之暫存的 該新記錄並作蘭,若冑躲糊會產“含料狀雜送資料, 儲存於該舰端之該資料庫,每—判斷過的該新記錄會予以標記; 資料訊息驗MDP触把要再派送的該再派送倾送到該資料 傳輪伺服器之該訊息仵列;以及 該銷售端之該一指定店利用其所具有之資料訊息服務模組,而從 該訊息佇列取回包含該單據的該再派送資料資料,並可將該再派送資 料資料傳送至該一指定店之資料定義語言DDL服務模組,並過濾無須 傳送之資料。 U,如申請專利範圍第15項或第16項所述之該資料傳輸方法,其中, 該新記錄為XML資料型式。 39 201224801 18·如申請專利範圍第15項或第16項所述之該資料傳輸方法, 該伺服端之該資料庫為MySQL。 八 19.如申請專利範圍第16項所述之該資料傳輪方法 4八中,該伺服端 之該總部之該資料庫為Oracle資料庫。 肌一種資料傳輸方法,係應用於雲端運算之網路資料傳輸環境,將 資料與傳送邏輯予以切割、分開,該資料傳輸方法係包含以下程序. -銷售端之銷售端服務次线之資败義語言胍服務模組,先 將新記錄與傳輸規料_卜賴,在此,該新記錄為商品主構, 使用該傳輸規财之公司代碼、代碼做鱗送邏輯依據,在此, 該公司代碼為指定號碼、該PGS代碼麟為指定號碼,侧以表示有 特定組織' 但並無特定分店號碼,為商品主敗該新記錄會傳送到每 一銷售端,來完成雲端與該每一銷售端之間的資料訊息交換; 該銷售端之資料訊息服務歡將包含解據之蘭記錄送到資 料傳輸伺服H之絲· ’該倾傳輸贿㉞將賴記錄收到該雲 端之資料庫予以暫存; 雲端運算CCP程式模組從該雲端之該資料庫讀取收到之暫存的 該新記錄並作判斷’若需再派送則會產生再派送資料,並將之儲存於 該雲端之該資料庫,判斷過的該新記錄會予以標記; 資料訊息指派MDP模組把要再派送的該再派送資料送到該資料 201224801 雜顺11之魏騎列;以及 〜每鎖售端利用其所具有之資料訊息服務模組分別從該訊息 °為商域的該再派送資料,並可將該再派送資料傳送至其 ν疋義n。s祖服務模組’並過滤無須傳送之資料。 21.如申請專利範圍第2()項所述之該㈣傳輸方法,其中,該新記錄 為XML資料型式。 • 22_如申請專利範圍第20項所述之該資料傳輸方法,其中,該飼服端 之該資料庫為MySQL。 23. -種資料傳輸系統,係應用於雲端運算之網路資料傳輸環境,將 資料與傳送邏輯予以_、分開,《料傳輸系統係包含: 銷售端服務次系統,該銷售端端服務次系統包含: 貝料定義語言DDL服務模組’該資料定義語言胍服務模組 _ 為水續層中的一個實體物件,於銷售端之該資料定義語言胍服務模 組,先將新記錄與傳輸規則予以_、分開,無須考慮該新記錄所具 有之内容’而是使用該傳輸規則中之公司代碼、P0S代竭做為傳送邏 輯依據’按不同之該公司代碼及/或該_代碼,來完成雲端與該銷 售端之間的資料訊息交換;該資料定義語言DDL服務模組將所需傳出 的該新記錄資料,搬運到該銷售端之資料庫’及/或,該資料定義纽 言DDL服務模組資料訊息服務模組將已接收到之資料,進行過濾無, 201224801 傳送之資料;以及 資料訊息服務模組,該銷售端與該雲端之間的資料傳輪為由 該資料訊息服務模組來負責,而所有傳輸、接收的資料放在該銷售端 之該資料庫,該資料訊息服務模組將讀取該銷售端之該資料庫中的該 新記錄並予以傳送; 以及; _ 雲端服務次系統,該雲端服務次系統包含: 資料傳輸伺服器,於該銷售端之該資料訊息服務模組將該新 記錄送到《料傳輸値n找息制,該麟傳翻㈣會將該新 記錄收到雲端之資料庫予以暫存; 資料訊息指派MDP模組,該資料訊息指派MDp模組負責與該 資料傳輸飼服器溝通,接收雲端運算ccp程式模組的指派命令,把要 • 献派送職槪_資卿輸魏^之雜諸顺進行傳送; 雲端運算CCP程式模組,該雲端運算⑽程式模組從該雲端 之資料庫讀取收到之暫存之該新記錄並作判斷,每一判斯過的該新記 錄會予以標記’若需再派酬會產生再派送賴,該資料傳輸飼服器 會讀取該再派送資料並放到其之該訊息仔列,以供該銷售端從該訊自 佇列取回該再派送資料。 〜 24·如申請專利範圍第23項所述之該資料傳輸系統, 、丁 資料傳 42 201224801 輸伺服器是一個開放碼之符合J2EE規範的應用容器,作為J2EE規範 的補充,該JBoss容器中引入了 A0P框架,為普通java類提供了 j2EE 服務。 25.如申請專利範圍第23項或第24項所述之該資料傳輸系統,其中, 邊新記錄為XML資料型式的單據資料。The data message service module of the sales terminal sends the new record containing the document to the message queue of the data transmission server, and the data transmission server temporarily stores the new record to the database of the cloud; Cloud computing (the TP program module reads the newly received temporary record from the dragon library of the cloud and makes a blue, if it is confusing, it will produce "material-containing miscellaneous data, which is stored in the ship terminal." a database, each of the judged new records will be marked; the data message is verified by the MDP toucher to be dispatched again to the message queue of the data transfer server; and the one of the sales terminals The designated store uses the data message service module it has, and retrieves the re-delivery data containing the document from the message queue, and can transmit the re-delivery data to the data definition language DDL of the designated store. The service module filters the data that is not required to be transmitted. U. The data transmission method described in claim 15 or claim 16, wherein the new record is an XML data type. 39 201224801 18·If the patent application scope The data transmission method described in item 15 or item 16, wherein the database of the server is MySQL. VIII. The data transmission method according to item 16 of claim 16 is in the server. The database of the headquarters is the Oracle database. The muscle data transmission method is applied to the network data transmission environment of the cloud computing, and the data and the transmission logic are cut and separated. The data transmission method includes the following procedures. The end of the sales-end service sub-line of the language-deficient language service module, first the new record and transmission specifications _ _ _, here, the new record is the commodity owner, the company code, code using the transmission code According to the logic of the scale, the company code is the designated number, the PGS code is the designated number, and the side indicates that there is a specific organization' but there is no specific store number, and the new record will be transmitted to each of the goods. The sales end, to complete the exchange of data information between the cloud and each of the sales terminals; the data message service of the sales terminal sends the blue record containing the data to the data transmission servo H. The transfer bribe 34 will temporarily store the database received by the cloud; the cloud computing CCP program module reads the received new record from the database of the cloud and judges 'If it needs to be dispatched again The re-delivery data will be generated and stored in the database of the cloud, and the new record will be marked; the data message is assigned to the MDP module to send the re-delivery information to be sent to the data 201224801 11 Wei riding column; and ~ each sales terminal uses its data message service module to separately send the information from the message ° to the business domain, and can transmit the re-delivery data to its ν疋义The szu service module 'filters the data that is not required to be transmitted. 21. The method of transmission according to the fourth aspect of claim 2, wherein the new record is an XML data type. • 22_ The method of data transmission as described in claim 20, wherein the database of the feeding end is MySQL. 23. A data transmission system is applied to the network data transmission environment of cloud computing, and the data and transmission logic are separated and separated. The material transmission system includes: a sales service sub-system, and the sales end service sub-system Contains: The material definition language DDL service module 'The data definition language 胍 service module _ is a physical object in the continuation layer, the data definition language 胍 service module at the sales end, first new record and transmission rule To _, separate, without having to consider the content of the new record 'but to use the company code in the transmission rules, P0S as the basis for the transmission of the logic of the company code and / or the _ code to complete Data exchange between the cloud and the sales terminal; the data definition language DDL service module transfers the required new record data to the database of the sales terminal' and/or the data definition DDL The service module data message service module will filter the received data, and the data transmitted by 201224801; and the data message service module, the sales terminal and the cloud The information transfer module is responsible for the data message service module, and all transmitted and received data is placed in the database of the sales terminal, and the data message service module will read the database in the sales terminal. And the new record is transmitted; and; _ cloud service subsystem, the cloud service subsystem includes: a data transmission server, the data message service module at the sales end sends the new record to the "material transmission" In the interest-seeking system, the Lin Chuan (4) will temporarily store the new record in the cloud database; the data message assigns the MDP module, and the data message assigns the MDp module to communicate with the data transfer feeder to receive the cloud. The assignment command of the ccp program module is sent to the _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ The newly recorded record is received and judged, and the new record of each judgment will be marked. If the remuneration is required to be re-delivered, the data transfer feeder will read the re-record. Transmitting the message data and put it out of its larvae, for the sale terminal from the information retrieved from the queue of the re-delivery data. ~ 24 · The data transmission system described in Item 23 of the patent application, Ding Data Transmission 42 201224801 The server is an open code J2EE-compliant application container, which is added to the J2EE specification and introduced in the JBoss container. The A0P framework provides j2EE services for ordinary Java classes. 25. The data transmission system according to claim 23 or claim 24, wherein the new document is a document data of an XML data type. 26.如申請專利範圍第25項所述之該資料傳輸系統,其中,該公司代 碼為指定號碼、該P〇S代碼為指纽碼,係用以表示有特枝織、分 店號碼,該新記錄會傳送到另-銷售端之-指定店。 27.如申轉利範圍第23項或第%賴述之該資料傳輪系統,其中, 該新記錄為XML資料型式的商品主標。 28.如。申請專利範圍第27項所述之該資料傳輸系統,其中,該新記錄 為商品主_公司代碼為指定號碼、該柄並_定號碼, 侧以表村特定辑、但並鱗定分舰碼,娜記錄讀送到每 銷售端來凡成該雲端與該每一銷售端之間的資料$ 29蝴專利範圍㈣項咖項所述之該資料傳祕其中, MySQL。 ^如山申請糊範_23項或第24項所述之崎料傳齡統,其中, "雲化之辦料庠為Grade資料庫。 4326. The data transmission system according to claim 25, wherein the company code is a designated number, and the P〇S code is a reference code, which is used to indicate that there is a special branch, a branch number, and the new The record will be transferred to the other-sales-designated store. 27. The data transfer system of the 23rd or the 5% of the application of the scope of the transfer, wherein the new record is the main product of the XML data type. 28. For example. The data transmission system described in claim 27, wherein the new record is a commodity master_company code is a designated number, the handle is a fixed number, and the side is a table-specific series, but the scale is divided into a ship code. , Na record read to each sales end to the data between the cloud and the each sales end $ 29 butterfly patent range (four) item coffee item described in the secret, MySQL. ^ 如山Applications _23 or the 24th item of the age of the ageing, in which, " Yunhua's office is a Grade database. 43
TW99142599A 2010-12-07 2010-12-07 Data transmission system and method TW201224801A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW99142599A TW201224801A (en) 2010-12-07 2010-12-07 Data transmission system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW99142599A TW201224801A (en) 2010-12-07 2010-12-07 Data transmission system and method

Publications (2)

Publication Number Publication Date
TW201224801A true TW201224801A (en) 2012-06-16
TWI465944B TWI465944B (en) 2014-12-21

Family

ID=46725962

Family Applications (1)

Application Number Title Priority Date Filing Date
TW99142599A TW201224801A (en) 2010-12-07 2010-12-07 Data transmission system and method

Country Status (1)

Country Link
TW (1) TW201224801A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103108021A (en) * 2012-11-09 2013-05-15 许松林 Cloud view long-distance live-action monitoring and POS data management service system
CN103839339A (en) * 2012-11-27 2014-06-04 中国银联股份有限公司 Offline transaction message loading method and offline transaction message uploading system
TWI475401B (en) * 2012-08-01 2015-03-01 Choppa Tech Co Ltd Point of sale device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4688270B2 (en) * 1999-10-13 2011-05-25 株式会社ビジュアルジャパン Network type data transmission system, and server and terminal device in the system
US20070106564A1 (en) * 2005-11-04 2007-05-10 Utiba Pte Ltd. Mobile phone as a point of sale (POS) device
US20080010160A1 (en) * 2006-06-16 2008-01-10 Bridges Thomas L Point of sale specific interface
EP2425341B1 (en) * 2009-05-01 2018-07-11 Citrix Systems, Inc. Systems and methods for establishing a cloud bridge between virtual storage resources

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI475401B (en) * 2012-08-01 2015-03-01 Choppa Tech Co Ltd Point of sale device
CN103108021A (en) * 2012-11-09 2013-05-15 许松林 Cloud view long-distance live-action monitoring and POS data management service system
CN103839339A (en) * 2012-11-27 2014-06-04 中国银联股份有限公司 Offline transaction message loading method and offline transaction message uploading system
CN103839339B (en) * 2012-11-27 2016-03-09 中国银联股份有限公司 A kind of offline transaction message up sending method and offline transaction message up sending system

Also Published As

Publication number Publication date
TWI465944B (en) 2014-12-21

Similar Documents

Publication Publication Date Title
US8484662B2 (en) Systems and/or methods for end-to-end business process management, business event management, and/or business activity monitoring
CN103201755B (en) Method and system for realizing fulfiling management
CN101821710B (en) System, method and graphical user interface for workflow generation, deployment and/or execution
CN102467701B (en) The layout based on event in distributed order orchestration system
CN101821709B (en) For the system of workflow generation, scheduling and/or execution, method and graphic user interface
US20120233085A1 (en) Systems and methods for providing extended shipping options
US8126821B2 (en) Methods and systems for supporting the production of shipping labels
US20080162164A1 (en) Method and system for centralized management of sources of supply
CN105787764A (en) Method And Apparatus For Image Recognition Services
US10318913B2 (en) Methods and systems for supporting the production of shipping labels
KR20190004043A (en) Integrated management method and system of online shopping mall based on API
TW201224801A (en) Data transmission system and method
EP2717210A1 (en) Progress circumstance presentation device, progress circumstance presentation program, computer-readable recording medium whereon progress circumstance presentation program is recorded, and progress circumstance presentation method
JP7153380B1 (en) Traceability management system
US9710799B2 (en) Redemption network with transaction sequencer
EP3633514B1 (en) Data exchange system, data exchange method, and data exchange program
CN110807636A (en) Data processing method and device, electronic equipment and readable storage medium
JP2022164351A (en) Information processing apparatus, rental management program, and rental management method
AU2018280855A1 (en) Multi-standard message processing
US8360310B2 (en) Methods and apparatus for user interface management in point of sale applications
CN102546687A (en) Data transmission system and method
JP5086997B2 (en) Method for supplying data of various data systems to at least one client, and arrangement of devices therefor
JP2011096060A (en) System for managing data related to trade settlement and method for the system
Joshua et al. Omnichannel System Development for Integration with Various Marketplace Using Event-Driven Architecture
JP2002170007A (en) Order system for fresh farm products

Legal Events

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