WO2021243972A1 - Method and system for generating printing file, and readable storage medium - Google Patents

Method and system for generating printing file, and readable storage medium Download PDF

Info

Publication number
WO2021243972A1
WO2021243972A1 PCT/CN2020/129833 CN2020129833W WO2021243972A1 WO 2021243972 A1 WO2021243972 A1 WO 2021243972A1 CN 2020129833 W CN2020129833 W CN 2020129833W WO 2021243972 A1 WO2021243972 A1 WO 2021243972A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
image processing
server
printing
manuscript
Prior art date
Application number
PCT/CN2020/129833
Other languages
French (fr)
Chinese (zh)
Inventor
李毅
李加文
龙俊锜
廖晓亚
李巍
Original Assignee
深圳汉弘软件技术有限公司
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 深圳汉弘软件技术有限公司 filed Critical 深圳汉弘软件技术有限公司
Publication of WO2021243972A1 publication Critical patent/WO2021243972A1/en

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]

Definitions

  • This application relates to the field of digital printing technology, and in particular to a method, system and readable storage medium for generating printed files.
  • the printing equipment In traditional digital printing production, the printing equipment is equipped with dedicated equipment and software for image processing on site, and then the on-site staff performs image processing operations on each design manuscript according to printing requirements, thereby generating printing files, and finally operating and controlling the printing equipment Print production according to the printed document.
  • this digital printing production method each time it is produced, it is necessary to wait for the processing of the design manuscript to be completed before printing production. It not only takes up the machine space and printing time of the printing equipment, but also cannot make the printing equipment rational use and increase production. efficient.
  • an embodiment of the present application provides a method for generating a printed file, which is applied to a server, and the method includes:
  • the printing file is stored, and the printing file is provided to the user service terminal, so that the user service terminal controls the printing device to perform a printing operation according to the printing file.
  • the server includes a storage server, a management server, and a processing server;
  • the receiving and storing the manuscript file sent by the user service terminal includes:
  • the storage server receives and stores the manuscript file sent by the user service terminal;
  • the acquiring the image processing task sent by the user service terminal, processing the manuscript file according to the image processing task, and generating a printed file includes:
  • the management server obtains the image processing task sent by the user service terminal, and sends the image processing task to the corresponding processing server according to the image processing parameters and preset rules, wherein the image processing task includes the The first storage path of the manuscript file and the image processing parameters;
  • the processing server processes the manuscript file according to the first storage path and the image processing parameter, and generates a print file
  • the storing the printing file and providing the printing file to the user service terminal so that the user service terminal controls the printing device to perform a printing operation according to the printing file includes:
  • the storage server receives and stores the printed file sent by the processing server
  • 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, so that the user service end is based on
  • the second storage path acquires the printing file, and controls the printing device to perform a printing operation according to the printing file and the image processing parameters.
  • the method further includes:
  • the management server receives execution feedback information of the processing server, and determines whether the processing server has completed the image processing task according to the execution feedback information;
  • the processing server If the processing server has not completed the image processing task, it re-sends the image processing task to the corresponding processing server according to the image processing parameters and preset rules.
  • the sending the image processing task to the corresponding processing server according to the image processing parameters and preset rules includes:
  • the image processing task is distributed according to the task load of the processing server.
  • an embodiment of the present application also provides a method for generating a printed file, which is applied to a user service end, and the method includes:
  • the image processing task includes a first storage path of the manuscript file and image processing parameters
  • the server is configured to process the manuscript file according to the image processing task and generate Printed documents, including:
  • the manuscript file is processed according to the image processing parameters to obtain a printed file and store the printed file.
  • the receiving the printing file sent by the server and controlling the printing device to perform the printing operation according to the printing file includes:
  • the printing device is controlled to perform a printing operation according to the printing file and the image processing parameter.
  • an embodiment of the present application also provides a printed document generation system, and the printed document generation system includes:
  • a storage server which is used to store manuscript files sent by the user's service terminal and printed files sent by the processing server;
  • Management server the management server is used to receive the image processing task sent by the user service terminal, and send the image processing task to the processing server;
  • a processing server configured to process the manuscript file according to the image processing task, so as to generate the print file;
  • the user service terminal is used to control the printing device to perform printing operations according to the printing file.
  • the image processing task includes image processing parameters
  • the management server is specifically configured to check the image processing parameters, and send the image processing task to Corresponding processing server.
  • the image processing task further includes a first storage path of the manuscript file
  • the processing server includes an image processing task proxy module and at least one image processing engine
  • the image processing task proxy module is configured to Dispatching the received image processing task to one of the at least one image processing engine, and acquiring the manuscript file according to the first storage path of the manuscript file;
  • the at least one image processing engine is used to process the manuscript file according to the image processing parameter.
  • the user service terminal is specifically configured to obtain the printing file according to the second storage path of the printing file, and control the printing device to perform the printing operation according to the image processing parameter and the printing file.
  • the management server is further configured to receive execution feedback information of the processing server, and determine whether the processing server has completed the image processing task according to the execution feedback information;
  • processing server does not complete the image processing task, then re-send the image processing task to the corresponding processing server according to the image processing parameters and preset rules.
  • the embodiments of the present application also provide a non-volatile computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a server, The server executes the above-mentioned printing file generation method.
  • the embodiments of the present application also provide a computer program product.
  • the computer program product includes a computer program stored on a non-volatile computer-readable storage medium.
  • the computer program includes program instructions. When the program instructions are executed by a machine, the machine executes the method described above.
  • the beneficial effect of the present application is: different from the prior art, the printed file generation method, system and readable storage medium in the embodiments of the present application are different.
  • image processing the manuscript file sent by the user's business terminal is received, and the manuscript file is sent to the server for storage. After storing the manuscript file, receiving the image processing task sent by the user service terminal, processing the stored manuscript file according to the received image processing task, and generating a printing file after processing.
  • the printed file generated by the processing is provided to the user service end, and the user service end, after receiving the printed file, controls the printing device to perform the printing operation according to the printed file.
  • the manuscript file is directly processed by the server and the printing file is generated, so that the printing device only needs to perform printing operations according to the printing file, so that the printing device is always in a production state and the production efficiency is improved.
  • Figure 1 is an application scenario diagram of the method for generating printed documents of this application
  • FIG. 2 is a flowchart of an embodiment of a method for generating a printed file applied to a server in an embodiment of the present application
  • Fig. 3 is a structural diagram of a user service terminal receiving a client printing service in an embodiment of the present application
  • Fig. 4 is a flowchart of an embodiment of a printing file generation method applied to a user service terminal in an embodiment of the present application
  • FIG. 5 is an interaction diagram between various components of the printing file generation system in an embodiment of the present application.
  • Fig. 6 is a structural diagram of a processing server in an embodiment of the present application.
  • the user service terminal 10 is in communication connection with the server 20 for information exchange, for example, through a local area network, a wide area network, a wireless network, a global system of mobile communication (GSM), and a third-generation mobile communication network ,
  • GSM global system of mobile communication
  • the fourth-generation mobile communication network and the fifth-generation mobile communication network are communicatively connected to the server 20, and the user service end may be an electronic device with communication functions, such as a desktop computer, a notebook computer, a tablet computer, etc.
  • the server can be a server, such as a rack server, a blade server, a tower server or a cabinet server, etc., or a server cluster composed of several servers, or a cloud computing service center.
  • the print The device can be any printer with a printing function, for example, a smart digital printer.
  • the printing file generation method provided in the embodiments of the present application can be further extended to other suitable application scenarios, and is not limited to the application scenario described in FIG. 1.
  • Figure 1 exemplarily shows a user service terminal 10, a server 20, and a printing device (such as 31-34 described in Figure 1).
  • the application scenario may also include more user service terminals, Server and printing equipment.
  • an embodiment of the present application provides a method for generating a printed file, which is applied to a server, and the method includes:
  • Step S201 Receive and store the manuscript file sent by the user service terminal.
  • the user When the manuscript file needs to be processed, the user first sends the manuscript file for printing to the server through the user service end, and the server stores the manuscript file after receiving the manuscript file sent by the user service end.
  • the server By storing the manuscript file in the server, it does not need to occupy the space of the printing device, and the manuscript file does not need to be transmitted to the production site, which can prevent the manuscript file from leaking, which is beneficial to the protection of copyright.
  • the user service terminal 10 before sending the manuscript file to the server, the user service terminal 10 needs to obtain the manuscript file that the client needs to print. Among them, the client can copy the manuscript file via wireless, wired, and U disk.
  • the client can send the manuscript file to the user service terminal.
  • the user service terminal can receive printing services from different customers at the same time.
  • the same user service terminal 10 can simultaneously receive original documents sent by client 1, client 2, client 3, and client 4. And after receiving a plurality of manuscript files sent by a plurality of users, the plurality of manuscript files are sent to the server.
  • the user in order to distinguish multiple manuscript files, the user will name the manuscript files before sending the manuscript files to the server. For example, if the user ID of the current user service terminal is Zhang San, then The manuscript file is prefixed with a Zhangsan, and since the user ID is unique, the manuscript file is also unique.
  • Step S202 Obtain the image processing task sent by the user service terminal, process the manuscript file according to the image processing task, and generate a printed file.
  • the manuscript file Before printing, the manuscript file needs to be image-processed, and the manuscript file is converted into a printing file that can be directly produced by the printing device. For example, raster image processing is converted into a raster or dot that the printing device can directly print. Array files, etc.
  • the user business end After sending the manuscript file to the server, the user business end will send an image processing task to the server to tell the server how to process the manuscript file, so that the manuscript file can be directly recognized by the printing device for production after processing.
  • the current user service end sends an image processing task that requires a specific resolution.
  • the server After receiving the image processing task sent by the user service end, the server processes the manuscript file according to the specific resolution, and then processes it. After success, the corresponding printed file is generated.
  • Step S203 storing the printing file, and providing the printing file to the user service terminal, so that the user service terminal controls the printing device to perform a printing operation according to the printing file.
  • the server After the server generates the print file, it stores the print file. When the user service end needs to use the print file, the server sends the print file to the user service end, and the user service end receives it. After the document is printed, a printing device that is idle or has few printing tasks is controlled to perform a printing operation according to the printed document.
  • the server after the server has stored the printed file, the server will feed back a storage path to the user service terminal.
  • the user service terminal checks the access server according to the storage path, obtains the print file according to the storage path, and controls the idle printing device to perform the printing operation according to the print file .
  • the server includes a storage server, a management server, and a processing server.
  • the manuscript file is sent to the storage server through the user service terminal, and the storage server is in After receiving the manuscript file, the manuscript file is stored.
  • the user After the storage server has stored the manuscript file, the user needs to process the manuscript file. Therefore, the user can send an image processing task to the management server through the user service terminal, and the image management task includes storing the manuscript The first storage path of the file and the image processing parameters. Because each manuscript file is not printed in the same printing format, when processing the manuscript file, the user needs to tell the management server the image processing parameters of the manuscript file.
  • the management server will select the corresponding processing server for all the documents based on the image processing parameters and preset rules after receiving the image processing task.
  • the manuscript file is processed.
  • the management server searches for all processing servers capable of processing the manuscript file according to the image processing parameters according to the image processing parameters in the image processing task.
  • the image processing parameters include printing. Size, rotation angle and image color, etc.
  • the management server When the image processing parameter requires a specific image color, the management server will select all processing servers capable of processing this specific image color according to the specific image color, and after searching for the processing server, it will be based on the preset According to the rules of selecting one of these processing servers, for example, according to the current task load of the processing server, because when the printing business volume is relatively large, each processing server needs to perform more than one image processing task. Therefore, the management server is allocating image processing When tasking, preferentially select a processing server with less load for processing.
  • a level is set for the processing server.
  • the higher the level the more urgent the image processing task to be processed. Therefore, when the image processing task is relatively urgent, the corresponding processing server can also be matched according to the preset image processing task level, so that the urgent task can be processed preferentially without queuing.
  • the management server After selecting the processing server, the management server will send the image processing parameters and the first storage path of the manuscript file to the selected processing server, and the processing server will receive the first storage path and image processing parameters of the manuscript file , Acquiring the manuscript file from the storage server according to the first storage path of the manuscript file, and processing the manuscript file according to the image processing parameters, and processing the manuscript file according to the image processing parameters on the processing server After the file is processed, a printed file is generated.
  • the management server After the management server generates the print file, it sends the print file to the storage server for storage, and after the print file is stored, the processing server sends a feedback message to the management server, telling the management server that the The manuscript file has been processed successfully and the second storage path of the printed file that has been processed. After receiving the feedback information sent by the processing server and determining that the manuscript file has been processed, the management server sends the second storage path of the printed file to the user service terminal. After receiving the second storage path of the printing file, the user service terminal obtains the printing file according to the second storage path, and when printing is required, controls the idle or printing device with few printing tasks to print according to the printing file operate.
  • the processing server may not be able to complete the image processing tasks assigned by the management server due to failures and other reasons when the processing server is processing the image processing tasks. Therefore, the management server needs to detect the progress of the image processing tasks of the processing server in real time to prevent Therefore, the processor malfunctioned and delayed the printing process. In the process of processing the image processing task, the processing server will send execution feedback information to the management server in real time. After receiving the execution feedback information, the management server judges whether the processing server can handle the image processing task well according to the execution feedback information. For example, the management server receives the execution feedback information of the processing server that the processing progress of the current image processing task is 30%.
  • the processing server After a period of time, if the processing progress of the execution feedback information is greater than 30%, it is considered that the processing server can continue to complete For the image processing task, if the execution feedback information of the processing server is received or the processing progress of the current processing task is 30%, then the processing server is considered to be faulty and the image processing task cannot be completed, and the above steps are continuously refreshed for judgment.
  • the management server determines that the processing server cannot complete the image processing task, it needs to reallocate the image processing task. At this time, the management service will re-search the image processing parameters based on the image processing task.
  • the image processing parameter processes the processing server of the image processing task.
  • the processing server here does not include the processing server that the management server determines that the image processing task cannot be completed.
  • the task load of the selected processing server is Choose a processing server with a lighter load for processing. If the management server determines that the processing server can complete the image processing task, it does not redistribute the image processing task.
  • the processing server in order to enable the processing server to successfully process these services when the business volume is large, when the management server determines that the processing server cannot complete the image processing task, the processing server is described When a fault occurs, the management server will send a fault message to the management personnel, so that the management personnel can find and maintain the fault of the processing server in time, so that the processing server can work normally and complete the task smoothly.
  • the beneficial effect of the embodiments of the present application is that the manuscript file is sent to the storage server for storage through the user service terminal. Since the manuscript file needs to undergo image processing to be converted into a printing file that can be recognized by the printing device, the storage server stores the original file in the storage server. After the manuscript file is described, the user service terminal sends the image processing task of the manuscript file to the management server.
  • the image processing task includes image processing parameters and the first storage path of the manuscript file.
  • the image processing parameters and the first storage path of the manuscript file find all processing servers capable of processing the image processing task according to the image processing parameters according to the image processing parameters, and then select the processing servers according to preset rules In one of them, after selection, the image processing task is sent to the selected processing server, so that the processing server can process the image processing task.
  • the processing server sends the generated print file to the storage server, so that the storage server stores the print file, and sends the second storage path of the print file to the management server, After confirming that the processing server completes the image processing task, the management server sends the second storage path of the printed file to the user service terminal.
  • the user service terminal obtains the printing file according to the second storage path of the received printing file, and then controls the printing device to perform the printing operation according to the printing file.
  • the manuscript file is directly processed by the server and the printing file is generated, so that the printing device only needs to perform printing operations according to the printing file, so that the printing device is always in a production state and the production efficiency is improved.
  • multiple printing devices can share the server, and the storage server, management server, and processing server coordinate with each other to process tasks, reducing the workload of the printing device and the preparation time before printing, the utilization rate of the server is improved, and the cost is reduced.
  • the design manuscript is only stored in the storage server and will not be directly given to the production site, which is beneficial to avoiding copyright leakage problems caused by the complexity of the production site environment and personnel, and is beneficial to copyright protection.
  • an embodiment of the present application also provides a method for generating a printed file, which is applied to a user service end, and the method includes:
  • Step S401 Send a manuscript file to a server, so that the server stores the manuscript file.
  • the user When the manuscript file needs to be processed, the user first sends the manuscript file for printing to the server through the user service end, and the server stores the manuscript file after receiving the manuscript file sent by the user service end.
  • the space of the printing device does not need to be occupied, and the manuscript file does not need to be transmitted to the production site, which can prevent the manuscript file from leaking.
  • Step S402 Send an image processing task to the server, so that the server processes the manuscript file according to the image processing task, and generates a printed file.
  • the manuscript file needs to be image-processed first, and the manuscript file is converted into a printing file that can be directly produced by the printing device. For example, raster image processing is converted into a raster or dot that the printing device can directly print. Array files, etc.
  • the user business end will send an image processing task to the server to tell the server how to process the manuscript file, so that the manuscript file can be directly recognized by the printing device for production after processing.
  • the current user service end sends an image processing task that requires a specific resolution.
  • the server processes the manuscript file according to the specific resolution, and then processes it. After success, the corresponding printed file is generated.
  • the server includes a storage server, a management server, and a processing server.
  • the storage server After the storage server has stored the manuscript file, the user needs to process the manuscript file. Therefore, the user can use the user service
  • the terminal sends an image processing task to the management server, and the image management task includes a first storage path for storing the manuscript file and image processing parameters.
  • the management server After receiving the image processing task, the management server searches for all processing servers capable of processing the manuscript file according to the image processing parameters according to the image processing parameters in the image processing task.
  • the image processing parameters include printing size, Rotation angle and image color, etc.
  • the management server will search for all processing servers capable of processing the specific image color according to the specific image color.
  • the processing server After selecting the processing server, select one of these processing servers according to preset rules, for example, according to the current task load of the processing server, because when the printing business volume is relatively large, the image processing tasks that each processing server needs to perform are combined. There is more than one. Therefore, when the management task allocates image processing tasks, the processing server with less load is preferentially selected for processing.
  • a level is set for the processing server.
  • the higher the level the more urgent the image processing task to be processed. Therefore, when the image processing task is relatively urgent, the corresponding processing server can also be matched according to the preset image processing task level, so that the urgent task can be processed preferentially without queuing.
  • the management server After selecting the processing server, the management server will send the image processing parameters and the first storage path of the manuscript file to the selected processing server, and the processing server will receive the first storage path and image processing parameters of the manuscript file , Acquiring the manuscript file from the storage server according to the first storage path of the manuscript file, and processing the manuscript file according to the image processing parameters, and processing the manuscript file according to the image processing parameters on the processing server After the file is processed, a printed file is generated.
  • Step S403 Receive the printing file sent by the server, and control the printing device to perform the printing operation according to the printing file.
  • the server After the server generates the print file, it stores the print file. When the user service end needs to use the print file, the server sends the print file to the user service end, and the user service end receives it. After the document is printed, an idle or less-task printing device is controlled to perform a printing operation according to the printed document.
  • the processing server after the processing server generates the printed file, it sends the printed file to the storage server for storage, and after the printed file is stored, the processing server sends a feedback message to the management server to tell In the management server, the second storage path of the printed file for which the manuscript file has been processed successfully and the processing has been completed. After receiving the feedback information sent by the processing server and determining that the manuscript file has been processed, the management server sends the second storage path of the printed file to the user service terminal. After receiving the second storage path of the printing file, the user service terminal obtains the printing file according to the second storage path, and when printing is required, controls the idle or less-tasking printing device to perform the printing operation according to the printing file .
  • the beneficial effect of the embodiment of the present application is that the user service terminal sends the manuscript file to the storage server, and the storage server stores the manuscript file after receiving the manuscript file.
  • the user service terminal sends an image processing task to the management server.
  • the image processing task includes the first storage path of the manuscript file and image processing parameters.
  • the management server searches based on the image processing parameters. All processing servers capable of processing the image processing task according to the image processing parameters, and then selecting one of the processing servers to process the image processing task according to the task load of these processing servers.
  • the processing server acquires the manuscript file according to the first storage path of the manuscript file, processes the manuscript file according to the image processing parameters, and generates a print file.
  • the processing server sends the print file to the storage server for storage, and feeds back the second storage path of the print file to the management server.
  • the management server receives the second storage path and determines that the processing server completes the image
  • the second storage path of the printing file is sent to the user service end.
  • the printing file is obtained according to the second storage path of the printing file, and according to the printing
  • the file controls the printing device to perform printing operations. In this way, the manuscript file is directly processed by the server and the printing file is generated, so that the printing device only needs to perform printing operations according to the printing file, so that the printing device is always in a production state and the production efficiency is improved.
  • the embodiment of the present application also provides a printed document generation system.
  • FIG. 5 is an interaction diagram between the components of the printed document generation system.
  • the printed document generation system includes a storage server 110, a management server 120, and processing The server 130 and the user service terminal 10.
  • the storage server 110 is used to store manuscript files sent by the user's business end and printed files sent by the processing server
  • the management server 120 is used to receive image processing tasks sent by the user's business end, and send the image processing tasks.
  • the processing server 130 is configured to process the manuscript file according to the image processing task to generate the printing file
  • the user service terminal 10 is configured to control the printing device to perform the printing operation according to the printing file ,
  • the user service terminal 10 sends an image processing task to the management server 120.
  • the image processing task includes image processing parameters
  • the management server 120 receives the image processing task.
  • the corresponding processing server 130 is selected to process the manuscript file according to the image processing parameters and preset rules.
  • the management server 120 searches for all processing servers 130 capable of processing the manuscript file according to the image processing parameters according to the image processing parameters in the image processing task, for example, the image processing parameters Including printing size, rotation angle and image color.
  • the management server 120 will select all processing servers 130 capable of processing this specific image color according to the specific image color.
  • the preset rules select one of these processing servers 130, for example, according to the current task load of the processing server 130, because when the printing business volume is relatively large, each processing server 130 needs to perform more than one image processing task. Therefore, the management When the server 120 allocates image processing tasks, it preferentially selects a processing server 130 with a relatively small load for processing.
  • the processing server 130 includes an image processing task proxy module 131 and at least one image processing engine (for example, 132-135 in FIG. 6), and the image processing task also includes all image processing tasks.
  • the first storage path of the manuscript file after the processing server 130 is selected, the management server 120 will send the image processing parameters and the first storage path of the manuscript file to the image processing task agent module 131 of the selected processing server, so
  • the image processing task agent module 131 after receiving the first storage path and image processing parameters of the manuscript file, selects an idle or less tasked image processing engine according to the working status of the at least one image processing engine, and then selects After the image processing engine, it obtains the manuscript file from the storage server 110 according to the first storage path of the manuscript file, and sends the manuscript file and image processing parameters to the image processing engine, so that the image
  • the processing engine processes the manuscript file according to the image processing parameters, and after the image processing engine of the processing server 130 finishes processing the manuscript file according to the image processing parameters, a print file is generated.
  • the image processing engine after the image processing engine generates the print file, it sends the print file to the image processing task agent module 131, so that the image processing task agent module 131 sends the print file to the storage.
  • the server 110 performs storage.
  • the image processing task agent module 131 will send a feedback message to the management server 120 to inform the management server 120 that the manuscript file has been processed successfully and the second storage path of the processed print file.
  • the management server 120 After receiving the feedback information sent by the image processing task agent module 131 and determining that the manuscript file has been processed, the management server 120 sends the second storage path of the printed file to the user service terminal 10.
  • the user service terminal 10 After receiving the second storage path of the printing file, the user service terminal 10 obtains the printing file according to the second storage path, and when printing is required, controls the idle or less-tasking printing device to print according to the printing file. operate.
  • the processing server 130 may be unable to complete the image processing tasks assigned by the management server 120 due to failures and other reasons when processing image processing tasks. Therefore, the management server 120 needs to detect the image processing tasks of the processing server 130 in real time. To prevent delays in the printing process due to processor failure. In the process of processing the image processing task, the processing server 130 will send execution feedback information to the management server in real time. After receiving the execution feedback information, the management server 120 judges whether the processing server 130 can handle the image processing task well according to the execution feedback information. . For example, the management server 120 receives the execution feedback information from the processing server 130 that the processing progress of the current image processing task is 30%.
  • the processing server 130 After a period of time, if the processing progress of the execution feedback information is greater than 30%, the processing server 130 is considered The image processing task can continue to be completed. If the execution feedback information of the processing server 130 is received or the processing progress of the current processing task is 30%, it is considered that the processing server 130 is faulty and the image processing task cannot be completed. The above steps Constantly refresh to judge.
  • the management server 120 determines that the processing server 130 cannot complete the image processing task, it needs to re-allocate the image processing task. At this time, the management server 120 will re-allocate the image processing task according to the image processing parameters in the image processing task. Search for the processing server 130 that can process the image processing task according to the image processing parameters.
  • the processing server 130 here does not include the processing server 130 that the management server 120 determines that the image processing task cannot be completed.
  • the task load of the selected processing server 130 selects a processing server 130 with a relatively light load for processing. If the management server 120 determines that the processing server can complete the image processing task, it does not redistribute the image processing task.
  • the management server 120 in order to enable the processing server 130 to smoothly process these services when the business volume is large, the management server 120, when judging that the processing server 130 cannot complete the image processing task, then explains that When the processing server 130 fails, the management server 120 will send a fault message to the management personnel, so that the management personnel can find and maintain the fault of the processing server 130 in time, so that the processing server 130 can work normally and successfully complete the task.
  • the beneficial effect of the embodiment of the present application is that the manuscript file is sent to the storage server 110 through the user service terminal 10 for storage. Since the manuscript file needs to undergo image processing to be converted into a printing file that can be recognized by the printing device, the storage server After 110 stores the manuscript file, the user service terminal 10 sends an image processing task of the manuscript file to the management server 120.
  • the image processing task includes image processing parameters and the first storage path of the manuscript file.
  • the management server 120 After receiving the image processing parameters and the first storage path of the manuscript file, find all processing servers 130 capable of processing the image processing task according to the image processing parameters according to the image processing parameters, and then according to the preset It is assumed that a rule selects one of the processing servers 130, and after the selection, the image processing task is sent to the selected processing server 130, so that the processing server 130 can process the image processing task.
  • the processing server 130 After processing 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, after confirming that the processing server 130 has completed the image processing task, sends the second storage path of the print file to the user service terminal 10.
  • the user service terminal 10 obtains the printing file according to the second storage path of the received printing file, and then controls the printing device to perform the printing operation according to the printing file.
  • the manuscript file is directly processed by the server and the printing file is generated, so that the printing device only needs to perform printing operations according to the printing file, so that the printing device is always in a production state and the production efficiency is improved.
  • multiple printing devices can share the server, and the storage server 110, the management server 120, and the processing server 130 coordinate with each other to process tasks, reducing the workload of the printing device and the preparation time before printing, the utilization rate of the server is improved, and the cost is reduced .
  • the design manuscript is only stored in the storage server and will not be directly given to the production site, which is more beneficial than avoiding copyright leakage caused by the complexity of the production site environment and personnel, and is beneficial to copyright protection.
  • the device embodiments described above are merely illustrative, where the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the embodiment of the present application provides a non-volatile computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by one or more processors to enable the aforementioned one Or multiple processors can execute the print file generation method in any of the foregoing method embodiments.
  • the servers in the embodiments of this application exist in various forms, including but not limited to:
  • the general tower server case is similar to our commonly used PC case, while the large tower case is much thicker. Generally speaking, there is no fixed standard for the external dimensions.
  • Rack-mounted servers are a type of server with a 19-inch rack as the standard width due to the intensive deployment of enterprises, and the height ranges from 1U to several U. Placing the server on the rack is not only conducive to daily maintenance and management, but may also avoid unexpected failures. First, placing the server does not take up too much space. Rack servers are neatly arranged in the racks without wasting space. Secondly, the connecting wires can also be neatly stored in the rack. Power cables and LAN cables can all be routed in the cabinet, which can reduce the accumulation of connection cables on the ground and prevent accidents such as kicking off the wires.
  • the blade server is a HAHD (High Availability High Density) low-cost server platform, which is specially designed for special application industries and high-density computer environments.
  • Each "blade” is actually a system motherboard , Similar to independent servers. In this mode, each motherboard runs its own system, serving different designated user groups, and is not related to each other. However, the system software can be used to assemble these motherboards into a server cluster. In the cluster mode, all motherboards can be connected to provide a high-speed network environment, can share resources, and serve the same user group.
  • Cloud Server (Elastic Compute Service, ECS) is a simple, efficient, safe and reliable computing service with elastically scalable processing capabilities. Its management method is simpler and more efficient than physical servers. Users can quickly create or release any number of cloud servers without having to purchase hardware in advance.
  • the distributed storage of cloud servers is used to integrate a large number of servers into a supercomputer, providing a large amount of data storage and processing services.
  • Distributed file system and distributed database allow access to common storage resources and realize IO sharing of application data files.
  • Virtual machines can break through the limitations of a single physical machine, dynamically adjust and allocate resources to eliminate single points of failure of servers and storage devices, and achieve high availability.
  • the embodiment of the present application also provides a computer program product, which includes a calculation program stored on a non-volatile computer-readable storage medium.
  • the computer program includes program instructions.
  • the program instructions When the program instructions are executed by a machine, the computer program The machine executes the printing file generation method in any of the above-mentioned method embodiments.
  • the device embodiments described above are merely illustrative, where the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • each implementation manner can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware.
  • a person of ordinary skill in the art can understand that all or part of the processes in the method of the foregoing embodiments can be implemented by instructing relevant hardware through a computer program.
  • the program can be stored in a computer readable storage medium. When executed, it may include the procedures of the above-mentioned method embodiments.
  • the storage medium may be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)

