AU738319B2 - Polling in data communications - Google Patents

Polling in data communications Download PDF

Info

Publication number
AU738319B2
AU738319B2 AU10119/00A AU1011900A AU738319B2 AU 738319 B2 AU738319 B2 AU 738319B2 AU 10119/00 A AU10119/00 A AU 10119/00A AU 1011900 A AU1011900 A AU 1011900A AU 738319 B2 AU738319 B2 AU 738319B2
Authority
AU
Australia
Prior art keywords
polling
devices
data
messages
byte
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
AU10119/00A
Other versions
AU1011900A (en
Inventor
Steven Schieltz
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sensormatic Electronics Corp
Original Assignee
Sensormatic Electronics Corp
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 Sensormatic Electronics Corp filed Critical Sensormatic Electronics Corp
Priority to AU10119/00A priority Critical patent/AU738319B2/en
Publication of AU1011900A publication Critical patent/AU1011900A/en
Application granted granted Critical
Publication of AU738319B2 publication Critical patent/AU738319B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

S&F Ref: 397434D1
AUSTRALIA
PATENTS ACT 1990 COMPLETE SPECIFICATION FOR A STANDARD PATENT
ORIGINAL
Name and Address of Applicant: Actual Inventor(s): Address for Service: Sensormatic Electronics Corporation 951 Yamato Road Boca Raton Florida 33431-0700 United States of America Steven Schieltz Spruson Ferguson St Martins Tower 31 Market Street Sydney NSW 2000 Polling in Data Communications Invention Title: 4 The following statement is a full description of this invention, including the best method of performing it known to me/us:- 58X45c POLLING IN DATA COMMUNICATIONS FIELD OF THE INVENTION This invention is directed to data communications, and more particularly to polling of interconnected devices.
BACKGROUND OF THE INVENTION It is known to provide data communication networks whereby a number of devices which are each capable of sending and receiving data messages can send and receive data messages from and to each other. One commonly used type of data network is a local area network (LAN) in which the data transmitting and receiving devices are all connected to a common transmission medium such as a twisted-wire pair or a coaxial cable.
Use of a common transmission medium in the data network makes necessary some provision for resolving or preventing conflicting attempts to access the transmission medium. One well known technique for preventing conflicts entails providing a master station which sequentially polls each of the other stations, with the other stations being 25 permitting to access the transmission medium only in e* response to a polling message directed to the particular device which desires to access the medium. Conventional polled networks can provide satisfactory performance when each of the devices requires frequent access to the transmission medium, but if the message traffic is infrequent or "bursty", a polled network does not use the transmission medium efficiently. Also, if the number of devices connected to the transmission medium is large, there 0o may be unacceptably long delays in permitting access to the 35 transmission medium.
It is also known to provide so-called random access control techniques, which are generally more suitable for "bursty" traffic. For example, one known random access technique is referred to as "carrier sense multiple access" (CSMA). According to this technique, when a device has data to transmit, the device "listens" to the transmission medium to determine whether the medium is in use, and if not, proceeds to transmit data. If there is a collision, if two devices transmit respective data packets that overlap in time, then the terminals retransmit their respective data packets in a manner designed to avoid future collisions, such as by delaying a random period before retransmitting.
A disadvantage of the CSMA technique is that the likelihood of collisions increases as the number of devices attached to the transmission medium and the frequency of traffic increases. This may result in unacceptable delays.
In addition, this technique is "non-deterministic,, in the sense that it can not be known with certainty that a device will be able to gain access to the transmission medium within any given finite period of time. This may not be an acceptable characteristic in the case of time-sensitive data.
There are particularly difficult challenges in managing a local area network which is used to interconnect video surveillance cameras, camera control consoles, and other devices constituting a closed circuit television surveillance system. Such a LAN may include a relatively large number of devices with only infrequent needs for 25 network access and also a smaller number of devices with "'.frequent need for access. In addition, there may be substantial differences in size among the data packets to be transmitted. With access control techniques that have heretofore been applied to LAN's used in connection with video surveillance systems, it has not been possible to achieve satisfactory performance without severely limiting the number of devices (cameras and controllers) connected to the LAN.
It can be contemplated to "partition" the video surveillance system, by providing separate LANs for respective portions of the video surveillance system, but .".only at the cost of preventing certain control consoles from controlling video cameras not attached to the same LAN as the control consoles. Thus, partitioning the system is inconsistent with the desirable characteristic of permitting every console to control every camera.
It is an object of the present invention to substantially overcome, or at least ameliorate, one or more of the deficiencies of the prior art.
SUMMARY OF THE INVENTION According to the invention there is provided a method of polling a plurality of interconnected devices, said devices each being capable of receiving and sending data messages, each of said data messages other than polling messages being in a first predetermined format consisting of at least N bytes, N being an integer greater than one, the method comprising the steps of sending said polling messages in sequence to each of said devices, said polling messages each being in a second predetermined format consisting of M bytes, wherein M is a positive integer that is less than N.
Furthermore, according to the present invention, there is also provided a method of operating a data network formed of a plurality of interconnected devices including a master polling device and other devices, the method comprising the steps of: transmitting a respective polling message in sequence from the master polling device to each of said other devices; and S 20 transmitting data messages from said other devices in response to the respective •polling messages; wherein said data messages transmitted from said other devices in response to respective polling messages each consist of at least N bytes and said respective polling message each consist of M bytes, with N and M being positive integers and M less oooo• 25 than N.
ooo• Also, according to the present invention, there is provided a data communication oOO* network comprising: a plurality of devices capable of receiving and sending data messages; [R:\LIBL]463.doc:xl means for interconnecting all of said devices to provide a signal path thereamong; polling means for sending polling messages to said devices via said signal path, each of said data messages other than said polling messages being in a first predetermined format consisting of at least N bytes, N being an integer greater than one, said polling messages each being in a second predetermined format consisting of M bytes, wherein M is a positive integer that is less than N.
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic block diagram of a closed circuit television video surveillance system, including a local area network provided in accordance with the invention for data communication among the devices making up the surveillance system.
FIG. 2 is a block diagram of a system control module for the surveillance system and local area network of Fig. 1.
FIG. 3 is a flow chart which illustrates a polling technique carried out by the system control module of Fig. 2.
FIG. 4 is a flow chart illustrating another polling technique carried out by the system control module of Fig. 2.
FIG. 5A is a waveform diagram which illustrates a negative response signal transmitted by a polled device in the system of Fig. 1 in response to a polling message.
FIG. 5B illustrates the format of a poll command .:.[Next page is page [Next page is page [R:\LIBL]463.doc:mxl transmitted by the system control module of Fig. 2; and FIGS. 5C and 5D illustrate formats of other messages transmitted in the system of Fig. 1.
FIG. 6 schematically illustrates an example of a sequence of polling messages and other signals transmitted in the system of Fig. i.
FIG. 7 is a simplified schematic diagram of a local area network made up of subnetworks in accordance with the invention.
DESCRIPTION OF THE PREFERRED EMBODIMENTS SYSTEM OVERVIEW Referring initially to Fig. 1, reference numeral generally indicates a closed circuit television surveillance system. The system 10 includes a number of television cameras, represented by surveillance domes 12.
Although only four surveillance domes 12 are explicitly shown in Fig. i, it should be understood that the surveillance system 10 may include a much larger number of cameras, and that it is contemplated that some or all of the cameras may not be enclosed within domes. All of the cameras S 25 may be of conventional types, such as those sold by the assignee of this application for video surveillance applications.
The surveillance system 10 also includes a number of camera control consoles 14 which are used to control pan, tilt, zoom, focus, etc. of the cameras 12. Each console 14 22: may be of conventional design, and may be a compact console incorporating a joystick and keypad such as those distributed by the assignee of this application under the trademark "TOUCHTRACKER".
The system 10 further includes a number of monitors 16 for displaying the video signals generated by the surveillance dome cameras 12. Selection of a particular camera to be the source of the signal displayed on a particular monitor can be controlled by an operator by actuating appropriate keys on a control console 14. Again, it should be understood that the number of control consoles 14 and monitors 16 making up the surveillance system i0 may be larger than the three consoles and three monitors shown in Fig. i.
A system control module 18 is provided in the surveillance system 10 to distribute video signals from the cameras 12 to the monitors 16 according to instructions received by the consoles 14. As will be described in more detail below, the system controller 18 also manages data communication between the consoles 14 and cameras 12.
The video signals generated by the cameras 12 are transmitted to the system control module 18 by way of a conventional junction box 20 and an input video signal connection 22. After appropriate switching within the system control module 18, respective output video signals are provided over output video signal connections 24 to the monitors 16.
25 oooooo ooooo A local area network connection 26 is provided to interconnect for data communication the system control module 18, the cameras 12 and the control consoles 14. The LAN connection 26 is preferably arranged in a bus or star configuration or in a combination thereof, and may advantageously be formed from a twisted wire pair, shielded or unshielded. It will be noted that the connection to the LAN 26 for the cameras 12 passes through the junction box and connectors 28, which preferably include separate cabling or wiring for the video signals sent from, and the data communications provided to and from, the cameras 12.
As depicted in Fig. i, the LAN 26 also has connected thereto one or more auxiliary devices 30, which are neither cameras nor control consoles. The auxiliary devices may include, for example, remotely located video switching devices, devices for sending an alarm message upon the occurrence of certain predetermined events (such as the opening of a door or a merchandise display cabinet), and devices for sensing whether lights are on or off and/or for turning lights on and off.
The surveillance system 10 also includes a workstation 32 which includes a keyboard and monitor and is used for configuring the video surveillance system 10 and performing other administrative functions with respect to the system. The workstation 32 may be a conventional device, such as the graphics-based terminal distributed by the assignee of the present invention under the trademark VRS 2000.
The workstation 32 is connected to the system control 18 via an output video signal connection 24 which allows the workstation 32 to receive and display video signals routed from the cameras 12 by way of the system control module 18. The workstation 32 also is connected for data communication with the system control module 18 by way of a separate local area network connection 34. According to a preferred embodiment of the invention, the LAN 34 is operated in accordance with the well known EHTERNET communications protocol.
Although not specifically shown in Fig. 1, it should be understood that the surveillance system 10 may include other components typically provided in such systems, such as video cassette recorders, and video signal 25 multiplexer components which permit two or more video signals to be displayed in split screen fashion on the video monitors. The surveillance system 10 may also be interconnected via the EHTERNET LAN 34 to other systems, such as facility access control systems.
CONTROL MODULE The system control module 18 will now be described in more detail with reference to Fig. 2. The system control ooooo module 18 includes a system host processor 36 which controls the operations of the system control module 18, and also, to a large extent, the operations of the video surveillance system 10. The system host 36 may conveniently be implemented as a conventional '386 personal computer board.
The system control module 18 includes a video switching component 38 which is connected to the system host 36 and operates under control of control signals output from the system host 36. The video switcher 38 receives input video over the connections 22, switches the input video signals according to instructions received from the system host 36 and outputs the switched video signals to text overlay cards 40. The text overlay cards 40 are also connected for control by the system host 36 and produce appropriate text overlays in response to instructions received from the system host 36. The switched video signals, with text overlays added thereto, are output to the monitors 16 and the work station 32 over the above-mentioned output video connections 24.
The system host 36 is also connected to a printer 42 by which printed reports may be output, and is connected via communications interface circuitry 44 to the above-mentioned EHTERNET LAN 34.
Each of the elements 38, 40, 42 and 44 may be of known design as in the surveillance system control hardware distributed by the assignee of the present invention under the trademark "VIDEO MANAGER".
The system control module 18 further includes a network communication card 46 which is connected to the 25 system host 36. The network communication card 46 permits the system control module 18 to receive and transmit data messages from and to the other devices connected to the i surveillance system LAN 26, and also handles management of the LAN 26, in a manner which will be described below. The network communications card 46 may be constituted by communications circuitry provided in the well known "LOCALTALK" local area network distributed by Apple 0 Computer, Inc., except that in a preferred embodiment of the invention, the processor used in the LOCALTALK network communication card is replaced with a model 64180 microprocessor available from Xilog or Hitachi. As will be seen, the communication card 46 operates in accordance with the invention under the control of stored programs to carry out communication protocols different from those used in the LOCALTALK LAN.
NETWORK PROTOCOLS The devices connected to the surveillance system LAN 26 are of varying kinds and are required to transmit a variety of types of data at varying and irregular time intervals. For example, the control consoles 14 frequently transmit short data packets that comprise signals for controlling the cameras 12. On the other hand, the cameras 12 are required, on infrequent occasions, to transmit brief data packets indicative of boundary crossings or the like.
The data packets transmitted by the consoles 14 are time-critical, but the data transmitted by the cameras 12 usually is not. Furthermore, the system module 18, or other devices connected to the LAN 26, may on occasion be required to transmit significant quantities of configuration data and the like, although generally not in a time-critical fashion.
As will described shortly, the system control module 18 manages the access of all of the devices to the LAN 26 so that the various requirements of the devices can all be met over the common data connection. For this purpose, a variety of techniques are employed, separately or :more preferably all in combination. Among these techniques are polling different classes of devices with different degrees of frequency; dynamically shifting devices from one class to another to reflect changes from time to time in the devices' needs for access; employment of both group polling messages as well as polling messages directed to particular devices, with procedures to resolve contention occasioned by multiple responses to the group polling messages; an abbreviated negative response to polling messages; a polling S•message in a format that is shorter than the formats of other -data messages; and direct peer-to-peer data transmission in response to polling messages. All of these techniques will be described in more detail below. The use of these techniques permits the system LAN 26 to accommodate a relatively large number of devices with satisfactory throughput and response time.
As has been implied before, all of the hardware making up the LAN 26 and the associated interface circuitry in the system control module 18 and the other devices connected to the LAN 26 may be constituted from standard hardware used for the above-mentioned conventional "LOCALTALK" LAN distributed by Apple Computer. Accordingly, in a preferred embodiment, transformer isolated RS-422 signaling and FM-O encoding are employed, with a clock speed of 230.4 kilobits per second and SDLC (synchronized data link communications) framing.
DEVICE SPECIFIC POLLING RATES Turning now to the particular polling and network access management techniques, it will first be assumed that the devices which are connected to the LAN 26 are to be divided into three classes, X, Y and Z, with 8 devices 8 consoles 14) in class X, 96 devices 96 cameras 12) in class Y and devices 10 auxiliary devices 30) in class Z. Further, it will be assumed to be desired that, at least on average, each device in class X is to be polled at least twenty times per second, each device in class Y is to be polled at least five times per second, and the devices in class Z are to be e 25 polled at least once per second. To accommodate the devices o* *in class X, each basic polling cycle should not be longer than 50 ms on average and should include one poll of each device in class X. The number of devices from each of classes Y and Z to be polled during the basic polling cycle is to be determined by dividing the number of devices in the class by the ratio of the polling rate for class X to the respective polling rate for classes Y or Z, and then rounding up to the nearest integer. For example, there are 96 devices in class Y, and the desired frequency of polling 35 for class X is four times the desired frequency for class Y, so that 24 96 4) devices from class Y are to be polled during each 50 ms base polling period. Similarly, since the polling frequency is twenty times as great for class X as for class Z, and class Z has 10 devices, the number of devices of class Z to be polled during each 50 ms base polling period is 1 (rounded up from 10/20).
Referring to the 8 devices of class X as devices X1, X2, X8, the 96 devices of class Y as Y1, Y2, Y96, and the 10 devices of class Z as Z1, Z2, an exemplary polling sequence in accordance with the invention is set forth as follows: First polling cycle poll devices X1 through X8, Y1 through Y24, and Zl.
Second polling cycle poll devices X1 through X8, Y25 through Y48, and Z2.
Third polling cycle poll devices X1 through X8, Y49 through Y72, and Z3.
Fourth polling cycle poll devices X1 through X8, Y73 through Y96, and Z4.
Fifth polling cycle poll devices X1 through X8, Y1 through Y24, and Tenth polling cycle poll devices X1 through X8, through Y48, and Eleventh polling cycle poll devices X1 through X8, Y49 through Y72, and Z1.
25 Twentieth polling cycle poll devices X1 through X8, Y73 through Y96, and It will be noted, then, that the varying needs of the different types of devices are accommodated by assigning the devices to distinct classes, and then polling devices in different classes with different degrees of frequency. The polling method accordingly can be considered to be "device sensitive".
It should be understood that rather than carrying out device sensitive polling with three classes of devices, it is possible to employ the same techniques with two classes or with four or more classes. The more frequently polled classes can be considered "preferred" and the less frequently polled classes can be considered "subordinate".
Thus, in the example given above, classes X and Y can be referred to, respectively, as first and second preferred classes with class Z being referred to as a subordinate class. If only two classes of devices are formed, then one may speak simply of a preferred and a subordinate class.
Although it may be convenient to make the less frequent rates integral submultiples of the highest polling rate, this is not required. Neither is it required that the highest polling rate be two or more times the lowest polling rate. For example, as to any two polling rates, the higher polling rate may be N/M times the lower polling rate where N and M are positive integers with N M. Of course, if M 1, then the lower polling rate is an integral submultiple of the higher polling rate.
ADAPTIVE ASSIGNMENT TO POLLING CLASSES To further improve the performance of the LAN 26, the system control module 18 may be operated so that the assignments of devices to the various classes are not static, but rather are dynamically adjusted according to the demonstrated needs of the devices for network access. Fig.
3 illustrates a procedure to be carried out in the system control module 18 (particularly in a network communication 25 card 46) in which devices are dynamically reassigned among the polling classes. For the purposes of Fig. 3, it is assumed that all of the devices have been assigned either to eee a preferred class X or to a subordinate class Y.
The routine of Fig. 3 commences with step 50, at which the system control module 18 polls the devices of class X and class Y in a sequence at prescribed intervals based on a more frequent polling rate for the devices of o class X than for the devices of class Y. For example, the first through fourth polling cycles recited above can be carried out (disregarding the references to devices of class When a polled device responds to polling by indicating that it has data to transfer (the indication may be simply the transfer of data), this fact is logged by the system control module 18 (step 52) Then, at step 54, it is determined for each device in class X whether the device has not responded to a consecutive series of a predetermined number of polling messages N polling messages) If at step 54 it is determined that the particular device of class X has been unresponsive to the last N polls, then it can be assumed that the device is inactive by reason of being turned off, or not being operated by a human operator, and so forth, and the particular device is accordingly reassigned to class Y (step 56) and the routine then proceeds to the next step, which is step 58. Alternatively, if at step 54 the particular device was found to have responded at least once to the last N polls, then the routine proceeds directly from step 54 to step 58.
At step 58, it is determined for each device in class Y whether the particular device has responded more than a predetermined number of times L) to the last K polls directed to the device of class Y, where K also is a predetermined number. If not, the routine loops back to step Otherwise, if a particular device of class Y has surpassed the predetermined standard of activity for reassignment, then step 60 follows step 58, and the frequently-responding device of class Y is reassigned to 25 class X. It will be noted that the routine loops back to •step 50 from step The particular routine shown in Fig. 3 suggests e e that the tests of steps 54 and 58 are to be performed at regular intervals, perhaps after every polling cycle or after every Nth polling cycle, where N is the number of polling cycles required to poll all of the devices in class Y. Of course, it is contemplated to perform the tests of oooeo "step 74 and 58 at longer or shorter intervals. It is also contemplated that the test of step 54 may be performed more 35 or less frequently, rather than equally frequently, in comparison with the test of step 58.
Of course, variations may be made in the tests of steps 54 and 58. For example, to retain assignment to class X, a device may have to have responded twice or more to the last N polling messages directed to the device.
It is also possible to perform dynamic reassignment of devices to polling classes when more than two polling classes have been established. In such a case, some of the polling classes may be excluded from the dynamic reassignment scheme.
INTEGRATION OF GROUP AND INDIVIDUALIZED POLLING TECHNIQUES The performance of the LAN 26 can be further enhanced by combining group polling techniques with the device-by-device polling previously described. Group polling will first be discussed in a simplified form with reference to Fig. 4, which illustrates a procedure to be carried out by the system control module 18. It will be assumed initially for the purposes of the routine of Fig. 4 that there is no classification of the devices connected to LAN 26.
The routine of Fig. 4 starts with step 70, at which the system control module 18 individually polls, in sequence, each device connected to the LAN 26. Following step 70- is step 72, at which the control module 18 broadcasts a group poll message to every device on the LAN 26. Any device which has data to transfer can then respond e 25 to the group poll message. There is no difficulty if none of the devices, or only one device, responds to the group poll message. However, if two or more devices respond to the group poll message, then there is contention, which must be resolved. Accordingly, at step 74 (which follows step 72) it is determined whether there is contention. If not, the routine simply loops back to step 70. Otherwise, step 76 follows step 74. At step 76, the contention detected at step 74 is resolved in some manner. According to a preferred emebodiment of the invention, the contention is resolved by 35 carrying out a known technique referred to as "probing".
An example of the probing technique is described in "Multiaccess Protocols in Packet Communication Systems, F.A. Tobagi, IEEE Transactions on Communications, Vol.
COM-28, No. 4, April 1980, pp. 468-488, and particularly page 478. Briefly, during a probing algorithm, the polled group is broken down into subgroups according to a tree structure and the group poll message is repeated to each subgroup. For example, the subgroups may be formed in a binary fashion, such that the main group is first broken down into halves, then quarters, then eighths, and so forth, until the contention is resolved.
After the contention has been resolved so that each of the contending devices has had an opportunity to transfer information, the routine loops back to step It is possible to apply the technique of Fig. 4 in a number of different ways. For example, step 72 may be performed several times interspersed with step 70, so that a group polling message is delivered several times during the period in which the devices are individually polled in sequence. For example, a quarter of the devices may be individually polled, and then a group polling message sent, with contention resolution if required, then the next quarter of the devices are individually polled and another group message sent and so forth. In this way, the minimum waiting period for each 400': device is reduced to a large extent without greatly adding 25 to the polling overhead.
As another variation, the devices attached to the *LAN 26 can be divided into classes with the individual polling of steps 70 applied to devices of a preferred class and then with group polling being applied to the subordinate class with resolution of contention as required. In this case, either the subordinate class may not be individually polled at all (unless required for resolution of contention) or the subordinate class can also be individually polled but 0000 less frequently than the devices of the preferred class. Of course, it could also be contemplated to individually poll devices of two classes with equal frequency, but then to periodically use group polling only for one of the two classes.
Group polling can also be applied to two or more groups, of which at least one of the groups is also individually polled. Moreover, group polling can be applied in cases where three or more classes of devices are defined for different polling treatment. It will be recognized that the group polling technique illustrated in basic terms in Fig. 4 can also be applied together with the dynamic reassignment procedure of Fig. 3, albeit at some cost in complexity in terms of the probing technique used to resolve contention where necessary.
Further techniques to improve the performance of the LAN 26 will now be described with reference to Figs.
ABBREVIATED NEGATIVE RESPONSE TO POLLING Part of the overhead present in a polling system is the time which elapses while waiting for a response from the polled device. When the polled device has no information to transmit, this fact may be indicated in one of two ways.
S 20 First, the polled device may simply take no action, in which case the polling device "times out," that is the polling device waits for a predetermined period of time and, if no o signal is received from the polled device within that period of time, then the polling device moves on to transmit the next poll in the sequence. As a second alternative, which may be more efficient in terms of timing, the polled device may transmit a signal which indicates that it has no information to send. Typically, such negative responses have been made up of at least a few data bytes. However, in 30 accordance with the invention, the overall time required for polling can be reduced by arranging that the negative response provided by the polled devices be shorter than one byte. A negative response of this type is illustrated in Fig. 5A and consists of a series of line transitions, for instance at least six line transitions, produced over several clock cycles, followed by at least two clock cycles without any line transitions. In the FM-O encoding scheme, the signal shown in Fig. 5A is made up of four bits followed by two clock periods in which neither a 0 nor a 1 bit is produced. When the polling device (in this case system control module 18), senses the response signal as shown in Fig. 5A, which the polled device has transmitted in response to a polling message sent out by the control module 18, the module 18 immediately proceeds to send the next polling message in the sequence of polling messages. Thus, greater efficiency is obtained than with either the conventional time-out technique or with use of negative poll responses made up of several bytes.
It will be appreciated that the negative poll response shown in Fig. 5A is appropriate for use with polling messages directed to individual devices, but would not be satisfactory as a way of responding to group poll messages. In the case of group poll messages, a time-out technique should be used.
ABBREVIATED POLLING COMMAND ee 20 The polling overhead can be reduced further by shortening the length of the polling command eeoc relative to other types of data messages to be transmitted over the LAN 26. This technique will be described in more :detail with reference to Figs. 5B-5D. Fig. 5B schematically 25 illustrates a format for a poll command to be transmitted by the system control module 18. Fig. 5C shows a format for any one of a number of commands other than the poll command which may be transmitted on the LAN 26 by the control module 18 or by other devices connected to the LAN.
S 30 Fig. 5D shows a format for various types of data tpacket messages that may be transmitted on the LAN 26 by various types of devices connected thereto.
Examination of the formats shown in Figs. will indicate that the format for the poll command is shorter than the formats for the other types of data messages to be transmitted on the LAN 26. As a result, the poll command can be recognized simply by its length, and without specifying the type of command in the case of the poll command. Further, because the poll command is transmitted so frequently, the reduction in size as compared to the next shortest type of message provides significant savings in overhead. In particular, it will be noted that the poll command shown in Fig. 5B is made up of a start flag byte, an address byte, two bytes of error detection code, and a stop flag byte, for a total of five bytes in all. By contrast, the shortest format for other types of messages includes a type byte for identifying the type of the message in addition to the five bytes present in the format for the poll command. Also, in the data packet format shown in Fig.
each data packet includes a start flag byte, a destination address byte, a source address byte, a type byte which identifies the type of data packet, a destination "socket" address byte, a source "socket" address byte, at least one and no more than 92 data bytes which make up the data to be transferred by means of the data packet, two bytes of error detection code, and a stop flag byte. Thus, S 20 each data packet is made up of at least 10 bytes, and "possibly as many as 101 bytes.
~It will be recognized that, according to these S" formats, poll commands are made up of a smaller number of bytes than any other command or data message to be 25 transmitted on the LAN 26. Accordingly, polled devices can recognize the poll command simply by its unique length, which is shorter than the length of any other message, and the type byte can therefore be omitted from the poll command, thereby saving time in polling and reducing 30 overhead.
The "type" byte in the format for the other kinds of commands, or in the data packet message format, identifies the kind of the command or data packet. For example, the numerical value contained in the "type" byte may identify a command as an acknowledgment response,. or as a reset -command. Similarly, the numerical value in the "type" byte in a data packet may identify the packet as being of the kind that requires an acknowledgment or as being of the kind which does not require an acknowledgment.
The socket addressing provided by the destination and source socket address. bytes allow for separate addressing to distinct points of access or functions within the operating processes provided at each of the devices connected to the LAN 26.
It should be noted that the destination address "255" in hexidecimal notation) is preferably reserved for broadcasting so that every device connected to the LAN 26 will consider itself an intended recipient of a command addressed to "255" Although not separately shown, it will be understood that the command format shown in Fig. 5C can be readily adapted to group polling and probing operations such as those discussed above. For example, a suitable type designation would be indicative of a group command for a given class of devices, and a format for probing commands could include a type byte indicating that the command is a ooeoo: S 20 probing command, with two destination address bytes "..."indicative of beginning and ending values of a range of addresses which defines a subclass to which the probing command was directed. Also, for suitable group polling arrangements, it is contemplated to use a five byte format for the initial group polling command, with a "broadcast" destination address byte but no type byte.
PEER-TO-PEER COMMUNICATION IN RESPONSE TO POLLING Fig. 6 illustrates in schematic terms a sequence of network access operations carried out on LAN 26 in ~30 accordance with the invention. The block 18 shown in Fig. 6 ***.represents the system control module acting as a master polling device for controlling access to the LAN 26, and each of the nodes labeled N1 through N6 represents a respective one of the various types of devices other than module 18 which are connected to the LAN 26. Further, Fig.
6 shows signals labeled S1 through S12, all of which are transmitted in sequence over the LAN 26.
More specifically, the first signal in the sequence is a polling command S1 transmitted by the control module 18 and addressed to the node labeled Nl. It is assumed that the device corresponding to node N1 has no data to transfer, and accordingly transmits signal S2, which is the negative response having the format shown in Fig. The next signal in the sequence is S3, which is a polling message transmitted by the control module 18 and addressed to the device corresponding to node N2. This time it is assumed that the device at node N2 has data to transfer, and in fact broadcasts a data packet (signal S4) to every device connected to the LAN 26. The next signal is S5, which is another polling message transmitted from control module 18, and this time addressed to the device at node N3. It is assumed that the device at node N3 has data to transfer to another device (namely that at node N6), so that the device at node N3 responds to the polling message S5 by transmitting a suitably addressed data packet S6 over the LAN 26 directly to the device at node N6.
:i 20 The next signal in the illustrated sequence is a polling command S7, transmitted by the control module 18 and .oo.
addressed to the device at node N4. It is assumed that this device has no data to transfer, and therefore transmits a signal S8 that is the negative response as shown in Fig. S. 25 The next signal in the sequence is a polling command S9 transmitted by the control module 18 and Saddressed to the device at node N5. It is now assumed that .the device at node N5 has data to transfer to the device at node N2 and accordingly responds to the command S9 by 30 transmitting a data packet S10 addressed to the device at node N2.
The next signal transmitted is another poll command Sii transmitted by the control module 18 and addressed to the device at node N6. In this case, it is assumed that the device at node N6 has data to transfer to the control module 18 so that the device at node N6 responds to the poll command SlI by transmitting a data packet S12 which is addressed to the control module 18.
A notable feature of the sequence shown in Fig. 6 is that devices are permitted to respond to polling messages by transmitting data directly to another device (other than module 18), rather than transmitting the data to tEhe master polling device for transfer to the ultimate recipient. This direct transfer of data in response to polling provides further improvement in the performance of the LAN 26.
Examples of such direct data transfers are the data packets S4, S6, and In general, no device other than the control module 18 is permitted to access the LAN 26 except in response to a poll command that is addressed, either individually or by group, to the particular device. However, the one exception to this rule is that a device which is a recipient of a data packet which calls for acknowledgment is permitted to respond to such data packet by immediately transmitting an acknowledgment or non-acknowledgment o message.
20 SURVEILLANCE SYSTEM FORMED OF SUBSYSTEMS ~A video surveillance system 10 and the LAN 26 thereof are arranged to accommodate up to 20 or 30 control consoles and up to about 100 cameras. However, it is contemplated to form still larger video surveillance systems by interconnecting a number of networks 10, as schematically illustrated in Fig. 7. In Fig. 7, reference numeral 100 generally indicates a video surveillance system made up of subsystems 10-1, 10-2, 10-3 and 10-4. Video and data connections 102-1, 102-2, 102-3 and 102-4 are provided to link the respective control modules of the subsystems. A particular one of the control modules, say, module 18-1, is designated as a master module to manage the interconnections between systems. For purposes of illustration, only four subsystems are shown in Fig. 7, but it is contemplated to interconnect 40 or more subsystems, to produce a very large surveillance system which includes perhaps 4,000 cameras and a a large number of camera control consoles.
For the most part, polling techniques to be provided are described herein independently of each other, and it certainly is contemplated to use some, rather than all, of the techniques disclosed herein. However, it should be recognized that all of the techniques disclosed herein can be implemented in a single LAN management protocol, and this is in fact done in a preferred embodiment.
That is, in a single preferred embodiment, the negative response, poll command, and other message formats of Figs.
are all employed, together with classification of devices for polling at different polling rates, dynamic reassignment of devices among polling classes, group polling as to at least some classes of devices, with contention resolution as required, and peer-to-peer messaging in response to polling commands. As a result, all of the devices making up a large video surtveillance network can be accommodated by a single local area data network with 20 satisfactory performance in terms of throughput and mean delay time for network access.
Although the network management techniques have been described in connection with a LAN for serving a video surveillance system, it should be recognized that the inventive techniques are applicable to other environments.
Also, although the techniques have been described in connection with a transmission medium made up of a twisted.
wire pair, it should be noted that these techniques can be applied to other types of transmission media, such as coaxial cable or optical fiber, as well as to wireless communication by infrared and so forth.
Although the present invention has been described witli-reference to presently preferred embodiments thereof, it should be understood that various changes can be made without departing from the true spirit of the invention as defined in the appended claims.

