TWI511543B - Work division method and system for improving worst waiting time - Google Patents

Work division method and system for improving worst waiting time Download PDF

Info

Publication number
TWI511543B
TWI511543B TW103119394A TW103119394A TWI511543B TW I511543 B TWI511543 B TW I511543B TW 103119394 A TW103119394 A TW 103119394A TW 103119394 A TW103119394 A TW 103119394A TW I511543 B TWI511543 B TW I511543B
Authority
TW
Taiwan
Prior art keywords
work
query
data items
data
waiting time
Prior art date
Application number
TW103119394A
Other languages
Chinese (zh)
Other versions
TW201436501A (en
Inventor
Jen Ya Wang
Original Assignee
Univ Hungkuang
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 Univ Hungkuang filed Critical Univ Hungkuang
Priority to TW103119394A priority Critical patent/TWI511543B/en
Publication of TW201436501A publication Critical patent/TW201436501A/en
Application granted granted Critical
Publication of TWI511543B publication Critical patent/TWI511543B/en

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Description

用於改善最差等待時間的工作劃分方法及系統Work division method and system for improving worst waiting time

本發明是有關於一種用於多頻道(multiple channels)廣播(broadcast)的資料分配(data allocation)技術,特別是指一種用於改善最差等待時間(worst waiting time)的工作劃分(job partition)方法及系統。The present invention relates to a data allocation technique for multiple channels broadcasting, and more particularly to a job partition for improving the worst waiting time. Method and system.

在無線通訊(wireless communication)的環境中,廣播是一種同時傳送資料給大量客戶端(client)的有效方式。實際上,相較於冷門資料項(data item),熱門資料項往往較常被客戶端存取,即所謂的偏斜(skewed)資料存取;而目前的研究多半比較偏好先處理熱門資料項,旨在降低客戶端的平均等待時間(average waiting time),然,此舉卻犧牲了少數客戶端的利益,也就是讓等待冷門資料項的客戶端可能等更久;此外,這種型態的資料分配或工作劃分通常都是極為耗時的(NP-hard),也就是需要很多的運算時間(run time)來進行資料分配或工作劃分。In a wireless communication environment, broadcasting is an effective way to simultaneously transmit data to a large number of clients. In fact, compared to the cold data item, the hot item is often accessed by the client, which is called skewed data access. Most of the current research prefers to process the hot item first. , designed to reduce the client's average waiting time (average waiting time), however, this sacrifices the interests of a small number of clients, that is, the client waiting for the unpopular data item may wait longer; in addition, this type of information Allocation or work partitioning is usually extremely time consuming (NP-hard), which requires a lot of run time for data distribution or work partitioning.

一種現有的用於多頻道廣播之資料分配技術,如Elia Ardizzoni等人於2005年5月在IEEE Transactions on Computers. VOL.5 No.5.所發表的「Optimal Skewed Data Allocation on Multiple Channels with Flat Broadcast per Channel」論文中所揭露,其係假設每一筆被存取的資料項之需求機率(demand probability)為可得的(available),且其係根據該等資料項之需求機率來得到資料分配的一最佳解,使得客戶端的『平均等待時間(average waiting time)』為最小化。然,上述現有的技術並未考量到如何改善『存取冷門資料項的客戶端之等待時間』。An existing data distribution technology for multi-channel broadcasting, such as "Optimal Skewed Data Allocation on Multiple Channels with Flat Broadcast" published by Elia Ardizzoni et al . in IEEE Transactions on Computers. VOL.5 No. 5. According to the per channel paper, it is assumed that the demand probability of each accessed item is available, and the data is allocated according to the demand probability of the data item. A best solution is to minimize the "average waiting time" of the client. However, the above-mentioned prior art does not consider how to improve the "waiting time of the client accessing the unpopular data item".

另一種現有的用於多頻道廣播之資料分配技術,如Guanling Lee等人於2003年在Mobile Networks and Applications 8,365-375所發表的「Broadcast Data Allocation for Efficient Access of Multiple Data Items in Mobile Environments」論文中所揭露,其提出了三種方法來改善客戶端的『平均等待時間』,分別是Pure Frequency Method、Frequency/Size Ratio Method,及Frequency/Size with Overlapping Method,其等除了考慮客戶端的查詢(query)內的資料項的需求頻率之外,還有考量到查詢的資料量大小。然,上述現有的技術是以『整個查詢』作為資料分配過程中最小的處理單位,並不允許在資料分配過程中『將查詢暫時地拆成數個子集合』來處理。Another existing data distribution technology for multi-channel broadcasting, such as "Broadcast Data Allocation for Efficient Access of Multiple Data Items in Mobile Environments" published by Guanling Lee et al. in Mobile Networks and Applications 8, 365-375, 2003. As disclosed, it proposes three methods to improve the "average waiting time" of the client, namely the Pure Frequency Method, the Frequency/Size Ratio Method, and the Frequency/Size with Overlapping Method, which are considered in addition to the client's query (query). In addition to the frequency of demand for data items, there is also a measure of the amount of data to be queried. However, the above existing technology uses "the entire query" as the smallest processing unit in the data distribution process, and does not allow the "disposal of the query into several sub-collections" in the data distribution process.

因此,本發明之第一目的,即在提供一種用於改善最差等待時間的工作劃分方法。Accordingly, a first object of the present invention is to provide a work division method for improving the worst wait time.

於是,本發明用於改善最差等待時間的工作劃分方法,適用於將N 筆資料項分配到C 個頻道以進行廣播,其中,該等資料項所形成的一資料集合表示為D ={d 1 ,d 2 ,...,d N },該方法係以電腦來實現並包含下列步驟:(A)接收來自於至少一客戶端的m 個查詢集合,其中,Q i 代表第i 個查詢集合,對於i =1,2,...,mQ i D ,該等查詢集合形成一查詢資料集合組並表示為AP (m )={Q 1 ,Q 2 ,...,Q m };(B)根據該查詢資料集合組的該等查詢集合來初始化一工作劃分結果,其中,該工作劃分結果包括分別對應於該等頻道的C 個工作,該工作劃分結果表示為π ={P 1 ,P 2 ,...,P C },P i 代表第i 個工作,P i 包括其分配到的查詢 集合的資料項,,|P i |代表第i 個工作所包括的資 料項數目,經過初始化的該工作劃分結果滿足以下的一工作大小排序:|P 1 ||P 2 ||P C |;(C)以P C -β +1 ,P C -β +2 ,...,P C 作為後段的β 個候選工作,以作為容納前段的工作內超出之資料項之用,其中,β 為預設的一候選者臨界值;(D)判斷是否存在滿足預設的一調整條件的查詢集合及工作,其中,該調整條件為:自P 1 將此查詢集合移到該等候選工作其中之一P j j {C -β +1,C -β +2,...,C },可使得|P 1 |所減少的數量為目前最多,且同時使得|P j |所增加的數量為目前最少;(E)若步驟(D)的判斷結果為是,則執行 以下子步驟:(e-1)將符合該調整條件的查詢集合自P 1 移到工作P j ;(e-2)調整該工作劃分結果使其調整後滿足該工作大小排序:|P 1 ||P 2 ||P C |;及(e-3)回到步驟(D)之判斷;(F)若步驟(D)的判斷結果為否,則依一微調規則進行微調;以及(G)若步驟(F)的微調結果為不成功,即,無法依該微調規則進行微調,則以此時的該工作劃分結果作為一近似最佳工作劃分結果,其中,該近似最佳工作劃分結果係用以作為將該等資料項分配到該等頻道以進行廣播的依據。Thus, the present invention is directed to a work partitioning method for improving the worst latency, which is suitable for allocating N data items to C channels for broadcasting, wherein a data set formed by the data items is represented as D = { d 1 , d 2 ,..., d N }, the method is implemented by a computer and comprises the following steps: (A) receiving m query sets from at least one client, wherein Q i represents an i th query set For i =1, 2,..., m , Q i D , the set of queries forms a set of query data sets and is denoted as AP ( m )={ Q 1 , Q 2 ,..., Q m }; (B) according to the query sets of the query data collection group Initializing a work division result, wherein the work division result includes C jobs respectively corresponding to the channels, and the work division result is expressed as π = { P 1 , P 2 , ..., P C }, P i represents The i- th job, P i includes the data item of the query set to which it is assigned, , | P i | represents the number of data items included in the i- th work. The initialized work division result satisfies the following work size order: | P 1 | | P 2 | ... | P C |; (C) use P C - β +1 , P C - β +2 ,..., P C as the β candidate work in the latter stage, as the data item exceeding the work in the previous stage. Wherein, β is a preset candidate threshold; (D) determining whether there is a query set and work satisfying a preset adjustment condition, wherein the adjustment condition is: moving the query set from P 1 to the One of the candidate jobs, P j , j { C - β +1, C - β +2,..., C }, such that the number of | P 1 | is reduced by the current maximum, and at the same time the number of additions of | P j | is currently the least; E) If the result of the determination in step (D) is YES, perform the following sub-steps: (e-1) moving the query set that meets the adjustment condition from P 1 to the work P j ; (e-2) adjusting the work division The result is adjusted to match the size of the work: | P 1 | | P 2 | ... | P C |; and (e-3) return to the judgment of step (D); (F) if the judgment result of the step (D) is no, fine-tune according to a fine-tuning rule; and (G) if the step (F) The fine-tuning result is unsuccessful, that is, it cannot be fine-tuned according to the fine-tuning rule, and the work division result at this time is used as an approximate optimal work division result, wherein the approximate optimal work division result is used as The basis for the distribution of such items to these channels for broadcast.

