FACSIMILE DEVICE HAVING FUNCTION OF CHANGING THE LINE DENSITY

Abstract: A facsimile device can operate in a memory receiving mode in which picture data received from another facsimile device on the transmission side when receiving automatically are stored temporarily in a memory (15) and comprises a sensing part (15-1, 34) for sensing the usable residual capacity of the memory, a line density changing over part (10-1, 33) which commands the changing over of the line density when the residual memory capacity is less than a predetermined amount, and a control part (10) which informs the facsimile device on the transmission side of the capability in the pre-procedure of automatic reception. The control part automatically informs again the facsimile device on the trasmission side of the capability, responding to the command from the line density changing over part and receives the picture data at a lower line density than the one at the start of the automatic reception from the facsimile device on the transmission side.

Description: The present invention generally relates to facsimile machines, and more particularly to a facsimile machine which controls an image data quantity to be stored in a memory by switching the line density when a remaining memory region is small at the time of a reception. Recently, in facsimile machines, a memory transmission (store-and-forward) technique is popularly used. According to the memory transmission technique, an image data related to a document which is read is compressed and temporarily stored in a memory, and the image data which is read out from the memory depending on the reception capability of the destination facsimile machine is compressed again and transmitted. The memory is also used in a memory reception to store the received image data in an available memory region when the paper runs out during an automatic reception, for example. According to the conventional memory reception, the line density is set to 15.4 lines/mm, 7.7 lines/mm, 3.85 lines/mm and the like from a panel of the transmitting facsimile machine. At the receiving facsimile machine, a predetermined line density is applied to all pages of the received document if the predetermined line density is set during an initial procedure of the automatic reception. Conventionally, there exists no procedure for changing the predetermined line density which is set during the reception of the document. Next, a description will be given of an example of a conventional facsimile machine, by referring to FIGS.1 and 2. FIG.1 shows a conventional facsimile machine 1, and FIG.2 shows an operation sequence of the facsimile machine 1. In FIG.1, the facsimile machine 1 generally comprises a main control part (CPU) 10, an operation control part 11, a recording part 12, a reading part 13, a compression/restoration part 14, a memory 15, and a communication control part 20. An operation panel 11-1 is connected to the operation control part 11, and the communication control part 20 is made up of a modem 16 and a line control part 17. Under the control of the main control part 10, each function such as the line density is set from the operation panel 11-1 which is connected to the operation control part 11. In addition, the dialing of the destination number is made from the ten-key, a one-touch key or the like of the operation panel 11-1. When the line is connected, the pre-procedure shown in FIG.2 is started when the destination facsimile machine has the automatic reception function. On the other hand, the reading part 13 optically reads the inserted document and outputs the image data related to the read document. This image data is coded in the compression/restoration part 14 according to the modified Huffman (MH) coding, for example, under the control of the main control part 10, and is thereafter stored temporarily in the memory 15. When the transmission mode is set in the modem 16 within the communication control part 20 by the pre-procedure, the image data is read out from the memory 15 under the control of the main control part 10. The read out image data is restored in the compression/restoration part 14 before being compressed again depending on the transmission mode. The image data which is compressed again is modulated in the modem 16 and is transmitted to a line L via the line control part 17. The image data which is received from the line L is supplied to the modem 16 via the line control part 17 and is demodulated in the modem 16. The demodulated image data is temporarily stored in the memory 15 in the compressed form under the control of the main control part 10 or, is restored in the compression/restoration part 14 and printed on a recording paper by the recording part 12. In FIG.2, the destination number is dialed from the transmitting facsimile machine (hereinafter simply referred to as the transmitting side) and a calling signal (CNG) is transmitted to the receiving facsimile machine (hereinafter simply referred to as the receiving side). An accepted answer (CED) is returned from the receiving side, and the capability notification of the facsimile pre-procedure is made by notifying signals (NSF, DIS). In other words, the notification of capabilities such as the transmission speed (for example, 9600 bps, 4800 bps, 2400 bps) of the receiving side is made, and the transmitting side specifies the line density to 15.4 lines/mm, for example, by a transmission command (NSS), and at the same time, transmits a synchronizing training signal (TDF). If an answer (CFR) is received from the receiving side in response to the above, the transmitting side transmits the image (Pix) with the specified line density of 15.4 lines/mm. After an end of procedure (EOP) indicating the end of transmission of all of the pages is transmitted from the transmitting side, the transmitting side confirms an answer (MCF) from the receiving side and transmits a disconnect request (DCN). Therefore, according to the conventional facsimile machine, the same line density is applied during the pre-procedure before the transmission of the image data and also during the after-procedure, and the line density cannot be switched during the procedure. For example, when the receiving side starts the automatic reception or the paper runs out during the automatic reception, the operation mode is automatically switched to the memory reception mode. However, particularly in the case of a compact type facsimile machine, the memory capacity is set relatively small in order to reduce the cost of the machine. For this reason, there are problems in that the data quantity of the image data which is received may exceed the mwemory capacity and the memory reception of all of the image data may not be possible. Particularly when the line density is set to a large density such as 15.4 lines/mm from the transmitting side, the image data quantity is large and the possibility of the data quantity exceeding the memory capacity is high. In addition, the amount of paper which may be accommodated within the compact type facsimile machine is limited, and the compact type facsimile machine runs out of paper more frequently compared to facsimile machines of larger sizes. JP-A-62 208 758 discloses a facsimile machine according to the preamble of accompanying claim 1. According to the present invention, there is provided a facsimile machine having a memory reception mode in which image data received from a transmitting facsimile machine during an automatic reception is temporarily stored in memory means, comprising: detecting means, coupled to said memory means, for detecting a remaining memory region which is usable within said memory means; image data density switching means for instructing switching of the image data density if the remaining memory region detected by said detecting means is less than or equal to a predetermined region; and control means for making a capability notification to the transmitting facsimile machine in a pre-procedure during the automatic reception; characterised in that said image data density switching means is a line density switching means which is operable prior to transmission of each page of said image data to switch the line density of transmission; and in that said control means is operable to automatically notify the capability again to the transmitting facsimile machine in response to the instruction from said line density switching means so as to receive the image data from the transmitting facsimile machine with a line density which is lower than an initial line density at the time when the automatic reception is started. By means of the present invention, the capability is notified again automatically and the line density is switched to a value lower than the initial line density when the remaining memory region becomes small and the possibility of the remaining memory region becoming zero during the memory reception becomes high. For this reason, when the present invention is applied to a facsimile machine which frequently makes an automatic reception at night when no person can attend the machine and frequently makes a memory reception because of the relatively small amount of paper the machine can accommodate, it is possible to minimize the possibility of the remaining memory region becoming zero during the memory reception, and the image data from the transmitting side can be received by the memory reception as much as possible. Reference is made, by way of example, to the accompanying drawings in which:- FIG. 1 is a system block diagram showing an example of a conventional facsimile machine; FIG. 2 is a sequence diagram for explaining the operation of the conventional facsimile machine; FIG. 3 is a system block diagram showing a first embodiment of a facsimile machine according to the present invention; FIG.4 is a system block diagram for explaining the operation of the first embodiment; FIG.5 is a sequence diagram for explaining the operation of the first embodiment; FIG.6 is a flow chart for explaining the operation of the first embodiment; FIG.7 is a system block diagram showing a second embodiment of the facsimile machine according to the present invention; and FIG.8 is a flow chart for explaining the operation of the second embodiment. FIG.3 shows a first embodiment of a facsimile machine according to the present invention. In FIG.3, those parts which are the same as those corresponding parts in FIG.1 are designated by the same reference numerals, and a description thereof will be omitted. In this embodiment, the main control part (CPU) 10 includes a reception line density automatic switching part 10-1, and the memory 15 is coupled to the main control part 10 via a remaining memory region detecting part 15-1. The remaining memory region detecting part 15-1 calculates the unused region of the usable memory space of the memory 15 based on the memory address. As an alternative, a predetermined access region may be set in advance, and a flag may be set to indicate that the remaining memory region has become small if the access with respect to the memory 15 is made exceeding the predetermined access region. Of course, the method of detecting the remaining memory region is not limited to the above methods. If the remaining memory region detecting part 15-1 detects that the remaining memory region is small, the reception line density automatic switching part 10-1 waits for the present page to end, resets the capability notification by the pre-procedure again and switches the line density to the minimum line density. As a result, the minimum line density is specified from the transmitting side to the receiving side, and the receiving side makes the memory reception with the minimum line density starting from the next page. Therefore, it is possible to store in the remaining memory region of the memory 15 a number of pages which is several number of times greater than the number of pages which could have been received by the memory reception before the switching of the line density. FIG.4 is a system block diagram for explaining the operation of the first embodiment, and shows an essential part of a transmitting facsimile machine 1 1 and a receiving facsimile machine 1 2 . In FIG.4, those parts which are the same as those corresponding parts in FIG.3 are designated by the same reference numerals, and a description thereof will be omitted. During the memory reception of the receiving facsimile machine 1 2 , a signal A is supplied to the main control part 10 when the remaining memory region detecting part 15-1 detects that the remaining memory region is small. The reception line density automatic switching part 10-1 switches the line density to the minimum line density in response to the signal A, and notifies the reset capability to the transmitting facsimile machine 1 1 by a signal B. The transmitting facsimile machine 1 1 switches the line density from the initial 15.4 lines/mm, for example, to 3.85 lines/mm in response to the signal B. Hence, the receiving facsimile machine 1 2 makes the memory reception using the memory 15 with the line density of 3.85 lines/mm. Starting from the next page, the memory 15 can store a number of pages which is four times that of before, for example, with respect to the remaining memory region. FIG.5 shows a sequence diagram of the first embodiment. In FIG.5, those parts which are the same as those corresponding parts in FIG.2 are designated by the same reference numerals, and a description thereof will be omitted. In FIG.5, the procedure is the same as the conventional procedure shown in FIG.2 up to the point where the image (Pix) is transmitted to the receiving side with the line density of 15.4 lines/mm. Thereafter, if it is detected that the remaining memory region corresponds to only 2 pages although 5 more pages of the document are yet to be transmitted, for example, notification (NSF, DIS) of the resetting of the capability is made by a procedure (MPS) after receiving the page which is being received by the memory reception. For example, the line density is switched from 15.4 lines/mm to 3.85 lines/mm and the capability notification is made with respect to the transmitting side. At the transmitting side, 3.85 lines/mm is specified similarly to a transmission command (NSS) of the pre-procedure based on the new capability notification. Synchronism is achieved by a training signal (TCF), and the remaining image (Pix) is transmitted from the transmitting side with the line density of 3.85 lines/mm if an answer (CFR) is received from the receiving side. Thereafter, the reception ends similarly as in the case of the after-procedure (EOP, MCF, DCN) of the conventional procedure. In this case, the remaining memory region amounts to 2 pages before the switching of the line density, but the remaining memory region after the switching of the line density becomes 8 pages which is sufficient to cover the 5 more pages which are to be received. FIG.6 is a flow chart for explaining the operation of the first embodiment. When the memory reception starts, a step S1 detects the remaining memory region by the remaining memory region detecting part 15-1. A step S2 detects by the reception line density automatic switching part 10-1 whether or not the remaining memory region which is detected is smaller than a predetermined region. For example, if it is detected that the remaining memory region amounts to only 2 pages with 15.4 lines/mm, the decision result in the step S2 becomes YES, and a step S3 switches the line density from 15.4 lines/mm to 3.85 lines/mm, for example, by the reception line density automatic switching part 10-1, and makes the capability notification with respect to the transmitting side. If the decision result in the step S2 is NO or, after the step S3, a step S4 carries out at the transmitting side the pre-procedure which is in accordance with the capability notification from the receiving side, and a step S5 makes the memory reception at the receiving side. A step S6 detects whether or not the end of all pages (EOP) is received at the receiving side. The process returns to the step S1 if the decision result in the step S6 is NO, and the memory reception process ends if the decision result in the step S6 is YES. Next, a description will be given of a second embodiment of the facsimile machine according to the present invention. FIG.7 shows an essential part of the second embodiment, and FIG.8 is a flow chart for explaining the operation. In FIG.7, those parts which are the same as those corresponding parts in FIG.3 are designated by the same reference numerals, and a description thereof will be omitted. In FIG.7, the main control part 10, the communication control part 20, a line density switch judging part 33 and a memory control part 35 are coupled to a bus 32 of an MPU 31. The memory 15 is coupled to a bus 32 via the memory control part 35, and a memory region calculating part 34 is coupled between the line density switch judging part 33 and the memory control part 35. At the time of the memory reception, the main control part 10 at the receiving side stores the data which is received via the line L and the communication control part 20 into the memory 15 by the memory control part 35. When the reception of data amounting to 1 page ends, the main control part 10 requests the line density switch judging part 33 to judge whether or not the switching of the line density is to be made for the next page. The line density switch judging part 33 requests the memory region calculating part 34 to calculate the memory region. The memory region calculating part 34 calculates a used memory region K of the memory 15 which is used to store the data up to the present page and a remaining memory region L within the memory 15, based on start and end addresses of the memory region of the memory 15 and the end address of the data which is already stored. These addresses are obtained from the memory control part 35. The memory regions K and L are respectively stored in storage parts (K) and (L) within the memory region calculating part 34. If L<K, there is a possibility that the remaining memory region becomes zero during the reception of the next page. Hence, the line density switch judging part 33 makes access to the storage parts (K) and (L) within the memory region calculating part 34 and instructs the main control part 10 to switch the line density if L<K. As a result, the main control part 10 switches the line density with respect to the communication control part 20. On the other hand, the communication control part 20 changes the line density in the procedure. In other words, the communication control part 20 makes the capability notification to the transmitting side, which which capability notification is based on the line density after the change for the second time. If the memory capacity required by the next page is denoted by M for the case where the line density is 15.4 lines/mm, the memory capacity used in the memory 15 becomes 1/2 if the line density is changed to 7.7 lines/mm, and the memory capacity is changed to 1/4 if the line density is changed to 3/85 lines/mm. A more detailed description will be given of the operation of the second embodiment, by referring to FIG.8. A step S11 carries out the pre-procedure described above, and a step S12 starts the memory reception. A step S13 detects whether or not the next page exists, and the process ends if the decision result in the step S13 is NO. On the other hand, if the decision result in the step S13 is YES, a step S14 calculates the used memory region K and the remaining memory region L. A step S15 decides whether or not L≥K. If L<K and the decision result in the step S15 is NO, the possibility of the remaining memory region L becoming zero during the reception of the next page with the present line density is high, and the line density is thus changed. A step S16 decides whether or not the line density is 15.4 lines/mm, and a step S17 decides whether or not the line density is 7.7 lines/mm if the decision result in the step S16 is NO. If the decision result in the step S17 is YES, a step S18 changes the line density to 3.85 lines/mm, and a step S19 notifies this change of the line density to the communication control part 20. If the decision result in the step S15 is YES, the process returns to the step S11 if the decision result in the step S17 is NO or after the step S19. When the decision result in the step S16 is YES, a step S21 decides whether or not L≥K/2. If the decision result in the step S21 is NO, a step S22 changes the line density to 3.85 lines/mm and the process advances to the step S19. On the other hand, if the decision result in the step S21 is YES, a step S23 changes the line density to 7.7 lines/mm and the process advances to the step S19. According to this embodiment, the line density is changed in steps, and the reception can be made with the highest possible line density. Further, the present invention is not limited to these embodiments, but various variations and modifications may be made without departing from the scope of the present invention. As described above, according to the facsimile machine of the present invention, the capability is notified again automatically and the line density is switched to a value lower than the initial line density when the remaining memory region becomes small and the possibility of the remaining memory region becoming zero during the memory reception becomes high. Generally, the transmission is made with a high density from the transmitting side, and the image data quantity is large. For this reason, when the present invention is applied to a facsimile machine which frequently makes an automatic reception at night when no person can attend the machine and frequency makes a memory reception because of the relatively small amount of paper the machine can accommodate, it is possible to minimize the possibility of the remaining memory region becoming zero during the memory reception, and the image data from the transmitting side can be received by the memory reception as much as possible, making the machine extremely practical and useful. Of course, if the transmitting side transmits with the low line density from the start, the picture quality becomes unnecessarily poor and this is undesirable.

