×

Task switching with state preservation for programs running on an electronic device

  • US 8,171,489 B2
  • Filed: 03/29/2009
  • Issued: 05/01/2012
  • Est. Priority Date: 04/06/2001
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of managing a memory device in an electronic device, the method comprising the steps of:

  • storing a first program and a user data of the first program in the memory device during execution of the first program;

    determining a second program to be executed by the electronic device, wherein the determining step comprises the step of;

    generating a plurality of programs installed on the electronic device available to be executed wherein the plurality of programs are selected from the group of;

    programs designed to be generated based on the first program and programs previously designated by a user of the electronic device to be generated based on the first program;

    storing a program state of the first program into a first context packet in a response to a selection of the second program;

    saving the first context packet in the memory device;

    releasing temporary memory used for the first program so as to allow other programs to use the temporary memory after storing the program state of the first program into the first context packet;

    storing the second program and a user data of the determined second program in the memory device; and

    upon receiving a request to execute a third program, suspending or terminating the execution of the second program and executing the third program based on a second context packet wherein the request to execute the third program is a request to resume execution of the first program and executing the third program is executing the first program based on the second context packet and wherein the resuming execution of the first program step further comprises the steps of;

    searching a plurality of context packets related to the first program; and

    selecting the second context packet from the plurality of context packets related to the first program.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×