Apple patent involves data serialization in a user switching environment
Under the patent's technology, user can perform a login process during which an input data, such as a user name or a password can be entered by the user to access a session. The user name and/or the password are then serialized into an object or a set of objects. If the serialized object or objects are authentic, a session is created and the session properties of the session are defined. Any applications that are subsequently executed during the session remain active after the session is switched out.
Systems, methods, computer-readable mediums, user interfaces and other implementations are disclosed for switching multiple user sessions using an object serialization scheme, and providing expedited access to a previously established user session. User configuration data or session information associated with each user can be converted into one or more objects. Each object can hold one or more additional objects containing distinct data including, but not be limited to, a user name and a path to a user's picture. The object can be serialized and transmitted to a window server for switching out a current user session and initiates a new user session. As the new user session initializes, the serialized objects, in addition to parameters and settings related to the new user session, can be read from the window server. As the new user session is created, the serialized object is deserialized such that after deserialization, the user configuration information or session information are confirmed. If the confirmation succeeds, the initiation of the new user session proceeds. Otherwise, an error message is returned to the user.
Here's Apple's background on the invention: "Modern computer operating systems can be configured to support multiple users and to manage multiple user accounts by creating independent user sessions for each user on a single computing system (e.g., a personal computer). A user may simply log off his own session to allow another user to log on without being required to turning off the computer system.
"Prior to allowing a user access to a session, a logon and authentication process is invoked which often includes prompting the user to enter a password that was previously established when the user account for the computer system was created. A conventional logon and authentication process can include prompting the user to enter their password, and retrieving the user's previously encrypted and stored password for comparison. Based on the results of the comparison, the user is provided access to their session.
"The conventional authentication process described above requires that an encrypted password file be retrieved from a storage device and decrypted. Moreover, such a conventional process often requires several secondary applications (e.g., other than the primary logon application) to be invoked to perform the logon and authentication process. This can lead to an inefficient use of memory and processor cycles, and could translate into unnecessary delays in the logon process."
The inventors are Steve Williamson and Kevin Armstrong. FIG. 1 is a block diagram of an exemplary software architecture for a multi-sessions manager