Claims (14)

1. A method of polling a plurality of interconnected devices, said devices each being capable of receiving and sending data messages, each of said data messages other than polling messages being in a first predetermined format consisting of at least N bytes, N being an integer greater than one, the method comprising the steps of sending said polling messages in sequence to each of said devices, said polling messages each being in a second predetermined format consisting of M bytes, wherein M is a positive integer that is less than N.
2. A method according to claim 1, wherein M 5 and N 6.
3. A method according to claim 2, wherein each of said polling messages consists of a start flag byte, an address byte for identifying a respective one of said i 15 devices to which the polling message is sent, an error detection code consisting of two bytes, and a stop flag byte. i
4. A method according to claim 3, wherein each of said data messages other than polling messages includes at least a start flag byte, an address byte for S 20 identifying a respective one of said devices to which the data message is sent, a type byte for identifying a type of the data message, an error detection code consisting of two bytes, and a stop flag byte.
A method according to claim 4, wherein some of said data messages also include at least one byte of data to be transferred.
6. A method according to claim 5, wherein none of said data messages includes more than 92 bytes of data to be transferred. [R:\LIBL]463.doc:mxl -29-
7. A method of operating a data network formed of a plurality of interconnected devices including a master polling device and other devices, the method comprising the steps of: transmitting a respective polling message in sequence from the master polling device to each of said other devices; and transmitting data messages from said other devices in response to the respective polling messages; wherein said data messages transmitted from said other devices in response to the respective polling messages each consist of at least N bytes and said respective polling message each consist of M bytes, with N and M being positive integers and M less than N.
8. A method according to claim 7, wherein M 5 and N 6. i 15
9. A method according to claim 8, wherein each of said polling messages consists of a start flag byte, an address byte for identifying a respective one of said devices to which the polling message is sent, an error detection code consisting of two S bytes, and a stop flag byte. S 20
10. A method according to claim 9, wherein each of said data messages that is not a polling message includes at least a start flag byte, an address byte for identifying a respective one of said devices to which the data massage is sent, a type byte for identifying a type of the data message, an error detection code consisting of two bytes, and a stop flag byte.
11. A data communication network comprising: a plurality of devices capable of receiving and sending data messages; means for interconnecting all of said devices to provide a signal path thereamong; [R:\LIBL]463.doc:mxl polling means for sending polling messages to said devices via said signal path, each of said data messages other than said polling messages being in a first predetermined format consisting of at least N bytes, N being an integer greater than one, said polling messages each being in a second predetermined format consisting of M bytes, wherein M is a positive integer that is less than N.
12. A data communication network according to claim 11, wherein M and N 6.
13. A data communication network according to claim 12, wherein each of said polling messages consists of a start flag byte, an address byte which uniquely identifies a respective one of said devices to which the polling message is sent, an error detection code consisting of two bytes and a stop flag byte. *o 15
14. A data communication network according to claim 13, wherein each of said data messages that is not a polling message includes at least a start flag byte, an address byte for identifying a respective one of said devices to which the data message is sent, a type byte for identifying a type of the data message, an error detection code consisting of two bytes, and a stop flag byte. a: DATED this Twenty-second Day of December, 1999 Sensormatic Electronics Corporation Patent Attorneys for the Applicant SPRUSON FERGUSON [R:\LIBL]463.doc:mxl
AU10119/00A 1995-05-26 2000-01-06 Polling in data communications Ceased AU738319B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
AU10119/00A AU738319B2 (en) 1995-05-26 2000-01-06 Polling in data communications

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US08/451862 1995-05-26
AU10119/00A AU738319B2 (en) 1995-05-26 2000-01-06 Polling in data communications

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
AU57541/96A Division AU711109C (en) 1995-05-26 1996-05-17 Data communication network with highly efficient polling procedure

