TW201636910A - Two-dimensional difference apportioning balance module - Google Patents

Two-dimensional difference apportioning balance module Download PDF

Info

Publication number
TW201636910A
TW201636910A TW104111871A TW104111871A TW201636910A TW 201636910 A TW201636910 A TW 201636910A TW 104111871 A TW104111871 A TW 104111871A TW 104111871 A TW104111871 A TW 104111871A TW 201636910 A TW201636910 A TW 201636910A
Authority
TW
Taiwan
Prior art keywords
apportioned
apportioning
balance
balancing
tail difference
Prior art date
Application number
TW104111871A
Other languages
Chinese (zh)
Inventor
Chih-Hsin Hsieh
Original Assignee
Chunghwa Telecom Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chunghwa Telecom Co Ltd filed Critical Chunghwa Telecom Co Ltd
Priority to TW104111871A priority Critical patent/TW201636910A/en
Publication of TW201636910A publication Critical patent/TW201636910A/en

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A two-dimensional difference apportioning balance module comprises an apportioning group definition element, an apportioning formula definition element, and an apportioning and balancing element. The apportioning group definition element is configured to identify apportioned figures, apportioned items, and relationships thereof. The apportioning formula definition element stores information of all apportioning formulas and the apportioning and balancing element is used to achieve difference balance and also handle sum balance.

Description

二維分攤尾差平衡模組 Two-dimensional approximation of the tail difference balance module

本發明係關於一種二維分攤尾差平衡模組,特別是關於一種依不同的分攤選擇最適用演算法以進行尾差平衡之二維分攤尾差平衡模組。 The invention relates to a two-dimensional approximating tail difference balancing module, in particular to a two-dimensional approximating tail difference balancing module which selects the most suitable algorithm according to different allocations to perform tail difference balancing.

目前,會計系統常因業務需求進行分攤,而因小數位數需求如整數(元)或小數二位(角分)而需進行分攤後的尾差平衡。有時需進行二維分攤,例如工程決算要轉列為財產時,需將相關成本費用分攤予多筆財產,各項成本費用分攤到各財產時到小數二位,但最後各財產的金額卻要整數,此時在成本費用分攤後需達成尾差平衡,最後財產合計數也會和工程決算總數有尾差需進行平衡。 At present, the accounting system is often apportioned due to business needs, and the balance of the tail difference needs to be apportioned because the number of decimal places is such as an integer (yuan) or a decimal number (corner). Sometimes it is necessary to carry out two-dimensional apportionment. For example, when the project final account is to be transferred to property, the relevant cost and expenses must be distributed to multiple properties. The cost and expenses are distributed to each property to the decimal place, but the final amount of each property. However, an integer is required. At this time, the balance of the tail difference needs to be reached after the cost and expenses are allocated. Finally, the balance of the property and the total number of the final accounts of the project need to be balanced.

數值分攤主要是由被分攤數、分攤項目與分攤公式組成,依據分攤公式取得相對應的分攤因子進行分攤;而分攤數有小數位數需求(例如取到整數位),此時分攤數合計便會與被分攤數有尾差產生,尾差數則須調整到某一分攤數以求平衡。 The numerical apportionment is mainly composed of the number of apportioned, the apportioned project and the apportionment formula, and the corresponding apportionment factor is obtained according to the apportionment formula; and the apportionment number has a decimal place requirement (for example, an integer number is taken), and the apportionment number is totaled at this time. There will be a tail difference with the number of points to be apportioned, and the number of tail differences must be adjusted to a certain number of points to balance.

有鑑於上述習知技藝之問題,本發明之目的就是在提供一種二維分攤尾差平衡模組。分攤群定義元件記錄被分攤數與分攤項目;分攤公式定義元件記錄被分攤數所對應的分攤公式;分攤暨平衡元件根據被分攤數、分攤項目以及分攤公式執行分攤處理程序,並於完成分攤處理程序後執行尾差平衡程序。 In view of the above-mentioned problems of the prior art, it is an object of the present invention to provide a two-dimensional distribution tail difference balancing module. The distribution group defines the component records to be allocated and the apportionment item; the apportionment formula defines the apportionment formula corresponding to the number of the component records; the apportionment and balance component executes the apportionment process according to the number of shares, the apportionment project, and the apportionment formula, and completes the apportionment process The tail balance program is executed after the program.

承上所述,依本發明之二維分攤尾差平衡模組,其可具有一或多個下述優點: As described above, the two-dimensional approximation of the tail difference balancing module according to the present invention may have one or more of the following advantages:

1.本發明可達成分攤群的尾差平衡,且能夠平衡分攤後的尾差數。 1. The invention can reach the balance of the tail difference of the component group, and can balance the number of tail differences after the sharing.

2.本發明可提供多種尾差平衡演算法供選,可依該次分攤的選擇最適用之演算法以進行尾差平衡。 2. The present invention can provide a variety of tail difference balancing algorithms for selection, and the most suitable algorithm can be selected according to the allocation to perform tail difference balancing.

100‧‧‧被分攤數 100‧‧‧Assessed

C1‧‧‧被分攤數 C1‧‧‧ number of shares

C2‧‧‧被分攤數 C2‧‧‧ number of shares

C3‧‧‧被分攤數 C3‧‧‧Assessed

3000‧‧‧被分攤數 3000‧‧‧Assessed

3001‧‧‧被分攤數 3001‧‧‧Assessed

3002‧‧‧被分攤數 3002‧‧‧Assessed

110‧‧‧分攤公式 110‧‧ ‧ apportion formula

3200‧‧‧分攤公式 3200‧‧ ‧ apportion formula

3201‧‧‧分攤公式 3201‧‧ ‧ apportion formula

3202‧‧‧分攤公式 3202‧‧ ‧ apportion formula

111‧‧‧分攤因子 111‧‧‧Assessing factor

112‧‧‧分攤因子 112‧‧‧scoring factors

113‧‧‧分攤因子 113‧‧‧scoring factors

