CN110109631A - A kind of print out task distribution method and server - Google Patents
A kind of print out task distribution method and server Download PDFInfo
- Publication number
- CN110109631A CN110109631A CN201910402010.0A CN201910402010A CN110109631A CN 110109631 A CN110109631 A CN 110109631A CN 201910402010 A CN201910402010 A CN 201910402010A CN 110109631 A CN110109631 A CN 110109631A
- Authority
- CN
- China
- Prior art keywords
- printing terminal
- terminal
- printing
- task
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000007639 printing Methods 0.000 claims abstract description 375
- 238000004891 communication Methods 0.000 claims description 11
- 230000005540 biological transmission Effects 0.000 claims description 4
- 230000006870 function Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 238000010009 beating Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 206010039921 Selenium deficiency Diseases 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1259—Print job monitoring, e.g. job status
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/126—Job scheduling, e.g. queuing, determine appropriate device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1296—Printer job scheduling or printer resource handling
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
This application involves a kind of print out task distribution methods, it include: the working condition that each printing terminal reports in the more printing terminals for receiving and currently connecting, in more printing terminals, the least available printing terminal of remaining task amount is selected according to working condition, and determines the printing terminal of final choice according to the least available printing terminal of remaining task amount.When not considering to handle the duration difference of different print out task needs, the remaining least available printing terminal of task amount can quickly complete the print out task handled, and the print out task that early start processing server has just distributed, the print out task that server has just distributed is completed in the shortest time.
Description
Technical field
This application involves computer information processing field more particularly to a kind of print out task distribution method and servers.
Background technique
In the prior art, digital printing technology is connected using single printing terminal with server, and it is whole that server receives client
The print job request sent is held, the printing terminal is sent by print job request and handles, this mode to service
The received all task requests of device require to be handled on single printing terminal, and only handle task by single printing terminal
The efficiency of request is lower, the technology by more printing terminals while the received task requests of processing server then occurs.
When Duo Tai printing terminal group works at the same time, server receives the print job request that client terminal is sent, printing
Task requests include data to be printed, and the current position location of client terminal, server is according to the position of each printing terminal prestored
It sets, selects the printing terminal nearest apart from client terminal to handle the task requests, but the printing terminal may bedding and clothing
Business device is assigned with more print out task, which is handled one by one according to the more print out task respective distribution time,
So the task requests that server has just distributed can not be completed within a short period of time.
Summary of the invention
To be overcome the problems, such as present in the relevant technologies at least to a certain extent, the application provides a kind of print out task distribution
Method and server.
The scheme of the application is as follows:
A kind of print out task distribution method, comprising:
Receive the working condition that each printing terminal reports in the more printing terminals currently connected;
In the more printing terminals, the least available printing of remaining task amount is selected eventually according to the working condition
It holds, and determines the printing terminal of final choice according to the remaining least available printing terminal of task amount;
After the print job request for receiving client terminal transmission, the print job request is sent to described final
The printing terminal of selection.
Preferably, in a kind of achievable mode of the application, the working condition includes: that can not work, and is being handled
Task and task amount, alternatively, standby;
It is described to select the remaining least available printing terminal of task amount to specifically include according to the working condition:
It is that the task that handling and standby printing terminal are determined as available printing terminal by working condition;
If described can be standby printing terminal with there is working condition in printing terminal, it is standby for selecting working condition
Printing terminal is as the least available printing terminal of the remaining task amount;
If described with without working condition being standby printing terminal in printing terminal, working condition is selected to locate
The least printing terminal of task amount is as the least available printing terminal of the remaining task amount in the printing terminal of reason task.
Preferably, it in a kind of achievable mode of the application, is wrapped in the print job request that the client terminal is sent
Include client terminal location information;
It is described to determine that the printing terminal of final choice specifically wraps according to the remaining least available printing terminal of task amount
It includes:
If the quantity of the least available printing terminal of remaining task amount is 1, select described 1 remaining task amount least
Printing terminal can be used as the printing terminal of the final choice;
If the quantity of the least available printing terminal of remaining task amount is at least 2, eventually according to each printing prestored
The location information at end and the client terminal location information calculate each remaining least available printing terminal difference of task amount
At a distance from the client terminal position, in at least 2 least available printing terminals of remaining task amount, selection and the visitor
The nearest available printing terminal of family terminal location distance;Final choice is determined in the nearest available printing terminal of the distance
Printing terminal.
Preferably, in a kind of achievable mode of the application, in the available printing terminal nearest in the distance
Determine that the printing terminal of final choice specifically includes:
If the quantity of nearest available printing terminal is 1 with the client terminal positional distance, 1 and the institute are selected
State printing terminal of the nearest available printing terminal of client terminal positional distance as the final choice;
If the quantity of nearest available printing terminal is at least 2 with the client terminal positional distance, according to each
The print capacity of printing terminal, in at least 2 available printing terminals nearest with the client terminal positional distance, selection
Printing terminal of the optimal available printing terminal of print capacity as the final choice;Wherein, the print capacity include with
At least one of in lower item: print speed, print quality, print out task complete success rate.
Preferably, described that remaining task amount is selected according to the working condition in a kind of achievable mode of the application
Least available printing terminal specifically includes:
Judge the classification of the print job request;
According to the accessible task requests classification of each printing terminal prestored, appoint from the printing that handles currently connected
It is engaged in more printing terminals of request selecting the least available printing terminal of remaining task amount according to the working condition.
Preferably, in a kind of achievable mode of the application, further includes:
Receive the task processing result for handling the printing terminal feedback of the print job request;
When the task processing result of the feedback is task processing failure, again in the more printing terminals, root
The least available printing terminal of remaining task amount is selected according to the working condition, and least available according to the remaining task amount
Printing terminal determines the printing terminal of final choice, and the printing that the print job request is sent to again final choice is whole
End.
Preferably, in a kind of achievable mode of the application, further includes:
The print cartridge of each printing terminal of real-time reception, toner cartridge surplus, and according to the print cartridge, toner cartridge surplus real-time update institute
State the print quality of printing terminal.
Preferably, in a kind of achievable mode of the application, further includes:
The task processing result of each printing terminal of real-time reception, and according to the task processing result real-time update
The print out task of printing terminal completes success rate.
Preferably, in a kind of achievable mode of the application,
The working condition that can not be worked specifically includes: the reason of can not working and can not work;
The standby working condition specifically includes: standby and standby time.
A kind of print out task distribution server, comprising:
Processor and memory, the processor are connected with memory by communication bus:
Wherein, the processor, for calling and executing the program stored in the memory;
The memory, for storing program, described program is at least used to execute print out task described in any of the above item
Distribution method.
Technical solution provided by the present application can include the following benefits: receive in the more printing terminals currently connected
The working condition that each printing terminal reports selects remaining task amount least in more printing terminals according to working condition
Printing terminal can be used, and determines the printing terminal of final choice according to the least available printing terminal of remaining task amount.It is not examining
When considering the duration difference for handling different print out task needs, the remaining least available printing terminal of task amount can be completed quickly
The print out task handled, and the print out task that early start processing server has just distributed complete service in the shortest time
The print out task that device has just distributed.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The application can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the application
Example, and together with specification it is used to explain the principle of the application.
Fig. 1 is a kind of print out task distribution method that the application one embodiment provides;
Fig. 2 is to determine final choice according to the least available printing terminal of remaining task amount in the application one embodiment
The method of printing terminal;
Fig. 3 is to determine that the printing of final choice is whole in the nearest available printing terminal of distance in the application one embodiment
The method at end.
Fig. 4 is a kind of print out task distribution server that the application one embodiment provides.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the application.
Embodiment one
Fig. 1 is a kind of print out task distribution method that the application one embodiment provides, referring to Fig.1, a kind of print out task
Distribution method, comprising:
S11: the working condition that each printing terminal reports in the more printing terminals currently connected is received;
In the prior art, printing terminal group is assembled by more printing terminals, is made up of more printing terminals
The received task requests of printing terminal group processing server.It is above-mentioned in the prior art, server needs to receive more printings eventually
The working condition that each printing terminal reports in end, the working condition of printing terminal react the printing terminal if appropriate for processing
Task requests.The working condition of printing terminal can have a variety of, can preset printing according to server needs when specific implementation
The working condition that terminal reports need include the printing terminal which kind of information.In the present embodiment, only need on each printing terminal
The working condition of report meets server to the judgment criteria of printing terminal.
The working condition that each printing terminal of server real-time reception reports, to obtain the newest work of each printing terminal
Make state.
Preferably, working condition may include: that can not work, and handle task and task amount, alternatively, standby.
Because communication equipment fault leads to not the working condition that can not report oneself with the printing terminal of server communication, therefore
Printing terminal in the present embodiment does not consider can not be with the printing terminal of server communication.
Can not work and refer to that paper jam occurs in printing terminal, lack ink, selenium deficiency drum, front and rear covers open, etc. mechanical disorders cause beat
Print terminal can not work, and printing terminal reports the working condition that can not be worked to server at this time.
Preferably, after server receives the working condition that can not be worked that printing terminal reports, according to each printing prestored
The information and printing terminal administrative staff's information of terminal, send the letter that the printing terminal can not work to printing terminal administrative staff
Breath.
The task of processing refers to that printing terminal can be with server communication normal communication, and the printing in the work
Terminal.Task amount refers to the print out task quantity that printing terminal is being handled, the print out task number handled such as printing terminal
Amount is 3, then the printing terminal is reported to server: handling task, task amount is 3.
It is standby to refer to that printing terminal can work normally with server communication normal communication, but be not on work
Printing terminal in work.
Preferably, the working condition that can not be worked specifically includes: the reason of can not working and can not work;
Standby working condition specifically includes: standby and standby time.
Server receive that printing terminal reports the reason of can not working after, according to the information of the printing terminal prestored and beating
Terminal management personal information is printed, sends the reason of printing terminal can not work information to printing terminal administrative staff.
After server receives the standby time information that printing terminal reports, it can be determined that the too long printing of standby time is whole
End, the information and printing terminal administrative staff's information prestored according to the printing terminal send this dozen to printing terminal administrative staff
Print the too long information of terminal standby duration.
If printing terminal stand-by time is super after an hour, judge that printing terminal standby time is too long.
S12: in more printing terminals, selecting the least available printing terminal of remaining task amount according to working condition, and
The printing terminal of final choice is determined according to the least available printing terminal of remaining task amount;
By the above-mentioned explanation to working condition it is known that working condition is that the task that handling and standby printing are whole
End is available printing terminal, and working condition is that the printing terminal that can not be worked is unavailable printing terminal.
It is that the task that handling and standby printing terminal are determined as after printing terminal can be used by working condition, according to work
State selects the least available printing terminal of remaining task amount, specifically includes:
If can be standby printing terminal with there is working condition in printing terminal, select working condition for standby printing
Terminal is as the least available printing terminal of remaining task amount.Because of the print out task that standby printing terminal is not being handled,
Therefore standby printing terminal can directly handle print job request after the print job request for receiving server distribution,
The task requests that server has just distributed can be completed in the shortest time.
If working condition can be selected to handle times with without working condition being standby printing terminal in printing terminal
The least printing terminal of task amount is as the least available printing terminal of remaining task amount in the printing terminal of business.Do not working
When state is standby printing terminal, server can only assign the task to the printing terminal of the task of processing, because of service
It include the task amount that printing terminal is handling task in the work state information of the received printing terminal of device, then locating
The least printing terminal of remaining task amount is selected in the printing terminal of reason task.As residue can be with there is more residues in printing terminal
The printing terminal that task amount is 1, the printing terminal that more remaining task amounts are 2, then in the printing terminal that remaining task amount is 1
Select wherein 1 printing terminal as the remaining least available printing terminal of task amount.Because not considering to handle different task
When needing the different times, the remaining least available printing terminal of task amount is in the print job request for receiving server distribution
Afterwards, the print out task that direct processing server has just distributed after the print out task that can have been received before having handled, can be most
The print out task that server has just distributed is completed in short time.
S13: after the print job request for receiving client terminal transmission, print job request is sent to final choice
Printing terminal.
It include file to be printed data in the print job request that client terminal is sent.Printing terminal is according to file to be printed
Data are printed.
Client terminal can establish communication connection simultaneously with server for the computer terminal of client or mobile terminal etc.
The terminal of task requests is sent to server.
Print job request is sent to this implementation after the print job request for receiving client terminal transmission by server
The printing terminal of final choice in example.
The printing terminal of final choice is printed according to the file to be printed data for including in task requests.
In the preferred embodiment of the present embodiment, print job request is sent to the printing terminal of final choice by server
Afterwards, the information of the printing terminal of final choice is also fed back to client terminal, includes the printing terminal of final choice in the information
Position and number.Client can fetch the file of printing according to the position and number of the printing terminal of final choice.
In the present embodiment, server receives the work shape that each printing terminal reports in the more printing terminals currently connected
State selects the least available printing terminal of remaining task amount according to working condition, and appoint according to residue in more printing terminals
The printing terminal that least available printing terminal determines final choice is measured in business.Do not consider to handle different print out task need when
When long different, the remaining least available printing terminal of task amount can quickly complete the print out task handled, and earliest
The print out task that server has just distributed is started to process, completes the print out task that server has just distributed in the shortest time.
Embodiment two
Print out task distribution method in some embodiments includes that client is whole in the print job request that client terminal is sent
End position information;
Referring to Fig. 2, determine that the printing terminal of final choice specifically wraps according to the least available printing terminal of remaining task amount
It includes:
S121: if the quantity of the least available printing terminal of remaining task amount is 1, select 1 remaining task amount minimum
Printing terminal of the available printing terminal as final choice;
If the quantity of the least available printing terminal of remaining task amount only has 1, select the residue task amount least
Printing terminal can be used as the printing terminal of final choice.Because the quantity of the least available printing terminal of remaining task amount only has
1, so without the concern for other printing terminals.
S122: it if the quantity of the least available printing terminal of remaining task amount is at least 2, is beaten according to each prestored
The location information and client terminal location information of terminal are printed, each remaining least available printing terminal difference of task amount is calculated
At a distance from client terminal position, in at least 2 least available printing terminals of remaining task amount, selection and client terminal position
Set the nearest available printing terminal of distance;The printing terminal of final choice is determined in the nearest available printing terminal of distance.
When the quantity of the least available printing terminal of remaining task amount is at least 2, need from least 2 remaining tasks
It measures and selects most preferably available printing terminal of the printing terminal as final choice, Ke Yishe in least available printing terminal
A Rule of judgment is set to select most preferably available printing terminal and make.
In the present embodiment, each remaining least available printing terminal of task amount and client terminal position are set by Rule of judgment
The distance set prestores the location information of each printing terminal in server.It is whole according to the client for including in print job request
End position information, and the location information of each printing terminal prestored, calculate that each remaining task amount is least available to be beaten
Print terminal is respectively at a distance from client terminal position.
The program for calculating distance can refer to Baidu map in the prior art or Amap, input path starting point, road
Diameter terminal, the distance of automatically derived path origin-to-destination.The least available printing terminal position of remaining task amount can be set
For path starting point, client terminal position is set as path termination;Alternatively, by the least available printing terminal position of remaining task amount
It is set as path termination, client terminal position is set as path starting point.
Judge the position of the remaining least available printing terminal of task amount and the distance of client terminal positional distance, selection with
The nearest available printing terminal of client terminal positional distance determines beating for final choice in the nearest available printing terminal of distance
Print terminal.Such client can fetch the file that printing is completed nearby, save client and fetch printing after the completion of print out task
The time of file.
Embodiment three
Referring to Fig. 3, print out task distribution method in some embodiments determines in the nearest available printing terminal of distance
The printing terminal of final choice specifically includes:
S1221: if the quantity of the available printing terminal nearest with client terminal positional distance is 1,1 and client are selected
Printing terminal of the nearest available printing terminal of terminal location distance as final choice;
If the quantity of nearest available printing terminal is 1 with client terminal positional distance, can without the concern for other
Use printing terminal.
S1222: if the quantity of the available printing terminal nearest with client terminal positional distance is at least 2, according to each
The print capacity of platform printing terminal, in at least 2 available printing terminals nearest with client terminal positional distance, selection is beaten
Printing terminal of the optimal available printing terminal of print ability as final choice;Wherein, print capacity include in following item extremely
One item missing: print speed, print quality, print out task complete success rate.
When the quantity of the available printing terminal nearest with client terminal positional distance is at least 2, need from least 2
Most preferably available printing terminal is selected in nearest available printing terminal with client terminal positional distance as final choice
Printing terminal, a Rule of judgment can be set to select most preferably available printing terminal and make.
In the present embodiment, it sets Rule of judgment to the printing of the available printing terminal nearest with client terminal positional distance
Ability.
Print capacity includes at least one in following item: print speed, print quality, print out task completion success rate.
Generally, the print speed of the printing terminal of specification of the same race is identical, and the print speed of the printing terminal of different size can
It can not be identical.Print speed is generally the build-in attribute of printing terminal, will not change with its dependent variable.It can in server
Reference quantity to prestore the print speed of each printing terminal, as printing terminal print capacity.The faster printing of print speed
End print ability is better.
Print quality is the print cartridge according to printing terminal, what toner cartridge surplus determined, if the print cartridge of printing terminal, toner cartridge surplus
Excessively, then the file settling off that printing terminal prints.If the print cartridge of printing terminal, toner cartridge surplus is sufficient, then prints
File it is clear.If the print cartridge of printing terminal, toner cartridge surplus is insufficient, then it is shallower unintelligible that the file printed will appear text
The problems such as.
Server can be set one and judge print cartridge, and the exceeded or very few threshold value of toner cartridge surplus is judging printing terminal
Print capacity when, by print cartridge, the exceeded or very few printing terminal of toner cartridge surplus is judged as that the weaker printing of print capacity is whole
End.
Print cartridge, a variable data of the toner cartridge surplus as printing terminal.Preferably, it beats for server also real-time reception each
The print cartridge of print terminal, toner cartridge surplus, and according to print cartridge, the print quality of toner cartridge surplus real-time update printing terminal.
Print out task completes success rate, is to be determined according to the task processing result of printing terminal feedback, if printing terminal
In the task processing result of 100 feedbacks, have 99 times and print successfully, 1 printing failure, then the print out task of the printing terminal is complete
It is 99% at success rate.Completing success rate by print out task can learn that the print capacity of the printing terminal, print out task are complete
It is higher at the higher printing terminal print capacity of success rate.
Print out task completes a variable data of the success rate as printing terminal, it is preferred that server also real-time reception
The task processing result of each printing terminal, and according to the print out task of task processing result real-time update printing terminal complete at
Power.
Server chooses the optimal printing of print capacity in the available printing terminal nearest with client terminal positional distance
Printing terminal of the terminal as final choice, i.e. selection print speed is most fast, and print cartridge, toner cartridge surplus is normal, and print out task is completed
Printing terminal of the highest available printing terminal of success rate as final choice.The available remaining task amount of printing terminal is most
Few, print capacity is optimal, can most fast best completion print job request, and it is nearest apart from client terminal, save visitor
Fetch the time of mimeograph documents in family.
In summary embodiment when selecting final printing terminal, selects remaining task amount minimum according to working condition first
Available printing terminal, if can with have in printing terminal working condition be standby printing terminal, select working condition for
The printing terminal of machine is as the least available printing terminal of remaining task amount;If without working condition can be standby in printing terminal
Printing terminal, then select in printing terminal of the working condition to handle task the least printing terminal of task amount as surplus
The remaining least available printing terminal of task amount.
When the least available printing terminal of remaining task amount is more, according to the least available printing of each remaining task amount
Terminal location selects the available printing terminal nearest with client terminal positional distance at a distance from client terminal position.
When being more with the nearest available printing terminal of client terminal positional distance, according to respectively with client terminal position away from
It is whole as final printing that print capacity from nearest available printing terminal selects the optimal available printing terminal of print capacity
End.
Example IV
Print out task distribution method in some embodiments selects least can be used of remaining task amount to beat according to working condition
Print terminal specifically includes:
Judge the classification of print job request;
According to the accessible task requests classification of each printing terminal prestored, asked from the print out task that handles currently connected
The least available printing terminal of remaining task amount is selected according to working condition in the more printing terminals asked.
The classification of print job request can have it is a variety of, such as by whether color printing is classified.
Below with print job request by whether color printing is illustrated to carry out classification:
Task requests there may come a time when as color printing, and some printing terminals may not support color printing, be needed at this time by color printing
Task requests and the task requests of non-color printing are classified.
Prestore whether each printing terminal has color printing ability in server.
Select remaining task amount minimum according to working condition from the more printing terminals for carrying out color printing currently connected
Available printing terminal.
Task requests can also have other mode classifications in classification.
Such as using school as background, more printing terminals of each grade outfit, different printing terminal is responsible for handling not the same year
The print job request of grade.
Print job request is classified with grade.If server is when receiving 1 grade print job request, from working as
Select remaining task amount minimum according to working condition in more printing terminals of processing 1 grade print job request of preceding connection
Available printing terminal.
Embodiment five
Print out task distribution method in some embodiments, further includes:
Receive the task processing result of the printing terminal feedback of processing print job request;
Again in more printing terminals, the least available printing terminal of remaining task amount is selected according to working condition, and
Print job request is sent to weight by the printing terminal that final choice is determined according to the least available printing terminal of remaining task amount
The printing terminal of new final choice.
Because the printing of printing terminal be not it is audience-proof, printing midway probably due to various accidents cause appoint
Be engaged in processing failure, as printing terminal printing in paper jam, lack ink situations such as will lead to printing failure.So needing to reselect one
A printing terminal handles the task requests again.
Server receives the task processing result of the printing terminal feedback of processing print job request.
When task processing result is that task is handled successfully, directly update print out task completes success rate.
When task processing result is task processing failure, while updating print out task completion success rate, exist again
In more printing terminals, the least available printing terminal of remaining task amount is selected according to working condition, and according to remaining task amount
Least available printing terminal determines the printing terminal of final choice.
So when printing failure, server is by way of reselecting printing terminal and handling the task requests, to protect
Demonstrate,proving each task requests can be successfully processed.
Fig. 4 is a kind of print out task distribution server that the application one embodiment provides, referring to Fig. 4, a kind of printing times
Business distribution server, comprising:
Processor 21 and memory 22, processor 21 are connected with memory 22 by communication bus:
Wherein, processor 21, for calling and executing the program stored in memory 22;
Memory 22, for storing program, program is at least used to execute the distribution of the print out task in any of the above embodiment
Method.
It is understood that same or similar part can mutually refer in the various embodiments described above, in some embodiments
Unspecified content may refer to the same or similar content in other embodiments.
It should be noted that term " first ", " second " etc. are used for description purposes only in the description of the present application, without
It can be interpreted as indication or suggestion relative importance.In addition, in the description of the present application, unless otherwise indicated, the meaning of " multiple "
Refer at least two.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
Although embodiments herein has been shown and described above, it is to be understood that above-described embodiment is example
Property, it should not be understood as the limitation to the application, those skilled in the art within the scope of application can be to above-mentioned
Embodiment is changed, modifies, replacement and variant.
Claims (10)
1. a kind of print out task distribution method characterized by comprising
Receive the working condition that each printing terminal reports in the more printing terminals currently connected;
In the more printing terminals, the least available printing terminal of remaining task amount is selected according to the working condition, and
The printing terminal of final choice is determined according to the remaining least available printing terminal of task amount;
After the print job request for receiving client terminal transmission, the print job request is sent to the final choice
Printing terminal.
2. handling and appointing the method according to claim 1, wherein the working condition includes: that can not work
Business and task amount, alternatively, standby;
It is described to select the remaining least available printing terminal of task amount to specifically include according to the working condition:
It is that the task that handling and standby printing terminal are determined as available printing terminal by working condition;
If described can be standby printing terminal with there is working condition in printing terminal, select working condition for standby printing
Terminal is as the least available printing terminal of the remaining task amount;
If described with without working condition being standby printing terminal in printing terminal, working condition is selected to handle times
The least printing terminal of task amount is as the least available printing terminal of the remaining task amount in the printing terminal of business.
3. print out task distribution method according to claim 1, which is characterized in that the printing that the client terminal is sent is appointed
It include client terminal location information in business request;
It is described to determine that the printing terminal of final choice specifically includes according to the remaining least available printing terminal of task amount:
If the quantity of the least available printing terminal of remaining task amount is 1, select described 1 remaining task amount least available
Printing terminal of the printing terminal as the final choice;
If the quantity of the least available printing terminal of remaining task amount is at least 2, according to each printing terminal prestored
Location information and the client terminal location information, calculate each remaining least available printing terminal of task amount respectively with institute
The distance for stating client terminal position, in at least 2 least available printing terminals of remaining task amount, selection is whole with the client
The nearest available printing terminal of end position distance;The printing of final choice is determined in the nearest available printing terminal of the distance
Terminal.
4. print out task distribution method according to claim 3, which is characterized in that described in nearest available of the distance
Determine that the printing terminal of final choice specifically includes in printing terminal:
If the quantity of nearest available printing terminal is 1 with the client terminal positional distance, described 1 and the visitor are selected
Printing terminal of the terminal location distance nearest available printing terminal in family as the final choice;
If the quantity of nearest available printing terminal is at least 2 with the client terminal positional distance, printed according to each
The print capacity of terminal, in at least 2 available printing terminals nearest with the client terminal positional distance, selection printing
Printing terminal of the optimal available printing terminal of ability as the final choice;Wherein, the print capacity includes following item
At least one of in: print speed, print quality, print out task complete success rate.
5. print out task distribution method according to claim 4, which is characterized in that described to be selected according to the working condition
The remaining least available printing terminal of task amount specifically includes:
Judge the classification of the print job request;
According to the accessible task requests classification of each printing terminal prestored, asked from the print out task that handles currently connected
The least available printing terminal of remaining task amount is selected according to the working condition in the more printing terminals asked.
6. print out task distribution method according to claim 1, which is characterized in that further include:
Receive the task processing result for handling the printing terminal feedback of the print job request;
When the task processing result of the feedback is task processing failure, again in the more printing terminals, according to institute
It states working condition and selects the least available printing terminal of remaining task amount, and according to the least available printing of the remaining task amount
Terminal determines the printing terminal of final choice, and the print job request is sent to again to the printing terminal of final choice.
7. print out task distribution method according to claim 4, which is characterized in that further include:
The print cartridge of each printing terminal of real-time reception, toner cartridge surplus, and according to the print cartridge, it is beaten described in toner cartridge surplus real-time update
Print the print quality of terminal.
8. print out task distribution method according to claim 4, which is characterized in that further include:
The task processing result of each printing terminal of real-time reception, and printed according to the task processing result real-time update
The print out task of terminal completes success rate.
9. print out task distribution method according to claim 2, which is characterized in that
The working condition that can not be worked specifically includes: the reason of can not working and can not work;
The standby working condition specifically includes: standby and standby time.
10. a kind of print out task distribution server characterized by comprising
Processor and memory, the processor are connected with memory by communication bus:
Wherein, the processor, for calling and executing the program stored in the memory;
The memory, for storing program, described program is at least used for perform claim and the described in any item printings of 1-9 is required to appoint
Business distribution method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910402010.0A CN110109631A (en) | 2019-05-15 | 2019-05-15 | A kind of print out task distribution method and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910402010.0A CN110109631A (en) | 2019-05-15 | 2019-05-15 | A kind of print out task distribution method and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110109631A true CN110109631A (en) | 2019-08-09 |
Family
ID=67490164
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910402010.0A Pending CN110109631A (en) | 2019-05-15 | 2019-05-15 | A kind of print out task distribution method and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110109631A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112783454A (en) * | 2021-02-01 | 2021-05-11 | 江苏保旺达软件技术有限公司 | Virtual printing method, system, electronic equipment and storage medium |
CN116594575A (en) * | 2023-07-18 | 2023-08-15 | 明度智云(浙江)科技有限公司 | Print job regulation and control method, system and storage medium based on SaaS system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07200215A (en) * | 1993-12-01 | 1995-08-04 | Internatl Business Mach Corp <Ibm> | Selection method of printing device and data processing network |
US20090109464A1 (en) * | 2007-10-26 | 2009-04-30 | Kurt Knodt | Print Options For Productivity |
CN102508626A (en) * | 2011-11-09 | 2012-06-20 | 西安电子科技大学 | Novel method and system for parallel printing dispatching |
CN104238965A (en) * | 2013-06-14 | 2014-12-24 | 联想(北京)有限公司 | Printing selection method and electronic device |
CN107632798A (en) * | 2017-08-30 | 2018-01-26 | 深圳市盛路物联通讯技术有限公司 | Data-printing method and relevant device |
CN107741834A (en) * | 2017-10-13 | 2018-02-27 | 平安科技(深圳)有限公司 | A kind of printer control method and terminal device |
CN108062209A (en) * | 2017-11-13 | 2018-05-22 | 成都创慧科达科技有限公司 | A kind of printer sharing based on terminal positioning recommends method and system |
-
2019
- 2019-05-15 CN CN201910402010.0A patent/CN110109631A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07200215A (en) * | 1993-12-01 | 1995-08-04 | Internatl Business Mach Corp <Ibm> | Selection method of printing device and data processing network |
US20090109464A1 (en) * | 2007-10-26 | 2009-04-30 | Kurt Knodt | Print Options For Productivity |
CN102508626A (en) * | 2011-11-09 | 2012-06-20 | 西安电子科技大学 | Novel method and system for parallel printing dispatching |
CN104238965A (en) * | 2013-06-14 | 2014-12-24 | 联想(北京)有限公司 | Printing selection method and electronic device |
CN107632798A (en) * | 2017-08-30 | 2018-01-26 | 深圳市盛路物联通讯技术有限公司 | Data-printing method and relevant device |
CN107741834A (en) * | 2017-10-13 | 2018-02-27 | 平安科技(深圳)有限公司 | A kind of printer control method and terminal device |
CN108062209A (en) * | 2017-11-13 | 2018-05-22 | 成都创慧科达科技有限公司 | A kind of printer sharing based on terminal positioning recommends method and system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112783454A (en) * | 2021-02-01 | 2021-05-11 | 江苏保旺达软件技术有限公司 | Virtual printing method, system, electronic equipment and storage medium |
CN116594575A (en) * | 2023-07-18 | 2023-08-15 | 明度智云(浙江)科技有限公司 | Print job regulation and control method, system and storage medium based on SaaS system |
CN116594575B (en) * | 2023-07-18 | 2023-11-03 | 明度智云(浙江)科技有限公司 | Print job regulation and control method, system and storage medium based on SaaS system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110941419B (en) | Operation configuration implementation method and system based on rule engine | |
US7707279B2 (en) | Method for setting parameter via network and host computer | |
US6188487B1 (en) | Print control system and print control method | |
CN103019630B (en) | Print system, printing equipment and Method of printing | |
US20060050294A1 (en) | Method and system for managing the distribution of print job files among shared printers on a computer network | |
CN110109631A (en) | A kind of print out task distribution method and server | |
CN104391664B (en) | A kind of Self-service printing system for realizing printer and printing server cross-network segment communicating | |
CN105024839B (en) | A kind of method and device of software release upgrade | |
CN106327248A (en) | Electronic coupon acquiring method and electronic coupon acquiring device | |
CN107639940B (en) | The control method and chip of chip serial number in a kind of imaging system | |
CN101840316B (en) | Print management apparatus, and printer system | |
US10503448B1 (en) | Printer software distribution system | |
CN104932844A (en) | Printing Control Apparatus, Printing Control System And Non-Transitory Computer Readable Medium | |
CN108230087A (en) | Server | |
CN103927139B (en) | Printing data processing system and print data processing method | |
JP2001125762A (en) | Print system | |
CN107678707A (en) | A kind of multimachine joint Method of printing and device based on printer sharing | |
US10089052B2 (en) | Terminal device capable of transmitting status information indicative of usage status of cartridge mounted in first printer to second printer | |
CN110225102A (en) | Method, equipment and the system of pushed information | |
CN101261570B (en) | Driver system of image forming apparatuses and method of controlling the same | |
CN103581478B (en) | Image formation system and image forming method | |
US9448752B2 (en) | Print service identifier | |
CN107632798A (en) | Data-printing method and relevant device | |
US20050165694A1 (en) | Image forming system including server device and printers as clients | |
JP4040396B2 (en) | Notification method, information processing apparatus, and control program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190809 |
|
RJ01 | Rejection of invention patent application after publication |