# Patent

## Title
Managing participants in an online session

## Abstract

The present invention relates to an application that is configured to be operated in a multi-participant environment on a computer network. The application manages participants in an online session of a multi-user application so that if one of the participants exits the session, the session can continue without interruption. The application initiates an online session of the multi-user application, wherein the online session includes two or more participants comprised of network computers that are communicatively linked to a computer network. If the application detects that a first participant has disconnected from the online session, wherein the first participant is responsible for managing certain managerial functionality associated with the running of the multi-user application, then the application broadcasts a notification to existing participants of the online session over the communication network, thereby notifying the existing participants that the first participant has disconnected from the online session. The initiating application then re-assigns the functionality associated with the first participant to an existing participant of the online session. The participants can be communicating in a peer-to-peer arrangement or can be performing server duties in a client-server arrangement.

## Background
CROSS-REFERENCE TO RELATED APPLICATION
This application is a continuation and claims the priority benefit of U.S. patent application Ser. No. 10/211,128 filed Jul. 31, 2002 and entitled “Dynamic Player Management,” which claims the priority benefit of U.S. provisional patent application No. 60/381,736 filed May 17, 2002 and entitled “Dynamic Player Management.” The disclosure of these commonly owned applications are incorporated herein by reference.


BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates generally to computer networks and, more particularly, to an application that is run by multiple users on a computer network.
2. Description of the Related Art
Computer networks, such as local area networks and the Internet, are increasingly being used as the backbone for various transactions and interactions between parties. From online banking, where bank customers can initiate financial transactions on a computer network, to online gaming, where garners can participate in various games over the Internet, service providers are increasingly providing a variety of services over computer networks. There are currently a variety of different computer network configurations that facilitate the transactions and interactions that take place.
One type of configuration is a classic client-server configuration, such as is illustrated in FIG. 1. In this configuration, a dedicated server computer 110 is communicatively linked to one or more client computers 120 over a network, such as through the Internet. The client computer 120 makes service requests to the server computer 110 and the server computer 110 fulfills the request by transmitting data to the requesting client computer 120 over the network. The server computer 110 can be connected to a data storage device or to other computer devices that facilitate transactions between the client and server computers. One characteristic of the client-server configuration is that the client computers cannot communicate directly with one another, as the client computers are limited to communicating with the server computer.
For example, where the client-server configuration is operated in an online gaming environment, the server computer 110 can be responsible for maintaining the various states that are associated with the online game. The server computer can be connected to other computers, such as a memory engine 140 that maintains one or more instances of a game, while the server computer 110 manages administrative matters such as player matching and account management. A game player on the client computer 120 can log onto the server computer 110 and receive a list of available games and participating players. The player chooses a game to start or join, thereby identifying a memory engine with which the player's computer establishes a client-server connection. In this manner, the server computer 110 and the memory engine 140 collectively administer the gaming environment for one or more client computers 120.
Another type of configuration is referred to as an integrated server configuration, such as is shown in FIG. 2. This configuration includes a dedicated server computer 110 and one or more client computers 120 that are each connected to the server computer 110 over a computer network. As in the previously-described configuration, the server computer 110 serves data to the client computers 120. However, one of the client computers 120, such as the client computer 120a, functions as an integrated server in that the client computer 120a can serve data to the other client computers 120. In an online gaming environment, the server computer 110 can perform administrative functions, such as player matching, account management, and chat room management, while the client computer/integrated server 120a can perform the function of the previously-described memory engine.
In yet another type of communication configuration, the various computers are arranged in a peer-to-peer configuration, such as is shown in FIG. 3. In a peer-to-peer configuration, each of the computers can communicate with the others, so that all of the computers function as “peers.” In one form of the peer-to-peer configuration, a dedicated server 110 is communicatively connected to a plurality of client computers 120 over a network. An online session is initially established by each of the client computers 120 connecting to an administrative computer, such as the server computer 110. The client computers 120 are then communicatively connected to one another so that each of the client computers 120 has the ability to both serve and receive data to and from any of the other client computers 120. In addition, each client computer 120 can operate in a client-server relationship with the dedicated server 110. Those skilled in the art will appreciate that there are other communication configurations in addition to the configurations described above.
The various configurations described above enable computer users to interact over a computer network, such as in an online game environment where game players can play computer games on a computer network. In such a scenario, at least one of the computers typically functions as a game manager that manages various aspects of the game, such as coordinating the number of players, keeping track of game state, and sending out updates to the users regarding game state. It can be appreciated that continuity of game play can be highly dependent on all of the users in a game continuing to play throughout the entire game period. Game play can be interrupted or even halted if one of the game players exits during the middle of a game, particularly where the exited player was managing a portion of the game.
For example, sports games typically have a fixed start and a fixed finish for the game, with at least two players competing in a game. In current configurations, there are often several players that participate in an online sporting contest, with each one of the players assuming the role of a player on a sporting team. For example, in an online football game, players can assume the roles of quarterback, receiver, defensive back, running back, etc. If one of the players were to suddenly leave during the middle of the game, then the game play would be interrupted or halted. This could also be the case in other types of games, where continuity of game play is dependent on each of the players in the game environment continuing to play throughout a particular scenario.
Unfortunately, current multi-user applications are not configured to account for when a participant in an online session suddenly or unexpectedly leaves the online session. If a player does leave an online session, then the session is unduly interrupted or terminated. In view of the foregoing, there is a need for a multi-user application that overcomes the aforementioned shortcomings.
SUMMARY OF THE INVENTION
The present invention relates to an application that is configured to be operated in a multi-participant environment on a computer network. The application manages participants in an online session of a multi-user application so that if one of the participants exits the session, the session can continue without interruption. In accordance with one aspect of the invention, the application initiates an online session of the multi-user application, wherein the online session includes two or more participants comprised of network computers that are communicatively linked to a computer network. If the application detects that a first participant has disconnected from the online session, wherein the first participant is responsible for managing certain managerial functionality associated with the running of the multi-user application, then the application broadcasts a notification to existing participants of the online session over the communication network, thereby notifying the existing participants that the first participant has disconnected from the online session. The initiating application then re-assigns the functionality associated with the first participant to an existing participant of the online session. The participants can be communicating in a peer-to-peer arrangement or can be performing server duties in a client-server arrangement.
Other features and advantages of the present invention should be apparent from the following description of the preferred embodiment, which illustrates, by way of example, the principles of the invention.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is an illustration of a computer network arranged in a client-server network communication configuration.
FIG. 2 is an illustration of a computer network arranged in an integrated network communication server configuration.
FIG. 3 is an illustration of a computer network arranged in a peer-to-peer network communication configuration.
FIG. 4 is an illustration of a computer network system on which is run a multi-user application configured in accordance with the present invention.
FIG. 5 is an illustration of a data structure that includes computer index and session master information for the multi-user application.
FIG. 6 is an illustration of a computer network system wherein the multi-user application is arranged in a first type of communication configuration.
FIG. 7 is an illustration of a computer network system wherein the multi-user application is arranged in another type of communication configuration.
FIG. 8 is a flow diagram that represents a process of managing the exiting of a participant in an online session of a multi-user application.
FIG. 9 is a flow diagram that illustrates the operating steps associated with the multi-user application establishing an online session.
FIG. 10 is a block diagram of a computer in the network illustrated in FIG. 4, illustrating the hardware components.
FIG. 11 is a block diagram of a computer entertainment system in the network illustrated in FIG. 4, illustrating the hardware components.