本發明之第二目的,即在提供一種用於改善最差等待時間的工作劃分系統。A second object of the present invention is to provide a work partitioning system for improving the worst waiting time.

於是,本發明用於改善最差等待時間的工作劃分系統,適用於將N 筆資料項分配到C 個頻道以進行廣播,該系統包含一工作劃分處理模組,及供該等資料項儲存的一儲存單元,該工作劃分處理模組被規劃以進行如同以上所述之用於改善最差等待時間的工作劃分方法。Thus, the present invention is directed to a work partitioning system for improving the worst latency, which is suitable for distributing N data items to C channels for broadcasting, the system comprising a work partition processing module, and for storing the data items. A storage unit, the work partitioning processing module is programmed to perform a work partitioning method for improving the worst latency as described above.

本發明之第三目的,即在提供一種用於改善最差等待時間的工作劃分方法。A third object of the present invention is to provide a work division method for improving the worst wait time.

於是,本發明用於改善最差等待時間的工作劃分方法,適用於將N 筆資料項分配到C 個頻道以進行廣播 ,其中,該等資料項所形成的一資料集合表示為D ={d 1 ,d 2 ,...,d N },該方法係以電腦來實現並包含下列步驟:(A)接收來自於至少一客戶端的m 個查詢集合,其中,Q i 代表第i 個查詢集合,|Q i |代表第i 個查詢集合所包括的資料項數目,對於i =1,2,...,mQ i D ,且所有的|Q i |皆為2的次方,且該等查詢集合兩兩彼此為不相關聯,該等查詢集合形成一查詢資料集合組並表示為AP (m )={Q 1 ,Q 2 ,...,Q m };(B)自該查詢資料集合組中選出其資料項數目為最大的查詢集合,n k 代表此次選出的查詢集合的資料項數目;(C)根據n k 計算一最佳等待時間,將目前最佳等待時間ε * 遞增n k ,即,ε * =ε * +n k ;(D)根據該最佳等待時間將該查詢資料集合組之查詢集合分配至一工作劃分結果的C 個工作,P j 代表第j 個工作,P j 包括其所分配到的查詢集合的資料項,其中,步驟(D)包括下列子步驟:(d-1)以第j 個工作作為目前處理中的工作,依序將該等查詢集合分配至目前處理中的工作;(d-2)|P j |代表第j 個工作所包括的資料項數目,當目前處理中的工作所包括的資料項的資料項數目等於該最佳等待時間時,即,當|P j |=ε * 時,將目前處理中的工作改成下一個工作,即,j =j +1;(d-3)重複執行子步驟(d-1)~(d-2)直到預 設的第一終止條件成立為止;(E)將該查詢資料集合組更新為未於步驟(D)中被分配的剩餘之查詢集合;及(F)重複步驟(B)~(E)直到預設的第二終止條件成立為止,並以此時的該工作劃分結果作為一最佳工作劃分結果,其中,該最佳工作劃分結果係用以作為將該等資料項分配到該等頻道以進行廣播的依據。Thus, the present invention is directed to a work partitioning method for improving the worst latency, which is suitable for allocating N data items to C channels for broadcasting, wherein a data set formed by the data items is represented as D = { d 1 , d 2 ,..., d N }, the method is implemented by a computer and comprises the following steps: (A) receiving m query sets from at least one client, wherein Q i represents an i th query set , | Q i | represents the number of data items included in the i- th query set, for i =1, 2,..., m , Q i D , and all | Q i | are the power of 2, and the query sets are not related to each other, and the query sets form a query data set and are represented as AP ( m )={ Q 1 , Q 2 ,..., Q m }; (B) select the query set whose largest number of data items is the largest from the query data collection group, and n k represents the number of data items of the selected query set; (C) Calculating an optimal waiting time according to n k , increasing the current optimal waiting time ε * by n k , that is, ε * = ε * + n k ; (D) querying the query data set according to the optimal waiting time The set is assigned to C jobs of a job partitioning result, P j represents the jth job, and P j includes the data items of the query set to which it is assigned, wherein step (D) includes the following substeps: (d-1) Taking the jth work as the current work in progress, sequentially assigning the query sets to the work currently being processed; (d-2)| P j | represents the number of data items included in the jth work, when present The number of data items of the data items included in the work in process is equal to the optimal waiting time, that is, when | P j |= ε * The work in the process is changed to the next work, that is, j = j +1; (d-3) the sub-steps (d-1) to (d-2) are repeatedly executed until the preset first termination condition is established; E) updating the query data collection group to the remaining query set not allocated in step (D); and (F) repeating steps (B) to (E) until the preset second termination condition is established, and The work division result at this time is used as an optimal work division result, wherein the best work division result is used as a basis for allocating the data items to the channels for broadcasting.

