Abstract:
A facsimile apparatus which (1) sends a predetermined dial signal to a telephone line and (2) calls an attached telephone set. The predetermined dial signal is sent at a predetermined time, and the call to the attached telephone set is made after the predetermined dial signal has been sent to the telephone line.

Description:
This application is a continuation of application Ser. No. 07/859,811 filed Mar. 30, 1992 now abandoned. 
    
    
     BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     This invention relates to a fascimile apparatus to which a telephone set can be connected. 
     2. Description of the Related Art 
     A telephone set (subset) connected to a facsimile apparatus can usually perform conversation via a telephone line. Some recent facsimile apparatuses have a function of ringing a subset to call a person present in the vicinity of the subset (a so-called FAX/TEL switching function), or connecting to and starting a message-leaving telephone by functioning as a subset (a so-called message-leaving telephone connection function). 
     Some facsimile apparatuses also have an alarm function, i.e., for example, they function as an alarm clock or the like, or a timer transmission function, i.e., they perform transmission by automatically dialing at an assigned time. 
     In the above-described conventional facsimile apparatuses, however, a simplified exchange function, a timer function and an automatic dialing function operate independently. No attempt has been made to provide a more convenient facsimile apparatus by combining these independent functions. 
     Particularly, the alarm function is frequently used to wake up a person. When the awoken person wants to know the day&#39;s weather forcast or traffic status, it is more convenient for him to utilize a telephone service than to wait until a television or radio program reports a weather forcast or traffic status. This holds particularly true in a time zone where such programs are less frequent. Recent telephone services provide an increasing amount of information, such as music, &#34;one&#39;s fortune of the day&#34; and the like, in response to diverse tastes and preferences of users. As a result, the use of such services has been increased. 
     However, when a person is awoken by the alarm function and intends to utilize one of the above-described telephone services, he must go through the trouble of dialing a telephone number. 
     SUMMARY OF THE INVENTION 
     It is an object of the present invention to provide a facsimile apparatus which has a novel function. 
     It is a further object of the present invention to make it easier for a user to utilize a telephone service. 
     It is still a further object of the present invention to provide a facsimile apparatus which dials a predetermined telephone number at a predetermined time and subsequently calls a subset. 
     It is still another object of the present invention to provide a facsimile apparatus which dials a predetermined telephone number at a predetermined time and calls a subset at a second predetermined time. 
     Other objects, features and advantages of the invention will become more fully apparent from the following detailed description of the preferred embodiments taken in connection with the accompanying drawings. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram showing a principal part of a facsimile apparatus according to an embodiment of the present invention; 
     FIG. 2 is a flowchart of an operation of the facsimile apparatus of the embodiment shown in FIG. 1; and 
     FIG. 3 is a flowchart of an operation of another embodiment of the present invention. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     FIG. 1 is a block diagram showing the configuration of a facsimile apparatus according to one embodiment of the present invention. In FIG. 1, a recording unit, a reading unit, a display unit and other well known units in a facsimile apparatus are not illustrated. 
     A clock unit 1 can read the current time. A memory unit 2 can read and write assigned times and telephone numbers. A dialer unit 3 transmits a selection signal to a telephone line. A calling signal generation unit 4 rings the calling bell of a telephone set. A current sensor unit 5 detects current flowing through the connected line. A relay unit 6 switches between contacts 6a and 6b for connection to a telephone line 10. A relay unit 7 switches between contacts 7a and 7b for connection to a telephone set 11. A modem unit 8 performs facsimile communication. A CPU (central processing unit) 9 controls the above-described units. The telephone line 10 is connected to the facsimile apparatus. The telephone set 11 is directly connected to the fascimile apparatus, that is, it comprises a subset. There is also shown a keyboard 12. 
     In a standby state, the relay units 6 and 7 are connected to the contacts 6a and 7a, respectively. 
     The way in which the CPU 9 controls the other units will now be explained with reference to a flowchart shown in FIG. 2. 
     When the data obtained by subtracting 30 seconds from the time data previously stored in the memory unit 2 by using the keyboard 12 coincides with data of the current time in the clock unit 1, the CPU 9 starts step S21 of the flowchart. In step S22, the CPU 9 reads a telephone number previously stored in the memory unit 2 (the telephone number of a telephone service), connects the relay unit 6 to contact 6b, and transmits a selection signal from the dialer unit 3 to the telephone line 10. After transmitting the signal, in step S23, the telephone line 10 is kept caught while the relay unit 6 is connected to contact 6b. In the case of a telephone service, the connection is completed in a few seconds, and voice of the telephone service reaches contact 6b through the telephone line 10. 
     In step S24, the CPU 9 connects the relay unit 7 to contact 7b, and transmits a calling signal from the calling signal generation unit 4 to the subset 11. This calling signal has a period of three seconds, i.e., 0 V (volt) for two seconds and 150 V for one second. The subset 11 repeats a period of no sound for two seconds and bell ringing for one second to call the user present in the vicinity of the subset 11. During this time period, in step S25, the CPU 9 monitors if the subset 11 is off-hook, using the current sensor unit 5. When the subset 11 is in an on-hook state, since no current flows in the line, the current sensor unit 5 is not activated. 
     If the subset 11 is in an off-hook state, current flows in the line when the calling signal generation unit 4 transmits 150 V, the current sensor unit 5 is thereby activated, and the CPU 9 detects that the subset 11 has been taken off-hook. If an off-hook state is not detected, the process proceeds to step S26, where the CPU 9 checks whether or not a time limit of 60 seconds has elapsed. If 60 seconds have not elapsed, the process returns to step S25, where the subset 11 is monitored again. If an off-hook state is detected within 60 seconds after the ringing at the subset 11, the process proceeds to step S27, where the CPU 9 stops sending the calling signal from the calling signal generation unit 4. 
     Subsequently, in step S28, the relay unit 7 is first connected to contact 7a, and the relay unit 6 is then connected to contact 6a. It is thereby possible to hear a voice service, such as a telephone service or the like, coming from the telephone line 10, through the handset of the subset 11. In step S28, the facsimile apparatus is in a standby state. 
     After hearing the voice service, the telephone line is opened by returning the handset of the subset 11 to the on-hook state, whereby call reception from the telephone line 10 and calling from the subset 11 to the telephone line 10 is possible. 
     Next, an explanation will be provided of the case wherein the subset 11 is not taken off-hook within 60 seconds in the loop of steps S25 and S26. When the lapse of 60 seconds has been detected in step S26, the process proceeds to steps S27 and S28 in the same manner as described above, where the CPU 9 stops sending the calling signal, and connects the relay units 7 and 6 to contacts 7a and 6a, respectively. Since the subset 11 is in an on-hook state, the facsimile apparatus is in a standby state while opening the telephone line. 
     In the present embodiment, the time needed for dialing is set to 30 seconds or less, and step S21 is executed 30 seconds before an assigned time. In an improved embodiment, however, the CPU 9 calculates the number of digits of the telephone number stored in the memory unit 2, a pause time included in the telephone number, and the time corresponding to whether the selection signal comprises pulses or tones, whereby the CPU 9 sets the time needed for dialing to a time which is optimum for every case. By such an approach, the time for executing step S24 becomes more exact with respect to the time desired by the user. 
     Furthermore, by executing step S22 30 seconds before an assigned time, determining whether the assigned time has lapsed by referring to the clock unit 1 between steps S23 and S24 (step S29), as shown in FIG. 3, and executing step S24 when the time assigned by the user has lapsed, it is possible to ring the bell of the subset 11 exactly at the assigned time. 
     It is also possible to combine the above-described embodiments. That is, the time needed for dialing may be calculated, process S22 may be executed earlier than the assigned time by the amount of the calculated time, and process S24 may be executed after the determination in process step S29. 
     If the main body of a cordless phone is connected as the subset 11, the degree of freedom in placing the handset of the cordless phone increases, since wiring work is not needed. Accordingly, the handset may be placed in a work area to be used as a usual telephone set, and may be placed in a bedroom when it is to be used as an alarm clock. Thus, the alarm function of ringing the subset is effectively utilized. 
     The present invention may also be applied to a G4 facsimile apparatus. 
     While the present invention has been described with respect to what are presently considered to be the preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments. The present invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.