Claims: A facsimile machine having a memory reception mode in which image data received from a transmitting facsimile machine during an automatic reception is temporarily stored in memory means (15), comprising: detecting means (15-1, 34), coupled to said memory means (15), for detecting a remaining memory region which is usable within said memory means; image data density switching means (10-1, 34) for instructing switching of the image data density if the remaining memory region detected by said detecting means is less than or equal to a predetermined region; and control means for making a capability notification to the transmitting facsimile machine in a pre-procedure during the automatic reception; characterised in that said image data density switching means is a line density switching means which is operable prior to transmission of each page of said image data to switch the line density of transmission; and in that said control means is operable to automatically notify the capability again to the transmitting facsimile machine in response to the instruction from said line density switching means so as to receive the image data from the transmitting facsimile machine with a line density which is lower than an initial line density at the time when the automatic reception is started. The facsimile machine as claimed in claim 1, characterized in that the detecting means (15-1, 34) calculates the remaining memory region based on start and end addresses of a memory space of the memory means (15) and an end address of an image data which is already stored in the memory means. The facsimile machine as claimed in claim 1, characterized in that the detecting means (15-1, 34) calculates and stores a used memory region K of the memory means (15) which is already used and a remaining memory region L of the memory means, and the line density switching means (10-1, 33) outputs the instruction to switch the line density if L<K. The facsimile machine as claimed in claim 1, characterized in that the line density switching means (10-1, 33) instructs the switching of the line density to a minimum line density when the remaining memory region is less than or equal to the predetermined region. The facsimile machine as claimed in claim 1, characterized in that the line density switching means (10-1, 33) outputs the instruction to reduce the line density in steps depending on the remaining memory region when the remaining memory region is less than or equal to the predetermined region.

Inventors: TAKAHASHI YOSHIAKI, TAKAHASHI, YOSHIAKI, TAKAHASHI, YOSHIAKI, 4-2-11-106, KOUNAN
Applicants: MATSUSHITA GRAPHIC COMMUNIC, MATSUSHITA GRAPHIC COMMUNICATION SYSTEMS, INC.
Application year: 1991
Main classification: H04N1
IPC codes: H04N1