DETAILED DESCRIPTION
FIG. 4 is a block diagram of a computer network system 400 comprised of one or more network devices including one or more client computers 410, 412 and one or more dedicated server computers 420, 422, which are nodes of a computer network 430. Thus, some of the network computers are configured as servers and some are configured as clients. The computer network 430 may comprise a collection of interconnected networks, such as the Internet, and may include one or more local area networks at each of the nodes 410, 412, 420, 422. As used herein, the term “Internet” refers to a collection of interconnected (public and/or private) networks that are linked together by a set of standard communication protocols to form a global, distributed network.
The client computers 410, 412 can transmit requests for data over the network 430 to one of the server computers 420, 422, which are configured to serve data over the network 430 to the client computers in a well-known manner. The server computers 420, 422 can include or can be communicatively linked to each other and to other servers, such as a data base server and/or an application server, as will be known to those skilled in the art. Although FIG. 4 shows only two client computers 410, 412 and two server computers 420, 422, it should be appreciated that the network system 400 could include any number of client computers 410, 412 and server computers 420, 422. The server computers 420, 422 and client computers 410, 412 are sometimes referred to collectively herein as network computers.
The network system 400 supports a multi-user application 440 comprised of a computer program with which multiple users can interact in online sessions using network devices (such as the client computers 410, 412) that are linked to the computer network 430. The application 440 is installed at each of the client computers, meaning that an operational instance of the application is stored in memory of each of the client computers 410, 412 that run (execute) the application 440. Each server computer that will be participating in an online session of the multi-user application also stores an instance of the application 440. For purposes of this description, the first server computer 420 will be assumed to be a server for the multi-user application being executed by the client machines 410, 412, although both servers 420, 422 are shown with installed applications 440. An exchange of data occurs between instances of the application 440 during execution and is enabled through the establishment of network sockets 445 at each of the network computers. The sockets are represented in FIG. 4 as boxes at each respective network computer. Those skilled in the art will understand that a network socket is one end of a multi-way communication link between two or more programs that run on the network system 400.
The application 440 can be run on the network devices of the network system 400 according to a variety of communication configurations and the responsibilities for various application-related processes can be assigned to different computing devices of the network 430, as described in more detail below. An application development interface is preferably used to develop the application 440, as is also described in more detail below. The application can be operated such that the associated network computer can use a communications configuration to implement any of the communication modes illustrated in FIG. 1, FIG. 2, and FIG. 3.
The multi-user application 440 can be any type of application that a user can run on a network computer that is linked to the computer network 430. When the application 440 is run on a client computer 410, 412, the user can interact with other users through other network computers that are also running the application 440. The server computer 420 can function as a central network “meeting point” through which the users can establish contact, maintain data, and initiate an online session of the application 440. Typically, the application 440 causes the network device in which it is operating to establish communications with another network device, such as the devices 410, 412, 420, thereby initiating an online session. During the online session, the network computers will interact and exchange data pursuant to the programmed features of the application 440.
When the application 440 is launched and an online session is established among suitably configured computers, the application enables the computers to interact in a variety of configurations. Throughout this description, the application 440 is sometimes described in an online-gaming scenario, wherein the application 440 comprises a computer game that multiple users can access and run using the client computers 410, 412. In such a case, the application 440 establishes an online session comprised of a game in which the network computers participate. However, it should be appreciated that the application 440 may also relate to other scenarios besides gaming, such as, for example, online banking or online travel planning, that involve interactions between multiple computers on a computer network.
When an application 440 executes, it identifies a session master, which is a network computer that performs a variety of managerial and administrative functions for the application with respect to interactions between computers that occur during an online session. An online session of the application uses a registration or logon process with a data store containing information such as user identification. The logon process authorizes further participation in the network environment of the application. Preferably, the session master function is assigned when a client computer running the application 440, such as the client computer 410, logs onto the server computer 420 to initiate an online session. The application itself, however, determines the details of when and how such assignments are made, so that a variety of session master assignment schemes can be implemented without departing from the teachings of the present invention.
The operating instance of the application on the client computer 410 that initiates an online session of the application is referred to as the host computer. The application at the host computer assigns the session master function to either the server computer 420 or to the host computer 410. As new client computers log-on (register) with the server computer 420 to join the online session, the server computer 420 notifies the new clients of the already-assigned identity of the session master computer.
As described more fully below, the session master functionality enables a smooth transition between the various network communication configurations in which the application 440 can operate. The session master function also enables the application 440 to concentrate responsibility for application-related tasks in a specific network computer, or to distribute such responsibility among two or more network computers. The assignment of tasks can be performed by an instance of the application 440 on one of the network computers, at the same time when the session master function is assigned, and the session master tasks can be assigned to one or more of the computers on the network 430 for providing the requisite functionality. The computer or computers that are assigned responsibility of the session master are referred to herein as the “owners” of the respective session master functions. References to a solitary session master will be understood to apply to a group of computers, if those computers are collectively performing the session master functions. Thus, the assignment of session master tasks is performed in the manner specified by the application, in accordance with the dictates of the application developer.
One category of responsibilities assigned to the session master relates to application-specific functions, which are functions that are peculiar to the particular type of application 440 being executed. For example, if the application 440 is a game-type application, then the session master or a group of session masters can keep track of game-type data, such as the game score and the time remaining in the game, and can perform game functions, such as terminating the online session when a game ends. A session master computer can also be assigned the responsibility of keeping track of specific game data, such as the state of an object in the game environment, such as a football, aircraft, ocean, tree, and so forth. Each of these responsibilities can be concentrated in a single session master computer or can be divided up among several session master computers, in accordance with the operation of the application.
The host computer performs managerial functions related to the computers that are participating in the online session. For example, whenever a network computer joins an online session of the application 440, the host computer assigns an identification index number to the computer joining the session. The host computer maintains a list of the identification index numbers and their associated network computers. The index number is used when sending messages and is also used to maintain ownership records regarding the session master functionality.
As noted above, there can be more than one session master in an online session. The way in which a session master is assigned can be determined by the application in accordance with the operation of the application. The application 440 can also assign the session master with responsibility for sending out update messages to update the network computers regarding the status of all network computers that are participating in the online session. This responsibility entails the session master notifying the participating network computers when a new network computer joins the online session, or when a current participant exits the online session of the application 440, as described more fully below.
The host computer that assigns the aforementioned index number to each of the computers also maintains a list of all network computers that are participating in the online session. The application 440 then keeps track of session master ownership according to the index number assigned to the computer. To keep track of the index number and responsibility assignments, the application 440 can maintain a data structure such as in the form of a table comprised of a network computer index list, such as the table 500 shown in FIG. 5. The table 500 contains an index number associated with each network computer that is participating in the online session, and also contains an indication of whether the network computer owns the session master function. The index list data structure comprising the table 500 preferably also specifies the communication protocol that is being used for each network computer. FIG. 5 shows that different session master tasks (C1, C2, C3) can be owned by different network computers.
In addition to specifying the communication protocol, the data structure also specifies, for each network computer, the port for which the communication protocol is associated. Each instance of the application 440 enables the associated network computer that is participating in the online session to open multiple communication ports, with each port being associated with a particular communication protocol. The network computers communicate with other network computers using a particular port and a particular protocol, which is specified in the data structure comprised of the table 500 shown in FIG. 5. The ports can comprise network sockets through which the instances of the application 440 communicate over the network. The network computers preferably communicate the port/protocol information, as well as the other information contained in the index list, by periodically sending communication messages to one another over the network.
Preferably, all of the computers that are participating in the online session keep their own copy of the table 500 index list. It should be appreciated that the table 500 is merely exemplary and that the initiating host application 440 could keep track of client index numbers and session master ownership in other manners using a wide variety of data structure formats. Alternatively, the session computers can share one or more copies of the table.
The initiating application 440 can operate in various communication configurations depending on how the application 440 assigns ownership of the session master. In a first configuration, shown in FIG. 6, the initiating application 440 has assigned ownership of a session master 600 to a single computer, such as the dedicated server computer 420. Therefore, this computer 420 has responsibility for all of the tasks associated with the session master function as dictated by the initiating application 440. Thus, the application 440 operates in a client-server communication configuration with respect to the functions of the session master, with the server computer 420 serving data to the client computers 410 relating to the session master responsibilities.
It should be appreciated that any of the computers that are participating in the online session of the application 440 could have ownership of one or more of the session master tasks, such as where one of the client computers 410 is shown owning a session master 600a, which is shown in FIG. 6 using phantom lines. This indicates that the client computer has been assigned and is performing one or more session master tasks, along with or in place of the nominal session master server computer 420. That is, there can be several instances of a session master among the computers participating in an online session, with each instance of a session master being assigned specific responsibilities and each session master task being assigned to a different network computer, or multiple tasks being assigned to the same computer. For example, FIG. 6 shows a situation where there are two session masters 600 and 600a, each being assigned responsibility for certain functionality relating to the online session of the application 440. The server computer 420 has certain responsibilities and the client computer 410 also has certain responsibilities, as determined by the application. This is an integrated server configuration, where the client computer 410 that owns the session master 600a is functioning as an integrated server. An “integrated server” refers to a situation in which all clients send information to a client that is designated as an integrated server, and where that integrated server propagates the information to the other clients. The client acting as the integrated server can also own one or more session master tasks.
In another scheme, shown in FIG. 7, the application 440 has distributed ownership of the session master 600 among several computers. In the illustrated example, both of the client computers 410 share ownership of the session master 600. In such a case, both of the computers could perform the functions associated with the session master so that the network computers in FIG. 7 are in a peer-to-peer configuration. Regardless of the particular communication configuration in which the application 440 operates, the online session of the application includes various network participants comprised of the network computers that are running the application and interacting pursuant to the online session. If one of the participants in the online session were to exit the session, then this may result in an interruption for the other participants that remain in the session. In accordance with one aspect of the invention, the application 440 is configured to handle situations where a participant exits an online session in order to minimize the interruption for remaining participants.
This is described in more detail with reference to the flow diagram shown in FIG. 8, which describes a process of managing the exiting of a participant in an online session of the multi-user application 440. In the first operation, represented by the flow diagram box numbered 810, it is determined that a participant of the online session of the application has exited the online session. The determination that a participant has exited the online session can be made in a variety of manners. In one embodiment, the instance of the application 440 on a network computer participating in the online session periodically causes the network computer to broadcast an update message notifying the other network computers of its presence in the online session. If no update message is received from a particular network computer within a predetermined amount of time, then it is deemed that the network computer has exited the online session. During establishment of the online session, the instance of the application 440 on the computer that starts the online session may assign a particular computer, such as the session master computer, with the responsibility for making the determination that a participant has exited the online session.
In the next operation, represented by the flow diagram box numbered 820, the instance of the application 440 in one of the computers causes a notification message to be broadcast to all of the participants in the online session notifying them that a participant (the “exited participant”) has exited the session. Only one of the network computers, such as, for example, the session master computer, broadcasts the notification message to all of the participants. If the session master computer is the exited computer, then one of the other network computers broadcasts the message, such as the computer with the next consecutive index after the session master computer. The notification message preferably includes the index that was previously assigned to the network computer for the exited participant. In this manner, the other participants can identify the exited participant by consulting the index table that was discussed above with respect to FIG. 5.
The next operation differs based upon whether the participant that exited the session was responsible for performing any session managerial functions that would affect the other participants of the online session, as represented by the decision box numbered 830. The managerial functions include functions such as filtering communication messages, assigning identification indices, score-keeping, keeping track of session times, keeping track of items that are located in an online world, keeping track of participant locations in an online world, etc. If the participant that exited the session was responsible for performing any such functions, a “Yes” result from the decision box 830, then the process proceeds to the operation represented by the flow diagram box numbered 840. In this operation, the application 440 reassigns the managerial responsibilities of the exited participant to a network computer of another participant that is still present in the online session. The reassignment of managerial responsibilities is preferably performed by an instance of the application 440 on a specific computer, such as the computer that has the next consecutive index after the index of the computer that exited the online session. For example, a computer with a first index may exit the session. The instance of the application on computer with the next consecutive index (as specified in the table 500 shown in FIG. 5) then performs the re-assignment of the exited computer's duties.
The manner in which the application 440 re-assigns the responsibilities can vary. In one embodiment, the application 440 automatically selects the participant that is re-assigned the responsibilities based on certain factors, some of which are related to the conditions of the network computers of the participants. The conditions can include, for example, the communication environment, geographical location, and hardware specification of the network computers, as well as user-specified preferences.
The communication environment relates to whether the network computer of the participant has large bandwidth capabilities, such as through a cable-modem or DSL. Preferably, those participants with higher bandwidth capabilities are given higher preference for assuming the responsibilities of the exited participant. The geographic location of the participants can also be a factor in deciding which participant is re-assigned the responsibilities of the exited participant. For example, a participant that is centrally located to the other participants may be given a higher priority in order to minimize the latency for communications. The hardware specifications of the network computers that are participating in the online session are also a factor. The application 440 may give higher priority to network computers that have hardware capabilities that are most highly suited for the responsibilities that are being re-assigned, such as computers with powerful data processing capabilities.
In another embodiment of the operations of flow diagram box 840, the application 440 simply randomly re-assigns the responsibilities of the exited participant to another of the participants of the online session. The application 440 can also consider user-specified preferences. Some users may specify to the application 440 that they do not want to be assigned the responsibility of managing any application functionality. The users may also specify that a particular participant should be re-assigned responsibilities should another participant exit the online session. Alternately, the application 440 may cause a message to be broadcast to all of the participants of the online session asking whether any of the participants would like to take over the responsibilities that were previously assigned to the exited participant.
The next operation is represented by the flow diagram box numbered 850. This operation occurs after the application 440 has re-assigned the responsibilities of the exited participant. The operation of flow diagram box 850 also occurs if the exited participant did not have any responsibilities that needed re-assignment, which would have resulted in a “No” outcome from the decision box numbered 830. In this operation, the application 440 attempts to obtain a new participant to replace the exited participant. The attempt is preferably performed by the instance of the application 440 on a specific computer, such as the session master computer. It should be appreciated that this operation differs from the operation of flow diagram box 840 in that this operation relates to obtaining a replacement participant for the online session to take the place of the exited participant, rather than re-assigning the managerial functions of the exited participant.
For example, the online session may be an online football game, where the participants are each a player on a common team. One of the participants may have been assigned managerial functions comprised of keeping track of the score and of the game time. That same participant may have played the role of the quarterback in the game. If the participant exits the online game during the game, then the application 440 re-assigns the managerial functions (i.e., score keeping and game time responsibilities) of the exited participant to another participant in the operation 840 and then, in operation 850, attempts to obtain a new participant to replace the exited participant's role as quarterback.
The manner in which the application 440 attempts to obtain a replacement participant for the online session may vary. In one embodiment, the application 440 automatically assigns a network computer, rather than a human, as a replacement for the exited participant. The network computer thereby would perform the functions of the exited participant. In another embodiment, the application 440 maintains a list of network computer that might be able to participate in the online session and then sends a message to those computers inviting them to participate in the session. The application 440 may put the online session in a pause mode while a replacement participant is obtained.
The application 440 is preferably developed using a software development kit (SDK) that provides a library of object and communication message definitions that are used in the application 440. The software development kit includes an application interface through which applications that are developed using the SDK can run on a network system, such as the network system 400. The application interface can reside in a central network server, such as the server 420, to which network computers that have the application 440 can log onto in order to operate an online session of the application. By using the object and message types provided by the SDK, the application 440 can be developed to include the features described above. The SDK preferably includes an object definition structure that provides a client-based definition of objects that are utilized by the application 440. The object definition includes a plurality of characteristics associated with each object and utilized by the application to effect interaction with clients over the computer network.
Once the application 440 has been developed using the SDK, the application 440 can be loaded onto one or more network computers and an online session can be established according to the operations shown in the flow diagram box of FIG. 9. In the first operation, represented by the flow diagram box numbered 910, a network computer on which the application 440 is loaded connects to a network computer that includes in memory that application interface software. For example, one or more of the client computers 410 of the network system 400 shown in FIG. 4 may have the application 440 loaded in memory and the server computer 420 may include the application interface. In such a case, the client computers 410 establish a communication connection with the server computer 410 over the network 430.
In the next operation, represented by the flow diagram box numbered 920, the application 440 registers objects according to the object definitions that are available in the library of the application interface. The application 440 also registers any message filters that will be utilized during the online session, as represented by the flow diagram box numbered 930.
In the next operation, represented by the flow diagram box numbered 940, the application 440 defines the session master and assigns ownership of the session master to one of the network computers. The ownership of the session master can be assigned to one computer or can be assigned to plural computers. The application 440 also specifies whether the ownership of the session master is dedicated to a particular computer or whether ownership can migrate to other computers.
During this operation, the application 440 assigns client indices to each of the network computers that will participate in the online session and also establishes the index table described above. The application 440 can be configured such that the first network computer to log onto the server computer will be the session master and also receive an initial index, such as an index of one or zero. It should be appreciated that the initial index may vary. Subsequent network computers to log on will then receive the next available index. After the ownership of the session master or session masters has been established, the online session of the application 440 is commenced, as represented by the flow diagram box numbered 950.
As noted above, the network computers shown in the block diagram of FIG. 4 comprise nodes of a computer network system 400. FIG. 10 is a block diagram of a computer in the system 400 of FIG. 4, illustrating the hardware components included in one of the computers. Those skilled in the art will appreciate that the devices 410 and 420 may all have a similar computer construction, or may have alternative constructions consistent with the capabilities described herein.
FIG. 10 shows an exemplary computer 1000 such as might comprise any of the network computers. Each computer 1000 operates under control of a central processor unit (CPU) 1002, such as a “Pentium” microprocessor and associated integrated circuit chips, available from Intel Corporation of Santa Clara, Calif., USA. A computer user can input commands and data from a keyboard and computer mouse 1004, and can view inputs and computer output at a display 1006. The display is typically a video monitor or flat panel display. The computer 1000 also includes a direct access storage device (DASD) 1008, such as a hard disk drive. The memory 1010 typically comprises volatile semiconductor random access memory (RAM). Each computer preferably includes a program product reader 1012 that accepts a program product storage device 1014, from which the program product reader can read data (and to which it can optionally write data). The program product reader can comprise, for example, a disk drive, and the program product storage device can comprise removable storage media such as a magnetic floppy disk, a CD-R disc, a CD-RW disc, or DVD disc.
Each computer 1000 can communicate with the others over a computer network 1020 (such as the Internet or an intranet) through a network interface 1018 that enables communication over a connection 1022 between the network 1020 and the computer. The network interface 1018 typically comprises, for example, a Network Interface Card (NIC) or a modem that permits communications over a variety of networks.
The CPU 1002 operates under control of programming steps that are temporarily stored in the memory 1010 of the computer 1000. When the programming steps are executed, the computer performs its functions. Thus, the programming steps implement the functionality of the application 440. The programming steps can be received from the DASD 1008, through the program product storage device 1014, or through the network connection 1022. The program product storage drive 1012 can receive a program product 1014, read programming steps recorded thereon, and transfer the programming steps into the memory 1010 for execution by the CPU 1002. As noted above, the program product storage device can comprise any one of multiple removable media having recorded computer-readable instructions, including magnetic floppy disks and CD-ROM storage discs. Other suitable program product storage devices can include magnetic tape and semiconductor memory chips. In this way, the processing steps necessary for operation in accordance with the invention can be embodied on a program product.
Alternatively, the program steps can be received into the operating memory 1010 over the network 1020. In the network method, the computer receives data including program steps into the memory 1010 through the network interface 1018 after network communication has been established over the network connection 1022 by well-known methods that will be understood by those skilled in the art without further explanation. The program steps are then executed by the CPU 1002 thereby comprising a computer process.
It should be understood that all of the network computers of the network system 400 illustrated in FIG. 4 may have a construction similar to that shown in FIG. 10, so that details described with respect to the FIG. 10 computer 1000 will be understood to apply to all computers of the system 400. It should be appreciated that any of the network computers can have an alternative construction, so long as the computer can communicate with the other computers over a network as illustrated in FIG. 4 and can support the functionality described herein.
For example, with reference to FIG. 11, the client computers 420 can comprise a computer entertainment system, such as a video game system 1100. FIG. 11 is a block diagram of an exemplary hardware configuration of the video game system 1100.
The video game system 1100 includes a central processing unit (CPU) 1100 that is associated with a main memory 1105. The CPU 1100 operates under control of programming steps that are stored in the OS-ROM 1160 or transferred from a game program storage medium to the main memory 1105. The CPU 1100 is configured to process information and to execute instructions in accordance with the programming steps.
The CPU 1100 is communicatively coupled to an input/output processor (IOP) 1120 via a dedicated bus 1125. The IOP 1120 couples the CPU 1100 to an OS ROM 1160 comprised of a non-volatile memory that stores program instructions, such as an operating system. The instructions are preferably transferred to the CPU via the IOP 1120 at start-up of the main unit 1100.
The CPU 1100 is communicatively coupled to a graphics processing unit (GPU) 1110 via a dedicated bus 1115. The GPU 1110 is a drawing processor that is configured to perform drawing processes and formulate images in accordance with instructions received from the CPU 1100. For example, the GPU 1110 may render a graphics image based on display lists that are generated by and received from the CPU 1100. The GPU may include a buffer for storing graphics data. The GPU 1110 outputs images to an audio-visual output device.
The IOP 1120 controls the exchange of data among the CPU 1100 and a plurality of peripheral components in accordance with instructions that are stored in an IOP memory 1130. The peripheral components may include one or more input controllers 1122, a memory card 1140, a USB 1145, and an IEEE 1394 serial bus 1150. Additionally, a bus 1155 is communicatively coupled to the IOP 1120. The bus 1155 is linked to several additional components, including the OS ROM 1160, a sound processor unit (SPU) 1165, an optical disc control unit 1175, and a hard disk drive (HDD) 1180.
The SPU 1165 is configured to generate sounds, such as music, sound effects, and voices, in accordance with commands received from the CPU 1100 and the IOP 1120. The SPU 1165 may include a sound buffer in which waveform data is stored. The SPU 1165 generates sound signals and transmits the signals to speakers.
The disc control unit 1175 is configured to control a program reader, which can comprise, for example, an optical disk drive that accepts removable storage media such as a magnetic floppy disk, an optical CD-ROM disc, a CD-R disc, a CD-RW disc, a DVD disk, or the like.
The memory card 1140 may comprise a storage medium to which the CPU 1100 may write and store data. Preferably, the memory card 1140 can be inserted and removed from the IOP 1120. A user can store or save data using the memory card 1140. In addition, the video game system 1100 is preferably provided with at least one hard disk drive (HDD) 1180 to which data may be written and stored.
A data I/O interface, such as an IEEE 1394 serial bus 1150 or a universal serial bus (USB) 1145 interface, is preferably communicatively coupled to the IOP 1120 in order to allow data to be transferred into and out of the video game system 1100, such as to the network 430 of FIG. 4.
The system and method described above improve on the situation where a network user of an application, such as a game player, is performing as an Integrated Server (IS) for the application, thereby maintaining an application environment, so that the application would end for a conventional implementation of the application when that IS user wishes to log off. As described above, some applications (such as multi-user gaming applications) alternatively permit the functions (and data) of the departing user to be migrated from the departing user to a different user, who will continue with the online session and will take over the duties of the IS. This type of hand-off is typically rather cumbersome and might not be accomplished smoothly. In the case of a gaming environment, for example, a departing player might abruptly disappear from the game environment, thereby disrupting the gaming experience of the other players. The multi-user application in accordance with the invention permits continued use of the application, even with users departing and joining, by notifying all user machines when another user has departed from the session. Suitable adjustments can be made for a more pleasing application environment. The notification occurs through a Disconnect function that ensures proper IS operation and communications. That is, an application server or IS of the application can broadcast a message to all clients in an application environment to notify them that a user has departed or has joined, and can ensure appropriate functionality, if necessary, of the users.
For a system with a network device operating as an Integrated Server (IS) as described above by serving application data to other users, the failure or departure of an IS from the application environment is responded to by assigning a different user as a new IS. The application can assign a new IS by automatically carrying out a replacement process, or by sending a broadcast message to all users and awaiting replies. For automatic selection, the application can assign the new IS in accordance with considerations that include the bandwidth available to the user, the geographic location of the potential new IS, a user's indicated preference for consideration as an IS, the technical specification and resources available at the user's machine, or through a random selection process. If the application is designed so that it sends a broadcast message, then the message will typically solicit voluntary agreement to operate as the new IS.
In addition, a new user who logs in to the system after an IS failure and who otherwise might have been registered with the failed IS can instead be diverted to a different IS, reducing the workload of the group being served by the now-unavailable IS. In this way, newcomers who wish to join the application environment of an IS can instead be moved to a different IS and different user group. Alternatively, the application can respond to a failed IS by dissolving or disbanding the online session of the group administered by the unavailable IS and forming a new online group with a new IS. These alternatives can be selected by an application developer who is configuring an application for operation in accordance with the present invention.
If an individual user leaves during an online session, the result can be somewhat more problematic. In the online gaming context, for example, a certain minimum number of users (players) are required for a game to proceed. In accordance with the invention, the application can respond by sending a message to other users on the network, inviting others to join the online session and participate in the multi-user application (such as a game). Alternatively, the application can be configured so as to invoke an Artificial Intelligence module to carry out the duties of the Integrated Server.
The present invention has been described above in terms of a presently preferred embodiment so that an understanding of the present invention can be conveyed. There are, however, many configurations for the system and application not specifically described herein but with which the present invention is applicable. The present invention should therefore not be seen as limited to the particular embodiment described herein, but rather, it should be understood that the present invention has wide applicability with respect to multi-user applications generally. All modifications, variations, or equivalent arrangements and implementations that are within the scope of the attached claims should therefore be considered within the scope of the invention.

