This invention relates to the performance of an IEEE-1394 serial bus, and more particularly, but not by way of limitation, to a reconnect method to verify a temporary disconnect between two nodes. The reconnect method called “Beta fast reconnect method” herein.
A standard IEEE-1394 serial bus was originally designed to operate in a plug and play market allowing computers, TVs, STB, camcorders, hard disk drives, etc. . . . to be connected to and disconnected from one another. This standard serial bus is programmed in a way where a node's port doesn't know the difference between a physical disconnect or a temporary disconnect. The temporary disconnect between nodes is typically caused by a noise event.
Heretofore, there have been a number of IEEE 1394-coupled communication system and method patents. For example, they are U.S. Pat. No. 7,681,051 to Liu et al., U.S. Pat. No. 7,036,031 to Takeuchi, U.S. Pat. No. 6,912,596 to Skidmore, U.S. Pat. No. 6,523,073 to Kammer et al., and U.S. Pat. No. 6,412,076 to Honda et al. None of these patents specifically describe the unique features and method for providing a Beta fast reconnect method between two nodes.
In view of the foregoing, it is a primary object of the subject invention to provide tests to determine if a connection between two nodes has been physically broken or has temporarily lost connection due to loss of synchronization, which may be caused by noise or some other event.
Another object of the invention is to provide a fast reconnect that attempts one or more times to determine a temporary disconnect, thus creating a range in microseconds to milliseconds in which to verify a temporary disconnect. Also, the number of attempts can be replaced by a certain time period.
These and other objects of the present invention will become apparent to those familiar with IEEE-1394 serial bus technology related to a connection and a disconnection between two different nodes when reviewing the following detailed description, showing novel construction, combination, and elements as described herein.
The accompanying drawings illustrate complete preferred embodiments in the present invention according to the best modes presently devised for the practical application of the subject Beta fast reconnect method, and in which:
In
As currently defined a temporary loss of connectivity will cause at least a 500 msec delay in communication before the two nodes are reconnected. The subject Beta fast reconnect method provides tests to see if a connection is physically broken or if a temporary loss of connectivity is experienced, thus allowing a much faster reconnect time.
In
The method described herein does not change disconnecting when invalidCount equals 4. However the value can be changed to something larger. This will reduce the number of disconnects due to invalid symbols. Also, the method retries the fastConnectActions 1 to a number of times before failing. Further, the method creates a range of 1 microseconds to 300 milliseconds to verify a temporary disconnect occurred. The range is determined by the number of times fastConnectActions must be attempted or could be bound by a period of time.
If a physical disconnect or serious interruption in signaling occurs, the method will try to resynchronize the port one or more times. Each attempt will try up to a RECEIVE_OK_HANDSHAKE time (5.3 milliseconds to 16 milliseconds) for synchronization. If after one or more attempts, synchronization is not successful, the port will transition to the P3: Suspend Initiator state. This may delay the bus reset caused by the disconnection from being observed for “number of times” RECEIVE_OK_HANDSHAKE after the disconnect actually occurred. If the disconnected node(s) is root/boss then nodes requesting the bus will MAX_ARB_STATE_TIME (200 microseconds to 400 microseconds) timeout which will cause a long bus reset. For non-plug-n-play environments this will be extremely rare.
If resynchronization is successful, the port reconnects and then a long bus reset is initiated. This means the best case loss of synchronization to resumption of normal bus activity is about 200 microseconds.
If the port maintains a valid connection for a RECEIVE_OK_HANDSHAKE time, the reconnection is considered to be successful, temporary disconnect was determined, and the fastReconnectCount, is reset back to 0. If the port loses synchronization within a RECEIVE_OK_HANDSHAKE TIME, the reconnection is considered to be unsuccessful and the fastReconnectCount is incremented. When the fastReconnectCount reaches number of times or the test timer expires, a permanent disconnect is determined.
Further the subject test method, if successful, will reconnect in a range of 1 microseconds to 300 milliseconds. This feature adds a fastReCon mode of operation. This mode is configurable through a PHY register or through hardware configuration means.
The PHY register fastReCon field definition is as follows:
The updated Port Connect State Machine state diagram, shown in
Port Connect State Machine C-Code Changes:
While the invention has been particularly shown, described and illustrated in detail with reference to the preferred embodiments and modifications thereof, it should be understood by those skilled in the art that equivalent changes in form and detail may be made therein without departing from the true spirit and scope of the invention as claimed except as precluded by the prior art.
This application is a continuation of U.S. patent application Ser. No. 14/197,953, filed on Mar. 5, 2014, entitled “IEEE-1394 Beta Fast Reconnect Method,”. U.S. patent application Ser. No. 14/197,953 is assigned to the assignee of the present application.
Number | Name | Date | Kind |
---|---|---|---|
6931198 | Hamada | Aug 2005 | B1 |
7668202 | Gillet | Feb 2010 | B2 |
8291241 | Smith et al. | Oct 2012 | B2 |
8582750 | Lee et al. | Nov 2013 | B2 |
8761101 | Crosbie et al. | Jun 2014 | B1 |
9274578 | Mullins et al. | Mar 2016 | B2 |
9411003 | Danesh et al. | Aug 2016 | B2 |
20060074525 | Close | Apr 2006 | A1 |
Number | Date | Country | |
---|---|---|---|
20230229536 A1 | Jul 2023 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 14197953 | Mar 2014 | US |
Child | 18124953 | US |