WO1986000733A1 - Polling method for data processing system - Google Patents

Polling method for data processing system Download PDF

Info

Publication number
WO1986000733A1
WO1986000733A1 PCT/US1985/001155 US8501155W WO8600733A1 WO 1986000733 A1 WO1986000733 A1 WO 1986000733A1 US 8501155 W US8501155 W US 8501155W WO 8600733 A1 WO8600733 A1 WO 8600733A1
Authority
WO
WIPO (PCT)
Prior art keywords
polling
active
inactive
processing unit
processing units
Prior art date
Application number
PCT/US1985/001155
Other languages
French (fr)
Inventor
Russell K. Kelch
Don C. Finfrock
Donald J. Girard
Daniel B. Seevers
Barry D. Briggs
Gene R. Mathes
Original Assignee
Ncr Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ncr Corporation filed Critical Ncr Corporation
Priority to DE1985903507 priority Critical patent/DE188522T1/en
Priority to DE8585903507T priority patent/DE3573958D1/en
Publication of WO1986000733A1 publication Critical patent/WO1986000733A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/22Handling requests for interconnection or transfer for access to input/output bus using successive scanning, e.g. polling

Definitions

  • This invention relates to a method of the kind for polling a plurality of processing units interconnected in a communication network with a control station.
  • microprocessors are incorporated in keyboards, displays, printers, etc. These devices are associated with the functional operation of the terminal device. Terminals are used in some business environments which require that certain of the operating devices such as a printer, keyboard and display may be added to the terminal or removed from the terminal at various times during the day in accordance with business conditions.
  • a method of the kind specified is known from U.S. Patent Specification No. 3,866,175 which discloses a system utilizing a recirculating shift register whose output signifies whether a terminal is- active or inactive and which is synchronized with the operation of the address generator to allow the control station to poll only those terminals which are active. If a polled active terminal fails to respond or there is an erroneous response, and the failure or error is repeated a predetermined number of times, the status of the terminal is changed from active to inactive by causing the shift register to be reloaded.
  • a method for polling a plurality of processing units interconnected in a communication network with a control station characterized by the steps of establishing in said eontrol station first control signals each representing the presence of an active processing unit in the communication network; establishing in said control station second control signals each representing the presence of an inactive processing unit in the communication network; sequentially transmitting a polling word to each active processing unit represented in the first control signals; and at the conclusion of transmitting a polling word to each active- processing unit represented in the first control signals, transmitting a polling word to one of the- inactive processing units represented in the second control signals.
  • a polling sequence in which a table of all the remote processing devices associated with a central processing device is set up for identifying each of the remote processing devices as being an active or inactive device.
  • the central processing device will initiate a polling sequence by polling each of the active devices listed in the table.
  • the first inactive device listed on the table is polled after which all the active devices are again polled.
  • the next inactive device in the table is polled. This sequence is repeated enabling the central processing device to poll all of the active/inactive devices in a very short time.
  • Fig. 1 is a schematic diagram of a multipoint data processing system including a central processor device connected to a plurality of data terminal devices in which the present invention may be used;
  • Fig. 2 is a schematic diagram of a communication bus of each of the data terminals of Fig. 1 showing the microprocessor device arrangement of the communication controller located therein;
  • Fig. 3 is a functional block diagram of each of the microprocessor devices found in the data pro ⁇ cessing system
  • Figs. 4A and 4B taken together disclose a detailed block diagram of the microprocessor device of Fig. 3;
  • Fig. 5 is a flow chart of the overall polling sequence between the microprocessor device in the controller and the microprocessor devices in the various operating devices of the terminal device;
  • Fig. 6 is a detailed flow chart for the polling sequence step of Fig. 5 in which the active/inactive microprocessor devices are polled;
  • Fig. 7 is a detailed flow chart for the polling sequence of the last active/inactive micropro ⁇ cessor device;
  • Fig. 8 is a schematic diagram of the poll/select message;
  • Fig. 9 is a schematic diagram of the poll table stored in the RAM memory unit of the controller microprocessor device.
  • Fig. 10 is a schematic diagram of an address message transmitted between the microprocessor device of the- controller and the microprocessor devices of the operating devices of the terminal device.
  • FIG. 1 there is shown a schematic diagram of a typical multi-point data pro ⁇ cessing system forming a local area communication network which may include a central processor 20 and a plurality of data terminal devices 22 connected to the processor 20 by a serial communication bus 24 and a serial sub-system transfer bus 26 on which data is transmitted between the processor 20 and the terminal devices 22 in a manner that is well known in the art.
  • the data, appearing on the serial buses 24 and 26 are inputted into a communication interface unit or controller 28 in each of the* termi ⁇ nal devices 22. Included in the controller 28 are a pair of microprocessor devices 30, ' 32 interconnected by a serial communication bus 34.
  • the controller 28 functions to control the transmission of data between the central processor 20 and the various remote operating devices associated with the terminal device 22 such as a printer 36, a keyboard 38, a CRT display 40, and a UPC scanner 42.
  • a microprocessor device 44 which functions in the same manner as microprocessors 30 and 32.
  • the microprocessor device 30 controls the transmission of data between the controller 28 and the central proces ⁇ sor 20 (Fig. 1), while the microprocessor device 32 controls the transmission of data over the serial bus 46 between the controller 28 and the microprocessor devices 44 associated with each of the operating devices 36-42 inclusive.
  • the microprocessor devices 30, 32 and 44 referred to herein may comprise an Intel 8051 microprocessor chip which is commercially avail ⁇ able from the'Intel Corporation of Santa Clara, Cali ⁇ fornia.
  • An Intel 8051 microproces ⁇ sor chip may be found in the publication "MCS-51 Family of Single Chip Microcomputer User's Manual” published by the Intel Corporation in July, 1981.
  • FIG. 3 there is disclosed a functional block diagram of the microprocessor devic ⁇ es 30, 32 and 44. Included in each of the micropro ⁇ cessor devices is a central processing unit (CPU) 50 which is operated by clock signals from an oscillator and timing circuit 52 which in turn receives a refer ⁇ ence frequency signal from an external clock (not shown) .
  • CPU central processing unit
  • the processing unit 50 has access over data bus 54 to a 4,096 byte program memory block 56, a 128 byte RAM memory block 58, a two 16 bit timer/event counter block 60, a 64K byte bus expansion control block 62, a programmable I/O control block 64 and a programmable serial port block 66 for either micropro ⁇ cessor communications or I/O expansion.
  • FIG. 4A a detailed block diagram of the microprocessor devices 30, 32 and 44. Included in each of the microprocessor devices is a 4K x 8 ROM memory unit 70 (Fig. 4B) for program storage, which may be internal or external to the microprocessor devices 30, 32 or 44, a 128 byte internal RAM memory unit generally indicated by the numeral 58 (Fig. 4A) which includes a general purpose register 73, four * banks of eight 8-bit registers 74 and a plurality of special function registers 76. Included in the spe ⁇ cial function registers 76 (Fig.
  • ACC accumulator
  • SP 8-bit stack pointer register
  • DPH high-order data pointer
  • DPL low-order data pointer
  • TMOD timer/counter mode register
  • TCON timer/control register
  • the microprocessor device includes four ports in which port one 104 (Fig. 4A) is used for data transfer and port three 100 contains the transmit/receive lines connected between the micropro ⁇ cessor device 32 in the controller 28 and the remote microprocessor devices 44 associated with the oper ⁇ ating devices of the terminal device 22.
  • Fig. 5 there is disclosed a flow chart of a polling sequence between the micro ⁇ processor device 32 (Fig. 2) and the microprocessor devices 44 each associated with one of the remote operating devices 36-42 inclusive.
  • the microprocessor device 32 Prior to the start of a polling sequence, the microprocessor device 32 will have transmitted a status or configuration mes ⁇ sage to each of the microprocessor devices 44 associ ⁇ ated with the devices 36-42 inclusive (Fig. 2). This occurs at power-up or when the system is reset.
  • a microprocessor device 44 is active, that is, is pre ⁇ sent and in an operating mode, the microprocessor device 32 will establish a poll table 106 (Fig. 9) in the RAM general purpose register 73 (Fig. 4A) in which the binary bits FE are stored at an address of a microprocessor device 44 which is present and active. If a device is inactive, the binary bits 00 are stored.
  • the microprocessor device 32 attempts to poll but fails to communicate with a microprocessor device 44, the binary bits FF are stored in the table. The microprocessor device 32 will again try to poll the device. If after two failures in a row to reach the device, the binary bits 00 are stored in the table 106. If a polled microprocessor device 44 responds after the first re-try operation, the binary bits FE are stored in the table. After establishing the table 106, the microprocessor device 32 will check (block 108) (Fig. 5) for a select buffer (not shown) to see if any data has been received from the central processor 20 which is to be transmitted to an active microprocessor device 44 listed in the table 106.
  • the select buffer is located in an external RAM memory unit connected to the microprocessor device 32. If the buffer contains data, the program stored in the ROM memory unit 70 (Fig. 4B-) will send (block 110) a select message 115 (Fig. 8) to see if the microproces ⁇ sor device 44 is available to receive a message. The construction of the message 115 (Fig. 8) is the same for either a poll or select message with the code 02 representing a poll message and 04 representing a select message. The program will check (block 116) if the device is busy in accordance with the response message received from the polled device. If the polled microprocessor device 44 is busy, the program will again check the select buffers to see if there is any data to be transmitted to a listed active device.
  • the microprocessor device 32 will send a data message 112 (Fig. 10) to the microprocessor device 44 (block 118) which includes a four byte message identification field 114 and at least one byte data field 117, free the select buffer to receive further data from the remote processor 20 and check to see if further data has been received and stored in the select buffer.
  • the program will start polling the microprocessor devices 44 by going to the poll table 106 (Fig. 9) and retrieve (block 120) (Figs. 5 and 6) the poll address of the first microprocessor device 44 listed in the table.
  • the program will check (block 122) (Fig. 6) to see if the device is an active device. If it is, the program will exit (block 124) (Fig. 6) this sequence and send (block 126) (Fig. 5) the poll message 115 (Fig. 8) to the active device asking if the device has any data to be sent to the remote processor 20. If at the time of polling, the polled device has no data to send to the remote pro ⁇ cessor 20 (Fig.
  • the program will transmit (block 130) (Fig. 5) the received message from the active device to the central processor 20 and again check (block 108) to see if there is a select buffer pre ⁇ sent.
  • the program will continue polling the active devices (block 122) (Fig. 6) until the pointer in one of the registers 74 in the RAM memory unit 58 (Fig. 4A) points to a device address in the general purpose register 73 which is not active.
  • the program will check (block 136) (Fig. 6) to determine whether there is another active device listed subsequently in the poll table 106 (Fig. 9). If there is, the program will get the next active device address (block 120) in the poll table. If there is not, the program will poll (block 138) the address of the next inactive device, that is, that inactive device listed subsequently to the last inactive device which was polled.
  • the program will start (block 140) (Fig- 7) by sending the poll message 115 (Fig. 8) (block 142) and start (block 144) a 256 microsecond timer (not shown).
  • the program will then*check for a response (block 146) to the poll message. If it fails to get a response before the 256 microsecond timer times out, it will check (block 148) if the time out is the first time out. If it is the first time out, it will repeat sending the poll message (block 142). If no response is received before the second time out, the program will check (block 150) to see if the polled device is an active device. If it is not, it will exit (block 152) back into the polling sequence.
  • the program will update the poll table 106 (Fig. 9) by replacing the code- designation FE with 00. If the polled device responds (block 146) within the first or second time out, the program will check the identity of the device (block 156). If it is an active device, it will exit (block 152) back into the polling sequence. If it is an inactive device, it will update the poll table 106 by replacing the code designation 00 with FE. Upon returning to the polling sequence, the program will check (block 158) (Fig. 6) to see if it is at the end of the poll table. If it is not, it will repeat the polling sequence of the active devices (Figs. 5 and 6).
  • the program When the program reaches the end of the poll table 106 after polling the last inactive microproces ⁇ sor device 44, it will start a ti'ming sequence in counters 88 through 92 (Fig. 4A) inclusive to produce a 15 millisecond time-out. This time period allows the active operating devices of the terminal device 22 such as a keyboard to complete its operating cycle which may produce data required for transmission to the remote processor 20. After checking (block 160) (Fig. 6) for the presence of a time-out, and finding that a time-out has occurred, the program will restart the timer (block 162) and start again polling the table 106 of active devices and the next inactive device. This process will continue until all of the active and inactive microprocessor devices 44 have been polled.
  • the RAM memory unit 58 (Fig. 4A) and the ROM memory unit 70 (Fig. 4B) may be either internal or external or both to the microprocessor devices 30, 32 or 44.

Abstract

A method for polling a plurality of remote processing units (44) includes establishing a table of active and inactive remote processing units (44), sequentially polling each of the active processing units (44), at the conclusion of polling the active processing units (44), polling an inactive processing unit (44) after which all of the active processing units (44) are again polled. This sequence is repeated until all the active and inactive processing units (44) have been polled. If in polling a processing unit (44), a response to the poll message indicates a change of status of the polled processing unit (44) has occurred, the table is accordingly updated to reflect the current status of the processing unit (44).

Description

POLLING METHOD FOR DATA PROCESSING SYSTEM
Technical Field
This invention relates to a method of the kind for polling a plurality of processing units interconnected in a communication network with a control station.
Background Art
With the cost of microprocessor chips dropping, their use in relatively low-cost data processing systems is increasing. In modern data terminal devices, microprocessors are incorporated in keyboards, displays, printers, etc. These devices are associated with the functional operation of the terminal device. Terminals are used in some business environments which require that certain of the operating devices such as a printer, keyboard and display may be added to the terminal or removed from the terminal at various times during the day in accordance with business conditions.
A method of the kind specified is known from U.S. Patent Specification No. 3,866,175 which discloses a system utilizing a recirculating shift register whose output signifies whether a terminal is- active or inactive and which is synchronized with the operation of the address generator to allow the control station to poll only those terminals which are active. If a polled active terminal fails to respond or there is an erroneous response, and the failure or error is repeated a predetermined number of times, the status of the terminal is changed from active to inactive by causing the shift register to be reloaded.
Disclosure of the Invention
It is an object of the present invention to provide a method of the kind specified which is capable of detecting the removal or addition of a processing unit without interrupting the polling sequence..
Therefore, according to the present invention, there is provided a method for polling a plurality of processing units interconnected in a communication network with a control station, characterized by the steps of establishing in said eontrol station first control signals each representing the presence of an active processing unit in the communication network; establishing in said control station second control signals each representing the presence of an inactive processing unit in the communication network; sequentially transmitting a polling word to each active processing unit represented in the first control signals; and at the conclusion of transmitting a polling word to each active- processing unit represented in the first control signals, transmitting a polling word to one of the- inactive processing units represented in the second control signals.
In brief summary of a preferred embodiment of the Invention, there is disclosed hereinafter the utilization of a polling sequence in which a table of all the remote processing devices associated with a central processing device is set up for identifying each of the remote processing devices as being an active or inactive device. The central processing device will initiate a polling sequence by polling each of the active devices listed in the table. At the conclusion of polling all the active devices, the first inactive device listed on the table is polled after which all the active devices are again polled. At the conclusion of the polling of the active devices, the next inactive device in the table is polled. This sequence is repeated enabling the central processing device to poll all of the active/inactive devices in a very short time. If during the polling sequence, an active device becomes inactive or an inactive device becomes active, the polling of the devices using this polling system allows. the central processor to make changes in the poll table at the time that such changes are found so that the polling of the devices will continue in the above-cited sequence.
Brief Description of the Drawings
One embodiment of the present invention will now be described by way of example with reference to the accompanying drawings, in which:-
Fig. 1 is a schematic diagram of a multipoint data processing system including a central processor device connected to a plurality of data terminal devices in which the present invention may be used;
Fig. 2 is a schematic diagram of a communication bus of each of the data terminals of Fig. 1 showing the microprocessor device arrangement of the communication controller located therein;
Fig. 3 is a functional block diagram of each of the microprocessor devices found in the data pro¬ cessing system;
Figs. 4A and 4B taken together disclose a detailed block diagram of the microprocessor device of Fig. 3;
Fig. 5 is a flow chart of the overall polling sequence between the microprocessor device in the controller and the microprocessor devices in the various operating devices of the terminal device;
Fig. 6 is a detailed flow chart for the polling sequence step of Fig. 5 in which the active/inactive microprocessor devices are polled;
Fig. 7 is a detailed flow chart for the polling sequence of the last active/inactive micropro¬ cessor device; Fig. 8 is a schematic diagram of the poll/select message;
Fig. 9 is a schematic diagram of the poll table stored in the RAM memory unit of the controller microprocessor device; and
Fig. 10 is a schematic diagram of an address message transmitted between the microprocessor device of the- controller and the microprocessor devices of the operating devices of the terminal device.
Best Mode for Carrying Out the Invention
Referring to Fig. 1, there is shown a schematic diagram of a typical multi-point data pro¬ cessing system forming a local area communication network which may include a central processor 20 and a plurality of data terminal devices 22 connected to the processor 20 by a serial communication bus 24 and a serial sub-system transfer bus 26 on which data is transmitted between the processor 20 and the terminal devices 22 in a manner that is well known in the art. As shown in Fig. 2, the data, appearing on the serial buses 24 and 26 are inputted into a communication interface unit or controller 28 in each of the* termi¬ nal devices 22. Included in the controller 28 are a pair of microprocessor devices 30,' 32 interconnected by a serial communication bus 34. As is well known in the art, the controller 28 functions to control the transmission of data between the central processor 20 and the various remote operating devices associated with the terminal device 22 such as a printer 36, a keyboard 38, a CRT display 40, and a UPC scanner 42. Associated with each of the operating devices is a microprocessor device 44 which functions in the same manner as microprocessors 30 and 32. The microprocessor device 30 controls the transmission of data between the controller 28 and the central proces¬ sor 20 (Fig. 1), while the microprocessor device 32 controls the transmission of data over the serial bus 46 between the controller 28 and the microprocessor devices 44 associated with each of the operating devices 36-42 inclusive. The microprocessor devices 30, 32 and 44 referred to herein may comprise an Intel 8051 microprocessor chip which is commercially avail¬ able from the'Intel Corporation of Santa Clara, Cali¬ fornia. A description of the Intel 8051 microproces¬ sor chip may be found in the publication "MCS-51 Family of Single Chip Microcomputer User's Manual" published by the Intel Corporation in July, 1981.
Referring now to Fig. 3, there is disclosed a functional block diagram of the microprocessor devic¬ es 30, 32 and 44. Included in each of the micropro¬ cessor devices is a central processing unit (CPU) 50 which is operated by clock signals from an oscillator and timing circuit 52 which in turn receives a refer¬ ence frequency signal from an external clock (not shown) . The processing unit 50 has access over data bus 54 to a 4,096 byte program memory block 56, a 128 byte RAM memory block 58, a two 16 bit timer/event counter block 60, a 64K byte bus expansion control block 62, a programmable I/O control block 64 and a programmable serial port block 66 for either micropro¬ cessor communications or I/O expansion.
Referring now to Figs. 4A and 4B taken together, there is shown a detailed block diagram of the microprocessor devices 30, 32 and 44. Included in each of the microprocessor devices is a 4K x 8 ROM memory unit 70 (Fig. 4B) for program storage, which may be internal or external to the microprocessor devices 30, 32 or 44, a 128 byte internal RAM memory unit generally indicated by the numeral 58 (Fig. 4A) which includes a general purpose register 73, four* banks of eight 8-bit registers 74 and a plurality of special function registers 76. Included in the spe¬ cial function registers 76 (Fig. 4A) is an accumulator (ACC) 78, an 8-bit stack pointer register (SP) 80, a high-order data pointer (DPH) 82, a low-order data pointer (DPL) 84, a timer/counter mode register (TMOD) 86 in which are stored the data bits that select which operation each timer/counter will perform, four timer/counter registers (THI) 88, (THO) 90, (TLI) 92 and (TLO) 94, and a timer/control register (TCON) 96 for controlling the operation of the timer/counter registers 88-94 inclusive. Further include'd in the microprocessor device is a program control section 98 (Fig. 4B) which controls the sequence in which the instructions of the program stored in the ROM 70 are executed and an arithmetic/logic unit 102 (Fig. 4A) for performing arithmetic operation in a manner that is well known in the art. The microprocessor device includes four ports in which port one 104 (Fig. 4A) is used for data transfer and port three 100 contains the transmit/receive lines connected between the micropro¬ cessor device 32 in the controller 28 and the remote microprocessor devices 44 associated with the oper¬ ating devices of the terminal device 22.
Referring now to Fig. 5, there is disclosed a flow chart of a polling sequence between the micro¬ processor device 32 (Fig. 2) and the microprocessor devices 44 each associated with one of the remote operating devices 36-42 inclusive. Prior to the start of a polling sequence, the microprocessor device 32 will have transmitted a status or configuration mes¬ sage to each of the microprocessor devices 44 associ¬ ated with the devices 36-42 inclusive (Fig. 2). This occurs at power-up or when the system is reset. If a microprocessor device 44 is active, that is, is pre¬ sent and in an operating mode, the microprocessor device 32 will establish a poll table 106 (Fig. 9) in the RAM general purpose register 73 (Fig. 4A) in which the binary bits FE are stored at an address of a microprocessor device 44 which is present and active. If a device is inactive, the binary bits 00 are stored.
If the microprocessor device 32 attempts to poll but fails to communicate with a microprocessor device 44, the binary bits FF are stored in the table. The microprocessor device 32 will again try to poll the device. If after two failures in a row to reach the device, the binary bits 00 are stored in the table 106. If a polled microprocessor device 44 responds after the first re-try operation, the binary bits FE are stored in the table. After establishing the table 106, the microprocessor device 32 will check (block 108) (Fig. 5) for a select buffer (not shown) to see if any data has been received from the central processor 20 which is to be transmitted to an active microprocessor device 44 listed in the table 106. The select buffer is located in an external RAM memory unit connected to the microprocessor device 32. If the buffer contains data, the program stored in the ROM memory unit 70 (Fig. 4B-) will send (block 110) a select message 115 (Fig. 8) to see if the microproces¬ sor device 44 is available to receive a message. The construction of the message 115 (Fig. 8) is the same for either a poll or select message with the code 02 representing a poll message and 04 representing a select message. The program will check (block 116) if the device is busy in accordance with the response message received from the polled device. If the polled microprocessor device 44 is busy, the program will again check the select buffers to see if there is any data to be transmitted to a listed active device. If the device is not busy, the microprocessor device 32 will send a data message 112 (Fig. 10) to the microprocessor device 44 (block 118) which includes a four byte message identification field 114 and at least one byte data field 117, free the select buffer to receive further data from the remote processor 20 and check to see if further data has been received and stored in the select buffer.
If no further data has been received from the control processor 20, the program will start polling the microprocessor devices 44 by going to the poll table 106 (Fig. 9) and retrieve (block 120) (Figs. 5 and 6) the poll address of the first microprocessor device 44 listed in the table. The program will check (block 122) (Fig. 6) to see if the device is an active device. If it is, the program will exit (block 124) (Fig. 6) this sequence and send (block 126) (Fig. 5) the poll message 115 (Fig. 8) to the active device asking if the device has any data to be sent to the remote processor 20. If at the time of polling, the polled device has no data to send to the remote pro¬ cessor 20 (Fig. 1) indicated by transmitting an idle message (block 128) to the microprocessor device 32 (Fig. 5), the program will loop back and again start the polling sequence by checking (block 108) to see if there is a select buffer containing data to be trans¬ mitted to one of the active devices.
If the microprocessor device 32 receives a message for the central processor 20 in response to its poll message, the program will transmit (block 130) (Fig. 5) the received message from the active device to the central processor 20 and again check (block 108) to see if there is a select buffer pre¬ sent. The program will continue polling the active devices (block 122) (Fig. 6) until the pointer in one of the registers 74 in the RAM memory unit 58 (Fig. 4A) points to a device address in the general purpose register 73 which is not active. The program will check (block 136) (Fig. 6) to determine whether there is another active device listed subsequently in the poll table 106 (Fig. 9). If there is, the program will get the next active device address (block 120) in the poll table. If there is not, the program will poll (block 138) the address of the next inactive device, that is, that inactive device listed subsequently to the last inactive device which was polled.
In polling the microprocessor devices-, the program will start (block 140) (Fig- 7) by sending the poll message 115 (Fig. 8) (block 142) and start (block 144) a 256 microsecond timer (not shown). The program will then*check for a response (block 146) to the poll message. If it fails to get a response before the 256 microsecond timer times out, it will check (block 148) if the time out is the first time out. If it is the first time out, it will repeat sending the poll message (block 142). If no response is received before the second time out, the program will check (block 150) to see if the polled device is an active device. If it is not, it will exit (block 152) back into the polling sequence. If the device is an active device, the program will update the poll table 106 (Fig. 9) by replacing the code- designation FE with 00. If the polled device responds (block 146) within the first or second time out, the program will check the identity of the device (block 156). If it is an active device, it will exit (block 152) back into the polling sequence. If it is an inactive device, it will update the poll table 106 by replacing the code designation 00 with FE. Upon returning to the polling sequence, the program will check (block 158) (Fig. 6) to see if it is at the end of the poll table. If it is not, it will repeat the polling sequence of the active devices (Figs. 5 and 6).
When the program reaches the end of the poll table 106 after polling the last inactive microproces¬ sor device 44, it will start a ti'ming sequence in counters 88 through 92 (Fig. 4A) inclusive to produce a 15 millisecond time-out. This time period allows the active operating devices of the terminal device 22 such as a keyboard to complete its operating cycle which may produce data required for transmission to the remote processor 20. After checking (block 160) (Fig. 6) for the presence of a time-out, and finding that a time-out has occurred, the program will restart the timer (block 162) and start again polling the table 106 of active devices and the next inactive device. This process will continue until all of the active and inactive microprocessor devices 44 have been polled.
While the invention has been described in detail and with reference to a specific embodiment thereof, it will be understood by those skilled in the art that various changes and modifications can be made therein. For example, the RAM memory unit 58 (Fig. 4A) and the ROM memory unit 70 (Fig. 4B) may be either internal or external or both to the microprocessor devices 30, 32 or 44.

Claims

CLAIMS i
1. A method for polling a plurality of processing units (44) interconnected in a communication network with a control station (28), characterized by the steps of establishing in said control station (28) first control signals (FE) each representing the presence of an active processing unit (44) in the communication network; establishing in said control station (28) second control signals (00) each representing the presence of an inactive processing unit in the communication network; sequentially transmitting a polling word to each active processing unit (44) represented in the first control signals; and at the conclusion of transmitting a polling word to each active processing unit (44) represented in the first control signals, transmitting a polling word to one of the inactive processing units (44) represented in the second control signals.
2. A method according to claim 1, characterized by the step of transmitting a polling word to each active processing unit (44) at the conclusion of transmitting a polling word to one of the inactive processing units (44).
3. A method according to claim 2, characterized in that each step of transmitting a polling word to one of the inactive processing units (44) represented in the second control signals is effected such that the inactive processing units (44) are polled in turn, one inactive processing unit (44) being polled each time after all the active processing units (44) have been polled.
4. A method according to claim 3, characterized by the steps of generating a time-out period at the start of transmitting a polling word to a processing unit (44); where the polled processing unit (44) is associated with a second control signal (00), changing the second control signal (00) to a first control signal (FE) upon receiving a response to the transmission of the polling word within said time¬ out period; and where the polled processing unit (44) is associated with a first control signal (FE), changing the first control signal (FE) to a second control signal (00) when a response is not received to the transmission of the polling word within said time¬ out period.
5. A method according to claim 4, characterized by the initial steps of: transmitting a status message to each of said processing units (44); and establishing in a storage device (73) a table representing said first and second control signals (FE, 00) in accordance with the response received to said, status, messag -
6. A method according to claim 5, characterized by the step of generating a further time-out period after all the active and inactive processing units (44) have been polled; and repeating the polling of the active and inactive processing units (44) after said further time-out period has elapsed.
PCT/US1985/001155 1984-07-02 1985-06-19 Polling method for data processing system WO1986000733A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
DE1985903507 DE188522T1 (en) 1984-07-02 1985-06-19 POLLING METHOD FOR A DATA PROCESSING SYSTEM.
DE8585903507T DE3573958D1 (en) 1984-07-02 1985-06-19 Polling method for data processing system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US06/627,253 US4683531A (en) 1984-07-02 1984-07-02 Polling method for data processing system
US627,253 1984-07-02

Publications (1)

Publication Number Publication Date
WO1986000733A1 true WO1986000733A1 (en) 1986-01-30

Family

ID=24513887

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US1985/001155 WO1986000733A1 (en) 1984-07-02 1985-06-19 Polling method for data processing system

Country Status (6)

Country Link
US (1) US4683531A (en)
EP (1) EP0188522B1 (en)
JP (1) JPS61502641A (en)
CA (1) CA1235228A (en)
DE (1) DE3573958D1 (en)
WO (1) WO1986000733A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3706980A1 (en) * 1986-03-05 1987-09-10 Ampex METHOD FOR SEARCHING AND RESTORING CONNECTIONS IN A DATA COMMUNICATION SYSTEM IN WHICH A SENDING STATION IS CONNECTED TO RECEIVING STATIONS BY A DATA BUS
EP0241678A2 (en) * 1986-04-09 1987-10-21 International Business Machines Corporation Method for self-configuring terminals in a data processing system
GB2225690A (en) * 1988-12-01 1990-06-06 Blackbird Technology Limited Data handling apparatus
EP0372567A2 (en) * 1988-12-09 1990-06-13 Fujitsu Limited Polling communication system with priority control
EP0644679A2 (en) * 1993-09-03 1995-03-22 Fujitsu Limited Remote supervisory system for network elements

Families Citing this family (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4878176A (en) * 1984-05-04 1989-10-31 Asics Corporation Production process control system
EP0183273B1 (en) * 1984-11-30 1992-09-23 Nec Corporation Serial interface system flexibly applicable to a one-to-plurality connection
JPH0666765B2 (en) * 1985-08-02 1994-08-24 河村電器産業株式会社 Audio transmission method in data way system
ATE57288T1 (en) * 1985-08-14 1990-10-15 Siemens Ag CIRCUIT ARRANGEMENT FOR TELECOMMUNICATION SYSTEMS, IN PARTICULAR TELEPHONE EXCHANGE SYSTEMS, WITH INFORMATION REQUEST DEVICES CYCLICLY CONTROLLING REQUEST POINTS.
US4750136A (en) * 1986-01-10 1988-06-07 American Telephone And Telegraph, At&T Information Systems Inc. Communication system having automatic circuit board initialization capability
JPH0789396B2 (en) * 1986-04-23 1995-09-27 能美防災株式会社 Fire alarm equipment
US4901316A (en) * 1986-05-27 1990-02-13 Nohmi Bosai Kogyo Co., Ltd. Disaster prevention monitoring and control facility
US4829297A (en) * 1987-05-08 1989-05-09 Allen-Bradley Company, Inc. Communication network polling technique
US5155857A (en) * 1987-05-29 1992-10-13 Hitachi, Ltd. Communication processing system in which communication by terminals is controlled according to a terminal management table
JPS63314133A (en) * 1987-06-16 1988-12-22 Sharp Corp Power source controlling system in terminal equipment
US5159686A (en) * 1988-02-29 1992-10-27 Convex Computer Corporation Multi-processor computer system having process-independent communication register addressing
US5050070A (en) * 1988-02-29 1991-09-17 Convex Computer Corporation Multi-processor computer system having self-allocating processors
US4896277A (en) * 1988-05-03 1990-01-23 Thermo King Corporation Method of mapping refrigerated containers in a power line carrier based monitoring system
JPH0210454A (en) * 1988-06-29 1990-01-16 Canon Inc Electronic apparatus
US5247659A (en) * 1988-10-06 1993-09-21 International Computers Limited Method for bootstrap loading in a data processing system comprising searching a plurality of program source devices for a bootstrap program if initial data indicating a bootstrap program source device fails a validity check
US5005014A (en) * 1989-05-22 1991-04-02 Motorola, Inc. System and method for optimally transmitting acknowledge back responses
US5200743A (en) * 1989-09-01 1993-04-06 Bently Nevada Multiple remote sensor system for real time analog sensing and differential cummunication
US5210830A (en) * 1990-09-04 1993-05-11 Digi International, Inc. Dynamic reconfiguration of UART polling loop with a jump table
US5590288A (en) * 1991-07-30 1996-12-31 Restaurant Technology, Inc. Distributed data processing system and method utilizing peripheral device polling and layered communication software
JPH0738612B2 (en) * 1992-03-18 1995-04-26 日本電気株式会社 Control device in satellite communication system
DE4224792A1 (en) * 1992-07-27 1994-02-03 Siemens Ag Continuous organisation of contents of address memory in data processing network - involves each station being coupled over communication link with master processor units coupled to slave unit and with addressing structure in memory
US5425027A (en) * 1993-01-04 1995-06-13 Com21, Inc. Wide area fiber and TV cable fast packet cell network
US5420577A (en) * 1993-05-03 1995-05-30 Motorola, Inc. Method for providing communication between a distribution panel and console interface units
US5355404A (en) * 1993-06-29 1994-10-11 At&T Bell Laboratories Method of controlling parameter downloading from a communication switching system to customer stations
EP0652523B1 (en) * 1993-11-10 1999-06-02 Nec Corporation Remote monitoring system
US5586150A (en) * 1993-11-24 1996-12-17 Rajupandaram K. Balasubramaniam Method and apparatus for symbol synchronization in multi-level digital FM radio
EP0677975B1 (en) * 1994-03-16 2002-07-17 Siemens Aktiengesellschaft Method for putting into operation an interface allocatable to different transmission links in a program controlled communication system
US5611074A (en) * 1994-12-14 1997-03-11 International Business Machines Corporation Efficient polling technique using cache coherent protocol
JPH08256155A (en) * 1995-03-17 1996-10-01 Fujitsu Ltd Method and device for rolling of digital processor
US6006017A (en) * 1995-05-02 1999-12-21 Motorola Inc. System for determining the frequency of repetitions of polling active stations relative to the polling of inactive stations
US5596577A (en) * 1995-05-02 1997-01-21 Motorola, Inc. Method and system for providing access by secondary stations to a shared transmission medium
US5694537A (en) * 1995-07-31 1997-12-02 Canon Information Systems, Inc. Network device which selects a time service provider
CA2354177A1 (en) 2001-07-26 2003-01-26 Waverider Communications Inc. Polling using multiple dynamically updated lists
US6990479B2 (en) * 2001-10-04 2006-01-24 Samsung Electronics Co., Ltd. Communication system and method of non-intrusive performance data polling
JP2004032472A (en) * 2002-06-27 2004-01-29 Renesas Technology Corp Network terminal
US7539168B2 (en) * 2003-02-03 2009-05-26 Avaya Inc. Emergency call handling in contention-based wireless local-area networks
US7484125B2 (en) * 2003-07-07 2009-01-27 Hewlett-Packard Development Company, L.P. Method and apparatus for providing updated processor polling information
US10210110B2 (en) * 2016-09-14 2019-02-19 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Associating data buses and management bus connections for peripheral devices
CN110620609B (en) 2019-08-28 2021-05-14 无锡睿思凯科技股份有限公司 Data communication method, main equipment and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3866175A (en) * 1974-04-24 1975-02-11 Ncr Co Data communication system between a central computer and a plurality of data terminals
EP0012502A1 (en) * 1978-12-08 1980-06-25 Motorola, Inc. Polling method for a communications link

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3652993A (en) * 1970-07-24 1972-03-28 Bell Telephone Labor Inc Rapid polling method for digital communications network
US4586128A (en) * 1983-04-14 1986-04-29 Burroughs Corporation Arbitrator circuit and technique for use in a digital computing system having multiple bus controllers

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3866175A (en) * 1974-04-24 1975-02-11 Ncr Co Data communication system between a central computer and a plurality of data terminals
EP0012502A1 (en) * 1978-12-08 1980-06-25 Motorola, Inc. Polling method for a communications link

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
IBM Technical Disclosure Bulletin, volume 20, Nr. 2, July 1977, New York (US) R.W. FARR et al.: "Dynamically Optimized Polling System", pages 773-774, see the whole document *
IBM Technical Disclosure Bulletin, Volume 23, Nr. 3, August 1980, New York (US) W.R. CROWLEY et al.: "Automatic SDLC Poll and Respond to Poll", pages 1178-1182, see page 1180, line 19 - page 1182, line 6 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3706980A1 (en) * 1986-03-05 1987-09-10 Ampex METHOD FOR SEARCHING AND RESTORING CONNECTIONS IN A DATA COMMUNICATION SYSTEM IN WHICH A SENDING STATION IS CONNECTED TO RECEIVING STATIONS BY A DATA BUS
EP0241678A2 (en) * 1986-04-09 1987-10-21 International Business Machines Corporation Method for self-configuring terminals in a data processing system
EP0241678A3 (en) * 1986-04-09 1990-05-02 International Business Machines Corporation Method for self-configuring terminals in a data processing system
US5109484A (en) * 1986-04-09 1992-04-28 International Business Machines Corporation Self configuring terminal which polls loop network and generates list of connected devices for use in selectively downloading control programs
GB2225690A (en) * 1988-12-01 1990-06-06 Blackbird Technology Limited Data handling apparatus
EP0372567A2 (en) * 1988-12-09 1990-06-13 Fujitsu Limited Polling communication system with priority control
EP0372567A3 (en) * 1988-12-09 1991-03-06 Fujitsu Limited Polling communication system with priority control
EP0644679A2 (en) * 1993-09-03 1995-03-22 Fujitsu Limited Remote supervisory system for network elements
EP0644679A3 (en) * 1993-09-03 1997-12-03 Fujitsu Limited Remote supervisory system for network elements

Also Published As

Publication number Publication date
CA1235228A (en) 1988-04-12
EP0188522B1 (en) 1989-10-25
JPS61502641A (en) 1986-11-13
EP0188522A1 (en) 1986-07-30
DE3573958D1 (en) 1989-11-30
US4683531A (en) 1987-07-28

Similar Documents

Publication Publication Date Title
EP0188522B1 (en) Polling method for data processing system
CA1252904A (en) Automatic i/o address assignment
US3665415A (en) Data processing system with program interrupt priority apparatus utilizing working store for multiplexing interrupt requests
US3866175A (en) Data communication system between a central computer and a plurality of data terminals
EP0235199B1 (en) Communication protocol selection for data processing system
US4862355A (en) System permitting peripheral interchangeability during system operation
CA1244556A (en) Multiple port communications adapter apparatus
US4809217A (en) Remote I/O port for transfer of I/O data in a programmable controller
US4799052A (en) Method for communicating data on a communication network by token passing
US4261034A (en) Remote distributed interrupt control for computer peripherals
EP0196911A2 (en) Local area networks
EP0204960A2 (en) Multiple port integrated DMA and interrupt controller and arbitrator
US3961139A (en) Time division multiplexed loop communication system with dynamic allocation of channels
EP0205007A2 (en) Multiple port service expansion adapter for a communications controller
US4502038A (en) Keyboard scanning and interface method and circuit
US7193583B2 (en) Automatic detection of dynamic message sign display panel configuration
US4199662A (en) Hybrid control of time division multiplexing
US7248229B2 (en) Dynamic message sign display panel communication error detection and correction
US5742502A (en) Method and apparatus for generating synchronous data transmissions in a device having a universal asynchronous receiver/transmitter
JPS58502027A (en) Peripherals adapted to monitor low data rate serial input/output interfaces
JPH05265943A (en) Serial data transfer equipment
US4405979A (en) Data processing system having apparatus in a communications subsystem for establishing byte synchronization
US3936601A (en) Method and apparatus for altering the synchronous compare character in a digital data communication system
US7053862B2 (en) System and method for rapidly refreshing a dynamic message sign display panel
US4969090A (en) Program routine vectoring circuit for selectively using either stored interupt instructions or incoming interupt handling instructions

Legal Events

Date Code Title Description
AK Designated states

Designated state(s): JP

AL Designated countries for regional patents

Designated state(s): DE FR GB

WWE Wipo information: entry into national phase

Ref document number: 1985903507

Country of ref document: EP

EL Fr: translation of claims filed
WWP Wipo information: published in national office

Ref document number: 1985903507

Country of ref document: EP

WWG Wipo information: grant in national office

Ref document number: 1985903507

Country of ref document: EP