Abstract

A method and system for generating a printing file, and a readable storage medium. The method comprises: receiving and storing a manuscript file sent by a user service end (S201); acquiring an image processing task sent by the user service end, processing the manuscript file according to the image processing task, and generating a printing file (S202); storing the printing file, and providing the printing file to the user service end, so that the user service end controls a printing device according to the printing file to perform a printing operation (S203). By means of the foregoing method, the manuscript file is directly processed by a server and the printing file is generated, so that the printing device only needs to perform the printing operation according to the printing file, thereby enabling the printing device to always be in a production state, and improving the production efficiency.

Description

一种印刷文件生成方法、***和可读存储介质Method, system and readable storage medium for generating printed files
相关申请的交叉参考Cross reference of related applications
本申请要求于2020年06月24日提交中国专利局,申请号为202010499793.1,发明名称为“一种印刷文件生成方法、***和可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on June 24, 2020, the application number is 202010499793.1, and the invention title is "a method, system and readable storage medium for generating printed documents". The entire content of the application is approved The reference is incorporated in this application.
技术领域Technical field
本申请涉及数码印刷技术领域,特别是涉及一种印刷文件生成方法、***和可读存储介质。This application relates to the field of digital printing technology, and in particular to a method, system and readable storage medium for generating printed files.
背景技术Background technique
随着数码印刷技术的发展,各类数码印刷技术的出现,使得数码印刷商家之间的竞争越来越激烈,为了在竞争中占据有利地位,需要提高生产效率。数码印刷在实际生产中,印刷原设计稿件需要经过图像处理才能转化为印刷设备可以直接进行生产的印刷文件。With the development of digital printing technology and the emergence of various digital printing technologies, the competition among digital printing businesses has become increasingly fierce. In order to occupy a favorable position in the competition, it is necessary to improve production efficiency. In the actual production of digital printing, the original design manuscript of the printing needs to be image-processed before it can be converted into a printing file that can be directly produced by the printing equipment.
传统的数码印刷生产中,通过为印刷设备现场配置图像处理专用的设备和软件,然后由现场工作人员根据印刷需求对每个设计原稿件进行图像处理操作,从而生成印刷文件,最后操作控制印刷设备根据所述印刷文件进行印刷生产。这种数码印刷生产方式,每次生产时,都需要等待设计原稿件处理完成才能进行印刷生产,不仅占用机台空间和印刷设备的印刷时间,而且无法使印刷设备得到合理的利用,无法提高生产效率。In traditional digital printing production, the printing equipment is equipped with dedicated equipment and software for image processing on site, and then the on-site staff performs image processing operations on each design manuscript according to printing requirements, thereby generating printing files, and finally operating and controlling the printing equipment Print production according to the printed document. In this digital printing production method, each time it is produced, it is necessary to wait for the processing of the design manuscript to be completed before printing production. It not only takes up the machine space and printing time of the printing equipment, but also cannot make the printing equipment rational use and increase production. efficient.
发明内容Summary of the invention
基于此,有必要针对上述技术问题,提供一种印刷文件生成方法、***和可读存储介质,通过这种方式,使得打印设备只需要根据印刷文 件进行打印操作,从而使打印设备一直处于生产状态,提高生产效率,技术方案如下:Based on this, it is necessary to address the above technical problems and provide a printing file generation method, system and readable storage medium. In this way, the printing device only needs to perform printing operations according to the printing file, so that the printing device is always in production. , To improve production efficiency, the technical solutions are as follows:
第一方面,本申请实施例提供一种印刷文件生成方法,应用于服务器,所述方法包括:In the first aspect, an embodiment of the present application provides a method for generating a printed file, which is applied to a server, and the method includes:
接收并存储用户业务端发送的原稿文件;Receive and store manuscript files sent by the user's business end;
获取用户业务端发送的图像处理任务,根据所述图像处理任务对所述原稿文件进行处理,并生成印刷文件;Acquiring an image processing task sent by a user service terminal, processing the manuscript file according to the image processing task, and generating a printed file;
存储所述印刷文件,并将所述印刷文件提供给所述用户业务端,以使所述用户业务端根据所述印刷文件控制打印设备进行打印操作。The printing file is stored, and the printing file is provided to the user service terminal, so that the user service terminal controls the printing device to perform a printing operation according to the printing file.
在其他一些实施例中,所述服务器包括存储服务器、管理服务器和处理服务器;In some other embodiments, the server includes a storage server, a management server, and a processing server;
所述接收并存储用户业务端发送的原稿文件,包括:The receiving and storing the manuscript file sent by the user service terminal includes:
所述存储服务器接收并存储所述用户业务端发送的原稿文件;The storage server receives and stores the manuscript file sent by the user service terminal;
所述获取用户业务端发送的图像处理任务,根据所述图像处理任务对所述原稿文件进行处理,并生成印刷文件,包括:The acquiring the image processing task sent by the user service terminal, processing the manuscript file according to the image processing task, and generating a printed file includes:
所述管理服务器获取所述用户业务端发送的所述图像处理任务,并根据图像处理参数和预设规则将所述图像处理任务发送至对应的处理服务器,其中,所述图像处理任务包括所述原稿文件的第一存储路径和所述图像处理参数;The management server obtains the image processing task sent by the user service terminal, and sends the image processing task to the corresponding processing server according to the image processing parameters and preset rules, wherein the image processing task includes the The first storage path of the manuscript file and the image processing parameters;
所述处理服务器根据所述第一存储路径和所述图像处理参数对所述原稿文件进行处理,并生成印刷文件;The processing server processes the manuscript file according to the first storage path and the image processing parameter, and generates a print file;
所述存储所述印刷文件,并将所述印刷文件提供给所述用户业务端,以使所述用户业务端根据所述印刷文件控制打印设备进行打印操作,包括:The storing the printing file and providing the printing file to the user service terminal so that the user service terminal controls the printing device to perform a printing operation according to the printing file includes:
所述存储服务器接收并存储所述处理服务器发送的所述印刷文件;The storage server receives and stores the printed file sent by the processing server;
所述处理服务器将所述印刷文件的第二存储路径发送至所述管理服务器,以使所述管理服务器将所述第二存储路径发送至所述用户业务端,从而使所述用户业务端根据所述第二存储路径获取所述印刷文件,并根据所述印刷文件和所述图像处理参数控制所述打印设备进行打印 操作。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, so that the user service end is based on The second storage path acquires the printing file, and controls the printing device to perform a printing operation according to the printing file and the image processing parameters.
在其他一些实施例中,所述方法还包括:In some other embodiments, the method further includes:
所述管理服务器接收所述处理服务器的执行反馈信息,并根据所述执行反馈信息判断所述处理服务器是否完成所述图像处理任务;The management server receives execution feedback information of the processing server, and determines whether the processing server has completed the image processing task according to the execution feedback information;
若所述处理服务器未完成所述图像处理任务,则重新根据图像处理参数和预设规则将所述图像处理任务发送至对应的处理服务器。If the processing server has not completed the image processing task, it re-sends the image processing task to the corresponding processing server according to the image processing parameters and preset rules.
在其他一些实施例中,所述根据图像处理参数和预设规则将所述图像处理任务发送至对应的处理服务器,包括:In some other embodiments, the sending the image processing task to the corresponding processing server according to the image processing parameters and preset rules includes:
根据所述图像处理参数选择所述图像处理参数对应的处理服务器;Selecting a processing server corresponding to the image processing parameter according to the image processing parameter;
根据所述处理服务器的任务负载进行所述图像处理任务的分配。The image processing task is distributed according to the task load of the processing server.
第二方面,本申请实施例还提供了一种印刷文件生成方法,应用于用户业务端,所述方法包括:In the second aspect, an embodiment of the present application also provides a method for generating a printed file, which is applied to a user service end, and the method includes:
发送原稿文件至服务器,以使所述服务器存储所述原稿文件;Sending the manuscript file to the server, so that the server stores the manuscript file;
发送图像处理任务至所述服务器,以使所述服务器根据所述图像处理任务对所述原稿文件进行处理,并生成印刷文件;Sending an image processing task to the server, so that the server processes the manuscript file according to the image processing task, and generates a printed file;
接收服务器发送的印刷文件,并根据所述印刷文件控制打印设备进行打印操作。Receive the printing file sent by the server, and control the printing device to perform the printing operation according to the printing file.
在其他一些实施例中,所述图像处理任务包括所述原稿文件的第一存储路径和图像处理参数,所述以使所述服务器根据所述图像处理任务对所述原稿文件进行处理,并生成印刷文件,包括:In some other embodiments, the image processing task includes a first storage path of the manuscript file and image processing parameters, and the server is configured to process the manuscript file according to the image processing task and generate Printed documents, including:
根据所述原稿文件的第一存储路径获取所述原稿文件;Acquiring the manuscript file according to the first storage path of the manuscript file;
根据所述图像处理参数对所述原稿文件进行处理,获得印刷文件并存储所述印刷文件。The manuscript file is processed according to the image processing parameters to obtain a printed file and store the printed file.
在其他一些实施例中,所述接收服务器发送的印刷文件,并根据所述印刷文件控制打印设备进行打印操作,包括:In some other embodiments, the receiving the printing file sent by the server and controlling the printing device to perform the printing operation according to the printing file includes:
根据所述印刷文件的第二存储路径获取所述印刷文件;Acquiring the printing file according to the second storage path of the printing file;
根据所述印刷文件和所述图像处理参数控制所述打印设备进行打印操作。The printing device is controlled to perform a printing operation according to the printing file and the image processing parameter.
第三方面,本申请实施例还提供了一种印刷文件生成***,所述印 刷文件生成***包括:In the third aspect, an embodiment of the present application also provides a printed document generation system, and the printed document generation system includes:
存储服务器,所述存储服务器用于存储用户业务端发送的原稿文件和处理服务器发送的印刷文件;A storage server, which is used to store manuscript files sent by the user's service terminal and printed files sent by the processing server;
管理服务器,所述管理服务器用于接收用户业务端发送的图像处理任务,并将所述图像处理任务发送至处理服务器;Management server, the management server is used to receive the image processing task sent by the user service terminal, and send the image processing task to the processing server;
处理服务器,所述处理服务器用于根据所述图像处理任务对所述原稿文件进行处理,从而生成所述印刷文件;A processing server, the processing server is configured to process the manuscript file according to the image processing task, so as to generate the print file;
用户业务端,所述用户业务端用于根据印刷文件控制打印设备进行打印操作。The user service terminal is used to control the printing device to perform printing operations according to the printing file.
在其他一些实施例中,所述图像处理任务包括图像处理参数,所述管理服务器具体用于检查所述图像处理参数,并根据所述图像处理参数和预设规则将所述图像处理任务发送至对应的处理服务器。In some other embodiments, the image processing task includes image processing parameters, and the management server is specifically configured to check the image processing parameters, and send the image processing task to Corresponding processing server.
在其他一些实施例中,所述图像处理任务还包括所述原稿文件的第一存储路径,所述处理服务器包括图像处理任务代理模块和至少一个图像处理引擎,所述图像处理任务代理模块用于将接收到的图像处理任务发配给所述至少一个图像处理引擎中的一个,并根据所述原稿文件的第一存储路径获取所述原稿文件;In some other embodiments, the image processing task further includes a first storage path of the manuscript file, the processing server includes an image processing task proxy module and at least one image processing engine, and the image processing task proxy module is configured to Dispatching the received image processing task to one of the at least one image processing engine, and acquiring the manuscript file according to the first storage path of the manuscript file;
所述至少一个图像处理引擎用于根据所述图像处理参数对所述原稿文件进行处理。The at least one image processing engine is used to process the manuscript file according to the image processing parameter.
在其他一些实施例中,所述用户业务端具体用于根据所述印刷文件的第二存储路径获取所述印刷文件,并根据所述图像处理参数和所述印刷文件控制打印设备进行打印操作。In some other embodiments, the user service terminal is specifically configured to obtain the printing file according to the second storage path of the printing file, and control the printing device to perform the printing operation according to the image processing parameter and the printing 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 has completed the image processing task according to the execution feedback information;
若所述处理服务器没有完成所述图像处理任务,则重新根据所述图像处理参数和预设规则将所述图像处理任务发送至对应的处理服务器。If the processing server does not complete the image processing task, then re-send the image processing task to the corresponding processing server according to the image processing parameters and preset rules.
第四方面,本申请实施例还提供一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,当所述计算机 可执行指令被服务器所执行时,使所述服务器执行上述的印刷文件生成方法。In a fourth aspect, the embodiments of the present application also provide a non-volatile computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a server, The server executes the above-mentioned printing file generation method.
第五方面,本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被机器执行时,使所述机器执行如上所述的方法。In a fifth aspect, the embodiments of the present application also provide a computer program product. The computer program product includes a computer program stored on a non-volatile computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a machine, the machine executes the method described above.
与现有技术相比,本申请的有益效果是:区别于现有技术的情况,本申请实施例中的印刷文件生成方法、***和可读存储介质。在需要进行图像处理时,接收用户业务端发送的原稿文件,并将原稿文件发送至服务器进行存储。存储所述原稿文件后,接收用户业务端发送的图像处理任务,根据接收到的所述图像处理任务对所述存储的原稿文件进行处理,并在处理后生成印刷文件。在需要进行印刷时,将所述处理生成的印刷文件提供至用户业务端,用户业务端在接收到所述印刷文件后,根据印刷文件控制打印设备进行打印操作。通过这种方式,原稿文件直接由服务器进行处理并生成印刷文件,使得打印设备只需要根据印刷文件进行打印操作,从而使打印设备一直处于生产状态,提高生产效率。Compared with the prior art, the beneficial effect of the present application is: different from the prior art, the printed file generation method, system and readable storage medium in the embodiments of the present application are different. When image processing is required, the manuscript file sent by the user's business terminal is received, and the manuscript file is sent to the server for storage. After storing the manuscript file, receiving the image processing task sent by the user service terminal, processing the stored manuscript file according to the received image processing task, and generating a printing file after processing. When printing is required, the printed file generated by the processing is provided to the user service end, and the user service end, after receiving the printed file, controls the printing device to perform the printing operation according to the printed file. In this way, the manuscript file is directly processed by the server and the printing file is generated, so that the printing device only needs to perform printing operations according to the printing file, so that the printing device is always in a production state and the production efficiency is improved.
附图说明Description of the drawings
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplified by the pictures in the corresponding drawings. These exemplified descriptions do not constitute a limitation on the embodiments. The elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the attached drawings do not constitute a scale limitation.
图1是本申请印刷文件生成方法的应用场景图;Figure 1 is an application scenario diagram of the method for generating printed documents of this application;
图2是本申请实施例中应用于服务器的印刷文件生成方法的实施例流程图;2 is a flowchart of an embodiment of a method for generating a printed file applied to a server in an embodiment of the present application;
图3是本申请实施例中用户业务端接收客户印刷业务的结构图;Fig. 3 is a structural diagram of a user service terminal receiving a client printing service in an embodiment of the present application;
图4是本申请实施例中应用于用户业务端的印刷文件生成方法的实 施例流程图;Fig. 4 is a flowchart of an embodiment of a printing file generation method applied to a user service terminal in an embodiment of the present application;
图5是本申请实施例中印刷文件生成***各组件之间的交互图;FIG. 5 is an interaction diagram between various components of the printing file generation system in an embodiment of the present application;
图6是本申请实施例中处理服务器的结构图。Fig. 6 is a structural diagram of a processing server in an embodiment of the present application.
具体实施方式detailed description
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of this application clearer, the following will clearly and completely describe the technical solutions in the embodiments of this application with reference to the drawings in the embodiments of this application. Obviously, the described embodiments These are a part of the embodiments of this application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
需要说明的是,如果不冲突,本申请实施例中的各个特征可以相互结合,均在本申请的保护范围之内。另外,虽然在装置示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置中的模块划分,或流程图中的顺序执行所示出或描述的步骤。再者,本申请所采用的“第一”、“第二”、“第三”等字样并不对数据和执行次序进行限定,仅是对功能和作用基本相同的相同项或相似项进行区分。It should be noted that if there is no conflict, the various features in the embodiments of the present application can be combined with each other, and all are within the protection scope of the present application. In addition, although the functional modules are divided in the schematic diagram of the device, and the logical sequence is shown in the flowchart, in some cases, the module division in the device may be different from the module division in the device, or the sequence shown in the flowchart may be executed. Or the steps described. Furthermore, the words "first", "second" and "third" used in this application do not limit the data and execution order, but only distinguish the same items or similar items with basically the same function and effect.
本申请实施例提供的印刷文件生成方法应用于图1所示的应用场景,所述应用场景1包括用户业务端10、服务器20和至少一个打印设备(例如图1所述的31-34)。其中,所述用户业务端10与所述服务器20通信连接,进行信息交互,例如,通过局域网、广域网、无线网、全球移动通讯***(Global System of Mobile communication,GSM)、第三代移动通信网络、***移动通信网络和第五代移动通信网络等方式通信连接所述服务器20,所述用户业务端可以为具有通信功能的电子设备,例如,台式电脑、笔记本电脑和平板电脑等,所述服务器可以是一台服务器,例如机架式服务器、刀片式服务器、塔式服务器或者机柜式服务器等,也可以是有若干台服务器组成的服务器集群,或者是一个云 计算服务中心,所述打印设备可以是具有打印功能任何打印机,例如,智能数码打印机等。The method for generating a printed file provided by the embodiment of the present application is applied to the application scenario shown in FIG. Wherein, the user service terminal 10 is in communication connection with the server 20 for information exchange, for example, through a local area network, a wide area network, a wireless network, a global system of mobile communication (GSM), and a third-generation mobile communication network , The fourth-generation mobile communication network and the fifth-generation mobile communication network are communicatively connected to the server 20, and the user service end may be an electronic device with communication functions, such as a desktop computer, a notebook computer, a tablet computer, etc. The server can be a server, such as a rack server, a blade server, a tower server or a cabinet server, etc., or a server cluster composed of several servers, or a cloud computing service center. The print The device can be any printer with a printing function, for example, a smart digital printer.
需要说明的是,本申请实施例提供的印刷文件生成方法还可以进一步拓展到其他合适的应用场景中,而不限于图1所述的应用场景。图1示例性的示出了用户业务端10、服务器20和打印设备(例如图1所述的31-34),在实际的应用过程中,该应用场景还可以包括更多的用户业务端、服务器和打印设备。It should be noted that the printing file generation method provided in the embodiments of the present application can be further extended to other suitable application scenarios, and is not limited to the application scenario described in FIG. 1. Figure 1 exemplarily shows a user service terminal 10, a server 20, and a printing device (such as 31-34 described in Figure 1). In an actual application process, the application scenario may also include more user service terminals, Server and printing equipment.
如图2所示,本申请实施例提供了一种印刷文件生成方法,应用于服务器,所述方法包括:As shown in FIG. 2, an embodiment of the present application provides a method for generating a printed file, which is applied to a server, and the method includes:
步骤S201,接收并存储用户业务端发送的原稿文件。Step S201: Receive and store the manuscript file sent by the user service terminal.
当需要对原稿文件进行处理时,用户通过用户业务端会先向服务器发送用于打印的原稿文件,服务器在接收到用户业务端发送的原稿文件后,存储所述原稿文件。通过将所述原稿文件存储在服务器,不需要占用打印设备的空间,同时原稿文件无需传输到生产现场,可以防止原稿文件泄露,有利于版权的保护。在其他一些实施例中,如图3所示,用户业务端10在发送所述原稿文件至服务器前,需要先获取客户需要进行印刷的原稿文件,其中,客户可以通过无线、有线和U盘拷贝等方式与所述用户业务端建立通信,在建立连接后,客户可以向用户业务端发送所述原稿文件。当需要打印的客户人数较多时,所述用户业务端可以同时接收不同客户的打印业务,例如,同个用户业务端10可以同时接收客户1、客户2、客户3和客户4发送的原稿文件,并在接收到多个用户发送的多个原稿文件后,将所述多个原稿文件发送至服务器。When the manuscript file needs to be processed, the user first sends the manuscript file for printing to the server through the user service end, and the server stores the manuscript file after receiving the manuscript file sent by the user service end. By storing the manuscript file in the server, it does not need to occupy the space of the printing device, and the manuscript file does not need to be transmitted to the production site, which can prevent the manuscript file from leaking, which is beneficial to the protection of copyright. In some other embodiments, as shown in FIG. 3, before sending the manuscript file to the server, the user service terminal 10 needs to obtain the manuscript file that the client needs to print. Among them, the client can copy the manuscript file via wireless, wired, and U disk. Establish communication with the user service terminal in a similar manner, and after the connection is established, the client can send the manuscript file to the user service terminal. When there are a large number of customers who need to print, the user service terminal can receive printing services from different customers at the same time. For example, the same user service terminal 10 can simultaneously receive original documents sent by client 1, client 2, client 3, and client 4. And after receiving a plurality of manuscript files sent by a plurality of users, the plurality of manuscript files are sent to the server.
在其他一些实例中,为了区分多个原稿文件,用户在将所述原稿文件发送至服务器前,会给所述原稿文件命名,例如,当前用户业务端的使用用户的用户ID为张三,则在所述原稿文件前面加上一个张三作为前缀,由于用户ID具有唯一性,因此,所述原稿文件也具有唯一性。In some other instances, in order to distinguish multiple manuscript files, the user will name the manuscript files before sending the manuscript files to the server. For example, if the user ID of the current user service terminal is Zhang San, then The manuscript file is prefixed with a Zhangsan, and since the user ID is unique, the manuscript file is also unique.
步骤S202,获取用户业务端发送的图像处理任务,根据所述图像处理任务对所述原稿文件进行处理,并生成印刷文件。Step S202: Obtain the image processing task sent by the user service terminal, process the manuscript file according to the image processing task, and generate a printed file.
由于在打印前,需要先将所述原稿文件进行图像处理,将所述原稿 文件转化为打印设备可以直接进行生产的印刷文件,例如,进行光栅图像处理转化为打印设备能够直接打印的光栅或点阵文件等。用户业务端在将所述原稿文件发送至服务器后,会向服务器发送一个图像处理任务,从而告诉服务器怎样去处理这个原稿文件,使得所述原稿文件在处理后可以直接被打印设备识别进行生产,例如,当前用户业务端发送一个需要特定分辨率的图像处理任务,服务器在接收到用户业务端发送的所述图像处理任务后,根据所述特定分辨率对所述原稿文件进行处理,并在处理成功后,生成对应的印刷文件。Before printing, the manuscript file needs to be image-processed, and the manuscript file is converted into a printing file that can be directly produced by the printing device. For example, raster image processing is converted into a raster or dot that the printing device can directly print. Array files, etc. After sending the manuscript file to the server, the user business end will send an image processing task to the server to tell the server how to process the manuscript file, so that the manuscript file can be directly recognized by the printing device for production after processing. For example, the current user service end sends an image processing task that requires a specific resolution. After receiving the image processing task sent by the user service end, the server processes the manuscript file according to the specific resolution, and then processes it. After success, the corresponding printed file is generated.
步骤S203,存储所述印刷文件,并将所述印刷文件提供给所述用户业务端,以使所述用户业务端根据所述印刷文件控制打印设备进行打印操作。Step S203, storing the printing file, and providing the printing file to the user service terminal, so that the user service terminal controls the printing device to perform a printing operation according to the printing file.
服务器在生成所述印刷文件后,将所述印刷文件进行存储,当所述用户业务端需要用到所述印刷文件时,服务器将所述印刷文件发送至用户业务端,用户业务端在接收到所述印刷文件后,根据所述印刷文件控制空闲或打印任务少的打印设备进行打印操作。After the server generates the print file, it stores the print file. When the user service end needs to use the print file, the server sends the print file to the user service end, and the user service end receives it. After the document is printed, a printing device that is idle or has few printing tasks is controlled to perform a printing operation according to the printed document.
在其他一些实施例中,当所述服务器存储好所述印刷文件后,所述服务器会向所述用户业务端反馈一个存储路径。当所述用户业务端需要用到所述印刷文件时,根据所述存储路径查访问服务器,并根据所述存储路径获取所述印刷文件,并根据所述印刷文件控制空闲的打印设备进行打印操作。In some other embodiments, after the server has stored the printed file, the server will feed back a storage path to the user service terminal. When the user service terminal needs to use the print file, it checks the access server according to the storage path, obtains the print file according to the storage path, and controls the idle printing device to perform the printing operation according to the print file .
在其他一些实施例中,所述服务器包括存储服务器、管理服务器和处理服务器,当用户需要对原稿文件进行图像处理时,通过用户业务端将所述原稿文件发送至存储服务器,所述存储服务器在接收到所述原稿文件后,将所述原稿文件进行存储。In some other embodiments, the server includes a storage server, a management server, and a processing server. When a user needs to perform image processing on a manuscript file, the manuscript file is sent to the storage server through the user service terminal, and the storage server is in After receiving the manuscript file, the manuscript file is stored.
在所述存储服务器存储完所述原稿文件后,用户需要对所述原稿文件进行处理,因此,用户可以通过用户业务端向管理服务器发送一个图像处理任务,所述图像管理任务包括存储所述原稿文件的第一存储路径和图像处理参数。因为每个原稿文件并不都是按照相同的打印格式进行打印的,所以在对原稿文件进行处理时,用户需要告诉管理服务器这个 原稿文件的图像处理参数。After the storage server has stored the manuscript file, the user needs to process the manuscript file. Therefore, the user can send an image processing task to the management server through the user service terminal, and the image management task includes storing the manuscript The first storage path of the file and the image processing parameters. Because each manuscript file is not printed in the same printing format, when processing the manuscript file, the user needs to tell the management server the image processing parameters of the manuscript file.
在其他一些实例中,由于不同的处理服务器可以处理不同的原稿文件,因此,管理服务器在接收到所述图像处理任务后,会根据所述图像处理参数和预设规则选择对应的处理服务器对所述原稿文件进行处理。首先,管理服务器在接收到图像处理任务后,根据所述图像处理任务中的图像处理参数查找能够根据所述图像处理参数处理所述原稿文件的所有处理服务器,例如,所述图像处理参数包括印刷尺寸、旋转角度和图像色彩等。当所述图像处理参数为需要特定的图像色彩时,则管理服务器会根据所述特定的图像色彩选择能够处理这种特定的图像色彩的所有处理服务器,在查找完处理服务器后,则根据预设的规则选择这些处理服务器中的一个,例如,根据处理服务器当前的任务负载,因为印刷业务量比较大时,每个处理服务器需要进行的图像处理任务并不止一个,因此,管理服务器在分配图像处理任务时,优先选择负载比较少的处理服务器进行处理。In some other instances, since different processing servers can process different manuscript files, the management server will select the corresponding processing server for all the documents based on the image processing parameters and preset rules after receiving the image processing task. The manuscript file is processed. First, after receiving the image processing task, the management server searches for all processing servers capable of processing the manuscript file according to the image processing parameters according to the image processing parameters in the image processing task. For example, the image processing parameters include printing. Size, rotation angle and image color, etc. When the image processing parameter requires a specific image color, the management server will select all processing servers capable of processing this specific image color according to the specific image color, and after searching for the processing server, it will be based on the preset According to the rules of selecting one of these processing servers, for example, according to the current task load of the processing server, because when the printing business volume is relatively large, each processing server needs to perform more than one image processing task. Therefore, the management server is allocating image processing When tasking, preferentially select a processing server with less load for processing.
在其他一些实例中,会给处理服务器设置等级,等级越高,处理的图像处理任务就越紧急。因此,当所述图像处理任务比较紧急时,还可以根据预先设置的图像处理任务的等级进行匹配对应的处理服务器,从而使得紧急的任务能够得到优先处理,不需要排队。In some other instances, a level is set for the processing server. The higher the level, the more urgent the image processing task to be processed. Therefore, when the image processing task is relatively urgent, the corresponding processing server can also be matched according to the preset image processing task level, so that the urgent task can be processed preferentially without queuing.
在选择完处理服务器后,管理服务器会将图像处理参数和所述原稿文件的第一存储路径发送至选择的处理服务器,处理服务器在接收到所述原稿文件的第一存储路径和图像处理参数后,根据所述原稿文件的第一存储路径从所述存储服务器获取所述原稿文件,并根据所述图像处理参数对所述原稿文件进行处理,在处理服务器根据所述图像处理参数对所述原稿文件完成处理后,生成印刷文件。After selecting the processing server, the management server will send the image processing parameters and the first storage path of the manuscript file to the selected processing server, and the processing server will receive the first storage path and image processing parameters of the manuscript file , Acquiring the manuscript file from the storage server according to the first storage path of the manuscript file, and processing the manuscript file according to the image processing parameters, and processing the manuscript file according to the image processing parameters on the processing server After the file is processed, a printed file is generated.
管理服务器在生成所述印刷文件后,将所述印刷文件发送至存储服务器进行存储,并在所述印刷文件存储后,处理服务器会向管理服务器发送一个反馈信息,告诉所述管理服务器,所述原稿文件已经处理成功和处理完成的印刷文件的第二存储路径。管理服务器在接收到处理服务器发送的反馈信息,并确定所述原稿文件已经处理完成后,将所述印刷 文件的第二存储路径发送至用户业务端。用户业务端在接收到印刷文件的第二存储路径后,根据所述第二存储路径获取所述印刷文件,在需要进行打印时,根据所述印刷文件控制空闲或打印任务少的打印设备进行打印操作。After the management server generates the print file, it sends the print file to the storage server for storage, and after the print file is stored, the processing server sends a feedback message to the management server, telling the management server that the The manuscript file has been processed successfully and the second storage path of the printed file that has been processed. After receiving the feedback information sent by the processing server and determining that the manuscript file has been processed, the management server sends the second storage path of the printed file to the user service terminal. After receiving the second storage path of the printing file, the user service terminal obtains the printing file according to the second storage path, and when printing is required, controls the idle or printing device with few printing tasks to print according to the printing file operate.
在其他一些实施例中,由于处理服务器在处理图像处理任务时,可能存在故障等原因而无法完成管理服务器分配的图像处理任务,因此,管理服务器需要实时检测处理服务器的图像处理任务的进程,防止因此处理器出现故障而延误印刷进程。处理服务器在处理图像处理任务的过程中,会将实时向管理服务器发送执行反馈信息,管理服务器接收到执行反馈信息后,根据执行反馈信息判断处理服务器能否处理好所述图像处理任务。例如,管理服务器接收到处理服务器的执行反馈信息为当前图像处理任务的处理进度为30%,一段时间后,如果接收到执行反馈信息的处理进度大于30%,则认为所述处理服务器能够继续完成所述图像处理任务,如果接收到处理服务器的执行反馈信息还是当前处理任务的处理进度为30%,则认为所述处理服务器出现故障,无法完成所述图像处理任务,上述步骤不断刷新进行判断。In some other embodiments, the processing server may not be able to complete the image processing tasks assigned by the management server due to failures and other reasons when the processing server is processing the image processing tasks. Therefore, the management server needs to detect the progress of the image processing tasks of the processing server in real time to prevent Therefore, the processor malfunctioned and delayed the printing process. In the process of processing the image processing task, the processing server will send execution feedback information to the management server in real time. After receiving the execution feedback information, the management server judges whether the processing server can handle the image processing task well according to the execution feedback information. For example, the management server receives the execution feedback information of the processing server that the processing progress of the current image processing task is 30%. After a period of time, if the processing progress of the execution feedback information is greater than 30%, it is considered that the processing server can continue to complete For the image processing task, if the execution feedback information of the processing server is received or the processing progress of the current processing task is 30%, then the processing server is considered to be faulty and the image processing task cannot be completed, and the above steps are continuously refreshed for judgment.
当管理服务器判断所述处理服务器无法完成所述图像处理任务时,则需要对所述图像处理任务进行重新分配,此时,管理服务会根据所述图像处理任务中的图像处理参数重新查找能够根据所述图像处理参数处理所述图像处理任务的处理服务器,这里的处理服务器不包括管理服务器判断无法完成所述图像处理任务的处理服务器,在重新选择后,根据这些所选择的处理服务器的任务负载选择一个负载比较轻的处理服务器进行处理。如果管理服务器判断所述处理服务器能够完成所述图像处理任务,则不对所述图像处理任务进行重新分配。When the management server determines that the processing server cannot complete the image processing task, it needs to reallocate the image processing task. At this time, the management service will re-search the image processing parameters based on the image processing task. The image processing parameter processes the processing server of the image processing task. The processing server here does not include the processing server that the management server determines that the image processing task cannot be completed. After reselection, the task load of the selected processing server is Choose a processing server with a lighter load for processing. If the management server determines that the processing server can complete the image processing task, it does not redistribute the image processing task.
在其他一些实施例中,为了使得在业务量大的时候,处理服务器能够顺利处理完这些业务,所述管理服务器在判断所述处理服务器无法完成所述图像处理任务时,则说明所述处理服务器出现故障,管理服务器会向管理人员发送一个故障信息,从而使管理人员及时查找并维护所述处理服务器的故障,从而使得处理服务器能够正常工作,顺利完成任务。In some other embodiments, in order to enable the processing server to successfully process these services when the business volume is large, when the management server determines that the processing server cannot complete the image processing task, the processing server is described When a fault occurs, the management server will send a fault message to the management personnel, so that the management personnel can find and maintain the fault of the processing server in time, so that the processing server can work normally and complete the task smoothly.
本申请实施例的有益效果在于,通过用户业务端将原稿文件发送至存储服务器进行存储,由于原稿文件需要经过图像处理才能转化为打印设备能够识别的印刷文件,因此,在所述存储服务器存储所述原稿文件后,用户业务端向所述管理服务器发送所述原稿文件的图像处理任务,所述图像处理任务包括图像处理参数和所述原稿文件的第一存储路径,管理服务器在接收到所述图像处理参数和所述原稿文件的第一存储路径后,根据所述图像处理参数找到能够根据所述图像处理参数处理所述图像处理任务的所有处理服务器,然后根据预设规则选择所述处理服务器中的一个,在选择后,将所述图像处理任务发送至选择的处理服务器,以使所述处理服务器处理所述图像处理任务。处理服务器在处理完成所述图像处理任务后,将生成的印刷文件发送至存储服务器,以使所述存储服务器存储所述印刷文件,并将所述印刷文件的第二存储路径发送至管理服务器,管理服务器在确认所述处理服务器完成所述图像处理任务后,将所述印刷文件的第二存储路径发送至所述用户业务端。当用户需要进行打印时,用户业务端根据接收到的印刷文件的第二存储路径获取所述印刷文件,再根据所述印刷文件控制打印设备进行打印操作。通过这种方式,原稿文件直接由服务器进行处理并生成印刷文件,使得打印设备只需要根据印刷文件进行打印操作,从而使打印设备一直处于生产状态,提高生产效率。这里多台打印设备可以共享服务器,存储服务器、管理服务器、处理服务器之间相互协调对任务进行处理,减少打印设备的工作量和印刷前准备时间,服务器的利用率得到提高,成本减少。设计原稿只存储在存储服务器中,不会直接给的生产现场,有利于比避免生产现场环境和人员复杂引起的版权泄露问题,有利于版权的保护。The beneficial effect of the embodiments of the present application is that the manuscript file is sent to the storage server for storage through the user service terminal. Since the manuscript file needs to undergo image processing to be converted into a printing file that can be recognized by the printing device, the storage server stores the original file in the storage server. After the manuscript file is described, the user service terminal sends the image processing task of the manuscript file to the management server. The image processing task includes image processing parameters and the first storage path of the manuscript file. After the image processing parameters and the first storage path of the manuscript file, find all processing servers capable of processing the image processing task according to the image processing parameters according to the image processing parameters, and then select the processing servers according to preset rules In one of them, after selection, the image processing task is sent to the selected processing server, so that the processing server can process the image processing task. After processing the image processing task, the processing server sends the generated print file to the storage server, so that the storage server stores the print file, and sends the second storage path of the print file to the management server, After confirming that the processing server completes the image processing task, the management server sends the second storage path of the printed file to the user service terminal. When the user needs to print, the user service terminal obtains the printing file according to the second storage path of the received printing file, and then controls the printing device to perform the printing operation according to the printing file. In this way, the manuscript file is directly processed by the server and the printing file is generated, so that the printing device only needs to perform printing operations according to the printing file, so that the printing device is always in a production state and the production efficiency is improved. Here, multiple printing devices can share the server, and the storage server, management server, and processing server coordinate with each other to process tasks, reducing the workload of the printing device and the preparation time before printing, the utilization rate of the server is improved, and the cost is reduced. The design manuscript is only stored in the storage server and will not be directly given to the production site, which is beneficial to avoiding copyright leakage problems caused by the complexity of the production site environment and personnel, and is beneficial to copyright protection.
如图4所示,本申请实施例还提供了一种印刷文件生成方法,应用于用户业务端,所述方法包括:As shown in Figure 4, an embodiment of the present application also provides a method for generating a printed file, which is applied to a user service end, and the method includes:
步骤S401,发送原稿文件至服务器,以使所述服务器存储所述原稿文件。Step S401: Send a manuscript file to a server, so that the server stores the manuscript file.
当需要对原稿文件进行处理时,用户通过用户业务端会先向服务器发送用于打印的原稿文件,服务器在接收到用户业务端发送的原稿文件 后,存储所述原稿文件。通过将所述原稿文件存储在服务器,不需要占用打印设备的空间,同时原稿文件无需传输到生产现场,可以防止原稿文件泄露。When the manuscript file needs to be processed, the user first sends the manuscript file for printing to the server through the user service end, and the server stores the manuscript file after receiving the manuscript file sent by the user service end. By storing the manuscript file in the server, the space of the printing device does not need to be occupied, and the manuscript file does not need to be transmitted to the production site, which can prevent the manuscript file from leaking.
步骤S402,发送图像处理任务至所述服务器,以使所述服务器根据所述图像处理任务对所述原稿文件进行处理,并生成印刷文件。Step S402: Send an image processing task to the server, so that the server processes the manuscript file according to the image processing task, and generates a printed file.
由于在打印时,需要先将所述原稿文件经过图像处理,将所述原稿文件转化为打印设备可以直接进行生产的印刷文件,例如,进行光栅图像处理转化为打印设备能够直接打印的光栅或点阵文件等。用户业务端在将所述原稿文件发送至服务器后,会向服务器发送一个图像处理任务,从而告诉服务器怎样去处理这个原稿文件,使得所述原稿文件在处理后可以直接被打印设备识别进行生产,例如,当前用户业务端发送一个需要特定分辨率的图像处理任务,服务器在接收到用户业务端发送的所述图像处理任务后,根据所述特定分辨率对所述原稿文件进行处理,并在处理成功后,生成对应的印刷文件。When printing, the manuscript file needs to be image-processed first, and the manuscript file is converted into a printing file that can be directly produced by the printing device. For example, raster image processing is converted into a raster or dot that the printing device can directly print. Array files, etc. After sending the manuscript file to the server, the user business end will send an image processing task to the server to tell the server how to process the manuscript file, so that the manuscript file can be directly recognized by the printing device for production after processing. For example, the current user service end sends an image processing task that requires a specific resolution. After receiving the image processing task sent by the user service end, the server processes the manuscript file according to the specific resolution, and then processes it. After success, the corresponding printed file is generated.
在其他一些实施例中,所述服务器包括存储服务器、管理服务器和处理服务器,在所述存储服务器存储完所述原稿文件后,用户需要对所述原稿文件进行处理,因此,用户可以通过用户业务端向管理服务器发送一个图像处理任务,所述图像管理任务包括存储所述原稿文件的第一存储路径和图像处理参数。管理服务器在接收到图像处理任务后,根据所述图像处理任务中的图像处理参数查找能够根据所述图像处理参数处理所述原稿文件的所有处理服务器,例如,所述图像处理参数包括印刷尺寸、旋转角度和图像色彩等。当所述图像处理参数为需要特定的图像色彩时,则管理服务器会根据所述特定的图像色彩查找能够处理这种特定的图像色彩的所有处理服务器。在选择完处理服务器后,则根据预设的规则选择这些处理服务器中的一个,例如,根据处理服务器当前的任务负载,因为印刷业务量比较大时,每个处理服务器需要进行的图像处理任务并不止一个,因此,管理任务在分配图像处理任务时,优先选择负载比较少的处理服务器进行处理。In some other embodiments, the server includes a storage server, a management server, and a processing server. After the storage server has stored the manuscript file, the user needs to process the manuscript file. Therefore, the user can use the user service The terminal sends an image processing task to the management server, and the image management task includes a first storage path for storing the manuscript file and image processing parameters. After receiving the image processing task, the management server searches for all processing servers capable of processing the manuscript file according to the image processing parameters according to the image processing parameters in the image processing task. For example, the image processing parameters include printing size, Rotation angle and image color, etc. When the image processing parameter requires a specific image color, the management server will search for all processing servers capable of processing the specific image color according to the specific image color. After selecting the processing server, select one of these processing servers according to preset rules, for example, according to the current task load of the processing server, because when the printing business volume is relatively large, the image processing tasks that each processing server needs to perform are combined. There is more than one. Therefore, when the management task allocates image processing tasks, the processing server with less load is preferentially selected for processing.
在其他一些实例中,会给处理服务器设置等级,等级越高,处理的 图像处理任务就越紧急。因此,当所述图像处理任务比较紧急时,还可以根据预先设置的图像处理任务的等级进行匹配对应的处理服务器,从而使得紧急的任务能够得到优先处理,不需要排队。In some other instances, a level is set for the processing server. The higher the level, the more urgent the image processing task to be processed. Therefore, when the image processing task is relatively urgent, the corresponding processing server can also be matched according to the preset image processing task level, so that the urgent task can be processed preferentially without queuing.
在选择完处理服务器后,管理服务器会将图像处理参数和所述原稿文件的第一存储路径发送至选择的处理服务器,处理服务器在接收到所述原稿文件的第一存储路径和图像处理参数后,根据所述原稿文件的第一存储路径从所述存储服务器获取所述原稿文件,并根据所述图像处理参数对所述原稿文件进行处理,在处理服务器根据所述图像处理参数对所述原稿文件完成处理后,生成印刷文件。After selecting the processing server, the management server will send the image processing parameters and the first storage path of the manuscript file to the selected processing server, and the processing server will receive the first storage path and image processing parameters of the manuscript file , Acquiring the manuscript file from the storage server according to the first storage path of the manuscript file, and processing the manuscript file according to the image processing parameters, and processing the manuscript file according to the image processing parameters on the processing server After the file is processed, a printed file is generated.
步骤S403,接收服务器发送的印刷文件,并根据所述印刷文件控制打印设备进行打印操作。Step S403: Receive the printing file sent by the server, and control the printing device to perform the printing operation according to the printing file.
服务器在生成所述印刷文件后,将所述印刷文件进行存储,当所述用户业务端需要用到所述印刷文件时,服务器将所述印刷文件发送至用户业务端,用户业务端在接收到所述印刷文件后,根据所述印刷文件控制空闲或任务少的打印设备进行打印操作。After the server generates the print file, it stores the print file. When the user service end needs to use the print file, the server sends the print file to the user service end, and the user service end receives it. After the document is printed, an idle or less-task printing device is controlled to perform a printing operation according to the printed document.
在其他一些实施例中,处理服务器在生成所述印刷文件后,将所述印刷文件发送至存储服务器进行存储,并在所述印刷文件存储后,处理服务器会向管理服务器发送一个反馈信息,告诉所述管理服务器,所述原稿文件已经处理成功和处理完成的印刷文件的第二存储路径。管理服务器在接收到处理服务器发送的反馈信息,并确定所述原稿文件已经处理完成后,将所述印刷文件的第二存储路径发送至用户业务端。用户业务端在接收到印刷文件的第二存储路径后,根据所述第二存储路径获取所述印刷文件,在需要进行打印时,根据所述印刷文件控制空闲或任务少的打印设备进行打印操作。In some other embodiments, after the processing server generates the printed file, it sends the printed file to the storage server for storage, and after the printed file is stored, the processing server sends a feedback message to the management server to tell In the management server, the second storage path of the printed file for which the manuscript file has been processed successfully and the processing has been completed. After receiving the feedback information sent by the processing server and determining that the manuscript file has been processed, the management server sends the second storage path of the printed file to the user service terminal. After receiving the second storage path of the printing file, the user service terminal obtains the printing file according to the second storage path, and when printing is required, controls the idle or less-tasking printing device to perform the printing operation according to the printing file .
本申请实施例的有益效果在于,用户业务端通过将原稿文件发送至存储服务器,存储服务器在接收到原稿文件后,存储所述原稿文件。用户业务端向管理服务器发送一个图像处理任务,所述图像处理任务包括所述原稿文件的第一存储路径和图像处理参数,管理服务器接收到所述图像处理任务后,根据所述图像处理参数查找能够根据所述图像处理参 数处理所述图像处理任务的所有处理服务器,然后根据这些处理服务器的任务负载选择其中一个处理服务器进行处理所述图像处理任务。处理服务器接收到所述图像处理任务后,根据所述原稿文件的第一存储路径获取所述原稿文件,并根据所述图像处理参数对所述原稿文件进行处理,并生成印刷文件。处理服务器将所述印刷文件发送至存储服务器进行存储,并将所述印刷文件的第二存储路径反馈给管理服务器,管理服务器接收到所述第二存储路径并确定所述处理服务器完成所述图像处理任务后,将所述印刷文件的第二存储路径发送至用户业务端,用户业务端在需要进行打印时,根据所述印刷文件的第二存储路径获取所述印刷文件,并根据所述印刷文件控制打印设备进行打印操作。通过这种方式,原稿文件直接由服务器进行处理并生成印刷文件,使得打印设备只需要根据印刷文件进行打印操作,从而使打印设备一直处于生产状态,提高生产效率。The beneficial effect of the embodiment of the present application is that the user service terminal sends the manuscript file to the storage server, and the storage server stores the manuscript file after receiving the manuscript file. The user service terminal sends an image processing task to the management server. The image processing task includes the first storage path of the manuscript file and image processing parameters. After receiving the image processing task, the management server searches based on the image processing parameters. All processing servers capable of processing the image processing task according to the image processing parameters, and then selecting one of the processing servers to process the image processing task according to the task load of these processing servers. After receiving the image processing task, the processing server acquires the manuscript file according to the first storage path of the manuscript file, processes the manuscript file according to the image processing parameters, and generates a print file. The processing server sends the print file to the storage server for storage, and feeds back the second storage path of the print file to the management server. The management server receives the second storage path and determines that the processing server completes the image After the task is processed, the second storage path of the printing file is sent to the user service end. When the user service end needs to print, the printing file is obtained according to the second storage path of the printing file, and according to the printing The file controls the printing device to perform printing operations. In this way, the manuscript file is directly processed by the server and the printing file is generated, so that the printing device only needs to perform printing operations according to the printing file, so that the printing device is always in a production state and the production efficiency is improved.
本申请实施例还提供了一种印刷文件生成***,请参照图5,为所述印刷文件生成***各组件之间的交互图,所述印刷文件生成***包括存储服务器110、管理服务器120、处理服务器130和用户业务端10。其中,所述存储服务器110用于存储用户业务端发送的原稿文件和处理服务器发送的印刷文件,所述管理服务器120用于接收用户业务端发送的图像处理任务,并将所述图像处理任务发送至处理服务器130,所述处理服务器130用于根据所述图像处理任务对所述原稿文件进行处理,从而生成所述印刷文件,所述用户业务端10用于根据印刷文件控制打印设备进行打印操作,The embodiment of the present application also provides a printed document generation system. Please refer to FIG. 5, which is an interaction diagram between the components of the printed document generation system. The printed document generation system includes a storage server 110, a management server 120, and processing The server 130 and the user service terminal 10. Wherein, the storage server 110 is used to store manuscript files sent by the user's business end and printed files sent by the processing server, and the management server 120 is used to receive image processing tasks sent by the user's business end, and send the image processing tasks. To the processing server 130, the processing server 130 is configured to process the manuscript file according to the image processing task to generate the printing file, and the user service terminal 10 is configured to control the printing device to perform the printing operation according to the printing file ,
在其他一些实施例中,在存储服务器110存储完原稿文件后,用户业务端10会向管理服务器120发送一个图像处理任务,所述图像处理任务包括图像处理参数,管理服务器120在接收到所述图像处理任务后,会根据所述图像处理参数和预设规则选择对应的处理服务器130对所述原稿文件进行处理。首先,管理服务器120在接收到图像处理任务后,根据所述图像处理任务中的图像处理参数查找能够根据所述图像处理参数处理所述原稿文件的所有处理服务器130,例如,所述图像处理参 数包括印刷尺寸、旋转角度和图像色彩等。当所述图像处理参数为需要特定的图像色彩时,则管理服务器120会根据所述特定的图像色彩选择能够处理这种特定的图像色彩的所有处理服务器130,在查找完处理服务器后,则根据预设的规则选择这些处理服务器130中的一个,例如,根据处理服务器130当前的任务负载,因为印刷业务量比较大时,每个处理服务器130需要进行的图像处理任务并不止一个,因此,管理服务器120在分配图像处理任务时,优先选择负载比较少的处理服务器130进行处理。In some other embodiments, after the storage server 110 finishes storing the manuscript file, the user service terminal 10 sends an image processing task to the management server 120. The image processing task includes image processing parameters, and the management server 120 receives the image processing task. After the image processing task, the corresponding processing server 130 is selected to process the manuscript file according to the image processing parameters and preset rules. First, after receiving the image processing task, the management server 120 searches for all processing servers 130 capable of processing the manuscript file according to the image processing parameters according to the image processing parameters in the image processing task, for example, the image processing parameters Including printing size, rotation angle and image color. When the image processing parameter requires a specific image color, the management server 120 will select all processing servers 130 capable of processing this specific image color according to the specific image color. After searching for the processing server, it will The preset rules select one of these processing servers 130, for example, according to the current task load of the processing server 130, because when the printing business volume is relatively large, each processing server 130 needs to perform more than one image processing task. Therefore, the management When the server 120 allocates image processing tasks, it preferentially selects a processing server 130 with a relatively small load for processing.
在其他一些实施例中,如图6所述,所述处理服务器130包括图像处理任务代理模块131和至少一个图像处理引擎(例如图6中的132-135),所述图像处理任务还包括所述原稿文件的第一存储路径,在选择完处理服务器130后,管理服务器120会将图像处理参数和所述原稿文件的第一存储路径发送至选择的处理服务器的图像处理任务代理模块131,所述图像处理任务代理模块131在接收到所述原稿文件的第一存储路径和图像处理参数后,根据所述至少一个图像处理引擎的工作状态选择一个空闲或任务少的的图像处理引擎,在选择图像处理引擎后,根据所述原稿文件的第一存储路径从所述存储服务器110获取所述原稿文件,并将所述原稿文件和图像处理参数发送至所述图像处理引擎,从而使所述图像处理引擎根据所述图像处理参数对所述原稿文件进行处理,在处理服务器130的所述图像处理引擎根据所述图像处理参数对所述原稿文件完成处理后,生成印刷文件。其中不同图像处理引擎可以并发执行处理,可以大大提高处理能力,提升效率。In some other embodiments, as shown in FIG. 6, the processing server 130 includes an image processing task proxy module 131 and at least one image processing engine (for example, 132-135 in FIG. 6), and the image processing task also includes all image processing tasks. The first storage path of the manuscript file, after the processing server 130 is selected, the management server 120 will send the image processing parameters and the first storage path of the manuscript file to the image processing task agent module 131 of the selected processing server, so The image processing task agent module 131, after receiving the first storage path and image processing parameters of the manuscript file, selects an idle or less tasked image processing engine according to the working status of the at least one image processing engine, and then selects After the image processing engine, it obtains the manuscript file from the storage server 110 according to the first storage path of the manuscript file, and sends the manuscript file and image processing parameters to the image processing engine, so that the image The processing engine processes the manuscript file according to the image processing parameters, and after the image processing engine of the processing server 130 finishes processing the manuscript file according to the image processing parameters, a print file is generated. Among them, different image processing engines can execute processing concurrently, which can greatly improve processing capabilities and efficiency.
在其他一些实施例中,图像处理引擎在生成所述印刷文件后,将所述印刷文件发送至图像处理任务代理模块131,从而使所述图像处理任务代理模块131将所述印刷文件发送至存储服务器110进行存储。在所述印刷文件存储后,图像处理任务代理模块131会向管理服务器120发送一个反馈信息,告诉所述管理服务器120,所述原稿文件已经处理成功和处理完成的印刷文件的第二存储路径。管理服务器120在接收到图像处理任务代理模块131发送的反馈信息,并确定所述原稿文件已经处 理完成后,将所述印刷文件的第二存储路径发送至用户业务端10。用户业务端10在接收到印刷文件的第二存储路径后,根据所述第二存储路径获取所述印刷文件,在需要进行打印时,根据所述印刷文件控制空闲或任务少的打印设备进行打印操作。In some other embodiments, after the image processing engine generates the print file, it sends the print file to the image processing task agent module 131, so that the image processing task agent module 131 sends the print file to the storage. The server 110 performs storage. After the print file is stored, the image processing task agent module 131 will send a feedback message to the management server 120 to inform the management server 120 that the manuscript file has been processed successfully 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 manuscript file has been processed, the management server 120 sends the second storage path of the printed file to the user service terminal 10. After receiving the second storage path of the printing file, the user service terminal 10 obtains the printing file according to the second storage path, and when printing is required, controls the idle or less-tasking printing device to print according to the printing file. operate.
在其他一些实施例中,由于处理服务器130在处理图像处理任务时,可能存在故障等原因而无法完成管理服务器120分配的图像处理任务,因此,管理服务器120需要实时检测处理服务器130的图像处理任务的进程,防止因此处理器出现故障而延误印刷进程。处理服务器130在处理图像处理任务的过程中,会将实时向管理服务器发送执行反馈信息,管理服务器120接收到执行反馈信息后,根据执行反馈信息判断处理服务器130能否处理好所述图像处理任务。例如,管理服务器120接收到处理服务器130的执行反馈信息为当前图像处理任务的处理进度为30%,一段时间后,如果接收到执行反馈信息的处理进度大于30%,则认为所述处理服务器130能够继续完成所述图像处理任务,如果接收到处理服务器130的执行反馈信息还是当前处理任务的处理进度为30%,则认为所述处理服务器130出现故障,无法完成所述图像处理任务,上述步骤不断刷新进行判断。In some other embodiments, the processing server 130 may be unable to complete the image processing tasks assigned by the management server 120 due to failures and other reasons when processing image processing tasks. Therefore, the management server 120 needs to detect the image processing tasks of the processing server 130 in real time. To prevent delays in the printing process due to processor failure. In the process of processing the image processing task, the processing server 130 will send execution feedback information to the management server in real time. After receiving the execution feedback information, the management server 120 judges whether the processing server 130 can handle the image processing task well according to the execution feedback information. . For example, the management server 120 receives the execution feedback information from the processing server 130 that the processing progress of the current image processing task is 30%. After a period of time, if the processing progress of the execution feedback information is greater than 30%, the processing server 130 is considered The image processing task can continue to be completed. If the execution feedback information of the processing server 130 is received or the processing progress of the current processing task is 30%, it is considered that the processing server 130 is faulty and the image processing task cannot be completed. The above steps Constantly refresh to judge.
当管理服务器120判断所述处理服务器130无法完成所述图像处理任务时,则需要对所述图像处理任务进行重新分配,此时,管理服务器120会根据所述图像处理任务中的图像处理参数重新查找能够根据所述图像处理参数处理所述图像处理任务的处理服务器130,这里的处理服务器130不包括管理服务器120判断无法完成所述图像处理任务的处理服务器130,在重新选择后,根据这些所选择的处理服务器130的任务负载选择一个负载比较轻的处理服务器130进行处理。如果管理服务器120判断所述处理服务器能够完成所述图像处理任务,则不对所述图像处理任务进行重新分配。When the management server 120 determines that the processing server 130 cannot complete the image processing task, it needs to re-allocate the image processing task. At this time, the management server 120 will re-allocate the image processing task according to the image processing parameters in the image processing task. Search for the processing server 130 that can process the image processing task according to the image processing parameters. The processing server 130 here does not include the processing server 130 that the management server 120 determines that the image processing task cannot be completed. The task load of the selected processing server 130 selects a processing server 130 with a relatively light load for processing. If the management server 120 determines that the processing server can complete the image processing task, it does not redistribute the image processing task.
在其他一些实施例中,为了使得在业务量大的时候,处理服务器130能够顺利处理完这些业务,所述管理服务器120在判断所述处理服务器130无法完成所述图像处理任务时,则说明所述处理服务器130出现故 障,管理服务器120会向管理人员发送一个故障信息,从而使管理人员及时查找并维护所述处理服务器130的故障,从而使得处理服务器130能够正常工作,顺利完成任务。In some other embodiments, in order to enable the processing server 130 to smoothly process these services when the business volume is large, the management server 120, when judging that the processing server 130 cannot complete the image processing task, then explains that When the processing server 130 fails, the management server 120 will send a fault message to the management personnel, so that the management personnel can find and maintain the fault of the processing server 130 in time, so that the processing server 130 can work normally and successfully complete the task.
本申请实施例的有益效果在于,通过用户业务端10将原稿文件发送至存储服务器110进行存储,由于原稿文件需要经过图像处理才能转化为打印设备能够识别的印刷文件,因此,在所述存储服务器110存储所述原稿文件后,用户业务端10向所述管理服务器120发送所述原稿文件的图像处理任务,所述图像处理任务包括图像处理参数和所述原稿文件的第一存储路径,管理服务器120在接收到所述图像处理参数和所述原稿文件的第一存储路径后,根据所述图像处理参数找到能够根据所述图像处理参数处理所述图像处理任务的所有处理服务器130,然后根据预设规则选择所述处理服务器130中的一个,在选择后,将所述图像处理任务发送至选择的处理服务器130,以使所述处理服务器130处理所述图像处理任务。处理服务器130在处理完成所述图像处理任务后,将生成的印刷文件发送至存储服务器110,以使所述存储服务器110存储所述印刷文件,并将所述印刷文件的第二存储路径发送至管理服务器120,管理服务器120在确认所述处理服务器130完成所述图像处理任务后,将所述印刷文件的第二存储路径发送至所述用户业务端10。当用户需要进行打印时,用户业务端10根据接收到的印刷文件的第二存储路径获取所述印刷文件,再根据所述印刷文件控制打印设备进行打印操作。通过这种方式,原稿文件直接由服务器进行处理并生成印刷文件,使得打印设备只需要根据印刷文件进行打印操作,从而使打印设备一直处于生产状态,提高生产效率。这里多台打印设备可以共享服务器,存储服务器110、管理服务器120、处理服务器130之间相互协调对任务进行处理,减少打印设备的工作量和印刷前准备时间,服务器的利用率得到提高,成本减少。设计原稿只存储在存储服务器中,不会直接给的生产现场,有利于比避免生产现场环境和人员复杂引起的版权泄露问题,有利于版权的保护。The beneficial effect of the embodiment of the present application is that the manuscript file is sent to the storage server 110 through the user service terminal 10 for storage. Since the manuscript file needs to undergo image processing to be converted into a printing file that can be recognized by the printing device, the storage server After 110 stores the manuscript file, the user service terminal 10 sends an image processing task of the manuscript file to the management server 120. The image processing task includes image processing parameters and the first storage path of the manuscript file. The management server 120 After receiving the image processing parameters and the first storage path of the manuscript file, find all processing servers 130 capable of processing the image processing task according to the image processing parameters according to the image processing parameters, and then according to the preset It is assumed that a rule selects one of the processing servers 130, and after the selection, the image processing task is sent to the selected processing server 130, so that the processing server 130 can process the image processing task. After processing 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, after confirming that the processing server 130 has completed the image processing task, sends the second storage path of the print file to the user service terminal 10. When the user needs to print, the user service terminal 10 obtains the printing file according to the second storage path of the received printing file, and then controls the printing device to perform the printing operation according to the printing file. In this way, the manuscript file is directly processed by the server and the printing file is generated, so that the printing device only needs to perform printing operations according to the printing file, so that the printing device is always in a production state and the production efficiency is improved. Here, multiple printing devices can share the server, and the storage server 110, the management server 120, and the processing server 130 coordinate with each other to process tasks, reducing the workload of the printing device and the preparation time before printing, the utilization rate of the server is improved, and the cost is reduced . The design manuscript is only stored in the storage server and will not be directly given to the production site, which is more beneficial than avoiding copyright leakage caused by the complexity of the production site environment and personnel, and is beneficial to copyright protection.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件 说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are merely illustrative, where the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
本申请实施例提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个处理器执行,可使得上述一个或多个处理器可执行上述任意方法实施例中的印刷文件生成方法。The embodiment of the present application provides a non-volatile computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by one or more processors to enable the aforementioned one Or multiple processors can execute the print file generation method in any of the foregoing method embodiments.
本申请实施例的服务器以多种形式存在,包括但不限于:The servers in the embodiments of this application exist in various forms, including but not limited to:
(1)塔式服务器(1) Tower server
一般的塔式服务器机箱和我们常用的PC机箱差不多,而大型的塔式机箱就要粗大很多,总的来说外形尺寸没有固定标准。The general tower server case is similar to our commonly used PC case, while the large tower case is much thicker. Generally speaking, there is no fixed standard for the external dimensions.
(2)机架式服务器(2) Rack server
机架式服务器是由于满足企业的密集部署,形成的以19英寸机架作为标准宽度的服务器类型,高度则从1U到数U。将服务器放置到机架上,并不仅仅有利于日常的维护及管理,也可能避免意想不到的故障。首先,放置服务器不占用过多空间。机架服务器整齐地排放在机架中,不会浪费空间。其次,连接线等也能够整齐地收放到机架里。电源线和LAN线等全都能在机柜中布好线,可以减少堆积在地面上的连接线,从而防止脚踢掉电线等事故的发生。规定的尺寸是服务器的宽(48.26cm=19英寸)与高(4.445cm的倍数)。由于宽为19英寸,所以有时也将满足这一规定的机架称为“19英寸机架”。Rack-mounted servers are a type of server with a 19-inch rack as the standard width due to the intensive deployment of enterprises, and the height ranges from 1U to several U. Placing the server on the rack is not only conducive to daily maintenance and management, but may also avoid unexpected failures. First, placing the server does not take up too much space. Rack servers are neatly arranged in the racks without wasting space. Secondly, the connecting wires can also be neatly stored in the rack. Power cables and LAN cables can all be routed in the cabinet, which can reduce the accumulation of connection cables on the ground and prevent accidents such as kicking off the wires. The prescribed size is the width (48.26cm=19 inches) and height (multiples of 4.445cm) of the server. Since the width is 19 inches, the racks that meet this requirement are sometimes called "19-inch racks."
(3)刀片式服务器(3) Blade server
刀片服务器是一种HAHD(High Availability High Density,高可用高密度)的低成本服务器平台,是专门为特殊应用行业和高密度计算机环境设计的,其中每一块“刀片”实际上就是一块***母板,类似于一个个独立的服务器。在这种模式下,每一个母板运行自己的***,服务于指定的不同用户群,相互之间没有关联。不过可以使用***软件将这些母板集合成一个服务器集群。在集群模式下,所有的母板可以连接 起来提供高速的网络环境,可以共享资源,为相同的用户群服务。The blade server is a HAHD (High Availability High Density) low-cost server platform, which is specially designed for special application industries and high-density computer environments. Each "blade" is actually a system motherboard , Similar to independent servers. In this mode, each motherboard runs its own system, serving different designated user groups, and is not related to each other. However, the system software can be used to assemble these motherboards into a server cluster. In the cluster mode, all motherboards can be connected to provide a high-speed network environment, can share resources, and serve the same user group.
(4)云服务器(4) Cloud server
云服务器(Elastic Compute Service,ECS)是一种简单高效、安全可靠、处理能力可弹性伸缩的计算服务。其管理方式比物理服务器更简单高效,用户无需提前购买硬件,即可迅速创建或释放任意多台云服务器。云服务器的分布式存储用于将大量服务器整合为一台超级计算机,提供大量的数据存储和处理服务。分布式文件***、分布式数据库允许访问共同存储资源,实现应用数据文件的IO共享。虚拟机可以突破单个物理机的限制,动态的资源调整与分配消除服务器及存储设备的单点故障,实现高可用性。Cloud Server (Elastic Compute Service, ECS) is a simple, efficient, safe and reliable computing service with elastically scalable processing capabilities. Its management method is simpler and more efficient than physical servers. Users can quickly create or release any number of cloud servers without having to purchase hardware in advance. The distributed storage of cloud servers is used to integrate a large number of servers into a supercomputer, providing a large amount of data storage and processing services. Distributed file system and distributed database allow access to common storage resources and realize IO sharing of application data files. Virtual machines can break through the limitations of a single physical machine, dynamically adjust and allocate resources to eliminate single points of failure of servers and storage devices, and achieve high availability.
本申请实施例还提供了一种计算机程序产品,包括存储在非易失性计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被机器执行时,使所述机器执行上述任意方法实施例中的印刷文件生成的方法。The embodiment of the present application also provides a computer program product, which includes a calculation program stored on a non-volatile computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a machine, the computer program The machine executes the printing file generation method in any of the above-mentioned method embodiments.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are merely illustrative, where the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in One place, or it can be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
通过以上的实施方式的描述,本领域普通技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Through the description of the foregoing implementation manners, those of ordinary skill in the art can clearly understand that each implementation manner can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. A person of ordinary skill in the art can understand that all or part of the processes in the method of the foregoing embodiments can be implemented by instructing relevant hardware through a computer program. The program can be stored in a computer readable storage medium. When executed, it may include the procedures of the above-mentioned method embodiments. Wherein, the storage medium may be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;在本申请的思路下,以上实施例或者不同实施例中的技术特 征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本申请的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, not to limit them; under the idea of this application, the above embodiments or the technical features in different embodiments can also be combined. The steps can be implemented in any order, and there are many other variations in different aspects of the application as described above. For the sake of brevity, they are not provided in the details; although the application has been described in detail with reference to the foregoing embodiments, it is common in the art Technical personnel should understand that: they can still modify the technical solutions described in the foregoing embodiments, or equivalently replace some of the technical features; and these modifications or substitutions do not make the essence of the corresponding technical solutions deviate from the implementations of this application Examples of the scope of technical solutions.

