The present invention is a means for communication between a central processing unit (“CPU” or microprocessor) and an input/output control board, for controlling peripheral devices associated with a gaming machine.
Historically, gaming machines have always been monolithic. That is, they have a single Central Processing Unit (CPU) running a single block of software that controlled all the hardware directly. Some hardware devices have a micro-controller in them to perform tasks for an explicit hardware function, but the game CPU to hardware interface is still monolithic in nature. An example of two smart devices that are controlled by the single game CPU are the following: U.S. Pat. No. 5,190,495 (Taxon, and assigned to Bally Manufacturing Corp.) for a high capacity coin hopper (a “super hopper”) for a gaming machine which uses a micro-controller but still has traditional control lines as if it were a non-intelligent hopper and U.S. Pat. No. 5,420,406 to Izawa et. al and assigned to Japan Cash Machines which discloses a bill acceptor, which requires a micro-controller to perform the operation of validating currency, but is interfaced via a dedicated serial port. The software to talk to these hardware devices would, generally, always be included in the software block that runs on the game CPU, whether or not that device was connected to the game. This static approach affects the CPU layout, since the Input/Output (I/O) is included on the CPU board, and it affects the design of the software that runs on the CPU. The resulting method of integrating the software to the hardware on a monolithic (or stand alone) CPU makes the software monolithic, harder to add new interfaces to hardware, and harder to maintain existing software.
If an extra level of intelligence could be added to the hardware devices of the gaming machine, the game CPU could dedicate more time running the game software and less time interfacing to the hardware. Using an Input/Output Control Board (IOCB) makes the game CPU a common part, since changes to the attached hardware do not affect the game CPU board. The structure of the Input/Output Control Board and its interactions with the gaming machine's CPU and the peripheral devices associated with the gaming machine are disclosed in Aristocrat's PCT Patent application, No. PCT/AU99/00373 for an Input/Output Control System. As disclosed, the microprocessor of IOCB, in conjunction with the CPU of the gaming machine, controls the operation of the gaming peripherals. Revisions to the gaming software and additional peripheral devices, are controlled using the IOCB. The IOCB thus provides the extra level of intelligence to the gaming machine, provided there are reliable communication between the IOCB and the game CPU.
The present invention describes communications between the game CPU and the IOCB. A factor in establishing reliable communications between the game CPU and the IOCB is having properly abstracted hardware to allow the software on the game CPU to adapt and correspond to new hardware arrangements with fewer changes to the game CPU hardware and software. The present invention further describes the hardware abstraction protocol.
It is an object of the present invention to provide an interface to enable communication between the central processing unit (CPU) of a gaming machine and an input/output control board (IOCB), for controlling peripheral devices associated with the gaming machine.
Another object of the present invention is to provide a communications protocol for bi-directional communication between the CPU of a gaming machine and an input/output control board.
Yet another object of the present invention is to provide a communications protocol that can determine whether the game CPU is in communication with the IOCB before a communication is sent between them.
Still another object of the present invention is to provide a communications protocol that includes a means of identifying the recipient of the communication.
Another object of the present invention is to provide a communications protocol that includes a means of sequentially numbering the transmissions.
Still another object of the present invention is to provide a communications protocol that contains a virtual device message.
Another object of the present invention is to provide a communications protocol that includes a means to validate the communication and verify the integrity of the communication.
Still another object of the present invention is to provide a means to store program codes for the peripheral devices associated with the gaming machine within the input/output control board, the process being referred to as abstraction.
Yet another object of the present invention is to provide a means to store hardware codes for the peripheral devices associated with the gaming machine within memory means of the input/output control board.
Still another object of the present invention is to provide a means to store communication codes for communicating with the peripheral devices associated with the gaming machine within memory means of the input/output control board.
Yet another object of the present invention is to provide a means to store meta-commands for the control of specific hardware devices.
These and other objects of the invention, which shall become hereafter apparent, are achieved by the present invention, which involves a high speed serial interface that enables communication between the central processing unit (CPU) of a system of playing games of skill or chance or entertainment (a gaming machine) and an input/output control board (IOCB) for controlling peripheral devices associated with the gaming machine. The interface has either an Industry Standard Architecture (ISA) bus, a Universal Serial Bus (USB) or the IEEE 1394 FIREWIRE™ bus. The IOCB facilitates the communications between the game CPU and the peripheral devices. These peripheral devices can be one or more of the following: for example, displays, buttons, coin hoppers, coin mechanisms, bill validators, reel mechanisms, etc., as known to those skilled in the art. Communication with the game CPU is bi-directional, and can occur simultaneously. Communication uses a framed message transport protocol, which includes a message header, a body containing a virtual device message and a packet validation signature. The message header identifies the intended recipient of the message. The body includes the message for the recipient. The packet validation signature includes a termination code and a means for checking if errors have occurred in the transmission. The game CPU communicates to the gaming peripheral devices by sending the device messages across the ISA bus to the IOCB. The IOCB then routes the device messages to the appropriate device. Use of the IOCB and the high speed interface enables the game CPU to use more of its available functions for controlling gaming functions rather than the operation of its associated peripheral devices.
The invention will be better understood by a Detailed Description of the Invention, with reference to the following drawings, of which;
a and
An intelligent input/output control board (“IOCB”, “control board”) is designed to work in conjunction with gaming machines, such as the video poker machine 10 or slot machine 20 shown in
For purposes of this specification, the term “gaming machine” or “gaming device” will be reference numeral 10, and will refer to either of the machines shown in
The Main Game Processor and Software Systems
The main game processor 30 system (
The combination of an OS 50 and GUI 52 provide the game developer with a platform that is supported by both industry standard development software and off-the-shelf standard function software for advanced graphics, sound generation, multi-tasking and networking (shown schematically in
The interface software system 70 described in Aristocrat's PCT Patent Application No. PCT/AU99/00500, for a Method of linking devices to gaming machines, is specifically designed to isolate the game software 54, OS 50 and GUI software 52 from variations in the hardware platform, such as may occur when using peripheral devices having different interface requirements because they are produced by different manufacturers. Interface software 70 acts as a translator between the complex communication systems of the OS/GUI combination and the bit by bit control functions of the MCB peripherals. Additionally, the design of the interface software 70 allows the ability to “plug and play” new peripherals that may not have been available at the time game software 54, OS 50 and GUI 52 software were written. The flexibility and fault tolerance of this interface software system 70 allow the game software 54, OS 50 and GUI 52 to migrate seamlessly from hardware platform to hardware platform, without requiring the actual redesign and re-certification that is normally associated with hardware changes.
The industry standard electrical interface 46 to the system further isolates the game and its software from variations in the main game controller electronics 30 (see
The I/O Control Board
The Input/Output Control System described in this specification is based on using an IOCB in a gaming device 10 as a means for controlling generic game peripheral devices 71 without the necessity of custom programming the gaming machine 10 to accommodate any specific game peripheral device.
The IOCB system 100 uses an embedded microprocessor 102 (the IOCB CPU) to act as an intelligent game play interface for the MCB 32. IOCB microprocessor 102 is in communication with the MCB 32 of the gaming machine 10 using a communications interface 104. IOCB microprocessor 102 has memory means 106, which includes storage means 108, means for volatile memory storage 110 and means for non-volatile memory storage 112, such as, but not meant to be limited to, firmware or EPROM (Electronically Programmable Read Only Memory) memory. Memory means 106 further includes secured memory means 114. As shown in
The IOCB 100 monitors the status of all input functions using interface software 70, described in Aristocrat's PCT Patent Application No. PCT/AU99/00500, for a Method of linking devices to gaming machines, buffering and translating their state into a standard control code which is then transmitted to the MCB 32 for processing by the game software 54. The IOCB 100 also accepts output control codes for driving a plurality of game play interfaces 140, 170 and 190, and translating the control codes into the specific format required for the interface and handling all drive and communications protocols required by the game player interfaces. Finally, new game play interfaces 300 (
The first set of game play interfaces under direct control of IOCB 100 are the player deck interfaces 140 (
Money handling interfaces 170 is the second set of interfaces under direct control of IOCB 100 (
Coin, bill and coupon acceptance/validation is accomplished via dedicated currency validators 174 which accept and verify the authenticity of the currency. Money handling control means 172 and microprocessor 102 are in communication with and monitor the validator's 174 operations, money handling control means 172 providing all control and interface functions required by the currency validator 174 for proper acceptance and validation. Money handling control means 172 in conjunction with IOCB microprocessor 102 formats and translates the currency information for transmission to MCB 32 via communications link 104. It should be noted that certain coupons may require additional validation by the main game processor 32, in which instance money handling control means 172 and IOCB microprocessor 102 transmit the coupon information received from the coupon validator 174 to the MCB 32 for verification. Once verification codes are received back from the MCB 32 by microprocessor 102 and money handling control means 172, the coupons are accepted.
Coin, bill and coupon dispensing is handled by separate vending peripherals such as, coin hoppers 178, and bill/coupon dispensers 184. IOCB 100 controls the operation of the coin hoppers 178 and bill/coupon dispensers 184 directly. Coin hopper control means and bill/coupon dispenser control means are controlled by money handling control means 172 in communication with microprocessor 102. The IOCB 100 initiates and controls all vending of money in response to command codes from the MCB 32 and money handling control means 172 in turn returns confirming vend codes to the coin hoppers 178 or bill/coupon dispensers 184. Electronic media 186 such as credit cards, debit cards, smart cards, or other media known to those in the art, is handled by custom readers 188 which accept and read the identification information from the specific media. These readers 188 transmit this data to the money handling control means 172 which, in conjunction with microprocessor 102, monitors the output from the readers 188, provides any control signals required for acceptance, formats the information, and transmits it to the MCB 32 by communications link 104 for final validation and game credit.
Game security is also controlled by the present invention. The game security interfaces 190 include game security control means 192 which controls peripheral devices such as game door switches 194, electro-mechanical or electronic accounting meters 196, configuration/accounting key switches 198, and the MCB's secured memory storage 114. Game door switches 194 are monitored by game security control means 192, in conjunction with and in communication with IOCB 100's non-volatile monitoring system 116, which detects a door open condition, and can do so even during a power down situation. Upon power up, game security control means 192 receives signals from the door switches 194 and reads the condition of the doors (i.e., whether they are open or closed). Game security control means 192 reports any and all game accesses (indicated by a door open condition) to the MCB 32 for error handling and system notification.
The electro-mechanical or electronic meters 196 are incremented by game security control means 192 in response to commands from MCB 32. These meters are known to those skilled in the art, and as examples and not meant to be a limitation, generally function to indicate the number of credits remaining, money deposited, etc. In the event of a power interruption prior to completion of the meter's increment function, IOCB 100 stores the remaining balance of the meter count(s) in secure memory storage 114. Upon return of system power, secure memory storage 114 transmits the meter increment function to the meter 196 and the meter increment function is completed. Game security control means 192 is in communication with and monitors the status of the configuration/accounting key switches 198 and upon a status change of these key switches, game security control means 192 reports the new state to MCB 32.
IOCB 100 also contains the secure non-volatile data storage means 114 for the main game processor 52. Secure storage means 114 can only be accessed following an unlocking procedure issued by the MCB 32. Secure storage means 114 includes a lock out means 199 which is under control of MCB 32. Access to secure storage means 114 is timed to prevent corruption of the secure storage in case a failure occurs before the main game processor can reset the safety lock out 199. IOCB 100 has power monitoring means 200 in communication with microprocessor 102, such that IOCB 100 can determine an imminent power failure and prevent access to the secure storage means 114.
Secondary communications bus 250 is in communication with microprocessor 102 and controlled by IOCB 100. Secondary communications bus controller means 252 allows expansion of the IOCB 100 beyond the standard set of interfaces by allowing the connection of additional IOCBs 100 which in turn may be connected to additional peripheral devices, such as shown in
An in-depth explanation of the interdependent operational features of the secondary communication bus is presented in our PCT patent application for a Secured inter processor virtual device communications system, No. PCT/AU99/00389.
The IOCB thus provides a generic interface to the microcomputer board of a gaming machine. The IOCB removes the need for configuration specific control routines in gaming software and also isolates the game software from any changes in hardware. The resulting combination of MCB and IOCB provides a game design with built-in high-end multi-media and network capability that can operate on several different MCBs without modification of the game software, yet still maintaining specific control of the game: player interface in real-time. The IOCB allows the ability to “plug and play” new peripherals that may not have been available at the time game software, or the operating system of graphical user interface software were written.
The IOCB acts as a control buffer for the external game play interface; the IOCB translates the generic codes of the game software into the specific codes of the individual interfaces for the various peripheral devices. In this way, specific control codes for an interface and the associated communications protocols required for communicating to the interface can be generalised in the game software with the translation and specific protocols/control codes encoded directly into the IOCB firmware. The expansion communications bus (the secondary communications bus) allows new game play interfaces to be added in the future as new game player interfaces become available. When these new interfaces are connected to the IOCB, the system identifies the new interface and passes its configuration to the appropriate interface software on the MCB. Once identified, the interface software on the MCB locates and loads the additional interface software required to handle the new interface, with the IOCB acting as a message handler between the MCB and the new interface.
Therefore, although this invention has been described with a certain degree of particularity, it is to be understood that the present disclosure has been made only by way of illustration and that numerous changes in the details of construction and arrangement of parts may be resorted to without departing from the spirit and scope of the invention.
The present invention is the communications protocol used between the game CPU 32 and the IOCB 100. The secondary communications system and bar 250 are described in our PCT patent application for a Secured inter processor virtual device communications system, No. PCT/AU99/00389. Communications between the IOCB and the virtual hardware attached to it are handled through low level virtual device drivers. Communications between the game CPU 32 and the IOCB 100 are handled by 46 and communications intergrade 104 of the IOCB, respectively. In the preferred embodiment, communications interface 104 is a high speed interface such as, but limited to, Universal Serial Port (“USB”), or IEEE 1394 “FIREWIRE™”. FIREWIRE™ is the registered trademark for a serial bus that allows for connection to multiple devices at high speed.
The preferred embodiment uses the ISA bus, or Input/Output memory bus, to create a parallel message data port, a message status port, and an interrupt request (IRQ) line that allows the IOCB to signal the game CPU when the status port has changed and an interrupt line to the IOCB to signal the IOCB whenever a message data byte is read from, or written to, the message data port by the game CPU. The message data port has a latched memory byte for read and a separate latched memory byte for write. The status port is read and write accessible to the IOCB, and read-only to the game CPU.
Data transfers between the IOCB and the game CPU are based on a transport framed packet protocol having the following construction:
Data transfers between the IOCB and the game CPU use the message data port, and a message status port. The message status port has the following construction:
The following rules govern the generation of interrupt request during message transfers (Table 1).
Any time the game CPU reads or writes the data port, the IOCB receives an interrupt.
Whenever the flag change results in one of the following conditions, the game CPU receives an interrupt.
In the preferred embodiment of the present invention in which the communications link between the game CPU and the IOCB uses either USB or FIREWIRE™, there are no pertinent inter-character time-out. In those embodiments in which the communication link uses a message port and status flag, message traffic is controlled with time-outs. There is an inter-character time-out within a message that is one or two milliseconds, and there is an inter-message time-out that is three times the inter-character time-out. Because the message port is bi-direction, there is a set of timers for messages going from the IOCB to the game CPU and another set of timers for messages going from the game CPU to the IOCB. Each component, both the IOCB and the game CPU, keeps track of these two timer sets. If the inter-character time-out interval expires, the current message being transferred is in error, and will be aborted (see 458, 462, 464 for the game CPU, in
All messages, sent both directions, are separated by the inter-message time-out. That means that no message can be sent unless the time interval between the current message to be sent and the end of the previous message sent is greater than or equal to the inter-message time-out. So if game CPU is receiving a message from the IOCB, and there is an error that causes the game CPU to ignore the message, the game CPU will discard all characters received until there is a time gap that is at least as long as the inter-message timeout (see 412, 420 in
When a message packet has been received by either the game CPU or the IOCB, the CRC is checked to see if the packet has any errors. (See FIG. at 438 and 548 in
After receiving a good message, the receiving communication driver will generate a acknowledgment (ACK) message to virtual IDO with the command code for ACK and the sequence number of the message being acknowledged. Since the ACK message is addressed to virtual IDO, the starting value for the CRC's O. The CRC algorithm is applied to the ACK message, and the resulting CRC is appended. The ACK message is then queued to be sent next. The ACK message is not acknowledged, nor does it affect the sequence numbering of the transmitting side, or the expected sequence number on the receive side.
While the transmitting side is waiting for an ACK message corresponding to a sent packet, it can continue to receive packets. If after sending a packet while it is waiting for an ACK message, the sender is also receiving a packet, the sender will expect the very next packet after the current packet and after the inter-message timeout, to be the expected ACK message. Therefore, if after a time period corresponding to the sum of an inter-message timeout period and an inter-character timeout period of another packet that isn't an ACK message for the packet sent, the sender will resend the packet. The sender will retry sending a packet three times. If after three retries there still has been no acknowledgment for the pocket the sender will request the other side to verify the existence of the virtual ID in the packet. If the virtual ID is not verified, there is an error. No communication should occur until after a virtual ID has been assigned in a request table message or a new hardware message. If the virtual ID does exist, the sender will discard the packet and continue sending and receiving other messages. (See, for example
The overall communications protocol between the game CPU and the IOCB are shown in
If the status is not equal to zero, at 403 the IOCB checks whether the bit is Busy. If yes, it indicates the bit is processing an application and there should be no interruption consequently, the IOCB sets the inter-byte timeout counter to three times its normal period at 404.
The CPU will transmit to the IOCB on expiration of the extended inter-byte timeout at 405, and if the transmission to the IOCB is completed, at 406 the inter-byte timeout counter is set to the value of the inter-message timeout, approximately 1–2 milliseconds as described previously.
If, however, the status was not busy at 403, or after the system has become free at 406, the game CPU determines whether the IOCB's status is Ready-to-Transmit (RTT) at 408. If the IOCB is not ready to transmit, at 149 at game CPU, as will be described further in
If at 408 the bit is set at Ready to Transmit and, at 410, receiving is not greater than zero, and the inter-message timeout has expired at 412, then the game CPU, at 414, gets the appropriate byte from the message port and is set at message zero (or circuit number zero). At 416, the system determines whether the message [at register] zero has a valid virtual ID; if the virtual ID is valid at 418, the system checks the bit for Transmit Abort Status (FIG. b at 450).
If at 408 the bit is set at Ready to Transmit, and at 410 receiving is greater than zero, at 422 the game CPU determines whether the inter-byte [timeout?] counter has expired. If this timeout has not expired, at 424 the system gets a byte from the message port, puts it in message [receiving] and resets the inter-byte time out counter, and, the receiving messages is not greater than or equal to 1 at 426. The game CPU determines whether the message being received has a value that is greater than the messages received plus one (at 454). If this is determined to be “YES” at 435, the system loops back to 419.
If at 408 the bit is set at Ready to Transmit, and a 410 receiving is not greater than zero, and the inter-message timeout at 412 has not expired, the game CPU proceeds according to reference numeral 420.
Similarly, if at 426 receiving was greater than or equal to one (same comment as just above) receiving is set to message [1] at 428, and, at 430, the value of message [1] is not greater than 4, game CPU proceeds according to the protocol at reference numeral 420. At this point 420, the message is discarded, the inter-message timeout counter is set, receiving is set to zero, and the bit is then checked to see if its status is Transmit Abort at 450 (Fib 6b).
If at 430, the value of message [1] was greater than 4, at 432 receiving is set and the game CPU determines (
Other events, shown in
Referring now to
At 484, the game CPU determines the status of the Ready-To-Receive (RTR) and the Receive Aborted (RA) bits. If the IOCB is ready to receive, the game CPU will attempt a transmission at 456. If the transmission is successful, at 458 the game CPU checks whether the inter-byte [timeout counter?] has timed out. If the transmission was unsuccessful, or if the bit was not set as Ready-To-Receive, at 470 the game CPU inquires whether there has been transmission and whether the inter-byte has timed out. If that answer is no, at 472 the status of the Receive Aborted bit is determined. A negative response enables the game CPU to return from the interrupt.
Referring back to reference numeral 458 in
If at 458, the inter-byte has not timed out, at 460 a transmit message is sent to the message port. If the value of the message transmitted is equal to a value of one less than the number of messages transmitted at 466, then at 464, the inter-message timer counter is reset, transmission is set to zero, and the system returns from the interrupt. Similarly, at 468, the inter-byte timeout counter is reset or after the resend transmission flag has been reset at 462, the system will return from the interrupt.
The interrupt service routine of the IOCB is shown in
The IOCB sends an interrupt request at 499 to the port, which at 500 sets the IRQ line to FALSE. The IOCB determines if the port is being read at 502. If the port is not being read, the IOCB determines if the port is being written at 518. If the port is not being written, at 550 at the IRQ line.
If it occurs, at 552 the IRQ line is toggled to the game CPU, allowing a return from the interrupt at 553.
If at 502 the port is being read, and the bit status is not Ready to Transmit(RTT) at 504, the inter-message timer counter is set at 505 and the IOCB determines if the port is written at 518, as described above.
If the bit status is Ready to Transmit at 504, and at 508 the inter-byte times has expired, the resend flag is set to TRUE at 510. This is followed by the inter-message timer counter being set at 505, and a determination as to whether the port is being written at 518, as described above. If the bit status is Ready to Transmit at 504, and at 508 the inter-byte timer has not expired. If at 514 the number of transmissions is not less than the number of transmitted messages at 512, the inter-message timer counter is set, the number of transmission is set to zero, and the bit is cleared of its RTT status. After this step, the IOCB determines if the port is written, at 518, as described above.
If 514, the number of transmissions is less than the number of transmitted messages, at 516 the IOCB sends a transmit message to the message port, sets the IRQ line to TRUE, and resets the inter-byte timeout counter. Upon completion of the procedure at reference numeral 516, the IOCB determines if the port is written, at 518, as described above.
When the IOCB determines the port is being written at 516, if its status at 520 is not Ready to Receive (RTR), then at 522, the status RTR byte is ignored, the inter-message timer counter is set, receiving is set to zero and the status byte is cleared. Upon completion of the steps a reference numeral 522, the IOCB addresses the IRQ line at 550, as previously described.
If the virtual ID for RCV[O] is not valid at 534, the IOCB ignores the byte, clears the status RTR at 522, and, as previously described, proceeds to address the IRQ line at 550.
If the byte status for Ready to Receive at 520 is set, and the receiving message is greater than zero at 524, then if the inter-byte has timed out at 526, the IOCB ignores the byte, clears the status RTR at 522, and, as previously described, proceeds to address the IRQ line at 550.
When the byte status for Ready to Receive at 520 is set, the receiving message is greater than zero, but at 526 the inter-byte has not timed out, then at 528 the byte is put in RCV (receiving mode) and the inter-byte timeout counter is reset. The IOCB determines whether receiving 1 at 538. If at 538 receiving 1, and the byte is greater than 4 at 540, at 542 the byte is put into receiving. If the value for the received message is equal to the value of the previously received messages plus 1 (at 546), the byte is sent to the communications driver for validation using a CRC check at 548. The receiving byte is reset to zero, the status Ready to Receive is cleared, and, as previously described, the IOCB proceeds to address the IRQ line at 550. If at 546 the value for the received message is not equal to the value of the previously received messages plus one, at 536 the IRQ line is set to TRUE, and the IOCB proceeds to address the IRQ line at 550 as described previously.
If at 538, receiving is not equivalent to 1, and at 544 the value of the received message is greater than the value of the previously received messages plus one, the IOCB proceeds to address the IRQ line at 550 as described above.
When the value of the received message is not greater than the value of the previously received messages plus one, at 542, the byte is put in RCV at 542, verified, and the IOCB proceed to address the IRQ line at 550 as described previously.
If the inter-message counter has timed out at 530 after it has been determined that receiving is not greater than zero at 524, then, at 532 a byte is put in RCU[O]. Receiving is also set to 5. After these settings have been made, the virtual ID is validated at 534. A valid virtual ID results in the IRQ line being set to TRUE, and receiving to it, at 536. The IOCB then proceeds to address the IRQ line at 550, as previously described.
Monolithic gaming machines have been described earlier, in which a single CPU controls the gaming machine and its affiliated hardware devices. One aspect of the present invention, described above has shown that there is reliable communication between the game CPU and the IOCB. The other aspect of the present invention is that the hardware attached through the IOCB to the game CPU must be abstracted.
As used in this specification abstraction refers to the process of shifting the source of the software necessary to control a particular device from a CPU contained in that particular device to another CPU that is remote to the particular device. This other CPU may contain additional software to control other specific hardware devices which also are connected to, yet remote from, this other CPU. In a sense, the hardware is already physically abstracted, in that it is not directly attached to the game CPU as in previous monolithic (single CPU) game designs. The general method or protocol of communicating with the hardware should also be abstracted. Since the interface between the game CPU and the hardware is no longer dedicated, as in a monolithic game, adding a layer of abstraction provides the game software with enough flexibility to properly adapt and correspond to new hardware arrangements.
The common physical attribute hardware devices from the game CPU's perspective is that the hardware devices are all controlled by a CPU (that of the IOCB) other than the game CPU. The game CPU does not have to use processing bandwidth to directly control or interact with a peripheral device until an event on that device, such as a jackpot to be paid out, actually happens. Since all the hardware devices that are attached to the game CPU through the IOCB have a CPU to control them, the software on the IOCB CPU can add or modify features or attributes other than those normally directly supported by the hardware devices. This makes abstraction of the hardware devices easy, by adding the abstracted features to the software in the IOCB's CPU, thereby controlling the operation of the hardware devices. Some examples of hardware devices that can be attached to the game through the IOCB, but not limited to these, might be: buttons, lamps, coin acceptors, card acceptors, bill acceptors, hoppers, coupon dispensers, bells, reel mechanisms, dice mechanisms, wheel mechanisms, feature displays, and door switches. Some attributes of the attached hardware devices, but not limited to these, that could be added to the IOCB software to make the hardware devices easier to use include: a hardware type, a hardware subtype, a serial number, a hardware/software revision level, a hardware state (whether enabled, disabled, reset, and other states that are hardware dependent), a hardware status (okay, disabled, error, etc) and a hardware dependent configuration. The hardware type would tell the game CPU what type of device is attached; this includes information for communicating with the device. The hardware subtype would allow finer resolution of the hardware type. For example, a coin acceptor or hopper would use the hardware subtype to determine the configured denomination, i.e., nickel, quarter, or dollar token. The serial number allows the game CPU to discriminate between the same hardware types. This function is particularly important in view of the trend to employ multi-game machines, or gaming machines which may be connected to a plurality of identical devices such as, for example, multiple coin acceptors. The serial number provides a unique identifier for each device. The hardware/software revision level tells the game CPU what feature/attribute set to expect. As hardware of software is updated, new feature/attributes are added or changed, the revision level informs the game CPU what capability to expect from the attached and abstracted hardware. The hardware state allows the game CPU to control the overall gross functioning of the hardware device. For example, if the state were set to enabled on the coin or bill acceptor, they would accept money. The game CPU would change the state to disabled to turn the hardware device off. The hardware status would tell the game software if the device is operable, and what operation it is currently performing. The game software can not affect the status: it is merely reported to the game CPU. The status settings beyond the generic setting of “okay,” “disabled,” and “error” are hardware dependent. For example, a hopper could have states for “forward” and “reverse,” or a bill acceptor could have states for “vend,” “reject,” “escrow,” and “stacking.” The common states would all have the same numerical code from device to device, but extended states like “forward” and “vend” could have the same numeric code, but would be differentiated by the hardware type.
As described in Aristocrat's PCT Patent Application, No. PCT/AU99/00500, for a Method of linking devices to gaming machines, many of these abstracted attributes are stored within the IOCB's memory in a plurality of jurisdictional and hardware tables.
In addition to the attributes of the attached hardware devices, the abstraction process needs to include commands to control these devices. Three important hardware abstraction commands are open, close, and acknowledge. The open command is used to inform the abstracted hardware, the virtual ID that has been assigned to it. The virtual ID is determined by the factors which include the hardware type and subtype and serial number. The acknowledge command is needed to provide positive control of the end-to-end message traffic with the abstracted hardware. The use of the acknowledge (ACK) command for message control has been described above, with respect to message traffic between the game CPU and the IOCB. The close command is used when the portion of the game CPU software that uses the hardware device is unloaded or inactivated. For example, in a multi-game platform, one particular game could use some special hardware. When the player selects that game to play, the game software on the game CPU opens the virtual circuit to the special hardware required. Once the player finishes that game, and chooses another game, the game software would close the virtual circuit to that special hardware.
The abstracted hardware attributes informs the game CPU how to communicate with the hardware device. Hardware abstraction commands affect message flow. Another aspect of the abstraction process includes abstraction of the communications protocols. An important abstraction for communications to the hardware devices is a level of message acknowledgment and number of retries form the perspective of the sender/receiver end points. The transfer protocol handles the transfer from game CPU to IOCB, and vice-versa. The hardware controller must have acknowledgment form the game CPU that the message sent was understood and processed: while the game CPU must have the same positive knowledge that the hardware has received and is executing the command sent to it. The preferred embodiment uses positive acknowledgment for receipt of messages.
This level of positive acknowledgment is built into the same level as the hardware attributes and features described above. These are encapsulated into the body of the framed transport packet protocol using a similar message structure, but without the Command, ETX, and CRC bytes. The encapsulated message in the body of the transfer protocol would look like:
The size of the abstracted body data is encoded within the transfer protocol packet, and is thus not copied. The delivery of the packet to the device will continue to have the outside message length. The virtual ID is needed in the body, since the IOCB could deliver the packet to a single device address that could contain several hardware functions. The command does not need to be encapsulated into the transfer protocol body, since the IOCB will use the command in the packet to the hardware. Each of these separate functions could have its' own hardware type, or subtype, serial number, and virtual ID. The virtual ID is assigned based on the uniqueness of the combined type, subtype, and serial number. For multi-function devices, these fields must map out unique for each separate function. The serial numbers, could be the same, but the hardware types must be different, or vice-versa, such that the end result is a unique combination or both the types and serial numbers could be unique (different).
An additional feature of the hardware attributes to be abstracted (an abstraction extension to basic hardware) is the packetization (breaking up into smaller packets) of large blocks of data. This would be dependent upon the need of the hardware for the data, and the amount of memory available to rebuild the larger data packet from the sub-packets in the CPU controlling the hardware. The sub-packets would be built in the body of the transport protocol packets. The originating packet sender would negotiate with the receiving end on the total size of the large data packet, and the number of sub-packets. After the receive end has agreed to the transfer, the sender will place the sub-packets, with a sequence number to serialise the sub-packets and build the larger data packet in the correct order, on the transfer protocol medium.
An example of packetization would be the game CPU downloading new firmware to a hardware device. If the hardware device firmware is a total size of 65536 bytes (65 KB), and the flash that contains it can be programmed in 4096 byte (4 KB) blocks, the game CPU could negotiate the transfer as 16 transfers of 4 KB blocks. Each block could be broken down into 32 sub-packets of 128 bytes (plus 2 bytes for start address/sequence), or 16 sub-packets of 240 [sub-body] bytes (plus bytes) with one sub-packet of 16 bytes (plus 2 bytes), or any variation of that while keeping in mind the transfer protocol packet can have at most 245 bytes in the abstract sub-body of the transfer protocol body. Each sub-packet would be acknowledged end-to-end to insure that all packets are transferred reliably. After each block of subpackets are sent, the sender would wait for acknowledgment of the overall block transfer, and the message from the receiver to start the next block transfer. After the last block has transferred and been acknowledged, the receiver would finally send a message acknowledging the whole transfer. If at any of these acknowledge points there is no acknowledgment, the sender and receiver would negotiate the
There are some special hardware abstraction meta-commands that exist between the game CPU and the IOCB. These extend to the abstracted hardware devices themselves, but are used for control of the hardware devices.
These meta-commands would be passed back and forth on the transfer protocol packet command level as dedicated (predefined) packet command bytes. One of the transfer packet command bytes would allow the game CPU to ask the IOCB for the hardware abstraction table. This table is a list of the devices the IOCB has registered, and assigned, a virtual ID. The table also contains the hardware type, subtype, serial number, revision level, and starting CRC seed of the device. Further details about the hardware abstraction table can be found in our PCT Patent Application No. PCT/AU99/00500, for a Method of linking devices to gaming machines. The game CPU could use another defined command byte to tell the IOCB to delete a hardware device form the table. When the IOCB receives this command, it informs the hardware device to be deleted that it is deleted and should not try to re-register with the IOCB (see Aristocrat's PCT Patent Application for a Secured inter-processor/virtual device communications system No. PCT/AU99/00389).
The IOCB will move the entry for the hardware device form the hardware abstraction table to the deleted table, in case the hardware device is reset and tries to re-register. The IOCB could send a message with a defined command byte informing the game CPU that a hardware device has been added. Either the game CPU or the IOCB could use the same defined command byte to ask the other side to verify that a virtual ID exists. If it is the game CPU asking the IOCB, the IOCB will also search the deleted table. If the entry is deleted, the IOCB will verify the ID, but also that it is currently deleted. This command is used when a packet is not being acknowledged (see previous communication retry text). The game CPU could ask that a device be reset. When the IOCB receives this command, it will force the hardware device to reset and go through the PC address registration process (see our PCT Patent Application for a Secured inter-processor/virtual device communications system, No. PCT/AU99/00389). If the game CPU configuration changes so that it can now allow hardware that was previously deleted, the game CPU can send the IOCB an undeleted command to remove the entry from the deleted table. The IOCB would then have the device reset and reregister for an I2C address. Once this is done, the IOCB would report the device as new hardware. When the IOCB loses communication with a hardware device, after a retry and timeout period, the IOCB sends a message to the game CPU informing the game CPU that hardware has been removed. All meta-commands at this level are addressed to virtual device zero, which is the game CPU and the IOCB devices.
It will be appreciated by persons skilled in the art that numerous variations and/or modifications may be made to the invention as shown in the specific embodiments without departing from the spirit or scope of the invention as broadly described. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive.
This application claims the benefit of provisional application No. 60/094,068, filed Jul. 24, 1998.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/AU99/00595 | 7/23/1999 | WO | 00 | 7/28/2003 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO00/06268 | 2/10/2000 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
4860006 | Barall | Aug 1989 | A |
5759102 | Pease et al. | Jun 1998 | A |
5991824 | Strand et al. | Nov 1999 | A |
6038230 | Ofek | Mar 2000 | A |
6052383 | Stoner et al. | Apr 2000 | A |
6071190 | Weiss et al. | Jun 2000 | A |
6364769 | Weiss et al. | Apr 2002 | B1 |
6682423 | Brosnan et al. | Jan 2004 | B2 |
6805634 | Wells et al. | Oct 2004 | B1 |
Number | Date | Country |
---|---|---|
WO8803682 | May 1988 | WO |
WO9612250 | Apr 1996 | WO |
Number | Date | Country | |
---|---|---|---|
60094068 | Jul 1998 | US |