Task switching with state preservation for programs running on an electronic device
First Claim
1. A method of performing context switching in an electronic device, the method comprising the steps of:
- receiving a first user request to perform a context switch from a currently executing first program on the electronic device;
displaying a task switching menu listing only ones of a plurality of programs installed on the electronic device that are useful or user selected to execute based at least partly on the first program;
receiving a selection from the user of one of the plurality of programs;
storing a program state when the first user request was received of the first program into a first context packet;
terminating execution of the first program;
executing the selected one of the plurality of programs as a second program; and
upon receiving a second user request, suspending or terminating the execution of the second program and resuming execution of the first program based on the first context packet.
6 Assignments
0 Petitions
Accused Products
Abstract
A method and system providing switching between a plurality of installed programs in a computer system. Embodiments include a jump function comprising the steps: (1) determining a jump program that is to be the next program to be run, possibly from a plurality of possible choices: (2) creating input data for the jump program based on data in the current program; (3) storing the program state of the currently running program into a context packet and saving the context packet to memory; (4) releasing temporary memory that is used by the program, so as to allow other programs to use the memory; (5) calling the jump program with the created input data as input and terminating the currently running program.
-
Citations
27 Claims
-
1. A method of performing context switching in an electronic device, the method comprising the steps of:
-
receiving a first user request to perform a context switch from a currently executing first program on the electronic device; displaying a task switching menu listing only ones of a plurality of programs installed on the electronic device that are useful or user selected to execute based at least partly on the first program; receiving a selection from the user of one of the plurality of programs; storing a program state when the first user request was received of the first program into a first context packet; terminating execution of the first program; executing the selected one of the plurality of programs as a second program; and upon receiving a second user request, suspending or terminating the execution of the second program and resuming execution of the first program based on the first context packet. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An electronic device comprising:
-
at least one processor; a display device; an input device; a memory; and a bus connecting the processor/s, the display device, the input device, and the memory, wherein the memory includes a plurality of instructions for that at least one processor to cause the electronic device to be configured to; receive a user request to perform a context switch from a currently executing first program on the electronic device, display a task switching menu listing only ones of a plurality of programs installed on the electronic device that are useful or user selected to execute based the first program, receive a selection from the user of one of the plurality of programs, store a program state when the user request was received of a first currently executing program into a first context packet, terminate execution of the first program; execute the selected one of the plurality of programs as a second program, and upon receiving a second user request, suspend or terminate the execution of the second program, storing the second program'"'"'s state into a second context packet and resume execution of a previously executed program based on the associated context packet or starting executing another program through the above task switching menu. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
-
-
18. An electronic device comprising:
-
means for receiving a first user request to perform a context switch from a currently executing first program on the electronic device; means for displaying a task switching menu listing only ones of a plurality of programs installed on the electronic device that are useful or user selected to execute based at least partly on the first program; means for receiving a selection from the user of one of the plurality of programs; means for storing a program state when the first user request was received of the first program into a first context packet; means for terminating execution of the first program; means for executing the selected one of the plurality of programs as a second program; and means for, upon receiving a secured user request, storing a program state of the second program as a second context packet and suspending or terminating the execution of the second program and resuming execution of a previously executed program based on the associated context packet or starting executing another program through the above task switching menu. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25)
-
-
26. A method of performing context switching in an electronic device, the method comprising the steps of:
-
receiving a first user request to perform a context switch from a currently executing first program on the electronic device; displaying a task switching menu listing only ones of a plurality of programs installed on the electronic device that are useful to execute based at least partly on the first program; receiving a selection from the user of one of the plurality of programs; storing a program state associated with a display status when the first user request was received of the first program into a first context packet; terminating execution of the first program; releasing temporary memory used by the first program; executing the selected one of the plurality of programs; and upon receiving a second user request, terminating the execution of the selected program and resuming execution of the first program with the associated display status based on the context packet.
-
-
27. An electronic device comprising:
-
at least one processor; a display device; an input device; a memory; and a bus connecting the at least one processor, the display device, the input device, and the memory, wherein the memory includes a plurality of instructions for that at least one processor to cause the electronic device to be configured to; receive a first user request to perform a context switch from a currently executing first program on the electronic device, display a task switching menu listing only ones of a plurality of programs installed on the electronic device that are useful to execute based on the first program, receive a selection from the user of one of the plurality of programs, store a program state associated with a display status when the first user request was received of a first currently executing program into a first context packet, terminate execution of the first program, releasing temporary memory used by the first program, execute the selected one of the plurality of programs, and upon receiving a second user request, suspend or terminate the execution of the selected program and resume execution of the first program with the associated display status based on the content packet.
-
Specification