Printing method, apparatus, and electronic device
Patent Information
- Application Number
- CN202510436105.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-08
- Publication Date
- 2026-10-16
AI Technical Summary
[0005]本申请提供一种打印方法、装置和电子设备,用以解决打印多个文件时,打印机整体打印效率较低的问题
[0037] The printing method, apparatus, and electronic device provided in this application include: determining a printing adjustment strategy for multiple print documents in real time during the execution of a printing task; dynamically adjusting the printing order of the multiple print documents according to the printing adjustment strategy; and executing the printing task according to the adjusted printing order. In this way, the printing order can be adjusted in real time during the printing of multiple documents, thereby improving the overall printing efficiency of the printer.
Smart Images

Figure CN122924697A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of printing technology, and more particularly to a printing method, apparatus, and electronic device. Background Technology
[0002] Image forming devices, such as printers, can convert electronic image data into visible images and output them onto recording media (such as paper).
[0003] Currently, image forming apparatuses typically employ a parsing-while-printing strategy to perform multiple document printing tasks. For example, when an image forming apparatus prints documents A, B, and C, it parses document A, and after parsing a portion of document A, it begins printing that portion while simultaneously continuing to parse the remaining parts of document A, as well as documents B and C.
[0004] However, when printing multiple files with varying content complexity using a parsing-as-printing method, the overall printing efficiency of the image forming device may be low. Summary of the Invention
[0005] This application provides a printing method, apparatus, and electronic device to solve the problem of low overall printing efficiency of printers when printing multiple documents.
[0006] In a first aspect, this application provides a printing method, the method comprising:
[0007] During the execution of printing tasks for multiple print files, the printing adjustment strategy for the multiple print files is determined in real time.
[0008] Based on the real-time determined printing adjustment strategy, the printing order of the multiple print files is dynamically adjusted, and the printing task is executed according to the adjusted printing order.
[0009] In one possible implementation, the real-time determination of the print adjustment strategy for the plurality of print files includes:
[0010] Upon receiving a user-inputted adjustment voice command, a print adjustment strategy is generated for the plurality of print files based on the print adjustment indication contained in the adjustment voice command. The print adjustment indication is used to indicate the adjusted print order of at least one print file among the plurality of print files and / or to indicate the adjusted print parameters of at least one print file among the plurality of print files.
[0011] In one possible implementation, the real-time determination of the print adjustment strategy for the plurality of print files includes:
[0012] Real-time acquisition of parsing information for the multiple print files;
[0013] Based on the real-time acquired parsing information of each printed file and the printing speed of the image forming device, the printing time of each printed file is estimated, and the estimated printing time of each printed file is obtained.
[0014] Based on the estimated printing time for each print file, a printing adjustment strategy is determined in real time for the multiple print files.
[0015] In one possible implementation, after dynamically adjusting the printing order of the plurality of print files, the method further includes:
[0016] Output a first prompt voice, which indicates that the printing order of the multiple printable files has been adjusted.
[0017] In one possible implementation, the method further includes:
[0018] During the printing of multiple print files, upon receiving a query voice command input by the user, a second prompt voice is output based on the content to be queried in the query voice command. The second prompt voice is used to indicate at least one of the following information: printing progress, printing order, and estimated printing completion time of the multiple print files.
[0019] In one possible implementation, the method further includes, prior to executing a print job for multiple print files:
[0020] Upon receiving a user's voice command to start a task, the system identifies the multiple printable files to be printed and their initial print order as mentioned in the command, and executes the print task for those files according to their initial print order; or,
[0021] After receiving the user's voice command to start a task, the system identifies the multiple printable files to be printed that are involved in the voice command.
[0022] Each of the multiple print files is pre-parsed to obtain the initial parsing information for each print file;
[0023] The initial printing order of the multiple print files is determined based on the initial parsing information of each print file;
[0024] The printing tasks of the multiple print files are executed according to their initial printing order.
[0025] In one possible implementation, the method further includes:
[0026] Upon receiving a voice command from the user to cancel the task, the currently executing print job is canceled; and / or,
[0027] Upon receiving a user's voice command to pause the task, the ongoing printing task is paused.
[0028] Secondly, this application provides a printing apparatus, comprising:
[0029] The determination module is used to determine the printing adjustment strategy for the multiple print files in real time during the execution of printing tasks for multiple print files;
[0030] The adjustment module is used to dynamically adjust the printing order of the multiple print files according to the real-time determined printing adjustment strategy;
[0031] The task execution module is used to execute the printing tasks according to the adjusted printing order.
[0032] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;
[0033] The memory stores computer-executed instructions;
[0034] The processor executes computer execution instructions stored in the memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.
[0035] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.
[0036] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.
[0037] The printing method, apparatus, and electronic device provided in this application include: determining a printing adjustment strategy for multiple print documents in real time during the execution of a printing task; dynamically adjusting the printing order of the multiple print documents according to the printing adjustment strategy; and executing the printing task according to the adjusted printing order. In this way, the printing order can be adjusted in real time during the printing of multiple documents, thereby improving the overall printing efficiency of the printer. Attached Figure Description
[0038] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0039] Figure 1 A flowchart illustrating a printing method provided in this application;
[0040] Figure 2 A schematic diagram of the printing apparatus provided in this application;
[0041] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0042] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0043] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0044] The specific application scenario of this application is the printing of multiple documents by an image forming apparatus.
[0045] When printing multiple documents, the image forming apparatus employs a strategy of parsing and printing simultaneously. Specifically, the image forming apparatus may first parse one of the multiple documents, and after parsing a portion of that document, print the parsed content, and then continue parsing the remaining portion of that document and other documents.
[0046] However, the files users need to print may be of different types, such as mixed text and image files, plain text files, and plain image files. These different types of files have varying levels of complexity, and parsing more complex files takes longer than parsing less complex files. Therefore, there may be situations where parsed portions have already been printed while unparsed portions are still being parsed, causing idle time for the image forming device. Alternatively, when printing more complex files, the more complex files may not be finished printing while the less complex files have been parsed and are waiting to be printed, thus increasing the printing time of the less complex files. Therefore, even when using a parsing-as-you-go approach to print multiple files with varying complexity, the overall printing efficiency remains relatively low.
[0047] Based on this, this application provides a printing method that adjusts the printing order of multiple documents in real time according to the obtained printing strategy during the printing process, so as to improve the overall printing efficiency.
[0048] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0049] Figure 1 A flowchart illustrating a printing method provided in this application is shown below. Figure 1 As shown, the method is applied to an image forming apparatus, including:
[0050] S101. During the process of executing multiple print jobs, determine the print adjustment strategy for multiple print jobs in real time.
[0051] The print adjustment strategy refers to the strategy for adjusting multiple print files that have not been printed in a print job. The print adjustment strategy can include: adjustments to print parameters of the print files and / or adjustments to the print order of the print files. Print parameters can include: number of copies, paper size, single / double-sided printing, black and white / color printing, etc.
[0052] In this embodiment of the application, the method of determining the printing adjustment strategy for multiple print files in a print job in real time can be implemented in the following two possible ways:
[0053] In one possible implementation, the image forming apparatus generates a print adjustment strategy based on the user's voice. Here, the image forming apparatus can refer to a device with printing capabilities, including but not limited to laser printers, inkjet printers, multifunction printers, label printers, thermal printers, light-emitting diode (LED) printers, multifunction printers, and multi-functional peripherals (MFPs) that perform the above functions in a single device.
[0054] Specifically, after receiving an adjustment voice command input by the user, the image forming apparatus identifies a print adjustment instruction from the voice command and generates a print adjustment strategy for multiple print files based on the print adjustment instruction. The print adjustment instruction indicates the adjusted print order of at least one print file among the multiple print files and / or indicates the adjusted print parameters of at least one print file among the multiple print files. The adjusted print order included in the print adjustment instruction refers to the print order to which the print order needs to be adjusted from the original print order, and the adjusted print parameters included in the print adjustment instruction refer to the print parameters to which the print parameters need to be adjusted from the original print parameters.
[0055] For example, during the printing of documents A, B, and C by an image forming apparatus, the printing order is A, B, C. If a user wants to print document C first while document A is being printed, the user can issue a voice command to "print document C first." Based on this voice command, the image forming apparatus recognizes the printing adjustment instruction and generates a printing adjustment strategy. This strategy instructs that document C be printed before document A, and document B after document A. The printing adjustment instruction further specifies the printing order in which document C should be placed first.
[0056] For example, during the printing of documents 1, 2, 3, 4, and 5 by the image forming apparatus, the printing order is document 1, document 2, document 3, document 4, and document 5. While document 1 is being printed, if the user wants to print documents 3 and 4 first, the user can issue a voice command to "print documents 3 and 4 first." Based on this voice command, the image forming apparatus recognizes the printing adjustment instruction and generates a printing adjustment strategy. The printing adjustment instruction indicates whether document 3 and document 4 should be printed first or second in the printing order. The printing adjustment strategy indicates that document 3 should be printed first, document 4 second, document 1 third, document 2 fourth, and document 5 fifth.
[0057] For example, during the printing of documents 1, 2, 3, 4, and 5 by the image forming apparatus, the printing order is document 1, document 2, document 3, document 4, and document 5. While document 1 is being printed, if the user wants document 4 to be printed after document 2, the user can issue a voice command saying "Print document 2, then print document 4." Based on this voice command, the image forming apparatus recognizes the print adjustment instruction and generates a print adjustment strategy. The print adjustment instruction directs the printing of document 4 to be moved before document 3. The print adjustment strategy directs the printing order of documents 1, 2, and 5 to remain unchanged, the printing order of document 4 to be moved to the third position, and the printing order of document 3 to be moved to the fourth position.
[0058] For example, during the printing tasks of document 1, document 2, document 3, document 4, and document 5 performed by the image forming apparatus, document 1 is currently being printed, and the printing parameters for document 2 are set to print 2 copies using A4 paper. If the user says, "Adjust document 2 to print 3 copies," the image forming apparatus can recognize the print adjustment instruction based on the user's voice command and generate a print adjustment strategy accordingly. The print adjustment instruction is used to indicate that the number of copies of document 2 to be printed be adjusted from 2 to 3.
[0059] In this way, the image forming apparatus can generate a strategy to adjust the printing order and / or printing parameters of the document based on the user's real-time voice input, so as to dynamically adjust the printing order and / or printing parameters, thereby improving the overall printing efficiency of the image forming apparatus and providing convenience to the user.
[0060] In another possible implementation, the image forming apparatus determines a printing adjustment strategy for multiple print files based on real-time printing and parsing data.
[0061] During the printing process, parsing information of multiple unfinished print files is acquired in real time. Based on the parsing information of each print file and the printing speed of the image forming device, the printing time for each print file is estimated, resulting in an estimated printing time. Based on the estimated printing time, a printing adjustment strategy is determined in real time for the multiple print files.
[0062] When the estimated printing time of a certain print file is too long, the printing order of multiple print files can be automatically adjusted, allowing print files with shorter estimated printing times to be printed first.
[0063] When the print adjustment strategy includes adjusting the print parameters of the print file, the print duration of each print file can be estimated based on the parsing information of each print file, the current print parameters of each print file, and the print speed of the image forming device, thus obtaining the estimated print duration.
[0064] When the estimated printing time of a certain print file is too long, the printing order of multiple print files can be automatically adjusted so that print files with shorter estimated printing times are printed first, or the user can be prompted whether the printing parameters need to be adjusted to shorten the estimated printing time of print files with excessively long estimated printing times, so as to ensure the overall printing efficiency of the image forming device.
[0065] The prompting methods include: displaying prompts on the image forming apparatus's display screen, voice prompts, and displaying prompts on the user terminal's display screen. The parsing information for each print file includes the parsing progress, content to be parsed, the content type of the content to be parsed, parsed content, and the content type of the parsed content. Content types include: text, image, and pattern types. The printing speed of the image forming apparatus refers to the speed at which the image forming apparatus forms an image on the paper. The estimated printing time can refer to the predicted time from the completion of parsing the print file to its printing output.
[0066] It should be noted that before starting a print job, each print file in the print job can be pre-parsed (i.e., pre-parsed). Preliminary parsing only parses a portion of the print file, not the entire content. Furthermore, based on the results of the preliminary parsing, the printing time for each print file is estimated to obtain an initial estimated printing time.
[0067] After obtaining the initial estimated printing time for each print file, the initial printing order of each print file can be determined based on the initial estimated printing time, and the printing tasks of multiple print files can be executed according to the initial printing order.
[0068] However, the content of the printed files differs during the parsing process, causing a discrepancy between the actual printing time and the initial estimated printing time. Therefore, this application requires real-time estimation of the estimated printing time for each printed file and, based on the estimated printing time of each file, determining a real-time printing adjustment strategy for multiple printed files. That is, based on the estimated printing time of each printed file, the printing order or printing parameters of each printed file are dynamically adjusted.
[0069] S102. Based on the real-time determined printing adjustment strategy, dynamically adjust the printing order of the multiple print files, and execute the printing task according to the adjusted printing order.
[0070] In this embodiment, after determining the print adjustment strategy, the printing order of multiple unfinished print files and / or the printing parameters of at least one print file can be dynamically adjusted according to the real-time determined print adjustment strategy. After adjusting the print order and / or printing parameters, the multiple unfinished print files in the print job are executed according to the adjusted print order and / or adjusted printing parameters.
[0071] Based on the two possible implementations of the print adjustment strategy shown in step S101, adjusting the print order also corresponds to two possible implementations:
[0072] In one possible implementation, when the print adjustment strategy is generated by the image forming apparatus based on the user's voice, the image forming apparatus can pause the currently printing print file and adjust the printing order and printing parameters of multiple print files based on the determined print adjustment strategy.
[0073] For example, when an image forming apparatus is performing a printing task for document A, document B, and document C in the order of printing, while document A is currently being printed, the user can give an adjustment voice command: "Print document C first, and change the number of copies of document A from 2 to 1." Based on this adjustment voice command, the image forming apparatus generates a printing adjustment strategy. According to this printing adjustment strategy, the image forming apparatus can pause the printing of document A, adjust the printing order to document C, document A, and document B, and change the printing parameter of document A from 2 copies to 1 copy. Then, it prints document C, document A, and document B sequentially according to the adjusted printing order and printing parameters.
[0074] In this way, users can use voice commands to make the image forming device adjust the printing order and printing parameters of the documents in real time, making the entire printing process more flexible and improving the user experience.
[0075] In another possible implementation, when the print adjustment strategy is generated by the image forming apparatus based on the print time estimated by the real-time resolution, the print order of multiple print files can be adjusted according to the print adjustment strategy to obtain a new print order. Printing is then performed according to the new print order.
[0076] In this way, during the printing process, the printing order and / or printing parameters are adjusted in real time according to the newly estimated printing time, so that the image forming device prints multiple documents in order of printing time from shortest to longest, reducing the possibility of inaccurate initial estimated printing time and improving overall printing efficiency.
[0077] Furthermore, if the estimated printing time for a certain printable document is less than the estimated printing time for the currently being printed document, the image forming apparatus may not pause the current printable document and can resume printing according to the new printing order after the current document is finished. Alternatively, the image forming apparatus may pause the currently being printed document, proceed with printing according to the new printing order, and when printing resumes on the paused document, only the remaining unprinted portion needs to be printed.
[0078] In this way, since the parsing time of print files with longer printing times is also longer, printing multiple print files in order of shortest to longest printing time can give sufficient parsing time to print files with longer parsing times, reduce the idle time of the image forming device in the whole printing process, and improve the overall printing efficiency.
[0079] Therefore, the printing method provided in this application can adjust the printing order and / or printing parameters of multiple unfinished print files according to the obtained printing adjustment strategy during the printing process, and continue printing according to the adjusted printing order and / or printing parameters. This allows for real-time adjustment of the printing order, enabling printing to proceed in a more optimal order and improving overall printing efficiency.
[0080] In this embodiment of the application, during the printing of multiple print jobs, the user can monitor the current status of the print jobs in real time. This can be achieved either by the image forming device actively announcing the status or by the user querying the status of multiple print jobs via voice.
[0081] In this embodiment of the application, after adjusting the printing order and / or printing parameters, the image forming apparatus can output a first prompt voice, which is used to prompt the user that the printing order and / or printing parameters of the printed document have been adjusted.
[0082] For example, when the image forming apparatus adjusts the original printing order of file A, file B, file C to file C, file A, file B, the first prompt voice can be "The printing order has been adjusted to file C, file A, file B".
[0083] In this embodiment, when a user wants to inquire about the current status of a print job, the user can input a query voice command into the image forming apparatus. After receiving the query voice command, the image forming apparatus outputs a second prompt voice based on the content to be queried in the query voice command. The second prompt voice is used to indicate at least one of the following information among multiple print files: printing progress, printing order, and estimated printing completion time. The second prompt voice corresponds to the content to be queried in the query voice command.
[0084] For example, if a user wants to inquire about the printing progress of document A, the user can input the query voice command "How many pages of document A have been printed?" The image forming apparatus responds to the user's query voice command and outputs a second prompt voice command "Document A has printed 3 pages, 4 pages remain to be printed, and it is estimated that it will take another 3 minutes to complete."
[0085] In this way, users can check the printing status of the document at any time through voice inquiries during the printing process, thus improving the user experience.
[0086] Optionally, the image forming apparatus may also output a voice prompt indicating the printing status of the document after each document is printed or at preset intervals.
[0087] In this embodiment of the application, before executing a printing task for multiple print files, the image forming apparatus needs to acquire multiple print files and determine the printing task attributes of the multiple print files. The printing task attributes include the printing order and printing parameters.
[0088] Next, the process by which the image forming apparatus acquires multiple print files and determines the print task attributes of the multiple print files will be explained.
[0089] In one possible implementation, the image forming apparatus can acquire multiple print files and the initial printing order of the multiple print files based on user-input voice.
[0090] When a user wants to print multiple documents, they can input a voice command to start the printing task into the image forming apparatus. Upon receiving this command, the apparatus identifies the multiple documents to be printed and their initial printing order. The image forming apparatus can establish a network connection with the cloud and, in response to the user's command, retrieve the corresponding documents from the cloud. It then executes the printing task for each document according to the initial printing order. The voice command includes the names of the documents to be printed, their printing order, and the printing parameters for each document. When the command includes printing parameters, the apparatus executes the printing task for each document according to the initial printing order and the individual printing parameters.
[0091] For example, if a user inputs a voice command to start the task, such as "print files 7, 8, and 9 in the order of files 7, 8, and 9", the image forming apparatus can retrieve files 7, 8, and 9 from the cloud after receiving the user's voice command and execute the printing in the order of files 7, 8, and 9.
[0092] In another possible implementation, the image forming apparatus can acquire multiple print files based on user-input voice, estimate the initial printing time based on the content types of the multiple print files, and determine the initial printing order of the multiple print files based on the initial printing time.
[0093] When a user wants to print multiple documents, they can input a voice command to start the printing task into the image forming apparatus. Upon receiving the voice command, the image forming apparatus identifies the multiple documents to be printed. Based on the initial parsing information for each document, it determines the initial printing order. Then, it executes the printing task for each document according to this initial printing order. The voice command for starting the printing task contains the names of the documents to be printed, their respective printing parameters, and other information.
[0094] For example, if a user inputs a voice command to start a printing task, such as "Print files 7, 8, and 9," the image forming apparatus can retrieve files 7, 8, and 9 from the cloud based on this command. Simultaneously, it parses these files and, based on the parsed information, estimates the initial estimated printing time for each file. Then, it determines the printing order of each file according to its estimated printing time, from shortest to longest. For instance, if the initial estimated printing time for the three files, from shortest to longest, is: File 8, File 9, File 7, then the printing order is: File 8, File 9, File 7. The printing task is then executed according to this order.
[0095] The method for determining the initial printing order of multiple print files based on the initial parsing information of each print file includes: simultaneously pre-parsing portions of the contents of multiple print files to obtain initial parsing information; estimating the printing time of each print file based on the initial parsing information of each print file and the printing speed of the image forming apparatus to obtain the initial estimated printing time of each print file; and determining the initial printing order for the multiple print files based on the initial estimated printing time of each print file.
[0096] For example, the image forming apparatus may employ multi-threading or multi-processing techniques to simultaneously parse multiple acquired print files, thereby completing the parsing of partial contents of multiple print files in a relatively short time.
[0097] For example, parsing a portion of the content of multiple printed documents can be done by parsing the first few pages of each document, such as the first one or two pages. Alternatively, key portions of the printed documents can be parsed to extract feature information for each document. Based on this feature information and the printing speed of the image forming apparatus, the estimated printing time for each document can be estimated. This feature information is related to printing time, such as page layout, text density, and the number of images. This application does not specifically limit the feature information used in its embodiments.
[0098] In addition, during the printing process of the image forming apparatus, the user can cancel or pause the printing task via voice.
[0099] During the printing process of the image forming apparatus, the user inputs a voice command to cancel the task into the image forming apparatus. Upon receiving the voice command, the image forming apparatus cancels the printing task that is being executed.
[0100] During the printing process of the image forming apparatus, the user inputs a voice command to pause the printing task. Upon receiving the voice command, the image forming apparatus pauses the printing task in progress.
[0101] In this embodiment, the user can use voice commands to start, cancel, or pause the printing task of the image forming apparatus and to check the printing progress. This allows the user to flexibly control the printing process of the image forming apparatus, simplify manual operations, improve printing convenience, and enhance the user experience.
[0102] Figure 2 A schematic diagram of the printing device provided in this application is shown below. Figure 2 As shown, the printing device 20 provided in this embodiment includes:
[0103] The determination module 201 is used to determine the printing adjustment strategy for the multiple print files in real time during the execution of printing tasks for multiple print files.
[0104] The adjustment module 202 is used to dynamically adjust the printing order of the multiple print files according to the real-time determined printing adjustment strategy.
[0105] The task execution module 203 is used to execute the printing task according to the adjusted printing order.
[0106] In one possible implementation, the determining module 201 is specifically configured to, upon receiving an adjustment voice command input by a user, generate a print adjustment strategy for the plurality of print files based on the print adjustment indication contained in the adjustment voice command, wherein the print adjustment indication is used to indicate the adjusted print order of at least one print file among the plurality of print files and / or to indicate the adjusted print parameters of at least one print file among the plurality of print files.
[0107] In one possible implementation, the determining module 201 is specifically used to acquire the parsing information of the plurality of print files in real time; based on the parsing information of each print file acquired in real time and the printing speed of the image forming device, to estimate the printing time of each print file, thereby obtaining the estimated printing time of each print file; and based on the estimated printing time of each print file, to determine the printing adjustment strategy for the plurality of print files in real time.
[0108] In one possible implementation, the device further includes a voice module 204.
[0109] The voice module 204 is used to output a first prompt voice, which indicates that the printing order of the plurality of printable documents has been adjusted.
[0110] In one possible implementation, the voice module 204 is further configured to, during the execution of a printing task for multiple printable documents, after receiving a query voice command input by the user, output a second prompt voice based on the content to be queried in the query voice command. The second prompt voice is used to indicate at least one of the following information: printing progress, printing order, and estimated printing completion time of the multiple printable documents.
[0111] In one possible implementation, the task execution module 203 is further configured to, before executing the printing task of multiple print files, after receiving a user-inputted task start voice command, identify the multiple print files to be printed involved in the task start voice command and the initial printing order of the multiple print files, and execute the printing task of the multiple print files according to the initial printing order of the multiple print files; or, after receiving a user-inputted task start voice command, identify the multiple print files to be printed involved in the task start voice command; pre-parse each of the multiple print files to obtain initial parsing information for each print file; and determine the initial printing order of the multiple print files according to the initial parsing information for each print file.
[0112] The printing tasks of the multiple print files are executed according to their initial printing order.
[0113] The task execution module 203 is also configured to cancel the ongoing printing task after receiving a user-inputted voice command to cancel the task; and / or to pause the ongoing printing task after receiving a user-inputted voice command to pause the task.
[0114] It should be understood that the printing apparatus described in this application can be the image forming apparatus described in the above embodiments.
[0115] The printing device provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0116] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 3 As shown, the electronic device 30 provided in this embodiment includes at least one processor 301 and a memory 302. Optionally, the device 30 further includes a communication component 303. The processor 301, memory 302, and communication component 303 are connected via a bus 304.
[0117] In a specific implementation, at least one processor 301 executes computer execution instructions stored in memory 302, causing at least one processor 301 to perform the above-described method.
[0118] The specific implementation process of processor 301 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.
[0119] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0120] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0121] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0122] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0123] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.
[0124] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0125] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0126] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0127] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0128] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0129] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0130] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0131] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A printing method, characterized in that, The method includes: During the execution of printing tasks for multiple print files, the printing adjustment strategy for the multiple print files is determined in real time. Based on the real-time determined printing adjustment strategy, the printing order of the multiple print files is dynamically adjusted, and the printing task is executed according to the adjusted printing order.
2. The method according to claim 1, characterized in that, The real-time determination of the printing adjustment strategy for the multiple print files includes: Upon receiving a user-inputted adjustment voice command, a print adjustment strategy is generated for the plurality of print files based on the print adjustment indication contained in the adjustment voice command. The print adjustment indication is used to indicate the adjusted print order of at least one print file among the plurality of print files and / or to indicate the adjusted print parameters of at least one print file among the plurality of print files.
3. The method according to claim 1, characterized in that, The real-time determination of the printing adjustment strategy for the multiple print files includes: Real-time acquisition of parsing information for the multiple print files; Based on the real-time acquired parsing information of each printed file and the printing speed of the image forming device, the printing time of each printed file is estimated, and the estimated printing time of each printed file is obtained. Based on the estimated printing time for each print file, a printing adjustment strategy is determined in real time for the multiple print files.
4. The method according to any one of claims 1-3, characterized in that, After dynamically adjusting the printing order of the multiple print files, the method further includes: Output a first prompt voice, which indicates that the printing order of the multiple printable files has been adjusted.
5. The method according to any one of claims 1-3, characterized in that, The method further includes: During the printing of multiple print files, upon receiving a query voice command input by the user, a second prompt voice is output based on the content to be queried in the query voice command. The second prompt voice is used to indicate at least one of the following information: printing progress, printing order, and estimated printing completion time of the multiple print files.
6. The method according to any one of claims 1-3, characterized in that, Before executing a print job for multiple print files, the method further includes: Upon receiving a user's voice command to start a task, the system identifies the multiple printable files to be printed and their initial print order as mentioned in the command, and executes the print task for those files according to their initial print order; or, After receiving the user's voice command to start a task, the system identifies the multiple printable files to be printed that are involved in the voice command. Each of the multiple print files is pre-parsed to obtain the initial parsing information for each print file; The initial printing order of the multiple print files is determined based on the initial parsing information of each print file; The printing tasks of the multiple print files are executed according to their initial printing order.
7. The method according to claim 1, characterized in that, The method further includes: Upon receiving a voice command from the user to cancel the task, the currently executing print job is canceled; and / or, Upon receiving a user's voice command to pause the task, the ongoing printing task is paused.
8. A printing apparatus, characterized in that, include: The determination module is used to determine the printing adjustment strategy for the multiple print files in real time during the execution of printing tasks for multiple print files; The adjustment module is used to dynamically adjust the printing order of the multiple print files according to the real-time determined printing adjustment strategy; The task execution module is used to execute the printing tasks according to the adjusted printing order.
9. An electronic device, comprising: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-7.