1. Field of the Invention
This invention relates to electronic device management and more particularly relates to redundant device management.
2. Description of the Related Art
Electronic device monitoring and management is a common task in a computing environment. The reliability of such computing systems is critical because of the potential financial impact that may accompany a device failure. Additionally, such computing systems are often very dynamic, with devices being installed and removed often. Management of addressing information in such systems may be an arduous task. For example, if a device is added to a common computing system, the system administrator must obtain certain addressing and configuration information, such as a Media Access Control (MAC) address, an Internet Protocol (IP) address, a Domain Name Service (DNS) name, and the like, in order to configure the monitoring and management system to communicate with the newly installed device.
One such system requiring device management is a network of managed Uninterruptible Power Supply (UPS) devices. A typical UPS device includes a battery that provides power to an electronic device in the event of a power outage. Typical UPS devices are capable of powering an electronic device for several minutes on battery power alone. In general, the UPS device detects the power outage and applies battery power to the electronic device before the power outage is perceived by the electronic device. Certain UPS devices also include software applications configured to backup data stored on the electronic device, and shut down the electronic device in response to detecting a power outage. Thus, UPS devices are generally configurable to perform certain custom operations in addition to providing battery power in response to a detected power outage.
In general, there are two main types of UPS devices. The first type is a Standby Power System (SPS). An SPS monitors the power line and switches to battery power as soon as it detects a power outage on the line. The switch to battery power generally requires several milliseconds. The electronic device may not receive power during the switch period. This outage may be perceived by certain highly sensitive systems. Standby Power Systems are sometimes called Line-interactive UPSes.
The second type is an on-line UPS. The on-line UPS avoids power lapses by constantly providing power from its own inverter, even when the power line is functioning properly. Thus, an on-line UPS does not require any switching mechanism for applying battery power, and the conversion from line power to battery power is unperceivable by the electronic device. In general, an on-line UPS is more expensive than an SPS. Consequently, on-line UPS devices are typically employed in mission critical computing systems.
In general, the UPS devices provide power to computing or networking devices. UPS devices are most prevalent in business environments, where reliability of data stored on computing devices and consistent access to that data is critical for business activities. For example, UPS devices are typically used to power application servers, network routers, and shared enclosures for data disks or computing peripherals.
In such systems, UPS devices are commonly monitored and managed by a UPS management device. The UPS management device generally monitors the status of the UPS device. Additionally, the UPS management device commonly communicates configuration data to the UPS device. In typical systems, the UPS management device communicates with the UPS device over Ethernet connections using TCP/IP protocols or through individual discrete cables connected directly between the UPS management device and the UPS device.
The present invention has been developed in response to the present state of the art, and in particular, in response to the problems and needs in the art that have not yet been fully solved by currently available device management systems. Accordingly, the present invention has been developed to provide an apparatus, system, and method for redundant device management that overcome many or all of the above-discussed shortcomings in the art.
The apparatus is provided with a plurality of modules configured to functionally execute the necessary steps of receiving a communication message, determining whether an address associated with the communication message designates a local processor as a destination for the communication message, wherein the address is stored in an address field associated with the communication message, and transmitting the communication message to a remote device. These modules in the described embodiments include a transmitter module, a receiver module, and an addressing module.
In a further embodiment, the addressing module determines a type for the communication message received by the receiver module based on a type value in a message type field associated with the communication message. The addressing module may also determine a portion of the communication message designated for the local processor in response to the address in the address field and the type value in the message type field.
In one embodiment, the local processor retrieves a message payload from a message body portion of the communication message designated for the local processor in response to the addressing module determining that the type associated with the communication message is a standard message type and that the local processor is the destination for the communication message. The local processor may also retrieve a message payload from a designated sub-portion of a message body portion of the communication message in response to the addressing module determining that the type associated with the communication message is a broadcast message type, wherein the designated sub-portion of the message body portion of the communication message is determined by the addressing module in response to the address.
The local processor may generate a message payload and inject the message payload into a designated sub-portion of the message body portion of the communication message in response to the addressing module determining that the type associated with the communication message is a poll message type, wherein the designated sub-portion of the message body portion of the communication message is determined by the addressing module in response to the address. Additionally, the transmitter module may transmit the communication message with a default value in the designated sub-portion of the message body portion of the communication message in response to the addressing module determining that the type associated with the communication message is a poll message type, and in response to the local processor failing to inject the message payload into the designated sub-portion of the message body portion of the communication message within a predetermined period of time.
In a further embodiment, the addressing module modifies the address to designate an address value that designates the remote device in association with the transmitter module transmitting the communication message to the remote device.
A system of the present invention is also presented. In one embodiment, the system may include a device manager and one or more chains of managed devices. The managed device may include a receiver module, a transmitter module, and an addressing module. In one embodiment, the receiver module receives a communication message. The transmitter module transmits the communication message to a remote device. The addressing module determines whether an address associated with the communication message designates a local processor as a destination for the communication message, wherein the address is stored in an address field associated with the communication message
The device manager may include a transmitter module, a receiver module, and a processing module. In one embodiment, the transmitter module transmits communication message to a first managed device in the chain of one or more managed devices. The receiver module receives a response message from the first managed device. The processing module generates the communication message and processes the response message, wherein the communication message and the response message further comprise an address field, wherein a value of the address field associates a portion of the communication message with the managed device, and wherein the value of the address field associates a portion of the response message with the managed device.
A method of the present invention is also presented. The method in the disclosed embodiments substantially includes the steps necessary to carry out the functions presented above with respect to the operation of the described apparatus and system. In one embodiment, the method includes receiving a communication message, determining whether an address associated with the communication message designates a local processor as a destination for the communication message, wherein the address is stored in an address field associated with the communication message, and transmitting the communication message to a remote device.
Reference throughout this specification to features, advantages, or similar language does not imply that all of the features and advantages that may be realized with the present invention should be or are in any single embodiment of the invention. Rather, language referring to the features and advantages is understood to mean that a specific feature, advantage, or characteristic described in connection with an embodiment is included in at least one embodiment of the present invention. Thus, discussion of the features and advantages, and similar language, throughout this specification may, but do not necessarily, refer to the same embodiment.
Furthermore, the described features, advantages, and characteristics of the invention may be combined in any suitable manner in one or more embodiments. One skilled in the relevant art will recognize that the invention may be practiced without one or more of the specific features or advantages of a particular embodiment. In other instances, additional features and advantages may be recognized in certain embodiments that may not be present in all embodiments of the invention.
These features and advantages of the present invention will become more fully apparent from the following description and appended claims, or may be learned by the practice of the invention as set forth hereinafter.
In order that the advantages of the invention will be readily understood, a more particular description of the invention briefly described above will be rendered by reference to specific embodiments that are illustrated in the appended drawings. Understanding that these drawings depict only typical embodiments of the invention and are not therefore to be considered to be limiting of its scope, the invention will be described and explained with additional specificity and detail through the use of the accompanying drawings, in which:
Many of the functional units described in this specification have been labeled as modules, in order to more particularly emphasize their implementation independence. For example, a module may be implemented as a hardware circuit comprising custom VLSI circuits or gate arrays, off-the-shelf semiconductors such as logic chips, transistors, or other discrete components. A module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices or the like.
Modules may also be implemented in software for execution by various types of processors. An identified module of executable code may, for instance, comprise one or more physical or logical blocks of computer instructions which may, for instance, be organized as an object, procedure, or function. Nevertheless, the executables of an identified module need not be physically located together, but may comprise disparate instructions stored in different locations which, when joined logically together, comprise the module and achieve the stated purpose for the module.
Indeed, a module of executable code may be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs, and across several memory devices. Similarly, operational data may be identified and illustrated herein within modules, and may be embodied in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed over different locations including over different storage devices, and may exist, at least partially, merely as electronic signals on a system or network.
Reference throughout this specification to “one embodiment,” “an embodiment,” or similar language means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, appearances of the phrases “in one embodiment,” “in an embodiment,” and similar language throughout this specification may, but do not necessarily, all refer to the same embodiment.
Reference to a signal bearing medium may take any form capable of generating a signal, causing a signal to be generated, or causing execution of a program of machine-readable instructions on a digital processing apparatus. A signal bearing medium may include a computer program product comprising computer executable code. A signal bearing medium may be embodied by a transmission line, a compact disk, digital-video disk, a magnetic tape, a Bernoulli drive, a magnetic disk, a punch card, flash memory, integrated circuits, or other digital processing apparatus memory device.
Furthermore, the described features, structures, or characteristics of the invention may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided, such as examples of programming, software modules, user selections, network transactions, database queries, database structures, hardware modules, hardware circuits, hardware chips, etc., to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, materials, and so forth. In other instances, well-known structures, materials, or operations are not shown or described in detail to avoid obscuring aspects of the invention.
In a further embodiment, the device manager 102 may include a processor 110 and a hardware communication card 112 configured to communicate with a hardware communication card 116 of the first managed device 104. The Device manager 102 may establish a master/slave relationship with the managed devices 104-108. Additionally, each managed device 104-108 may include a local processor 114 and a hardware communication card 116. In such an embodiment, the hardware communication cards 112, 116 may include a Field Programmable Gate Array (FPGA) or the like.
In such an embodiment, the hardware communication cards 112, 116 may operate in a quasi-independent state. Specifically, the hardware communication cards 112, 116 may communicate upstream communication messages over the upstream communication link 120 and downstream communication messages over the downstream communication link 118 independently of the processor 110, 114. The benefit of such a configuration is that the device manager 102 can communicate with all of the managed devices 104-108 in the network, even when one of the managed devices has failed or experienced an error.
The upstream communication message and the down stream communication messages are two distinct embodiments of a communication message that the managed devices 104-108 may receive from and transmit to a remote device. For example, the first managed device 104 may receive a downstream communication from the device manager 102. The first managed device 104 may also transmit an upstream communication message to the device manager 104. In such an embodiment, the device manager 102 is a remote device with reference to the first managed device 104.
The hardware communication cards 112, 116 may operate in a quasi-independent state. For example, they may pass communications from one device to another independently of the processor 110, 114. The processor 110, 114 is responsible for generating and processing device specific messages.
For example, when the entire chain is functioning properly, the device manager 102 transmits a downstream status query message to the first managed device 104. The first managed device 104 will receive the status query message and pass the content of a portion of the downstream message intended for the first managed device 104 to the local processor 114. In a further embodiment, the managed device 104 may increment a value in an address field, where the address field is configured to indicate a sub-portion of the downstream communication message designated for the first managed device 104. Upon incrementing the address field, the address field may designate a second sub-portion of the downstream communication message associated with the second managed device 106. The hardware communication card 116 will then continue to pass the status query message downstream to the second managed device 106, and so on until the Nth managed device 108 has received the downstream status query message.
The Nth managed device 108 may determine that it is the last managed device in the chain, and prepare to generate an upstream status response message. The local processor 114 of the Nth managed device 108 may generate the upstream status response message by injecting a status message in an Nth portion of a 1024 bit upstream status response message. The Nth portion may be designated by an address field associated with the upstream communication message. The local processor 114 may communicate the upstream status response message to the hardware communication card 116, which transmits the upstream status response message to the preceding managed device (in this example, the second managed device 106) in the chain.
In a further embodiment, the communication message may include a header portion, message body portion, and a trailer portion. The address field may be located in the header portion. The header portion may also include a message type field. The message type field may include a value that identifies a message as a “poll type,” a “standard type,” or a “broadcast type.” The body portion may be divided into 128 eight bit sub-portions, or alternatively, the body portion may include a single 1024 bit portion. In one embodiment, the trailer portion may include a field for Cyclic Redundancy Check (CRC) data used to verify the content of the communication message as it passes from one device to the next.
As used herein, the term “poll type” means a message transmitted by the device manager 102 to the managed device 104 for the purpose of obtaining a response message. In one embodiment, the response message may include status information or configuration information relating to the operational characteristics of the managed device at that time. As used herein, the term “broadcast type” means a message that contains information which is intended to be communicated to all of the managed devices 104-108 in the network. In one embodiment, the broadcast type message may include separate blocks of information, each block of information designated for an individual managed device 104 based on a value in the address field. As used herein, the term “standard message” means a communication message which is directed toward only a single managed device 104-108 within the network. For example, device manager 102 may send a standard message containing a 1024 bit message payload that is injected into the message body to the second managed device 106 only. In such an embodiment, the message type field would indicate “standard type” using a predetermined ascii character, and the value of the address field would designate that only the second managed device 106 should retrieve the message payload.
The hardware communication card 116 of the second managed device 106 may then receive the upstream status response message from the Nth managed device 108, and check for a status message from the local processor 114 to inject into the second position within the 1024 bit upstream status response message. The second managed device 106 sends the upstream status response message to the first managed device, which follows the same process and finally sends the upstream status response to the device manager 102. The device manager 102 may then receive the upstream status response message and communicate its content to the processor 110. The processor 110 may then process the content of the upstream status response message to determine a status of the network.
However, consider hypothetically that the second managed device 106 is not functioning properly because the local processor 114 has failed. Since the hardware communication card 116 operates quasi-independently of the local processor 114, it may still communicate the downstream status query message to the Nth managed device 108, and the upstream status response message to the first managed device 104. However, when the hardware communication card 116 of the second managed device 106 checks for a local status response message from the local processor 114, it will not find one because the local processor 114 has failed. In such an example, the hardware communication card 116 may leave the second position within the 1024 bit status response message blank, and pass it on. In this example, the processor 110 of the device manager 102 may identify a problem with the second managed device 106, because the second position within the 1024 bit status response message is blank.
In one embodiment, the UPS devices may be chained serially in independent strings of from one to 128 units in length. The hardware communication card 116 of such devices may include an FPGA based hardware controller configured to initiate and manage low level (transport layer) communication with multiple of managed devices 104-108 via a network of RS-485 serial interfaces. The communication fabric may consist of dedicated, point to point, full duplex RS-485 links 118, 120. The transport layer may be implemented entirely in FPGA hardware and not directly visible to firmware on the local processor 114. In one embodiment, the processor 110, 114 is a microprocessor.
The device manager 102 may support multiple independent hardware communication cards 112 for attachment of multiple strings of managed devices 104-108. The managed devices 104-108 may each support a connection to two fully independent and redundant networks 100.
In one embodiment, high level communication may be between the firmware on the microprocessor 110 in the master mode and the firmware in the local processor 114 in each of the managed device 104-108. Essentially, firmware on the local processor 110 of the managed devices may deposit an ASCII message in a specific format and then wait for an ASCII response message of specific format to be returned from local processor 114 on one or more of the slave managed devices 104-108. One of ordinary skill in the art may recognize that the content of the upstream and downstream communication messages could vary widely depending on the requirements of the system 100.
The two UPS chains may be redundantly managed. For example, the first PSC device 201 may include a first RS-485 connection 212 to the first managed device chain and a second RS-485 connection 218 to the second managed device chain. The second PSC device 202 may also include a first RS-485 connection 214 to the first managed device chain and a second RS-485 connection 216 to the second managed device chain. Thus, the second PSC device 202 may take over management of the UPS networks if the first PSC device 201 fails.
As depicted two strings of UPS units 204 may utilize redundant full duplex RS-485 serial connections to communicate with two independent PSC systems 102, 202. Individual UPS units in a string may also be chained together using separate and redundant serial links 118, 120 as shown in
For illustrative purposes, the device manager 102 will be described in the context of a UPS network 200. Specifically, the device manager 102 is described as a PSC device 201. This comparison is for descriptive purposes only, and it is not intended that the device manager 102 should be construed or limited in any way so as to restrict its application to the described embodiment only. Indeed, various alternative embodiments of the device manager 102 are envisaged, including but not limited to, a hard disk array manager, a server manager, a network router monitory, and the like. In one embodiment, the processing module 110 may generate a downstream communication message which the transmitter module 306 may transmit to a first managed device 104 in a chain of UPS devices 204. In a further embodiment, the receiver module 308 may communicate an upstream response message received by the receiver module 308 from the first managed device 104 to the processing module 110.
In a further embodiment. The transmitter module 306 may include an outbound poll message buffer 310 and an outbound standard message buffer 312. The receiver module 308 may also include an inbound message buffer 314 and an IRQ status register 316 with an IRQ status connection 318 to the processing module 110. The hardware communication card 112 may also include a standard message control register 320. The transport layer may deliver the content of each the outbound message buffers 310, 312 and store the corresponding message responses in the inbound message buffer 314. The messages may be encoded in standard ASCII character format.
The poll message buffer 310 may be automatically, periodically, and unconditionally transported or re-transported to the UPS devices 204 by the hardware transport layer either every 200 ms or 400 ms. The poll message buffer 310 may hold a separate eight ASCII character message destined for each of the 128 UPS devices 204 (1024 ASCII characters total). The corresponding message response, stored in the inbound message buffer 314, holds a separate eight ASCII character message response received for each of up to 128 UPS devices 204 (1024 ASCII characters total). When a response to a poll message is received, an IRQ status register 316 (IRQS) bit indicating poll message complete is set and an IRQ is asserted to the processing module 110 on the IRQ status connection 318. This facility may provide for reliable and timely exchange of basic UPS control (e.g., on/off/connect), and UPS status (e.g., fault/on battery) information.
The standard message buffer 312 may hold a single 1024 ASCII character message which can be either targeted to a specific UPS device 204 or broadcast to all UPS devices 204. In one embodiment, standard messages may be queued for delivery only when the Standard Message Control Register (SMCR) 320 is written by the processing module 110. When the SMCR 320 is written with a binary equivalent value from 0 to 127, the message is queued for targeted delivery to the specific corresponding UPS device 204. In another embodiment, when the SMCR 320 is written with any other value the message is queued for broadcast to all UPS devices 204. For example, if the standard message was targeted to a specific UPS device 204 then the corresponding message response, stored in the inbound message buffer 314, may hold a single 1024 ASCII character message response received from the specific targeted UPS device 204. Alternatively, if the standard message was broadcast to all UPS devices 204 then the corresponding message response, stored in the inbound message buffer 314, holds a separate eight ASCII character message response received for each of the 128 UPS devices 204 (1024 ASCII characters total). When a response to a standard message is received an IRQ status register 316 (IRQS) bit indicating standard message complete is set and an IRQ is asserted to the microprocessor. The intent of this facility is primarily for exchange of less urgent information (e.g., read VPD, download code, etc.) with a specific UPS device 204 or with all UPS devices 204.
The hardware transport layer may automatically exchange a complete message every 200 ms. In one embodiment, every other message transaction is unconditionally enforced by the hardware to be a poll message exchange. In a further embodiment, if a standard message has been queued by a write to the SMCR 320 register it may be exchanged by the transport layer as soon as possible subject to the above limitation.
In a particular embodiment, an outbound message buffer 310, 312 may only be written within a 48 ms window following the assertion of any message complete IRQS bit. Writes to any outbound message buffer 310, 312 outside of this window may be discarded, and an outbound buffer write exception bit may be set in IRQS, and an IRQ is asserted to the processing module 110. In a further embodiment, the inbound message buffer 314 may only be read within a 48 ms window following the assertion of any message complete IRQS bit. Reads from the inbound message buffer 314 outside of this window may return “ESC” ASCII characters.
In a further embodiment, the outbound poll message buffer 310 may be initialized with “SPACE” ASCII characters following a power on or hardware reset. This may imply that “SPACE” poll messages may be transacted every 200 ms until the outbound poll message buffer 310 is first loaded by the processing module 110.
In one embodiment, the lowest address in the outbound poll message buffer 310 points to the first character to be transmitted to the first (nearest) managed device 104 in the string. In another embodiment, the lowest address in the outbound standard message buffer 312 points to the first character to be transmitted to a targeted UPS unit 204 or to all UPS units 204 as applicable. For poll and broadcast message responses the lowest address in the buffer 310, 312 may point to the first character received from the first managed device 104 in the string.
ASCII “SPACE” characters may be the hardware generated default message response for a UPS device 204 whose hardware is off-line (e.g.—broken/missing). ASCII “NAK” characters may be the hardware generated default message response from a UPS device 204 whose firmware is off-line (e.g., dead processing unit 114).
In a further embodiment, the configuration module (not shown) may detect a configuration of a UPS chain in response to the upstream communication message received from the UPS devices 204. For example, if an additional UPS device 204 is added to the chain, the configuration module (not shown) may determine that it has been added to the network and automatically begin sending poll messages and configuration messages to the new UPS device 204.
The status module (not shown) may determine a status of the UPS devices 204 within a chain based on the content of the upstream communication message received from the chain. For example, if one portion of an inbound status message is all “SPACE” characters, the status module (not shown) may determine that the UPS device 204 at that location in the string has failed. In a further embodiment, the status module (not shown) may provide some indicia of the failure to a system administrator, such as sounding an alarm or displaying an alert. In a further embodiment, the status module (not shown) or the processing module 110 may send a restart command to the failed UPS device 204, or the like.
In such an embodiment, the local processor 114 may generate a payload for an upstream communication message and process a payload received from a downstream communication message. As described above, the upstream communication message and the downstream communication message may include a 1024 bit data packet. In an alternative embodiment, the data packet may include characters rather than bits. However, only a portion of that 1024 bit data packet may be intended for each of the UPS devices 204.
In a particular embodiment, only 8 characters of the 1024 character data packet are intended for each managed device 104. In such an embodiment, the payload is the 8 bit message to be injected in a predetermined location within the 1024 bit data packet. For example, the first managed device 104 may inject an 8 bit payload message in the first position, or first 8 bits, of the 1024 bit data packet. The second managed device 106 may inject a second 8 bit payload message in the second position or second set of 8 bits in the 1024 bit data packet, and so on until the Nth managed device 108 injects its payload message in the Nth position within the 1024 bit data packet. In such an embodiment, the UPS device chain may be expanded to up to 128 managed device 104.
In one embodiment, the receiver module 404 may receive an upstream or downstream communication message from another managed device 104 or the PSC device 201. The receiver module 404 may then extract the payload from the communication message and place it in an inbound buffer. The transmitter module 402 may then regenerate the communication message and check an outbound message buffer for a payload to inject. The transmitter module 402 may then transmit the communication message to the next managed device 104 in the chain, or to the device manager 102 if it is the first managed device 104 in a chain.
The managed device 104 may automatically and repetitively receive one of three types of messages—poll, standard, or broadcast every 200 ms. In such an embodiment, when the transport layer receives a valid message it may set an IRQ status register 406 (IRQS) bit corresponding to the type of message received and an IRQ 408 may be asserted to the local processor 114.
In a further embodiment, when a message is received, local processor 114 may have a 48 ms window to both read (pop) the message from inbound message First In First Out (FIFO) message buffer, and to write (push) a message response into the outbound message FIFO. The receiver module 404 may include an inbound FIFO and the transmitter module 402 may include an outbound FIFO. The size of the inbound and outbound messages may depend on the type of message that is received. For example, reads from the inbound message FIFO outside of this window may return “ESC” ASCII characters. Similarly, writes to the outbound message FIFO outside of this window may be discarded, and an outbound FIFO write exception bit may be set in IRQS, and an IRQ is asserted to the local processor 114. In a specific embodiment, the local processor 114 may validate the outbound message FIFO within a 48 ms window.
In a similar embodiment, the local processor 114 may read eight ASCII characters from the inbound message FIFO and write eight ASCII characters into the outbound message FIFO within the 48 ms window when a poll message is received. In another embodiment, the local processor 114 may read 1024 ASCII characters from the inbound message FIFO and write 1024 ASCII characters into the outbound message FIFO within the 48 ms window when a targeted message is received. When a broadcast message is received, the local processor 114 may read 1024 ASCII characters from the inbound message FIFO and write eight ASCII characters into the outbound message FIFO within the 48 ms window.
In a further embodiment, the managed device 104 may include an addressing module 410 coupled to the processing module 114. The addressing module 410 may determine a sub-portion of the upstream communication message 120 and the downstream communication message 118 associated the managed device 104, and to modify an address field associated with the upstream communication message 120 and the downstream communication message 118, wherein the modification designates a subsequent managed device 104 in the chain. For example, the addressing module 410 of the first managed device 104 may increment the addressing field before transmitting the downstream communication message 118 to the second managed device 106. Similarly, the second managed device 106 may modify the address field of an upstream communication message 120 before transmitting the upstream communication message 120 to the first managed device 104. Thus, the addressing module 410 modifies the value in the address field to designate an address value that designates the remote device in association with the transmitter module 402 transmitting the communication message to the remote device.
Additionally, the addressing module 410 may determine a type for the communication message received by the receiver module 404 based on a type value in a message type field associated with the communication message. The addressing module 410 may also determine a portion of the communication message designated for the local processor 114 in response to the address in the address field and the type value in the message type field.
For example, the local processor 114 may retrieve a message payload from the message body portion of the communication message designated for the local processor in response to the addressing module 410 determining that the type associated with the communication message is a “standard type” message and that the local processor is the destination for the communication message. Alternatively, the local processor 114 may retrieve a message payload from a designated sub-portion of a message body portion of the communication message in response to the addressing module determining that the type associated with the communication message is a “broadcast type.” In such an embodiment, the designated sub-portion of the message body portion of the communication message is determined by the addressing module 410 in response to a value in the address field.
Alternatively, the local processor 114 may generate a message payload and inject the message payload into a designated sub-portion of the message body portion of the communication message in response to the addressing module 410 determining that the type associated with the communication message is a “poll type”, wherein the designated sub-portion of the message body portion of the communication message is determined by the addressing module 410 in response to the address.
In a further embodiment, the transmitter module 402 may transmit the communication message with a default value in the designated sub-portion of the message body portion of the communication message in response to the addressing module determining that the type associated with the communication message is a “poll type,” and in response to the local processor 114 failing to inject the message payload into the designated sub-portion of the message body portion of the communication message within a predetermined period of time.
In one embodiment, the driver circuit 500 includes a General Purpose Input/Output (GPIO) port 502. The GPIO port 502 may be coupled to a signal amplifier circuit 504. The signal amplifier circuit 504 may include a combination of resistors, capacitors, transistors, and the like configured to increase the transmit signal from the GPIO 502 to a predetermined power level. The driver circuit 500 may also include a line impedance balancing resistor 506. The transmit signal may be communicated from the driver circuit 500 to the receiver circuit over the cable 508. The receiver circuit may include a Light Emitting Diode (LED) 512 configured to convert a received voltage into a light pulse. In one particular embodiment, the LED 512 may be used in conjunction with a light detector (not shown) to improve the quality of a digital signal. The LED 512 may also connect to ground 514.
The driver circuit 600 may include a GPIO port 602, an amplifier circuit 604 and a line impedance matching resistor 606 as described above with relation to
A single-shot mono-stable multivibrator 618 may be coupled to a reset port of the processing module 110, 114. The single-shot mono-stable multivibrator 618 may generate a reset pulse. The reset pulse may then be inverted and communicated to a microprocessor reset supervisor 620. The resulting signal may also be communicated to a local GPIO port 602 on a GPIO line 622 and to the FPGA on an FPGA communication line 624.
The schematic flow chart diagrams that follow are generally set forth as logical flow chart diagrams. As such, the depicted order and labeled steps are indicative of one embodiment of the presented method. Other steps and methods may be conceived that are equivalent in function, logic, or effect to one or more steps, or portions thereof, of the illustrated method. Additionally, the format and symbols employed are provided to explain the logical steps of the method and are understood not to limit the scope of the method. Although various arrow types and line types may be employed in the flow chart diagrams, they are understood not to limit the scope of the corresponding method. Indeed, some arrows or other connectors may be used to indicate only the logical flow of the method. For instance, an arrow may indicate a waiting or monitoring period of unspecified duration between enumerated steps of the depicted method. Additionally, the order in which a particular method occurs may or may not strictly adhere to the order of the corresponding steps shown.
If the addressing module 410 determines 810 that the communication message is a “standard type” message, then the entire message body may be designated 812 for the payload. The addressing module 410 may perform the allocation. The local processor 114 may retrieve a message payload from the message body, or inject a message payload into the message body. For example, the local processor 114 may generate 814 a response message payload and inject 815 the response message payload into the message body. For example, the local processor may communication the response message payload to a message buffer. Then, the transmitter module 402 may retrieve the message payload from the message buffer and place it in the message body when it generates the response message.
If the addressing module 410 determines 810 that the message is a “poll type” message, then the addressing module 410 may determine 816 the sub-portion of the message body designated for communication of payloads with the local processor 114. For example, the addressing module 410 may determine which sub-portion is designated for the local processor 114 based on an address value in the address field associated with the received communication message. If the local processor is active, it may inject a payload into the designated sub-portion of the message body. The transmitter module 402 may determine 818 if the local processor 114 has injected a message payload into the designated sub-portion. If the local processor 114 has not injected the payload, then the transmitter module 402 may inject 820 a default payload into the designated sub-portion.
If the addressing module 410 determines 810 that the message is a “broadcast type,” then the addressing module 410 may determine 822 the sub-portion of the message body designated for communication of payloads with the local processor 114. The local processor 114 may then retrieve 824 a payload from the designated sub-portion. In a further embodiment, the local processor may generate 826 a payload for a response message. For instance, the local processor may generate 826 an acknowledgement payload. The local processor 114 may then inject 828 the payload into the designated sub-portion of the communication message.
In each of the three situations, the addressing module 410 may modify 806 the address field to designate a remote device. For example, the addressing module 410 may increment the value in the address field of a downstream communication message or decrement the value in the address field of an upstream communication message. Finally, the transmitter module 402 may transmit 808 the communication message to a remote device, and the method 800 ends. For example, the transmitter module 402 may transmit 808 the communication message to another managed device 104-108 in a chain of managed devices. Alternatively, the transmitter module may transmit 808 the communication message to the device manager 102.
The present invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described embodiments are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is, therefore, indicated by the appended claims rather than by the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.