CN111610942A - Method and system for generating printed file and readable storage medium - Google Patents

Method and system for generating printed file and readable storage medium Download PDF

Info

Publication number
CN111610942A
CN111610942A CN202010499793.1A CN202010499793A CN111610942A CN 111610942 A CN111610942 A CN 111610942A CN 202010499793 A CN202010499793 A CN 202010499793A CN 111610942 A CN111610942 A CN 111610942A
Authority
CN
China
Prior art keywords
image processing
file
server
printing
original document
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
CN202010499793.1A
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 Hanhong Software Technology Co ltd
Original Assignee
Shenzhen Hanhong Software 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 Hanhong Software Technology Co ltd filed Critical Shenzhen Hanhong Software Technology Co ltd
Priority to CN202010499793.1A priority Critical patent/CN111610942A/en
Publication of CN111610942A publication Critical patent/CN111610942A/en
Priority to PCT/CN2020/129833 priority patent/WO2021243972A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1211Improving printing performance
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B41PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
    • B41JTYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
    • B41J29/00Details of, or accessories for, typewriters or selective printing mechanisms not otherwise provided for
    • B41J29/38Drives, motors, controls or automatic cut-off devices for the entire printing mechanism
    • B41J29/393Devices for controlling or analysing the entire machine ; Controlling or analysing mechanical parameters involving printing of test patterns
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1224Client or server resources management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Abstract

The invention relates to the technical field of digital printing, and discloses a method and a system for generating a printing file and a readable storage medium. The method comprises the following steps: receiving and storing an original document file sent by a user service end; acquiring an image processing task sent by a user service end, processing the original document file according to the image processing task, and generating a printing file; and storing the printing file, and providing the printing file to the user service end so that the user service end controls printing equipment to perform printing operation according to the printing file. By the mode, the original document file is directly processed by the server and the printed file is generated, so that the printing equipment only needs to perform printing operation according to the printed file, the printing equipment is always in a production state, and the production efficiency is improved.

Description

