`_
`
`Indicates that the neighbors with empty ports have the
`same set of neighbors
`Indicates that the broadcast channel is being shutdown
`
`
`
`
`
`— c
`
`
`
`Flow Diagrams
`
`Figures 8-34 are flow diagrams illustrating the processing of the broadcaster
`
`component in one embodiment. Figure 8 is a flow diagram illustrating the processing of the
`
`5
`
`connect routine in one embodiment. This routine is passed a channel type (e.g., application
`
`name) and channel instance (e.g., session identifier), that identifies the broadcast channel to
`
`which this process wants to connect. The routine is also passed auxiliary information that
`
`includes the list of portal computers and a connection callback routine. When the connection
`
`is established, the connection callback routine is invoked to notify the application program.
`
`10 When this process invokes this routine, it is in the seeking connection state. When a portal
`
`computer is located that is connected and this routine connects to at least one neighbor, this
`
`process enters the partially connected state, and when the process eventually connects to four
`
`neighbors, it enters the frilly connected state. When in the small regime, a frilly connected
`
`15
`
`In block 801, the routine opens the call-in port
`process may have less than four neighbors.
`through which the process is to communicate with other processes when establishing external
`and internal connections. The port is selected as the first available port using the hashing
`algorithm described above.
`In block 802, the routine sets the connect time to the current
`
`time. The connect time is used to identify the instance of the process that is connected
`through this external port. One process may connect to a broadcast channel of a certain
`
`20
`
`channel type and channel instance using one call-in port and then disconnects, and another
`
`process may then connect to that same broadcast channel using the same call-in port. Before
`the other process becomes fully connected, another process may try to communicate with it
`thinking it is the fully connected old process.
`In such a case, the connect time can be used to
`identify this situation.
`In block 803, the routine invokes the seek portal computer routine
`passing the channel type and channel instance. The seek portal computer routine attempts to
`locate a portal computer through which this process can connect to the broadcast channel for
`the passed type and instance.
`In decision block 804, if the seek portal computer routine is
`
`25
`
`[03004-8004/Sb003733.l00]
`
`-25-
`
`-,,,,,oo
`
`IPR2016-00726 -ACTIVISION, EA, TAKE-TWO, 2K, ROCKSTAR,
`Ex. 1102, p. 637 of 1442
`
`IPR2016-00726 -ACTIVISION, EA, TAKE-TWO, 2K, ROCKSTAR,
`Ex. 1102, p. 637 of 1442
`
`
`
`successful in locating a fully connected process onthat portal computer, then the routine
`
`continues at block 805, else the routine returns an tmsuccessful indication.
`
`In decision block
`
`805, if no portal computer other than the portal computer on which the process is executing
`
`was located, then this is the first process to fully connect to broadcast channel and the
`
`5
`
`routine continues at block 806, else the routine continues at block 808.
`
`In block 806, the
`
`routine invokes the achieve connection routine to change the state of this process to fully
`
`connected.
`
`In block 807, the routine installs the external dispatcher for processing messages
`
`received through this process’ external port for the passed channel type and channel instance.
`
`When a message is received through that external port, the external dispatcher is invoked.
`
`10
`
`The routine then returns.
`
`In block 808, the routine installs an external dispatcher.
`
`In block
`
`809, the routine invokes the connect request routine to initiate the process of identifying
`
`neighbors for the seeking computer. The routine then returns.
`
`Figure 9 is a flow diagram illustrating the processing of the seek portal
`
`computer routine in one embodiment. This routine is passed the channel type and channel
`
`15
`
`instance of the broadcast channel to which this process wishes to connect This routine, for
`
`each search depth (e.g., port number), checks the portal computers at that search depth. If a
`portal computer is located at that search depth with a process that is frilly connected to the
`
`broadcast channel, then the routine returns an indication of success.
`
`In blocks 902-911, the
`
`routine loops selecting each search depth until a process is located.
`
`In block 902, the routine
`
`20
`
`selects the next search depth using a port number ordering algorithm.
`
`In decision block 903,
`
`if all the search depths have already been selected during this execution of the loop, that is
`for the currently selected depth, then the routine returns a failure indication, else the routine
`
`In blocks 904-911, the routine loops selecting each portal computer
`continues at block 904.
`and determining whether a process of that portal computer is connected to (or attempting to
`connect to) the broadcast charmel with the passed charmel type and channel instance.
`In
`block 904, the routine selects the next portal computer.
`In decision block 905, if all the I
`
`portal computers have already been selected, then the routine loops to block 902 to select the
`
`next search depth, else the routine continues at block 906.
`In block 906, the routine dials the
`selected portal computer through the port represented by the search depth.
`In decision block
`907, if the dialing was successful, then the routine continues at block 908, else the routine
`loops to block 904 to select the next portal computer. The dialing will be successful if the
`dialed port is the call—in port of the broadcast charmel of the passed charmel type and channel
`[o3oo4-soo4/swo3133.|oo|
`-26.
`gm./oo
`
`25
`
`30
`
`IPR2016-00726 -ACTIVISION, EA, TAKE-TWO, 2K, ROCKSTAR,
`Ex. 1102, p. 638 of 1442
`
`IPR2016-00726 -ACTIVISION, EA, TAKE-TWO, 2K, ROCKSTAR,
`Ex. 1102, p. 638 of 1442
`
`
`
`instance of a process executing on that portal computer.
`
`In block 908, the routine invokes a
`
`contact process routine, which contacts the answering process of the portal computer through
`
`the dialed port and determines whether that process is fully connected to the broadcast
`
`channel.
`
`In block 909, the routine hangs up on the selected portal computer.
`
`In decision
`
`5
`
`block 910, if the answering process is fully connected to the broadcast channel, then the
`
`routine returns a success indicator, else the routine continues at block 911. In block 911, the
`
`routine invokes the check for external call routine to determine whether an external call has
`
`been made to this process as a portal computer and processes that call. The routine then
`
`loops to block 904 to select the next portal computer.
`
`10
`
`Figure 10 is a flow diagram illustrating the processing of the contact process
`
`routine in one embodiment. This routine determines whether the process of the selected
`
`portal computer that answered the call-in to the selected port is fully connected to the
`
`broadcast channel.
`
`In block 1001,
`
`the routine sends an external message (i. e.,
`
`seeking_connection_call) to the answering process indicating that a seeking process wants to
`know whether the answering process is fully connected to the broadcast charmel.
`In block
`
`15
`
`1002, the routine receives the external response message from the answering process.
`
`In
`
`decision block 1003,
`
`if the external
`
`response message is successfully received (i. e.,
`
`seeking_connection_resp), then the routine continues at block 1004, else the routine returns.
`
`Wherever the broadcast component requests to receive an external message, it sets a time out
`period.
`If the external message is not received within that time out period, the broadcaster
`
`20
`
`In particular, the
`component checks its own call-in port to see if another process is calling it.
`dialed process may be calling the dialing process, which may result in a deadlock situation.
`The broadcaster component may repeat the receive request several times.
`If the expected
`message is not received, then the broadcaster component handles the error as appropriate. In
`decision block 1004, if the answering process indicates in its response message that it is fully
`connected to the broadcast channel, then the routine continues at block 1005, else the routine
`continues at block 1006.
`In block 1005, the routine adds the selected portal computer to a
`list of connected portal computers and then returns.
`In block 1006, the routine adds the
`answering process to a list of fellow seeking processes and then returns.
`
`Figure 11 is a flow diagram illustrating the processing of the connect request
`
`25
`
`30
`
`identified as being fully_ connected to the broadcast charmel to initiate the connection of this
`[03004-8004/SLOO3733.l00]
`-27-
`731,00
`
`_|PR2016-00726 -ACTIVISION, EA, TAKE-TWO, 2K, ROCKSTAR,
`Ex. 1102, p. 639 of 1442
`
`IPR2016-00726 -ACTIVISION, EA, TAKE-TWO, 2K, ROCKSTAR,
`Ex. 1102, p. 639 of 1442
`
`
`
`process to the broadcast channel.
`
`In decision block 1101, if at least one process of a portal
`
`computer was located that is fully connected to the broadcast channel, then the routine
`
`continues at block 1103, else the routine continues at block 1102. A process of the portal
`
`computer may no longer be in the list if it recently disconnected from the broadcast charmel.
`
`5
`
`In one embodiment, a seeking computer may always search its entire search depth and find
`
`multiple portal computers through which it can connect to the broadcast channel.
`
`In block
`
`1102, the routine restarts the process of connecting to the broadcast channel and returns.
`
`In
`
`block 1103, the routine dials the process of one of the found portal computers through the
`
`call-in port. In decision block 1104, if the dialing is successful, then the routine continues at
`
`10
`
`block 1105, else the routine continues at block 1113. The dialing may be unsuccessful if, for
`
`example, the dialed process recently disconnected from the broadcast channel.
`
`In block
`
`1105, the routine sends an external message to the dialed process requesting a connection to
`
`the broadcast charmel (i. e., connection_request_call). In block 1106, the routine receives the
`
`response message (i. e., connecu'on_request_resp).
`
`In decision block 1107, if the response
`
`15 message is successfully received, then the routine continues at block 1108, else the routine
`
`continues at block 1113.
`
`In block 1108, the routine sets the expected number of holes (i. e.,
`
`empty internal connections) for this process based on the received response. When in the
`
`large regime, the expected number of holes is zero. When in the small regime, the expected
`
`number of holes varies from one to three.
`
`In block 1109, the routine sets the estimated
`
`20
`
`diameter of the broadcast channel based on the received response. In decision block 1111, if
`
`the dialed process is ready to connect to this process as indicated by the response message,
`
`then the routine continues at block 1112, else the routine continues at block 1113.
`
`In block
`
`1112,
`
`the routine invokes the add neighbor routine to add the answering process as a
`
`neighbor to this process. This adding of the answering process typically occurs when the
`
`25
`
`broadcast channel is in the small regime. When in the large regime, the random walk search
`
`for a neighbor is performed.
`
`In block 1113, the routine hangs up the external connection
`
`with the answering process computer and then returns.
`
`Figure 12 is a flow diagram of the processing of the check for external call
`
`routine in one embodiment. This routine is invoked to identify whether a fellow seeking
`
`so
`
`process is attempting to establish a connection to the broadcast charmel through this process.
`
`In block 1201, the routine attempts to answer a call on the call-in port.
`
`In decision block
`
`1202, if the answer is successful, then the routine continues at block 1203, else the routine
`
`[osoouooa/suoo3733.1oo)
`
`-28-
`
`751,00
`
`IPR2016-00726 -ACTIVISION, EA, TAKE-TWO, 2K, ROCKSTAR,
`Ex. 1102, p. 640 of 1442
`
`IPR2016-00726 -ACTIVISION, EA, TAKE-TWO, 2K, ROCKSTAR,
`Ex. 1102, p. 640 of 1442
`
`
`
`returns.
`
`In block 1203, the routine receives the external message from the external port.
`
`In
`
`decision block 1204, if the type of the message indicates that a seeking process is calling
`
`(i.e., seeking_connection_call), then the routine continues at block 1205, else the routine
`
`returns. In block 1205, the routine sends an external message (i. e., seeking_connection_resp)
`
`5
`
`to the other seeking process indicating that this process is also is seeking a connection.
`
`In
`
`decision block 1206, if the sending of the external message is successful, then the routine
`
`continues at block 1207, else the routine returns.
`
`In block 1207, the routine adds the other
`
`seeking process to a list of fellow seeking processes and then returns. This list may be used
`
`if this process can find no process that is fully connected to the broadcast channel.
`
`In which
`
`10
`
`case,
`
`this process may check to see if any fellow seeking process were successful
`
`in
`
`connecting to the broadcast channel. For example, a fellow seeking process may become the
`first process fully connected to the broadcast chaimel.
`
`Figure 13 is a flow diagram of the processing of the achieve connection routine
`
`in one embodiment. This routine sets the state of this process to fully connected to the
`
`is
`
`broadcast channel and invokes a callback routine to notify the application program that the
`
`process is now fully connected to the requested broadcast channel.
`
`In block 1301,
`
`the
`
`routine sets the connection state of this process to fully connected.
`
`In block 1302,
`
`the
`
`routine notifies fellow seeking processes that it is fully connected by sending a connected
`
`extemal message to them (i.e., connected_strnt).
`
`In block 1303, the routine invokes the
`
`20
`
`connect callback routine to notify the application program and then returns.
`
`Figure 14 is a flow diagram illustrating the processing of the external
`dispatcher routine in one embodiment. This routine is invoked when the external port
`receives a message. This routine retrieves the message, identifies the external message type,
`and invokes the appropriate routine to handle that message. This routine loops processing
`each message until all the received messages have been handled.
`In block 1401, the routine
`
`In decision
`answers (e.g., picks up) the external port and retrieves an external message.
`block 1402, if a message was retrieved, then the routine continues at block 1403, else the
`routine hangs up on the external port in block 1415 and returns.
`In decision block 1403, if
`the message type is for a process seeking a connection (i. e., seeking_connection_call), then
`the routine invokes the handle seeking connection call routine in block 1404, else the routine
`continues at block 1405.
`In decision block 1405, if the message type is for a connection
`request call (i. e., connection_request_call), then the routine invokes the handle connection
`
`[03004-8004/SU)03733.100]
`
`-29-
`
`-rm/oo
`
`25
`
`30
`
`IPR2016-00726 -ACTIVISION, EA, TAKE-TWO, 2K, ROCKSTAR,
`Ex. 1102, p. 641 of 1442
`
`IPR2016-00726 -ACTIVISION, EA, TAKE-TWO, 2K, ROCKSTAR,
`Ex. 1102, p. 641 of 1442
`
`
`
`request call routine in block 1406, else the routine continues at block 1407.
`
`In decision
`
`block 1407, if the message type is edge proposal call (i.e., edge_proposal_call), then the
`
`routine invokes the handle edge proposal call routine in block 1408, else the routine
`
`continues at block 1409.
`
`In decision block 1409, if the message type is port connect call
`
`5
`
`(i.e., port_connect_call), then the routine invokes tlte handle port connection call routine in
`
`block 1410, else the routine continues at block 1411.
`
`In decision block 1411, if the message
`
`type is a connected statement
`
`(i.e., connected_stmt),
`
`the routine invokes the handle
`
`connected statement in block 1112, else the routine continues at block 1212.
`
`In decision
`
`block 1412, if the message type is a condition repair statement (i. e., condition_repair_stmt),
`
`10
`
`then the routine invokes the handle condition repair routine in block 1413, else the routine
`loops to block 1414 to process the next message. Afier each handling routine is invoked, the
`
`routine loops to block 1414.
`
`In block 1414, the routine hangs up on the external port and
`
`continues at block 1401 to receive the next message.
`
`Figure 15 is a flow diagram illustrating the processing of the handle seeking
`
`15
`
`connection call routine in one embodiment. This routine is invoked when a seeking process
`
`is calling to identify a portal computer through which it can connect to the broadcast charmel.
`
`In decision block 1501, if this process is currently fully connected to the broadcast channel
`identified in the message, then the routine continues at block 1502, else the routine continues
`
`at block 1503.
`
`In block 1502, the routine sets a message to indicate that this process is fully
`
`20
`
`connected to the broadcast channel and continues at block 1505.
`
`In block 1503, the routine
`
`sets a message to indicate that this process is not fully connected.
`
`In block 1504, the routine
`
`adds the identification of the seeking process to a list of fellow seeking processes.
`
`If this
`
`process is not fully connected, then it is attempting to connect to the broadcast channel.
`
`In
`
`block 1505, the routine sends the external message response (i. e., seeking_connection_resp)
`to the seeking process and then returns.
`
`25
`
`Figure 16 is a flow diagram illustrating processing of the handle connection
`
`request call routine in one embodiment. This routine is invoked when the calling process
`wants this process to initiate the connection of the process to the broadcast charmel. This
`
`30
`
`routine either allows the calling process to establish an internal connection with this process
`(e.g., if in the small regime) or starts the process of identifying a process to which the calling
`process can connect.
`In decision block 1601, if this process is currently fully connected to
`the broadcast channel, then the routine continues at block 1603, else the routine hangs up on
`|03004-8004ISL003733.l00]
`-30-
`7,5,,”
`
`IPR2016-00726 -ACTIVISION, EA, TAKE-TWO, 2K, ROCKSTAR,
`Ex. 1102, p. 642 of 1442
`
`IPR2016-00726 -ACTIVISION, EA, TAKE-TWO, 2K, ROCKSTAR,
`Ex. 1102, p. 642 of 1442
`
`
`
`the external port in block 1602 and returns.
`
`In block 1603, the routine sets the number of
`
`holes that the calling process should expect in the response message.
`
`In block 1604, the
`
`routine sets the estimated diameter in the response message.
`
`In block 1605, the routine
`
`indicates whether this process is ready to connect to the calling process. This process is
`
`5
`
`ready to connect when the number of its holes is greater than zero and the calling process is
`
`not a neighbor of this process.
`
`In block 1606, the routine sends to the calling process an
`
`external message
`
`that
`
`is
`
`responsive
`
`to
`
`the
`
`connection
`
`request
`
`call
`
`(i.e.,
`
`connection_request_resp).
`
`In‘ block 1607, the routine notes the number of holes that the
`
`calling process needs to fill as_indicated in the request message.
`
`In decision block 1608, if
`
`10
`
`this process is ready to connect to the calling process, then the routine continues at block
`
`1609, else the routine continues at block 1611.
`
`In block 1609, the routine invokes the add
`
`neighbor routine to add the calling process as a neighbor.
`
`In block 1610,
`
`the routine
`
`decrements the number of holes that the calling process needs to fill and continues at block
`
`1611.
`
`In block 1611, the routine hangs up on the external port.
`
`In decision block 1612, if
`
`15
`
`this process has no holes or the estimated diameter is greater than one (i.e., in the large
`
`regime), then the routine continues at block 1613, else the routine continues at block 1616.
`
`In blocks 1613-1615, the routine loops forwarding a request for an edge through which to
`
`connect to the calling process to the broadcast channel. One request is forwarded for each
`
`pair of holes of the calling process that needs to be filled.
`
`In decision block 1613, if the
`
`20
`
`number of holes of the calling process to be filled is greater than or equal to two, then the
`
`routine continues at block 1614, else the routine continues at block 1616.
`
`In block 1614, the
`
`routine invokes the forward connection edge search routine. The invoked routine is passed
`
`to an indication of the calling process and the random walk distance. In one embodiment, the
`
`distance is twice in the estimated diameter of the broadcast channel.
`
`In block 1614, the
`
`25
`
`routine decrements the holes left to fill by two and loops to block 1613.
`
`In decision block
`
`1616, if there is still a hole to fill, then the routine continues at block 1617, else the routine
`
`returns.
`In block 1617, the routine invokes the fill hole routine passing the identification of
`the calling process. The fill hole routine broadcasts a connection port search statement (i.e.,
`connection_port_search_stmt) for a hole of a connected process through which the calling
`process can connect to the broadcast channel. The routine then returns.
`
`30
`
`Figure 17 is a flow diagram illustrating the processing of the add neighbor
`routine in one embodiment. This routine adds the process calling on the external port as a
`[ozooesooa/snoo3733.1oo]
`-3 1-
`7,, mo
`
`IPR2016-00726 -ACTIVISION, EA, TAKE-TWO, 2K, ROCKSTAR,
`Ex. 1102, p. 643 of 1442
`
`IPR2016-00726 -ACTIVISION, EA, TAKE-TWO, 2K, ROCKSTAR,
`Ex. 1102, p. 643 of 1442
`
`
`
`neighbor to this process.
`
`In block 1701, the routine identifies the calling process on the
`
`external port.
`
`In block 1702, the routine sets a flag to indicate thaththe neighbor has not yet
`
`received the broadcast messages from this process. This flag is used to ensure that there are
`
`no gaps in the messages initially sent to the new neighbor. The external port becomes the
`
`5
`
`internal port for this connection.
`
`In decision block 1703, if this process is in the seeking
`
`connection state,
`
`then this process is connecting to its first neighbor and the routine
`
`continues at block 1704, else the routine continues at block 1705. In block 1704, the routine
`sets the connection state of this process to partially connected.
`In block 1705, the routine
`
`adds the calling process to the list of neighbors of this process.
`
`In block 1706, the routine
`
`10
`
`installs an internal dispatcher for the new neighbor. The internal dispatcher is invoked when
`
`a message is received from that new neighbor through the internal port of that new neighbor.
`
`In decision block 1707, if this process bufiered up messages while not fully connected, then
`
`the routine continues at block 1708, else the routine continues at block 1709.
`
`In one
`
`embodiment, a process that is partially connected may bufl‘er the messages that it receives
`
`15
`
`through an internal connection so that it can send these messages as it connects to new
`
`neighbors.
`
`In block 1708, the routine sends the buffered messages to the new neighbor
`
`through the internal port.
`
`In decision block 1709, if the number of holes of this process
`
`equals the expected number of holes, then this process is fully connected and the routine
`
`continues at block 1710, else the routine continues at block 1711.
`
`In block 1710, the routine
`
`2o
`
`invokes the achieve connected routine to indicate that this process is fully connected.
`
`In
`
`decision block 1711, if the number of holes for this process is zero,
`
`then the routine
`
`continues at block 1712, else the routine returns.
`
`In block 1712, the routine deletes any
`
`pending edges and then returns. A pending edge is an edge that has been proposed to this
`process for edge pinning, which in this case is no longer needed.
`
`25
`
`Figure 18 is a flow diagram illustrating the processing of the forward
`
`connection edge search routine in one embodiment. This routine is responsible for passing
`
`along a request to connect a requesting process to a randomly selected neighbor of this
`
`process through the internal port of the selected neighbor, that is part of the random walk.
`
`In
`
`decision block 1801, if the forwarding distance remaining is greater than zero,
`
`then the
`
`30
`
`routine continues at block 1804, else the routine continues at block 1802.
`
`In decision block
`
`1802, if the number of neighbors of this process is greater than one,
`
`then the routine
`
`continues at block 1804, else this broadcast channel is in the small regime and the routine
`
`[o3oo4—aoo4.'swo3733.1oo}
`
`-32-
`
`1/31/00
`
`IPR2016-00726 -ACTIVISION, EA, TAKE-TWO, 2K, ROCKSTAR,
`Ex. 1102, p. 644 of 1442
`
`IPR2016-00726 -ACTIVISION, EA, TAKE-TWO, 2K, ROCKSTAR,
`Ex. 1102, p. 644 of 1442
`
`
`
`continues at block 1803.
`
`In decision block 1803, if the requesting process is a neighbor of
`
`this process, then the routine returns, else the routine continues at block 1804.
`
`In blocks
`
`1804-1807,
`
`the routine loops attempting to send a connection edge search call
`
`internal
`
`message (i.e., connection_edge_search_call) to a randomly selected neighbor. In block 1804,
`
`5
`
`the routine randomly selects a neighbor of this process.
`
`In decision block 1805, if all the
`
`neighbors of this process have already been selected, then the routine cannot forward the
`
`message and the routine returns, else the routine continues at block 1806.
`
`In block 1806, the
`
`routine sends a connection edge search call intemal message to the selected neighbor.
`
`In
`
`decision block 1807, if the sending of the message is successful, then the routine continues at
`
`10
`
`block 1808, else the routine loops to block 1804 to select the next neighbor. When the
`
`sending of an intemal message is unsuccessful, then the neighbor may have disconnected
`
`fiom the broadcast charmel in an tmplarmed manner. Whenever such a situation is detected
`
`by the broadcaster component, it attempts to find another neighbor by invoking the fill holes
`
`routine to fill a single hole or the forward connecting edge search routine to fill two holes.
`
`In
`
`15
`
`block 1808, the routine notes that the recently sent connection edge search call has not yet
`
`been acknowledged and indicates that the edge to this neighbor is reserved if the remaining
`
`forwarding distance is less than or equal to one.
`
`It is reserved because the selected neighbor
`
`may offer this edge to the requesting process for edge pirming. The routine then returns.
`
`Figure 19 is a flow diagram illustrating the processing of the handle edge
`
`20
`
`proposal call routine. This routine is invoked when a message is received from a proposing
`
`process that proposes to connect an edge between the proposing process and one of its
`
`neighbors to this process for edge pinning.
`
`In decision block 1901, if the number of holes of
`
`this process minus the number of pending edges is greater than or equal to one, then this
`
`process still has holes to be filled and the routine continues at block 1902, else the routine
`
`25
`
`continues at block 1911. In decision block 1902, if the proposing process or its neighbor is a
`neighbor of this process, then the routine continues at block 191], else the routine continues
`
`30
`
`at block 1903. In block 1903, the routine indicates that the edge is pending between this
`process and the proposing process.
`In decision block 1904, if a proposed neighbor is already
`pending as a proposed neighbor, then the routine continues at block 1911, else the routine
`continues at block 1907.
`In block 1907, the routine sends an edge proposal response as an
`external message to the proposing process (i.e., edge_proposal_resp) indicating that the
`proposed edge is accepted.
`In decision block 1908, if the sending of the message was
`Iosooa-soo4/si.oo3733.too]
`-33-
`731,00
`
`IPR2016-00726 -ACTIVISION, EA, TAKE-TWO, 2K, ROCKSTAR,
`Ex. 1102, p. 645 of 1442
`
`IPR2016-00726 -ACTIVISION, EA, TAKE-TWO, 2K, ROCKSTAR,
`Ex. 1102, p. 645 of 1442
`
`
`
`successful, then the routine continues at block 1909, else the routine returns.
`
`In block 1909,
`
`the routine adds the edge as a pending edge.
`
`In block 1910, the routine invokes the add .
`
`neighbor routine to add the proposing process on the external port as a neighbor. The routine
`
`then retmns. In block 1911, the routine sends an external message (i. e., edge_proposaJ_resp)
`
`5
`
`indicating that this proposed edge is not accepted.
`
`In decision block 1912, if the number of
`
`holes is odd, then the routine continues at block 1913, else the routine returns.
`
`In block
`
`1913, the routine invokes the fill hole routine and then retinns.
`
`Figure 20 is a flow diagram illustrating the processing of the handle port
`
`connection call routine in one embodiment. This routine is invoked when an external
`
`10 message is received then indicates that the sending process wants to connect to one hole of
`
`this process.
`
`In decision block 2001, if the number of holes of this process is greater than
`
`zero, then the routine continues at block 2002, else the routine continues at block 2003.
`
`In
`
`decision block 2002, if the sending process is not a neighbor, then the routine continues at
`
`block 2004, else the roufine continues to block 2003.
`
`In block 2003, the routine sends a port
`
`15
`
`connection response external message (i.e., port_connection_resp) to the sending process that
`
`indicates that it is not okay to connect to this process. The routine then returns.
`
`In block
`
`2004, the routine sends a port connection response external message to the sending process
`that indicates mat is okay to connect this process.‘ In decision block 2005, if the sending of
`the message was successful, then the routine continues at block 2006, else the routine
`
`20
`
`continues at block 2007.
`
`In block 2006, the routine invokes the add neighbor routine to add
`
`the sending process as a neighbor of this process and then returns.
`
`In block 2007, the routine
`
`In block 2008, the routine invokes the connect request
`hangs up the external connection.
`routine to request that a process connect to one of the holes of this process. The routine then
`returns.
`
`25
`
`30
`
`Figure 21 is a flow diagram illustrating the processing of the fill hole routine in
`
`If this
`one embodiment. This routine is passed an indication of the requesting process.
`process is requesting to fill a hole,
`then this routine sends an internal message to other
`processes. If another process is requesting to fill a hole, then this routine invokes the routine
`
`to handle a connection port search request.
`
`In block 2101,
`
`the routine initializes a
`
`In
`connection port search statement internal message (i.e., connection_port_search_stmt).
`decision block 2102, if this process is the requesting process, then the routine continues at
`block 2103, else the routine continues at block 2104.
`In block 2103, the routine distributes
`
`[o3oo4—soo4/s1.oo3733.1oo]
`
`-34-
`
`731,00
`
`IPR2016-00726 -ACTIVISION, EA, TAKE-TWO, 2K, ROCKSTAR,
`Ex. 1102, p. 646 of 1442
`
`IPR2016-00726 -ACTIVISION, EA, TAKE-TWO, 2K, ROCKSTAR,
`Ex. 1102, p. 646 of 1442
`
`
`
`the message to the neighbors of this process through the internal ports and then returns.
`
`In
`
`block 2104, the routine invokes the handle connection port search routine and then returns.
`
`Figure 22 is a flow diagram illustrating the processing of the internal dispatcher
`
`routine in one embodiment. This routine is passed an indication of the neighbor who sent the
`
`5
`
`internal message.
`
`In block 2201, the routine receives the internal message. This routine
`
`identifies the message type and invokes the appropriate routine to handle the message.
`
`In
`
`block 2202, the routine assesses whether to change the estimated diameter of the broadcast
`
`channel based on the information in the received message.
`
`In decision block 2203, if this
`
`process is the originating process of the message or the message has already been received
`
`10
`
`(i. e., a duplicate), then the routine ignores the message and continues at block 2208, else the
`routine continues at block 2203A.
`In decision block 2203A, if the process is partially
`connected, then the routine continues at block 2203B, else the routine continues at block
`
`2204.
`
`In block 2203B, the routine adds the message to the pending connection buffer and
`
`continues at block 2204.
`
`In decision blocks 2204-2207, the routine decodes the message
`
`15
`
`type and invokes the appropriate routine to handle the message. For example,
`
`in decision
`
`block 2204, if the type of the message is broadcast statement (i. e., broadcast_stmt), then the
`
`routine invokes the handle broadcast message routine in block 2205. After invoking the
`
`appropriate handling routine, the routine continues at block 2208.
`
`In decision block 2208, if
`
`the partially connected buffer is full, then the routine continues at block 2209, else the
`
`20
`
`routine continues at block 2210.
`
`The broadcaster component collects all
`
`its internal
`
`messages in a buffer while partially connected so that it can forward th