本發明之第四目的,即在提供一種用於改善最差等待時間的工作劃分系統。A fourth object of the present invention is to provide a work partitioning system for improving the worst waiting time.

於是,本發明用於改善最差等待時間的工作劃分系統,適用於將N 筆資料項分配到C 個頻道以進行廣播,該系統包含一工作劃分處理模組,及供該等資料項儲存的一儲存單元,該工作劃分處理模組被規劃以進行如同以上所述之用於改善最差等待時間的工作劃分方法。Thus, the present invention is directed to a work partitioning system for improving the worst latency, which is suitable for distributing N data items to C channels for broadcasting, the system comprising a work partition processing module, and for storing the data items. A storage unit, the work partitioning processing module is programmed to perform a work partitioning method for improving the worst latency as described above.

1‧‧‧工作劃分系統1‧‧‧Work division system

11‧‧‧儲存單元11‧‧‧ storage unit

12‧‧‧運算模式決定模組12‧‧‧Operation mode decision module

13‧‧‧工作劃分處理模組13‧‧‧Work division processing module

130‧‧‧啟發式演算法運算單元130‧‧‧heuristic algorithm unit

131‧‧‧初始化單元131‧‧‧Initial unit

132‧‧‧調整單元132‧‧‧Adjustment unit

133‧‧‧確定性演算法運算單元133‧‧‧deterministic algorithm arithmetic unit

201~212‧‧‧步驟201~212‧‧‧Steps

301~302‧‧‧步驟301~302‧‧‧Steps

401~413‧‧‧步驟401~413‧‧‧Steps

本發明之其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中:圖1是一方塊圖,說明本發明用於改善最差等待時間的工作劃分系統之一較佳實施例;圖2是一流程圖,說明本發明用於改善最差等待時間的工作劃分方法中,一工作劃分處理模組在一第一運算模式下所執行的步驟;圖3是一示意圖,說明本發明用於改善最差等待時間的工作劃分方法中,利用一個交換對來對一工作劃分結果 進行微調的一範例;圖4是一流程圖,說明本發明用於改善最差等待時間的工作劃分方法中,該工作劃分處理模組在一第二運算模式下所執行的步驟;及圖5是一流程圖,說明本發明用於改善最差等待時間的工作劃分方法中,該工作劃分處理模組在一第三運算模式下所執行的步驟。Other features and effects of the present invention will be apparent from the following description of the drawings, wherein: FIG. 1 is a block diagram illustrating a preferred embodiment of the work partitioning system of the present invention for improving the worst latency. 2 is a flow chart illustrating the steps performed by a work partitioning processing module in a first computing mode in the working partitioning method for improving the worst latency; FIG. 3 is a schematic diagram illustrating The working division method for improving the worst waiting time of the present invention uses an exchange pair to divide the result of a job. An example of fine tuning; FIG. 4 is a flow chart illustrating steps performed by the working partitioning processing module in a second computing mode in the working partitioning method for improving the worst latency; and FIG. It is a flowchart illustrating the steps performed by the work partitioning processing module in a third operation mode in the work partitioning method for improving the worst latency.

有關本發明之前述及其他技術內容、特點與功效,在以下配合參考圖式之一個較佳實施例的詳細說明中,將可清楚的呈現。The above and other technical contents, features and advantages of the present invention will be apparent from the following detailed description of the preferred embodiments.

在本發明被詳細描述之前,要注意的是,在以下的說明內容中,類似的元件是以相同的編號來表示。Before the present invention is described in detail, it is noted that in the following description, similar elements are denoted by the same reference numerals.

參閱圖1,本發明用於改善最差等待時間的工作劃分系統1之較佳實施例係應用於無線通訊的環境中,且適用於將N 筆大小一樣的資料項(data item)分配到C 個頻道以進行廣播。該工作劃分系統1包含一儲存單元11、一運算模式決定模組12,及一工作劃分處理模組13。Referring to Figure 1, the preferred embodiment of the work partitioning system 1 for improving the worst latency is applied to a wireless communication environment and is adapted to assign N data items of the same size to the C. Channels for broadcasting. The work partitioning system 1 includes a storage unit 11, an operation mode determination module 12, and a work division processing module 13.

其中,該儲存單元11係供該等資料項儲存;該運算模式決定模組12係接收來自於至少一客戶端的m 個查詢集合(query set),並據以決定該工作劃分處理模組13的運算模式;該工作劃分處理模組13包括一具有一初始化單元131及一調整單元132的啟發式演算法(heuristic algorithm)運算單元130,及一確定性演算法( deterministic algorithm)運算單元133;該工作劃分處理模組13係接收該等查詢集合,並根據該運算模式決定模組12所決定的運算模式及該等查詢集合,以得到一近似最佳(near-optimal)工作劃分結果或一最佳(optimal)工作劃分結果;該近似最佳工作劃分結果或該最佳工作劃分結果係用以作為將該等資料項分配到該等頻道以進行廣播的依據。The storage unit 11 is configured to store the data items; the operation mode determining module 12 receives m query sets from at least one client, and determines the working partition processing module 13 accordingly. The operation division processing module 13 includes a heuristic algorithm operation unit 130 having an initialization unit 131 and an adjustment unit 132, and a deterministic algorithm operation unit 133; The work partitioning processing module 13 receives the query sets, and determines the operation mode determined by the module 12 and the query sets according to the operation mode to obtain a near-optimal work partition result or a most Optimal work partitioning result; the approximate best work partitioning result or the best working partitioning result is used as a basis for allocating the data items to the channels for broadcasting.

在本較佳實施例中,該儲存單元11之實施態樣為一資料庫(圖未示),該運算模式決定模組12及該工作劃分處理模組13係以軟體方式實施,其實施態樣為一廣播排程程式(broadcast scheduling program),當其載入電腦(圖未示)並執行後,可實現本發明用於改善最差等待時間的工作劃分方法。In the preferred embodiment, the storage unit 11 is implemented as a database (not shown), and the operation mode determining module 12 and the working partition processing module 13 are implemented in a software manner. The program is a broadcast scheduling program, and when it is loaded into a computer (not shown) and executed, the working division method for improving the worst waiting time of the present invention can be implemented.