## Claims

1. A method of managing participants in an online session, comprising:
participating in an online session including a plurality of participants communicatively linked to one another via a gaming network, wherein each of the participants includes a computing device;
detecting that a first participant responsible for certain managerial functionality associated with the online session has disconnected from the online session, wherein detecting that the first participant has disconnected from the online sessions occurs when an update message periodically broadcast by the first participant is not received within a predetermined amount of time;
broadcasting a notification to the remaining participants from the plurality of participants in the online session that the first participant has disconnected from the online session, wherein the notification is broadcast following detection of the first participant having disconnected from the online session; and
reassigning the functionality associated with the first participant based on one or more determinations made by one or more of the remaining participants in the online session.

2. The method of claim 1, wherein each of the participant computing devices are identified by an index identification number.

3. The method of claim 2, wherein the broadcast indicating that the first participant has disconnected from the online session is initiated by the participant computing device with the next consecutive index identification number after the index identification number of the disconnected first participant.

4. The method of claim 1, wherein the one or more determinations comprises a condition of the gaming network.

5. The method of claim 1, wherein the one or more determinations comprises the geographical location of one or more of the participant network computers in the online session.

6. The method of claim 1, wherein the one or more determinations comprises a hardware specification of one or more of the participant network computers in the online session.

7. The method of claim 1, wherein the one or more determinations comprises a preference specified by a user of one of the participant network computers in the online session.