120‧‧‧分攤數 120‧‧ ‧ apportion

130‧‧‧分攤數 130‧‧‧ counts

140‧‧‧分攤數 140‧‧‧ counts

150‧‧‧尾差數 150‧‧‧ tail difference

D1‧‧‧尾差數 D1‧‧‧ tail difference

D2‧‧‧尾差數 D2‧‧‧ tail difference

D3‧‧‧尾差數 D3‧‧‧ tail difference

DSumC‧‧‧尾差數 DSumC‧‧‧ difference

Dsum‧‧‧尾差數 Dsum‧‧‧ tail difference

SumR1‧‧‧分攤數合計 SumR1‧‧‧ total number of points

SumR2‧‧‧分攤數合計 SumR2‧‧‧ total number of points

SumR3‧‧‧分攤數合計 SumR3‧‧‧ total number of points

R1‧‧‧分攤項目 R1‧‧‧ apportioned project

R2‧‧‧分攤項目 R2‧‧‧ apportioned project

R3‧‧‧分攤項目 R3‧‧‧ apportioned project

C1R1‧‧‧分攤數 C1R1‧‧‧ apportionment

C2R1‧‧‧分攤數 C2R1‧‧‧ apportionment

C3R1‧‧‧分攤數 C3R1‧‧‧ apportionment

C1R2‧‧‧分攤數 C1R2‧‧‧ counts

C2R2‧‧‧分攤數 C2R2‧‧‧ counts

C3R2‧‧‧分攤數 C3R2‧‧‧ apportionment

C1R3‧‧‧分攤數 C1R3‧‧‧ counts

C2R3‧‧‧分攤數 C2R3‧‧‧ counts

C3R3‧‧‧分攤數 C3R3‧‧‧ apportionment

IC1R1‧‧‧分攤數 IC1R1‧‧‧ apportionment

IC2R1‧‧‧分攤數 IC2R1‧‧‧ apportionment

IC3R1‧‧‧分攤數 IC3R1‧‧‧ apportionment

IC1R2‧‧‧分攤數 IC1R2‧‧‧ apportionment

IC2R2‧‧‧分攤數 IC2R2‧‧‧ number of shares

IC3R2‧‧‧分攤數 IC3R2‧‧‧ apportionment

IC1R3‧‧‧分攤數 IC1R3‧‧‧ apportionment

IC2R3‧‧‧分攤數 IC2R3‧‧‧ apportionment

IC3R3‧‧‧分攤數 IC3R3‧‧‧ apportionment

3010‧‧‧分攤項目 3010‧‧ ‧ apportioned project

3011‧‧‧分攤項目 3011‧‧ ‧ apportioned project

3012‧‧‧分攤項目 3012‧‧ ‧ apportioned project

300‧‧‧分攤尾差平衡模組 300‧‧‧Apportioned the differential balance module

310‧‧‧分攤群定義元件 310‧‧‧Distribution group definition component

320‧‧‧分攤公式定義元件 320‧‧‧Assessing formula definition components

330‧‧‧分攤暨平衡元件 330‧‧‧Assessing and balancing components

331‧‧‧分攤處理單元 331‧‧ ‧ apportion processing unit

332‧‧‧平衡最大化單元 332‧‧‧Balance maximization unit

333‧‧‧平衡最小化單元 333‧‧‧Balanced minimized unit

334‧‧‧自訂平衡單元 334‧‧‧Custom balance unit

3340‧‧‧條件設定單元 3340‧‧‧ Condition setting unit

3341‧‧‧自訂參數設定單元 3341‧‧‧Custom parameter setting unit

335‧‧‧總數檢驗單元 335‧‧‧Total inspection unit

SumC‧‧‧被分攤數合計 SumC‧‧‧ total number of assessed shares

S501~S504‧‧‧步驟流程 S501~S504‧‧‧Step process

S5010~S5013‧‧‧步驟流程 S5010~S5013‧‧‧Step procedure

S5020‧‧‧步驟流程 S5020‧‧‧Step process

S5030‧‧‧步驟流程 S5030‧‧‧Step process

S5040~S5041‧‧‧步驟流程 S5040~S5041‧‧‧Step procedure

第1圖係為本發明之二維分攤尾差平衡模組之一實施例示意圖。 FIG. 1 is a schematic diagram of an embodiment of a two-dimensional approximation of a tail difference balancing module of the present invention.

第2圖係為本發明之二維分攤尾差平衡模組之另一實施例示意圖。 Figure 2 is a schematic diagram of another embodiment of the two-dimensional approximation of the tail difference balancing module of the present invention.

第3圖係為本發明之二維分攤尾差平衡模組之系統架構示意圖。 Figure 3 is a schematic diagram of the system architecture of the two-dimensional approximation of the tail difference balance module of the present invention.

第4圖係為本發明之二維分攤尾差平衡模組之再一實施例示意圖。 Figure 4 is a schematic diagram of still another embodiment of the two-dimensional approximation of the tail difference balancing module of the present invention.

第5圖係為本發明之二維分攤尾差平衡方法之流程圖。 Figure 5 is a flow chart of the two-dimensional approximation of the tail difference balancing method of the present invention.

請參閱第1圖,本發明提供一個分攤尾差平衡模組,是關於一群被分攤數100與一群分攤數120、分攤數130、分攤數140因分攤從而進行單一分攤的尾差平衡與總數的平衡模組。數值分攤主要是由被分攤數100和分攤公式110組成,依據分攤公式110取得相對應的分攤因子111、分攤因子112、分攤因子113進行分攤;而分攤數120、分攤數130、分攤數140有小數位數需求(例如取到整數位),此時分攤數合計便會與被分攤數有尾差產生,尾差數則須調整到某一分攤數以求平衡。 Referring to FIG. 1 , the present invention provides an apportioned tail difference balancing module, which relates to a group of assessed shares 100 and a group of apportioning numbers 120, a number of apportions 130, and a number of apportioning points 140 for apportioning and a single apportionment of the tail difference balance and total number. Balance module. The numerical apportionment is mainly composed of the apportioned number 100 and the apportionment formula 110, and the corresponding apportionment factor 111, the apportionment factor 112, and the apportionment factor 113 are obtained according to the apportionment formula 110; and the apportionment number 120, the apportionment number 130, and the apportionment number 140 have The number of decimal places is required (for example, an integer number is taken). At this time, the total number of points will be generated from the number of points to be apportioned, and the number of tails must be adjusted to a certain number of points for balance.