Publications (2)

Publication Number Publication Date
AU1011900A AU1011900A (en) 2000-03-02
AU738319B2 true AU738319B2 (en) 2001-09-13

Family

ID=3701102

Family Applications (1)

Application Number Title Priority Date Filing Date
AU10119/00A Ceased AU738319B2 (en) 1995-05-26 2000-01-06 Polling in data communications

Country Status (1)

Country Link
AU (1) AU738319B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4829297A (en) * 1987-05-08 1989-05-09 Allen-Bradley Company, Inc. Communication network polling technique
US4996518A (en) * 1989-01-31 1991-02-26 Nohmi Bosai Co., Ltd. Fire alarm system
US5416777A (en) * 1991-04-10 1995-05-16 California Institute Of Technology High speed polling protocol for multiple node network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4829297A (en) * 1987-05-08 1989-05-09 Allen-Bradley Company, Inc. Communication network polling technique
US4996518A (en) * 1989-01-31 1991-02-26 Nohmi Bosai Co., Ltd. Fire alarm system
US5416777A (en) * 1991-04-10 1995-05-16 California Institute Of Technology High speed polling protocol for multiple node network

Also Published As

Publication number Publication date
AU1011900A (en) 2000-03-02

Similar Documents

Publication Publication Date Title
US5659787A (en) Data communication network with highly efficient polling procedure
US5854591A (en) System and method for processing passenger service system information
JP2636642B2 (en) Method and apparatus for arbitrating access to a transmission bus associated with a communication switching device
US8060672B2 (en) Event signaling between peripheral modules and a processing unit
EP0355861A1 (en) Industrialized token passing network
JPH0748739B2 (en) Multiple access control method and multiple access control system implementing the method
JPH0831884B2 (en) Network address allocation system
US5140586A (en) Token associated data network communications protocol
JP3571048B2 (en) Method and apparatus for controlling multipoint communication
JPS6199439A (en) Group address communication system
US7151752B2 (en) Method for the broadcasting of a data packet within a switched network based on an optimized calculation of the spanning tree
US6751213B1 (en) Token over ethernet protocol
US5734675A (en) Receiver sharing for demand priority access method repeaters
AU738319B2 (en) Polling in data communications
EP0829152B1 (en) A ring bus data transfer system
AU711109C (en) Data communication network with highly efficient polling procedure
US6044085A (en) Method for arbitrating for access to a control channel in a data bus system
MXPA97008878A (en) Data communications network with highly efficient interrogation procedure
Sharon et al. A CSMA/CD compatible MAC for real-time transmissions based on varying collision intervals
KR100433761B1 (en) Ring Topology Network Design Method using Token Ring Medium Access Control Method and Full-Duplex Fast Ethernet Method
KR0165440B1 (en) Polling communication method
CN100525222C (en) Method and device for performing communication on a bus structured network
KR20060105822A (en) Slot allocation method for synchronous ethernet service in residential ethernet system
JP2715137B2 (en) Communication network control method
Ayandeh Local communication networks for industrial automation

Legal Events

Date Code Title Description
FGA Letters patent sealed or granted (standard patent)