在進一步進行以下描述之前,先將會用到的一些表示(notation)定義如下:d i 代表該等資料項中第i 個資料項,i =1,2,...,ND 代表該等資料項所形成的一資料集合,其表示為D ={d 1 ,d 2 ,...,d N };Q i 代表該等查詢集合中第i 個查詢集合,對於i =1,2,...,mQ i D ,且; |Q i |代表第i 個查詢集合所包括的資料項數目;AP (m )代表該等查詢集合形成的一查詢資料集合組(access pattern),其表示為AP (m )={Q 1 ,Q 2 ,...,Q m };π 代表根據該等查詢集合分配而得的一工作劃分結果,其表示為π ={P 1 ,P 2 ,...,P C },其中,P i 代表第i 個工作(job partition),亦即欲由第i 個頻道廣播的查 詢集合的資料項,而,即,P i 包括其所分 配到的查詢集合的資料項,;及 |P i |代表第i 個工作所包括的資料項數目,亦即欲由第i 個頻道廣播的資料項數目。Before further describing the following, some notations to be used are defined as follows: d i represents the i- th data item in the data items, i =1, 2, ..., N ; D represents the A set of data formed by data items, expressed as D = { d 1 , d 2 , ..., d N }; Q i represents the ith query set in the set of queries, for i =1, 2 ,..., m , Q i D , and ; | Q i | represents the number of data items included in the i- th query set; AP ( m ) represents a query data set pattern formed by the query sets, which is represented as AP ( m )={ Q 1 , Q 2 , . . . , Q m }; π represents a work partitioning result according to the allocation of the query sets, which is expressed as π = { P 1 , P 2 , . . . , P C }, wherein P i represents the i- th job (job partition), that is, the data item of the query set to be broadcast by the i- th channel, and , ie, P i includes the data item of the set of queries to which it is assigned, ; and | P i | represents the number of data items included in the i- th work, that is, the number of data items to be broadcast by the i- th channel.

本發明用於改善最差等待時間的工作劃分方法包含下列步驟。The work division method for improving the worst wait time of the present invention comprises the following steps.

首先,該運算模式決定模組12接收該等查詢集合並據以決定該工作劃分處理模組13的運算模式;其決定的判斷原則如下:若可自該查詢資料集合組中找出至少一連續關聯元件(connected component),則決定該工作劃分處理模組13的運算模式為一第一運算模式,該連續關聯元件定義為→…→,其中,;若該查詢資料集合組的所有查詢集合兩兩彼此為不相關聯(disjoint),且並非所有的|Q i |皆為2的次方(power of 2),則決定該工作劃分處理模組13的運算模式為一第二運算模式;否則,即,該查詢資料集合組的所有查詢集合兩兩彼此為不相關聯,且所有的|Q i |皆為2的次方,則決定該工作劃分處理模組13的運算模式為一第三運算模式。First, the operation mode determining module 12 receives the query sets and determines the operation mode of the work partition processing module 13; the decision principle of the decision is as follows: if at least one consecutive one can be found from the query data set group The connected component determines that the operation mode of the work partition processing module 13 is a first operation mode, and the continuous associated component is defined as →...→ ,among them, If the query sets of the query data collection group are not associated with each other (disjoint), and not all of the | Q i | are powers of 2, then the work division processing module is determined. The operation mode of 13 is a second operation mode; otherwise, that is, all the query sets of the query data collection group are not associated with each other, and all | Q i | are 2 powers, then the work is determined. The operation mode of the division processing module 13 is a third operation mode.

繼而,該工作劃分處理模組13根據該運算模式決定模組12所決定的運算模式及該等查詢集合,以得到該近似最佳工作劃分結果或該最佳工作劃分結果,其中,該 第一、二運算模式主要是採用啟發式演算法來得到該近似最佳工作劃分結果,其係基於下列5個啟發規則(Heuristic 1~5);該第三運算模式主要是採用確定性演算法來得到該最佳工作劃分結果,其係基於下列3個輔助定理(Lemma 1~3)。在本說明書中,係省略該等啟發規則及輔助定理之證明。Then, the work division processing module 13 determines the operation mode determined by the module 12 and the query sets according to the operation mode to obtain the approximate optimal work division result or the optimal work division result, where The first and second computation modes mainly use the heuristic algorithm to obtain the approximate optimal work division result, which is based on the following five heuristic rules (Heuristic 1~5); the third operation mode mainly uses the deterministic algorithm. To get the best work division result, it is based on the following three auxiliary theorems (Lemma 1~3). In the present specification, the proof of the heuristic rule and the auxiliary theorem is omitted.

Heuristic 1~5分別敘述如下:Heuristic 1~5 are described as follows:

【Heuristic 1】:相關聯的(overlapped)查詢集合最好被分配到同一個工作。[Heuristic 1]: The associated (overlapped) query set is preferably assigned to the same job.

【Heuristic 2】:對於其資料項數目較大的查詢集合,即使此等查詢集合在同一個連續關聯元件,也必須被拆開分配(allocated apart)。[Heuristic 2]: For a query set whose number of data items is large, even if these query sets are in the same continuous association element, they must be allocated apart.

【Heuristic 3】:若在該等查詢集合中存在其資料項數目小的不相關聯之查詢集合,則將此等查詢集合以其資料項數目為遞減的順序(descending order)一個接一個(one by one)地分配到其資料項數目較小的工作。[Heuristic 3]: If there are unrelated query sets whose number of data items is small in the query set, the query sets are one by one in descending order (the descending order) By one) is assigned to a job whose number of items is small.

【Heuristic 4】:在尋求該近似最佳工作劃分結果的過程中,對於每次暫時(temporary)得到的該工作劃分結果,試著自P 1 找出某一查詢集合Q (k ) ,並將其分配至該工作劃分結果內其資料項數目較小的工作中適當的一工作。[Heuristic 4]: In the process of seeking the approximate optimal work division result, try to find a certain query set Q ( k ) from P 1 for each work division result obtained by temporary (temporary ) , and It is assigned to an appropriate job in the work with a smaller number of items in the work division result.

【Heuristic 5】:Q (k ) 最好是一個與其他查詢集合不相關聯之查詢集合。[Heuristic 5]: Q ( k ) is preferably a set of queries that are not associated with other query sets.

Lemma 1~3分別敘述如下:Lemma 1~3 are described as follows:

【Lemma 1】:令一個整數集合A ={a 1 ,a 2 ,...,a m },其中,對於i =1,2,...,ma i {20 ,21 ,...,2 k -1 };若a 1 a 2 a m ,則存在唯一的一個整數r 使得[Lemma 1]: Let a set of integers A = { a 1 , a 2 ,..., a m }, where, for i =1, 2,..., m , a i {2 0 , 2 1 ,...,2 k -1 }; if a 1 a 2 ... a m and , there is a unique integer r that makes .