Method and system for generating printed file and readable storage medium
Technical Field
The invention relates to the technical field of digital printing, in particular to a method and a system for generating a printing file and a readable storage medium.
Background
With the development of digital printing technology, the competition among digital printing merchants is becoming more and more intense due to the emergence of various digital printing technologies, and in order to occupy a favorable position in the competition, the production efficiency needs to be improved. In the actual production of digital printing, a printing original design manuscript can be converted into a printing file which can be directly produced by printing equipment after image processing.
In the traditional digital printing production, special equipment and software for image processing are configured for a printing device on site, then a site worker carries out image processing operation on each design original document according to the printing requirement, so that a printing file is generated, and finally, the printing device is controlled to carry out printing production according to the printing file. In the digital printing production mode, printing production can be performed only by waiting for the completion of the processing of the design original document during production, so that the machine space and the printing time of printing equipment are occupied, the printing equipment cannot be reasonably utilized, and the production efficiency cannot be improved.
Disclosure of Invention
In view of the above, it is necessary to provide a method, a system and a readable storage medium for generating a print file, in such a way that a printing device only needs to perform a printing operation according to the print file, so that the printing device is always in a production state, and the production efficiency is improved, the technical solution is as follows:
in a first aspect, an embodiment of the present invention provides a method for generating a print file, where the method is applied to a server, and the method includes:
receiving and storing an original document file sent by a user service end;
acquiring an image processing task sent by a user service end, processing the original document file according to the image processing task, and generating a printing file;
and storing the printing file, and providing the printing file to the user service end so that the user service end controls printing equipment to perform printing operation according to the printing file.
In other embodiments, the server comprises a storage server, a management server, and a processing server;
the receiving and storing of the original document file sent by the user service end includes:
the storage server receives and stores the original document file sent by the user service end;
the acquiring an image processing task sent by a user service end, processing the original document according to the image processing task, and generating a print file includes:
the management server acquires the image processing task sent by the user service end and sends the image processing task to a corresponding processing server according to image processing parameters and preset rules, wherein the image processing task comprises a first storage path of the original document file and the image processing parameters;
the processing server processes the original document file according to the first storage path and the image processing parameters and generates a printing file;
the storing the print file and providing the print file to the user service end so that the user service end controls a printing device to perform a printing operation according to the print file includes:
the storage server receives and stores the printing file sent by the processing server;
and the processing server sends the second storage path of the printed file to the management server so that the management server sends the second storage path to the user service end, and the user service end obtains the printed file according to the second storage path and controls the printing equipment to perform printing operation according to the printed file and the image processing parameters.
In some other embodiments, the method further comprises:
the management server receives execution feedback information of the processing server and judges whether the processing server completes the image processing task or not according to the execution feedback information;
and if the processing server does not finish the image processing task, sending the image processing task to the corresponding processing server again according to the image processing parameters and the preset rule.
In some other embodiments, the sending the image processing task to the corresponding processing server according to the image processing parameter and the preset rule includes:
selecting a processing server corresponding to the image processing parameters according to the image processing parameters;
and distributing the image processing task according to the task load of the processing server.
In a second aspect, an embodiment of the present invention further provides a method for generating a print file, where the method is applied to a user service end, and the method includes:
sending the original document file to a server so that the server stores the original document file;
sending an image processing task to the server so that the server processes the original document file according to the image processing task and generates a printing file;
and receiving the printing file sent by the server, and controlling the printing equipment to perform printing operation according to the printing file.
In some other embodiments, the image processing job includes a first storage path and image processing parameters of the document file, and the causing the server to process the document file according to the image processing job and generate a print file includes:
acquiring the original document file according to a first storage path of the original document file;
and processing the original document file according to the image processing parameters to obtain a printing file and storing the printing file.
In some other embodiments, the receiving a print file sent by a server, and controlling a printing device to perform a printing operation according to the print file includes:
acquiring the printed file according to a second storage path of the printed file;
and controlling the printing equipment to perform printing operation according to the printing file and the image processing parameters.
In a third aspect, an embodiment of the present invention further provides a print file generation system, where the print file generation system includes:
the storage server is used for storing the original document file sent by the user service end and the printing file sent by the processing server;
the management server is used for receiving the image processing task sent by the user service end and sending the image processing task to the processing server;
a processing server for processing the original document file according to the image processing task, thereby generating the print file;
and the user service end is used for controlling the printing equipment to perform printing operation according to the printing file.
In some other embodiments, the image processing task includes an image processing parameter, and the management server is specifically configured to check the image processing parameter and send the image processing task to a corresponding processing server according to the image processing parameter and a preset rule.
In some other embodiments, the image processing task further includes a first storage path of the original document file, the processing server includes an image processing task agent module and at least one image processing engine, the image processing task agent module is configured to assign the received image processing task to one of the at least one image processing engine, and obtain the original document file according to the first storage path of the original document file;
the at least one image processing engine is used for processing the original document according to the image processing parameters.
In some other embodiments, the user service end is specifically configured to obtain the print file according to the second storage path of the print file, and control a printing device to perform a printing operation according to the image processing parameter and the print file.
In some other embodiments, the management server is further configured to receive execution feedback information of the processing server, and determine whether the processing server completes the image processing task according to the execution feedback information;
and if the processing server does not finish the image processing task, sending the image processing task to a corresponding processing server again according to the image processing parameters and preset rules.
In a fourth aspect, the present invention further provides a non-transitory computer-readable storage medium, which stores computer-executable instructions, and when the computer-executable instructions are executed by a server, the server executes the above-mentioned print file generation method.
Compared with the prior art, the invention has the beneficial effects that: the print file generation method, system, and readable storage medium in the embodiments of the present invention are distinguished from the case of the related art. And when image processing is needed, receiving the original document file sent by the user service end, and sending the original document file to the server for storage. And after storing the original document file, receiving an image processing task sent by a user service end, processing the stored original document file according to the received image processing task, and generating a printing file after processing. And when printing is needed, providing the printing file generated by the processing to a user service end, and after receiving the printing file, the user service end controls printing equipment to perform printing operation according to the printing file. By the mode, the original document file is directly processed by the server and the printed file is generated, so that the printing equipment only needs to perform printing operation according to the printed file, the printing equipment is always in a production state, and the production efficiency is improved.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
FIG. 1 is a diagram of an application scenario of the printed document generation method of the present invention;
FIG. 2 is a flowchart of an embodiment of a print file generation method applied to a server in an embodiment of the present invention;
FIG. 3 is a block diagram of a user service receiving a customer print service in an embodiment of the invention;
FIG. 4 is a flowchart of an embodiment of a method for generating a print file applied to a customer service end according to an embodiment of the present invention;
FIG. 5 is a diagram of the interaction between the components of the printed document generation system in an embodiment of the present invention;
fig. 6 is a block diagram of a processing server in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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, but 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 should be noted that, if not conflicted, the various features of the embodiments of the invention may be combined with each other within the scope of protection of the invention. Additionally, while functional block divisions are performed in apparatus schematics, with logical sequences shown in flowcharts, in some cases, steps shown or described may be performed in sequences other than block divisions in apparatus or flowcharts. The terms "first", "second", "third", and the like used in the present invention do not limit data and execution order, but distinguish the same items or similar items having substantially the same function and action.
The method for generating the print file provided by the embodiment of the present invention is applied to the application scenario shown in fig. 1, where the application scenario 1 includes a user service end 10, a server 20, and at least one printing device (e.g., 31-34 shown in fig. 1). Wherein, the user service end 10 is connected to the server 20 for information interaction, for example, the server 20 is connected by communication in a local area network, a wide area network, a wireless network, a Global System for Mobile communication (GSM), a third generation Mobile communication network, a fourth generation Mobile communication network, a fifth generation Mobile communication network, etc., the user service end may be an electronic device with a communication function, such as a desktop computer, a laptop computer, a tablet computer, etc., the server may be a server, such as a rack server, a blade server, a tower server or a cabinet server, or a server cluster consisting of a plurality of servers, or a cloud computing service center, and the printing device can be any printer with printing function, such as an intelligent digital printer.
It should be noted that the method for generating a print file provided in the embodiment of the present application may be further extended to other suitable application scenarios, and is not limited to the application scenario illustrated in fig. 1. Fig. 1 exemplarily shows the user service terminal 10, the server 20 and the printing device (e.g. 31-34 shown in fig. 1), and in an actual application process, the application scenario may further include more user service terminals, servers and printing devices.
As shown in fig. 2, an embodiment of the present invention provides a method for generating a print file, which is applied to a server, and the method includes:
step S201, receiving and storing the original document file sent by the user service end.
When the original document file needs to be processed, a user sends the original document file for printing to a server through a user service end, and the server stores the original document file after receiving the original document file sent by the user service end. By storing the original document file in the server, the space of printing equipment is not occupied, and meanwhile, the original document file is not required to be transmitted to a production field, so that the original document file can be prevented from being leaked, and the copyright protection is facilitated. In some other embodiments, as shown in fig. 3, before sending the original document to the server, the user service 10 needs to obtain the original document that the client needs to print, where the client may establish communication with the user service through wireless, wired, and usb disk copy, and after establishing connection, the client may send the original document to the user service. When the number of clients needing to print is large, the user service end can receive the printing services of different clients at the same time, for example, the same user service end 10 can receive the original document files sent by the client 1, the client 2, the client 3 and the client 4 at the same time, and send the original document files to the server after receiving the original document files sent by a plurality of users.
In some other examples, in order to distinguish multiple original files, before sending the original files to the server, the user names the original files, for example, if the user ID of the user at the current user service end is three, then one three is added in front of the original file as a prefix, and since the user ID has uniqueness, the original file also has uniqueness.
Step S202, acquiring an image processing task sent by a user service end, processing the original document according to the image processing task, and generating a printing file.
Before printing, the original document file needs to be subjected to image processing, and the original document file is converted into a printing file which can be directly produced by a printing device, for example, the original document file is subjected to raster image processing and converted into a raster or dot matrix file which can be directly printed by the printing device. After sending the original document file to the server, the user service end sends an image processing task to the server, so as to tell the server how to process the original document file, so that the original document file can be directly identified by the printing equipment for production after being processed.
Step S203, storing the printing file, and providing the printing file to the user service end, so that the user service end controls a printing device to perform printing operation according to the printing file.
The method comprises the steps that after a server generates a printing file, the printing file is stored, when the user service end needs to use the printing file, the server sends the printing file to the user service end, and after the user service end receives the printing file, printing operation is carried out on printing equipment which is idle or has few printing tasks according to the printing file.
In some other embodiments, after the server stores the printed document, the server feeds back a storage path to the user service end. And when the user service end needs to use the printing file, searching an access server according to the storage path, acquiring the printing file according to the storage path, and controlling idle printing equipment to perform printing operation according to the printing file.
In some other embodiments, the server includes a storage server, a management server, and a processing server, and when a user needs to perform image processing on an original file, the original file is sent to the storage server through a user service end, and the storage server stores the original file after receiving the original file.
After the storage server stores the original document file, the user needs to process the original document file, so that the user can send an image processing task to the management server through the user service end, wherein the image processing task comprises a first storage path for storing the original document file and image processing parameters. Since each document file is not printed in the same printing format, the user needs to inform the management server of the image processing parameters of this document file when processing the document file.
In some other examples, since different processing servers may process different document files, after receiving the image processing task, the management server may select a corresponding processing server to process the document file according to the image processing parameter and a preset rule. First, after receiving an image processing job, the management server searches all processing servers capable of processing the document file according to the image processing parameters, such as the print size, the rotation angle, and the image color, according to the image processing parameters in the image processing job. When the image processing parameters are image processing parameters requiring specific image colors, the management server selects all processing servers capable of processing the specific image colors according to the specific image colors, and after the processing servers are searched, one of the processing servers is selected according to a preset rule.
In other examples, the processing server may be ranked, with higher rankings being more urgent image processing tasks to be processed. Therefore, when the image processing task is urgent, the corresponding processing server can be matched according to the level of the preset image processing task, so that the urgent task can be processed preferentially without queuing.
After the processing server is selected, the management server sends the image processing parameters and the first storage path of the original document file to the selected processing server, the processing server obtains the original document file from the storage server according to the first storage path of the original document file after receiving the first storage path and the image processing parameters of the original document file, processes the original document file according to the image processing parameters, and generates a printing file after the processing server completes processing on the original document file according to the image processing parameters.
And after the management server generates the printing file, the printing file is sent to a storage server for storage, and after the printing file is stored, the processing server sends feedback information to the management server to tell the management server that the original document file has been successfully processed and a second storage path of the processed printing file is completed. And after receiving the feedback information sent by the processing server and determining that the original document file is processed, the management server sends the second storage path of the printed document file to the user service end. And after receiving a second storage path of the printing file, the user service end acquires the printing file according to the second storage path, and controls idle printing equipment or printing equipment with few printing tasks to perform printing operation according to the printing file when the printing is required.
In other embodiments, the management server needs to detect the progress of the image processing task of the processing server in real time to prevent the processor from failing to delay the printing process due to a failure. And the processing server sends execution feedback information to the management server in real time in the process of processing the image processing task, and after receiving the execution feedback information, the management server judges whether the processing server can process the image processing task or not according to the execution feedback information. For example, if the processing progress of the processing server receiving the execution feedback information is 30% of the processing progress of the current image processing task, and after a period of time, if the processing progress of the received execution feedback information is greater than 30%, the processing server is considered to be able to continue to complete the image processing task, and if the execution feedback information of the processing server or the processing progress of the current processing task is 30%, the processing server is considered to have a fault and is unable to complete the image processing task, and the steps are continuously refreshed for judgment.
When the management server judges that the processing server can not complete the image processing task, the image processing task needs to be redistributed, at the moment, the management server can search the processing server capable of processing the image processing task according to the image processing parameters in the image processing task again according to the image processing parameters, the processing server does not comprise the processing server which is judged that the image processing task can not be completed by the management server, and after reselection, a processing server with a lighter load is selected according to the task load of the selected processing server for processing. If the management server judges that the processing server can complete the image processing task, the image processing task is not redistributed.
In other embodiments, in order to enable the processing server to smoothly process the services when the traffic is large, when the management server determines that the processing server cannot complete the image processing task, the management server indicates that the processing server fails, and the management server sends a fault message to a manager, so that the manager can timely find and maintain the fault of the processing server, and the processing server can normally work to smoothly complete the task.
The embodiment of the invention has the advantages that the original document file is sent to the storage server for storage through the user service end, the original document file can be converted into the printing file which can be identified by the printing equipment after image processing, therefore, after the original document file is stored in the storage server, the user service end sends the image processing task of the original document file to the management server, the image processing task comprises image processing parameters and a first storage path of the original document file, the management server finds all processing servers which can process the image processing task according to the image processing parameters after receiving the image processing parameters and the first storage path of the original document file, then selects one of the processing servers according to preset rules, and sends the image processing task to the selected processing server after selection, to cause the processing server to process the image processing task. And after the processing server finishes the image processing task, the processing server sends the generated printing file to a storage server so that the storage server stores the printing file, and sends a second storage path of the printing file to a management server, and the management server sends the second storage path of the printing file to the user service end after confirming that the processing server finishes the image processing task. When the user needs to print, the user service end acquires the print file according to the second storage path of the received print file, and then controls the printing equipment to print according to the print file. By the mode, the original document file is directly processed by the server and the printed file is generated, so that the printing equipment only needs to perform printing operation according to the printed file, the printing equipment is always in a production state, and the production efficiency is improved. The plurality of printing devices can share the server, and the storage server, the management server and the processing server are coordinated to process the tasks, so that the workload of the printing devices and the preparation time before printing are reduced, the utilization rate of the server is improved, and the cost is reduced. The design manuscript is only stored in the storage server, and can not be directly provided for a production field, so that the problem of copyright disclosure caused by the complexity of production field environment and personnel can be avoided, and the copyright protection is facilitated.
As shown in fig. 4, an embodiment of the present invention further provides a method for generating a print file, which is applied to a user service end, where the method includes:
step S401, sending the original document file to a server, so that the server stores the original document file.
When the original document file needs to be processed, a user sends the original document file for printing to a server through a user service end, and the server stores the original document file after receiving the original document file sent by the user service end. By storing the original document file in the server, the space of printing equipment is not occupied, and meanwhile, the original document file is not required to be transmitted to a production site, so that the original document file can be prevented from being leaked.
Step S402, sending an image processing job to the server, so that the server processes the document file according to the image processing job, and generates a print file.
When printing, the original document file needs to be subjected to image processing first, and the original document file is converted into a printing file that can be directly produced by the printing device, for example, the original document file is converted into a raster or dot matrix file that can be directly printed by the printing device through raster image processing. After sending the original document file to the server, the user service end sends an image processing task to the server, so as to tell the server how to process the original document file, so that the original document file can be directly identified by the printing equipment for production after being processed.
In some other embodiments, the server includes a storage server, a management server, and a processing server, and after the storage server stores the original file, the user needs to process the original file, so the user may send an image processing task to the management server through the user service end, where the image processing task includes a first storage path for storing the original file and an image processing parameter. After receiving the image processing task, the management server searches all the processing servers capable of processing the original document according to the image processing parameters, such as the printing size, the rotation angle, the image color and the like, according to the image processing parameters in the image processing task. When the image processing parameter is that a specific image color is required, the management server searches all processing servers capable of processing the specific image color according to the specific image color. After the processing servers are selected, one of the processing servers is selected according to a preset rule, for example, according to the current task load of the processing server, when the printing traffic is large, more than one image processing task needs to be performed by each processing server, so when the management task allocates the image processing tasks, the processing server with the relatively small load is preferentially selected for processing.
In other examples, the processing server may be ranked, with higher rankings being more urgent image processing tasks to be processed. Therefore, when the image processing task is urgent, the corresponding processing server can be matched according to the level of the preset image processing task, so that the urgent task can be processed preferentially without queuing.
After the processing server is selected, the management server sends the image processing parameters and the first storage path of the original document file to the selected processing server, the processing server obtains the original document file from the storage server according to the first storage path of the original document file after receiving the first storage path and the image processing parameters of the original document file, processes the original document file according to the image processing parameters, and generates a printing file after the processing server completes processing on the original document file according to the image processing parameters.
And step S403, receiving the printing file sent by the server, and controlling the printing equipment to perform printing operation according to the printing file.
The method comprises the steps that after a server generates a printing file, the printing file is stored, when the user service end needs to use the printing file, the server sends the printing file to the user service end, and after the user service end receives the printing file, the user service end controls idle printing equipment or printing equipment with few tasks to perform printing operation according to the printing file.
In some other embodiments, after the processing server generates the print file, the print file is sent to a storage server for storage, and after the print file is stored, the processing server sends a feedback message to a management server to inform the management server that the original document file has been successfully processed and a second storage path of the processed print file is completed. And after receiving the feedback information sent by the processing server and determining that the original document file is processed, the management server sends the second storage path of the printed document file to the user service end. And after receiving a second storage path of the printing file, the user service end acquires the printing file according to the second storage path, and controls idle printing equipment or printing equipment with few tasks to perform printing operation according to the printing file when the printing is required.
The embodiment of the invention has the advantages that the user service end sends the original document file to the storage server, and the storage server stores the original document file after receiving the original document file. And after receiving the image processing task, the management server searches all processing servers capable of processing the image processing task according to the image processing parameters, and then selects one of the processing servers to process the image processing task according to the task load of the processing servers. And after receiving the image processing task, the processing server acquires the original document file according to the first storage path of the original document file, processes the original document file according to the image processing parameters and generates a printing file. The processing server sends the printing file to a storage server for storage, feeds a second storage path of the printing file back to a management server, the management server receives the second storage path and determines that the processing server completes the image processing task, and then sends the second storage path of the printing file to a user service end, and when the user service end needs to print, the user service end obtains the printing file according to the second storage path of the printing file and controls printing equipment to print according to the printing file. By the mode, the original document file is directly processed by the server and the printed file is generated, so that the printing equipment only needs to perform printing operation according to the printed file, the printing equipment is always in a production state, and the production efficiency is improved.
Referring to fig. 5, the present invention is an interactive diagram between components of the print file generation system, where the print file generation system includes a storage server 110, a management server 120, a processing server 130, and a user service end 10. Wherein, the storage server 110 is used for storing an original document file sent by a user service end and a print file sent by a processing server, the management server 120 is used for receiving an image processing task sent by the user service end and sending the image processing task to the processing server 130, the processing server 130 is used for processing the original document file according to the image processing task so as to generate the print file, the user service end 10 is used for controlling a printing device to perform a printing operation according to the print file,
in some other embodiments, after the storage server 110 stores the original document file, the user service 10 sends an image processing task to the management server 120, where the image processing task includes image processing parameters, and after receiving the image processing task, the management server 120 selects the corresponding processing server 130 to process the original document file according to the image processing parameters and preset rules. First, the management server 120, upon receiving an image processing job, searches all the processing servers 130 capable of processing the original document according to the image processing parameters, such as a print size, a rotation angle, and an image color, according to the image processing parameters in the image processing job. When the image processing parameters are image processing parameters requiring a specific image color, the management server 120 selects all processing servers 130 capable of processing the specific image color according to the specific image color, and after the processing servers are searched, selects one of the processing servers 130 according to a preset rule, for example, according to the current task load of the processing server 130, because when the printing traffic is large, more than one image processing task is required to be performed by each processing server 130, the management server 120 preferentially selects the processing server 130 with a relatively small load for processing when distributing the image processing tasks.
In other embodiments, as shown in fig. 6, the processing server 130 includes an image processing task agent module 131 and at least one image processing engine (e.g., 132 in fig. 6), the image processing task further includes a first storage path of the original document file, after the processing server 130 is selected, the management server 120 sends image processing parameters and the first storage path of the original document file to the image processing task agent module 131 of the selected processing server, the image processing task agent module 131 selects an idle or less image processing engine according to the working status of the at least one image processing engine after receiving the first storage path of the original document file and the image processing parameters, after the image processing engine is selected, acquires the original document file from the storage server 110 according to the first storage path of the original document file, and sends the original document file and the image processing parameter to the image processing engine, so that the image processing engine processes the original document file according to the image processing parameter, and generates a print file after the image processing engine of the processing server 130 completes the processing of the original document file according to the image processing parameter. Different image processing engines can execute processing concurrently, so that the processing capacity can be greatly improved, and the efficiency is improved.
In other embodiments, the image processing engine sends the print file to the image processing task agent module 131 after generating the print file, so that the image processing task agent module 131 sends the print file to the storage server 110 for storage. After the print file is stored, the image processing job agent module 131 sends a feedback message to the management server 120, informing the management server 120 that the original file has been successfully processed and the second storage path of the processed print file. After receiving the feedback information sent by the image processing task agent module 131 and determining that the original document file has been processed, the management server 120 sends the second storage path of the print document to the user service terminal 10. After receiving the second storage path of the print file, the user service end 10 acquires the print file according to the second storage path, and when the print file needs to be printed, controls the printing device with idle or few tasks to perform the printing operation according to the print file.
In other embodiments, since the processing server 130 may have a failure or the like when processing the image processing task and cannot complete the image processing task assigned by the management server 120, the management server 120 needs to detect the progress of the image processing task of the processing server 130 in real time, so as to prevent the processor from failing and delaying the printing process. The processing server 130 will send execution feedback information to the management server in real time during the process of processing the image processing task, and after receiving the execution feedback information, the management server 120 determines whether the processing server 130 can process the image processing task according to the execution feedback information. For example, if the processing progress of the processing server 130 receiving the execution feedback information is 30% of the processing progress of the current image processing task, and after a period of time, if the processing progress of the received execution feedback information is greater than 30%, the processing server 130 is considered to be able to continue to complete the image processing task, and if the execution feedback information of the processing server 130 is received or the processing progress of the current processing task is 30%, the processing server 130 is considered to have a fault and be unable to complete the image processing task, and the above steps are continuously refreshed for determination.
When the management server 120 determines that the processing server 130 cannot complete the image processing task, the image processing task needs to be redistributed, at this time, the management server 120 re-searches the processing server 130 capable of processing the image processing task according to the image processing parameters in the image processing task according to the image processing parameters, where the processing server 130 does not include the processing server 130 that the management server 120 determines that the image processing task cannot be completed, and after re-selection, selects one processing server 130 with a lighter load according to the task load of the selected processing server 130 for processing. If the management server 120 determines that the processing server can complete the image processing task, the image processing task is not re-allocated.
In other embodiments, in order to enable the processing server 130 to smoothly process the services when the traffic is large, when the management server 120 determines that the processing server 130 cannot complete the image processing task, it indicates that the processing server 130 fails, and the management server 120 sends a failure message to the manager, so that the manager can timely find and maintain the failure of the processing server 130, and the processing server 130 can normally work to smoothly complete the task.
The embodiment of the present invention has the advantages that the original document file is sent to the storage server 110 by the user service end 10 for storage, and the original document file needs to be converted into a print file that can be identified by the printing device through image processing, so after the original document file is stored in the storage server 110, the user service end 10 sends an image processing task of the original document file to the management server 120, where the image processing task includes an image processing parameter and a first storage path of the original document file, after receiving the image processing parameter and the first storage path of the original document file, the management server 120 finds all processing servers 130 capable of processing the image processing task according to the image processing parameter, then selects one of the processing servers 130 according to a preset rule, after selection, the image processing task is sent to the selected processing server 130 so that the processing server 130 processes the image processing task. After the processing server 130 completes the image processing task, the processing server 130 sends the generated print file to the storage server 110, so that the storage server 110 stores the print file, and sends the second storage path of the print file to the management server 120, and after confirming that the processing server 130 completes the image processing task, the management server 120 sends the second storage path of the print file to the user service terminal 10. When the user needs to print, the user service end 10 obtains the print file according to the second storage path of the received print file, and then controls the printing device to perform the printing operation according to the print file. By the mode, the original document file is directly processed by the server and the printed file is generated, so that the printing equipment only needs to perform printing operation according to the printed file, the printing equipment is always in a production state, and the production efficiency is improved. Here, a plurality of printing apparatuses can share a server, and the storage server 110, the management server 120, and the processing server 130 process tasks in coordination with each other, thereby reducing the workload of the printing apparatuses and the preparation time before printing, improving the utilization rate of the server, and reducing the cost. The design manuscript is only stored in the storage server, and can not be directly provided for a production field, so that the problem of copyright disclosure caused by the complexity of production field environment and personnel can be avoided, and the copyright protection is facilitated.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
The present application provides a non-transitory computer-readable storage medium storing computer-executable instructions, which are executed by one or more processors, and enable the one or more processors to execute the method for generating a print file in any of the above method embodiments.
The server of embodiments of the present invention exists in a variety of forms, including but not limited to:
(1) tower server
The general tower server chassis is almost as large as the commonly used PC chassis, while the large tower chassis is much larger, and the overall dimension is not a fixed standard.
(2) Rack-mounted server
Rack-mounted servers are a type of server that has a standard width of 19 inch racks, with a height of from 1U to several U, due to the dense deployment of the enterprise. Placing servers on racks not only facilitates routine maintenance and management, but also may avoid unexpected failures. First, placing the server does not take up too much space. The rack servers are arranged in the rack in order, and no space is wasted. Secondly, the connecting wires and the like can be neatly stored in the rack. The power line, the LAN line and the like can be distributed in the cabinet, so that the connection lines accumulated on the ground can be reduced, and the accidents such as the electric wire kicking off by feet can be prevented. The specified dimensions are the width (48.26cm ═ 19 inches) and height (multiples of 4.445 cm) of the server. Because of its 19 inch width, a rack that meets this specification is sometimes referred to as a "19 inch rack".
(3) Blade server
A blade server is a HAHD (High Availability High Density) low cost server platform designed specifically for the application specific industry and High Density computer environment, where each "blade" is actually a system motherboard, similar to an individual server. In this mode, each motherboard runs its own system, serving a designated group of different users, without any relationship to each other. Although system software may be used to group these motherboards into a server cluster. In the cluster mode, all motherboards can be connected to provide a high-speed network environment, and resources can be shared to serve the same user group.
(4) Cloud server
The cloud server (ECS) is a computing Service with simplicity, high efficiency, safety, reliability, and flexible processing capability. The management mode is simpler and more efficient than that of a physical server, and a user can quickly create or release any plurality of cloud servers without purchasing hardware in advance. The distributed storage of the cloud server is used for integrating a large number of servers into a super computer, and a large number of data storage and processing services are provided. The distributed file system and the distributed database allow access to common storage resources, and IO sharing of application data files is achieved. The virtual machine can break through the limitation of a single physical machine, dynamically adjust and allocate resources to eliminate single-point faults of the server and the storage equipment, and realize high availability.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; within the idea of the invention, also technical features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (13)