本發明之重要特徵乃是為一群被分攤數與一群分攤項目提供一個尾差平衡模組,使得各個被分攤數可以取得尾差平衡,且最後總數也能取得平衡,分攤平衡即如第2圖所示。被分攤數C1、被分攤數C2、被分攤數C3有3筆,分攤項目R1、分攤項目R2、分攤項目R3有3筆,然須注意的是本圖僅為釋例,本發明並不限制上述分攤數以及分攤項目的數量。每筆被分攤數C1、被分攤數C2、被分攤數C3數經過分攤處理後產生分攤數C1R1、分攤數C2R2、分攤數C3R3,都會產生其尾差數D1、尾差數D2、尾差數D3,經過本發明的平衡機制,能夠將尾差數D1、尾差數D2、尾差數D3加入特定分攤數C1R1、分攤數C2R2、分攤數C3R3,達成單一被分攤數C1、被分攤數C2、被分攤數C3平衡。再來計算各個分攤數分攤數C1R1、分攤數C2R2、分攤數C3R3合計,產生分攤數合計SumR1分攤數合計SumR2、分攤數合計SumR3,總計全部分攤數的合計,也會產生與 被分攤數合計SumC的尾差數DSumC,同時利用平衡模組達成總數平衡。 An important feature of the present invention is to provide a tail balance module for a group of assessed shares and a group of assessed items, so that each of the assessed numbers can achieve a balance balance, and the final total can also be balanced, and the balance is as shown in FIG. Shown. There are 3 points for the number of points to be allocated, the number of points to be allocated C2, the number of points to be allocated C3, and the number of items to be allocated, R1, and the number of items to be apportioned for R3, and it is necessary to note that this figure is only an example, and the present invention is not limited. The above number of assessments and the number of assessed projects. Each of the number of shares C1, the number of shares to be assessed C2, and the number of points to be counted C3 are distributed and processed to generate the number of shares C1R1, the number of shares C2R2, and the number of points for apportionment C3R3, and the number of tails D1, the number of tails D2, and the number of tails are generated. D3, after the balancing mechanism of the present invention, the number of the difference D1, the number of the difference D2, and the number of the difference D3 can be added to the specific number of points C1R1, the number of points C2R2, and the number of points C3R3, to achieve a single number of points C1 and a number of points C2 It is balanced by the number of C3s. Then, calculate the total number of apportionment points C1R1, the number of apportions C2R2, and the number of apportions C3R3, and generate the total number of SumR1, the total number of SumR1, and the total number of points, SumR3, and the total of the total number of shares. The number of stalls summed up by SumC is DSumC, and the balance module is used to achieve the total balance.

請參閱第3圖,其係為本發明分攤尾差平衡模組之實施例示意圖。本發明之模組300包含:一分攤群定義元件310、一分攤公式定義元件320以及一分攤暨平衡元件330。分攤群定義元件310係用以記錄所有被分攤數3000、被分攤數3001、被分攤數3002與分攤項目3010、分攤項目3011、分攤項目3012並識別其身份與相互關係的資訊屬性。當一被分攤數3000、被分攤數3001、被分攤數3002加入分攤群時,分攤群定義元件310將擴增一個被分攤數資訊屬性,並記錄分攤數小數位數需求和與其有相互關係的分攤項目資訊。同理,當一被分攤數3000、被分攤數3001、被分攤數3002加入分攤群時,分攤群定義元件310亦將擴增一個分攤項目資訊屬性,並記錄合計數小數位數需求和與之有相互關係的被分攤數資訊。爾後,該元件定義之分攤群可供其它元件存取,且能夠藉由該元件識別各被分攤數3000、被分攤數3001、被分攤數3002。分攤公式定義元件320存放被分攤數3000、被分攤數3001、被分攤數3002所使用的分攤公式3200、分攤公式3201、分攤公式3202的資訊,每個被分攤數3000、被分攤數3001、被分攤數3002需記錄所要採用的分攤公式3200、分攤公式3201、分攤公式3202與尾差平衡演算法,該元件定義之公式能被分攤暨平衡元件330存取。分攤暨平衡元件330提供分攤處理與多種尾差平衡方法供選,分攤處理單元331存取分攤群定義元件310、分攤定義公式元件320,取得相對應被分攤數3000、被分攤數3001、被分攤數3002並依其分攤公式3200、分攤公式3201、分攤公式3202收集分攤因子進行分攤處理程序,每個分攤完成後可使用一種尾差平衡演算法達成被分攤數3000、被分攤數3001、被分 攤數3002與分攤數合計平衡,當中包含:一平衡最大單元332、一平衡最小單元333、一自訂平衡單元334。平衡最大單元332係在達成平衡將尾差放到最大分攤後數值。平衡最小單元333係在達成平衡將尾差放到最小分攤後數值。自訂平衡單元334係用以提供客製化平衡演算法,藉由自訂平衡條件以及參數設定達成自訂平衡演算法之目的。當分攤群均完成分攤且尾差平衡後,自動啟動總數檢驗單元335,計算總數是否與分攤數合計一致,若有尾差產生,再進行尾差平衡。 Please refer to FIG. 3 , which is a schematic diagram of an embodiment of the apportioned tail difference balancing module of the present invention. The module 300 of the present invention comprises: a distribution group defining component 310, an allocation formula defining component 320, and a sharing and balancing component 330. The distribution group definition component 310 is used to record all the information attributes of the number of shares 3000, the number of shares 3001, the number of shares 3002 and the item 3010, the item 3011, the item 3012, and the identity and relationship. When a number of shares 3000, a number of shares 3001, and a number of shares 3002 are added to the distribution group, the distribution group defining component 310 will augment the information attribute of the number of shares and record the number of decimal places and the relationship between them. Share project information. Similarly, when a number of shares 3000, a number of shares 3001, and a number of shares 3002 are added to the distribution group, the distribution group definition component 310 will also augment a distribution item information attribute, and record the total number of decimal places required and There are related information about the number of shares. Thereafter, the component group defined by the component can be accessed by other components, and the component number 3000, the number of shares 3001, and the number of shares 3002 can be identified by the component. The distribution formula defining component 320 stores information of the apportioned number 3000, the number of apportioned numbers 3001, the apportioned formula 3200 used by the apportioned number 3002, the apportionment formula 3201, and the apportionment formula 3202, each of which is divided by 3000, the number of apportioned 3001, and The allocation number 3002 needs to record the allocation formula 3200, the allocation formula 3201, the allocation formula 3202, and the tail difference balancing algorithm to be used, and the formula of the component definition can be accessed by the sharing and balancing component 330. The distribution and balancing component 330 provides a distribution process and a plurality of differential balance methods for selection. The distribution processing unit 331 accesses the distribution group definition component 310 and the distribution definition formula component 320, and obtains the corresponding number of apportioned 3000, the number of shares 3001, and is apportioned. The number 3002 is collected according to the distribution formula 3200, the apportionment formula 3201, and the apportionment formula 3202, and the apportionment factor is collected to perform the apportionment process. After each apportionment, a variance balance algorithm can be used to achieve the number of apportioned 3000, the number of apportioned 3001, and the score. The balance number 3002 is balanced with the number of assessments, and includes: a balance maximum unit 332, a balance minimum unit 333, and a custom balance unit 334. The balance maximum unit 332 is the balance after the balance is reached to the maximum spread. The balance minimum unit 333 is the balance value after the balance is reached and the tail difference is placed. The custom balance unit 334 is used to provide a customized balance algorithm, and achieves the purpose of the custom balance algorithm by custom balance conditions and parameter settings. After the allocation group has completed the apportionment and the tail difference is balanced, the total number checking unit 335 is automatically started to calculate whether the total number is consistent with the total number of the apportioned numbers, and if there is a tail difference, the tail difference is further balanced.

