CLASS MARKING APPARATUS FOR USE IN TELEPHONE EXCHANGES
This invention relates to class marking apparatus for use in telephone exchanges.
It is customary, in telephone exchanges, to provide means whereby access from a subscriber's telephone is either in part or wholly curtailed, insofar as the transfer of outgoing calls from that telephone is concerned. For example, it is necessary to provide some means whereby a subscriber whose account is unpaid may have use of his telephone prevented. Furthermore, an individual subscriber may wish to limit access on a particular telephone insofar as particular classes of telephone call are concerned. Thus, the subscriber may wish to prevent the use of the telephone for making expensive telephone calls such as interstate calls or international calls. For the above purposes, it is usual to provide in a telephone exchange a special set of relays which are connected into circuitry which is associated with
each subscriber line, relays of which sets are conditioned, by manual manipulation thereof to effect the desired "class marking" or provision of information as to which classes of call are to be barred from the subscriber's telephone associated with that relay set.
The provision of these relays is generally inconvenient. Being electro-mechanical devices they are relatively expensive, whilst the necessary manipulation and setting of the relays in order to account for variations in the class markings associated with individual telephone lines is time consuming and generally inconvenient.
An object of the invention is to provide a class marking apparatus for use in telephone exchanges and which provides for more convenient modification of class markings.
In accordance with one aspect of the invention there is provided, a class marking apparatus for use in telephone exchanges of the kind having means in use generating a call signal indicative that a telephone call is being made on a telephone line with which the exchange is associated, and means providing a line identification signal identifying said telephone line, said apparatus including first interface means, processing means, memory means and second interface means, said first interface means being effective, in use, to receive said call and line identification signals and to interface said line identification signal to the processing means, said memory means being adapted to store class marking data for
subscriber telephone lines, said processing means, on receipt of said call signal, being effective to address said memory means so as to access class marking data relating to said telephone line identified by said identification signal, and said second interface means being effective to receive the accessed class marking data from said processing means and interface said accessed data to the output of said apparatus.
Generally, where the telephone exchange with which the apparatus is to be used operates to generate the subscriber line identification signals as logic signals at customarily used in exchanges, for example, 50 volts, the first and second interface means may be effective to translate the signals to and from differing magnitudes for processing within - the apparatus.
The memory means preferably comprises an erasible programmable memory, such as an electronically erasible programmable memory. In the latter event, preferably the memory means is provided with third interface means permitting changing of the data stored there within by use of exteriorally generated programming signals. The third interface means may, for example, comprise a serial data interface such as an RS232 serial interface to permit coupling of a further microprocessor thereto for changing the data stored in the memory. This microprocessor may be permanently coupled to the third interface means, or may be portable.
The invention is further described by way of example only with reference to the accompanying drawings in which:-
Figure 1 is a block diagram of an apparatus constructed in accordance with the invention;
Figure 2 is a detailed circuit diagram of the apparatus of Figure 1, with Figure 2a being the top left hand corner. Figure 2b being the top right hand corner. Figure 2c being the bottom left hand corner and Figure 2d being the bottom right hand corner of the diagram;
Figure 3 is a circuit diagram of part of a first interface means forming part of the apparatus of Figure 2; and
Figure 4 is a wave-form diagram illustrating the operation of the first interface means of the apparatus.
In Figure 1, an apparatus 10 constructed in accordance with the invention is shown as including a microprocessor 12. The apparatus is adapted to be interconnected into a telephone exchange (not shown) whereby information as to the identification of a subscriber's telephone line is conveyed by a line identification signal on data lines 14 from the exchange whilst initiation of a call on the line so identified is indicated by presence of a call signal on a further line, 16, from the exchange. These signals are generated within the exchange in conventional fashion.
The lines 14 and 16 are connected to a first interface means 18, including input circuit means 20 and four programmable read only memories 22. Output from the PROMS 22 is taken on lines 24 to provide inputs to the microprocessor 12.
There is, associated with the microprocessor 12, an erasible programmable read only memory 26 which contains programming data for the microprocessor 12 data and an electronically erasible read only memory 28. The EEPROM 28 contains data concerning class marking for telephone lines with which the exchange is associated. As explained later, data from this EEPROM 28 is, under supervision of the microprocessor 12, outputted to a second interface means 30 via peripheral interface adaptors 32.
Generally, the apparatus 10 operates to detect a signal condition on line 16 indicative that a call has been made from a subscriber's line and to input into the microprocessor, via the first interface means 18, data from the lines 14 indicative of the particular line on which the incoming call has appeared. These steps are performed under the control of the microprocessor 12. Then, the microprocessor 12 addreses the EEPROM 28 to obtain therefrom data representing the class marking for the particularly identified subscriber line.
In Figure 2, four lines 14 are shown. Each of these is comprised of ten conductors 42 marked in the drawing with the numerals 1 through 10. Depending upon the type of exchange with which the apparatus 10 is to be employed, the conductors within the lines
are conditioned in different fashions to identify subscriber line numbers. Typically, conductors of one line may be arranged to convey units of the subscriber line number, a second to convey tens of units of the subscriber's number and the remaining two to convey hundreds of units of the number. Typically, too, the data will be presented on the conductors in a one out of ten (decimal) code. That is to say, for example, the unit "three" in a subscriber's line number may be presented at the first line 14 by placing the third conductor 42 of that line at a particular one of two possible logical states for each conductor. Again, typically, the logic states may comprise signal levels of 0 and -50 volt.
The signal conditioning means 20 is shown as comprising, for the lines 14, sets of signal modifying circuits 40, there being one such circuit 40 associated with the conductors of each of the line 14. As best shown in Figure 3, each circuit includes a Schmit inverter 44 having its input connected via a resistor 46 to the respective conductor 42. Each such input is also connected to positive supply via a resistor 48 and to ground via a capacitor 50. The operation of the circuit 40 is described with reference to the wave forms of Figure 4. Here, an input signal in the form of an input pulse 56 on one of the conductors 42 of a line 14 is shown as being in the form of a pulse which is negative-going and of 50 volt magnitude. The resultant pulse produced at the output of the Schmit inverter 44 of that circuit is shown as comprising a positive going pulse 58 of duration corresponding to the duration of 56. Pulse
58 is of magnitude 5 volt. The pulse begins after a delay " Tp" from the leading edge of pulse 56 and similarly ends at a time " Tp" after the end of pulse 56. These delays of the order of 0.5 to 2.5 ms are induced by the propogation delay within the circuit 40. The resistors 46, 48 and capacitor 50 serve to effect debouncing and to provide some noise immunity for the circuit.
The transformation from 50 volt signalling levels to 5 volt signalling levels, as effected by the circuits 40, is to enable the signal information on the lines 14 to be translated for use at the signal levels prevailing within the remainder of the apparatus 10.
Signals from the circuits 40 are applied to the PROMS 22 which serve to convert the decimal information on the lines 14 to binary digital code. Thus, each one of the memories 22 receives data from the set of circuits 40 associated with a particular line 14 and outputs on four lines 70 therefrom at the required binary coded data. These lines are multiplexed and provide to inputs of the microprocessor 12.
The line 16 which is conditioned to indicate when a call is being made is shown as including two conductors 60, 62, the signal conditions on which change state when a call is detected. Call detection is signalled via one of the PIAs 32 cause an interrupt condition for the microprocessor 12 At that time, conditions of lines 70 are read into the "microprocessor as the identification number for the subscriber's line on which the call has occurred.
The EEPROM 28 is a standard memory component which is accessed via address, data and control buses. The control bus consists of chip enable lines derived from the address decoder 80, and a write enable line derived by "stretching" the read/write line with monostables 37, 39.
EEPROM 28 contains information concerning call markings appropriate to all or selected ones of the subscriber lines serviced by the exchange with which the apparatus 10 is associated. To read the data from the EEPROM 28, making use of the input number to address the memory, use is made of the previously mentioned PROM 26, together with an address decoding programme of a programmable read only memory 80. Thus, the microprocessor 12 addresses the EEPROM 28 to obtain the relevant classification for the subscriber's line, which is then used to address a look-up table which indicates which outputs the apparatus 10 are to be activated in accordance with the class information which is relevant to that line. This outputting is effected via the PIAs 32 and the second interface device 30. The PROM 80 contains a truth table for decoding the 16 bit address bus to provide chip enable "CE" signals for the peripheral components i.e., memory components, the EPROM 26 and EEPROM 28.
The EPROM 26 contains the program which the microprocessor uses to carry out its functions which include read/write access to the EEPROM 28.
An octal latch 82 latches a lower order address bus A0-A7 since the latter is multiplexed with a data bus
on the same eight lines from the microprocessor 12. This address information is used to address information within PIA's 32 and PROM's 26, 28.
The interface device 30 is shown as comprising a number of buffer devices 90 each comprising a transistor 92 having its base connected via a resistor 94 to a respective one of the outputs from the relevant PIA the emitter connected to ground and the collector connected via a diode 96 to the relevant output conductor and to negative supply, 50 volts in the described telephone exchange, via diodes 96.
The output lines for the apparatus 10 are designated generally by reference numeral 98 in Figure 2. The lines convey the output information. The exact manner in which this coding is effected may be varied as desired in accordance with the requirements of the exchange with which the apparatus is to be used. For example, however, the information output may comprise:
(a) Originating Classifications;
(b) Terminating Classifications;
(c) Special Classifications;
(d) Zone of Origin.
These classifications may be as follows:
Originating Classifications
The originating classifications are output to the exchange on 4 lines AK1-AK4. These represent a particular barring to outgoing calls e.g., barred to
ISD. The outputs operate relays in the exchange to establish the call progress accordingly. The coding on these wires is generally different to the classification store and can be one or more wires active at a time.
Terminating Classifications
The terminating classifications are output to the exchange on 4 lines BK1-BK4. These represent a particular line condition for calls terminating on that line, e.g., a line may be marked non-meter such that calls to it will not be charged. These outputs operate relays in the exchange to cause the call progress to operate in the above way.
Special Classifications
The special classifications are output on specific wires, e.g., MA which is used to indicate that the call is from an operator or manual exchange. These outputs operate relays in the exchange to cause it to function in the above way.
Zone of Origin
These marks are output on one of 4 wires Z1-Z4 which indicates to the exchange which charging zone the calling customer is in.
These outputs operate relays in the exchange accordingly and are used in conjunction with the number dialled to set the charge for that call. The coding on these outputs is 1 out of 4 and levels are -50V potentials.
In order to permit the information stored in the EEPROM 28, to be changed, there is provided an RS232 serial interface 120. This is of conventional form. The data in the EEPROM 28 is thus conditionable by input signals applied through the interface 120 to alter the call marking data to be associated with individual ones of the telephone lines serviced by the exchange with which the apparatus 10 is associated. It has been found convenient to provide an external microprocessor, such as incorporated into a personal computer, to permit data to be first set up and thence read into the EEPROM 28 as is convenient. This inputting can be effected substantially without interference with the operation of the apparatus 10 in performance of its operations to provide output of data on lines 98 concerning individual subscriber lines.
In addition to the conditioning of the lines 98 to 0 or -50 volt levels in accordance with standard signalling practice within an exchange, certain of the outputs thereof, marked "GX" "MF" can be conditioned, to have a -100 volt pulse applied there across for certain signalling purposes within the exchange. The circuitry 140 for effecting this is shown as including a number of transistors 142 coupled to provide the signal pulses by conventional techniques.
The power supply 150 shown for the apparatus is of conventional form.
The apparatus also includes "watchdog" circuitry 160 which is effective to reset the microprocessor 12
under conditions where the faulty operation would otherwise occur. There are also circuits 162, 164, the former being an alarm circuit for the purpose of detecting a faulty output condition and the latter to detect a power failure condition and to ensure that the EEPROM 28 is placed in a condition for power-down storage of data, in order to protect the data stored therein.
By the described arrangement, every customer's telephone line has an allocation of memory in EEPROM 28. Each customer can have' any of the many classifications available stored against this address. The format is basically the classification/zone number which is quite different to the information output from the device. The EEPROM 28 also contains a prefix table which contains all the prefixes of the directory numbers that are appropriate to the particular exchange. Thus constitutes the classification store data base for every customer of that exchange. The data can be changed at will "on line". The customer is first identified in the exchange and his number is presented to the device for processing. This number is used to address EEPROM 28 to retrieve the classifications, which are then used to index a lookup table to decide which outputs to activate.