Embodiment
Fig. 1 shows the example that can realize no KSU telephone system of the present invention.This system comprises a plurality of phone 10-1 to 10-n, and they interconnect each other, and link past/return telephone wire 11-1 to 11-n in a central office.System 1 also comprises a voice mail server 15 and a caller ID (sign) server 19.Caller ID server 19 can be handled caller's id information of receiving.The speech letter of voice mail server 15 energy treatment systems 1.
In the present embodiment, each the phone 10-1 to 10-n in the system 1 needs to link to each other with 11-2 with line 11-1.This is because line 11-1 is used for control data communication, and line 11-2 is used for the voice communication between the phone, hereinafter will do more detailed the explanation to this.
Fig. 2 shows the hardware block diagram of one of representative phone 10-1 to 10-n shown in Figure 1.Each phone 20 comprises a line interface circuit 21, and it can be linked on 4 pairs of telephone wires selecting from circuit 11-1 to 11-n shown in Figure 1.Every couple of telephone wire 1-4 represents a pair of TR tip and ring line.The function of line interface circuit 21 provides circuit and sets and the line status sensing.It also provides the circuit between 4 telephone wires to switch and bridge joint, to realize for example conference capability.
In addition, phone 20 also comprises a RF (radio frequency) part 25.RF part 25 comprises the circuit 11-2 that a transceiver circuitry 22 is used to link multiloop loop system 1.Such as previously mentioned, the circuit 11-2 of system is designated as the communication media that voice communication is used in the system, as is used for intercommunication mutually or paging between the 10-1 to 10-n of system.Transceiver 22 can send and be received in 3 of carrying on the circuit 11-2 by the voice-grade channel of RF modulation and frequency multiplex.One of these voice-grade channels are used for the paging of half-duplex mode, intercom mutually and other two channels are used for full duplex.In Fig. 3 A, listed the example feature of these voice-grade channels.Suitable IC (integrated circuit) example that can realize transceiver 22 functions is the MC 13109 that can obtain from Motorola (Motorola).
Also have a transmitter 24 and 23 pairs of receivers to be used to realize data channel.As previously mentioned, this data channel is used for transmitting system control and signal data in the middle of phone 10-1 to 10-n and any other Additional servers (as voice mail server 15 and caller ID server 19).Summary shows the feature of sample data channel among Fig. 3 B.The maximum bitrate of data channel is used the Manchester coding in the scope of 2Kbps.The modulation and demodulation method is arrowband FSK (frequency shift keying).The suitable IC example that can realize receiver 23 functions is the MC3361 that can obtain from Motorola.Transmitter 24 can be by what realize based on the split circuit of VCO, and this is a technique known.
Audio transceiver 22 and data transmitting and receiving machine are monitored and control by RF microcontroller 26 23 and 24.Microcontroller 26 monitors the state of these transceivers and communicates by letter with the host microcontroller 29 of phone 20.The various transceivers that RF microcontroller 26 is also responsible in the RF part of phone 20 produce timing signals.The RF microcontroller also is responsible for the physics and the link level control of the data channel that carries on circuit 11-1.The suitable IC example that can realize RF microcontroller 26 functions is the TMP87C808 that can obtain from Toshiba (Toshiba).
Host microcontroller 29 monitors and controls the various functions of phone 20.It monitors and control circuit interface circuit 21 by line interface unit (LIU) microcontroller 28.The suitable IC example that can realize LIU microcontroller 28 functions is the TMP87C446N that can obtain from Toshiba.
Master controller 29 is the universal serial bus 31 and RF part 25 interfaces by being connected in RF microcontroller 26 also.Master controller 29 is also partly communicated by letter with the user interface of phone 20, as the keyboard 32 and the display 33 of phone 20.It also controls a voice IC 35 who links to each other with the telephone hand-set and/or the telephone headset of phone.In addition, host microcontroller 29 also monitors a handfree circuit 36, to realize the speaker phone functionality of phone 20.The suitable IC example that can realize master controller 29 functions is the TMP 87CM53F that can obtain from Toshiba.
Discussed as mentioned like that, the phone 10-1 to 10-n in the no KSU system 1 uses the data communication channel that carries on the circuit 11-1 of this system communicating to each other, thereby realizes the various characteristics of this system.This data channel is further divided by the time slot allocation scheme, is shown as the element 401 of Fig. 4.As shown in Figure 4, data channel is divided into 32 packet time slots and 3 " incorporating (join-in) into " (for example J) time slots.To discuss the function and application of these time slots below in more detail.
When the phone 10-1 to 10-n in the system 1 interconnects first and switches on, at first give site identity separately (ID) to each phone by system administration manager.Then these phones will be only with its oneself site identity time slot corresponding data information.For example, can give a site identity 5 to a phone.So this phone is broadcast data on time slot 5 only.Yet each phone in the system 1 will be at this data channel of all time monitorings, whether needs any data on the response data channel so that see it.
The element 402 of Fig. 4 demonstrates the general data pack arrangement of an agreement that realizes the principle of the invention.As shown in Figure 4, typical data comprise 9 headers, 6 order of the bit words, 6 positional operand 1,6 positional operands, 2,8 bit checks and, 1 position of rest and 1 bit check (guard) position.Encoded by RZ Manchester for every, and continue 500 microseconds.Fig. 5 is shown as the grammer of the various command that realizes that the principle of the invention may be used by native system.
When a phone in the native system during by initial power-up, it is in the internal clocking free-run state according to oneself.Then, each of phone 10-1 to 10-n will according to shown in Figure 6 synchronously and recognizer attempt to make the every other phone in own and the system 1 synchronous.
As shown in the step 601 of Fig. 6, a phone in system 1 also has been endowed after the site identity by initial power-up, and this phone will wait for a period of time, and for example 5 seconds, as shown in step 602.This wait period provides the time to allow another phone that may begin initialization procedure in the system 1 remove to finish initialization procedure.
In step 605, after waiting for the period, this phone sees whether there is any effective order in data channel with the monitoring data channel.Going all out to do one's duty regardless of personal danger the present can be observed by an effective header, for example the header as shown in the element 402 of Fig. 4.This show in the system 1 other phones work and also in system 1, be synchronized.
In case observe an effective order, so this phone will be regulated its free-running operation clock of realizing in the software of RF microcontroller 26, with synchronous, as shown in step 607 with the system 1 that brings into play function.This phone can be learnt current which time slot that is in of this system by the original address of observed data bag, because this address is corresponding to this timeslot number.In step 609, this initialization phone also will be broadcasted one and be incorporated message in one of J time slot 405-407 (as shown in Figure 4).Shown an example of incorporating order in the element 502 of Fig. 5.The purpose of incorporating message into is that it is present in this system now to other telephone-broadcasts.If this is incorporated message into and is not rejected message refuses in a time period as shown in step 611, then this initialization phone has successfully become the part of function system 1.Subsequently, shown in step 630, phone sends packet when the time slot that is assigned with occurs once more.
In step 613, if do not observe effective order in a certain amount of time, this initialization phone will suppose that then it is to attempt initialized first phone in the system.So this phone will be chosen one of J1 to J3 time slot randomly and go to broadcast one and incorporate order into, as mentioned in integrating step 609 discussed like that.Be broadcast in case this incorporates message into, then as shown in step 619, other telephone systems that may exist will be used this order that they itself are synchronized with this at first to carry out initialized phone.Then, as shown in step 630,, this can in the time slot of site identity, begin transmission corresponding to it just at first carrying out initialized phone.
In another aspect of this invention, the packet time slot of data channel shown in Figure 4 can be expanded or compress, so that the dynamically transmission of the control of accelerating system 1 and order data.The expansion of a time slot and/or compression are based on the data that whether sending data in this time slot and sending which kind of type in the system 1.
According to the present invention, in Fig. 8, provided a flow chart, it allows each phone in the native system dynamically to regulate a time slots section.As shown in the step 801 of Fig. 8, and such as previously discussed, in the system each phone of bringing into play function always at the monitoring data channel to find any relevant data-message.So whether any phone in the system 1 can for example exist an effective header to determine whether there is any packet in a time slot by observing.As previously discussed, as shown in Figure 4, an effective header can comprise 1 of 8 zero heel.
So, if observing in a particular time-slot, a phone in the native system do not have packet, then as shown in the step 805 of Fig. 8, this phone will be reduced to 11ms to this particular time-slot.On the other hand, when a packet occupies a time slot, then this phone will need to determine that further which kind of type this packet is, as shown in step 803 and 807.Particularly, as shown in step 807, this phone need determine whether this packet is a caller ID (ID) bag.
As shown in step 805, if this phone specified data bag is not a caller ID bag, then this time slot will remain on 50ms, as shown in the element 401 of Fig. 4.On the other hand, if packet is a caller ID bag, then this time slot will be expanded by following mode.
The caller ID bag is used to transmit the calling caller-identification information, and this information was handled by caller ID server 19, for showing on a phone of system 1.The case representation of caller ID bag is the element 505 of Fig. 5 and is shown among Fig. 9.In the present embodiment, the caller-identification information of being received is divided into more than a packet, thereby can be in the caller-identification information of the transmission of operand 2 fields in the packet more than 64.
Specifically, as shown in Figure 7, the operand 2 of the first caller ID bag 701 contains a numeral, points out will transmit how many bags for this particular caller identification information.For these multiple calls person who transmits as shown in Figure 7 identifies bag, in a single day each phone in the system determines sending the length that a caller ID bag just increases this time slot in a time slot, so that allow whole caller ID bags one after the other transmit, as shown in Figure 7.Specifically, each phone in the system will be a conventional bag slot length (for example 50+1ms shown in the element 402 of Fig. 2) expansion, and its spreading factor equals by the definite caller-identification information bag number of the operand 2 of the first caller ID bag 701 (being 701a).Like this, whole caller-identification information is transmitted continuously, need not to wait until the time slot in following one-period.So the agreement that constitutes according to Fig. 8 allows a time slot dynamically to expand or compress according to the content of this time slot.
Flow chart among Fig. 8 is preferably realized as the software of being carried out by RF microcontroller 26 shown in Figure 2.As realize, microcontroller 26 is responsible for the physics and the link layer of data channels, also the two timing of the data transmitter 24 of control and monitoring data channel and data receiver 23.
In accordance with the principles of the present invention on the other hand in, user telephone line in can automatic protective system, thus do not have other phones can cut (pick up) this protected circuit.When this circuit is used for data, services, for example be used for modulator-demodulator or facsimile transmission, this point is beneficial especially.
Each phone of example system 1 as shown in FIG. 2 comprises a RJ-11 data jack 91.This data jack 91 can be by for example modulator-demodulator, facsimile machine or just plain old telephone (POT) use.The user can dispose this FPDP makes it link to each other with any one of 4 telephone line L1-L4, and phone 20 is connected by a slide switch in the line interface circuit 21 of Fig. 2.
Fig. 9 shows this formation in greater detail.Slide switch 92 is connected between the data jack 91 and telephone wire 1-4 (by R1-4 and T1-4 representative) of a phone in this system.Transducer 93 is linked a terminal of telephone jack 91 by sensing resistor R65.In this embodiment, transducer 93 comprises an optical coupler 94.So,,, link data jack and when working, will produce an electric current by resistance R 65 and by transducer 93 perception as modulator-demodulator or facsimile machine as a device.So produce a signal V-data-P and monitored by microcontroller 29.
In case microcontroller 29 perception V-data-P are effective (low), show the device that a job is arranged on FPDP, controller will be broadcasted a route protection order at the time slot of giving active cell on data channel.This route protection order is shown in the element among Fig. 5 501.
Route protection order 501 has a first operand, and it indicates from the angle of the phone that sends this route protection order and sees which bar circuit (L1-L4 for example; L5-L6 is current to be retained) go up this data set in work.The second operand of this order indicates the circuit extension that this phone is attempted to protect.This second operand needs, because have only circuit 1 and circuit 2 must link all phones in the system.So the circuit 3 of each phone can be different physical circuits with circuit 4 and different extension numbers is arranged in the system.Operand 2 can solve ambiguity problem by specifying extension number, and this will describe hereinafter in more detail.
Figure 10 A shows the flow chart relevant with the route protection order with 10B.Figure 10 A is a process of transmitting, and Figure 10 B is a receiving course.In the step 102 of Figure 10 A, the phone that is connected to FPDP will monitor and determine whether this FPDP is like that used as described above.If this FPDP is to use, then this phone determines whether this port is connected in the circuit 1 or the circuit 2 of this phone in step 104.If protected circuit or circuit 1 or circuit 2, then this phone will send this route protection order, and wherein operand 1 is made as L1 or L2, as shown in step 106.On the other hand, if protected circuit is L3 or L4, this phone will be several 1 equipment L3 or the L4 of command operation.This phone also will be put into the corresponding extension number of this circuit the second operand of order.
At receiving terminal, each phone in the system will receive the route protection order of broadcasting as shown in Figure 10 A.In step 112, receive phone and will determine at first whether the operand 1 that is received orders contains L1 or L2.In step 114, if this condition is true, then the microcontroller 29 in this phone will be protected this circuit.The meaning of a circuit of protection is that the user of this phone can not visit this circuit.By lighting a LED related or an indication on LCD33 (as shown in Figure 2) with this circuit, can give visible indication of user, inform that specific circuit of user is protected.If this user still attempts to visit this circuit, then this phone can send audio beep, to inform that this circuit of this user can not be accessed.
On the other hand, if the operand 1 of the order of being received is L3 or L4, then receives phone and also will look at the operand 2 that received orders.As shown in step 116, it will be made comparisons the extension number of the extension number in the operand 2 and its L3 or L4.If the extension number coupling, then the microcontroller 29 of this phone will be protected corresponding L3 or L4.Otherwise as shown in step 120, the route protection order will be left in the basket, because the specific circuit that the transmission phone is attempted to protect does not link to each other with the circuit that receives phone physically.
In another aspect of this invention, system 1 also allows group's paging characteristic.Group's paging characteristic allows any phone in the system 1 to send unidirectional Speech Communication to the one group of phone that is in a community of interest.This characteristic is shown in Figure 11 A and 11B in accordance with the principles of the present invention, will discuss below.
The handling process of Figure 11 A explanation paging call.In step 111, when phone powered up for the first time and has been mounted, this phone was endowed its group number of belonging in system 1.In step 112, be to start group's paging characteristic, the user of this phone is with off-hook once or start speaker-phone once.
Then, as shown in step 114, this user can select all phones in the paging system 1 or select a group number to go paging.This can finish by the keyboard 32 and the LCD33 of system shown in Fig. 21.
In case selected one group, then the microcontroller 29 of paging call will be broadcasted " paging is a logical " order, shown in the element 509 of Fig. 5.This order has an operand 2, it comprise a current paging at group number.In case sent this order, " continuation " beeping sound just sounds.After the user hears this beeping sound, just this user can say his or her beep-page message, as shown in step 116 and 118.As preamble went through, the half-duplex audio frequency voice channel that this beep-page message carries on will the L2 circuit by system was carried.Paging will finish when the user is hung up paging call, perhaps end automatically in 30 seconds after paging, and which kind of situation this will see more hurry up.When paging unit send " paging disconnected " order (as Fig. 5 510 as shown in) time, paging stops.
Figure 11 B describes the receiving course of group's paging characteristic.At receiving terminal, the phone in paged group will be recognized " paging is logical " order (as described above) paging that it is being sent.In case being belonged to the phone of this group, this order receives, just as shown in step 122, produce a prompting tone to the user.This phone also will automatically be linked the half-duplex paging channel on the speaker-phone of paged phone, thereby can hear speech information from loud speaker, shown in step 124.Paged phone also is presented at the sign of calling party on the telephone displays 33, and this caller identification can obtain from " paging is logical " order.Paged telephone subscriber just can begin bidirectional dialog with paging call as long as answer this phone after hearing beep-page message.By receive phone send one " the logical order of mutual communication " (as Fig. 5 511 as shown in) just set up two-way intercommunication.As discussed earlier, intercommunication is that transceiver 22 by Fig. 2 carries out on two full duplex voice channels.
Should be appreciated that, show here and embodiment and the modification thereof described just are used to illustrate, and those skilled in the art can not depart from the scope of the present invention under the prerequisite with spirit and realize various modifications.
In accompanying drawing 5:
0 or 1-do not consider the recipient
N-from 0 to 31, promptly mostly is most 32 users
31-33 is exclusively used in new user
Incorporate into described and input time slot
L6, L5, L4, L3, the L2-=1 line work,
=0 circuit is not worked
EXT-4 position denary number (dispose the 1st, the 2nd,
3rd, the 4th digit order number is to constitute an extension number)
If extension number can not be used, for
An air separation machine is made as C, C, C, C
And input time slot-31 is to 33
Incorporate timestamp-0 into to 30
Messages-Waiting on/off (extension set),
Transmit logical-one order and support a circuit