根據本發明,一個分攤尾差平衡模組300,藉由分攤群定義元件310識別被分攤數3000、被分攤數3001、被分攤數3002與分攤項目3010、分攤項目3011、分攤項目3012,同時將該被分攤數3000、被分攤數3001、被分攤數3002與分攤項目3010、分攤項目3011、分攤項目3012相互關係,及被分攤數3000、被分攤數3001、被分攤數3002小數位數需求等資訊納於分攤群定義元件310內,另須定義被分攤數3000、被分攤數3001、被分攤數3002適用的分攤公式3200、分攤公式3201、分攤公式3202於分攤公式定義元件320內。該模組300架構利用分攤暨平衡元件330收集各項分攤因子進行分攤處理,並進行單一被分攤數尾差平衡,最後進行總數檢驗以達成總數平衡。 According to the present invention, an apportioned deviation balance module 300 identifies the number of shares to be apportioned 3000, the number of shares to be apportioned 3001, the number of shares to be apportioned 3002 and the apportioned item 3010, the apportioned item 3011, and the apportioned item 3012 by using the apportionment group definition component 310. The number of shares to be distributed 3000, the number of shares to be apportioned 3001, the number of shares to be apportioned 3002, the number of shares to be apportioned 3010, the number of shares to be apportioned 3011, and the number of shares to be apportioned are 30, and the number of shares to be apportioned is 300, the number of shares to be apportioned is 3001, and the number of shares to be allocated is 3002. The information is included in the distribution group definition component 310, and the allocation formula 3000, the allocation number 3001, the allocation number 3002, the allocation formula 3201, and the assessment formula 3202 are defined in the distribution formula definition component 320. The module 300 architecture utilizes the apportionment and balancing component 330 to collect the various allocation factors for apportioning, and balances the single apportioned number of tails, and finally performs a total check to achieve a total balance.

分攤尾差平衡模組300是由分攤群定義元件310、分攤公式定義元件320和分攤暨平衡元件330所組成。後文論述中假定現係實作一分攤群進行分攤,諸多被分攤數3000、被分攤數3001、被分攤數3002,與分攤項目3010、分攤項目3011、分攤項目3012,係為一分攤群準備進行分攤。須注意的是,本發明並無限制被分攤數以及分攤項目的數量,分攤群 向分攤尾差平衡模組傳通資訊,以利分攤及尾差平衡運作。 The apportioned tail difference balancing module 300 is composed of a distribution group defining component 310, an apportionment formula defining component 320, and an apportioning and balancing component 330. In the following discussion, it is assumed that the current system implements a distribution group for apportionment. Many of the assessed shares are 3000, the number of shares is 3001, the number of shares is 3002, and the apportioned project 3010, the apportioned project 3011, and the apportioned project 3012 are prepared for a share group. Make an assessment. It should be noted that the present invention does not limit the number of shares to be allocated and the number of assessed items. Transfer information to the apportioned tail balance module to facilitate the sharing and tail balance operation.

