Batch printing method, system and equipment based on file type classification and medium

Through batch printing methods and systems based on file type classification, the file types are automatically identified, the printing format is allocated and the printing tasks are performed, and the problems of inefficiency and error-prone traditional printing methods are solved, and efficient and accurate batch printing is achieved.

CN119576254APending Publication Date: 2025-03-07INSPUR FINANCIAL INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411504664.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-26
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

In an office environment, when processing and printing a large number of different types of files, traditional printing methods are inefficient and easily lead to printing errors, and users need to manually select the printing format.

Method used

Provide a batch printing method and system based on file type classification, through file type identification, automatic allocation of appropriate printing formats, integrated printing tasks, perform printing, provide preview and verification to ensure the accuracy of printing content.

Benefits of technology

It significantly improves the efficiency and accuracy of batch printing, reduces manual intervention, and is especially suitable for office scenarios where a large number of different types of files are processed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119576254A_ABST
    Figure CN119576254A_ABST
Patent Text Reader

Abstract

The invention discloses a batch printing method, system and device based on file type classification and a medium. The method comprises the following steps that a to-be-printed file set uploaded by a user is received; identifying the type of each file; distributing a proper printing format for each file according to an identification result; all printing tasks are integrated; executing the printing task; providing preview before printing, and executing content verification after printing; the method can automatically identify the file types, summarize the printing files in batches, select a proper printing format for classified printing according to the file types, and preview and check the printing result, so that the efficiency and accuracy of batch printing are remarkably improved, and the method is particularly suitable for office scenes needing to process a large number of different types of files.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of office automation technology, and in particular to a batch printing method, system, equipment and medium based on file type classification. Background Art

[0002] In the current office environment, processing and printing a large number of different types of files (such as Word documents, Excel spreadsheets, PDF files, pictures, etc.) is a common and tedious task. Traditional printing methods often require users to manually select the print format, which is not only inefficient, but also prone to printing errors due to improper format selection. Summary of the invention

[0003] The object of the present invention is to provide a batch printing method, system, device and medium based on file type classification, thereby solving all or one of the above problems existing in the prior art.

[0004] In order to solve the above technical problems, the specific technical solutions of the present invention are as follows: In one aspect, the present invention provides a batch printing method based on file type classification, comprising the following steps: Receive a set of files to be printed uploaded by a user; Identify the type of each file; According to the recognition results, appropriate printing formats are assigned to each file; Integrate all printing tasks; Execute printing tasks; Provides a preview before printing and performs content verification after printing.

[0005] In one embodiment, the method further includes: adjusting the preset printing format according to user needs.

[0006] In one embodiment, during the content verification, if it is found that there is a significant difference between the printed content and the original document, the error is automatically marked and the user is prompted to reprint or correct it.

[0007] On the other hand, the present invention also provides a batch printing system based on file type classification, comprising: The file import module is used to receive multiple files to be printed uploaded by users; A file type identification module, used to identify the type of each file; The print format selection module automatically matches the preset optimal print format according to the identified file type; The print task management module is used to aggregate all files to be printed and their corresponding print formats to form a print task queue; The print execution module is responsible for executing the print instructions in the print task queue; The preview and verification module provides a preview of the print result before printing, and performs a verification step after printing to confirm that the print content is correct.

[0008] In one of the embodiments, the file type identification module is also used to adopt a deep learning algorithm to realize the identification of common file types through a training model.

[0009] In one of the embodiments, the print format selection module is also used to select A4 paper, moderate margins and single-sided printing parameters for doc files; select horizontal layout, adapt column width and grid line display parameters for xlsx files; maintain the original layout and double-sided printing parameters for pdf files; and select borderless printing and best print quality parameters for jpg and png image files.

[0010] In one embodiment, the printing task management module is further used to adjust the printing priority order according to the printing urgency.

[0011] In one embodiment, the preview and verification module is also used to provide a print preview interface to display the actual layout effect of the printed file, and after printing is completed, the print output is scanned by OCR technology and compared with the original file content for automatic verification.

