Patent ID: 11966762
Assignee: BEIJING ZITIAO NETWORK TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 7:
8. An electronic device, comprising:
one or more processing apparatuses; and
a storage apparatus, which is configured to store one or more programs;
wherein the one or more programs, when executed by the one or more processing apparatuses, enable the one or more processing apparatuses to perform:
acquiring a modal window structure, and adding the modal window structure to a modal stack, wherein the modal stack is used for buffering the modal window structure;
in response to updating a state of each window of at least one window existing at a current interface according to a created loop update event, extracting a system event from a system message queue;
in response to a modal window existing at the current interface, determining whether the modal window is the same as a window pointed by a structure located on a top of the modal stack; and
in response to the modal window being the same as the window pointed by the structure located on the top of the modal stack, controlling the window located on the top of the modal stack to process the system event;
wherein the one or more processing apparatuses acquires the modal window structure by: in response to detecting an operation of opening the modal window by a user, acquiring a window control object of the modal window in a non-blocking manner; wherein the non-blocking manner is to perform non-blocking on the loop update event; and creating the modal window structure according to a window pointer of the modal window and the window control object; wherein the modal window structure comprises the window pointer and a window control session.