Claims (14)

  1. 一种印刷文件生成方法,应用于服务器,其特征在于,所述方法包括:A printing file generation method applied to a server, characterized in that the method includes:
    接收并存储用户业务端发送的原稿文件;Receive and store manuscript files sent by the user's business end;
    获取用户业务端发送的图像处理任务,根据所述图像处理任务对所述原稿文件进行处理,并生成印刷文件;Acquiring an image processing task sent by a user service terminal, processing the manuscript file according to the image processing task, and generating a printed file;
    存储所述印刷文件,并将所述印刷文件提供给所述用户业务端,以使所述用户业务端根据所述印刷文件控制打印设备进行打印操作。The printing file is stored, and the printing file is provided to the user service terminal, so that the user service terminal controls the printing device to perform a printing operation according to the printing file.
  2. 根据权利要求1所述的方法,其特征在于,所述服务器包括存储服务器、管理服务器和处理服务器;The method according to claim 1, wherein the server includes a storage server, a management server, and a processing server;
    所述接收并存储用户业务端发送的原稿文件,包括:The receiving and storing the manuscript file sent by the user service terminal includes:
    所述存储服务器接收并存储所述用户业务端发送的原稿文件;The storage server receives and stores the manuscript file sent by the user service terminal;
    所述获取用户业务端发送的图像处理任务,根据所述图像处理任务对所述原稿文件进行处理,并生成印刷文件,包括:The acquiring the image processing task sent by the user service terminal, processing the manuscript file according to the image processing task, and generating a printed file includes:
    所述管理服务器获取所述用户业务端发送的所述图像处理任务,并根据图像处理参数和预设规则将所述图像处理任务发送至对应的处理服务器,其中,所述图像处理任务包括所述原稿文件的第一存储路径和所述图像处理参数;The management server obtains the image processing task sent by the user service terminal, and sends the image processing task to the corresponding processing server according to the image processing parameters and preset rules, wherein the image processing task includes the The first storage path of the manuscript file and the image processing parameters;
    所述处理服务器根据所述第一存储路径和所述图像处理参数对所述原稿文件进行处理,并生成印刷文件;The processing server processes the manuscript file according to the first storage path and the image processing parameter, and generates a print file;
    所述存储所述印刷文件,并将所述印刷文件提供给所述用户业务端,以使所述用户业务端根据所述印刷文件控制打印设备进行打印操作,包括:The storing the printing file and providing the printing file to the user service terminal so that the user service terminal controls the printing device to perform a printing operation according to the printing file includes:
    所述存储服务器接收并存储所述处理服务器发送的所述印刷文件;The storage server receives and stores the printed file sent by the processing server;
    所述处理服务器将所述印刷文件的第二存储路径发送至所述管理服务器,以使所述管理服务器将所述第二存储路径发送至所述用户业务端,从而使所述用户业务端根据所述第二存储路径获取所述印刷文件,并根据所述印刷文件和所述图像处理参数控制所述打印设备进行打印 操作。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, so that the user service end is based on The second storage path acquires the printing file, and controls the printing device to perform a printing operation according to the printing file and the image processing parameter.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method according to claim 2, wherein the method further comprises:
    所述管理服务器接收所述处理服务器的执行反馈信息,并根据所述执行反馈信息判断所述处理服务器是否完成所述图像处理任务;The management server receives execution feedback information of the processing server, and determines whether the processing server has completed the image processing task according to the execution feedback information;
    若所述处理服务器未完成所述图像处理任务,则重新根据图像处理参数和预设规则将所述图像处理任务发送至对应的处理服务器。If the processing server has not completed the image processing task, it re-sends the image processing task to the corresponding processing server according to the image processing parameters and preset rules.
  4. 根据权利要求2或3所述的方法,其特征在于,所述根据图像处理参数和预设规则将所述图像处理任务发送至对应的处理服务器,包括:The method according to claim 2 or 3, wherein the sending the image processing task to a corresponding processing server according to image processing parameters and preset rules comprises:
    根据所述图像处理参数选择所述图像处理参数对应的处理服务器;Selecting a processing server corresponding to the image processing parameter according to the image processing parameter;
    根据所述处理服务器的任务负载进行所述图像处理任务的分配。The image processing task is distributed according to the task load of the processing server.
  5. 一种印刷文件生成方法,应用于用户业务端,其特征在于,所述方法包括:A method for generating a printed document, applied to a user's business end, characterized in that the method includes:
    发送原稿文件至服务器,以使所述服务器存储所述原稿文件;Sending the manuscript file to the server, so that the server stores the manuscript file;
    发送图像处理任务至所述服务器,以使所述服务器根据所述图像处理任务对所述原稿文件进行处理,并生成印刷文件;Sending an image processing task to the server, so that the server processes the manuscript file according to the image processing task, and generates a printed file;
    接收服务器发送的印刷文件,并根据所述印刷文件控制打印设备进行打印操作。Receive the printing file sent by the server, and control the printing device to perform the printing operation according to the printing file.
  6. 根据权利要求5所述的方法,其特征在于,所述图像处理任务包括所述原稿文件的第一存储路径和图像处理参数,所述以使所述服务器根据所述图像处理任务对所述原稿文件进行处理,并生成印刷文件,包括:The method according to claim 5, wherein the image processing task includes a first storage path of the manuscript file and image processing parameters, and the server is configured to perform processing on the manuscript according to the image processing task. Documents are processed and printed documents are generated, including:
    根据所述原稿文件的第一存储路径获取所述原稿文件;Acquiring the manuscript file according to the first storage path of the manuscript file;
    根据所述图像处理参数对所述原稿文件进行处理,获得印刷文件并存储所述印刷文件。The manuscript file is processed according to the image processing parameters to obtain a printed file and store the printed file.
  7. 根据所述权利要求6所述的方法,其特征在于,所述接收服务器发送的印刷文件,并根据所述印刷文件控制打印设备进行打印操作,包括:The method according to claim 6, wherein the receiving the printing file sent by the server and controlling the printing device to perform the printing operation according to the printing file comprises:
    根据所述印刷文件的第二存储路径获取所述印刷文件;Acquiring the printing file according to the second storage path of the printing file;
    根据所述印刷文件和所述图像处理参数控制所述打印设备进行打印操作。The printing device is controlled to perform a printing operation according to the printing file and the image processing parameter.
  8. 一种印刷文件生成***,其特征在于,所述印刷文件生成***包括:A printing file generation system, characterized in that, the printing file generation system includes:
    存储服务器,所述存储服务器用于存储用户业务端发送的原稿文件和处理服务器发送的印刷文件;A storage server, where the storage server is used to store the manuscript files sent by the user's service terminal and the printed files sent by the processing server;
    管理服务器,所述管理服务器用于接收用户业务端发送的图像处理任务,并将所述图像处理任务发送至处理服务器;A management server, the management server is configured to receive an image processing task sent by a user service terminal, and send the image processing task to the processing server;
    处理服务器,所述处理服务器用于根据所述图像处理任务对所述原稿文件进行处理,从而生成所述印刷文件;A processing server, the processing server is configured to process the manuscript file according to the image processing task, so as to generate the print file;
    用户业务端,所述用户业务端用于根据印刷文件控制打印设备进行打印操作。The user service terminal is used to control the printing device to perform printing operations according to the printing file.
  9. 根据权利要求8所述的印刷文件生成***,其特征在于,所述图像处理任务包括图像处理参数,所述管理服务器具体用于检查所述图像处理参数,并根据所述图像处理参数和预设规则将所述图像处理任务发送至对应的处理服务器。The printed document generation system according to claim 8, wherein the image processing task includes image processing parameters, and the management server is specifically configured to check the image processing parameters, and perform the processing according to the image processing parameters and presets. The rule sends the image processing task to the corresponding processing server.
  10. 根据权利要求9所述的印刷文件生成***,其特征在于,所述图像处理任务还包括所述原稿文件的第一存储路径,所述处理服务器包括图像处理任务代理模块和至少一个图像处理引擎,所述图像处理代理模块用于将接收到的图像处理任务发配给所述至少一个图像处理引擎中的一个,并根据所述原稿文件的第一存储路径获取所述原稿文件;The printing file generation system according to claim 9, wherein the image processing task further includes a first storage path of the manuscript file, and the processing server includes an image processing task proxy module and at least one image processing engine, The image processing agent module is configured to distribute the received image processing task to one of the at least one image processing engine, and obtain the manuscript file according to the first storage path of the manuscript file;
    所述至少一个图像处理引擎用于根据所述图像处理参数对所述原稿文件进行处理。The at least one image processing engine is used to process the manuscript file according to the image processing parameter.
  11. 根据权利要求10所述的印刷文件生成***,其特征在于,所述用户业务端具体用于根据所述印刷文件的第二存储路径获取所述印刷文件,并根据所述图像处理参数和所述印刷文件控制打印设备进行打印操作。The printing file generation system according to claim 10, wherein the user service terminal is specifically configured to obtain the printing file according to the second storage path of the printing file, and to obtain the printing file according to the image processing parameters and the The printing file controls the printing device to perform printing operations.
  12. 根据权利要求11所述的印刷文件生成***,其特征在于,所述管理服务器还用于接收所述处理服务器的执行反馈信息,并根据所述 执行反馈信息判断所述处理服务器是否完成所述图像处理任务;The printed document generation system according to claim 11, wherein the management server is further configured to receive execution feedback information of the processing server, and determine whether the processing server has completed the image according to the execution feedback information Processing task
    若所述处理服务器没有完成所述图像处理任务,则重新根据所述图像处理参数和预设规则将所述图像处理任务发送至对应的处理服务器。If the processing server does not complete the image processing task, then re-send the image processing task to the corresponding processing server according to the image processing parameters and preset rules.
  13. 一种非易失性计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机可执行指令,当所述计算机可执行指令被服务器所执行时,使所述服务器执行权利要求1-4任一项所述的方法。A non-volatile computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a server, the server executes the claims The method of any one of 1-4.
  14. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被机器执行时,使所述机器执行权利要求1-4任一项所述的方法。A computer program product, wherein the computer program product includes a computer program stored on a non-volatile computer-readable storage medium, the computer program includes program instructions, and when the program instructions are executed by a machine, The machine is caused to execute the method of any one of claims 1-4.