1. A method for generating a printed file, which is applied to a server, is characterized by comprising the following steps:
receiving and storing an original document file sent by a user service end;
acquiring an image processing task sent by a user service end, processing the original document file according to the image processing task, and generating a printing file;
and storing the printing file, and providing the printing file to the user service end so that the user service end controls printing equipment to perform printing operation according to the printing file.
2. The method of claim 1, wherein the servers comprise a storage server, a management server, and a processing server;
the receiving and storing of the original document file sent by the user service end includes:
the storage server receives and stores the original document file sent by the user service end;
the acquiring an image processing task sent by a user service end, processing the original document according to the image processing task, and generating a print file includes:
the management server acquires the image processing task sent by the user service end and sends the image processing task to a corresponding processing server according to image processing parameters and preset rules, wherein the image processing task comprises a first storage path of the original document file and the image processing parameters;
the processing server processes the original document file according to the first storage path and the image processing parameters and generates a printing file;
the storing the print file and providing the print file to the user service end so that the user service end controls a printing device to perform a printing operation according to the print file includes:
the storage server receives and stores the printing file sent by the processing server;
and the processing server sends the second storage path of the printed file to the management server so that the management server sends the second storage path to the user service end, and the user service end obtains the printed file according to the second storage path and controls the printing equipment to perform printing operation according to the printed file and the image processing parameters.
3. The method of claim 2, further comprising:
the management server receives execution feedback information of the processing server and judges whether the processing server completes the image processing task or not according to the execution feedback information;
and if the processing server does not finish the image processing task, sending the image processing task to the corresponding processing server again according to the image processing parameters and the preset rule.
4. The method according to claim 2 or 3, wherein the sending the image processing task to the corresponding processing server according to the image processing parameters and the preset rules comprises:
selecting a processing server corresponding to the image processing parameters according to the image processing parameters;
and distributing the image processing task according to the task load of the processing server.
5. A method for generating a printing file is applied to a user service end, and is characterized by comprising the following steps:
sending the original document file to a server so that the server stores the original document file;
sending an image processing task to the server so that the server processes the original document file according to the image processing task and generates a printing file;
and receiving the printing file sent by the server, and controlling the printing equipment to perform printing operation according to the printing file.
6. The method according to claim 5, wherein the image processing job includes a first storage path and image processing parameters of the document file, and the causing the server to process the document file according to the image processing job and generate a print file includes:
acquiring the original document file according to a first storage path of the original document file;
and processing the original document file according to the image processing parameters to obtain a printing file and storing the printing file.
7. The method according to claim 6, wherein the receiving the print file sent by the server and controlling the printing device to perform the printing operation according to the print file comprises:
acquiring the printed file according to a second storage path of the printed file;
and controlling the printing equipment to perform printing operation according to the printing file and the image processing parameters.
8. A printed document generation system, comprising:
the storage server is used for storing the original document file sent by the user service end and the printing file sent by the processing server;
the management server is used for receiving the image processing task sent by the user service end and sending the image processing task to the processing server;
a processing server for processing the original document file according to the image processing task, thereby generating the print file;
and the user service end is used for controlling the printing equipment to perform printing operation according to the printing file.
9. The printed document generation system according to claim 8, wherein the image processing job includes image processing parameters, and the management server is specifically configured to check the image processing parameters and send the image processing job to a corresponding processing server according to the image processing parameters and preset rules.
10. The printed document generation system according to claim 9, wherein the image processing job further includes a first storage path of the original document file, and the processing server includes an image processing job agent module and at least one image processing engine, the image processing job agent module being configured to assign the received image processing job to one of the at least one image processing engine and acquire the original document file according to the first storage path of the original document file;
the at least one image processing engine is used for processing the original document according to the image processing parameters.
11. The system for generating a print file according to claim 10, wherein the user service end is specifically configured to obtain the print file according to a second storage path of the print file, and control a printing device to perform a printing operation according to the image processing parameter and the print file.
12. The printed document generation system of claim 11, wherein the management server is further configured to receive execution feedback information of the processing server, and determine whether the processing server completes the image processing task according to the execution feedback information;
and if the processing server does not finish the image processing task, sending the image processing task to a corresponding processing server again according to the image processing parameters and preset rules.
13. A non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by a server, cause the server to perform the method of any one of claims 1-4.
CN202010499793.1A 2020-06-04 2020-06-04 Method and system for generating printed file and readable storage medium Pending CN111610942A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010499793.1A CN111610942A (en) 2020-06-04 2020-06-04 Method and system for generating printed file and readable storage medium
PCT/CN2020/129833 WO2021243972A1 (en) 2020-06-04 2020-11-18 Method and system for generating printing file, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010499793.1A CN111610942A (en) 2020-06-04 2020-06-04 Method and system for generating printed file and readable storage medium