【Lemma 2】:令一個AP (m )符合|Q 1 ||Q 2 ||Q m |,並令ε * 為該第三模式下的一最佳等待時間,且n 0 =Max {|Q 1 |,|Q 2 |,...,|Q m |}=|Q 1 |;若,則存在C 個不相 關聯之子集合S i 符合|S i |=n 0 ,i =1,2,...,C[Lemma 2]: Let an AP ( m ) meet | Q 1 | | Q 2 | ... | Q m |, and let ε * be an optimal waiting time in the third mode, and n 0 = Max {| Q 1 |, | Q 2 |,..., | Q m |}=| Q 1 |;if , then there are C unrelated subsets S i in accordance with | S i |= n 0 , i =1, 2, ..., C .

【Lemma 3】:令ε k 為該第三模式下第k 次運算時的一最佳等待時間,且令,其中,Q i 屬於該第三模式下第k 次運算時的查詢資料集合組,即,Q i AP (m -r 1 -r 2 -…-r k );若,則ε k =n k [Lemma 3]: Let ε k be the optimal waiting time for the kth operation in the third mode, and let Where Q i belongs to the set of query data sets at the kth operation in the third mode, ie, Q i AP ( m - r 1 - r 2 -...- r k ); , then ε k = n k .

以下即就該第一、二、三運算模式分別進行說明。The following describes the first, second, and third arithmetic modes.

第一運算模式First operation mode

參閱圖1至圖3,在該第一運算模式下,該工作劃分處理模組13所執行的步驟進一步分為由該啟發式演算法運算單元130之初始化單元131所執行的一初始化階段(initial phase),及由該啟發式演算法運算單元130之調整單元132所執行的一調整階段(tuning phase); 該初始化階段係基於Heuristic 1~3,其包括步驟201~205;該調整階段係基於Heuristic 4~5,其包括步驟206~212。Referring to FIG. 1 to FIG. 3, in the first operation mode, the step performed by the work division processing module 13 is further divided into an initialization phase (initial) performed by the initialization unit 131 of the heuristic algorithm operation unit 130. Phase), and a tuning phase performed by the adjusting unit 132 of the heuristic algorithm operation unit 130; The initialization phase is based on Heuristic 1~3, which includes steps 201-205; the adjustment phase is based on Heuristic 4~5, which includes steps 206-212.

在步驟201中,初始該工作劃分結果的C個工作,設定P 1 =P 2 =…=P C =,該等工作分別對應於該等頻道。In step 201, the initial work of the work division result is set, and P 1 = P 2 =...= P C = These jobs correspond to the channels, respectively.

在步驟202中,對於該查詢資料集合組中|Q i | α 的查詢集合,將其等平均分配到該工作劃分結果的該等工作,其中,α 為預設的一集合大小(size)臨界值。In step 202, the query for data collection Group | Q i | The query set of α is equally distributed to the work of the work partition result, where α is a preset set size threshold.

在步驟203中,自該查詢資料集合組內未於步驟202中被分配的剩餘(remaining)之查詢集合中,找出至少一連續關聯元件。In step 203, at least one consecutive associated element is found from the set of remaining queries in the set of query data sets that are not allocated in step 202.

在步驟204中,將步驟203中所找出的連續關聯元件中屬於同一連續關聯元件的查詢集合分配至同一工作,且對分配後的該工作劃分結果進行調整以滿足一工作大小排序:|P 1 ||P 2 ||P C |。In step 204, the query set belonging to the same continuous associative component among the consecutive associated components found in step 203 is assigned to the same work, and the assigned work partitioning result is adjusted to satisfy a work size order: | P 1 | | P 2 | ... | P C |.

在步驟205中,將該查詢資料集合組中未於步驟204中被分配的剩餘之查詢集合分配至該工作劃分結果的該等工作,且對分配後的該工作劃分結果進行調整以滿足該工作大小排序:|P 1 ||P 2 ||P C |,P i 包括其在初使化階段所分配到的查詢集合的資料項。In step 205, the remaining query sets that are not allocated in step 204 in the query data collection group are allocated to the work of the work division result, and the assigned work division result is adjusted to meet the work. Sort by size: | P 1 | | P 2 | ... | P C |, P i includes the data items of the set of queries to which it was assigned during the initialization phase.

在步驟206中,以P C -β +1 ,P C -β +2, ...,P C 作為後段的β 個候選(candidate)工作,其中,β 為預設的一候選者臨界值。In step 206, P C - β +1 , P C - β +2, ..., P C are used as β candidates for the latter stage, where β is a predetermined candidate threshold.

在步驟207中,判斷是否存在滿足一調整條件的查詢集合Q (k ) 及工作P j ,其中,該調整條件為:自P 1 將此查詢集合Q (k ) 移到該等候選工作其中之一P j j {C -β +1,C -β +2,...,C },可使得|P 1 |所減少的數量為目前最多,且同時使得|P j |所增加的數量為目前最少;若步驟207的判斷結果為是,則至步驟208繼續進行處理,否則,至步驟210繼續進行處理。In step 207, it is determined whether there is satisfied a set of queries adjustment condition Q (k) and work P j, wherein the conditions are adjusted as follows: P 1 from this set of queries Q (k) where the work moved to the plurality of candidate a P j , j { C - β +1, C - β +2,..., C }, such that the number of | P 1 | is reduced by the current maximum, and at the same time the number of | P j | is increased to the least; If the result of the determination in step 207 is YES, then the process proceeds to step 208. Otherwise, the process proceeds to step 210.

在步驟208中,將符合該調整條件的查詢集合Q (k )P 1 移到符合該調整條件的P j In step 208, a set of queries Q in line with the adjustment condition (k) from P 1 moves to meet the conditions for adjusting P j.

在步驟209中,調整該工作劃分結果使其調整後滿足該工作大小排序:|P 1 ||P 2 ||P C |,然後回到步驟207之判斷。In step 209, the work division result is adjusted to be adjusted to satisfy the work size order: | P 1 | | P 2 | ... | P C |, then return to the judgment of step 207.

在步驟210中,依一微調規則進行微調,在本較佳實施例中,係利用一個交換對(substitutive pair)來對該工作劃分結果進行微調,微調過程中的該工作劃分結果仍需維持該工作大小排序:|P 1 ||P 2 ||P C |。其中,該交換對以(Q r ,Q v )來表示,Q r 為該等候選工作內的其中一查詢集合,或該等候選工作內的其中多個查詢集合的聯集(union),而Q v 為一虛擬(virtual)查詢集合,其係由P 1 的其中一查詢集合Q i 所拆出的一子集合。在此微調過程中,是先將P 1 中的Q j (ij )及差集Q i -Q v ,與Q r 交換,接著將差集Q i -Q v 移至該等候選工作中資料項數目較少的工作,微調過程結束後,再將Q v 合併到原本的Q i 。其中,差集Q i -Q v 代表Q i 中扣除Q v 後的資料項集合。In step 210, the fine adjustment is performed according to a fine adjustment rule. In the preferred embodiment, the work division result is fine-tuned by using a substitute pair, and the work division result in the fine adjustment process still needs to be maintained. Work size sorting: | P 1 | | P 2 | ... | P C |. Wherein the exchange pair is represented by ( Q r , Q v ), Q r is one of the query sets within the candidate jobs, or a union of the plurality of query sets within the candidate jobs, and Q v is a virtual query set, which is a subset of one of the query sets Q i of P 1 . In this fine tuning process, Q j ( ij ) and difference set Q i - Q v in P 1 are first exchanged with Q r , and then the difference set Q i - Q v is moved to the candidate jobs. The work with a small number of data items, after the fine-tuning process is finished, merges Q v into the original Q i . Wherein the difference between the set Q i - the set of data items Q i Q v Q v deducted representatives.