8. The method of claim 1, further comprising accepting a new participant to the online session to replace the disconnected first participant.

9. The method of claim 8, wherein the new participant is controlled by a user.

10. The method of claim 9, wherein the new user-controlled participant joins a pre-existing team of participants in the online session.

11. The method of claim 8, wherein the new participant is an automated participant not under the control of a user.

12. A system for managing participants in an online session, the system comprising:
a gaming network for establishing the online session amongst a plurality of participant computing devices, wherein each of the participant computing devices in the online session are communicatively linked to one another via the gaming network;
a first participant computing device from the plurality of participant computing devices, wherein the first participant computing device is responsible for certain managerial functionality associated with the online session, the first participant computing device configured to periodically broadcast an update message to the other participant computing devices in the online session; and
a second participant computing device configured to:
receive the periodically broadcast update message, wherein the second participant computing device will determine that the first participant computing device has disconnected from the online session if the update message is not received within a predetermined period of time,
broadcast a notification to the remaining participant computing devices from the plurality of participant computing devices in the online session that the first participant computing device has disconnected from the online session, wherein the notification is broadcast following the determination that the first participant computing device has disconnected from the online session, and
re-assign the functionality associated with the first participant computing device based on one or more determinations made by one or more of the remaining participant computing devices in the online session.

