REMOTE INITIALIZATION OF INTERCONNECTED COMMUNICATIONS STATIONS

Abstract: In a communications network having a plurality of stations interconnected by a common transmission link, there is transmitted from a given source station a message including a destination address code, a source address code and an initializing code, to the transmission link. The transmitted message is received at a destination station specified by the received destination address code to initialize the destination station. The received source identifi­ cation code is stored in a memory and retrieved when the initialization is completed. A return message including the retrieved source address code, the destination address code and an end-of-initialization code is transmitted to the trans­ mission link to allow the source station to confirm that the destination station has been initialized.

Description: TITLE OF THE INVENTION "Remote Initialization of Interconnected Communications Stations" BACKGROUND OF THE INVENTION The present invention relates generally to a communications network which exchanges information between communications stations through a common transmission link and particularly to a communications network in which any station is capable of initializing any other station. 'Multi-station communications networks such as loop or bus topology local area networks often include a plurality of master stations and a plurality of slave stations. Master stations may facilitate initial program loading to slave stations, as typically shown and described in United States Patent 4,335,426. However, one shortcoming of the prior art network is that the initialization must be triggered from the slave stations and no initialization can be made between stations of any combination. Another shortcoming relates to a reliability problem since no response is given for purposes of confirmation from any initialized station when hardware initialization is completed. Furthermore, the prior art networks lack flexibility in restructuring the system. SUMMARY OF THE INVENTION Accordingly, an object of the invention is to provide a communications network which permits initialization to be effected under the command issued from any station to any other station in the network and allows a confirmation message to be returned from the destination station to the source station. In the communications network according to the invention in which a plurality of stations are interconnected by a common transmission link, there is transmitted from a given source station a message including a destination address code, a source address code and an initializing code, to the transmission link. The transmitted message is received at a destination address station specified by the received destination address code to initialize the destination station. The received source address code is stored in a memory and retrieved when the initialization is completed. A return message including the retrieved source address code, the destination address code and an end-of-initialization code is transmitted to the transmission link to allow the source station to confirm that the destination station has been initialized. BRIEF DESCRIPTION OF THE DRAWINGS The present invention will be described in further detail with reference to the accompanying drawings, in which: Fig. 1 is a schematic illustration of a loop topology local area network; Fig. 2 is a schematic illustration of a bus topology local area network; Fig. 3 is a block diagram of a communications station of the network; Fig. 4 is an illustration of details of the computer of Fig. 3; Fig. 5 is an illustration of details of the adapter of Fig. 4; Figs. 6 and 7 are illustrations of the format of an initialization message frame and a return message frame, respectively; and Figs. 8 and 9 are flowcharts describing the operation of the microprocessor of Fig. 5. DETAILED DESCRIPTION In Fig. 1, there is shown a local area network of the loop topology configuration embodying the invention. The network comprises a plurality of communications stations 1 connected by a looped common transmission link 2. In a local area network of the bus topology configuration embodying the invention, shown in Fig. 2, stations 1 are connected by a common transmission link 3. As shown in Fig. 3, each of the communications stations 1 comprises an interface unit 10 which acts as an interface between the common transmission link and a computer 20. Data transfer between the interface unit 10 and computer 20 is made in serial or parallel form via a link 4. Obviously, the interface unit 10 may be integrated with the computer 20. As shown in Fig. 4, the computer 20 typically comprises a central processing unit (CPU) 40, a main memory 50, an input/output port 60 and an adapter 30, all of which are connected by a common bus 5. Details of the adapter 30 of Fig. 4 are illustrated in Fig. 5. The adapter 30 generally comprises a microprocessor 110, a transmitter 31 and a receiver 32. The transmitter 31 includes a direct memory access controller (DMA) 111, a transmit memory 112, and a parallel-to-serial converter 114, all of which are connected by internal bus 203 (control, address and data) with the microprocessor 110. The receiver 32 is formed by a serial-to-parallel converter 102,'a direct memory access controller 103 and a receive memory 104, all of which are connected by internal bus 205 with microprocessor 110. The serial output of the converter 114 is amplified at 115 and sent over the link 4 to the interface unit 10 and a serial input from the interface unit 10 is applied through the link 4, and amplified at 101 and is applied to the converter 102. In a practical aspect, the microprocessor 110 comprises INTEL iAPX 86/10 8-bit HMOS'microprocessor and an 8259A Programmable Interrupt Controller, and each of the direct access memory controllers 103 and 111 is available as INTEL 8237A Programmable DMA Controller. INTEL 8274 Multi-Protocol Serial Controller can be used for parallel-to-serial converter 114 and serial-to-parallel converter 102. Different address codes are individually assigned to the communications stations in the network. Fig. 6 shows the format of an initialization frame which is transmitted from an originating station. Initialization is originated from any one of the stations 1 having an address code X to any other station having an address code Y (Fig. 1). The station X transmits a frame which comprises a flag F at the start of transmission, a destination address code Y, a source address code X, a control code CI, an initialization instruction INZ, a frame check sequence FCS, and another flag F at the end of transmission. Upon receipt of the Y address code, the interface unit 10 of the station Y transfers this address code over the link 4 to the adapter 30 of the computer 20. The signal is conditioned by the amplifier 101 and fed to the converter 102 and converted to a 8-bit (byte) parallel signal. This-parallel signal is applied through the bus 205 to the receive memory 104 under control of the direct memory access controller 103 and stored into memory 104. Upon detection of the second flag F at the end of the initialize frame, the serial-to-parallel converter 102 provides an interrupt signal through a line 201 to the microprocessor 110. An interrupt signal is also generated when the end-of-transmission flag of data frames is detected. Fig. 8 is a flowchart describing the operation of the microprocessor 110 when interrupt signal is issued. At Step 10, the microprocessor reads the fourth field of the received frame stored in memory 104 and goes to Step 11 to check to see if it contains a control code (cm). If so, the microprocessor advances to Step 12 to read the fifth field of the stored frame and goes to Step 14 to check if it contains an initialization instruction. If initialization instruction is detected in the fifth field, control advances to Step 15 to trigger the flip-flop 106 into set condition. If control code is not detected in the fourth field in Step 11, control goes to Step 13 in which data frame process routine is executed. Likewise, if initialize instruction is not detected in the fifth field in Step 14, control goes to Step 16 to perform other control function specified. in the fifth field of the received frame. Simultaneously with the flip-flop 106 being triggered, a one-shot multivibrator 107 is triggered by. the microprocessor 110 to issue initialization signals during the predetermined period to the CPU 40, main memory 50 and input/output port 60 of the computer 20. At this moment, the receive memory 104 and flip-flop 106 are excluded from this initialization. Upon the termination of the predetermined period of initialization, microprocessor 110 starts executing the instructions described in Fig. 9 to generate a return message frame, and the flip-flop is triggered into a reset condition. At Step 17, the flip-flop 106 is checked. If the flip-flop 106 is in reset condition, microprocessor 110 generates no return message. If the flip-flop is in setcondition, the microprocessor interprets it as that the initialization has been originated from another station, and goes to Step 18 to transfer the third field of the stored frame from the receive memory 104 which bears the source address information to the second field of the frame in the transmit memory 112 and-transfer the second fíeld of the stored frame bearing the own station address to the third field of the transmit frame. Control goes to Step 19 to write a control code (CI) and an end-of-initialize code (IRDY) in the fourth and fifth fields of the transmit frame, respectively, to complete a return message as shown in Fig. 7. A transmit enable signal is then applied on line 202 from the microprocessor at Step 20 to the parallel-to-serial converter 114 for transmission to the interface unity0 and thence to the common link 2. Since the return message contains X as a destination address code, it is is decoded by the source station X and the fact that the station Y has been successfully initialized is confirmed. The foregoing description shows only a preferred embodiment of the present invention. Various modifications are apparent to those skilled in the art without departing from the scope of the present invention which is only limited by the appended claims. Therefore, the embodiment shown and described-is only illustrative, not restrictive.

