Key telephone system
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     This invention relates to a key telephone system comprising a key station unit and a plurality of key telephone sets connected thereto, and more particularly to a key telephone system wherein various operating data stored in a memory device of the key station unit can be set or altered by using keys of at least one of specific key telephone sets among the plurality of telephone sets. 
     2. Description of the Prior Art 
     There has been a known key telephone system in which various operating data stored in a memory device of a key station unit are set or altered by using a key(s) of a specific key telephone set among a plurality of telephone sets. In such a telephone system, for setting the operating data, various data regarding specific operation items are assigned to respective keys of the specific telephone set so as to set respective data according to the operation of the keys. For example, when 20 keys each associated with a luminous display device using LED are provided and when it is desired to set the office lines through which calling can be made from the 10th key telephone set, the setting is made in the following manner. 
     At first, a number, for example 3, representing an operation item corresponding to the setting of an office line capable of calling from the specific key telephone set, is inputted by a dial key. Then, a number, 10, representing that the data setting is executed with respect to the 10th key telephone set, is inputted by the dial key. Under this condition, the LED display device associated with a key corresponding to an office line capable of calling is lighted, while the LED display devices corresponding to other keys are not lighted. In other words, the office line assigned to a key associated with a lighted LED display device is capable of calling, whereas office lines assigned to keys associated with extinguished LED display devices are incapable of calling. When a key associated with a lighted LED display device is depressed, the LED display device is turned OFF. On the other hand, when a key associated with an extinguished LED display device is depressed, the display device is turned ON. In this manner, by the operation of the keys, the setting is changed from the state capable of calling to the state incapable of calling, and vice versa. 
     When the fact that the necessary data has been set is confirmed by the LED display device, a key, for example, a holding key &#34;HOLD&#34; for inputting data representing the fact that the setting has been completed is depressed. Thus, the setting of operating data for an office line capable of calling from the 10th telephone set is completed. 
     In the above described example, according to the prior art key telephone system, a maximum of only 20 of the data setting is possible corresponding to 20 keys provided in the specific key telephone set. 
     In the key telephone system of this type, the number of keys that can be used for the data setting of each key telephone set, that is, the number of keys associated with respective LED display devices has decreased in recent years for the purpose of the cost down of the system and easiness of the operation, and due to the fact that the number of office lines utilized for respective telephone set is generally smaller than that of the office lines utilized in the entire system. As a result, it often becomes impossible to set all data by a key telephone set utilized for the data setting. 
     SUMMARY OF THE INVENTION 
     Accordingly, it is an object of this invention to provide an improved key telephone system capable of setting operating data regardless of the number of keys, such as office line keys provided for each key telephone set. 
     According to this invention, there is provided a key telephone system comprising a key station unit and a plurality of key telephone sets connected to the key station unit wherein keys of at least one of specific telephone sets are used to set various operating data stored in memory means in the key station unit characterized in that there are provided judging means which judges as to whether or not the specific key telephone set can set at a time all data of one selected operation item by a key of the specific key telephone set, and processing means which changes the setting of respective data of the operation items for a plurality of data sets obtained by dividing the entire data when the judging means cannot set at a time the entire data of the operation items. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     In the accompanying drawings: 
     FIG. 1 is a block diagram showing the general construction of the key telephone system embodying the invention; 
     FIG. 2 shows one example of the key telephone set utilized in the key telephone system shown in FIG. 1; 
     FIG. 3 shows one example of a key array of the key telephone set shown in FIG. 2; 
     FIG. 4 is a performance block diagram useful to explain the key telephone system of this invention; 
     FIG. 5 shows one example of the setting of the operation data according to this invention; 
     FIGS. 6 through 8 are flow charts for explaining the operation of the key telephone system according to this system; 
     FIGS. 9 through 11 show other examples of the setting of the operation data according to this invention. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENT 
     The key telephone system shown in FIG. 1 comprises a key station unit 61, a plurality of key telephone sets 62 1  through 62 m  and office lines 63 1  through 63 n . The key telephone sets 62 1  through 62 m  are respectively connected to key telephone set interfaces 64 1  through 64 m  installed in the key station unit 61, while office lines 63 1  through 63 n  are connected to office line interfaces 65 1  through 65 n  in the key station unit. The key telephone set interfaces 64 1  through 64 m  and office line interfaces 65 1  through 65 n  are interconnected by a cross-point 66. There is provided a control unit 67 including a main control circuit 68 which is connected to the key telephone interfaces 64 1  through 64 m , office line interfaces 65 1  through 65 n  and the cross-point 66 through a signal line 69. The main control circuit 68 is constituted by a processor and is connected to a ROM 71 and a RAM 72 via an internal bus line 70. Further, data for switching between an operation data set mode and an origination processing mode (normal operation mode) is applied to the main control circuit 68 through a transfer switch 73. The ROM 71 stores programs, etc. utilized in the main control circuit 68, while the RAM 72 stores the operation data or the like. The main control circuit 68 receives key operating data, and hook switch ON.OFF data from the key telephone sets 62 1  through 62 m  and sends out the data displayed by the luminous diode display devices. Furthermore, the main control device 68 receives ringing data via office line interfaces 65 1  through 65 n  and the signal line 69 and sends out the selection number data. The main control circuit 68 controls the cross-point 66 via signal line 69 so as to mutually connect the key telephone set interfaces 64 1  through 64 m  to enable local talkings. Further, the main control circuit 68 interconnects key telephone set interfaces 64 1  through 64 m  and office line interfaces 65 1  through 65 n  to enable office line talkings. 
     Referring to FIG. 2 a key telephone set 62 1 , one of the key telephone sets 62 1  through 62 m , comprises dial keys 3, function keys 5 such as a hold key &#34;HOLD&#34;, a microphone key &#34;MIC&#34; and a loudspeaker key &#34;SPKR&#34; and luminous diode display devices 6 corresponding to the office line keys. As shown in FIGS. 3, the display devices 6 is constituted by a local line key &#34;INT&#34;, local line keys &#34;C/01&#34; through &#34;C/06&#34;, a call rejection key &#34;DND&#34;, a flash key &#34;FLSH&#34; and luminous diodes display devices a through j corresponding thereto. 
     FIG. 4 is a block diagram showing the construction and performance of the control unit 67 shown in FIG. 1. As shown, the control unit 67 comprises judging means 51 which judges whether or not a data input is sent from a key telephone set which is provided with pairs of keys that cannot set various operation data at a time and corresponding luminous diode display devices with respect to respective operation items X 1 , X 2 , X 3 , . . . For example, a key telephone set utilized to set the operation data outputs data (flag) showing that whether the key telephone set can simultaneously set various operation data or not when the data is inputted when the key is operated. Judging means 51 performs its judgment based on this data each time an operation item X i  arrives at. The data produced by a key has a redundancy and its one bit is used as the flag. The judging means 51 is provided with a memory table for number data No of a key telephone set interface for setting the operation data so as to check whether the data received at the time of setting the operation data is inputted from a key telephone set connected to a specific key button telephone interface or not, this preventing the alternation of the operation data made by a setter other than an authorized operation data setter. 
     When supplied with an operation data from a button telephone set connected to a given key telephone set interface, the judging means judges that whether the operation data of that key telephone set can be set at a time or not and outputs the data representing the result of judgment. Processing means 54 comprises a memory table 55 storing the operation data for respective operation items. The processing means 54 is inputted with data Xi representing the operation items, judgment result data 53, and hook switch ON.OFF data 56 which are specific data. The processing means 54 is connected to a key telephone set 62 utilized for setting the operation data. Furthermore, the processing means 54 is supplied with data Xi-representing the operation items, and the judgment result data 53 so that when the judgment data 53 shows a simultaneously settable state, the processing means 54 sends operation data of the memory table 55 corresponding to data Xi representing the operation items to the key telephone set 62 so as to display the set state of the present operation data on the luminous diode display devices. When a key of the key telephone set 62 is operated, the processing means 54 changes the setting of the operation data in the memory table 55 in accordance with the received data and sends the operation data after changing to the key telephone set 62. The processing means 54 is given with data Xi representing the operation items and the judgment result data 53 and when the judgment result data 53 shows a state in which it is impossible to set simultaneously, the processing means divides the operation data stored in the memory table 55 corresponding to the data Xi representing the operation items based on the ON.OFF data and then sends the divided data to the key telephone set 62, thus displaying a portion of the set state of the present operation data on the luminous diode display devices. Upon operation of a key of the key telephone set 62, the processing means 54 changes the setting of a portion corresponding to the operation data stored in the memory table 55 in accordance with the data, and the processing means 54 also sends to the key telephone set 62 the operation data after changing to also change the display on the luminous diode display devices. At this time, when there is a change in the ON.OFF data, the processing means 54 executes similar processing to that described above by using remaining operation data of the same operation items. When supplied with the operation data of the hold key &#34;HOLD&#34; (included in the function keys 5 shown in FIG. 21) the processing means 54 positively sets the operation data regarding the operation items. 
     In the memory table 55 are shown the operation data for the operation item X 2 , for example, and the operation item X 2  sets the office lines through which calling signals can be transmitted, the operation item X 2  comprising 20 data of from A through T, and representing the data regarding the 10th telephone set. In this case, the processing means 54 processes the operation data by dividing them into two parts or sets as shown by broken lines. More particularly, when the ON.OFF data 56 shows an on hook state, the operation data of the lower half of the memory table 55 shown in FIG. 5A are displayed, whereas when the ON.OFF data 56 shows an off hook state, the operation data of the upper half of the memory table 55 shown in FIG. 5B are displayed. In each display state, change of the setting of the operation data is made possible by the operation of a key corresponding to a luminous diode display device. 
     As above described, for the operation items that cannot be set at a time by the key of a key telephone set, the display of the operation data and change of the setting of one operation item are made separately by the operation of a hook switch. 
     The data setting changing operation of the key telephone system will be described with reference to the flow charts shown in FIGS. 6 through 8. The program corresponding to these flow charts are stored in the ROM 71 of the control unit 67 shown in FIG. 1. 
     As shown in FIG. 6, when a source switch, not shown, of the key telephone system is closed, at step 101, the main control circuit 68 executes initialization. Then at step 102, the main control circuit 68 takes in the operation data of the transfer switch 73, and at step 103 a check is made as to whether the operation data is in a set mode (ON) or not. When the result of check is NO, at step 104, the main control circuit 68 takes in the data and then at step 105, a check is made as to whether there is data or not. When there is the data, at step 106, an origination processing, for example, a local line calling, an office line origination, an office line ringing, etc., are executed based on the taken in data. When the step 106 is executed, or when the result of check executed at step 105 is NO, the program is returned to step 102 to repeat the steps 102 through 106. 
     When the result of check at step 103 is YES, that is, when the transfer switch 73 is ON, at step 107 in the operation mode or set mode, the main control circuit 68 takes in the data. Then, at step 108 a check is made as to whether there is data or not. When the result of check is YES, at step 109 a check is made as to whether the input is sent from a specific key telephone set interface or not. If the input is not an input from a predetermined specific key telephone interface or interfaces, there is a probability that the change of the setting of the operation data might be made by an error. In such case, the program is returned to step 102 without executing the processing based on the data taken in. When the result of check at step 109 is YES, at step 110, the main control circuit 68 confirms that the data taken in is the data showing the operation data. When the result of check at step 110 is YES, at step 111, a check is made as to whether the setting can be made at a time or not based on the flag of the data representing the operation items. At step 109, the main control circuit 68 detects the number data of a key telephone set interface connected to a key telephone set utilized for setting the operation data, and at step 111 detects the flag in the data representing the operation items so that the main control circuit 68 performs as the judging means 51 shown in FIG. 4. 
     At step 111, when it is judged that it is possible to set the data at a time, the program is advanced to a routine 200 for displaying all operation data and changing the setting. At step 111, when it is judged that it is impossible to set at a time, the program is advanced to a routine 300 for separately displaying the upper and lower halves of the operation data shown in the memory table 55 in FIG. 4 and for changing the divided settings. 
     FIG. 7 shows the flow chart of routine 200. At step 201, the main control circuit 68 sends to a key telephone set, now setting the operation data, all operation data regarding one operation item designated previously for displaying the set state on the luminous diode display device. Then at step 202, the main control circuit 68 checks whether the hold key &#34;HOLD&#34;, that is, a key that determines the set state of the operation data, has operated or not. When the result of the check is NO, at step 203, the main control circuit 203 checks whether a key has been operated for the purpose of changing the operation data. When the result of check executed at step 203 is YES, at step 204, the main control circuit 68 rewrites the operation data in RAM 72. After that, the program is returned to step 201 at which the set states of the operation data following the rewriting are displayed on the luminous diode display devices. When the result of check at step 202 is YES, at step 205 the main control circuit 68 confirms the setting of the operation data and then the program is returned to step 102 shown in FIG. 6. 
     FIG. 8 shows the flow chart of routine 300 shown in FIG. 6. More particularly, at step 301, the main control circuit 68 judges that the handset has been hook off or not according to the ON.OFF data of the hook switch. When the result of this judgment is YES, at step 302, the operation data of the fore half of one operation item designated previously is sent to a telephone set now setting the operation data for displaying the set state on the luminous diode display device. If the result of judgment at step 301 is NO, at step 303 the operation data of the latter half of one operation item designated previously are sent to a telephone set now setting the operation data for displaying the set operation state on the luminous diode display device. 
     At the succeeding steps 304 through 307, the main control circuit 68 changes the setting of the operation data of the fore or latter half, but its operation is the same except that the accessed regions of RAM 72 are different. At step 304, the main control circuit 68 checks whether the hold key, that is, a key that confirms the set state of the operation data has been operated or not. When the result of this check is NO, at step 305, the main control circuit 68 judges whether a key for changing the operation data has been operated or not. When the result of check at step 305 is YES, at step 306, the main control circuit 68 rewrites the operation data in RAM 72. After that, the program is returned to step 301 at which a judgment is made as to whether a handset is hooked on or hooked off, and at step 302 or 303 the state of setting of the rewritten operation data is displayed on the luminous diode display device. At step 304, when it is judged that the hold key &#34;HOLD&#34; has been operated, at step 307, the main control circuit 68 confirms the operation data. Then the program is returned to step 102 shown in FIG. 6. One example of the setting operation of the operation data according to this flow chart is shown in FIG. 5. 
     With the procedures described above, it is possible to set the operation data regardless of the number of pairs of the keys and the display devices. 
     Although in the embodiment described above, the data showing whether it is possible to set the data at a time was sent from a key telephone set utilized to set the operation data, it is also possible to register in the key station unit the number of pairs of the keys of a key telephone set utilized for setting the operation data and the display devices for judging whether it is possible to set at a time for each operation item. 
     Further, in the foregoing embodiment, an operation item corresponding to a value 3 that sets the office line through which the 10th telephone set can transmit signals was described, the settings of other operation items can be made similarly. 
     FIGS. 9A, 9B and 9C show one example of changing the setting of the data regarding the operation data that transfers between a multifrequency system and a dial pulse system of the office lines contained in the system. In this case, 12 office lines are divided into 4 sets COU1 through COU4 each including three office lines so that the change of the setting is made for respective sets of three office lines. FIGS. 9A, 9B and 9C show a case in which the setting of office lines of the set COU is changed from the multifrequency system to the dial pulse system. The operation data item effecting the setting of the dial pulse system or the dial pulse system corresponds to a value &#34;04&#34;, whereas in the case of the multifrequency system, a luminous diode corresponding to a key of the office line is lighted. On the other hand, in the case of the dial pulse system, the luminous diode corresponding to the key of the office line is turned OFF. 
     At first the data &#34;04&#34; corresponding to the operation item is set by a dial key. Then the state of lighting of the luminous diodes corresponding to respective keys would be shown by FIG. 9A which shows the setting states of the first to 6th office lines corresponding to sets COU1 through COU2. This state shows that the office lines belonging to the set COU1, that is the first to third office lines are set to the multifrequency system. Then when the handset is hooked off to open the hook switch, the state of lighting of the luminous diode changes to that shown in FIG. 9B which shows the states of settings of the 7th to 12th office lines corresponding to the sets COU3 through COU4 and that office lines belonging to set COU4, that is the 10th to 12th office lines are set to the multifrequency system. When key &#34;C/04&#34; is depressed for the purpose of transferring the 10th to 12th office lines belonging to the set COU4 from the multifrequency system to the dial pulse system the states of respective luminous diodes become to the state shown in FIG. 9C showing that the office lines belonging to the set COU4 have been changed to the dial pulse system. Then the hold key HOLD is depressed so that the data of the operation data item are ensured. 
     In the foregoing embodiment, the signal of a hook switch which becomes ON or OFF according to the state of a handset is utilized to enable the data setting in two groups of the operation item. When setting the data of operation items, the method of dividing the data by utilizing a signal from the hook switch is advantageous because the state of the hook switch can readily be confirmed with eyes based on the state of the handset. It should be understood that in this invention, a similar construction can be made by utilizing a signal from an element other than the hook switch. 
     FIGS. 10A and 10B show a modification in which each data of the setting operation item is divided and then set by utilizing a microphone key &#34;MIC&#34;, one of the function key 5 shown in FIG. 2. In this case, a luminous diode is disposed near the microphone key &#34;MIC&#34; for visually confirming the operating state of the microphone key &#34;MIC&#34;. For example, when dial keys 3 and 10 are depressed for the purpose of changing the office line through which the 10th key telephone set can transmit signals, the states of lighting of the luminous diodes of respective keys would be shown by FIG. 10A. Under this state, the luminous diode near the microphone key &#34;MIC&#34; is turned OFF. Then when the microphone key &#34;MIC&#34; is depressed, the luminous diode near it is turned ON, so that the states of lighting of the luminous diodes near respective keys would be shown by FIG. 10B. As above described, after operating respective keys at respective states corresponding to the operating state of the microphone key &#34;MIC&#34;, and then depressing the hold key &#34;HOLD&#34; the settings of the data of a total of 20 can be changed. 
     FIGS. 11A through 11D show a modification in which each data is divided and then set by combining a hook switch and a microphone key &#34;MIC&#34;. In this case, by combining the states of the hook switch and the microphone key, it is possible to divide the data to be set into four sets at the maximum. But in the following, the number of divisions is three. In the example shown in FIGS. 11A through 11D, the change of settings shown in FIG. 7 is possible when 5 keys are used. For example, when dial keys &#34;0&#34; and &#34;4&#34; are depressed, the content of the setting of a portion of sets COU1 and COU2 can be confirmed as shown in FIG. 11A. Under this state, when the handset is hooked OFF, the contents of settings of a portion of the set COU2 and a portion of set COU3 can be confirmed. As the microphone key &#34;MIC&#34; is depressed under this state, the contents of the settings of a portion of the set COU3 and of the set COU4 can be confirmed. Under the states shown in FIGS. 11A, 11B and 11C, when a suitable key is depressed, the contents thereof can be changed. When the key &#34;C/02&#34; is depressed under the state shown in FIG. 11C, this key will produce a signal that turns OFF a luminous diode corresponding to &#34;4&#34;. After that, as the hold key &#34;HOLD&#34; is depressed, the office lines belonging to the set COU4 are changed from the multifrequency system MF to the dial pulse system. 
     Although in the foregoing embodiment the operation data was set by using a specific key telephone set, any one of a plurality of key telephone sets can be used.