在步驟211中,若步驟210的微調結果為成功,即,可利用該交換對在維持該工作大小排序的前提下對該工作劃分結果進一步完成微調,則回到步驟207之判斷,否則(即,無法依該微調規則進行微調),至步驟212繼續進行處理。In step 211, if the result of the fine adjustment of step 210 is successful, that is, the exchange may be used to further fine-tune the work division result while maintaining the work size ranking, then return to the judgment of step 207, otherwise (ie, , it is impossible to fine-tune according to the fine-tuning rule), and the processing proceeds to step 212.

步驟210~211進一步配合一範例來說明,如圖3的(a)~(d)所示,在本範例中,β =2。在進行微調之前,該工作劃分結果如圖3的(a)所示;由P 1 的其中一查詢集合Q 2 ={d 1 ,d 2 }所拆出一子集合Q v ={d 2 },而Q 2 -Q v ={d 1 };接著如圖3的(b)~(c)所示,將P 1 中的Q 1Q 2 -Q v ,與該候選工作中的Q r 交換,其中,田於|Q 1Q 2 |=|Q r Q v |,所以交換後的該工作劃分結果會維持該工作大小排序:|P 1 ||P 2 ||P C |;最後如圖3的(d)所示,將Q v 合併到原本的Q 2Steps 210 to 211 are further described in conjunction with an example, as shown in (a) to (d) of FIG. 3, in this example, β = 2. Prior to trimming, the result of dividing the work of FIG. 3 (a),; wherein the P 1 of a query set Q 2 = {d 1, d 2} is split out a subset of Q v = {d 2} And Q 2 - Q v = { d 1 }; then, as shown in (b) to (c) of FIG. 3 , Q 1 and Q 2 - Q v in P 1 , and Q r in the candidate work Exchange, where, Tian Yu | Q 1Q 2 |=| Q r Q v |, so the result of the work division after the exchange will maintain the work size order: | P 1 | | P 2 | ... | P C |; Finally, as shown in (d) of FIG. 3, Q v is merged into the original Q 2 .

在步驟212中,以此時的該工作劃分結果作為該近似最佳工作劃分結果,而與該近似最佳工作劃分結果對應的一近似最佳的「最差等待時間」為|P 1 |,即,第一頻道廣播所有資料項所需的時間。In step 212, the work division result at this time is used as the approximate best work division result, and an approximate optimal "worst wait time" corresponding to the approximate best work division result is | P 1 |, That is, the time required for the first channel to broadcast all data items.

第二運算模式Second operation mode

參閱圖1與圖4,在該第二運算模式下,該工作劃分處理模組13所執行的步驟大致上類似於該第一運算模式,分為由該啟發式演算法運算單元130之初始化單元131所執行的一初始化階段,及由該啟發式演算法運算單元130之調整單元132所執行的一調整階段;其中,該初始化階段的步驟與該第一運算模式略有不同,其中查詢集 合兩兩不相關聯,其被簡化為包括步驟301、302;而該調整階段的步驟類似於該第一運算模式;以下僅就略有不同的該初始化階段進行描述。Referring to FIG. 1 and FIG. 4, in the second operation mode, the step performed by the work division processing module 13 is substantially similar to the first operation mode, and is divided into an initialization unit by the heuristic algorithm operation unit 130. An initialization phase performed by 131, and an adjustment phase performed by the adjustment unit 132 of the heuristic algorithm operation unit 130; wherein the steps of the initialization phase are slightly different from the first operation mode, wherein the query set The two-two are not associated, which is simplified to include steps 301, 302; and the steps of the adjustment phase are similar to the first operational mode; the following is only described with slightly different initialization phases.

在步驟301中,初始該工作劃分結果的C個工作,設定P 1 =P 2 =…=P C =In step 301, the C jobs of the work division result are initially set, and P 1 = P 2 =...= P C = .

在步驟302中,將該查詢資料集合組的查詢集合分配至該工作劃分結果的該等工作,且對分配後的該工作劃分結果進行調整以滿足該工作大小排序:|P 1 ||P 2 ||P C |。In step 302, the query set of the query data collection group is allocated to the work of the work division result, and the assigned work division result is adjusted to meet the work size order: | P 1 | | P 2 | ... | P C |.

第三運算模式Third operation mode

參閱圖1與圖5,在該第三運算模式下,處理兩兩不相關連的查詢集合,且查詢集合大小為2的次方,該確定性演算法運算單元133執行如下步驟。Referring to FIG. 1 and FIG. 5, in the third operation mode, two or two unrelated query sets are processed, and the query set size is a power of 2, and the deterministic algorithm operation unit 133 performs the following steps.

在步驟401中,將該查詢資料集合組的查詢集合進行排序,排序後的該查詢資料集合組AP (m )={Q 1 ,Q 2 ,...,Q m }符合|Q 1 ||Q 2 ||Q m |。In step 401, the query set of the query data collection group is sorted, and the sorted query data collection group AP ( m )={ Q 1 , Q 2 , . . . , Q m } is in accordance with | Q 1 | | Q 2 | ... | Q m |.

在步驟402中,初始該工作劃分結果的C個工作,設定P 1 =P 2 =…=P C =,該等工作分別對應於該等頻道。In step 402, the initial work of the work division result is set, and P 1 = P 2 =...= P C = These jobs correspond to the channels, respectively.

在步驟403中,初始一查詢集合索引(以i 表示)、一運算次數(iteration,以k 表示),及一最佳等待時間(以ε * 表示),i =1、k =0,及ε * =0。In step 403, an initial query set index (represented by i ), an operation count (iteration, denoted by k ), and an optimal wait time (represented by ε * ), i =1, k =0, and ε * =0.

在步驟404中,自該查詢資料集合組中選出其資料項數目為最大的查詢集合,n k 代表此次選出的查詢集合的資料項數目,即,n k =|Q i |。In step 404, a query set whose number of items is the largest is selected from the set of query data sets, and n k represents the number of items of the selected set of queries, that is, n k =| Q i |.

