Wireless interface encapsulator/decapsulator for emulating IEEE-488 interface bus with wireless protection and quality of service |
|||||||
申请号 | US11137413 | 申请日 | 2005-05-26 | 公开(公告)号 | US20060268926A1 | 公开(公告)日 | 2006-11-30 |
申请人 | Farouk Zanaty; | 发明人 | Farouk Zanaty; | ||||
摘要 | A wireless card for use in a host operating in a wireless network is provided with an IEEE-488 interface bus; and a wireless interface including a transverser provided to transmit and receive radio signals from multiple wireless sources in parallel, while maintaining backward compatibility with the IEEE-488 interface bus. This way the wireless card can advantageously be built to comply with wireless transmission needs, while retaining all benefits associating with the existing IEEE-488 interface bus to provide positive financial impacts for both vendors and consumers. | ||||||
权利要求 | What is claimed is: |
||||||
说明书全文 | In general, modern computer controlled measurement systems are utilized to perform a variety of functions, including, for example, process monitoring and control, test and analysis of physical phenomena and control of mechanical or electrical characteristics. A typical computer controlled measurement system 100, as shown in Specifically, IEEE-488.1 standard defines mechanical, hardware, and electrical protocol specifications for the interconnection of programmable or controllable instruments. IEEE-488.2 standard provides a minimum set of requirements for controller and device capabilities (talker, listener and/or controller), and defines data coding and formats, message and communication protocol structures between controller and device. However, the IEEE-488 interface specification also has a set of limitations, such as, for example, a maximum data transfer rate (bus bandwidth) of 1 megabyte per second (MB/s) with each transaction carrying one byte (8 bits) at time, up to 15 devices to be interconnected in any given setup on one bus, and a maximum total bus (cable) length of 20 meters with a distance between devices up to 2 meters. The cabling and data speed limitations along with a limited set of controllable instruments usable in such a computer controlled measurement system can be burdensome and undesirable, particularly, when wireless technology has matured and becomes increasingly popular in recent years. An example of such wireless technology is the so-called “Wireless HotSpots”, also known as Wi-Fi access points (“APs”) as specified in accordance with IEEE 802.11(a), 802.11(b) and/or 802.11(g) standards, to allow users to connect to the Internet, via mobile devices such as laptops, PDA and the like. Such access points (APs) are provided with wireless capabilities relative to the controllable instruments to access a wireless local area network (WLAN) in order to send and receive information over the Internet and/or other data networks. Such wireless technology can also provide modern computer controlled measurement systems with a greater and more efficient means to access many more remote controllable instruments with much higher data transfer speed without any cabling limitations. For example, as many as 300 controllable instruments can advantageously be utilized without any degradation of performance. In addition, a data transfer speed of at least 50-100 times faster than the IEEE-488 interface specification (e.g., up to 128 megabytes per second) can be achieved without any cabling limitations. Accordingly, there is a need to provide a wireless interface technique and means installed in the PC or workstation (controller) and different types of measurement devices (peripherals or instruments) in a computer controlled measurement system to comply with wireless transmission needs as required by the IEEE 802.11(a), 802.11(b) and/or 802.11(g) standards for a wireless local area network, while maintaining backward compatibility with standard IEEE-488 interface bus. Also needed is an apparatus and method of operating an interface bus that is capable of receiving and transmitting IEEE-488-compliant signals from and to a set of controllable measurement devices (peripherals or instruments) sharing the bus bandwidth in the wireless domain. Various aspects and example embodiments of the present invention advantageously provide computer controlled measurement systems and wireless interface techniques for communication between measurement devices (i.e., peripherals or instruments) from different stream sources in a wireless network. In accordance with an aspect of the present invention, a wireless card for use in a host operating in a wireless network comprises an IEEE-488 interface bus; and a Wireless Interface provided with a Transverser to transmit and receive data and/or control streams from multiple wireless stream sources in parallel, while maintaining backward compatibility with the IEEE-488 interface bus. This way the Wireless Interface can advantageously be built to comply with wireless transmission needs, while retaining all benefits associating with the existing IEEE-488 interface bus to provide positive financial impacts for both vendors and consumers. In accordance with an example embodiment of the present invention, the Wireless Interface comprises an Encapsulator configured to receive payload data to be transmitted, via a wireless antenna, and encapsulate the payload data with necessary header and protocol-dependent information for wireless transmission, via the antenna; and a Decapsulator configured to decapsulate all received information, via the wireless antenna, extract the payload data and prepare the payload data for digital processing. The Transverser is configured to receive up to sixteen (16) data and control streams that are transmitted in parallel in the form of packets from up to eight (8) different wireless stream sources, in compliance with the IEEE-488 interface bus. Such a Transverser is provided with a transmitter arranged to transmit a data stream and a control stream that are bidirectional in the form of packets, with each stream emulating one of sixteen (16) wires of the IEEE-488 interface bus; a receiver arranged to receive one or more data streams and control streams in the form of packets from up to eight (8) wireless stream sources, with each stream emulating one of sixteen (16) wires of the IEEE-488 interface bus; and a processing circuitry configured to perform digital processing all received information after packet decapsulation. In addition, the Transverser is further provided with an encryptor/decryptor arranged to encrypt the data and/or control stream to be transmitted, via the antenna, and to decrypt all received information, via the wireless antenna, according to “Wired Equivalent Privacy” (WEP); and an authenticator arranged to authenticate all received information using Wi-Fi Protection Access (WPA) or a second generation Wi-Fi Protection Access (WPA2) along with the Advanced Encryption Standard (AES). In accordance with an example embodiment of the present invention, the Encapsulator and the Decapsulator are provided with an interchangible function in transmission and reception modes of operation. The Encapsulator is configured to set header information associated with a defined communication protocol for wireless communication; add individual bytes representing message information to be transmitted, via the wireless antenna, with the header information until a packet size is reached; encapsulate a checksum to combined header and message information to form a new packet encapsulating the header and message information and the checksum; and accumulate encapsulated packets until a burst of packets is obtained for transmission, via the wireless antenna. Conversely, the Decapsulator is configured to set header information associated with a defined communication protocol for wireless communication in advance; decode header information from received information in the form of packets, via the wireless antenna; read individual bytes representing message information after the header information is decoded until a packet size is reached; read the checksum from each packet to form a new packet decapsulating the header and message information and the checksum; and accumulate decapsulated packets in a buffer until a message is ready for digital signal processing. The wireless card may correspond to one of a PCMCI (Personal Computer Memory Card International Association) card, a PCI (Peripheral Component Interconnect) card, a mini PCI card, and a USB2 (Universal Serial Bus) card installed to connect peripherals to the host. The host may correspond to either a controller or one of different types of measurement devices in a computer controlled measurement system, in which the controller serves as a wireless Access Point (AP) provided to access network resources, via the Internet, while any one of the measurement devices serves as a client station to communicate with the controller, via wireless transmission as specified by IEEE 802.11(a), 802.11(b) and/or 802.11(g) standards for a wireless local area network (WLAN). In accordance with another aspect of the present invention, a computer controlled measurement system operable in a wireless network, comprises: a plurality of measurement devices located at different locations in a designated area of the wireless network; and a controller which serves as a wireless Access Point (AP) to control measurement of the plurality of measurement devices, via wireless communication; wherein the controller and each of the measurement devices is provided with a Wireless Interface to transmit and receive data and/or control streams representing commands or responses from multiple wireless stream sources in parallel, while maintaining backward compatibility with a standard IEEE-488 interface bus. In accordance with an example embodiment of the present invention, the Wireless Interface is provided with a Transverser to transmit and receive data and/or control streams representing commands or responses from multiple wireless stream sources in parallel; an Encapsulator configured to receive payload data to be transmitted, via a wireless antenna, and encapsulate the payload data with necessary header and protocol-dependent information for wireless transmission, via the antenna; and a Decapsulator configured to decapsulate all received information, via the wireless antenna, extract the payload data and prepare the payload data for digital processing. The Transverser is configured to receive up to sixteen (16) data and control streams that are transmitted in parallel in the form of packets from up to eight (8) different wireless stream sources, in compliance with the standard IEEE-488 interface bus, and comprises: a transmitter arranged to transmit a data stream and a control stream that are bidirectional in the form of packets, with each stream emulating one of sixteen (16) wires of the standard IEEE-488 interface bus; a receiver arranged to receive one or more data streams and control streams in the form of packets from up to eight (8) wireless stream sources, with each stream emulating one of sixteen (16) wires of the IEEE-488 interface bus; and a processing circuitry configured to perform digital processing all received information after packet decapsulation. The Encapsulator may be configured to: set header information associated with a defined communication protocol for wireless communication; add individual bytes representing message information to be transmitted, via the wireless antenna, with the header information until a packet size is reached; encapsulate a checksum to combined header and message information to form a new packet encapsulating the header and message information and the checksum; and accumulate encapsulated packets until a burst of packets is obtained for transmission, via the wireless antenna. Conversely, the Decapsulator may be configured to: set header information associated with a defined communication protocol for wireless communication in advance; decode header information from received information in the form of packets, via the wireless antenna; read individual bytes representing message information after the header information is decoded until a packet size is reached; read the checksum from each packet to form a new packet decapsulating the header and message information and the checksum; and accumulate decapsulated packets in a buffer until a message is ready for digital signal processing. In accordance with yet another aspect of the present invention, a system comprises a plurality of measurement devices located at different locations in a designated area of the wireless network; and a controller which serves as a wireless Access Point (AP) to control measurement of the plurality of measurement devices, via wireless communication; wherein the controller and each of the measurement devices is provided with a Wireless Interface to transmit and receive data and/or control streams representing commands or responses from multiple wireless stream sources in parallel, while maintaining backward compatibility with an existing standard IEEE-488 interface bus. In addition to the example embodiments and aspects as described above, further aspects and embodiments will be apparent by reference to the drawings and by study of the following descriptions. A better understanding of the present invention will become apparent from the following detailed description of example embodiments and the claims when read in connection with the accompanying drawings, all forming a part of the disclosure of this invention. While the following written and illustrated disclosure focuses on disclosing example embodiments of the invention, it should be clearly understood that the same is by way of illustration and example only and that the invention is not limited thereto. The spirit and scope of the present invention are limited only by the terms of the appended claims. The following represents brief descriptions of the drawings, wherein: Before beginning a detailed description of the subject invention, mention of the following is in order. When appropriate, like reference numerals and characters may be used to designate identical, corresponding or similar components in differing figure drawings. Further, in the detailed description to follow, example sizes/values/ranges may be given, although the present invention is not limited to the same. The present invention is compatible with all devices operable with an existing IEEE-488 interface bus as specified by IEEE standard 488.1 and 488.2-1987 “Standard Digital Interface for Programmable Instrumentation”, and is applicable for use with all types of data networks, including, for example, an Integrated Systems Digital Network (ISDN), a Voice over IP (VOIP) network, the Internet, and wireless digital communication services (e.g., wireless local area networks such as Wi-Fi networks, Bluetooth, ultra-wideband networks, and compatible wireless application protocols usable for wireless transmission as specified by IEEE 802.11(a), 802.11(b) and/or 802.11(g) standards, Bluetooth standards and other wireless personal area networks. However, for the sake of simplicity, discussions will concentrate mainly on exemplary use of a measurement system operable in a wireless local area network, although the scope of the present invention is not limited thereto. Attention now is directed to the drawings and particularly to Each of the controller 210 and the measurement devices 220A-220N is equipped with an existing IEEE-488 interface module 242 and a Wireless Interface Encapsulator/Decapsulator 244 referred herein as “HotSpot Interface” which is provided to perform all functions necessary to transmit, receive and execute a command from the controller 210 to one or more HotSpot client stations, i.e., measurement devices 220A-220N, such as a multimeter or a function generator programmable oscilloscope, in accordance with IEEE 802.11(a), (b) and/or (g) standards for a wireless local area network (WLAN). Radio signals transmitted from the HotSpot Interface 244 can be uni-directional or bidirectional in the wireless domain to comply with frequencies of the 2.4-5 GHz bands as dictated by 802.11(a), (b) and/or (g) standards. Such a HotSpot Interface 244 can also be utilized through its modular hardware and software combination, to perform all necessary control and handshaking signals required for the data bus to carry different commands and different responses in accordance with IEEE-488 interface bus standard. This way the relationship to the IEEE-488 can be advantageously maintained to allow different commercial products to be built to comply with the wireless transmission needs, while maintaining backward compatibility with the existing IEEE-488 interface bus and therefore provide positive financial impacts for both vendors and consumers. The HotSpot Interface 244, which is coupled to the IEEE-488 module 242, comprises a Wireless Transverser 310 coupled to a wireless antenna 320, an Encapsulator 330, a Decapsulator 340, and wireless protection and quality of service components 350, to provide dual band communications capability over the 2.4 and 5 GHz frequencies which allow simultaneous associations, control, and management of multi-instrument configurations supported by the IEEE-488 infrastructure. Such a HotSpot Interface 244 is configured to receive a payload portion to be transmitted either from the controller 210 to a designated one or more measurement devices 220A-220N, or vice versa, to encapsulate the same with necessary header and protocol-dependent information that allows the wireless transmission process to be successful. Likewise, the HotSpot Interface 244 is also configured to decapsulate all received information, extract the payload portion and send the same to the processing circuitry (not shown) for performing digital processing of the same information. This way the HotSpot Interface 244 can guarantee that the sent and received payload information are identical to the sending and receiving processing circuitry (not shown) as if the information was transmitted over the existing IEEE-488 interface bus with all known cables. The Wireless Transverser 310 contains a transmitter, a receiver and a processing circuitry (not shown) configured to transmit or receive up to sixteen (16) wireless data and control streams and perform digital processing the same accordingly. The transmitter/receiver can be an integrated component or separate components to perform transmission and reception functions. Each stream (i.e., data or control stream) is a bidirectional stream emulating one of sixteen (16) wires of the standard IEEE-488 interface bus. These streams are as follows: 1) Data Streams:
2) Control Streams:
The control streams may represent control signals used to manage the control and data across the interface as required by the IEEE-488 standard. For example, the Attention (ATN) stream may be asserted by the controller 210 to indicate that an address or control byte is being placed on the data bus. The End or Identify (EOI) stream may be asserted simultaneously with the last byte of data to indicate end-of-data transfer of a multi-byte sequence, or asserted along with ATN stream to initiate a parallel poll or end transfers. The Interface Clear (IFC) stream may be used to clear all buffered information and the sending/receiving and receiving/sending ends between the controller 210 and the measurement device 220A-220N being controlled. The Remote Enable (REN) stream may be asserted to enable a device to go into remote mode when addressed to listen. The Service Request (SRQ) stream may be asserted by any device to request action. Turning now to Referring back to The Decapsulator 340 is configured to receive the entire wireless transmission, strips out the header portion that allows partitioning the remainder portion known as the payload into meaningful information for the receiving end. After the received command is recovered from the payload and the receiver responses to the same, the Decapsulator 340 handles the response. The Decapsulator 340 may then resume the function of Encapsulator 330 when the response is ready to be transmitted. Again, the role between the Decapsulator 340 and Encapsulator 330 allows one to be the other function wise depends on transmit or receive modes of operation. The HotSpot Interface 244 may allow many commands to be sent together. As a result, some of these commands may be executable conditional upon result(s) of other commands. For example, if a measuring voltage command is sent from the controller 210 following by another command to check the current reference voltage at a designated measurement device 220, and if the result exceeds the reference value then, the HotSpot Interface 244 may take a specific action. The scenario of this example can be explained as follows:
These three (3) commands may take the following “ASCII” format: On the standard IEEE-488 interface module 242, these commands will be sent as a stream of ASCII characters each represented by its 0-255 code. As a result, a stream of bits will be sent on the IEEE-488 interface module 242 and the function of the receiving end (controller or measurement device) will be to decode each 8 bits into the corresponding ASCII character. At the Encapsulator 330 of the HotSpot Interface 244, these commands can be augmented together with header identifications, such as, for example:
All the contents of the encapsulated message will then be transmitted in parallel from the eight (8) wireless sources of the HotSpot Interface 244. Encapsulation algorithm can be set as follows:
After the number of header bytes are set for the corresponding communication protocol, an index (i) is set equal to “1” at block 820 which represents the first byte of a series of bytes representing a command (data and/or control message) to be transmitted, via the wireless antenna 330. The index (i) may contain an identifier unique to the transmitter of the HotSpot Interface 244 which can subsequently be used at the receiver end to associate the command received with a particular transmitter. At block 830, the header and the message byte are combined so as to determine whether a combined packet size has reached at a predetermined packet size at block 826. For example, if the packet size is set (software selectable), for example, at 512 or 1024 bytes, then next bytes representing the command will be added to the packet at block 824 until the packet size is reached. Then, a checksum is added to the combined header and message bytes to constitute a new packet at block 828, which encapsulates the header information, actual message bytes and checksum which indicates to a receiver that the information received is correct. Each new packet as encapsulated may then be encrypted for security purposes at block 830, and added to a burst of data packets at block 832. As soon as a predetermined burst size (for example, 5000 data packets per burst) is reached at block 834, the burst of data packets (which may represent both control and data streams) can be transmitted, via the wireless antenna 320, at block 836; otherwise, new data packets will need to be encapsulated one-by-one until the burst size is reached at block 836. Given the main function of the Encapsulator 330 of the HotSpot Interface 320 coupled to, for example, a controller 210, as shown in
The decapsulated message will then be up to the software of the HotSpot Interface 244 to fetch different parts of the message and to break those different parts of the message back to, for example: Decapsulation algorithm can be set as follows:
Based on the current packet size, less the protocol bytes, header bytes and checksum bytes, fetch all other bytes in the contiguous space after the header bytes and before the checksum bytes. These bytes are the transmitted message payload that can be handled by the software of the HotSpot Interface 244. After the number of header bytes is set in advance for the corresponding communication protocol, an incoming burst of packets (message) can be received, via the wireless antenna 320, and decapsulated for signal processing functions. First, each packet as previously encapsulated at the transmitter side is read and its header is decoded, i.e., the number of header bytes that are function of the protocol type) at block 920. A next byte of the transmitted message is then read at block 922 until the packet size has reached at a predetermined packet size at block 926. For example, if the packet size is set (software selectable), for example, at 512 or 1024 bytes, then next bytes representing the command will be added to the packet at block 924 until the packet size is reached. Then, a checksum is read to confirm that the information received is correct. Each new packet as decapsulated may then be encrypted for security purposes at block 830, and added to a message buffer at block 932. As soon as a predetermined buffer size is reached at block 934, the decapsulated packets (which may represent both control and data streams) can be processed accordingly at block 936; otherwise, new data packets will need to be decapsulated one-by-one until the buffer size is reached at block 936. The example Wireless Interface Encapsulator/Decapsulator (“HotSpot Interface”) according to an embodiment of the present invention can also be integrated into standard integrated circuit cards for interchangeability among mobile computers, such as standard personal computers (PCs) and laptops. For example, Various components of the Wireless Interface Encapsulator/Decapsulator (“HotSpot Interface”) as shown, for example, in As described from the foregoing, the present invention advantageously provides the user with improved tools, wireless interface techniques and means installed in the PC or workstation (controller) and different types of measurement devices (peripherals or instruments) in computer controlled measurement systems to comply with wireless transmission needs as required by the IEEE 802.11(a), 802.11(b) and/or 802.11(9) standards for a wireless local area network, while maintaining backward compatibility with standard IEEE-488 interface bus. The Wireless Interface Encapsulator/Decapsulator (“HotSpot Interface”) is provided to operate with the standard IEEE-488 interface bus, and is capable of receiving and transmitting IEEE-488-compliant signals from and to a set of controllable measurement devices (peripherals or instruments) sharing the bus bandwidth in the wireless domain. While there have been illustrated and described what are considered to be example embodiments of the present invention, it will be understood by those skilled in the art and as technology develops that various changes and modifications, may be made, and equivalents may be substituted for elements thereof without departing from the true scope of the present invention. Many modifications, permutations, additions and sub-combinations may be made to adapt the teachings of the present invention to a particular situation without departing from the scope thereof. For example, the components of the Wireless HotSpot Interface 244 can be implemented in a single hardware or firmware stalled at an existing IEEE interface module to perform the functions as described. In addition, the wireless network has been described in the context of a telecommunications network having an architecture typical of North America, it should be appreciated that the present invention is not limited to this particular wireless network or protocol. Rather, the invention is applicable to other wireless networks and compatible communication protocols. Moreover, a remote control system can also be set up at a laboratory, research center or testing center to connect to the network, such as the Internet, as shown in |