在本實施例中,當被分攤數3000加入,分攤群定義元件310將預先紀錄被分攤數3000之屬性,並記錄被分攤數3000與分攤項目3010、分攤項目3011、分攤項目3012的分攤關係,同時預先分派一個分攤公式定義元件320給被分攤數3000,分攤公式定義元件320儲存被分攤數3000之分攤公式3202資訊,每個被分攤數皆有專屬的一個分攤公式定義元件。待整個被分攤數皆完成相關分攤公式定義,即開始進行分攤因子收集並進行分攤,分攤完成後即進行尾差平衡,選擇尾差平衡演算法的機制有後述幾種:預先將欲使用之尾差平衡定義於分攤公式中,做為該分攤之先決條件;或可給予各演算法權重,共同決定分攤後將使用之平衡演算法;或可自動選擇最適合之尾差平衡演算法。選定尾差平衡演算法後,分攤暨平衡元件330即使用選定之尾差平衡演算法單元進行分攤與尾差平衡。每一被分攤數均完成上述步驟後,再透過總數檢驗單元335,檢查總數是否與分攤數合計有產生尾差,若有尾差則自動利用尾差平衡演算法完成平衡,本次分攤與尾差平衡結束。 In this embodiment, when the number of shares is added 3000, the distribution group defining component 310 records the attribute of the number of shares 3000 in advance, and records the distribution relationship between the number of points 3000 and the item 3010, the item 3011, and the item 3012. At the same time, an allocation formula defining component 320 is assigned to the number of allocations 3000, and the allocation formula defining component 320 stores the allocation formula 3202 of the number of allocations 3000, and each of the allocated numbers has a dedicated allocation formula defining component. The entire apportionment number is defined by the relevant apportionment formula, that is, the apportionment factor is collected and apportioned. After the apportionment is completed, the tail difference balance is performed. The mechanism for selecting the tail difference balance algorithm is described later: the tail to be used in advance The difference balance is defined in the apportionment formula as a prerequisite for the apportionment; or each algorithm can be given a weight to jointly determine the balance algorithm to be used after the apportionment; or the most suitable tail difference balance algorithm can be automatically selected. After the tail difference balancing algorithm is selected, the apportionment and balancing component 330 uses the selected tail difference balancing algorithm unit to balance and balance the difference. After the above steps are completed, the total number checking unit 335 checks whether the total number has a tail difference with the total number of points. If there is a tail difference, the balance is automatically calculated by the tail difference balancing algorithm. The balance is over.

本發明之一實施例的分攤群定義元件300包含複數個被分攤數3000、被分攤數3001、被分攤數3002與複數個分攤項目3010、分攤項目3011、分攤項目3012資訊屬性,各被分攤數3000、被分攤數3001、被分攤數3002資訊屬性中亦包含可用於識別被分攤數身分的資訊屬性,與各個分攤項目3010、分攤項目3011、分攤項目3012相互關係資訊,還有小數位數需求資訊,亦可擴充其它屬性。在分攤群定義裡尚需增加一筆總數的定義,為所有被分攤數的合計,以利後續進行總數尾差平衡的處理, 本實施例用於識別被分攤數3000、被分攤數3001、被分攤數3002的資訊屬性為代號。分攤群定義元件310整合所有被分攤數3000、被分攤數3001、被分攤數3002與分攤項目3010、分攤項目3011、分攤項目3012資訊,該分攤群資訊將提供分攤公式定義元件320及分攤暨平衡元件330存取。 The distribution group defining component 300 of an embodiment of the present invention includes a plurality of number of points to be apportioned 3000, a number of points to be apportioned 3001, a number of points to be apportioned 3002, a plurality of apportioned items 3010, an apportioned item 3011, and an apportioned item 3012, and the number of shares is allocated 3000, the number of shares 3001, the number of shares to be apportioned 3002 also includes information attributes that can be used to identify the number of points to be shared, and information related to each of the apportioned items 3010, the apportioned items 3011, the apportioned items 3012, and the number of decimal places. Information can also be extended to other attributes. In the definition of the distribution group, it is necessary to add a definition of the total number, which is the total of all the assessed points, in order to facilitate the subsequent processing of the total balance difference. This embodiment is used to identify the information attribute of the number of shares 3000, the number of shares 3001, and the number of points 3002. The distribution group definition component 310 integrates all the information of the number of shares to be apportioned 3000, the number of shares to be apportioned 3001, the number of shares to be apportioned 3002 and the apportionment item 3010, the apportionment item 3011, and the apportionment item 3012. The distribution group information will provide the apportionment formula definition component 320 and the apportionment and balance. Element 330 is accessed.

以三個被分攤數C1、被分攤數C2、被分攤數C3之分攤群為例,分攤群定義元件310產生之分攤群示意圖即如第4圖所示,橫列為被分攤數C1、被分攤數C2、被分攤數C3,直行為分攤項目R1、分攤項目R2、分攤項目R3。以被分攤數C1舉例說明,以英文字母"I"表示分攤數識別資訊、"C"表示被分攤數、"R"表示分攤項目、"D"表示尾差數,被分攤數身分以C1表示,而分攤項目R1表示,在被分攤數C1與分攤項目R1的相互關係中,該元件將紀錄為分攤數IC1R1的分攤識別資訊,分別表示被分攤數C1分攤給分攤項目R1的識別資訊,另被分攤數C1在尾差產生時紀錄為尾差數D1以識別尾差數資訊。 Taking the three groups of the number of points C1, the number of points C2, and the number of points C3 as an example, the distribution group generated by the group definition component 310 is as shown in FIG. 4, and the row is the number of points C1 and The number of assessments C2, the number of assessed shares C3, the straight-line behavioral apportionment project R1, the apportionment project R2, and the apportionment project R3. Take the example of the number of shares C1 as an example. The letter "I" indicates the number of points to be identified, "C" indicates the number of shares, "R" indicates the item, "D" indicates the number of steps, and the number of points is represented by C1. And the apportionment item R1 indicates that in the relationship between the number of shares C1 and the item R1, the component will be recorded as the appraisal information of the apportionment number IC1R1, which respectively represents the identification information of the apportioned number C1 to the apportionment item R1, and The number of shares C1 is recorded as the number of tails D1 when the tail difference is generated to identify the number of tails.