在步驟405中,根據n k 計算該近似最佳等待時間,將目前最佳等待時間ε * 遞增n k ,即,ε =ε +n k In step 405, the waiting time is calculated according to the approximate optimum n k, the presently preferred incremental latency ε * n k, i.e., ε = ε + n k.

在步驟406中,設定指示目前處理中的工作的一工作索引(以j 表示),j =1。In step 406, a work index (indicated by j ) indicating the work in the current process is set, j =1.

在步驟407中,將Q i 分配至目前處理中的工作P j P j 包括其所分配到的查詢集合的資料項。In step 407, Q i is assigned to the currently processed work P j , P j including the data item of the query set to which it is assigned.

在步驟408中,更新該查詢集合索引,即,設定i =i +1。In step 408, the query set index is updated, ie, i = i +1 is set.

在步驟409中,當目前處理中的工作所包括的資料項數目等於該最佳等待時間時,即,當|P j |=ε * 時,將目前處理中的工作改成下一個工作,即,設定j =j +1。In step 409, when the number of data items included in the currently processed work is equal to the optimal waiting time, that is, when | P j |= ε * , the current processing work is changed to the next work, that is, , set j = j +1.

在步驟410中,判斷預設的一第一終止條件是否成立,其中,該第一終止條件為:所有的查詢集合皆已分配至該等工作(即,i >m ),或所有工作皆已分配到至少一個查詢集合(即,j >C );若該第一終止條件尚未成立,則回到步驟407,否則,至步驟411繼續進行處理。In step 410, it is determined whether a preset first termination condition is established, wherein the first termination condition is: all the query sets have been assigned to the work (ie, i > m ), or all work has been Assigned to at least one query set (ie, j > C ); if the first termination condition has not been established, then returns to step 407, otherwise, proceeds to step 411 to continue processing.

在步驟411中,判斷預設的一第二終止條件是否成立,其中,該第二終止條件為:所有的查詢集合皆已分配至該等工作(即,i >m );若該第二終止條件尚未成立,則至步驟412繼續進行處理,否則,至步驟413繼續進行處理。In step 411, it is determined whether a preset second termination condition is established, wherein the second termination condition is: all the query sets have been assigned to the work (ie, i > m ); if the second termination If the condition has not been established, then processing continues to step 412, otherwise, processing continues to step 413.

在步驟412中,更新該運算次數,即,設定k =k +1;並將該查詢資料集合組更新為未被分配的剩餘之查詢集合;然後回到步驟404繼續進行處理。In step 412, the number of operations is updated, i.e., k = k +1 is set; and the set of query data sets is updated to the remaining set of queries that are not allocated; then, returning to step 404, processing continues.

在步驟413中,以此時的該工作劃分結果作為該最佳工作劃分結果,而與該最佳工作劃分結果對應的該最佳的「最差等待時間」為ε * =|P 1 |=n 0 +n 1 +…n k In step 413, the work division result at this time is taken as the best work division result, and the optimal "worst wait time" corresponding to the optimal work division result is ε * =| P 1 |= n 0 + n 1 +... n k .

最後,該工作劃分處理模組13輸出該最佳工作劃分結果,以作為將該等資料項分配到該等頻道以進行廣播的依據。Finally, the work partitioning processing module 13 outputs the best work partitioning result as a basis for distributing the data items to the channels for broadcasting.

綜上所述,本發明所提出的方法與系統並非根據「被存取的資料項之需求機率」來得到資料分配的一最佳解,因此,對於需求冷門資料項的客戶端而言,其所需的等待時間(也就是所謂的最差等待時間)可獲得改善;再者,本發明所提出的方法與系統可以有效率的方式來解決極為耗時的工作分配問題,甚至還可以將現有技術中,「不能分開處理的查詢集合的內容先暫時分開」,利用交換對及其虛擬查詢集合的概念來進行微調,故確實能達成本發明的目的。In summary, the method and system proposed by the present invention do not obtain an optimal solution for data distribution based on the "demand probability of the accessed data item". Therefore, for a client that needs an unpopular data item, The required waiting time (also known as the worst waiting time) can be improved; furthermore, the method and system proposed by the present invention can solve the extremely time-consuming work assignment problem in an efficient manner, and even existing In the technology, "the contents of the query set that cannot be processed separately are temporarily separated", and the concept of the exchange pair and its virtual query set are fine-tuned, so that the object of the present invention can be achieved.

惟以上所述者,僅為本發明之較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited thereto, that is, the simple equivalent changes and modifications made by the patent application scope and patent specification content of the present invention, All remain within the scope of the invention patent.

401~413‧‧‧步驟401~413‧‧‧Steps

Claims (4)