Claims: CLAIMS 1. A method of initializing communications stations interconnected by a common transmission link, comprising: transmitting a message including a destination code, a source code and an initializing code from a given source station to said transmission link; receiving the transmitted message at a destination station specified by the received destination code to initialize the specified station in response to said initializing code; storing the received source code; retrieving the stored code upon completion of the initialization; generating a return message including the retrieved source code, a source code identical to said destination code and an end-of-initialization code; and transmitting said return message from said destination station to said transmission link to allow said given source station to confirm that said destination station has been initialized. 2. A communications network having a plurality of communications stations each having an identification code and interconnected by a common transmission link, wherein each of said stations comprises: memory means; and data processing means which is programmed to perform the steps of: a) transmitting a message including a destination code identifying a destination station in the network, a source code identifying the own station-and an initializing code to said common link; b) receiving the message and storing the received source code into said memory means; c) checking said destination code against the identification code of the own station to detect a match therebetween; d) if said match is detected, initializing the own station; e) retrieving the stored source code from said memory means; ; f) generating a return message including the retrieved source#code, the identification-code of the own station and an end-of-initialization code; and g) transmitting the return message to said common link. 3. A communications network having a plurality of communications stations each having an identification code and interconnected by a common transmission link, wherein each of said stations comprises: a transmit memory; a receive memory; and data processing means which is programmed to perform the steps of: : a) forming a message by a destination code identifying a destination station in the network, a source code identifying the own station and an initializing code in said transmit memory; b) transmitting the message formed in said transmit memory to said transmission link; c) receiving the transmitted message and storing the received destination code and source code into said receive memory; d) checking said destination code against the identification code of the own station to detect a match therebetween; e) if said match is detected, initializing the own station; f) transferring the source code from said receive memory to said transmit memory; g) storing the identification code of the own station and an end-of-initialization code into said transmit memory to form a return message with said source code; and h) transmitting the return message to said common link.

Inventors: TADA, MASAHIRO
Applicants: NEC CORPORATION
Application year: 1984
Main classification: G06F15
IPC codes: G06F15