分攤公式定義元件320是由分攤公式資訊所構成,儲存各個被分攤數的分攤公式,並記錄所要採用的尾差平衡演算法,爾後相關資訊皆能夠被分攤暨平衡元件存取。 The apportion formula definition component 320 is composed of the apportionment formula information, stores the apportionment formula of each apportioned number, and records the divergence balance algorithm to be used, and then the related information can be accessed by the apportionment and balance component.

分攤暨平衡元件330實作尾差平衡機制,先透過分攤公式定義元件320收集分攤因子並執行分攤,藉由尾差平衡演算法進行被分攤數群之平衡,該元件提供之尾差平衡演算法詳述如後,此處沿用第4圖所使用之範例進行說明。 The apportionment and balancing component 330 implements a tail difference balancing mechanism, first collecting the contribution factors through the allocation formula defining component 320 and performing the apportionment, and balancing the number of groups to be distributed by the tail difference balancing algorithm, and the component provides a tail difference balancing algorithm. The details will be described later using the example used in Fig. 4.

平衡最大化:以分攤數最大化為平衡目的,取最大分攤數將尾差平衡進去。舉例說明,被分攤數C1分攤後最大分攤後數值為分攤數 IC1R1,則將尾差數D1加入分攤數IC1R1。 Maximize the balance: balance the maximum number of allocations, and take the maximum number of points to balance the tail difference. For example, after the number of shares is allocated, the maximum value after apportionment is the number of shares. IC1R1 adds the number of tails D1 to the number of shares IC1R1.

交易量最小化:以分攤數最大化為平衡目的,取最大分攤數將尾差平衡進去。舉例說明,被分攤數C2分攤後最小分攤後數值為分攤數IC2R3,則將尾差數D2加入分攤數IC2R3。 Minimize the transaction volume: balance the maximum number of allocations, and take the maximum number of allocations to balance the tail difference. For example, after the number of allocations C2 is allocated, the minimum value is the number of shares IC2R3, and the number of tails D2 is added to the number of shares IC2R3.

自訂權重:以提供客製化尾差平衡演算法為目的,由被分攤群自訂尾差平衡條件並設定參數,舉例說明:一被分攤數認定所有尾差平衡均由特定某一筆分攤數承接;或是被分攤數尾差由定義權重最重的分攤數承接;或是可結合多種平衡演算法產生客製化的混合式演算法。 Custom weight: For the purpose of providing a customized tail balance algorithm, the group is allowed to customize the tail balance condition and set the parameters. For example, the number of all the difference is determined by a certain number of points. To undertake; or to be amortized by the number of points with the heaviest weights defined; or to combine a variety of balance algorithms to produce a customized hybrid algorithm.

分攤暨平衡元件330完成各個被分攤數的分攤後,各個分攤項目合計數有其特定意義及小數位數需求,此時就要進行總數檢驗,各個分攤項目合計數的總計如和被分攤數總計有發生尾差數Dsum,則依據總數所設定的尾差平衡演算法進行調整,此總數平衡須將尾差數調整到分攤項目合計的數值內,若指定自訂權重方式,如尾差平衡到分攤項目R2,則如第4圖所示加入分攤數合計SumR2。 After the apportionment and balancing component 330 completes the apportionment of the respective apportioned numbers, the total count of each apportioned item has its specific meaning and the number of decimal places. At this time, the total number of tests is performed, and the total of the total number of the apportioned items is the total of the apportioned number. If there is a tail difference Dsum, it is adjusted according to the total difference balance algorithm. The total balance must be adjusted to the total value of the apportionment. If the custom weight mode is specified, the tail balance is balanced. For the item R2, add the total number of points to SumR2 as shown in Figure 4.

本發明更提供一種二維分攤尾差平衡方法,請參考第5圖所示,其步驟包含:步驟S501:記錄被分攤數與分攤項目;步驟S502:記錄被分攤數所對應的分攤公式;步驟S503:根據被分攤數、分攤項目以及分攤公式執行分攤處理程序;以及步驟S504:於完成分攤處理程序後執行尾差平衡程序。 The present invention further provides a two-dimensional method for balancing the tail difference, which is shown in FIG. 5, and the steps thereof include: step S501: recording the number of points to be allocated and the item of allocation; step S502: recording the formula for sharing the number of points to be allocated; S503: execute an allocation processing program according to the number of points to be allocated, the item of assessment, and the formula of the allocation; and step S504: execute the tail difference balancing program after completing the allocation processing program.

其中,步驟S501更包含了下列步驟: 步驟S5010:根據被分攤數產生被分攤數資訊屬性;步驟S5011:記錄被分攤數之分攤數小數位數需求和對應被分攤數的分攤項目;步驟S5012:根據分攤項目產生分攤項目資訊屬性;以及步驟S5013:記錄合計數小數位數需求和對應分攤項目的被分攤數資訊。 Wherein, step S501 further comprises the following steps: Step S5010: Generate an information attribute of the number of shares according to the number of points to be allocated; Step S5011: record the number of decimal places of the number of points to be allocated and the number of items corresponding to the number of points to be allocated; Step S5012: Generate attribute information of the item according to the item of allocation; Step S5013: Record the total number of digits of the demand and the number of points of the corresponding item.

步驟S502更包含了下列步驟:步驟S5020:儲存被分攤數所對應的分攤公式與尾差平衡演算法。 Step S502 further includes the following steps: Step S5020: storing the allocation formula corresponding to the number of allocations and the tail difference balancing algorithm.

步驟S503更包含了下列步驟:步驟S5030:取得對應被分攤數且根據各該被分攤數所對應之該分攤公式收集分攤因子後,再執行分攤處理程序。 Step S503 further includes the following steps: Step S5030: After obtaining the corresponding number of shares and collecting the contribution factor according to the allocation formula corresponding to each of the number of points to be allocated, the allocation processing procedure is executed.

步驟S504更包含了下列步驟:步驟S5040:於分攤處理程序完成後根據尾差平衡演算法執行尾差平衡程序;以及步驟S5041:於完成分攤處理程序及尾差平衡程序後,判斷總數是否與該些分攤數之合計數相同。 Step S504 further includes the following steps: Step S5040: performing a tail difference balancing procedure according to the tail difference balancing algorithm after the sharing processing program is completed; and step S5041: after completing the sharing processing procedure and the tail difference balancing program, determining whether the total number is The total number of shares is the same.