一種用於改善最差等待時間的工作劃分方法,適用於將N 筆資料項分配到C 個頻道以進行廣播,其中該等資料項所形成的一資料集合表示為D ={d 1 ,d 2 ,...,d N },該方法係以電腦來實現並包含下列步驟:(A)接收來自於至少一客戶端的m 個查詢集合,並定義Q i 代表第i 個查詢集合,|Q i |代表第i 個查詢集合所包括的資料項數目,對於i =1,2,...,mQ i D ,且所有的|Q i |皆為2的次方,且該等查詢集合兩兩彼此為不相關聯,該等查詢集合形成一查詢資料集合組並表示為 (B)自該查詢資料集合組中選出其資料項數目為最大的查詢集合,n k 代表此次選出的查詢集合的資料項數目;(C)根據n k 計算一最佳等待時間,將目前最佳等待時間ε * 遞增n k ,即,ε * =ε *+ n k ;(D)根據該最佳等待時間將該查詢資料集合組之查詢集合分配至一工作劃分結果的C 個工作,該等工作分別對應於該等頻道,P j 代表第j 個工作,P j 包括其所分配到的查詢集合的資料項,其中步驟(D)包括下列子步驟:(d-1)以第j 個工作作為目前處理中的工作,依序將該等查詢集合分配至目前處理中的工作;(d-2)|P j |代表第j 個工作所包括的資料項數目, 當目前處理中的工作所包括的資料項的資料項數目等於該最佳等待時間時,即,當|P j |=ε * 時,將目前處理中的工作改成下一個工作,即,j =j +1;(d-3)重複執行子步驟(d-1)~(d-2)直到預設的一第一終止條件成立為止;(E)將該查詢資料集合組更新為未於步驟(D)中被分配的剩餘之查詢集合;及(F)重複步驟(B)~(E)直到預設的一第二終止條件成立為止,並以此時的該工作劃分結果作為一最佳工作劃分結果,其中該最佳工作劃分結果係用以作為將該等資料項分配到該等頻道以進行廣播的依據。A work division method for improving the worst wait time, which is suitable for distributing N data items to C channels for broadcasting, wherein a data set formed by the data items is represented as D = { d 1 , d 2 ,..., d N }, the method is implemented by a computer and includes the following steps: (A) receiving m query sets from at least one client, and defining Q i to represent the i- th query set, | Q i | represents the number of data items included in the i- th query set, for i = 1, 2, ..., m , Q i D , and all | Q i | are the power of 2, and the query sets are not related to each other, and the query sets form a query data set and are represented as (B) selecting the query set whose largest number of data items is the largest from the query data collection group, n k represents the number of data items of the selected query set; (C) calculating an optimal waiting time according to n k , which will present The optimal waiting time ε * is incremented by n k , that is, ε * = ε * + n k ; (D) assigning the query set of the query data set to the C work of a work division result according to the optimal waiting time, The jobs correspond to the channels, respectively, P j represents the jth job, P j includes the data items of the set of queries to which they are assigned, wherein step (D) includes the following sub-steps: (d-1) to j Work as the current work in progress, sequentially assigning the set of queries to the work currently being processed; (d-2)| P j | represents the number of data items included in the jth work, when currently in process When the number of data items of the data item included in the work is equal to the optimal waiting time, that is, when | P j |= ε * , the current work in progress is changed to the next work, that is, j = j +1; (d-3) repeatedly performing sub-steps (d-1) to (d-2) until a preset first termination condition is established; (E Updating the query data collection group to the remaining query sets not allocated in step (D); and (F) repeating steps (B) to (E) until a preset second termination condition is established, and The work division result at this time is used as an optimal work division result, wherein the best work division result is used as a basis for allocating the data items to the channels for broadcasting. 如請求項1所述的用於改善最差等待時間的工作劃分方法,還包含步驟(B)之前的一步驟(G):(G)進行以下初始化:將該工作劃分結果初始為C 個空的工作,並設定該近似最佳等待時間為0,即,ε * =0。The work division method for improving the worst waiting time as described in claim 1 further includes a step (G) before step (B): (G) performing the following initialization: initializing the work division result into C empty Work and set the approximate optimal wait time to 0, ie, ε * =0. 如請求項1所述的用於改善最差等待時間的工作劃分方法,其中子步驟(d-3)中所述的該第一終止條件為:所有的查詢集合皆已分配至該等工作,或所有工作皆已分配到至少一個查詢集合,步驟(F)中所述的該第二終止條件為:所有的查詢集合皆已分配至該等工作。 The work division method for improving the worst wait time as described in claim 1, wherein the first termination condition described in the sub-step (d-3) is: all the query sets are allocated to the work, Or all work has been assigned to at least one query set, and the second termination condition described in step (F) is that all of the query sets have been assigned to the work. 一種用於改善最差等待時間的工作劃分系統,適用於將N 筆資料項分配到C 個頻道以進行廣播,該系統包含一工作劃分處理模組,及供該等資料項儲存的一儲存單元 ,該工作劃分處理模組被規劃以進行如請求項1至3中任一項所述的用於改善最差等待時間的工作劃分方法。A work partitioning system for improving the worst waiting time, which is suitable for distributing N data items to C channels for broadcasting, the system comprising a work partition processing module, and a storage unit for storing the data items The work division processing module is planned to perform the work division method for improving the worst wait time as described in any one of claims 1 to 3.
TW103119394A 2010-12-20 2010-12-20 Work division method and system for improving worst waiting time TWI511543B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103119394A TWI511543B (en) 2010-12-20 2010-12-20 Work division method and system for improving worst waiting time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103119394A TWI511543B (en) 2010-12-20 2010-12-20 Work division method and system for improving worst waiting time

Publications (2)

Publication Number Publication Date
TW201436501A TW201436501A (en) 2014-09-16
TWI511543B true TWI511543B (en) 2015-12-01

Family

ID=51943529

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103119394A TWI511543B (en) 2010-12-20 2010-12-20 Work division method and system for improving worst waiting time

Country Status (1)

Country Link
TW (1) TWI511543B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050086350A1 (en) * 2003-10-20 2005-04-21 Anthony Mai Redundancy lists in a peer-to-peer relay network
TWI259013B (en) * 2002-05-06 2006-07-21 Interdigital Tech Corp Method and system for reducing message instances
TWI267306B (en) * 2004-07-12 2006-11-21 Sony Corp Coding method and device, decoding method and device, and program thereof
TWI286275B (en) * 2004-09-16 2007-09-01 Sony Corp License source apparatus, license destination apparatus, license transfer method, and computer-readable medium for digital content rights
TWI290427B (en) * 2003-02-17 2007-11-21 Irdeto Access Bv Digital content distribution system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI259013B (en) * 2002-05-06 2006-07-21 Interdigital Tech Corp Method and system for reducing message instances
TWI290427B (en) * 2003-02-17 2007-11-21 Irdeto Access Bv Digital content distribution system
US20050086350A1 (en) * 2003-10-20 2005-04-21 Anthony Mai Redundancy lists in a peer-to-peer relay network
TWI267306B (en) * 2004-07-12 2006-11-21 Sony Corp Coding method and device, decoding method and device, and program thereof
TWI286275B (en) * 2004-09-16 2007-09-01 Sony Corp License source apparatus, license destination apparatus, license transfer method, and computer-readable medium for digital content rights

Also Published As

Publication number Publication date
TW201436501A (en) 2014-09-16

Similar Documents

Publication Publication Date Title
CA2317081C (en) Estimation of column cardinality in a partitioned relational database
US7082606B2 (en) Dedicated heterogeneous node scheduling including backfill scheduling
Bender et al. Cache-adaptive algorithms
Lu et al. Flexible and efficient resolution of skyline query size constraints
CN103345514A (en) Streamed data processing method in big data environment
Schlag et al. Scalable edge partitioning
CN112085644B (en) Multi-column data ordering method and device, readable storage medium and electronic equipment
WO2016183364A1 (en) Communication for efficient re-partitioning of data
WO2017118335A1 (en) Mapping method and device
Shi et al. Efficient parallel data retrieval protocols with mimo antennae for data broadcast in 4g wireless communications
CN111699481A (en) Reducing model update induced errors
CN108920105A (en) Diagram data distributed storage method and device based on community structure
Ji et al. Local graph edge partitioning
Li et al. Group reassignment for dynamic edge partitioning
CN113204559B (en) Multidimensional KD tree optimization method on GPU
Gao et al. Global optimization for multi-channel wireless data broadcast with AH-tree indexing scheme
Peng et al. Vcolor: A practical vertex-cut based approach for coloring large graphs
EP1524599B1 (en) A method of reassigning objects to processing units
TWI511543B (en) Work division method and system for improving worst waiting time
Taimouri et al. Rbsep: a reassignment and buffer based streaming edge partitioning approach
TWI450521B (en) Job partition method and system for minimizing the worst waiting time
Li et al. GAP: Genetic algorithm based large-scale graph partition in heterogeneous cluster
JP2001022621A (en) Multidimensional database management system
Nasridinov et al. A two-phase data space partitioning for efficient skyline computation
CN113377523A (en) Heterogeneous sensing stream graph partitioning method

Legal Events

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