TWI490797B - Dynamic Setting of Pricing Operation System and Method - Google Patents
Dynamic Setting of Pricing Operation System and Method Download PDFInfo
- Publication number
- TWI490797B TWI490797B TW102122317A TW102122317A TWI490797B TW I490797 B TWI490797 B TW I490797B TW 102122317 A TW102122317 A TW 102122317A TW 102122317 A TW102122317 A TW 102122317A TW I490797 B TWI490797 B TW I490797B
- Authority
- TW
- Taiwan
- Prior art keywords
- data
- rating
- module
- discount
- batch
- Prior art date
Links
Description
本發明系為一種系統與方法,更為一種動態設定之批價運作系統與方法。The present invention is a system and method, and is a dynamically set-up operating system and method.
隨著現今各項電信業務不斷地推陳出新,傳統將訂單批價邏輯寫於死程式碼中之做法已難以應付日趨複雜多變的批價規則。也因此,後續不少批價方法之發明乃改採表單設定方式,將各種批價規則事先設定於表單之中,以降低因業務異動而修改程式、系統更版的機率。例如:「台灣專利I254522:行動網際網路彈性費率管理系統」、「台灣專利PD1627:電信產品網頁資費表動態設計方法」、「台灣專利PD1587:訂單系統批價方法」等專利之發明。前述之發明各有其特色,然其規則設定表內容卻也容易隨不斷新增的業務而快速膨脹,導致日後表格維護的困難;此外,訂單業務上諸多的優惠折扣方案彼此間往往存在著各種優先順序、相依、互斥...等複雜之關係,而現有的批價方法對於這些複雜關係之處理亦未見陳述。基於上述原因,本發明除了具備原動態表單設定之優點外,透過更具彈性之規則表格設計,解決了前述之問題,並且利用反射(Reflection)技術配合資料擷取表,增加了此批價系統之實用性。另外,現行之各種訂單批價方法, 其批價過程基本上僅是在單一主機上運作,一旦遇到該系統出現問題則將使批價功能停擺,進而導致訂單作業失敗,需待排除問題後才能重新受理。本發明之批價方法除可在單一主機上運作外,亦可將功能模組部署於多主機上進行平行處理,除增進效率外,更具備容錯之功能。With the continuous development of various telecommunication services, the traditional practice of writing order pricing logic in dead code has been difficult to cope with the increasingly complex and variable pricing rules. Therefore, the invention of many subsequent pricing methods is to change the form setting method, and set various pricing rules in advance in the form to reduce the chance of modifying the program and system version due to business changes. For example: "Taiwan Patent I254522: Mobile Internet Responsibility Rate Management System", "Taiwan Patent PD1627: Dynamic Design Method for Telecom Product Web Page Fee Table", and "Taiwan Patent PD1587: Order System Pricing Method" and other patents. The foregoing inventions have their own characteristics, but the contents of the rule setting table are also prone to rapid expansion with the newly added business, which leads to difficulty in maintaining the form in the future; in addition, many preferential discount schemes on the order business often exist in various kinds. There are complex relationships such as prioritization, interdependence, mutual exclusion, etc., and the existing pricing methods have not stated the handling of these complex relationships. For the above reasons, in addition to the advantages of the original dynamic form setting, the present invention solves the aforementioned problems through a more flexible rule table design, and uses the reflection technology to cooperate with the data capture table to increase the rating system. Practicality. In addition, the current various order pricing methods, The rating process is basically only operated on a single host. Once the system encounters problems, the rating function will be shut down, which will lead to the failure of the order operation, and the problem can be re-received after the problem is eliminated. In addition to being able to operate on a single host, the pricing method of the present invention can also be deployed on multiple hosts for parallel processing. In addition to improving efficiency, it is more fault-tolerant.
由此可見,上述習用方式仍有諸多缺失,實非一良善之設計,而亟待加以改良。It can be seen that there are still many shortcomings in the above-mentioned methods of use, which is not a good design, but needs to be improved.
本發明首先針對現有訂單業務之各種批價規則進行分析整理,將各業務之批價服務予以歸類,並定義出批價服務與受理業務之關聯性。每次的訂單受理可能包含了數個批價服務,而每一種批價服務則包含了一種或數種會產生費用的批價物件,不同的批價物件上亦產生各自不同之費用項目,而每一個費用項目皆有其計價規則,以及可能的優惠折扣方案。例如:第1圖為新申裝批價服務之批價概念圖,第2圖為受信查詢批價服務之批價概念圖。本發明即根據此一概念設計出相關之批價設定表。The invention firstly analyzes and organizes various rating rules of the existing order business, classifies the rating services of each business, and defines the relevance of the rating service to the acceptance business. Each order acceptance may include several rating services, and each rating service contains one or several rating items that will incur costs, and different rating items also have different cost items. Each expense item has its pricing rules and possible discounts. For example, Figure 1 is a conceptual diagram of the rating of the new application for the rating service, and Figure 2 is a conceptual diagram of the rating of the trusted inquiry pricing service. The present invention designs a related price setting table according to this concept.
本發明之一種動態設定之批價運作系統,係包括:一控制模組,係管理批價流程及工作分派並與外部系統介接;一資料轉換模組,係將該控製模組接受自外部系統之資料轉換成該動態設定之批價運作系統之輸入介面,及將該動態設定之批價運作系統之輸出介面轉換成外部系統之資料;一批價模組,根據批價規則輸出批價結果至該控制模組;一折扣模組,根據折扣規則輸出折扣結果至該控制模組;一資料擷取模組,透過資料擷取表,擷取對應批價規則輸出至該批價模組,擷取對應折扣規則輸出 至該折扣模組;以及一規則引擎,係管理該動態設定之批價運作系統以降低規則散於系統及設定表各處,並提供規則侯選清單之判斷,輸出符合條件之批價規則及折扣規則。The dynamic setting of the batch price operation system of the present invention comprises: a control module, which manages the batch price process and the work distribution and interfaces with the external system; and a data conversion module that accepts the control module from the outside The system data is converted into the input interface of the dynamically set batch operation system, and the output interface of the dynamically set batch operation system is converted into the external system data; the batch price module outputs the price according to the rating rule. The result is to the control module; a discount module outputs the discount result to the control module according to the discount rule; a data capture module outputs the corresponding batch price rule to the rating module through the data capture table , extract the corresponding discount rule output To the discount module; and a rules engine, which manages the dynamic setting of the rating operation system to reduce the rules scattered throughout the system and the setting table, and provides a judgment of the rule candidate list, and outputs the qualifying price rules and Discount rules.
其中,更包含一資料庫,該資料庫係儲存相關批價設定表、資料擷取表、參考互斥設定表以及參考相依設定表,並送入該資料轉換模組、該批價模組、該折扣模組、該資料擷取模組及該規則引擎。The database further includes a database for storing the relevant batch price setting table, the data extraction table, the reference mutual exclusion setting table, and the reference dependent setting table, and feeding the data conversion module, the rating module, The discount module, the data capture module and the rules engine.
本發明一種動態設定之批價運作方法,步驟包含:一控制模組接收來自外部系統之資料後,一資料轉換模組將該資料轉換為一批價資料;一批價模組,根據該批價資料及一規則引擎所提供之批價規則進行批價;一折扣模組,根據該批價資料及該規則引擎所提供之折扣規則進行折扣計算;將批價結果匯整之後再由一資料轉換模組將最終批價資料轉換為輸出介面格式;一規則引擎則提供該批價模組及該折扣模組在處理時所需之批價或折扣規則時,取得規則清單資料,針對清單進行規則條件判斷以及規則間設定關係之處理;一資料擷取模組則負責將批價過程中各模組所需之批價資料內容,擷取資料並回傳給該資料轉換模組、該批價模組、該折扣模組及該規則引擎;以及一資料庫,該資料庫係儲存相關批價設定表、資料擷取表、參考互斥設定表以及參考相依設定表,並送入該資料轉換模組、該批價模組、該折扣模組、該資料擷取模組及該規則引擎。The method for dynamically operating a batch price, the method comprising: after a control module receives data from an external system, a data conversion module converts the data into a batch of price data; and a batch price module, according to the batch The price data and the rating rules provided by a rule engine are priced; a discount module performs discount calculation based on the rating data and the discount rules provided by the rule engine; and the data is aggregated and then The conversion module converts the final price data into an output interface format; a rule engine provides the rating module and the discount module to obtain the rule list data when processing, and obtains the rule list data for the list Rule condition judgment and rule setting relationship processing; a data capture module is responsible for collecting the content of the batch data required by each module in the batch process, and collecting the data and transmitting it back to the data conversion module, the batch a price module, the discount module and the rule engine; and a database for storing relevant batch price setting table, data extraction table, reference mutual exclusion setting table, and reference phase Set the table, and fed to the data conversion module, batch module price, the discount module, the data acquisition module and the rule engine.
其中,該控制模組,步驟如下:接收一外部系統送來之訂單受理資料,判斷處理流程為訂單處理流程或批價處理流程;若為訂單處理流程,呼叫該資料轉換模組進行輸入資料轉換,取得批價資料;根據轉換後之批價資料取得對應之批價服務;將批價服務分派給其他設有動態設定 之批價運作系統之主機;待該設有動態設定之批價運作系統之主機完成批價後,至資料庫取得所有批價結果並進行結果匯整;若該設有動態設定之批價運作系統之主機發生異常則進行異常重做;呼叫該資料轉換模組將資料轉換;送出批價結果;若為批價處理流程則進行,則根據批價服務取得其批價物件;取得批價物件之費用;呼叫該批價模組進行批價計算;該折扣模組進行折扣處理;以及將批價結果寫入該資料庫。The control module has the following steps: receiving an order acceptance data sent by an external system, determining whether the processing flow is an order processing flow or an order processing flow; if the order processing flow, calling the data conversion module to perform input data conversion Obtaining the rating data; obtaining the corresponding rating service based on the converted batch price data; assigning the rating service to other dynamic setting The host of the operating system of the batch price; after the host of the batch-operated system with dynamic setting completes the rating, all the results of the rating are obtained from the database and the results are collected; if the dynamic setting is performed, If the host of the system is abnormal, the device will be redone. The data conversion module is called to convert the data; the batch price result is sent; if it is the batch price processing process, the batch price object is obtained according to the price service; and the price object is obtained. The fee is charged; the rating module is called to perform the rating calculation; the discount module performs the discount processing; and the rating result is written into the database.
其中,該資料轉換模組,步驟如下:當接收到該控制模組所傳來之資料先進行資料類型判斷,若為訂單處理流程則受理訂單資料;判斷資料來源;對輸入之訂單資料轉換;將受理訂單資料轉為動態設定之批價運作系統之批價介面格式;若為批價處理流程則接收批價資料;批價判斷資料來源,並進行輸出資料轉換;以及將批價資料轉為外部系統之介面格式。The data conversion module has the following steps: when receiving the data transmitted by the control module, first performing data type judgment, if the order processing process is, accepting the order data; judging the data source; and converting the input order data; Transfer the acceptance order data to the batch interface format of the dynamically set batch price operation system; if it is the batch price processing process, receive the batch price data; the batch price judges the data source and performs the output data conversion; and converts the batch price data into The interface format of the external system.
其中,該批價模組,步驟如下:根據該控制模組送來之批價資料在相關批價設定表,取得批價規則清單,進行批價;呼叫該規則引擎針對批價規則清單進行檢查及處理;取得確認之批價規則;再取得確認之批價規則之細部設定資訊;判斷批價類型;呼叫該資料擷取模組取得批價所需資料;進行批價運算;以及將計算結果回傳至該控制模組。Wherein, the rating module has the following steps: according to the batch price data sent by the control module, obtain a list of the rating rules in the relevant batch price setting table, and perform the rating; call the rule engine to check the list of the rating rules. And processing; obtaining the confirmation of the approval price rules; obtaining the details of the confirmation of the approval of the approval rules; determining the type of the rating; calling the data acquisition module to obtain the required information for the approval; performing the rating operation; and calculating the result Return to the control module.
其中,該折扣模組,步驟如下:根該據控制模組送來之折扣資料在相關批價設定表取得折扣規則清單,進行折扣計算;呼叫該規則引擎針對折扣規則清單進行條件檢查及處理;取得確認之折扣規則後;再取得確認之折扣規則之細部設定資訊;判斷折扣類型;呼叫該資料擷取模組取得折扣所需資料;進行折扣運算;以及將計算結果回傳至控制模組。The discount module has the following steps: the discount data sent by the control module is obtained in the relevant batch price setting table to obtain a discount rule list, and the discount calculation is performed; the rule engine is called to perform condition checking and processing on the discount rule list; After obtaining the confirmed discount rule; obtaining the detailed information of the confirmed discount rule; determining the type of the discount; calling the data acquisition module to obtain the information required for the discount; performing the discount calculation; and transmitting the calculation result back to the control module.
其中,該資料擷取模組,步驟如下:根據送來之資料,檢查確認資料擷取規則;參考相關批價設定表取得擷取規則之相關設定資訊;判斷資料之來源;取得相關輸入參數資訊;至各資料來源進行資料擷取;以及傳回資料擷取之資料。The data capture module is as follows: according to the sent data, check and confirm the data capture rules; refer to the relevant batch price setting table to obtain the relevant setting information of the capture rule; determine the source of the data; obtain relevant input parameter information ; to access data from various sources; and to return information obtained from the data.
其中,該規則引擎,步驟如下:接收該批價模組或該折扣模組送來之規則清單;針對規則清單內之規則依其設定之順序逐一進行判斷;取得規則之所有定義資訊;再取得其規則條件判斷資料;進行條件之運算判斷;判斷規則是否符合條件;若規則符合條件,參考互斥設定表,將互斥之優惠折扣設定去除;若規則不符合條件,參考相依設定表,將相依之優惠折扣設定去除;檢查是否有未辦斷之規則,若有未判斷之規則,即重復上述之規則依其設定之順序逐一進行判斷;以及若無未判斷之條件則輸出符合條件之規則清單。The rule engine has the following steps: receiving the list of rules sent by the rating module or the discount module; determining the rules in the rule list one by one according to the set order; obtaining all definition information of the rules; The rule condition judgment data; judge the condition calculation; judge whether the rule meets the condition; if the rule meets the condition, refer to the mutual exclusion setting table, and remove the mutually exclusive preferential discount setting; if the rule does not meet the condition, refer to the dependency setting table, The preferential discounts are set to be removed; check whether there are unresolved rules. If there are undetermined rules, repeat the above rules in the order they are set; and if there are no unqualified conditions, output the rules that meet the conditions. List.
本發明之一種動態設定之批價運作系統及方法,較其他習用技術更具備下列優點:The dynamic setting pricing operation system and method of the present invention has the following advantages over other conventional technologies:
1.傳統批價方式多為單一主機運作,若系統出現問題則使批價功能停擺,進而導致訂單作業失敗,需再重新受理。本系統之設計除可在單一主機上運作外,亦可將功能模組部署於多主機上進行平行處理,除增進效率外,更具備容錯之功能。1. The traditional rating method is mostly a single host operation. If there is a problem in the system, the rating function will be shut down, which will lead to the failure of the order operation and need to be re-received. In addition to being able to operate on a single host, the system can also be deployed on multiple hosts for parallel processing. In addition to improving efficiency, it is more fault-tolerant.
2.現有表單設定規則做法,表格內容往往容易因業務規則不斷推陳出新而快速擴增,導致日後管理維護困難。本發明利用規則條件代碼、邏輯判斷指令群以及判斷項目之表單設計,將條件項目自規則中再抽離,可使複雜多樣的批價規則條件利用新增或套用相 同條件之代碼進行設定,提高了重覆使用率,大大降低規則設定表內容擴增的速度。2. The existing form setting rules practice, the content of the form is often easily expanded due to the continuous innovation of business rules, resulting in difficulties in management and maintenance in the future. The invention utilizes the rule condition code, the logic judgment instruction group and the form design of the judgment item, and extracts the condition item from the rule, so that the complicated and diverse price rule condition can be utilized to add or apply the phase. The setting of the same condition code improves the repeated usage rate and greatly reduces the speed of the content of the rule setting table.
3.電信業務競爭激烈,各種優惠折扣方案亦日趨複雜,本發明透過獨立之規則條件設定,並利用規則相依及互斥表格之設計,可輕易地針對各種計價方式、優惠折扣方案之優先順序、相依、互斥...等等各種關係進行設定及管理,較現有之批價方法更具彈性,更易滿足現有複雜之批價業務需求。3. The telecommunications business is fiercely competitive, and various preferential discount schemes are becoming more and more complicated. The present invention can be easily set up for various pricing methods and preferential discount schemes through independent rule conditions and using rule-dependent and mutually exclusive forms. Dependency, mutual exclusion, and so on, the various relationships are set and managed, which is more flexible than the existing pricing method, and is easier to meet the existing complex pricing business needs.
4.本發明使用反射(Reflection)技術並配合資料擷取表之設計,使得批價所需之任何屬性資料不需儲存於本系統,僅需在擷取表中新增一來源定義或重覆引用相同設定即可。資料來源可為本地記憶體、資料庫表格、內部模組、外部系統...等等,批價時根據設定之擷取代碼動態呼叫對應之擷取設定以取得資料,如此一來,批價資料可配合各產品、資源...等系統其管理之需要分散儲存,大大降低了批價系統使用之限制,因而更具實用性。4. The present invention uses the reflection technique and cooperates with the design of the data acquisition table so that any attribute data required for the price is not stored in the system, and only one source definition or repetition is added to the extraction table. Quote the same settings. The data source can be local memory, database table, internal module, external system, etc., at the time of rating, according to the set, the dynamic call corresponding to the code is used to obtain the data, so that the price is obtained. The data can be distributed with the management of various products, resources, etc., which greatly reduces the restrictions on the use of the pricing system, and thus is more practical.
上列詳細說明係針對本發明之一可行實施例之具體說明,惟該實施例並非用以限制本發明之專利範圍,凡未脫離本發明技藝精神所為之等效實施或變更,均應包含於本案之專利範圍中。The detailed description of the preferred embodiments of the present invention is intended to be limited to the scope of the invention, and is not intended to limit the scope of the invention. The patent scope of this case.
綜上所述,本案不但在空間型態上確屬創新,並能較習用物品增進上述多項功效,應已充分符合新穎性及進步性之法定發明專利要件,爰依法提出申請,懇請 貴局核准本件發明專利申請案,以勵發明,至感德便。In summary, this case is not only innovative in terms of space type, but also can enhance the above-mentioned multiple functions compared with the customary items. It should fully meet the statutory invention patent requirements of novelty and progressiveness, and apply for it according to law. This invention patent application, in order to invent invention, to the sense of virtue.
1100‧‧‧控制模組1100‧‧‧Control Module
1200‧‧‧資料轉換模組1200‧‧‧Data Conversion Module
1300‧‧‧批價模組1300‧‧‧ rating module
1400‧‧‧折扣模組1400‧‧ Discount Module
1500‧‧‧資料擷取模組1500‧‧‧ data capture module
1600‧‧‧規則引擎1600‧‧‧Rules Engine
2000‧‧‧外部系統2000‧‧‧External system
5000‧‧‧資料庫5000‧‧‧Database
5100‧‧‧相關批價設定表5100‧‧‧ Related rating list
5200‧‧‧資料擷取表5200‧‧‧Information Acquisition Form
5300‧‧‧互斥設定表5300‧‧‧ Mutual exclusion setting table
5400‧‧‧相依設定表5400‧‧‧Dependency setting table
S601~S609‧‧‧流程步驟S601~S609‧‧‧ Process steps
S701~S708‧‧‧流程步驟S701~S708‧‧‧Process steps
S801~S808‧‧‧流程步驟S801~S808‧‧‧ Process steps
S901~S906‧‧‧流程步驟S901~S906‧‧‧ Process steps
S1001~S1010‧‧‧流程步驟S1001~S1010‧‧‧ Process steps
第1圖為新申裝批價服務之批價概念圖。Figure 1 is a conceptual diagram of the rating of the new application for the rating service.
第2圖為受信查詢批價服務之批價概念圖。Figure 2 is a conceptual diagram of the rating of the trusted inquiry rating service.
第3圖為本發明之一種動態設定之批價運作系統之架構圖。Figure 3 is a block diagram of a dynamically set pricing operation system of the present invention.
第4圖為本發明之一種動態設定之批價運作系統之架構圖。Figure 4 is a block diagram of a dynamic set pricing operation system of the present invention.
第5圖為本發明之一種動態設定之批價運作方法之控制模組流程圖。FIG. 5 is a flow chart of a control module of a dynamically set batch operation method according to the present invention.
第6圖為本發明之一種動態設定之批價運作方法之資料轉換模組流程圖。FIG. 6 is a flow chart of a data conversion module of a dynamically set batch price operation method according to the present invention.
第7圖為本發明之一種動態設定之批價運作方法之批價模組流程圖。Figure 7 is a flow chart of the rating module of the dynamically set batch price operation method of the present invention.
第8圖為本發明之一種動態設定之批價運作方法之折扣模組流程圖。FIG. 8 is a flow chart of a discount module of a dynamically set batch operation method according to the present invention.
第9圖為本發明之一種動態設定之批價運作方法之資料擷取模組流程圖。FIG. 9 is a flow chart of a data acquisition module of a dynamically set batch price operation method according to the present invention.
第10圖為本發明之一種動態設定之批價運作方法之規則引擎流程圖。FIG. 10 is a flow chart of a rule engine of a dynamically set batch operation method according to the present invention.
第11圖為本發明之一種動態設定之批價運作系統之實際操作流程圖。Figure 11 is a flow chart showing the actual operation of a dynamically set batch operation system of the present invention.
為利 貴審查委員了解本發明之技術特徵、內容與優點及其所能達到之功效,茲將本發明配合附圖,並以實施例之表達形式詳細說明如下,而其中所使用之圖式,其主旨僅為示意及輔助說明書之用,未必為本發明實施後之真實比例與精準配置,故不應就所附之圖式的比例與配置關係解讀、侷限本發明於實際實施上的權利範圍,合先敘明。The technical features, contents, and advantages of the present invention, as well as the advantages thereof, can be understood by the reviewing committee, and the present invention will be described in detail with reference to the accompanying drawings. The subject matter is only for the purpose of illustration and description. It is not intended to be a true proportion and precise configuration after the implementation of the present invention. Therefore, the scope and configuration relationship of the attached drawings should not be interpreted or limited. First described.
請參閱第3圖,為本發明之一種動態設定之批價運作系統之架構圖,請參閱第4圖,為本發明之一種動態設定之批價運作系統之架構圖,其中包含:控制模組1100、資料轉換模組1200、批價模組1300、折扣模組1400、資料擷取模組1500以及規則引擎1600。當控制模組1100在接收到來自外部系統2000之訂單資料之後,將資料交由資料轉換模組1200先轉換為統一的批價資料內容,而後將此受理批價內容對應出相關之批價服務,透過JMS(Java Message Service)非同步機制將批價服務分派至設有本發明之動態設定之批價運作系統之主機進行批價處理。當任一主機的動態設定之批價運作系統之批價控制模組1100接收到批價服務後,將欲處理之批價服務送至批價模組1300進行批價,之後再送至折扣模組1400進行優惠折扣計算,並將各批價服務產生之費用資料寫入資料庫5000。最後,上述分派批價服務之主機再至資料庫5000中取得各批價服務之主機所產生之批價結果,匯整之後再由該資料轉換模組1200將最終批價資料轉換為輸出介面格式。其中,批價模組1300及折扣模組1400在處理時所需之批價規則及折扣規則係由規則引擎1600提供。其中,規則引擎1600透過存於資料庫5000中之相關批價設定表5100取得規則清單資料,針對規則清單資料進行判斷。其中,資料擷取模組1500則負責將批價過程中各模組所需之批價資料內容,透過資料擷取表5200之定義從各來源取得並回傳給各模組。Please refer to FIG. 3 , which is a structural diagram of a dynamic setting pricing operation system according to the present invention. Please refer to FIG. 4 , which is a structural diagram of a dynamic setting pricing operation system of the present invention, which includes: a control module. 1100. The data conversion module 1200, the rating module 1300, the discount module 1400, the data capturing module 1500, and the rules engine 1600. After receiving the order data from the external system 2000, the control module 1100 converts the data to the unified rating data content by the data conversion module 1200, and then correspondingly accepts the rating content corresponding to the relevant rating service. The rating service is distributed to the host having the dynamic setting of the pricing operation system of the present invention through the JMS (Java Message Service) asynchronous mechanism for batch processing. After the batch price control module 1100 of the batch setting operation system of the dynamic setting of any host receives the rating service, the batch price service to be processed is sent to the rating module 1300 for pricing, and then sent to the discount module. The 1400 performs a discount calculation and writes the fee data generated by each rating service into the database 5000. Finally, the host that assigns the rating service to the database 5000 obtains the rating result generated by the host of each rating service, and then the data conversion module 1200 converts the final rating data into an output interface format. . The rating rules and discount rules required by the rating module 1300 and the discount module 1400 are provided by the rules engine 1600. The rule engine 1600 obtains the rule list data through the related batch price setting table 5100 stored in the database 5000, and determines the rule list data. The data capture module 1500 is responsible for obtaining the content of the batch data required for each module in the batch price process from each source and returning it to each module through the definition of the data capture table 5200.
請參閱第5圖,為本發明之一種動態設定之批價運作方法之控制模組1100流程圖,步驟如下: S501:接收外部系統2000送來之訂單受理資料,判斷處理流程為訂單處理流程或批價處理流程;S502:若為訂單處理流程,呼叫資料轉換模組1200進行輸入資料轉換,取得批價資料;S503:然後根據轉換後之批價資料取得對應之批價服務;S504:將批價服務分派給各個批價主機;S505:待各批價主機完成批價後,至資料庫5000取得所有批價結果並進行結果匯整;S506:若有批價主機處理發生異常則進行異常重做;S507:再呼叫資料轉換模組1200將資料轉換;S508:最後送出批價結果;若為批價處理流程則進行S509之步驟:S509:接收分派主機送來之批價服務,根據批價服務取得其批價物件;S510:取得批價物件之費用,S511:並呼叫批價模組1300進行批價計算;S512:折扣模組1400進行折扣處理;以及S513:將批價結果寫入資料庫5000。Please refer to FIG. 5 , which is a flow chart of a control module 1100 for dynamically setting the price operation method according to the present invention. The steps are as follows: S501: receiving the order acceptance data sent by the external system 2000, determining that the processing flow is an order processing flow or a batch processing flow; S502: if it is an order processing flow, the call data conversion module 1200 performs input data conversion to obtain the batch price data; S503: Then obtaining the corresponding batch price service according to the converted batch price data; S504: assigning the rating service to each batch price host; S505: after the batch price host completes the approval price, obtaining all the batch prices in the database 5000 The result is performed and the result is summarized; S506: if there is an abnormality in the processing of the batch host, the abnormal redo is performed; S507: the call data conversion module 1200 converts the data; S508: finally sends the rating result; if it is the batch processing flow Then, the step of S509 is performed: S509: receiving the rating service sent by the dispatching host, obtaining the rating object according to the rating service; S510: obtaining the fee of the rating object, S511: and calling the rating module 1300 for the rating calculation S512: the discount module 1400 performs discount processing; and S513: writes the batch result to the database 5000.
請參閱第6圖,為本發明之一種動態設定之批價運作方法之資料轉換模組1200流程圖,步驟如下:S601:當接收到控制模組1100所傳來之資料先進行資料類型判斷,若為訂單處理流程則進行S602之步驟;S602:受理訂單資料; S603:判斷資料來源;S604:對輸入之訂單資料轉換;S605:將受理訂單資料轉為動態設定之批價運作系統之批價介面格式;S606:若為批價處理流程則接收批價資料;S607:批價判斷資料來源,S608:並進行輸出資料轉換;以及S609:將批價資料轉為外部系統之介面格式。Please refer to FIG. 6 , which is a flow chart of a data conversion module 1200 for dynamically setting the price operation method of the present invention. The steps are as follows: S601: When receiving the data transmitted by the control module 1100, the data type is first determined. If it is the order processing flow, the step of S602 is performed; S602: accepting the order data; S603: judging the source of the data; S604: converting the input order data; S605: converting the acceptance order data into a batch interface format of the dynamically set batch price operation system; S606: receiving the rating data if the batch processing process is performed; S607: the source of the batch judgment data, S608: and the output data conversion; and S609: the format of the batch data into the interface of the external system.
請參閱第7圖,為本發明之一種動態設定之批價運作方法之批價模組1300流程圖,步驟如下:S701:根據控制模組1100送來之批價資料在相關批價設定表5100,取得批價規則清單,進行批價;S702:呼叫規則引擎1600針對批價規則清單進行檢查及處理;S703:取得確認之批價規則;S704:再取得確認之批價規則之細部設定資訊;S705:判斷批價類型;S706:呼叫資料擷取模組1500取得批價所需資料;S707:進行批價運算;以及S708:將計算結果回傳至控制模組1100。Please refer to FIG. 7 , which is a flow chart of a batch pricing module 1300 of a dynamically set batch price operation method according to the present invention. The steps are as follows: S701 : According to the batch price data sent by the control module 1100 in the relevant batch price setting table 5100 Obtaining a list of the rating rules and performing the rating; S702: the calling rule engine 1600 checks and processes the list of the rating rules; S703: obtains the rating rule of the confirmation; and S704: obtains the detailed setting information of the rating rules of the confirmation; S705: determining the rating type; S706: the call data capturing module 1500 obtains the required data of the rating; S707: performing the rating operation; and S708: transmitting the calculation result to the control module 1100.
請參閱第8圖,為本發明之一種動態設定之批價運作方法之折扣模組1400流程圖,步驟如下:S801:根據控制模組1100送來之折扣資料在相關批價設定表5100取得折扣規則清單,進行折扣計算; S802:呼叫規則引擎1600針對折扣規則清單進行條件檢查及處理;S803:取得確認之折扣規則後;S804:再取得確認之折扣規則之細部設定資訊;S805:判斷折扣類型;S806:呼叫資料擷取模組1500取得折扣所需資料;S807:進行折扣運算;以及S808:將計算結果回傳至控制模組1100。Please refer to FIG. 8 , which is a flow chart of a discount module 1400 for dynamically setting the price operation method according to the present invention. The steps are as follows: S801: According to the discount data sent by the control module 1100, the discount is obtained in the relevant price setting table 5100. a list of rules for discount calculations; S802: The call rule engine 1600 performs condition checking and processing on the discount rule list; S803: after obtaining the confirmed discount rule; S804: re-acquiring the detailed setting information of the confirmed discount rule; S805: determining the discount type; S806: calling the data capture The module 1500 obtains the information required for the discount; S807: performs a discount operation; and S808: transmits the calculation result back to the control module 1100.
請參閱第9圖,為本發明之一種動態設定之批價運作方法之資料擷取模組1500流程圖,步驟如下:S901:根據送來之資料,檢查確認資料擷取規則;S902:參考相關批價設定表5100取得擷取規則之相關設定資訊;S903:判斷資料之來源;S904:取得相關輸入參數資訊;S905:至各資料來源(例如:資料庫5000、內部其它模組、外部系統介面等)進行資料擷取;以及S906:傳回資料擷取之資料。Please refer to FIG. 9 , which is a flow chart of the data capture module 1500 of the dynamically set batch price operation method according to the present invention. The steps are as follows: S901: check the confirmation data acquisition rule according to the sent data; S902: reference correlation The rating setting table 5100 obtains relevant setting information of the capturing rule; S903: judges the source of the data; S904: obtains relevant input parameter information; S905: to each data source (for example: database 5000, other internal modules, external system interface) Etc.) to perform data capture; and S906: to return information retrieved.
請參閱第10圖,為本發明之一種動態設定之批價運作方法之規則引擎1600流程圖,步驟如下:S1001:接收批價模組1300或折扣模組1400送來之規則清單;S1002:針對規則清單內之規則依其設定之順序逐一進行判斷;S1003:取得規則之所有定義資訊;S1004:再取得其規則條件判斷資料; S1005:進行條件之運算判斷;S1006:判斷規則是否符合條件;S1007:若規則符合條件,參考互斥設定表5300,將互斥之優惠折扣設定去除;S1008:若規則不符合條件,參考相依設定表5400,將相依之優惠折扣設定去除;S1009:檢查是否有未辦斷之規則,若有未判斷之規則,即重復上述S1002之步驟;以及S1010:若無未判斷之條件則輸出符合條件之規則清單。Please refer to FIG. 10 , which is a flow chart of a rule engine 1600 for dynamically setting the price operation method of the present invention. The steps are as follows: S1001: receiving a list of rules sent by the rating module 1300 or the discount module 1400; S1002: The rules in the rule list are judged one by one according to the order in which they are set; S1003: obtain all definition information of the rules; S1004: obtain the rule condition judgment data again; S1005: performing condition calculation judgment; S1006: judging whether the rule meets the condition; S1007: if the rule meets the condition, refer to the mutual exclusion setting table 5300, and remove the mutually exclusive preferential discount setting; S1008: if the rule does not meet the condition, refer to the dependent setting Table 5400, the dependent preferential discount setting is removed; S1009: checking whether there is an uninterrupted rule, if there is an undetermined rule, repeating the steps of S1002 above; and S1010: if there is no undetermined condition, outputting the qualified condition List of rules.
請參閱第11圖,為本發明之一種動態設定之批價運作系統之實際操作流程圖,步驟如下:批價系統透過控制模組1100將外部系統送來新申裝+購機之受理資料交由資料轉換模組1200進行轉換,取得統一規格之批價輸入資訊(例如:申請事項、申裝種類、客戶資訊...等)。而後控制模組1100參考相關批價設定表5100將轉換後之批價資料進行處理,對應出「新申裝批價服務」及「購機批價服務」,此時控制模組將此兩種批價服務利用JMS非同步機制,把服務物件送至其它兩部批價主機之訊息佇列(Message Queue)中,等待進行批價處理。Please refer to FIG. 11 , which is a flow chart of the actual operation of the dynamically set batch price operation system according to the present invention. The steps are as follows: the rating system sends the external system to the external system through the control module 1100 to receive the acceptance data of the new application + purchase machine. The data conversion module 1200 performs conversion to obtain batch input information (for example, application items, application types, customer information, etc.) of a unified specification. Then, the control module 1100 refers to the relevant price setting table 5100 to process the converted batch price data, corresponding to the "new application rating service" and the "purchase rating service". At this time, the control module applies the two kinds of pricing. The service uses the JMS asynchronous mechanism to send the service object to the message queue of the other two batch hosts, waiting for the price to be processed.
收到批價服務之批價主機透過訊息事件的觸發啟動批價程序,兩主機之控制模組1100分別讀取佇列中之批價服務,並參考相關批價設定表5100得到其批價服務所屬之批價物件與其費用項目,例如:新申裝服務將取得申請事項、門號及優惠之批價物件,申請事項物件則包含保證金,門號物件則包含選號費,優惠物件則包含預繳費用,而購機服務則取 得話機物件,話機物件則包含購機費用。最後再將結果傳給批價模組1200。The rating host receiving the rating service starts the rating procedure by triggering the message event, and the control modules 1100 of the two hosts respectively read the rating service in the queue, and obtain the rating service by referring to the relevant rating setting table 5100. The assigned items and their expense items, for example, the new application service will obtain the application items, the door number and the discounted items, the application items will include the deposit, the door number will include the selection fee, and the preferential items will include the prepayment. Cost, while the purchase service is taken The phone object, the phone object contains the purchase cost. Finally, the result is passed to the rating module 1200.
批價模組1300將費用項資料傳給規則引擎1600,而規則引擎1600則逐一取得各費用項所設定之批價規則清單,並進行條件判斷篩選,最後將適用之規則回傳批價模組1300。批價模組1300再根據篩選後之規則參考相關設定表進行批價處理。以下用表1及表2作為保證金費用之設定範例進行說明:
控制模組1100再將資料傳給折扣模組1400以進行優惠折扣之處理。折扣模組1400呼叫規則引擎1600取得適用於各費用項之折扣設定。以下用表3~表6,作為優惠預繳費用及購機費用之折扣設定範例進行說明:
分派服務之批價主機透過控制模組1100定時至資料庫讀取各批價服務之處理結果,若皆已處理完畢則匯整為最終之批價結果資訊,再呼叫資料轉換模組1200轉為外部之輸出介面。假若有逾時未處理完成之批價服務,則進行異常處理程序,將該批價服務重新進行批價。The rating host of the dispatching service reads the processing result of each batch price service through the control module 1100 to the database, and if it has been processed, it is merged into the final batch price result information, and then the call data conversion module 1200 is converted into External output interface. If there is a batch service that has not been processed for the timeout, an exception handling procedure is performed to re-price the rating service.
上述之實施案例僅為舉例性之具體說明,而非為限制本發明之範圍,凡任何對其進行之等效修改或變更者,皆未脫離本發明之精神與範疇,均應包含於本案專利範圍中。The above-mentioned embodiments are intended to be illustrative only and not to limit the scope of the present invention. Any equivalent modifications and changes thereto are not included in the spirit and scope of the present invention. In the scope.
1100‧‧‧控制模組1100‧‧‧Control Module
1200‧‧‧資料轉換模組1200‧‧‧Data Conversion Module
1300‧‧‧批價模組1300‧‧‧ rating module
1400‧‧‧折扣模組1400‧‧ Discount Module
1500‧‧‧資料擷取模組1500‧‧‧ data capture module
1600‧‧‧規則引擎1600‧‧‧Rules Engine
2000‧‧‧外部系統2000‧‧‧External system
5000‧‧‧資料庫5000‧‧‧Database
5100‧‧‧相關批價設定表5100‧‧‧ Related rating list
5200‧‧‧資料擷取表5200‧‧‧Information Acquisition Form
5300‧‧‧互斥設定表5300‧‧‧ Mutual exclusion setting table
5400‧‧‧相依設定表5400‧‧‧Dependency setting table
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW102122317A TWI490797B (en) | 2013-06-24 | 2013-06-24 | Dynamic Setting of Pricing Operation System and Method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW102122317A TWI490797B (en) | 2013-06-24 | 2013-06-24 | Dynamic Setting of Pricing Operation System and Method |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201501049A TW201501049A (en) | 2015-01-01 |
TWI490797B true TWI490797B (en) | 2015-07-01 |
Family
ID=52717991
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW102122317A TWI490797B (en) | 2013-06-24 | 2013-06-24 | Dynamic Setting of Pricing Operation System and Method |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI490797B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020103755A1 (en) * | 2001-01-31 | 2002-08-01 | Chris Jorgensen | Pass-through billing system |
TW200907834A (en) * | 2007-08-09 | 2009-02-16 | Chunghwa Telecom Co Ltd | High-speed billing notation system of enormous call details and its method |
US20120078781A1 (en) * | 2010-09-27 | 2012-03-29 | Bank Of America Corporation | Automatic Bill-Pay Setup |
-
2013
- 2013-06-24 TW TW102122317A patent/TWI490797B/en not_active IP Right Cessation
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020103755A1 (en) * | 2001-01-31 | 2002-08-01 | Chris Jorgensen | Pass-through billing system |
TW200907834A (en) * | 2007-08-09 | 2009-02-16 | Chunghwa Telecom Co Ltd | High-speed billing notation system of enormous call details and its method |
US20120078781A1 (en) * | 2010-09-27 | 2012-03-29 | Bank Of America Corporation | Automatic Bill-Pay Setup |
Also Published As
Publication number | Publication date |
---|---|
TW201501049A (en) | 2015-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102542367B (en) | Cloud computing network workflow processing method, device and system based on domain model | |
CN104378341B (en) | Template acquisition methods, template provider method, Apparatus and system | |
US7505962B2 (en) | Rating and settlements engine | |
US9996888B2 (en) | Obtaining software asset insight by analyzing collected metrics using analytic services | |
TW201800994A (en) | Resource processing method and device | |
WO2016101811A1 (en) | Information arrangement method and apparatus | |
TWI720519B (en) | Amount settlement system and method | |
US9298780B1 (en) | Method and system for managing user contributed data extraction templates using weighted ranking score analysis | |
TW201828200A (en) | Data processing method and apparatus increasing the overall display efficiency of the object display environment and decreasing the waste of display resources of each object display environment | |
CN116302487A (en) | DOMA-based data center system and construction method | |
CN110213071A (en) | Verification of data method, apparatus, system, computer equipment and storage medium | |
US20150221043A1 (en) | Method and system for providing global ready financial applications | |
TW201832176A (en) | Method for obtaining logistics document information, and related device | |
US20110106712A1 (en) | Cost-Aware Service Aggregation | |
US20220156173A1 (en) | System and method for assessing performance of software release | |
CN109345249A (en) | A kind of payment fail processing method and device | |
TWI490797B (en) | Dynamic Setting of Pricing Operation System and Method | |
CN111127224B (en) | Information processing method, information processing device, electronic equipment and storage medium | |
CN110662188B (en) | Charging method and system | |
US20230130752A1 (en) | System and method for optimizing platform conversion through dynamic management of capacity in an ecommerce environment | |
Hartner et al. | Differentiating Industrial Internet of Things platforms from a value network-oriented perspective | |
JP2018010415A (en) | Service management system, method, and computer program | |
CN107784062A (en) | Product data processing system and method | |
CN110245170B (en) | Data processing method and system | |
US11521274B2 (en) | Cost allocation estimation using direct cost vectors and machine learning |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MM4A | Annulment or lapse of patent due to non-payment of fees |