CN112873853A - Method and device for switching printing queues, computer equipment and storage medium - Google Patents

Method and device for switching printing queues, computer equipment and storage medium Download PDF

Info

Publication number
CN112873853A
CN112873853A CN202011611402.7A CN202011611402A CN112873853A CN 112873853 A CN112873853 A CN 112873853A CN 202011611402 A CN202011611402 A CN 202011611402A CN 112873853 A CN112873853 A CN 112873853A
Authority
CN
China
Prior art keywords
printed
task
printing
current
priority
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
Application number
CN202011611402.7A
Other languages
Chinese (zh)
Inventor
刘辉林
唐京科
陈春
敖丹军
区志瑜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Chuangxiang 3D Technology Co Ltd
Original Assignee
Shenzhen Chuangxiang 3D Technology 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 Shenzhen Chuangxiang 3D Technology Co Ltd filed Critical Shenzhen Chuangxiang 3D Technology Co Ltd
Priority to CN202011611402.7A priority Critical patent/CN112873853A/en
Publication of CN112873853A publication Critical patent/CN112873853A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B29WORKING OF PLASTICS; WORKING OF SUBSTANCES IN A PLASTIC STATE IN GENERAL
    • B29CSHAPING OR JOINING OF PLASTICS; SHAPING OF MATERIAL IN A PLASTIC STATE, NOT OTHERWISE PROVIDED FOR; AFTER-TREATMENT OF THE SHAPED PRODUCTS, e.g. REPAIRING
    • B29C64/00Additive manufacturing, i.e. manufacturing of three-dimensional [3D] objects by additive deposition, additive agglomeration or additive layering, e.g. by 3D printing, stereolithography or selective laser sintering
    • B29C64/30Auxiliary operations or equipment
    • B29C64/386Data acquisition or data processing for additive manufacturing
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B33ADDITIVE MANUFACTURING TECHNOLOGY
    • B33YADDITIVE MANUFACTURING, i.e. MANUFACTURING OF THREE-DIMENSIONAL [3-D] OBJECTS BY ADDITIVE DEPOSITION, ADDITIVE AGGLOMERATION OR ADDITIVE LAYERING, e.g. BY 3-D PRINTING, STEREOLITHOGRAPHY OR SELECTIVE LASER SINTERING
    • B33Y50/00Data acquisition or data processing for additive manufacturing