[0012] On the other hand, the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the batch printing method based on file type classification are implemented.

[0013] On the other hand, the present invention further provides a computer device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; wherein: The memory is used to store computer programs; The processor is used to execute the steps of the batch printing method based on file type classification by running the program stored in the memory.

[0014] The beneficial effects of the technical solution of the present invention are: The batch printing method based on file type classification described in the present invention can automatically identify file types, print files in batches, select appropriate printing formats according to file types for classified printing, and preview and verify the printing results, which significantly improves the efficiency and accuracy of batch printing and is particularly suitable for office scenarios that need to process a large number of different types of files. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0016] Figure 1 is a flowchart of a batch printing method based on file type classification according to Embodiment 1 of the present invention; Figure 2 is a schematic diagram of the architecture of a batch printing system based on file type classification according to Embodiment 2 of the present invention; Figure 3 is a schematic diagram of the structure of the computer device described in Example 4 of the present invention; The symbols in the accompanying drawings are explained as follows: 1501, processor; 1502, communication interface; 1503, memory; 1504, communication bus. DETAILED DESCRIPTION

[0017] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.

[0018] In the description of the present invention, it should be noted that the embodiments described in the present invention are only part of the embodiments of the present invention, rather than all of the embodiments; based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present invention.

[0019] The terms "first", "second", etc. in the specification and claims of this article and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of this article described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product or equipment that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment. Example 1

[0020] This embodiment provides a batch printing method based on file type classification, such as Figure 1 As shown, the following steps are included: The user needs to print a mixed file set that includes Word documents, Excel spreadsheets, PDF reports and image data.

[0021] First, all files are uploaded to the system through the file import module. The file type recognition module in the system quickly identifies the type of each file.

[0022] Next, the print format selection module selects the standard A4 paper print format for Word documents, the horizontal layout for Excel tables, the original layout for PDF reports, and high-quality borderless printing for pictures according to preset rules. The print task management module sorts these tasks according to the priority set by the user. Subsequently, the print execution module executes the print tasks in sequence.

[0023] Before printing, the preview and verification module displays the print preview of all files. After printing, the printout is scanned by OCR technology for comparison and verification with the original file to ensure accurate printing.

[0024] The present invention significantly improves the efficiency and accuracy of batch printing, and is particularly suitable for office scenarios where a large number of files of different types need to be processed.

[0025] It should be noted that the examples herein are only for explaining the present invention and are not intended to limit the protection scope of the present invention. Example 2

[0026] This embodiment is based on the same inventive concept as the batch printing method based on file type classification described in Embodiment 1, and provides a batch printing system based on file type classification, such as Figure 2 As shown, including: The file import module is used to receive multiple files to be printed uploaded by users; A file type identification module, used to identify the type of each file; The print format selection module automatically matches the preset optimal print format according to the identified file type; The print task management module is used to aggregate all files to be printed and their corresponding print formats to form a print task queue; The print execution module is responsible for executing the print instructions in the print task queue; The preview and verification module provides a preview of the print result before printing, and performs a verification step after printing to confirm that the print content is correct.

[0027] In one of the embodiments, the file type identification module is also used to adopt a deep learning algorithm to realize the identification of common file types through a training model.

[0028] In one of the embodiments, the print format selection module is also used to select A4 paper, moderate margins and single-sided printing parameters for doc files; select horizontal layout, adapt column width and grid line display parameters for xlsx files; maintain the original layout and double-sided printing parameters for pdf files; and select borderless printing and best print quality parameters for jpg and png image files.

[0029] In one embodiment, the printing task management module is further used to adjust the printing priority order according to the printing urgency.

[0030] In one embodiment, the preview and verification module is also used to provide a print preview interface to display the actual layout effect of the printed file, and after printing is completed, the print output is scanned by OCR technology and compared with the original file content for automatic verification. Example 3

