A METHOD AND APPARATUS FOR GIVING IDENTITY TO, AND SELECTING ONE OF A PLURALITY OF FUNCTION UNITS

Abstract: A stored controlled system has its control unit (1) connected to a plurality of function units (2) via an information bus (6) for transferring control information and via an addressing means (7) which converts an address number assigned to one of the function units into an access signal which is sent to said function unit. Incorrect information reception in the function units is avoided and system handling facilitated by means of giving identity to the function units every time the system is started. The control unit includes a number pair generator (5) for generating an identification number parallel with the address number, which number pair is assigned to the same function unit. The identification number is transferred via the information bus (6) and is registered during system starting in a registering means (11, 12) included in said function unit. The function unit includes a converter (15-18) for converting the access signal during system operation to a selection signal only if the identification number obtained from the number pair generator (5) agrees with the identification number stored in the registering means (11, 12). The selection signal activates the function unit for reception of control information.

Description: A METHOD AND APPARATUS FOR GIVING IDENTITY TO, AND SELECTING ONE OF A PLURALITY OF FUNCTION UNIT5 TECHNICAL FIELD The present invention relates to a method and an apparatus for giving identity to, and selecting one of a plurality of function units included in a stored program controlled telecommunication system, the function units being con¬ nected to a control unit via an addressing means and via an information bus. The control unit generates control periods and sends, during one of the control periods, an address number assigned to said function unit as well as control information intended for this function unit. The addressing means converts said address number to an access signal which is sent to said function unit. The information bus transfers said control information in digital form to the function units. BACKGROUND ART In such a known stored program controlled system, e g as described in the U S Patent 4 053 947, the address and control information is read from an instruc¬ tion memory. The known information bus includes a data bus and an order bus for transferring control information to interface means of the function units. The known addressing means includes an address bus for transferring the address to all the function units of the system and includes address decoders, each of which is arranged in its interface means. Each of the address decoders generates an access signal only if the address bus transfers the address number associated with its function unit. The access signal is used to control an input gate arranged in this function unit, said gate being connected to the informa¬ tion bus such that in an activation state it feeds its function unit with the intended control information. Relatively easily remedied system errors occur if a correctly addressed function unit receives incorrect control information, thus executing an incor- rect function. In * this case the remaining function units of the system will be unaffected. However, if the addressing process is executed incorrectly, a serious operational error occurs. The intended function unit, which received an access signal, does not carry out the intended function, but some other unidentified function unit will be disturbed in its ordinary functional performance. To achieve greater security against the unintentional selection of a function unit, it is already known, e g from the U S Patents No. 3 868 641 and 4 165 533, to provide each of the function units with duplicated address decoders. DISCLOSURE OF INVENTION One of the objects of the present invention is to still further improve the security against incorrect function unit selection by means of giving identity to the function units for every system start. Another object is to make, by means of such identity assignation, the system easily handled in conjunction with constructing, repairing, maintaining, technically improving or extending the system. Said duplication of the address decoders gives good security against selection error providing that only the decoders can cause errors in the addressing process. The risk of error is however at least just as great in conjunction with address number generation in the system control unit and in conjunction with the address number transfer via an address bus. A trivial, but expensive safety measure would be to duplicate the whole of the addressing process, i e to introduce a duplicated address number generation and a duplicated addressing means. If the addressing means includes an address bus, the bus duplication would constitute the portion of the total duplication requiring most cost. With the aid of the present invention there is obtained the effect of the total duplication without having to duplicate the addressing means. It will be seen from the claims that the invention is essentially characterized by the use of the information bus to transfer an identification number which is assigned to the function unit, the address number of which is parallel received by the addressing means. For a system put in operation in accordance with the invention, each of the function units stores its identification number, and a function unit is selected for carrying out the function determined by the control information, only if the addressing means generates the associated access signal and if the identification number transferred simultaneously on the information bus agrees with the identification number stored in the function unit. Giving identity to the function units is done in conjunction with starting the system or restarting after a break down, for example. The invention is not affected by the programming of the system, i e by setting up successive control information and associated address and identification number sequences. It is possible to use different control information sequences for the same functional programs during different operating periods of the system. It is further possible to establish a new co-ordination of the address and identification numbers for each new operational period. It is conceivable, for example, that a function unit is given an entirely new address-identification number pair after repairs. A function unit's address is in principle dependent on the one of the addressing means outputs to which the function unit is connected. The identification number of the function unit can however be determined anew at each starting occasion, independent of the address. There is thus obtained in accordance with the invention a new stored program controlled system with greater security against incorrect function unit selection, which furthermore is easier to handle than conventional systems. BRIEF DESCRIPTION OF DRAWING The invention will now be described with reference to the appended drawing, on which is shown a plurality of function units to which a control unit periodically sends addresses, control information and identification numbers. The drawing further shows how one of the function units is selected during the start and operational condition, respectively, for receiving its identification number and information intended for this function unit. MODE FOR CARRYING OUT THE INVENTION A stored program controlled telecommunication system in accordance with the invention includes a control unit 1 which sends, further to address numbers and control information, identification numbers to a plurality of function units 2. The drawing indicates that the control unit includes a time phase generator 3, both outputs of which are activated alternatingly. A phase pulse pi obtained from one output together with the following phase pulse p2 obtained from the second output define a control period for selecting one of the function units and also for transferring control information to the selected function unit. The drawing further indicates that the control unit includes a control information generator 4 which, in time with the phase pulses #2, generates control information in digital form, and a number pair generator 5 which, in time with the phase pulses pi, generates digital address and identification numbers, one number pair for each pi pulse, each number pair being assigned to one of the function units. The control information generator 4 has its output connected to an information bus 6. The number pair generator 5 is connected to an addressing means 7 via that of its outputs sending address numbers. The other generator output sending identification numbers is connected to said information bus 6. The outputs of the addressing means, each of which is connected to a first terminal 8 of a function unit, sends access signals, the function unit with an assigned address number receiving an access signal when the addressing means receives this address number. The function units have their control information input gates 9 connected in parallel to the information bus via their second terminals 10. There Is thus obtained that during a control period phase pulse pi an access signal is sent to one of the function units and an identification number to all the function units, as well as that during the phase pulse p2, associated with the same control period, control information is sent to all the input gates of the function units. Each function unit includes an identification register 11, the input of which is connected via a first AND gate 12 to the second terminal 10 of the function unit. In accordance with the invention, a starting period to give identity to the function units goes before each of the system operational periods. On the drawing, this division into starting and operational periods is symbolized with the aid of flip-flops 13, arranged each in its function unit, which are internally and in conjunction with each system start or restart put into the state denoted by "S" on the drawing. Simultaneously, the content of said identification register 11 is erased internally via its reset terminal denoted on the drawing by "R". Said first AND gate 12 is activated when the flip-flop is in the "S" state and the function unit receives an access signal via its first terminal 8. - * u l CMPI During the starting period the control unit sends all the address identification number pairs of the function units, one at a time, so that at the end of the starting period each of the function units stores its identification number in its identification register. On the drawing there is indicated that an arbitrary content of the register 11 results in that the flip-flop 13 is put in the state denoted by "D" by means of an OR gate 14. Each function unit further includes a comparator 15, the first input of which is connected to the output of the identification register and the second input of which is connected via a second AND gate 16 to the second terminal 10 of the function unit. Said AND gate 16 is activated during the phase pulses pi and when the flip-flop 13 is in the "D" state, ϊ e during the operational periods of the system. The comparator output is consequently activated during the operational period each time the information bus transfers the identification number assigned to the function unit . There is finally shown on the drawing that each function unit includes a third AND gate 17, the inputs of which are connected to the first terminal 8 of the function unit and the output of the comparator 15. The output of gate 17 is connected to a single-shot element 18. There is thus obtained that said AND gate 17 is activated at the beginning of a control period only if the function unit receives an access signal and its identification number during an opera¬ tional period of the system. The single-shot element 8 extends the signal generated by AND gate 17 into a selection signal which embraces the phase pulse P2 of the control information input gate 9 of the function unit. Q- -1FI