Landscapes

  • Chemical & Material Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Materials Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Optics & Photonics (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention discloses a method and a device for switching a printing queue, computer equipment and a storage medium. The method comprises the steps of receiving a task to be printed and adding the task to a priority queue; comparing the priority of the task to be printed with the priority of the current printing task, if the priority of the task to be printed is higher than the priority of the current printing task, interrupting the current printing task, and storing the current progress parameter of the current printing task to a storage medium; acquiring a to-be-printed parameter of the to-be-printed task, storing the to-be-printed parameter to a storage medium, and finishing the to-be-printed task according to the to-be-printed parameter; and re-reading the current progress parameter, recovering the current printing task according to the current progress parameter and finishing printing. The present invention provides a method of switching processing according to print jobs of different priorities, with the advantage of being able to resume a previously interrupted print job after processing a print job of higher priority.

Description

Method and device for switching printing queues, computer equipment and storage medium
Technical Field
The invention relates to the technical field of 3D printing, in particular to a method and a device for switching a printing queue, computer equipment and a storage medium.
Background
At present, under the promotion of intellectualization of computer digital technology, the application field of 3D printing technology is wider and wider, especially FDM hot melting technology is favored by DIY fans more and more, most of 3D printers on the market print through SD cards, if a model is printed, the model needs to be printed urgently suddenly when the model is suddenly on the verge, and the urgent model can be printed only by waiting for the printing of the current model to be finished or by pulling out the SD card and abandoning the model being printed; however, pulling out the SD card easily causes an abnormal crash, and printing cannot be resumed after discarding the model under printing, thereby causing a serious waste in time and consumables.
Disclosure of Invention
The invention aims to provide a method and a device for switching a printing queue, a computer device and a storage medium, and aims to solve the problem that the current printing model has to be abandoned when the existing printer processes a printing task with higher priority.
In a first aspect, an embodiment of the present invention provides a method for switching a print queue, where the method includes:
receiving a task to be printed and adding the task to a priority queue;
comparing the priority of the task to be printed with the priority of the current printing task, if the priority of the task to be printed is higher than the priority of the current printing task, interrupting the current printing task, and storing the current progress parameter of the current printing task to a storage medium;
acquiring a to-be-printed parameter of the to-be-printed task, storing the to-be-printed parameter to a storage medium, and finishing the to-be-printed task according to the to-be-printed parameter;
and re-reading the current progress parameter, recovering the current printing task according to the current progress parameter and finishing printing.
In a second aspect, an embodiment of the present invention provides a switching apparatus for a print queue, including:
the receiving unit is used for receiving the tasks to be printed and adding the tasks to be printed into the priority queue;
the interruption unit is used for comparing the priority of the task to be printed with the priority of the current printing task, interrupting the current printing task if the priority of the task to be printed is higher than the priority of the current printing task, and storing the current progress parameter of the current printing task to a storage medium;
the printing unit is used for acquiring the parameters to be printed of the tasks to be printed, storing the parameters to be printed to a storage medium and finishing the tasks to be printed according to the parameters to be printed;
and the recovery unit is used for re-reading the current progress parameter, recovering the current printing task according to the current progress parameter and finishing printing.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the method for switching the print queue according to the first aspect when executing the computer program.
In a fourth aspect, the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, causes the processor to execute the method for switching print queues according to the first aspect.
The embodiment of the invention discloses a method and a device for switching a printing queue, computer equipment and a storage medium. The method comprises the steps of receiving a task to be printed and adding the task to a priority queue; comparing the priority of the task to be printed with the priority of the current printing task, if the priority of the task to be printed is higher than the priority of the current printing task, interrupting the current printing task, and storing the current progress parameter of the current printing task to a storage medium; acquiring a to-be-printed parameter of the to-be-printed task, storing the to-be-printed parameter to a storage medium, and finishing the to-be-printed task according to the to-be-printed parameter; and re-reading the current progress parameter, recovering the current printing task according to the current progress parameter and finishing printing. The embodiment of the invention provides a method for switching processing according to the printing tasks with different priorities, and has the advantage of restoring the previously interrupted printing task after processing the printing task with higher priority.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for switching a print queue according to an embodiment of the present invention;
FIG. 2 is a sub-flowchart of a method for switching a print queue according to an embodiment of the present invention;
FIG. 3 is a schematic view of another sub-flow of a method for switching a print queue according to an embodiment of the present invention;
FIG. 4 is a schematic view of another sub-flow of a method for switching a print queue according to an embodiment of the present invention;
FIG. 5 is a schematic flowchart of a method for switching a print queue according to an embodiment of the present invention;
FIG. 6 is a schematic block diagram of a print queue switching apparatus provided by an embodiment of the present invention;
fig. 7 is a schematic diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a method for switching a print queue according to an embodiment of the present invention;
as shown in fig. 1, the method includes steps S101 to S104.
And S101, receiving a task to be printed and adding the task to a priority queue.
In this embodiment, a to-be-printed task input by a user is received, where the to-be-printed task includes a priority of the task, a higher priority indicates that a more urgent printing task is performed, and different priorities of each printing task are sorted to form a priority queue.
In one embodiment, as shown in fig. 2, the step S101 includes:
s201, receiving and analyzing a task to be printed to obtain the priority of the task to be printed;
s202, adding the tasks to be printed into a priority queue according to the priority of the tasks to be printed.
In this embodiment, a to-be-printed task input by a user is received and analyzed to obtain a priority of the to-be-printed task, the priority may be divided into a plurality of levels, which may be a level-by-level descending division such as a level-by-level, a level-by-level descending division, or a division in a high-priority, medium-priority, and low-priority manner, and the printer may be controlled to print in sequence from a print task with the highest priority according to the priority queue.
And after analyzing and obtaining the priority of the task to be printed, adding the task to be printed into a priority queue according to the priority of the task to be printed and carrying out priority sequencing.
S102, comparing the priority of the task to be printed with the priority of the current printing task, if the priority of the task to be printed is higher than the priority of the current printing task, interrupting the current printing task, and storing the current progress parameter of the current printing task to a storage medium.
In this embodiment, the purpose of comparing the priority of the to-be-printed task with the priority of the current print task is to determine whether the to-be-printed task is a temporary urgent task, so as to determine whether the current print task needs to be interrupted, and preferentially print the to-be-printed task, thereby implementing task switching with higher priority; storing the current progress parameter of the interrupted current printing task to a storage medium so as to restore the previous printing task subsequently; specifically, the storage medium may be any one of a TF card, a memory chip, a usb disk, or other peripheral, built-in storage media.
In one embodiment, as shown in fig. 3, the step S102 includes:
s301, comparing the priority of the task to be printed with the priority of the current printing task;
s321, if the priority of the task to be printed is higher than that of the current printing task, interrupting the current printing task and recording current progress parameters, wherein the current progress parameters comprise one or more of the temperature of a printing nozzle, the temperature of a heating platform, the printing speed, the fan speed, the Z-axis compensation value of the nozzle and the printing coordinates of the nozzle;
s303, saving the current progress parameter to a first storage area of a storage medium.
In this embodiment, when a printer is executing a print job, a current print job is a print job with the highest current priority, after receiving a to-be-printed job input by a user, the priority of the to-be-printed job is first compared with the priority of the current print job, so as to determine whether the priority of the to-be-printed job is higher than the priority of the current print job, if the priority of the to-be-printed job is higher than the priority of the current print job, the to-be-printed job is determined to be an urgent job and needs to be printed preferentially, at this time, the current print job being printed can be directly interrupted, a current progress parameter when the current print job is interrupted is recorded, and the current progress parameter is stored in a first storage area of a storage medium, wherein the current progress parameter includes a temperature of a printing nozzle being printed currently, One or more of heating platform temperature, printing speed, fan speed, nozzle Z-axis compensation value and nozzle printing coordinates.
The storage medium is used for storing the printing parameters of the printing tasks, and a plurality of storage areas can be arranged in the storage medium and are respectively used for storing the printing parameters of different printing tasks.
S103, acquiring a to-be-printed parameter of the to-be-printed task, storing the to-be-printed parameter to a storage medium, and finishing the to-be-printed task according to the to-be-printed parameter;
in this embodiment, after the interrupted current print task is saved, the task to be printed is switched to a task with priority for printing, a parameter to be printed of the task to be printed is obtained, then the printer is controlled to reset and a new printing platform is replaced, the printer is controlled to execute the task to be printed on the new printing platform according to the parameter to be printed, the real-time printing parameter of the task to be printed is synchronously saved in the storage area of the storage medium, and the task to be printed is completed.
In one embodiment, as shown in fig. 4, the step S103 includes:
s401, storing the parameters to be printed into a second storage area of the storage medium;
s402, after the second storage area is activated, the parameters to be printed are read, printing operation is executed according to the parameters to be printed, and the tasks to be printed are completed.
In this embodiment, compressing and storing the to-be-printed parameter into a second storage area stored in the storage medium can prevent the to-be-printed parameter from being confused with the interrupted current progress parameter, so partition storage management is performed on the storage medium, the to-be-printed parameter is stored by setting the second storage area in the storage medium, thereby preventing parameter confusion, and ensuring a normal power-off continuous printing function of the to-be-printed task; in the process of executing the task to be printed, the second storage area is activated and the parameter to be printed is read to obtain specific parameters such as the temperature of a printing nozzle, the temperature of a heating platform, the printing speed and the like, and the printer is controlled to execute printing operation according to the parameters, so that the task to be printed can be completed.
And S104, reading the current progress parameter again, recovering the current printing task according to the current progress parameter and finishing printing.
After the task to be printed is completed, reading the next highest-priority printing task in the priority queue again, and if a newly-added higher-priority task is not received, determining the next highest-priority printing task as the interrupted current printing task; reinstalling the printing platform of the current printing task, reading the current progress parameter saved during interruption, controlling the printer to recover the current printing task and finish printing according to the current progress parameter.
In one embodiment, the step S104 includes:
and after the first storage area is activated, reading the current progress parameter, recovering the printing progress of the current printing task according to the current progress parameter, and finishing printing.
In this embodiment, when the interrupted current print task is resumed, the first storage area is activated first, the stored current progress parameter is read, and then the printer is controlled to resume the progress when the current progress parameter is interrupted, such as the physical coordinates of the nozzle, the temperature of the printing nozzle, the temperature of the heating platform, the printing rate, and the like when the interruption is resumed, so that better printing connection after the current print task is resumed is ensured, and the yield of the model is improved.
In an embodiment, the method further comprises: and dividing the storage medium into different storage areas, and respectively storing the progress parameters of the to-be-printed tasks into the different storage areas of the storage medium according to the different priorities.
In this embodiment, the task parameters of the print tasks with different priorities are stored in different storage areas of the storage medium respectively; for example, if the priorities are divided by high priority, medium priority and low priority, the storage area in the storage medium may be divided into three corresponding areas, each storage area stores task parameters corresponding to the priority, that is, different storage areas of the storage area may be divided according to the priority division, and the specific number of the areas is the same as the number of the priority levels.
In one embodiment, the activation rule of the storage medium is: only the storage area corresponding to the print job being printed is activated at a time.
In this embodiment, because the printer only needs to read the job parameters during printing, the activation rule of the storage medium is set to activate only the storage area corresponding to the printing job during printing, that is, when one storage area is read, other storage areas cannot be read, so that parameter confusion between different printing jobs can be prevented.
In an embodiment, the method further comprises: when the printing task is completed or terminated in advance, the printing parameters of the printing task in the storage medium are erased.
In this embodiment, when a print job is completed or terminated in advance, the stored data of the print job is automatically erased from the storage medium, so as to store job parameters of print jobs in the subsequent queue.
In one embodiment, as shown in fig. 5, the method further comprises:
s501, monitoring the state of the storage medium;
s502, if the storage medium state is normal, executing the printing task;
s503, if the state of the storage medium is abnormal, pausing the printing task and saving the printing parameters.
In this embodiment, the storage medium is always in an enabled state in the whole printing process, and records are printed synchronously in real time, if the state of the storage medium is abnormal, the storage of printing parameters is abnormal, which causes printing errors, so the state of the storage medium needs to be monitored, when the state of the storage medium is normal, the printing task is executed, and when the state of the storage medium is abnormal, the printing task is suspended and the printing parameters are stored; the specific state monitoring mode of the storage medium is as follows: detecting the storage medium through an MCU pin and obtaining high and low levels, judging whether the state of the storage medium is normal according to the obtained high and low levels, judging that the state of the storage medium is normal if the high and low levels of the storage medium fall within a preset range, and judging that the state of the storage medium is abnormal if the high and low levels of the storage medium exceed the preset range.
The embodiment of the invention also provides a switching device of the printing queue, which is used for executing any embodiment of the switching method of the printing queue. Specifically, referring to fig. 6, fig. 6 is a schematic block diagram of a switching device of a print queue according to an embodiment of the present invention.
As shown in fig. 6, the print queue switching apparatus 600 includes: a receiving unit 601, an interruption unit 602, a printing unit 603, and a recovery unit 604.
A receiving unit 601, configured to receive a job to be printed and add the job to a priority queue;
an interruption unit 602, configured to compare the priority of the to-be-printed task with the priority of the current print task, and if the priority of the to-be-printed task is higher than the priority of the current print task, interrupt the current print task and store the current progress parameter of the current print task to a storage medium;
the printing unit 603 is configured to acquire a parameter to be printed of the task to be printed, store the parameter to be printed in a storage medium, and complete the task to be printed according to the parameter to be printed;
a recovering unit 604, configured to re-read the current progress parameter, recover the current print job according to the current progress parameter, and complete printing.
The apparatus provides a method of switching processing according to print jobs of different priorities, with the advantage of restoring a previously interrupted print job after processing a print job of higher priority.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The switching means of the print queue described above may be implemented in the form of a computer program which is executable on a computer device as shown in fig. 7.
Referring to fig. 7, fig. 7 is a schematic block diagram of a computer device according to an embodiment of the present invention. The computer device 700 is a server, which may be an independent server or a server cluster composed of a plurality of servers.
Referring to fig. 7, the computer device 700 includes a processor 702, memory, and a network interface 705 coupled via a system bus 701, where the memory may include a non-volatile storage medium 703 and an internal memory 704.
The non-volatile storage medium 703 may store an operating system 7031 and a computer program 7032. The computer program 7032, when executed, may cause the processor 702 to perform a print queue switching method.
The processor 702 is configured to provide computing and control capabilities to support the operation of the overall computing device 700.
The internal memory 704 provides an environment for running a computer program 7032 in the nonvolatile storage medium 703, and the computer program 7032, when executed by the processor 702, causes the processor 702 to execute a print queue switching method.
The network interface 705 is used for network communication, such as providing transmission of data information. Those skilled in the art will appreciate that the configuration shown in fig. 7 is a block diagram of only a portion of the configuration associated with aspects of the present invention and is not intended to limit the computing device 700 to which aspects of the present invention may be applied, and that a particular computing device 700 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Those skilled in the art will appreciate that the embodiment of a computer device illustrated in fig. 7 does not constitute a limitation on the specific construction of the computer device, and that in other embodiments a computer device may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. For example, in some embodiments, the computer device may only include a memory and a processor, and in such embodiments, the structures and functions of the memory and the processor are consistent with those of the embodiment shown in fig. 7, and are not described herein again.
It should be appreciated that, in embodiments of the present invention, the Processor 702 may be a Central Processing Unit (CPU), and the Processor 702 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In another embodiment of the invention, a computer-readable storage medium is provided. The computer readable storage medium may be a non-volatile computer readable storage medium. The computer readable storage medium stores a computer program, wherein the computer program realizes the switching method of the print queue of the embodiment of the present invention when executed by a processor.
The storage medium is an entity and non-transitory storage medium, and may be various entity storage media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses, devices and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (12)

1. A method for switching a print queue, comprising:
receiving a task to be printed and adding the task to a priority queue;
comparing the priority of the task to be printed with the priority of the current printing task, if the priority of the task to be printed is higher than the priority of the current printing task, interrupting the current printing task, and storing the current progress parameter of the current printing task to a storage medium;
acquiring a to-be-printed parameter of the to-be-printed task, storing the to-be-printed parameter to a storage medium, and finishing the to-be-printed task according to the to-be-printed parameter;
and re-reading the current progress parameter, recovering the current printing task according to the current progress parameter and finishing printing.
2. The print queue switching method according to claim 1, further comprising:
and dividing the storage medium into different storage areas, and respectively storing the progress parameters of the to-be-printed tasks into the different storage areas of the storage medium according to the different priorities.
3. The print queue switching method according to claim 2, wherein the activation rule of the storage medium is: only the storage area corresponding to the print job being printed is activated at a time.
4. The method for switching the print queue according to claim 1, wherein the receiving the to-be-printed task and adding the to-be-printed task to the priority queue comprises:
receiving and analyzing a task to be printed to obtain the priority of the task to be printed;
and adding the tasks to be printed into a priority queue according to the priority of the tasks to be printed.
5. The method for switching the print queue according to claim 1, wherein the comparing the priority of the to-be-printed job with the priority of the current print job, and if the priority of the to-be-printed job is higher than the priority of the current print job, interrupting the current print job and saving the current progress parameter of the current print job to a storage medium comprises:
comparing the priority of the task to be printed with the priority of the current printing task;
if the priority of the task to be printed is higher than that of the current printing task, interrupting the current printing task and recording current progress parameters, wherein the current progress parameters comprise one or more of the temperature of a printing nozzle, the temperature of a heating platform, the printing speed, the fan speed, the Z-axis compensation value of the nozzle and the printing coordinates of the nozzle;
and saving the current progress parameter to a first storage area of a storage medium.
6. The method for switching the print queue according to claim 5, wherein the acquiring the parameter to be printed of the job to be printed and saving the parameter to be printed to a storage medium, and completing the job to be printed according to the parameter to be printed comprises:
storing the parameters to be printed into a second storage area of the storage medium;
and after the second storage area is activated, reading the parameters to be printed, and executing printing operation according to the parameters to be printed to finish the task to be printed.
7. The method for switching the print queue according to claim 5, wherein the reading the current progress parameter again, and resuming the current print job and completing printing according to the current progress parameter comprises:
and after the first storage area is activated, reading the current progress parameter, recovering the printing progress of the current printing task according to the current progress parameter, and finishing printing.
8. The print queue switching method according to claim 1, further comprising:
when the printing task is completed or terminated in advance, the printing parameters of the printing task in the storage medium are erased.
9. The print queue switching method according to any one of claims 1 to 8, further comprising:
monitoring the state of the storage medium;
if the storage medium state is normal, executing the printing task;
and if the state of the storage medium is abnormal, pausing the printing task and saving the printing parameters.
10. A print queue switching apparatus, comprising:
the receiving unit is used for receiving the tasks to be printed and adding the tasks to be printed into the priority queue;
the interruption unit is used for comparing the priority of the task to be printed with the priority of the current printing task, interrupting the current printing task if the priority of the task to be printed is higher than the priority of the current printing task, and storing the current progress parameter of the current printing task to a storage medium;
the printing unit is used for acquiring the parameters to be printed of the tasks to be printed, storing the parameters to be printed to a storage medium and finishing the tasks to be printed according to the parameters to be printed;
and the recovery unit is used for re-reading the current progress parameter, recovering the current printing task according to the current progress parameter and finishing printing.
11. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of switching print queues according to any one of claims 1 to 9 when executing the computer program.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to execute the print queue switching method according to any one of claims 1 to 9.
CN202011611402.7A 2020-12-30 2020-12-30 Method and device for switching printing queues, computer equipment and storage medium Pending CN112873853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011611402.7A CN112873853A (en) 2020-12-30 2020-12-30 Method and device for switching printing queues, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011611402.7A CN112873853A (en) 2020-12-30 2020-12-30 Method and device for switching printing queues, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112873853A true CN112873853A (en) 2021-06-01

Family

ID=76046358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011611402.7A Pending CN112873853A (en) 2020-12-30 2020-12-30 Method and device for switching printing queues, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112873853A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106313560A (en) * 2015-06-19 2017-01-11 成都美律科技有限公司 3D printer interrupt recovery system and method
US10052822B1 (en) * 2014-08-01 2018-08-21 Amazon Technologies, Inc. Selective pausing of 3D print jobs

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10052822B1 (en) * 2014-08-01 2018-08-21 Amazon Technologies, Inc. Selective pausing of 3D print jobs
CN106313560A (en) * 2015-06-19 2017-01-11 成都美律科技有限公司 3D printer interrupt recovery system and method

Similar Documents

Publication Publication Date Title
US8959515B2 (en) Task scheduling policy for limited memory systems
JP4768354B2 (en) Job management apparatus, job management method, and job management program
US20080098246A1 (en) Computer system and control method thereof
JP2001216123A5 (en)
US10560443B2 (en) Scheduled power mode switch for thin client devices
JPWO2005106623A1 (en) CPU clock control device, CPU clock control method, CPU clock control program, recording medium, and transmission medium
JP5497560B2 (en) Job processing system
US20180260244A1 (en) Automatic reconfiguration of high performance computing job schedulers based on user behavior, user feedback, and job performance monitoring
US8730490B2 (en) Printer driver, information processing apparatus, and computer program product
CN101625650B (en) Controlling a computer system having a processor including a plurality of cores
JP2013207718A5 (en) Printing apparatus, printing apparatus control method, and program
CN112873853A (en) Method and device for switching printing queues, computer equipment and storage medium
US20070005860A1 (en) Interrupt control system and method
JP2008204243A (en) Job execution control method and system
CN109034668B (en) ETL task scheduling method, ETL task scheduling device, computer equipment and storage medium
CN112579010A (en) Information processing apparatus, storage medium, and information processing method
JP4021868B2 (en) Printing apparatus, printing method, and printing system
CN109426563B (en) Process management method and device
JP2015219801A (en) Maintenance management device and program
JP2000353068A (en) Printer and print control method
JP2007299126A (en) Controller and program for controller
JP2001236195A (en) Printing controller and its program recording medium
JP5267204B2 (en) Printing device
JP5621494B2 (en) Document management apparatus and document management program
JP3256674B2 (en) Information processing apparatus and program storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210601