Claims
- 1. A method of operating a digitally controlled model railroad comprising the steps of:(a) transmitting a first command from a first program to an interface through a first communications channel; (b) transmitting a second command from a second program to said interface through a second communications channel; (c) receiving said first command and said second command at said interface; (d) said interface queuing said first and second commands; and (e) said interface sending third and fourth commands representative of said first and second commands, respectively, to a digital command station for execution on said digitally controlled model railroad.
- 2. The method of claim 1, further comprising the steps of:(a) providing an acknowledgment to said first program in response to receiving said first command by said interface prior to sending said third command to said digital command station; and (b) providing an acknowledgment to said second program in response to receiving said second command by said interface prior to sending said fourth command to said digital command station.
- 3. The method of claim 2, further comprising the steps of:(a) selectively sending said third command to one of a plurality of digital command stations; and (b) selectively sending said fourth command to one of said plurality of digital command stations.
- 4. The method of claim 3, further comprising the step of receiving command station responses representative of the state of said digitally controlled model railroad from said plurality of digital command stations.
- 5. The method of claim 4, further comprising the step of comparing said command station responses to previous commands sent to at least one of said plurality of digital command stations to determine which said previous commands it corresponds with.
- 6. The method of claim 5, further comprising the steps of:(a) maintaining a sending queue of commands to be transmitted to said plurality of digital command stations; and (b) retransmitting at least one of said commands in said sending queue periodically until removed from said sending queue as a result of the comparison of said command station responses to previous commands.
- 7. The method of claim 6, further comprising the step of updating a database of the state of said digitally controlled model railroad based upon said receiving command station responses representative of said state of said digitally controlled model railroad.
- 8. The method of claim 7, further comprising the step of providing said acknowledgment to said first program in response to receiving said first command by said interface together with state information from said database related to said first command.
- 9. The method of claim 8 wherein said first command and said third command are the same command, and said second command and said fourth command are the same command.
- 10. A method of operating a digitally controlled model railroad comprising the steps of:(a) transmitting a first command from a first program to an interface through a first communications channel; (b) receiving said first command at said interface; and (c) said interface selectively sending a second command representative of said first command to one of a plurality of digital command stations for execution on said digitally controlled model railroad based upon information contained within at least one of said first and second commands.
- 11. The method of claim 10, further comprising the steps of:(a) transmitting a third command from a second program to said interface through a second communications channel; (b) receiving said third command at said interface; and (c) said interface selectively sending a fourth command representative of said third command to one of said plurality of digital command stations for execution on said digitally controlled model railroad based upon information contained within at least one of said third and fourth commands.
- 12. The method of claim 11 wherein said first communications channel is at least one of a COM interface and a DCOM interface.
- 13. The method of claim 11 wherein said first communications channel and said second communications channel are DCOM interfaces.
- 14. The method of claim 10 wherein said first program and said interface are operating on the same computer.
- 15. The method of claim 11 wherein said first program, said second program, and said interface are all operating on different computers.
- 16. The method of claim 10, further comprising the step of providing an acknowledgment to said first program in response to receiving said first command by said interface prior to sending said second command to one of said plurality of said digital command station.
- 17. The method of claim 16, further comprising the step of receiving command station responses representative of the state of said digitally controlled model railroad from said of digital command station.
- 18. The method of claim 17, further comprising the step of comparing said command station responses to previous commands sent to said digital command station to determine which said previous commands it corresponds with.
- 19. The method of claim 18, further comprising the steps of:(a) maintaining a sending queue of commands to be transmitted to said digital command station; and (b) retransmitting at least one of said commands in said sending queue periodically until removed from said sending queue as a result of the comparison of said command station responses to previous commands.
- 20. The method of claim 19, further comprising the step of updating a database of the state of said digitally controlled model railroad based upon said receiving command station responses representative of said state of said digitally controlled model railroad.
- 21. The method of claim 20, further comprising the step of providing said acknowledgment to said first program in response to receiving said first command by said interface together with state information from said database related to said first command.
- 22. The method of claim 10 wherein said interface communicates in an asynchronous manner with said first program while communicating in a synchronous manner with said plurality of digital command stations.
- 23. A method of operating a digitally controlled model railroad comprising the steps of:(a) transmitting a first command from a first program to a an interface through a first communications channel; (b) transmitting a second command from a second program to said interface through a second communications channel; (c) receiving said first command at said interface; (d) receiving said second command at said interface; and (e) said interface sending a third and fourth command representative of said first command and said second command, respectively, to the same digital command station for execution on said digitally controlled model railroad.
- 24. The method of claim 23 wherein said interface communicates in an asynchronous manner with said first and second programs while communicating in a synchronous manner with said digital command station.
- 25. The method of claim 23 wherein said first communications channel is at least one of a COM interface and a DCOM interface.
- 26. The method of claim 23 wherein said first communications channel and said second communications channel are DCOM interfaces.
- 27. The method of claim 23 wherein said first program and said interface are operating on the same computer.
- 28. The method of claim 23 wherein said first program, said second program, and said interface are all operating on different computers.
- 29. The method of claim 23, further comprising the step of providing an acknowledgment to said first program in response to receiving said first command by said interface prior to sending said third command to said digital command station.
- 30. The method of claim 29, further comprising the step of receiving command station responses representative of the state of said digitally controlled model railroad from said of digital command station.
- 31. The method of claim 30, further comprising the step of comparing said digital command station responses to previous commands sent to said digital command station to determine which said previous commands it corresponds with.
- 32. The method of claim 31, further comprising the steps of:(a) maintaining a sending queue of commands to be transmitted to said digital command station; and (b) retransmitting at least one of said commands in said sending queue periodically until removed from said sending queue as a result of the comparison of said digital command station responses to previous commands.
- 33. The method of claim 32, further comprising the step of updating a database of the state of said digitally controlled model railroad based upon said receiving command station responses representative of said state of said digitally controlled model railroad.
- 34. The method of claim 33, further comprising the step of providing said acknowledgment to said first program in response to receiving said first command by said interface together with state information from said database related to said first command.
- 35. A method of operating a digitally controlled model railroad comprising the steps of:(a) transmitting a first command from a first program to a first processor through a first communications channel; (b) receiving said first command at said first processor; and (c) said first processor providing an acknowledgment to said first program indicating that said first command has properly executed prior to execution of commands related to said first command by said digitally controlled model railroad.
- 36. The method of claim 35, further comprising the step of sending said first command to a second processor which processes said first command into a state suitable for a digital command station for execution on said digitally controlled model railroad.
- 37. The method of claim 36, further comprising the step of said second processor queuing a plurality of commands received.
- 38. The method of claim 35, further comprising the steps of:(a) transmitting a second command from a second program to said first processor through a second communications channel; (b) receiving said second command at said first processor; and (c) said first processor selectively providing an acknowledgment to said second program indicating that said second command has properly executed prior to execution of commands related to said second command by said digitally controlled model railroad.
- 39. The method of claim 38, further comprising the steps of:(a) sending a third command representative of said first command to one of a plurality of digital command stations for execution on said digitally controlled model railroad based upon information contained within at least one of said first and third commands; and (b) sending a fourth command representative of said second command to one of said plurality of digital command stations for execution on said digitally controlled model railroad based upon information contained within at least one of said second and fourth commands.
- 40. The method of claim 38 wherein said acknowledgment are DCOM interfaces.
- 41. The method of claim 38 wherein said first program, said second program, and said first processor are all operating on different computers.
- 42. The method of claim 41 wherein said first processor communicates in an asynchronous manner with said first program while communicating in a synchronous manner with said plurality of digital command stations.
- 43. The method of claim 35 wherein said acknowledgment is at least one of a COM interface and a DCOM interface.
- 44. The method of claim 35 wherein said first program and said first processor are operating on the same computer.
- 45. The method of claim 35 further comprising the step of receiving command station responses representative of the state of said digitally controlled model railroad from said of digital command station.
- 46. The method of claim 45 further comprising the step of comparing said command station responses to previous commands sent to said digital command station to determine which said previous commands it corresponds with.
- 47. The method of claim 46 further comprising the steps of:(a) maintaining a sending queue of commands to be transmitted to said digital command station; and (b) retransmitting at least one of said commands in said sending queue periodically until removed from said sending queue as a result of the comparison of said command station responses to previous commands.
- 48. The method of claim 47 further comprising the step of updating a database of the state of said digitally controlled model railroad based upon said receiving command station responses representative of said state of said digitally controlled model railroad.
- 49. The method of claim 48 further comprising the step of providing said acknowledgment to said first program in response to receiving said first command by first processor together with state information from said database related to said first command.
- 50. A method of operating a digitally controlled model railroad comprising the steps of:(a) transmitting a first command from a first program to an asynchronous command processor through a first communications channel; (b) receiving said first command at said asynchronous command processor; and (c) said asynchronous command processor providing an acknowledgment to said first program channel indicating that said first command has properly executed prior to execution of said first command by said digitally controlled model railroad; (d) sending said first command to a command queue where said asynchronous command processor considers said command queue the intended destination device of said first command; (e) receiving said first command from said command queue by a synchronous command processor; and (f) processing said first command by said synchronous command processor into a suitable format for execution by a digital command station for said digitally controlled model railroad.
- 51. The method of claim 50 further comprising the steps of:(a) receiving responses from said digital command station; and (b) updating a first database of the state of said digitally controlled model railroad based upon said responses from said digital command station.
- 52. The method of claim 51, further comprising the steps of:(a) sending a first response to said command queue from said synchronous command processor where said synchronous command processor considers said command queue the intended destination device of said first response; (b) receiving said first response from said command queue by an asynchronous command processor; and (c) processing said first response by said asynchronous command processor into a suitable format for sending through said communications channel to said first program.
- 53. The method of claim 52, further comprising the step of updating a second database of the state of said digitally controlled model railroad by said asynchronous command processor based upon said first response from said synchronous command processor.
- 54. The method of claim 53, further comprising the step of querying said second database by said asynchronous command processor providing said acknowledgment to said first program through said first communications channel providing the information requested and not sending said first command to said command queue.
Parent Case Info
This Patent Application is a continuation in part of application Ser. No. 09/104,461, filed Jun. 24, 1998, now U.S. Pat. No. 6,065,406.
US Referenced Citations (5)
Non-Patent Literature Citations (1)
| Entry |
| David Chappell, Understanding Activex and Ole from Strategic Technology Series, pp. 1-329; at least, one year prior to filing date. |
Continuations (1)
|
Number |
Date |
Country |
| Parent |
09/104461 |
Jun 1998 |
US |
| Child |
09/550904 |
|
US |