Claims: CLAIMS 1 A method of giving identity to, and selecting one of a plurality of function units, included in a stored program controlled telecommunication system, the function units being connected to a control unit via an addressing means and via an information bus, the control unit generating control periods and sending, during one of the control periods, an address number assigned to said function unit as well as control information intended for this function unit, the addressing means converting said address number to an access signal which is sent to said function unit, and the information bus transferring said control information in digital form to the function units, characterized in that during said control period the control unit generates and sends to the information bus an identification number assigned to said function unit, that said function unit uses the access signal, if said control period occurs during starting the system, for activating a register connected to the informa¬ tion bus and arranged in the function unit for storing said identification number, that said function unit converts the access signal, if said control period occurs during operation of the system, to a selection signal only if the identification number obtained from the information bus agrees with the identification number stored in said register, and that said function unit uses the selection signal for activating the reception of the control information intended for the function unit. 2 Apparatus for, in accordance with claim 1, giving identity to, and selecting one of a plurality of function units (2) included in a stored program controlled telecommunication system, the function units being connected to a control unit (1) via an addressing means (7) and via an information bus (6), the control unit generating control periods and sending, during one of the control periods, an address number assigned to said function unit as well as control information intended for this function unit, the addressing means converting said address number to an access signal which is sent to said function unit, and the information bus transferring said control information in digital form to an input gate (9) included each in its function unit, characterized by a) a number pair generator (5) included in the control unit, for generating during said control period a number pair which consists of said address number and an identification number, assigned to said function unit, the output of said number pair generator sending the address number and identification number, respectively, being connected to said addressing means (7) and information bus (6), respectively, b) a registering means (11, 12) included in said function unit, the input of said registering means being connected to the information bus for registering said identification number if the function unit simultaneously receives an access signal and if said control period occurs during starting the system and c) a converter (15-18) included in the function unit, the signal input of said converter being connected to the addressing means, for converting said access signal to a selection signal if said control period occurs during operation of the system and if the identification number obtained from the information bus agrees with the identification number stored in said registering means, the converter output for sending said selection signal being connected to an activating input of the control information input gate (9) of the function unit. '

Inventors: BERGMAN JAN LENNART, BERGMAN, JAN, LENNART
Applicants: ERICSSON TELEFON AB L M, TELEFONAKTIEBOLAGET L M ERICSSON
Application year: 1983
Main classification: H04M3
IPC codes: H04M3, H04Q3