由於上述二維分攤尾差平衡方法的詳細做法及實施方式皆已於敘述二維分攤尾差平衡模組時闡述過,在此便不再贅述。 The detailed method and implementation method of the above two-dimensional approximation of the tail difference balancing method have been described in the description of the two-dimensional approximation of the tail difference balancing module, and will not be described herein.

綜上所述,本發明之二維分攤尾差平衡模組著重於分攤後的尾差平衡,重要特徵乃是為被分攤數群提供一個尾差平衡模組,被分攤數群中的每個被分攤數進行分攤後即產生尾差數需進行平衡,最後檢驗總數是否亦產生尾差,若有尾差也同樣要啟動平衡機制。在各種需要分攤的系統內可輕易達成二維分攤的尾差平衡,也可重覆引用節省開發成本。 In summary, the two-dimensional approximation of the tail difference balancing module of the present invention focuses on the balance of the tail difference after the apportionment, and the important feature is to provide a tail difference balancing module for the group of assessed groups, each of which is divided into groups. After the number of shares is apportioned, the number of tail differences needs to be balanced. Finally, it is checked whether the total number also produces a tail difference. If there is a tail difference, the balance mechanism should also be started. The two-dimensional approximation of the tail difference can be easily achieved in various systems that need to be allocated, and the development cost can be saved by repeated references.

以上所述僅為舉例性,而非為限制性者。任何未脫離本發明之精神與範疇,而對其進行之等效修改或變更,均應包含於後附之申請專利範圍中。 The above is intended to be illustrative only and not limiting. Any equivalent modifications or alterations to the spirit and scope of the invention are intended to be included in the scope of the appended claims.

3000‧‧‧被分攤數 3000‧‧‧Assessed

3001‧‧‧被分攤數 3001‧‧‧Assessed

3002‧‧‧被分攤數 3002‧‧‧Assessed

3200‧‧‧分攤公式 3200‧‧ ‧ apportion formula

3201‧‧‧分攤公式 3201‧‧ ‧ apportion formula

3202‧‧‧分攤公式 3202‧‧ ‧ apportion formula

3010‧‧‧分攤項目 3010‧‧ ‧ apportioned project

3011‧‧‧分攤項目 3011‧‧ ‧ apportioned project

3012‧‧‧分攤項目 3012‧‧ ‧ apportioned project

300‧‧‧分攤尾差平衡模組 300‧‧‧Apportioned the differential balance module

310‧‧‧分攤群定義元件 310‧‧‧Distribution group definition component

320‧‧‧分攤公式定義元件 320‧‧‧Assessing formula definition components

330‧‧‧分攤暨平衡元件 330‧‧‧Assessing and balancing components

331‧‧‧分攤處理單元 331‧‧ ‧ apportion processing unit

332‧‧‧平衡最大化單元 332‧‧‧Balance maximization unit

333‧‧‧平衡最小化單元 333‧‧‧Balanced minimized unit

334‧‧‧自訂平衡單元 334‧‧‧Custom balance unit

3340‧‧‧條件設定單元 3340‧‧‧ Condition setting unit

3341‧‧‧自訂參數設定單元 3341‧‧‧Custom parameter setting unit

335‧‧‧總數檢驗單元 335‧‧‧Total inspection unit

Claims (10)

