Summary of the invention
The embodiment of the present application is by providing a kind of method of automatic adjustment print speed, having solved the print speed of distributed print system in prior art can not effectively improve, and then reduced the technical problem of the average output speed of distributed print system, realize the technique effect that improves distributed print system entirety print speed.
The embodiment of the present application provides a kind of method of automatic adjustment print speed, and concrete steps are as follows:
Main control host sends compression data to be printed to described image-forming block main control system to image-forming block main control system;
Described image-forming block main control system is processed described compression data to be printed, obtains dot array data, and described dot array data is stored in the memory cell of described image-forming block main control system;
At described image-forming block main control system, described dot array data is sent to from described memory cell described image-forming block process, the data volume that described main control host judges dot array data described in described memory cell whether in a preset range, and obtains a judged result;
In the time that described judged result shows that described data volume is not in described preset range, described main control host generates chart drive speed and adjusts instruction, carries out for described paper feed platform;
Preferably, described main control host sends compression data to be printed to described image-forming block main control system to described image-forming block main control system, is specially:
By the first high speed transmission system, described main control host sends compression data to be printed to described image-forming block main control system, and wherein, described the first high speed transmission system is connected between described main control host and image-forming block main control system.
Preferably, before described main control host is to described image-forming block main control system transmission compression data to be printed to described image-forming block main control system, described method also comprises carries out initial setting up to described distributed print system, specifically comprises:
For the data volume that the described memory cell of described distributed print system can be stored is set a preset range;
For described chart drive speed is set a maximum chart drive speed and a minimum chart drive speed.
Preferably, whether the data volume that judges dot array data described in described memory cell in described main control host is in a preset range, and after obtaining a judged result, described method also comprises:
In the time that described judged result shows that described data volume is in described preset range, send described dot array data by described high speed transmission system to described image-forming block.
Preferably, described in the time that described judged result shows that described data volume is not in described preset range, described main control host generates chart drive speed and adjusts instruction, carries out for described paper feed platform, specifically comprises:
In the time that described judged result shows that described data volume is not in described preset range, judge whether to improve chart drive speed;
If need to improve described chart drive speed, obtain the current chart drive speed of system, and described current chart drive speed and described maximum chart drive speed are compared;
If described current chart drive speed is less than described maximum chart drive speed, generate chart drive speed by described main control host and adjust instruction, carry out for described paper feed platform.
Preferably, described described current chart drive speed and described maximum chart drive speed are compared after, described method also comprises:
If described current chart drive speed meets or exceeds described maximum chart drive speed, send described dot array data by the second high speed transmission system to described image-forming block, wherein, described the second high speed transmission system is connected between described image-forming block main control system and described image-forming block.
Preferably, described in the time that described judged result shows that described data volume is not in described preset range, described main control host generates chart drive speed and adjusts instruction, carries out for described paper feed platform, specifically also comprises:
In the time that described judged result shows that described data volume is not in described preset range, judge whether to reduce chart drive speed;
In the time that needs reduce described chart drive speed, obtain the current chart drive speed of system, and described current chart drive speed and described minimum chart drive speed are compared;
If described current chart drive speed is greater than described minimum chart drive speed, generate chart drive speed by described main control host and adjust instruction, carry out for described paper feed platform.
Preferably, described described current chart drive speed and described minimum chart drive speed are compared after, described method also comprises:
If described current chart drive speed is equal to or less than described minimum chart drive speed,, by described the second high speed transmission system, send described dot array data to described image-forming block.
Preferably, described by described the second high speed transmission system, send described dot array data to described image-forming block, be specially:
Follow the principle of first in first out, by described the second high speed transmission system, send described dot array data to described image-forming block.
The embodiment of the present application also provides a kind of distributed print system, comprising:
Main control host; Described main control host can be connected with a paper feed platform;
Image-forming block main control system, is connected with described main control host;
Image-forming block, is connected with described image-forming block main control system;
Described image-forming block main control system comprises:
Input block, for obtaining compression data to be printed from described main control host;
Master machine control unit, for described compression data to be printed are processed, obtains dot array data;
Memory cell, is connected with described input block, for storing described dot array data;
Output unit, is connected with described memory cell, for described dot array data is transferred to described image-forming block;
Monitoring unit, is connected with described memory cell, for monitoring the data volume of dot array data described in described memory cell;
Wherein, described master machine control unit, receiving after the described data volume storage condition that described monitoring unit monitors, can send to described main control host by described data volume storage condition;
Wherein, described chart drive speed is adjusted instruction and is specially described main control host in the time that the data volume that judge dot array data described in described memory cell is not in a preset range, and the instruction of generation.
Preferably, described distributed print system also comprises an initial setting up unit, and described initial setting up unit specifically comprises:
The first initial setting up unit, the data volume that is used to the described memory cell of described distributed print system to store is set a preset range value;
The second initial setting up unit, is used to the chart drive speed of described distributed print system to set a maximum chart drive speed and a minimum chart drive speed.
Preferably, described distributed print system also comprises:
The first high speed transmission system, is connected between described main control host and described image-forming block main control system, sends compression data to be printed for described main control host to described image-forming block main control system;
The second high speed transmission system, is connected between described image-forming block main control system and described image-forming block, sends described dot array data for described image-forming block main control system to described image-forming block.
The one or more technical schemes that provide in the embodiment of the present application, at least have following technique effect or advantage:
(1) owing to having adopted the memory cell at image-forming block main control system to store dot array data, and by monitoring unit, data volume to the dot array data in described memory cell is monitored, in the time that the data volume monitoring exceeds a preset range, generate chart drive speed by the main control host in distributed print system and adjust instruction, and this instruction is sent to described paper feed platform, and carry out described chart drive speed and adjust the technological means of instruction by described paper feed platform, so having solved the print speed of distributed print system in prior art can not effectively improve, and then reduce the technical problem of the average output speed of distributed print system, there is the technique effect that improves distributed print system entirety print speed.。
(2) owing to having adopted a memory cell to store dot array data, can play the effect of buffering, the live load that reduces server transmission, deal with data, improves the performance of server, and then has the stability of distributed system of raising and the technique effect of ease for use.
The specific embodiment
The embodiment of the present application is by providing a kind of method of automatic adjustment print speed, having solved the print speed of distributed print system in prior art can not effectively improve, and then reduced the technical problem of the average output speed of distributed print system, realize the technique effect that improves distributed print system entirety print speed.
Technical scheme in the embodiment of the present application is for solving the above problems, and general thought is as follows:
The technical scheme of the embodiment of the present application is applied in a kind of distributed print system, this system comprises main control host, the image-forming block main control system being connected with described main control host, and the image-forming block being connected with described image-forming block main control system, described main control host can also be connected with a paper feed platform, and the specific implementation process of the method for a kind of automatic adjustment print speed that the application provides is as follows:
Main control host by distributed print system sends compression data to be printed to the image-forming block main control system of this system;
Described image-forming block main control system is processed it receiving after described compression data to be printed, obtains dot array data, and described dot array data is stored in the memory cell of described image-forming block main control system;
At described image-forming block main control system, described dot array data is sent to from described memory cell described image-forming block process, the data volume that described main control host judges dot array data described in described memory cell whether in a preset range, and obtains a judged result;
In the time that described judged result shows that described data volume is not in described preset range, described main control host generates chart drive speed and adjusts instruction, carries out for described paper feed platform.
Visible, based on above-mentioned thinking, just can effectively solve the technical problem that is unfavorable for the raising of the print speed of distributed print system in prior art, realize the technique effect that improves distributed print system entirety print speed.
In order better to understand technique scheme, below in conjunction with Figure of description and concrete embodiment, technique scheme is described in detail.
The method of the automatic adjustment print speed in the embodiment of the present application, is applied in a kind of distributed print system.
Please refer to Fig. 1, the distributed print system 10 in the embodiment of the present application specifically comprises:
Main control host 101; Described main control host can be connected with a paper feed platform 106
Image-forming block main control system 102, is connected with described main control host 101;
Image-forming block 103, is connected with described image-forming block main control system 102;
The first high speed transmission system 104, is connected between described main control host 101 and described image-forming block main control system 102, sends compression data to be printed for described main control host 101 to described image-forming block main control system 102;
The second high speed transmission system 105, is connected between described image-forming block main control system 102 and described image-forming block 103, sends described dot array data for described image-forming block main control system 102 to described image-forming block 103;
Described image-forming block main control system 102 comprises:
Input block 1021, for obtaining compression data to be printed from described main control host 101;
Master machine control unit 1022, for described compression data to be printed are processed, obtains dot array data;
Memory cell 1023, is connected with described input block 1021, for storing described dot array data;
Output unit 1024, is connected with described memory cell 1023, for described dot array data being transferred to described image-forming block 103;
Monitoring unit 1025, is connected with described memory cell 1023, for monitoring the data volume of dot array data described in described memory cell 1023;
Wherein, described master machine control unit 1022, receiving after the described data volume storage condition that described monitoring unit 1025 monitors, can send to described main control host 101 by described data volume storage condition;
Wherein, described chart drive speed is adjusted instruction and is specially described main control host 101 in the time that the data volume that judge dot array data described in described memory cell 1023 is not in a preset range, and the instruction of generation.
Below, in connection with Fig. 1 and Fig. 2, the method for the automatic adjustment print speed in the embodiment of the present application is described in detail.Specifically, comprise the following steps:
Step 201: described distributed print system 10 is carried out to initial setting up
Further, the concrete steps of step 201 comprise:
For 1023 data volumes that can store of described memory cell of described distributed print system 10 are set a preset range, as: the total amount of 1023 data volumes that can store of memory cell is M, the dot array data of storing when memory cell 1023 is between 35%M-65%M time, the digital received and sent of described memory cell 1023 remains on a poised state, 35%M-65%M is now described preset range, certainly, being one herein gives an example, in concrete implementation procedure, the confirmation more complicated of the preset range value of 1023 data volumes that can store of memory cell, need to go to determine a rational preset range value according to the overall performance of whole distributed print system, can go to determine by the mode of software, as calculated a best preset range value by program according to predefined performance strategy, also can remove to determine an empirical value by artificial experience.
For described chart drive speed is set a maximum chart drive speed and a minimum chart drive speed, as: as described in can setting, the maximum chart drive speed of distributed print system is 100m/min, and minimum chart drive speed is 20m/min.
Passing through step 201, complete after the initial setting up of described distributed print system 10, method in the embodiment of the present application enters step 202, that is: described main control host 101 sends compression data to be printed to described image-forming block main control system 102 to described image-forming block main control system 102, compression data to be printed are herein specifically: adopting certain compression ratio to compress rear formation to the data that will print is data, and concrete compression ratio can arrange according to the concrete condition of the data that will print, but compress with the principle that guarantees data lossless mistake.
In concrete implementation process, the implementation that step 202 is concrete is: realize by the first high speed transmission system 104.
Concrete, the first high speed transmission system 104 specifically can hardware mode implement, such as being: the data wire with data-transformation facility that connects main control host 101 and image-forming block main control system 102, or mode that can software is implemented, such as having the wireless network protocol of data-transformation facility; Which kind of transmission system applicant will not limit the first high speed transmission system 104 for, as long as have all should being included in the scope of the first high speed transmission system 104 of the present invention of data-transformation facility.
After execution step 202, method in the embodiment of the present application enters step 203, that is: described image-forming block main control system 102 is processed described compression data to be printed, obtain dot array data, and described dot array data is stored in the memory cell 1023 of described image-forming block main control system 102, such as, data to be printed after the certain compression ratio of above-mentioned employing compresses send to image-forming block main control system 102 by main control host 101, by described image-forming block main control system 102, this packed data is processed, thereby acquisition dot array data, in concrete enforcement, generally to adopt the mode of software automatically data to be processed, as used C++, JAVA writes the dot array data that has the program that processes data into dot array data and obtain packed data, and the process of whole acquisition dot array data is completed by the master machine control unit 1022 in image-forming block main control system 102, obtaining after dot array data, still controlled by master machine control unit 1022, the dot array data of acquisition is stored in memory cell 1023.
After in the memory cell 1023 that by step 203, dot array data is stored in to described image-forming block main control system 102, method in the embodiment of the present application just enters step 204, that is: at described image-forming block main control system 102, described dot array data is sent to from described memory cell 1023 described image-forming block 103 processes, the data volume that described main control host 101 judges dot array data described in described memory cell 1023 whether in a preset range, and obtains a judged result.
In concrete implementation process, the detailed process of step 204 is: at image-forming block main control system 102, described dot array data is sent to the process of image-forming block 103 from described memory cell 1023, by the storage condition of the dot array data amount of monitoring unit 1025 monitor bit cells 1023, and by the first high speed transmission system 104, the storage condition monitoring is sent to main control host 101, judge according to the preset range setting in advance in step 201 whether the data volume of the dot array data in described memory cell 1023 exceedes this preset range by main control host 101, and obtain a judged result.
Such as, above-mentioned preset range is 35%M-65%M, and the data volume of storing when memory cell 1023 is while being 20%M, monitoring unit 1025 sends to main control host 101 by the storage condition monitoring by the first high speed transmission system 104, main control host 101 by the data volume of judging described dot array data according to the preset range of 35%M-65%M not in described preset range; And the data volume of storing when memory cell 1023 is while being 45%M, equally by monitoring unit 1025, the storage condition monitoring is sent to main control host 101 by the first high speed transmission system 104, then the data volume of being judged described dot array data by main control host 101 according to the preset range of 35%M-65%M is in described preset range; Same, when the data volume of storing when memory cell 1023 is 80%M, the first main control system 101 can be sentenced it not in preset range according to the preset range of 35%M-65%M.
Passing through step 204, obtain after described judged result, method in the embodiment of the present application enters step 205, that is: in the time that described judged result shows that described data volume is not in described preset range, described main control host 101 generates chart drive speed and adjusts instruction, carries out for described paper feed platform 106.
In specific implementation process, in step 205, when generating chart drive speed, described main control host 101 adjusts after instruction, the chart drive speed of described distributed print system might not change, whether its chart drive speed changes the comparison of the current chart drive speed and the maximum chart drive speed of system or the minimum chart drive speed that also depend on system, in order better to understand this step, below will be described in detail.
Concrete, the judged result obtaining also has another situation, in the time that described judged result shows that described data volume is in described preset range, described image-forming block main control system 102 will send described dot array data to described image-forming block 103 by described the second high speed transmission system 105, while being 45%M such as the data volume of storing when memory cell 1023 in aforementioned, main control host 101 can judge that data volume is in described preset range, now, image-forming block main control system 102 will send dot array data to described image-forming block 103 by described the second high speed transmission system 105, here the dot array data sending is the dot array data being stored in memory cell 1023.
More specifically, and when working as obtained judged result and showing that described data volume is not in described preset range, main control host 101 will judge whether to improve chart drive speed, if need to improve described chart drive speed, obtain the current chart drive speed of system, and described current chart drive speed and described maximum chart drive speed are compared, if described current chart drive speed is less than described maximum chart drive speed, generate chart drive speed by described main control host 101 and adjust instruction, carry out for described paper feed platform 106; Such as, when the data volume of storing when memory cell 1023 in aforementioned is 20%M, show that described data volume is not in preset range 35%M-65%M, because 20%M is less than 35%M, main control host 101 will be judged and need to improve chart drive speed, system can be obtained current chart drive speed, and it is compared with the maximum chart drive speed 100m/min setting in advance, if described current chart drive speed is less than described maximum chart drive speed, generate chart drive speed by described main control host 101 and adjust instruction, carry out for described paper feed platform 106; Such as, the current chart drive speed obtaining is 70m/mim, main control host 101, by generating the adjustment instruction of chart drive speed raising, is carried out for described paper feed platform 106.
If described current chart drive speed equals or exceeds described maximum chart drive speed, send described dot array data by the second high speed transmission system 105 to described image-forming block 103, such as the current chart drive speed obtaining is 100m/min or 120m/min, send dot array data by the second high speed transmission system 105 to image-forming block 103.
Concrete, in the time that described judged result shows that described data volume is not in described preset range, and described main control host 101 is judged while not needing to improve chart drive speed, explanation need to reduce chart drive speed, still need the current chart drive speed of the system of obtaining, and described current chart drive speed and described minimum chart drive speed are compared, if described current chart drive speed is greater than described minimum chart drive speed, generate chart drive speed by described main control host 101 and adjust instruction, carry out for described paper feed platform 106; Such as, when the data volume of storing when memory cell 1023 in aforementioned is 80%M, show that described data volume is not in preset range 35%M-65%M, because 80%M is greater than 65%M, main control host 101 will be judged and need to reduce chart drive speed, system can be obtained current chart drive speed, and it is compared with the minimum chart drive speed 20m/min setting in advance, if described current chart drive speed is greater than described minimum chart drive speed 20m/min, generate chart drive speed by described main control host 101 and adjust instruction, carry out for described paper feed platform 106; Such as, the current chart drive speed obtaining is 30m/mim, main control host 101, by generating the adjustment instruction of chart drive speed reduction, is carried out for described paper feed platform 106.
If described current chart drive speed is equal to or less than described minimum chart drive speed, send described dot array data by the second high speed transmission system 105 to described image-forming block 103, such as, the current chart drive speed obtaining is 20m/min or 10m/min, sends dot array data by the second high speed transmission system 105 to image-forming block 103.
In specific implementation process, send described dot array data by the second high speed transmission system 105 to image-forming block 103 and all the principle of following first in first out is sent.
In order better to understand the implementation procedure of adjusting about chart drive speed in the application, illustrate described distributed print system and automatically adjust the flow chart of chart drive speed below with the specific implementation process of an independent chart drive speed adjustment, specifically as shown in Figure 3, its concrete steps are:
Step 11: memory cell 1023 receives dot array data, in the situation that image-forming block 103 can receive dot array data, sends dot array data to image-forming block 103.
Step 12: the dot array data storage condition of monitoring unit 1025 monitor bit cells 1023, if the data volume of the dot array data that memory cell 1023 is stored remains in a preset range setting in advance, enters step 17.
If in the preset range that the dot array data that memory cell 1023 is stored does not set in advance in system, enter step 13.
Step 13: judge whether to improve the chart drive speed of system, if so, enter step 14.
Otherwise, need to reduce the chart drive speed of system, enter step 15.
Step 14: the current chart drive speed of the system of obtaining, and the maximum chart drive speed of system compares, if current chart drive speed has reached the maximum chart drive speed of system, enters step 17.
If current chart drive speed is less than the maximum chart drive speed of system, enter step 16.
Step 15: the current chart drive speed of the system of obtaining, and the minimum chart drive speed comparison of system, if present speed has reached minimum chart drive speed, enter step 17.
If the current chart drive speed of system is greater than the minimum chart drive speed of system, enter step 16.
Step 16: the current chart drive speed of adjustment System, improves speed or reduce.
Step 17: the current chart drive speed of system remains unchanged, sends dot array data by the second high speed transmission system 105 to image-forming block main frame 103.
The embodiment of the present application also provides a kind of distributed print system, and as shown in Figure 1, in the embodiment of the present application, distributed print system 10 specifically comprises:
Main control host 101, can be connected with a paper feed platform 106;
Image-forming block main control system 102, is connected with described main control host 101;
Image-forming block 103, is connected with described image-forming block main control system 102;
The first high speed transmission system 104, is connected between described main control host 101 and described image-forming block main control system 102, sends compression data to be printed for described main control host 101 to described image-forming block main control system 102;
The second high speed transmission system 105, is connected between described image-forming block main control system 102 and described image-forming block 103, sends described dot array data for described image-forming block main control system 102 to described image-forming block 103;
Described image-forming block main control system 102 comprises:
Input block 1021, for obtaining compression data to be printed from described main control host 101;
Master machine control unit 1022, for described compression data to be printed are processed, obtains dot array data;
Memory cell 1023, is connected with described input block 1021, for storing described dot array data;
Output unit 1024, is connected with described memory cell 1023, for described dot array data being transferred to described image-forming block 103;
Monitoring unit 1025, is connected with described memory cell 1023, for monitoring the data volume of dot array data described in described memory cell 1023;
Wherein, described master machine control unit 1022, receiving after the described data volume storage condition that described monitoring unit 1025 monitors, can send to described main control host 101 by described data volume storage condition;
Wherein, described chart drive speed is adjusted instruction and is specially described main control host 101 in the time that the data volume that judge dot array data described in described memory cell 1023 is not in a preset range, and the instruction of generation.
In specific implementation process, described distributed print system 10 also comprises an initial setting up unit, and described initial setting up unit specifically comprises:
The first initial setting up unit, the data volume that is used to the described memory cell of described distributed print system to store is set a preset range value;
The second initial setting up unit, is used to the chart drive speed of described distributed print system to set a maximum chart drive speed and a minimum chart drive speed.
More specifically, described initial setting up unit can be the inside in described main control host 101, or can be also to connect an initial setting up unit in the outside of described main control host 101, the application does not limit its particular location, as long as its function be to distributed print system 10 initializes setting all should be within the application's protection domain, such as can three the register preset range value of store initialization in arranging respectively, maximum chart drive speed, minimum chart drive speed, these three registers can be arranged on the inside of main control host 101, also can be the outside that is connected to main control host.
In concrete implementation process, the first described high speed transmission system 104 and the second high speed transmission system 105, can be specifically the data wire with data-transformation facility, or mode that can software implement, such as thering is the wireless network protocol of data-transformation facility; Applicant will not limit the first high speed transmission system 104 and which kind of transmission system the second high speed transmission system 105 is specially, as long as have in the scope of all should being included in of data-transformation facility the first high speed transmission system 104 of the present invention and the second high speed transmission system 105.
By the one or more technical schemes that provide in the embodiment of the present application, at least there is following technique effect or advantage:
(1) owing to having adopted the memory cell at image-forming block main control system to store dot array data, and by monitoring unit, data volume storage condition to the dot array data of storing in described memory cell is monitored, in the time that the data volume monitoring exceeds a preset range, generate chart drive speed by the main control host in distributed print system and adjust instruction, and this instruction is sent to described paper feed platform, and carry out described chart drive speed and adjust the technological means of instruction by described paper feed platform, so solved the technical problem that is unfavorable for the raising of the print speed of distributed print system in prior art, and then there is the technique effect that the overall print speed in distributed print system is improved.
(2) owing to having adopted a memory cell to store dot array data, can play the effect of buffering, the live load that reduces server transmission, deal with data, improves the performance of server, and then has the stability of distributed system of raising and the technique effect of ease for use.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if of the present invention these are revised and modification belongs to the claims in the present invention extremely within the scope of equivalent technologies, the present invention is also intended to comprise these changes and modification interior.