Publications (1)

Publication Number Publication Date
CN111610942A true CN111610942A (en) 2020-09-01

Family

ID=72202489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010499793.1A Pending CN111610942A (en) 2020-06-04 2020-06-04 Method and system for generating printed file and readable storage medium

Country Status (2)

Country Link
CN (1) CN111610942A (en)
WO (1) WO2021243972A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112477438A (en) * 2020-11-13 2021-03-12 深圳汉弘软件技术有限公司 Printing method, printing device, ink-jet printer and storage medium
WO2021243972A1 (en) * 2020-06-04 2021-12-09 深圳汉弘软件技术有限公司 Method and system for generating printing file, and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980613A (en) * 2014-04-11 2015-10-14 佳能株式会社 System, image processing apparatus, and method for controlling image processing apparatus
CN107622117A (en) * 2017-09-15 2018-01-23 广东欧珀移动通信有限公司 Image processing method and device, computer equipment, computer-readable recording medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6963413B2 (en) * 2000-12-20 2005-11-08 Xerox Corporation System and method for scan-to-print architecture
JP5747885B2 (en) * 2012-09-18 2015-07-15 コニカミノルタ株式会社 Printing system, server and computer program
CN110244914A (en) * 2018-03-07 2019-09-17 北大方正集团有限公司 It sends to press single processing method, apparatus and system
CN110780829B (en) * 2019-10-15 2023-09-01 武汉牌洲湾广告科技有限公司 Advertisement printing method, device, equipment and medium based on cloud service
CN111610942A (en) * 2020-06-04 2020-09-01 深圳汉弘软件技术有限公司 Method and system for generating printed file and readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980613A (en) * 2014-04-11 2015-10-14 佳能株式会社 System, image processing apparatus, and method for controlling image processing apparatus
CN107622117A (en) * 2017-09-15 2018-01-23 广东欧珀移动通信有限公司 Image processing method and device, computer equipment, computer-readable recording medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021243972A1 (en) * 2020-06-04 2021-12-09 深圳汉弘软件技术有限公司 Method and system for generating printing file, and readable storage medium
CN112477438A (en) * 2020-11-13 2021-03-12 深圳汉弘软件技术有限公司 Printing method, printing device, ink-jet printer and storage medium

