TWI423116B - Teamwork printing system and method - Google Patents

Teamwork printing system and method Download PDF

Info

Publication number
TWI423116B
TWI423116B TW97121164A TW97121164A TWI423116B TW I423116 B TWI423116 B TW I423116B TW 97121164 A TW97121164 A TW 97121164A TW 97121164 A TW97121164 A TW 97121164A TW I423116 B TWI423116 B TW I423116B
Authority
TW
Taiwan
Prior art keywords
task
printer
group
printer group
module
Prior art date
Application number
TW97121164A
Other languages
Chinese (zh)
Other versions
TW200951801A (en
Inventor
xiao-jun Chang
Original Assignee
Hon Hai Prec Ind Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW97121164A priority Critical patent/TWI423116B/en
Publication of TW200951801A publication Critical patent/TW200951801A/en
Application granted granted Critical
Publication of TWI423116B publication Critical patent/TWI423116B/en

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Description

集群式列印系統及方法 Cluster printing system and method

本發明涉及一種多設備協同工作系統及方法,尤其係關於一種集群式列印系統及方法。 The present invention relates to a multi-device cooperative working system and method, and more particularly to a cluster printing system and method.

目前,印表機已經成為我們生活及工作不可缺少之工具。傳統列印系統之列印流程主要包括以下步驟:用戶傳送列印資料到列印伺服器;列印伺服器將列印資料加入印表機任務佇列;印表機列印資料。隨著列印需求之增加,需求單位往往會購置多台列印設備,如此就形成了多條這樣之流程,在一定程度上解決了列印工作量大和速度慢之問題,然而上述流程仍然存在不足之處:一、缺少優先機制,靈活性較差:比如某一印表機正在打印數千員工之薪資單,而此時一份重要文件急需列印,然而該列印請求送到印表機後依然需要等待薪資單列印完畢才能列印;二、單流程運作,速度慢,容易造成資源閒置:由於各個印表機都執行各自獨立流程,互不相關,經常會出現多個印表機處於閒置狀態,而某一台印表機卻長時間處於工作狀態之情況;三、缺乏異常處理機制,不能靈活處理列印過程中出現之一些意外情況:當某一印表機出現缺紙、碳粉不足或其他故障時,該印表機只能停止處理列印任務,而其它可以正常工作之印表機可能 處於閒置狀態。 At present, printers have become an indispensable tool for our lives and work. The printing process of the traditional printing system mainly includes the following steps: the user transfers the printing data to the printing server; the printing server adds the printing data to the printer task queue; the printer prints the data. With the increase in printing requirements, demand units often purchase multiple printing equipment, thus forming a number of such processes, to a certain extent, to solve the problem of large print workload and slow speed, but the above process still exists. Inadequacies: First, the lack of priority mechanism, the flexibility is poor: for example, a printer is printing the salary list of thousands of employees, and at this time an important document urgently needs to be printed, but the print request is sent to the printer After that, you still need to wait for the payroll to be printed before printing. Second, the single-process operation is slow, and it is easy to cause the resources to be idle. Since each printer performs its own independent process and is irrelevant, there are often multiple printers in existence. Idle state, but a certain printer is in working condition for a long time; Third, lack of abnormal handling mechanism, can not flexibly handle some unexpected situations in the printing process: when a printer is out of paper, carbon The printer can only stop processing print jobs when there is insufficient powder or other malfunctions, and other printers that can work normally may Is in an idle state.

鑒於以上內容,有必要提供一種集群式列印系統及方法,可以實現多個列印設備協同工作,避免列印資源閒置,提高列印效率。 In view of the above, it is necessary to provide a cluster printing system and method, which can realize multiple printing devices to work together to avoid printing idle resources and improve printing efficiency.

本發明提供一種集群式列印系統,該系統包括一台伺服器,該伺服器與至少一用戶端電腦及多個印表機相連接。該伺服器包括:印表機群組劃分模組,用於為用戶端電腦分配對應之印表機群組;列印檔案拆分模組,用於選擇檔案拆分條件、並根據選擇之檔案拆分條件將用戶端電腦發送之各列印檔案拆分為多個任務塊;優先順序設置模組,用於設置各列印檔案之優先順序;列印任務分發模組,用於根據設置之優先順序將各列印檔案拆分後得到之任務塊添加到對應印表機群組之總任務佇列中;監測模組,用於監測印表機群組中各個印表機是否正常工作;及列印任務分發模組,還用於將所述任務塊按照在對應印表機群組總任務佇列中之排列順序分發至對應印表機群組中正常工作之印表機。 The present invention provides a cluster printing system that includes a server that is coupled to at least one client computer and a plurality of printers. The server comprises: a printer group division module for assigning a corresponding printer group to the client computer; a print file splitting module for selecting a file splitting condition and according to the selected file The splitting condition splits each printed file sent by the client computer into multiple task blocks; the priority setting module is used to set the priority order of each printed file; and the task distribution module is printed according to the setting. The priority order is to add the task blocks obtained by splitting the printed files to the total task queue of the corresponding printer group; the monitoring module is used for monitoring whether the printers in the printer group are working normally; And printing the task distribution module, and also for distributing the task blocks to the printers in the corresponding printer group in the order of arrangement in the corresponding printer group total task queue.

本發明還提供一種集群式列印方法,該方法包括以下步驟:(A)為用戶端電腦分配對應之印表機群組;(B)接收用戶端電腦發送之列印檔案;(C)選擇拆分條件、並根據選擇之拆分條件將接收到之列印檔案拆分為任務塊;(D)設置列印檔案之優先順序;(E)根據設置之優先順序將列印檔案拆分後得到之任務塊添加到對應印表機群組之總任務佇列中;(F)監測印表機群組中各個印表機是否正常工作;及(G)將所述任務塊按照在對應印表機群組總任務佇列中之排列順序分發至對應印表機群組中正常工作之印表機。 The present invention also provides a cluster printing method, the method comprising the steps of: (A) assigning a corresponding printer group to a client computer; (B) receiving a print file sent by a client computer; (C) selecting Splitting the conditions and splitting the received print files into task blocks according to the selected splitting conditions; (D) setting the priority order of the printed files; (E) splitting the printed files according to the set priority order The obtained task block is added to the total task queue of the corresponding printer group; (F) monitoring whether each printer in the printer group is working normally; and (G) pressing the task block according to the corresponding print The order in the total task queue of the watch group is distributed to the printers in the corresponding printer group.

相較於習知技術,本發明提供之集群式列印系統及方法能夠在不增加現有設備成本之前提下實現列印設備之協同工作,提高列印效率。 Compared with the prior art, the cluster printing system and method provided by the invention can realize the collaborative work of the printing device and improve the printing efficiency without increasing the cost of the existing equipment.

10‧‧‧用戶端電腦 10‧‧‧Customer computer

20‧‧‧伺服器 20‧‧‧Server

30‧‧‧印表機 30‧‧‧Printer

210‧‧‧印表機群組劃分模組 210‧‧‧Printer group division module

220‧‧‧列印檔案拆分模組 220‧‧‧Printing file splitting module

230‧‧‧優先順序設置模組 230‧‧‧Priority setting module

240‧‧‧監測模組 240‧‧‧Monitoring module

250‧‧‧列印任務分發模組 250‧‧‧Printing task distribution module

260‧‧‧顯示模組 260‧‧‧ display module

圖1係本發明集群式列印系統較佳實施例之硬體架構圖。 1 is a hardware architecture diagram of a preferred embodiment of the cluster printing system of the present invention.

圖2係圖1中伺服器之功能模組圖。 Figure 2 is a functional block diagram of the server in Figure 1.

圖3係用戶及對應之印表機群組示意圖。 Figure 3 is a schematic diagram of the user and the corresponding printer group.

圖4係本發明集群式列印方法較佳實施例之流程圖。 4 is a flow chart of a preferred embodiment of the cluster printing method of the present invention.

如圖1所示,係本發明集群式列印系統較佳實施例之硬體架構圖。該系統包括與一台伺服器20相連之多個用戶端電腦10及多個印表機30。用戶端電腦10向伺服器20發送列印檔案,伺服器20接收列印檔案後,將列印檔案進行拆分得到一系列任務塊、並根據用戶設置之優先順序將任務塊添加至總任務佇列,然後根據總任務佇列中各任務塊之排列順序將各任務塊分發到相應印表機群組之各個印表機30執行列印操作。 1 is a hardware architecture diagram of a preferred embodiment of the cluster printing system of the present invention. The system includes a plurality of client computers 10 and a plurality of printers 30 coupled to a server 20. The client computer 10 sends the print file to the server 20. After receiving the print file, the server 20 splits the print file to obtain a series of task blocks, and adds the task block to the total task according to the priority order set by the user. The columns are then distributed to the respective printers 30 of the respective printer group in accordance with the order of the task blocks in the total task queue to perform the printing operation.

如圖2所示,係伺服器20之功能模組圖。該伺服器20包括:印表機群組劃分模組210、列印檔案拆分模組220、優先順序設置模組230、監測模組240、列印任務分發模組250及顯示模組260。 As shown in FIG. 2, it is a functional module diagram of the server 20. The server 20 includes a printer group division module 210, a print file splitting module 220, a priority order setting module 230, a monitoring module 240, a print task distribution module 250, and a display module 260.

印表機群組劃分模組210用於供管理員分配不同用戶可以使用之印表機群組,及設定分配之印表機群組中各印表機處於繁忙狀態之預設值。所述預設值指之是印表機處於繁忙狀態時任務佇列中任務塊之數量。如圖3所示,印表機群組劃分模組210分配部門1 之用戶可以使用印表機群組1(包括印表機A、B、C),印表機群組劃分模組210分配部門2之用戶可以使用印表機群組2(包括印表機D、E、F)。分配原則可以考慮印表機所處位置與部門位置之就近性。 The printer group division module 210 is used for an administrator to allocate a printer group that can be used by different users, and to set a preset value of each printer in the assigned printer group in a busy state. The preset value refers to the number of task blocks in the task queue when the printer is in a busy state. As shown in FIG. 3, the printer group division module 210 allocates department 1 Users can use printer group 1 (including printers A, B, C), printer group division module 210 assigns department 2 users can use printer group 2 (including printer D , E, F). The principle of distribution can take into account the proximity of the location of the printer to the location of the department.

印表機群組劃分模組210還用於供用戶在分配之印表機群組中進一步選擇共同承擔列印任務之印表機。當一個印表機群組中印表機數量眾多,而用戶要請求之列印任務不是很龐大時,用戶可能不需要該印表機群組中所有之印表機協同執行該列印任務,則用戶可以根據需要在該印表機群組中選擇一個或多個印表機執行該列印任務,例如,部門1中之用戶a選擇印表機群組1中之印表機A及B、用戶b選擇印表機群組1中之印表機B及C執行列印任務。如果用戶不作進一步選擇,則印表機群組劃分模組210默認用戶選擇了相應印表機群組中之所有印表機執行其請求之列印任務,如若部門2中之用戶在請求列印任務之時候不作進一步選擇,則印表機群組劃分模組210默認部門2中之用戶選擇印表機群組2中之印表機D、E、F協同執行其列印任務。 The printer group division module 210 is also used for the user to further select a printer that shares the printing task among the assigned printer groups. When the number of printers in a printer group is large, and the print task requested by the user is not very large, the user may not need all the printers in the printer group to perform the printing task in cooperation. The user can select one or more printers in the printer group to perform the printing task as needed. For example, the user a in the department 1 selects the printers A and B in the printer group 1. User b selects printers B and C in printer group 1 to execute the print job. If the user does not make further selections, the printer group division module 210 defaults that the user selects all the printers in the corresponding printer group to execute the requested printing task, for example, if the user in department 2 is requesting to print When the task is not further selected, the printer group division module 210 defaults the user in the department 2 to select the printers D, E, and F in the printer group 2 to perform the printing task in cooperation.

列印檔案拆分模組220用於提供檔案拆分條件供用戶選擇、並根據用戶選擇之檔案拆分條件將接收到之列印檔案拆分為多個任務塊,檔案拆分條件可以分頁符號為單位,也可以分節符號或其他標誌為單位。例如,用戶a發送之一份列印檔案FILE1共有30頁,用戶b發送之一份列印檔案FILE2共有40頁,假如每10頁為一節,當用戶選擇以分節符號為檔案拆分條件時,可將FILE1拆分為3個任務塊FILE1.1、FILE1.2、FILE1.3,將FILE2拆分為4個任務塊FILE2.1、FILE2.2、FILE2.3、FILE2.4。 The print file splitting module 220 is configured to provide file splitting conditions for the user to select, and split the received print file into multiple task blocks according to the file splitting condition selected by the user, and the file splitting condition may be a page break symbol. For units, it can also be divided into sections or other symbols. For example, a print file FILE1 sent by user a has 30 pages, and a print file FILE2 sent by user b has 40 pages. If every 10 pages is a section, when the user chooses to use the section symbol as the file split condition, FILE1 can be divided into three task blocks FILE1.1, FILE1.2, FILE1.3, and FILE2 is divided into four task blocks FILE2.1, FILE2.2, FILE2.3, FILE2.4.

優先順序設置模組230用於供用戶設置列印檔案之優先順序,例如用戶可以根據列印檔案之需求緊迫性設置該列印檔案為一級、二級或三級。 The priority setting module 230 is used for the user to set the priority order of the printing file. For example, the user can set the printing file to the first level, the second level or the third level according to the urgency of the printing file.

列印任務分發模組250用於根據用戶設置之優先順序將列印檔案拆分後得到之任務塊添加到相應印表機群組之總任務佇列中。列印檔案級別越高,在印表機群組之總任務佇列中位置越靠前。例如,部門1中之用戶a、用戶b先後向印表機群組1發出列印請求,用戶a、用戶b分別設置其列印檔案File1、File2之優先順序為二級、一級,由於用戶b之列印檔案級別較用戶a之列印任務之級別高,故用戶a傳送之列印檔案File1拆分後得到之任務塊FILE1.1、FILE1.2、FILE1.3在印表機群組1之總任務佇列中處於用戶b傳送之列印檔案File2拆分後得到之任務塊FILE2.1、FILE2.2、FILE2.3、FILE2.4之後。 The print task distribution module 250 is configured to add the task blocks obtained by splitting the print files according to the priority order set by the user to the total task queue of the corresponding printer group. The higher the print file level, the higher the position in the total task queue of the printer group. For example, the user a and the user b in the department 1 issue a print request to the printer group 1, and the user a and the user b respectively set the priority order of the print files File1 and File2 to the second level and the first level, because the user b The file level of the print is higher than the print task of the user a. Therefore, the task block FILE1.1, FILE1.2, and FILE1.3 obtained by the user A transfer the file File1 are in the printer group 1 In the total task queue, after the task blocks FILE2.1, FILE2.2, FILE2.3, and FILE2.4 obtained after the split file File2 transmitted by the user b is obtained.

監測模組240用於監測印表機群組中各個印表機是否正常工作,及監測正常工作之印表機之任務佇列中任務塊之數量。 The monitoring module 240 is configured to monitor whether the printers in the printer group are working normally, and monitor the number of task blocks in the task queue of the normal working printer.

列印任務分發模組250還用於根據監測模組240監測之結果將所述任務塊按照在對應印表機群組總任務佇列中之排列順序分發至該印表機群組相應之印表機。例如,當監測模組240監測得到印表機群組1中之印表機A、B、C正常工作,且印表機A、B、C之任務佇列中任務塊之數量均未超過伺服器20認定印表機處於繁忙狀態之預設值,例如4,則列印任務分發模組250將列印檔案File2拆分後得到之任務塊FILE2.1、FILE2.2、FILE2.3、FILE2.4依排列順序分發給印表機B、C,將列印檔案File1拆分後得到之任務塊FILE1.1、FILE1.2、FILE1.3依排列順序分發給印表機A、B。如 果用戶選擇之某一個印表機處於繁忙轉態,則列印任務分發模組250優先向共同承擔列印任務之其他非繁忙狀態之印表機分發任務塊,待監測模組240監測得到該印表機結束繁忙狀態時,列印任務分發模組250繼續向該印表機分發列印任務。 The printing task distribution module 250 is further configured to distribute the task blocks to the corresponding printing group of the printer group according to the order of the monitoring in the total task queue of the corresponding printer group according to the monitoring result of the monitoring module 240. Table machine. For example, when the monitoring module 240 monitors that the printers A, B, and C in the printer group 1 are working normally, and the number of task blocks in the task queue of the printers A, B, and C does not exceed the servo. The device 20 determines that the printer is in a busy state, for example, 4, and the print task distribution module 250 splits the print file File2 to obtain the task blocks FILE2.1, FILE2.2, FILE2.3, FILE2. .4 is distributed to the printers B and C in the order of arrangement, and the task blocks FILE1.1, FILE1.2, and FILE1.3 obtained by splitting the print file File1 are distributed to the printers A and B in the order of arrangement. Such as If the printer selected by the user is in a busy state, the print task distribution module 250 preferentially distributes the task block to other non-busy printers that share the print job, and the module to be monitored 240 monitors the result. When the printer ends the busy state, the print job distribution module 250 continues to distribute the print job to the printer.

列印任務分發模組250還用於當監測模組240監測得到某一印表機發生故障時,及時回收該印表機任務佇列中之任務塊至相應印表機群組之總任務佇列重新進行分發。例如,當監測模組240監測得到印表機A缺紙或碳粉不足時,列印任務分發模組250將印表機A之任務佇列中之任務塊回收、並將回收之任務塊重新分發給共同承擔該列印任務之其他印表機處理。 The print task distribution module 250 is further configured to timely recover the total task of the task block in the printer task queue to the corresponding printer group when the monitoring module 240 detects that a certain printer has failed. The column is re-distributed. For example, when the monitoring module 240 monitors that the printer A is out of paper or the toner is insufficient, the print task distribution module 250 recycles the task block in the task queue of the printer A, and re-creates the recovered task block. Distribute to other printers that share the printing task.

顯示模組260用於顯示任務分發資訊,例如FILE2.1、FILE2.3分發給印表機B,FILE2.2、FILE2.4分發給印表機C等。 The display module 260 is configured to display task distribution information, such as FILE2.1, FILE2.3 distributed to the printer B, FILE2.2, FILE2.4 distributed to the printer C, and the like.

如圖4所示,係本發明集群式列印方法較佳實施例之流程圖。首先,在步驟S101,伺服器20之管理員透過印表機群組劃分模組210分配不同用戶可以使用之印表機群組,及設定分配之印表機群組中各印表機處於繁忙狀態之預設值。所述預設值指之是印表機處於繁忙狀態時任務佇列中任務塊之數量。如圖3所示,印表機群組劃分模組210分配部門1之用戶可以使用印表機群組1(包括印表機A、B、C),印表機群組劃分模組210分配部門2之用戶可以使用印表機群組2(包括印表機D、E、F)。 4 is a flow chart of a preferred embodiment of the cluster printing method of the present invention. First, in step S101, the administrator of the server 20 distributes the printer groups that can be used by different users through the printer group division module 210, and sets the printers in the assigned printer group to be busy. The default value of the status. The preset value refers to the number of task blocks in the task queue when the printer is in a busy state. As shown in FIG. 3, the printer group division module 210 assigns the user of the department 1 to use the printer group 1 (including the printers A, B, C), and the printer group division module 210 allocates Users of department 2 can use printer group 2 (including printers D, E, F).

在步驟S102,用戶透過印表機群組劃分模組210在其可以使用之印表機群組中進一步選擇共同承擔其列印任務之印表機。例如,部門1中之用戶a選擇印表機群組1中之印表機A及B、用戶b選擇印表機群組1中之印表機B及C執行列印任務。於其他實施例中,也 可以省略步驟S102,即用戶不作進一步選擇,印表機群組劃分模組210默認用戶選擇了相應印表機群組中之所有印表機執行其請求之列印任務,如若部門2中之用戶在請求列印任務之時候不作進一步選擇,則印表機群組劃分模組210默認部門2中之用戶選擇印表機群組2中之印表機D、E、F協同執行其列印任務。 In step S102, the user further selects the printers that share the printing task in the printer group that can be used by the printer group division module 210. For example, user a in department 1 selects printers A and B in printer group 1, and user b selects printers B and C in printer group 1 to perform print jobs. In other embodiments, Step S102 may be omitted, that is, the user does not make further selection, and the printer group division module 210 defaults that the user selects all the printers in the corresponding printer group to execute the print job of the request, for example, the user in the department 2 When no further selection is requested at the time of requesting the print job, the printer group division module 210 defaults the user in the department 2 to select the printers D, E, and F in the printer group 2 to perform the printing task in cooperation. .

在步驟S103,用戶透過伺服器20向其可以使用之印表機群組發送列印檔案、請求該印表機群組執行該列印任務。 In step S103, the user sends a print file to the printer group that can be used by the server 20, and requests the printer group to execute the print job.

在步驟S104,列印檔案拆分模組220提供檔案拆分條件供用戶選擇、並根據用戶選擇之檔案拆分條件將接收到之列印檔案拆分為任務塊。所述檔案拆分條件可以頁為單位,也可以分節符號或其他標誌為單位。例如,用戶a發送之一份列印檔案FILE1共有30頁,用戶b發送之一份列印檔案FILE2共有40頁,假如每10頁為一節,當用戶選擇以分節符號為拆分條件時,可將FILE1拆分為3個任務塊FILE1.1、FILE1.2、FILE1.3,將FILE2拆分為4個任務塊FILE2.1、FILE2.2、FILE2.3、FILE2.4。 In step S104, the print file splitting module 220 provides the file splitting condition for the user to select, and splits the received print file into task blocks according to the file splitting condition selected by the user. The file splitting condition may be in units of pages, or may be divided into sections or other signs. For example, a print file FILE1 sent by user a has 30 pages, and a print file FILE2 sent by user b has 40 pages. If every 10 pages is a section, when the user chooses to use the section symbol as the split condition, Split FILE1 into 3 task blocks FILE1.1, FILE1.2, FILE1.3, and split FILE2 into 4 task blocks FILE2.1, FILE2.2, FILE2.3, FILE2.4.

在步驟S105,用戶透過優先順序設置模組230設置列印檔案之優先順序,例如用戶可以根據列印檔案之需求緊迫性設置該列印檔案為一級、二級或三級。需要指出之是,步驟S104與步驟S105之順序可以相互交換。 In step S105, the user sets the priority order of the print file through the priority order setting module 230. For example, the user can set the print file to the first level, the second level or the third level according to the urgency of the print file. It should be noted that the order of step S104 and step S105 can be interchanged.

在步驟S106,列印任務分發模組250根據用戶設置之優先順序將列印檔案拆分後得到之任務塊添加到對應印表機群組之總任務佇列中。列印檔案級別越高,其拆分後得到之任務塊在印表機群組之總任務佇列中位置越靠前。例如,部門1中之用戶a、用戶b先後向印表機群組1發出列印請求,用戶a、用戶b分別設置其列印 檔案File1、File2之優先順序為二級、一級,由於用戶b之列印檔案File2級別較用戶a之列印檔案File1之級別高,故用戶a傳送之列印檔案File1拆分後得到之任務塊FILE1.1、FILE1.2、FILE1.3在印表機群組1之總任務佇列中處於用戶b傳送之列印檔案File2拆分後得到之任務塊FILE2.1、FILE2.2、FILE2.3、FILE2.4之後。 In step S106, the print job distribution module 250 adds the task block obtained by splitting the print file to the total task queue of the corresponding printer group according to the priority order set by the user. The higher the level of the printed file, the higher the position of the task block obtained after the split is in the total task queue of the printer group. For example, user a and user b in department 1 issue a print request to printer group 1, and user a and user b respectively set their prints. The priority order of the files File1 and File2 is Level 2 and Level 1. Since the File2 level of the printed file of the user b is higher than the file File1 of the user a, the task block obtained by the user A transfers the file File1 after splitting. FILE1.1, FILE1.2, FILE1.3 are in the total task queue of the printer group 1 in the task block FILE2.1, FILE2.2, FILE2 obtained after the user-transfered file File2 is split. 3, after FILE2.4.

在步驟S107,監測模組240監測印表機群組中各印表機當前狀態。 In step S107, the monitoring module 240 monitors the current status of each printer in the printer group.

在步驟S108,監測模組240判斷該印表機群組中各印表機是否正常工作。如果該印表機群組中有印表機不能正常工作,則針對該不能正常工作之印表機,流程進入步驟S109,列印任務分發模組250將該印表機之任務佇列中之任務塊回收,流程返回步驟S106,列印任務分發模組250根據回收之任務塊所對應列印檔案之優先順序將其添加至該印表機群組之總任務佇列相應位置,並繼續監測該印表機狀態。例如,假設監測模組240監測到印表機群組1中印表機A不能正常工作,該印表機A的任務佇列中有任務塊task.1及task.2,其優先順序為三級,則列印任務分發模組250將印表機A的任務佇列中的任務塊task.1及task.2回收,並添加至印表機群組1總任務佇列中排隊等候分發之三級任務之後,再根據其對應用戶之前之設置重新分發task.1及task.2,並同時監測印表機A之狀態。 In step S108, the monitoring module 240 determines whether the printers in the printer group are working normally. If the printer in the printer group does not work normally, the process proceeds to step S109 for the printer that is not working normally, and the print task distribution module 250 lists the tasks of the printer. The task block is recycled, and the process returns to step S106. The print task distribution module 250 adds the file to the corresponding position of the total task queue of the printer group according to the priority order of the printed files corresponding to the recovered task block, and continues to monitor. The printer status. For example, if the monitoring module 240 detects that the printer A in the printer group 1 is not working properly, the task queue of the printer A has the task blocks task.1 and task.2, and the priority order is three. Level, the print task distribution module 250 recycles the task blocks task.1 and task.2 in the task queue of the printer A, and adds them to the total task queue of the printer group 1 to queue for distribution. After the three-level task, the tasks.1 and task.2 are redistributed according to the settings of their corresponding users, and the status of the printer A is monitored at the same time.

在步驟S108,如果監測模組240監測印表機群組中有印表機正常工作,例如,印表機B及C處於正常工作狀態。則針對進入印表機B及C,流程進入步驟S110,監測模組240檢查正常工作之各印表 機之任務佇列中當前之任務塊數量。 In step S108, if the monitoring module 240 monitors the printer in the printer group to operate normally, for example, the printers B and C are in a normal working state. Then, for entering the printers B and C, the process proceeds to step S110, and the monitoring module 240 checks the printers for normal work. The number of task blocks currently in the task queue.

在步驟S111,監測模組240判斷正常工作之各印表機之任務佇列中當前之任務塊數量是否大於伺服器20認定印表機處於繁忙狀態之預設值,例如4。如果某正常工作之印表機之任務佇列中當前之任務塊數量大於伺服器20認定印表機處於繁忙狀態之預設值,則列印任務分發模組250暫時不向該印表機分發新之任務塊,返回步驟S107,監測模組240繼續監測該處於繁忙狀態之印表機。 In step S111, the monitoring module 240 determines whether the current number of task blocks in the task queue of each printer that is working normally is greater than a preset value that the server 20 determines that the printer is in a busy state, for example, 4. If the number of current task blocks in the task queue of a working printer is greater than the preset value that the server 20 determines that the printer is busy, the print task distribution module 250 temporarily not distributes to the printer. The new task block returns to step S107, and the monitoring module 240 continues to monitor the printer in a busy state.

於其他實施例中,也可以不包括步驟S110及步驟S111,直接從步驟S108進入步驟S112。 In other embodiments, step S110 and step S111 may not be included, and step S112 is directly proceeded from step S108.

在步驟S111,如果監測模組240判斷得到有正常工作之印表機之任務佇列中當前之任務塊數量小於或等於伺服器20認定印表機處於繁忙狀態之預設值,亦即有正常工作之印表機處於非繁忙狀態,則進入步驟S112,列印任務分發模組250將列印檔案拆分後得到之任務塊分配給相應印表機。例如,印表機B及C處於正常工作狀態且其任務佇列中之任務塊均為0,則列印任務分發模組250將新之任務塊FILE2.1、FILE2.2、FILE2.3、FILE2.4依次分發給印表機B及印表機C。如果此時印表機A仍舊不能正常工作,則列印任務分發模組250在分發完任務塊FILE2.1、FILE2.2、FILE2.3、FILE2.4之後將任務塊FILE1.1、FILE1.2、FILE1.3分發給印表機B。 In step S111, if the monitoring module 240 determines that the current task block in the task queue of the printer having normal operation is less than or equal to the preset value that the server 20 determines that the printer is in a busy state, it is normal. When the working printer is in a non-busy state, the process proceeds to step S112, and the print task distribution module 250 assigns the task block obtained by splitting the print file to the corresponding printer. For example, if the printers B and C are in a normal working state and the task blocks in the task queue are both 0, the print task distribution module 250 will move the new task blocks FILE2.1, FILE2.2, FILE2.3, FILE 2.4 is distributed to printer B and printer C in sequence. If the printer A still fails to work normally, the print task distribution module 250 will move the task blocks FILE1.1, FILE1 after the task blocks FILE2.1, FILE2.2, FILE2.3, and FILE2.4 are distributed. 2. FILE1.3 is distributed to printer B.

在步驟S113,顯示模組260顯示任務分發資訊,例如FILE2.1、FILE2.3分發給印表機B,FILE2.2、FILE2.4分發給印表機C。 In step S113, the display module 260 displays the task distribution information, for example, FILE2.1, FILE2.3 is distributed to the printer B, and FILE2.2, FILE2.4 is distributed to the printer C.

在步驟S114,接收到任務塊之印表機執行列印操作。 At step S114, the printer that received the task block performs a printing operation.

最後所應說明的是,以上實施例僅用以說明本發明的技術方案而非限制,儘管參照以上較佳實施例對本發明進行了詳細說明,本領域的普通技術人員應當理解,可以對本發明的技術方案進行修改或等同替換,而不脫離本發明技術方案的精神和範圍。 It should be noted that the above embodiments are only intended to illustrate the technical solutions of the present invention and are not intended to be limiting, and the present invention will be described in detail with reference to the preferred embodiments thereof The technical solutions are modified or equivalently substituted without departing from the spirit and scope of the technical solutions of the present invention.

20‧‧‧伺服器 20‧‧‧Server

210‧‧‧印表機群組劃分模組 210‧‧‧Printer group division module

220‧‧‧列印檔案拆分模組 220‧‧‧Printing file splitting module

230‧‧‧優先順序設置模組 230‧‧‧Priority setting module

240‧‧‧監測模組 240‧‧‧Monitoring module

250‧‧‧列印任務分發模組 250‧‧‧Printing task distribution module

260‧‧‧顯示模組 260‧‧‧ display module

Claims (10)

一種集群式列印系統,該系統包括一台伺服器,該伺服器與至少一用戶端電腦及多個印表機相連接,該伺服器包括:印表機群組劃分模組,用於為用戶端電腦分配對應之印表機群組;列印檔案拆分模組,用於選擇檔案拆分條件、並根據選擇之檔案拆分條件將用戶端電腦發送之各列印檔案拆分為多個任務塊;優先順序設置模組,用於設置各列印檔案之優先順序;列印任務分發模組,用於根據設置之優先順序將各列印檔案拆分後得到之任務塊添加到對應印表機群組之總任務佇列中;監測模組,用於監測印表機群組中各個印表機是否正常工作;及列印任務分發模組,還用於將所述任務塊按照在對應印表機群組總任務佇列中之排列順序分發至對應印表機群組中正常工作之印表機。 A cluster printing system, the system comprising a server, the server is connected to at least one user computer and a plurality of printers, the server comprises: a printer group division module, configured for The client computer allocates the corresponding printer group; the print file splitting module is used to select the file splitting condition, and split the printed files sent by the client computer according to the selected file splitting condition. a task block; a priority setting module for setting a priority order of each print file; a print task distribution module for adding a task block obtained by splitting each print file according to a set priority order The total task queue of the printer group; the monitoring module is used to monitor whether the printers in the printer group are working normally; and the task distribution module is also printed, and the task block is also used to follow the task block. They are distributed to the printers in the corresponding printer group in the order in which they are arranged in the corresponding task group of the printer group. 如申請專利範圍第1項所述之集群式列印系統,其中所述印表機群組劃分模組還用於從印表機群組中選擇共同承擔列印任務之印表機。 The cluster printing system of claim 1, wherein the printer group division module is further configured to select a printer that shares the printing task from the printer group. 如申請專利範圍第1項所述之集群式列印系統,其中所述列印任務分發模組還用於當監測模組監測得到印表機群組中有印表機不能正常工作時,回收該不能正常工作之印表機任務佇列中之任務塊至該印表機群組之總任務佇列重新進行分發。 The cluster printing system according to claim 1, wherein the printing task distribution module is further configured to: when the monitoring module monitors that the printer in the printer group is not working properly, the recycling is performed. The task block in the inoperative printer task queue is re-distributed to the total task queue of the printer group. 如申請專利範圍第1項所述之集群式列印系統,其中該伺服器還包括顯示模組,用於顯示列印檔案分發資訊。 The cluster printing system of claim 1, wherein the server further comprises a display module for displaying the printed file distribution information. 如申請專利範圍第1項所述之集群式列印系統,其中所述檔案拆分條件包括以分頁符號為單位或以分節符號為單位。 The cluster printing system according to claim 1, wherein the file splitting condition is in units of page breaks or in units of section symbols. 一種集群式列印方法,該方法包括以下步驟: 為用戶端電腦分配對應之印表機群組;接收用戶端電腦發送之列印檔案;選擇拆分條件、並根據選擇之拆分條件將接收到之列印檔案拆分為任務塊;設置列印檔案之優先順序;根據設置之優先順序將列印檔案拆分後得到之任務塊添加到對應印表機群組之總任務佇列中;監測印表機群組中各個印表機是否正常工作;及將所述任務塊按照在對應印表機群組總任務佇列中之排列順序分發至對應印表機群組中正常工作之印表機。 A cluster printing method, the method comprising the following steps: Assigning a corresponding printer group to the client computer; receiving the print file sent by the client computer; selecting the split condition, and splitting the received print file into task blocks according to the selected split condition; setting the column Prioritize the printed files; add the task blocks obtained by splitting the printed files to the total task queue of the corresponding printer group according to the priority order of the settings; monitor whether the printers in the printer group are normal Working; and distributing the task blocks to the printers in the corresponding printer group in the order in which they are arranged in the corresponding column of the corresponding printer group. 如申請專利範圍第6項所述之集群式列印方法,其中在步驟接收用戶端電腦發送之列印檔案前還包括步驟:從印表機群組中選擇共同承擔列印任務之印表機。 The method of group printing according to claim 6, wherein before the step of receiving the printed file sent by the user computer, the method further comprises the steps of: selecting a printer that shares the printing task from the printer group; . 如申請專利範圍第6項所述之集群式列印方法,其中在步驟監測印表機群組中各個印表機是否正常工作後還包括步驟:回收不能正常工作之印表機之任務佇列中之任務塊至對應印表機群組之總任務佇列並重新進行分發。 The cluster printing method according to claim 6, wherein in the step of monitoring whether each printer in the printer group is working normally, the method further comprises the steps of: recycling the task of the printer that cannot work normally. The task block in the middle reaches the total task queue of the corresponding printer group and re-distributes it. 如申請專利範圍第6項所述之集群式列印方法,其中該方法還包括步驟:顯示列印檔案分發資訊。 The method of group printing according to claim 6, wherein the method further comprises the step of: displaying the printed file distribution information. 如申請專利範圍第6項所述之集群式列印方法,其中所述拆分條件包括以分頁符號為單位或以分節符號為單位。 The cluster printing method according to claim 6, wherein the splitting condition is in units of page breaks or in units of section symbols.
TW97121164A 2008-06-06 2008-06-06 Teamwork printing system and method TWI423116B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97121164A TWI423116B (en) 2008-06-06 2008-06-06 Teamwork printing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97121164A TWI423116B (en) 2008-06-06 2008-06-06 Teamwork printing system and method

Publications (2)

Publication Number Publication Date
TW200951801A TW200951801A (en) 2009-12-16
TWI423116B true TWI423116B (en) 2014-01-11

Family

ID=44871857

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97121164A TWI423116B (en) 2008-06-06 2008-06-06 Teamwork printing system and method

Country Status (1)

Country Link
TW (1) TWI423116B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201428603A (en) * 2013-01-03 2014-07-16 Che-Chun Wei Method of allocating cloud data and actively printing cloud data from group print end

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW273061B (en) * 1995-06-07 1996-03-21 Ibm Computer network for WWW server data access over internet
TW312879B (en) * 1995-06-07 1997-08-11 Ibm
TW484283B (en) * 2000-08-11 2002-04-21 Ind Tech Res Inst Dynamic scheduling scheduler framework and method for mobile communication
US20020138564A1 (en) * 2001-03-21 2002-09-26 Treptow Jay A. Universal printing and document imaging system and method
TWI275955B (en) * 2004-11-16 2007-03-11 Fineart Technology Co Ltd A frame of a data exchange system and method of data control
TWI283346B (en) * 2005-02-14 2007-07-01 Seiko Epson Corp File operation limiting system, recording medium recording file operation limiting program, file operation limiting method, electronics and printing apparatus
TW200739383A (en) * 2005-11-28 2007-10-16 Ibm System for preventing unauthorized acquisition of information, and method thereof
CN100345101C (en) * 2004-06-09 2007-10-24 国际商业机器公司 Method and system for managing print jobs for a printer to maximize throughput
US7303253B2 (en) * 2005-12-30 2007-12-04 Industrial Technology Research Institute Multi-pass print apparatus and method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW273061B (en) * 1995-06-07 1996-03-21 Ibm Computer network for WWW server data access over internet
TW312879B (en) * 1995-06-07 1997-08-11 Ibm
TW484283B (en) * 2000-08-11 2002-04-21 Ind Tech Res Inst Dynamic scheduling scheduler framework and method for mobile communication
US20020138564A1 (en) * 2001-03-21 2002-09-26 Treptow Jay A. Universal printing and document imaging system and method
CN100345101C (en) * 2004-06-09 2007-10-24 国际商业机器公司 Method and system for managing print jobs for a printer to maximize throughput
TWI275955B (en) * 2004-11-16 2007-03-11 Fineart Technology Co Ltd A frame of a data exchange system and method of data control
TWI283346B (en) * 2005-02-14 2007-07-01 Seiko Epson Corp File operation limiting system, recording medium recording file operation limiting program, file operation limiting method, electronics and printing apparatus
TW200739383A (en) * 2005-11-28 2007-10-16 Ibm System for preventing unauthorized acquisition of information, and method thereof
US7303253B2 (en) * 2005-12-30 2007-12-04 Industrial Technology Research Institute Multi-pass print apparatus and method

Also Published As

Publication number Publication date
TW200951801A (en) 2009-12-16

Similar Documents

Publication Publication Date Title
CN101593088B (en) System and method for cluster printing
US20080229320A1 (en) Method, an apparatus and a system for controlling of parallel execution of services
JP3320342B2 (en) Method for causing printer system to execute printing, print execution method, computer, and printer system
JP2012083991A (en) Job execution management device, job execution device, job execution system and program
JP2011096242A (en) Method of managing reallocation of printing job during printer error
WO2013027649A1 (en) Virtual data center system
US8085422B2 (en) Printing system, printing apparatus, and printing method
TWI423116B (en) Teamwork printing system and method
JP2007283628A (en) Printing system, printer and control method thereof
JP2009123147A (en) Print control system, print control apparatus, print control method, print control program and recording medium
JP2006260216A (en) Document output management system, method and program
JP6272080B2 (en) Information processing apparatus, distributed printing system, printing control method, and program
CN101131628A (en) Print data output device to select a printer language and method of selecting a printer language
JP3822710B2 (en) Service providing system, server and printer
JPH08249141A (en) Network processor
JP5458997B2 (en) Data processing apparatus, data processing method and program
CN1711508A (en) Control panel for an electrophotographic printer or copier system with front and/or rear processing units and integrated control panel in a printer server
JP2009003621A (en) Print unit, and distributed print control unit
JP2021016966A (en) Image formation apparatus and print server
JP2015204086A (en) Management system and management method
JP6311362B2 (en) Data management system
CN100474256C (en) Cluster typesetting system and method
JPH10320146A (en) Print job managing device and its method, and computer-readable recording medium where program allowing computer to implement the same method is recorded
JP2007102666A (en) Parallel processing system, server, processing terminal device, parallel processing method, program and recording medium
JP2007034757A (en) Distributed printing system

Legal Events

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