[0031] This embodiment provides a computer-readable storage medium, including: The storage medium is used to store computer software instructions used to implement the batch printing method based on file type classification described in the above-mentioned embodiment 1, which includes a program for executing the above-mentioned program set for the batch printing method based on file type classification; specifically, the executable program can be built into the batch printing system based on file type classification described in embodiment 2, so that the batch printing system based on file type classification can implement the batch printing method based on file type classification described in embodiment 1 by executing the built-in executable program.

[0032] In addition, the computer-readable storage medium of this embodiment may adopt any combination of one or more computer-readable storage media, wherein the computer-readable storage medium includes electrical, optical, electromagnetic, infrared or semiconductor systems, devices or components, or any combination thereof. Example 4

[0033] This embodiment provides an electronic device, such as Figure 3 As shown, the electronic device may include: a processor 1501 , a communication interface 1502 , a memory 1503 and a communication bus 1504 , wherein the processor 1501 , the communication interface 1502 , and the memory 1503 communicate with each other via the communication bus 1504 .

[0034] Memory 1503, used for storing computer programs; The processor 1501 is used to implement the steps of the batch printing method based on file type classification described in the above embodiment 1 when executing the computer program stored in the memory 1503.

[0035] As an embodiment of the present invention, the communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0036] As an implementation mode of the present invention, the communication interface is used for communication between the above-mentioned terminal and other devices.

[0037] As an embodiment of the present invention, the memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0038] As an embodiment of the present invention, the above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0039] It should be understood that in the various embodiments of this document, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this document.

[0040] It should also be understood that in the embodiments of this article, the term "and / or" is only a description of the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0041] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this article.

[0042] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0043] In the several embodiments provided herein, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or can be electrical, mechanical or other forms of connection.

[0044] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of this article.

[0045] In addition, each functional unit in each embodiment of this invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional unit.

[0046] If the integrated unit is implemented in the form of 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 article is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of this article. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0047] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A batch printing method based on file type classification, characterized in that: The following steps are involved: Receive a set of files to be printed uploaded by a user; Identify the type of each file; According to the recognition results, appropriate printing formats are assigned to each file; Integrate all printing tasks; Execute printing tasks; Provides a preview before printing and performs content verification after printing.

2. The batch printing method based on file type classification according to claim 1, characterized in that: Also includes: Adjust the preset printing formats according to user needs.

3. The batch printing method based on file type classification according to claim 1, characterized in that: During the content verification, if it is found that there is a significant difference between the printed content and the original document, the error is automatically marked and the user is prompted to reprint or correct it.

4. A batch printing system based on file type classification, characterized in that: include: The file import module is used to receive multiple files to be printed uploaded by users; A file type identification module, used to identify the type of each file; The print format selection module automatically matches the preset optimal print format according to the identified file type; The print task management module is used to aggregate all files to be printed and their corresponding print formats to form a print task queue; The print execution module is responsible for executing the print instructions in the print task queue; The preview and verification module provides a preview of the print result before printing, and performs a verification step after printing to confirm that the print content is correct.

5. The batch printing system based on file type classification according to claim 4 is characterized in that: The file type identification module is also used to adopt a deep learning algorithm to realize the identification of common file types through a training model.

6. The batch printing system based on file type classification according to claim 4, characterized in that: The printing format selection module is also used to select A4 paper, moderate margins and single-sided printing parameters for doc files; select horizontal layout, adapt column width and grid line display parameters for xlsx files; maintain original layout and double-sided printing parameters for pdf files; and select borderless printing and best print quality parameters for jpg and png picture files.

7. The batch printing system based on file type classification according to claim 4 is characterized in that: The printing task management module is also used to adjust the printing priority order according to the printing urgency.

8. The batch printing system based on file type classification according to claim 4 is characterized in that: The preview and verification module is also used to provide a print preview interface to display the actual layout effect of the printed file, and after printing is completed, scan the print output through OCR technology to compare with the original file content for automatic verification.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the batch printing method based on file type classification described in any one of claims 1 to 3 are implemented.

10. A computer device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; wherein: The memory is used to store computer programs; The processor is used to execute the steps of the batch printing method based on file type classification according to any one of claims 1 to 3 by running the program stored in the memory.