Also Published As

Publication number Publication date
WO2021243972A1 (en) 2021-12-09

Similar Documents

Publication Publication Date Title
CN109949111B (en) Electronic bill identification distribution method, electronic bill generation method, device and system
CN109669762B (en) Cloud computing resource management method, device, equipment and computer readable storage medium
CN109558446B (en) Job request method, job request device, electronic equipment and storage medium
CN107547595B (en) Cloud resource scheduling system, method and device
CN106371889B (en) Method and device for realizing high-performance cluster system of scheduling mirror image
EP2838228A1 (en) Alarm correlation analysis method, apparatus, and system
CN111880902A (en) Pod creation method, device, equipment and readable storage medium
US20240095082A1 (en) Method and system for multiple services to share same gpu, and device and medium
US10884880B2 (en) Method for transmitting request message and apparatus
CN108933829A (en) A kind of load-balancing method and device
CN103368785A (en) Server operation monitoring system and method
CN111610942A (en) Method and system for generating printed file and readable storage medium
US20160234129A1 (en) Communication system, queue management server, and communication method
CN102811141A (en) Method and system for monitoring running of virtual machines
CN104793982A (en) Method and device for establishing virtual machine
US20240118935A1 (en) Pod deployment method and apparatus
CN110569124A (en) Task allocation method and device
CN114090240A (en) Scheduling method, device, equipment and storage medium for public cloud computing resources
CN111835809B (en) Work order message distribution method, work order message distribution device, server and storage medium
CN114615276B (en) Domain name scheduling method and device for content distribution network
JP6888478B2 (en) Sorting system
CN112380040B (en) Message processing method and device, electronic equipment and storage medium
CN102868594B (en) Method and device for message processing
US9047128B1 (en) Backup server interface load management based on available network interfaces
CN115237433A (en) Application program deployment method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200901

RJ01 Rejection of invention patent application after publication