This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2017-056421 filed Mar. 22, 2017.
The present invention relates to a communication control device and a communication control system.
According to an aspect of the invention, there is provided a communication control device including a communication unit, an acquiring unit, and an adjusting unit. The communication unit transfers first image data acquired from a first processing unit to an external controller of a system, receives second image data transferred from the external controller during an interval between pieces of the first image data transferred in predetermined units, and transfers the received second image data to a second processing unit. The system includes the communication control device and the external controller connected to the communication control device by a half-duplex communication line. The acquiring unit acquires a length of a transfer period for transferring the second image data. The adjusting unit adjusts timing of acquiring the first image data in accordance with the length of the transfer period acquired by the acquiring unit.
An exemplary embodiment of the present invention will be described in detail based on the following figures, wherein:
An exemplary embodiment of the present invention will be described in detail below with reference to the accompanying drawings.
A communication control device and a communication control system according to the exemplary embodiment will first be described.
As illustrated in
As illustrated in
Further, the communication control device 2 acquires from the external control device 3 second image data 12 processed from the first image data 10. The second image data 12 is image data expressed in cyan, magenta, yellow, and black (CMYK), for example, and is transferred for each of the colors as a C signal 12C, an M signal 12M, a Y signal 12Y, and a K signal 12K. The communication control device 2 is connected to the image forming apparatus 5 by a dedicated line 24, and transfers the acquired second image data 12 to the image forming apparatus 5.
The communication control device 2 is further connected to a network 6 such as the Internet, and communicates with an external device via the network 6.
As illustrated in.
As illustrated in
As illustrated in
The memory 36A of the external control device 3 stores various information such as image reading conditions of the image reading apparatus 4 and image forming conditions of the image forming apparatus 5. The external control device 3 processes the first image data 10 into the second image data 12 based on the image reading conditions and the image forming conditions described above.
The image reading apparatus 4 is an example of a first processing unit, and is a so-called scanner to read an image formed on a recording medium, for example, and transfer the first image data 10 of the read image to the communication control device 2.
The image forming apparatus 5 is an example of a second processing unit, and is a so-called printer to acquire the second image data 12 from the communication control device 2 and form an image on a recording medium, for example, based on the acquired second image data 12.
Hereinafter, a transfer process in which the image reading apparatus 4 transfers the first image data 10 of the read image to the communication control device 2 will be referred to as transfer A. Further, a transfer process in which the communication control device 2 transfers the acquired first image data 10 to the external control device 3 will be referred to as transfer B. Further, a transfer process in which the external control device 3 transfers to the communication control device 2 the second image data 12 processed from the acquired first image data 10 into the data format for allowing the image forming apparatus 5 to form the image will be referred to as transfer C. Further, a transfer process in which the communication control device 2 transfers the acquired second image data 12 to the image forming apparatus 5 will be referred to as transfer D.
Herein, if the image reading apparatus 4 continuously reads images formed on plural recording media, a time period in which the reading is not performed arises between the completion of reading of the image on one page and the start of reading of the image on the next page. In transfer A between the image reading apparatus 4 and the communication control device 2, therefore, an interval 50 in which transfer A is not performed arises between plural consecutive pieces of the first image data 10, as illustrated in
If the first image data 10 from the image reading apparatus 4 is output to the external control device 3 in process PA in
In such a case, it is desirable that transfer B and transfer C not be performed at the same time to reduce a communication load between the communication control device 2 and the external control device 3. If the first image data 10 and the second image data 12 are directly transferred without control of the transfer timing of the first image data 10 and the second image data 2, however, there arise a period 52 in which transfer B and transfer C are both performed and a period 54 in which neither of transfer B and transfer C is performed, thereby increasing the communication load between the communication control device 2 and the external control device 3.
In the exemplary embodiment, therefore, the external control device 3 performs the transfer of the second image data 12 from the external control device 3 to the communication control device 2 (transfer C) during the interval 50 in which the transfer of the first image data 10 from the communication control device 2 to the external control device 3 (transfer B) is not performed, as illustrated in
In the exemplary embodiment, therefore, the external control device 3 outputs to the communication control device 2 a data transfer enable signal (hereinafter simply referred to as the “enable signal”) 56 that indicates whether it is during or outside a transfer period 57 in which the transfer of the second image data 12 from the external control device 3 to the communication control device 2 (transfer C) is being performed, as illustrated in
Meanwhile, the communication control device 2 acquires an actual measured value of the length of the transfer period 57 based on the enable signal 56. Further, the communication control device 2 calculates the length of the interval 50 corresponding to the actual measured value of the transfer period 57, and outputs to the image reading apparatus 4 interval information representing the calculated length of the interval 50. To reduce the time necessary for a sequence of processes of reading the images formed on the recording media and forming the read images, it is desirable to make the length of the interval 50 equal to the actual measured value of the length of the transfer period 57. In the exemplary embodiment, the length of the interval 50 corresponds to the actual measured value of the transfer period 57 added with a margin including an error of an image data transfer time in transfer B and transfer C.
The image reading apparatus 4 receives input of the interval information, and adjusts the length of the interval in reading the images formed on the plural recording media to be equal to the length of the interval represented by the input interval information. In the transfer of the plural pieces of the first image data 10, therefore, the interval 50 having an appropriate length is provided between the pieces of the first image data 10 to adjust the timing of acquisition by the communication control device 2 of the first image data 10 from the image reading apparatus 4.
A description will be given here of a sequence of flows in the adjustment of the timing of acquisition by the communication control device 2 of first image data 10 from the image reading apparatus 4. As illustrated in (A) of
The external control device 3 processes the first image data 10 input from the communication control device 2, and transfers the processed second image data 12 to the communication control device 2 when transfer B pauses, that is, when the interval 50 starts, as illustrated in (D) of
As illustrated in (E) of
Thereby, as illustrated in
If it is possible to provide a dedicated line to each of the communication control device 2 and the external control device 3, the enable signal 56 is output with the dedicated line connecting the communication control device 2 and the external control device 3. Alternatively, if USB type-C signal is used as a bidirectional signal, for example, an unused signal may be allocated to the enable signal 56 in the alternate mode of USE type-C.
With reference to the flowchart of
At step S101, the CPU 30A determines whether or not the second image data 12 to be transferred to the communication control device 2 is present. If it is determined at step S101 that the second image data 12 to be transferred to the communication control device 2 is present (Y at step S101), the CPU 30A proceeds to step S103. Further, if it is determined at step S101 that the second image data 12 to be transferred to the communication control device 2 is absent (N at step S101), the CPU 30A repeats the present step until it is determined that the second image data 12 to be transferred to the communication control device 2 is present.
At step S103, the CPU 30A determines whether or not it is outside the interval 50, in which transfer B is not performed. If it is determined at step S103 that it is outside the interval 50 (Y at step S103), the CPU 30A proceeds to step S105. Further, if it is determined at step S103 that it is not outside the interval 50 (N at step S103), the CPU 30A repeats the present step until it is determined that it is outside the interval 50.
At step S105, the CPU 30A determines whether or not the interval 50, in which transfer B is not performed, has started. If it is determined at step S105 that the interval 50 has started (Y at step S105), the CPU 30A proceeds to step S107. If it is determined at step S105 that the interval 50 has not started (N at step S105), the CPU 30A repeats the present step until the interval 50 starts.
The respective processes of steps S103 and S105 are performed in consideration that the length of the interval 50 and the length of the transfer period 57 are made correspond to each other. That is, the processes of steps S103 and S105 are performed to avoid a failure to complete transfer C within the interval 50 due to the start of transfer C during the interval 50 despite the correspondence made between the length of the interval 50 and the length of the transfer period 57.
At step S107, the CPU 30A starts transferring the second image data 12 to the communication control device 2.
At the next step S109, the CPU 30A determines whether or not the transfer started at step S107 has completed. If it is determined at step S109 that the transfer has completed (Y at step S109), the CPU 30A returns to step S101. Further, if it is determined at step S109 that the transfer has not completed (N at step S109), the CPU 30A repeats the present step until it is determined that the transfer has completed.
In the exemplary embodiment, the external control device 3 thus transfers the second image data 12 during the interval 50, in which transfer B is not performed.
With reference to the flowchart of
At step S201, the CPU 30 determines whether or not the enable signal 56 is in the inactive state. If it is determined at step S201 that the enable signal 56 is in the inactive state (Y at step S201), the CPU 30 proceeds to step S203. Further, if it is determined at step S201 that the enable signal 56 is in the active state (N at step S201), the CPU 30 repeats the present step until the enable signal 56 switches to the inactive state.
At step S203, the CPU 30 determines whether or not the enable signal 56 has switched to the active state. If it is determined at step S203 that the enable signal 56 has switched to the active state (Y at step S203), the CPU 30 proceeds to step S205, if it is determined at step S203 that the enable signal 56 has not switched to the active state (N at step S203), the CPU 30 repeats the present step until the enable signal 56 switches to the active state.
At step S205, the CPU 30 starts a timer, for example, to start actual measurement of the transfer period 57.
At step S207, the CPU 30 determines whether or not the enable signal 56 has switched to the inactive state. If it is determined at step S207 that the enable signal 56 has switched to the inactive state (Y at step S207), the CPU 30 proceeds to step S209. Further, if it is determined at step S207 that the enable signal 56 has not switched to the inactive state (N at step S207), the CPU 30 repeats the present step until the enable signal 56 switches to the inactive state.
At step S209, the CPU 30 stops the timer, for example, to complete the actual measurement of the transfer period 57.
At step S211, the CPU 30 generates the interval information representing the length of the interval 50 corresponding to the actual measured value of the period of the active state of the enable signal 56, that is, the actual measured value of the transfer period 57.
At step S213, the CPU 30 outputs the generated interval information to the image reading apparatus 4, and completes the execution of the program of the present timing control process.
As described above, in the exemplary embodiment, the communication control device 2 transfers the first image data 10 acquired from the image reading apparatus 4 to the external control device 3 of the communication control system 1, which includes the communication control device 2 and the external control device 3 connected to the communication control device 2 by the half-duplex communication line 22. Further, the communication control device 2 receives the second image data 12 transferred from the external control device 3 during the interval 50 between the pieces of the first image data 10 transferred in the predetermined units, and transfers the received second image data 12 to the image forming apparatus 5. Further, the communication control device 2 acquires the actual measured value of the length of the transfer period 57 necessary for transferring the second image data 12. Further, the communication control device 2 adjusts the timing of acquiring the first image data 10 in accordance with the acquired actual measured value.
The communication control device 2 may need to receive input of another signal different from the first image data 10 and the second image data 12, and transfer the input signal to the external control device 3.
In such a case, if (bandwidth necessary for transfer B) (bandwidth necessary for transfer C) and (bandwidth capacity of communication line 22)≥(bandwidth necessary for transfer B bandwidth+necessary for transfer of another signal) hold, the transfer of the signal, does not interfere with the transfer of the first image data 10 and the second image data 12 even if the signal is transferred to the external control device 3 at any time.
Further, if (bandwidth necessary for transfer B)≥(bandwidth necessary for transfer C+bandwidth necessary for transfer of another signal) holds, and if the signal is transferred to the external control device 3 during the interval 50, in which transfer B is not performed, the interference with the transfer of the first image data 10 and the second image data 12 by the transfer of the signal is avoided.
Examples of another signal different from the first image data 10 and the second image data 12 include image forming data f an instruction to perform image formation input to the communication control a device 2 from the external device, such as a personal computer (PC), connected to the communication control device 2, error information input to the communication control device from the image reading apparatus 4 (such as sensor information as to jam error, for example), and error information input to the communication control device 2 from the image forming apparatus 5 (such as sensor information as to jam error, sheet shortage, and open tray, for example).
Further, depending on the image reading conditions in the image reading by the image reading apparatus 4, the data size of the first image data 10 varies, resulting in variations of the transfer time of transfer B. Further, variations of the data size of the first image data 10 result in variations of the data size of the second image data 12 obtained through the processing of the first image data 10. Further, depending on the image forming conditions in the image formation by the image forming apparatus 5, the data size of the second image data 12 varies, resulting in variations of the transfer time of transfer C.
In the exemplary embodiment, therefore, the external control device :3, which stores various information such as the image reading conditions and the image forming conditions, may transfer the various information to the communication control device 2 when the image reading apparatus 4 starts the image reading, for example. In this case, when generating the interval information representing the length of the interval 50 corresponding to the actual measured value, the communication control device 2 calculates the length of the interval 50 in consideration of the above-described various information input from the external control device 3.
As described above, in the exemplary embodiment, a description has been given of the case in which the communication control device 2 generates the interval information. However, the configuration is not limited thereto. For example, the external control device 3 may actually measure the length of the period of the active state of the enable signal 56, generate the interval information based on factors such as the image reading conditions, the image forming conditions, and the actual measured value, and transfer the generated interval information to the communication control device 2.
Further, the configurations of the communication control device 2 and the external control device 3 described in the foregoing exemplary embodiment (see
Further, the procedures of the processes of the various programs described in the foregoing exemplary embodiment (see
The foregoing description of the exemplary embodiment of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously, many modifications and variations will be apparent to practitioners skilled in the art. The embodiment was chosen and described in order to best explain the principles of the invention and its practical applications, thereby enabling others skilled in the art to understand the invention for various embodiments and with the various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2017-056421 | Mar 2017 | JP | national |