PCT/CN2020/129833 2020-06-04 2020-11-18 Method and system for generating printing file, and readable storage medium WO2021243972A1 (en)

Applications Claiming Priority (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
CN202010499793.1 2020-06-04

Publications (1)

Publication Number Publication Date
WO2021243972A1 true WO2021243972A1 (en) 2021-12-09

Family

ID=72202489

Family Applications (1)

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

Country Status (2)

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

Families Citing this family (2)

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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020113979A1 (en) * 2000-12-20 2002-08-22 Xerox Corporation System and method for scan-to-print architecture
CN103677690A (en) * 2012-09-18 2014-03-26 柯尼卡美能达株式会社 Printing system, server, information device, and control method
CN110244914A (en) * 2018-03-07 2019-09-17 北大方正集团有限公司 It sends to press single processing method, apparatus and system
CN110780829A (en) * 2019-10-15 2020-02-11 武汉牌洲湾广告科技有限公司 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107622117B (en) * 2017-09-15 2020-05-12 Oppo广东移动通信有限公司 Image processing method and apparatus, computer device, computer-readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020113979A1 (en) * 2000-12-20 2002-08-22 Xerox Corporation System and method for scan-to-print architecture
CN103677690A (en) * 2012-09-18 2014-03-26 柯尼卡美能达株式会社 Printing system, server, information device, and control method
CN110244914A (en) * 2018-03-07 2019-09-17 北大方正集团有限公司 It sends to press single processing method, apparatus and system
CN110780829A (en) * 2019-10-15 2020-02-11 武汉牌洲湾广告科技有限公司 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

Also Published As

Publication number Publication date
CN111610942A (en) 2020-09-01

Similar Documents

Publication Publication Date Title
US9075659B2 (en) Task allocation in a computer network
US6965931B2 (en) Thin server with printer management
US9780998B2 (en) Method and apparatus for managing physical network interface card, and physical host
US8930731B2 (en) Reducing power consumption in data centers having nodes for hosting virtual machines
US8854663B2 (en) Dynamic print server generation in a distributed printing environment
CN112104723B (en) Multi-cluster data processing system and method
US9424096B2 (en) Task allocation in a computer network
WO2021243972A1 (en) Method and system for generating printing file, and readable storage medium
US20090257082A1 (en) Capturing, processing, managing, and reporting events of interest in virtual collaboration
CN104937584A (en) Providing optimized quality of service to prioritized virtual machines and applications based on quality of shared resources
US20240095082A1 (en) Method and system for multiple services to share same gpu, and device and medium
CN104123265A (en) Method and system for communication among multiple kernels
CN112825042A (en) Resource management method and device, electronic equipment and storage medium
CN110995545B (en) Cloud network configuration testing method and device
KR20200080458A (en) Cloud multi-cluster apparatus
JP2008140132A (en) Printing system, print job control device and print job control program
WO2013027649A1 (en) Virtual data center system
JP5552343B2 (en) Management device, management method, and program
US10270847B2 (en) Method for distributing heavy task loads across a multiple-computer network by sending a task-available message over the computer network to all other server computers connected to the network
CN107329798A (en) Method, device and the virtualization system of data duplication
US20120102142A1 (en) Address book transfer over a network between printers
CN103218178A (en) Method for achieving high reliability of all-in-one machine
US10296396B2 (en) Allocation of job processes to host computing systems based on accommodation data
CN114745377A (en) Edge cloud cluster service system and implementation method
CN111294383B (en) Internet of things service management system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20939279

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20939279

Country of ref document: EP

Kind code of ref document: A1