13. The system of claim 12, wherein the one or more determinations comprises a condition of the gaming network.

14. The system of claim 12, wherein the one or more determinations comprises the geographical location of one or more of the participant computing devices in the online session.

15. The system of claim 12, wherein the one or more determinations comprises a hardware specification of one or more of the participant computing devices in the online session.

16. The system of claim 12, wherein the one or more determinations comprises a preference specified by a user of one of the participant computing devices in the online session.

17. The system of claim 12, wherein the re-assignment of functionality is random.

18. The system of claim 12, wherein the second participant computing device is further configured to accept a new participant computing device to replace the disconnected participant computing device.

19. The system of claim 18, wherein the new participant computing device is controlled by a user.

20. The system of claim 19, wherein the new user-controlled participant computing device joins a team of participant computing devices in the online session.

21. The system of claim 18, wherein the new participant computing device is an automated participant computing device not under the control of a user.

22. A computer-readable storage medium having embodied thereon a program, the program being executable by a computer to perform a method for managing participants in an online session, the method comprising:
detecting that a first participant responsible for certain managerial functionality associated with the online session has disconnected from the online session, wherein detecting that the first participant has disconnected from the online sessions occurs when an update message periodically broadcast by the first participant is not received within a predetermined amount of time;
broadcasting a notification to the remaining participants from the plurality of participants in the online session that the first participant has disconnected from the online session, wherein the notification is broadcast following detection of the first participant having disconnected from the online session; and
reassigning the functionality associated with the first participant based on one or more determinations made by one or more of the remaining participants in the online session.

23. The computer-readable storage medium of claim 22, wherein the functionality is re-assigned to an existing participant in the online session.

24. The computer-readable storage medium of claim 22, wherein the broadcast indicating that the first participant has disconnected from the online session is initiated by a participant computing device with a next consecutive index identification number after the index identification number of the disconnected first participant, each of the participant computing devices having been assigned an index identification number at the initiation of the online session.

25. The computer-readable storage medium of claim 22, the method further comprising accepting a new participant to the online session to replace the disconnected first participant.

26. The computer-readable storage medium of claim 25, wherein the new participant is controlled by a user.

27. The computer-readable storage medium of claim 25, wherein the new participant is an automated participant not under the control of a user.