一種二維分攤尾差平衡模組,包含:一分攤群定義元件,記錄複數個被分攤數與複數個分攤項目;一分攤公式定義元件,記錄該些被分攤數所對應的複數個分攤公式;以及一分攤暨平衡元件,根據該些被分攤數、該些分攤項目以及該些分攤公式執行一分攤處理程序,並於完成該分攤處理程序後執行一尾差平衡程序。 A two-dimensional apportioned tail difference balancing module comprises: a share group defining component, recording a plurality of assessed numbers and a plurality of apportioned items; an apportioning formula defining components, and recording a plurality of apportioning formulas corresponding to the apportioned numbers; And an apportioning and balancing component, performing an apportioning process according to the number of shares, the apportioned items, and the apportioning formulas, and executing a tail balance balancing process after completing the apportioning process. 如申請專利範圍第1項所述之二維分攤尾差平衡模組,其中該分攤群定義元件根據該些被分攤數產生複數個被分攤數資訊屬性。 The two-dimensional distribution tail difference balancing module of claim 1, wherein the distribution group defining component generates a plurality of numbered information attributes according to the number of points to be allocated. 如申請專利範圍第2項所述之二維分攤尾差平衡模組,其中該分攤群定義元件更記錄該些被分攤數之複數個分攤數小數位數需求和對應該些被分攤數的該些分攤項目。 The two-dimensional apportioned tail difference balancing module of claim 2, wherein the distribution group defining component further records the plurality of apportioned decimal places of the number of shares and the corresponding number of shares Some apportioned projects. 如申請專利範圍第3項所述之二維分攤尾差平衡模組,其中該分攤群定義元件根據該些分攤項目產生複數個分攤項目資訊屬性。 The two-dimensional distribution tail difference balancing module of claim 3, wherein the distribution group defining component generates a plurality of distribution item information attributes according to the distribution items. 如申請專利範圍第4項所述之二維分攤尾差平衡模組,其中該分攤群定義元件更記錄一合計數小數位數需求和對應該些分攤項目的該些被分攤數資訊。 For example, the two-dimensional apportioned tail difference balancing module described in claim 4, wherein the distribution group defining component further records a total number of decimal places and corresponding information of the number of shares corresponding to the allocation items. 如申請專利範圍第1項所述之二維分攤尾差平衡模組,其中該分攤公式定義元件儲存各該被分攤數所對應的各該分攤公式與一尾差平衡演算法。 The two-dimensional apportioned tail difference balancing module according to claim 1, wherein the apportioning formula defining component stores each of the apportioning formulas and a tail difference balancing algorithm corresponding to each of the apportioned numbers. 如申請專利範圍第6項所述之二維分攤尾差平衡模組,其中該分攤暨平衡元件更於取得對應各該被分攤數且根據各該被分攤數所對應之該分攤公式收集複數個分攤因子後,再執行該分攤處理程序。 The two-dimensional apportioned tail difference balancing module of claim 6, wherein the apportioning and balancing component obtains a plurality of corresponding apportioned numbers corresponding to each of the apportioned numbers and corresponding to the apportionment formula corresponding to each of the apportioned numbers. After the factor is allocated, the allocation process is executed. 如申請專利範圍第7項所述之二維分攤尾差平衡模組,其中該分攤暨平衡元件更於該分攤處理程序完成後根據該尾差平衡演算法執行該尾差平衡程序。 The two-dimensional approximating the tail difference balancing module according to claim 7, wherein the apportioning and balancing component performs the tail difference balancing procedure according to the differential balance algorithm after the apportioning process is completed. 如申請專利範圍第8項所述之二維分攤尾差平衡模組,其中該分攤暨平衡元件包含:一平衡最大單元,係在達成平衡時將尾差放到一最大分攤後數值;一平衡最小單元,係在達成平衡時將尾差放到一最小分攤後數值;以及一自訂平衡單元,係根據一自訂平衡條件以及複數個參數設定執行一自訂平衡演算法。 The two-dimensional approximating the tail difference balancing module as described in claim 8 , wherein the apportioning and balancing component comprises: a balanced maximum unit, wherein the balance is placed to a maximum apportioned value when the balance is reached; The minimum unit is to assign the tail difference to a minimum spread value when the balance is reached; and a custom balance unit to perform a custom balance algorithm according to a custom balance condition and a plurality of parameter settings. 如申請專利範圍第1項所述之二維分攤尾差平衡模組,其中該分攤暨平衡元件更包含一總數檢驗單元,該總數檢驗單元係於完成該分攤處理程序及該尾差平衡程序後,判斷一總數是否與該些分攤數之一合計數相同。 The two-dimensional apportioned tail difference balancing module of claim 1, wherein the apportioning and balancing component further comprises a total number of inspection units, the total number of inspection units being after the completion of the apportioning process and the tail difference balancing process , to determine whether a total is the same as the total of the number of points.
TW104111871A 2015-04-14 2015-04-14 Two-dimensional difference apportioning balance module TW201636910A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104111871A TW201636910A (en) 2015-04-14 2015-04-14 Two-dimensional difference apportioning balance module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104111871A TW201636910A (en) 2015-04-14 2015-04-14 Two-dimensional difference apportioning balance module

Publications (1)

Publication Number Publication Date
TW201636910A true TW201636910A (en) 2016-10-16

Family

ID=57847671

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104111871A TW201636910A (en) 2015-04-14 2015-04-14 Two-dimensional difference apportioning balance module

Country Status (1)

Country Link
TW (1) TW201636910A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110020954A (en) * 2019-03-26 2019-07-16 阿里巴巴集团控股有限公司 A kind of income distribution method, device and computer equipment
CN111144810A (en) * 2019-12-24 2020-05-12 金蝶软件(中国)有限公司 Data processing method and device and related equipment
CN111275284A (en) * 2019-12-26 2020-06-12 用友网络科技股份有限公司 Cost allocation device and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110020954A (en) * 2019-03-26 2019-07-16 阿里巴巴集团控股有限公司 A kind of income distribution method, device and computer equipment
CN110020954B (en) * 2019-03-26 2023-09-05 创新先进技术有限公司 Revenue distribution method and device and computer equipment
CN111144810A (en) * 2019-12-24 2020-05-12 金蝶软件(中国)有限公司 Data processing method and device and related equipment
CN111144810B (en) * 2019-12-24 2023-03-17 金蝶软件(中国)有限公司 Data processing method and device and related equipment
CN111275284A (en) * 2019-12-26 2020-06-12 用友网络科技股份有限公司 Cost allocation device and method

Similar Documents

Publication Publication Date Title
CN107784426A (en) Post distribution method, device and the equipment of a kind of employee
CN104468777B (en) Data manipulation method and device
CN110390584B (en) Abnormal user identification method, identification device and readable storage medium
CN110826902A (en) Target object assessment and evaluation method and device, computer equipment and storage medium
US20150019303A1 (en) Data quality integration
TW201636910A (en) Two-dimensional difference apportioning balance module
Vanwersch et al. Improving business processes: does anybody have an idea?
CN107067276A (en) Determine the method and device of object influences power
CN109784666A (en) The detection method and device of equipment quality
CN108399545B (en) Method and device for detecting quality of electronic commerce platform
CN109222220A (en) For evaluating and testing the method and system of cigarette manufacturing quality index
CA2831443A1 (en) System and method for producing statistically valid assay means and ranges for quality control materials
US20180089774A1 (en) Method for automatic property valuation
US11341546B2 (en) Bid tool optimization
CN107067128A (en) Task quality detecting method, the method and device for determining dereferenced user
US20140012621A1 (en) Risk management device
Würbach et al. Sample Weights and Nonresponse: The early childhood cohort of the National Educational Panel Study (Wave 1 to 3)
Weber et al. Application of the modified chi-square ratio statistic in a stepwise procedure for cascade impactor equivalence testing
CN112767117A (en) Method and device for evaluating enterprise status in group
JP5950660B2 (en) How to simulate financial products
CN111178744A (en) Distribution method, device, equipment and storage medium
Bongers Learning by doing, organizational forgetting, and the business cycle
Judzik Heterogeneous labor demand: sectoral elasticity and trade effects in the US, Germany and Sweden.
CN111768130B (en) User allocation method, device, electronic equipment and readable storage medium
CN111144810B (en) Data processing method and device and related equipment