METHOD, APPARATUS, AND ELECTRONIC DEVICE FOR DISPLAYING CHAT WINDOWS
First Claim
1. A method for displaying chat windows, comprising:
- obtaining a display queue and a stow queue, the display queue comprising multiple display positions, each display position accommodating a corresponding existing chat window, the existing chat windows being arranged from a first end to a second end of the display queue according to a chronological order of their opening times, and an existing chat window with an earlier opening time being closer to the second end of the display queue; and
obtaining an opening instruction of a chat window in real time;
determining whether a number of the existing chat windows in the display queue reaches a maximum number of the display positions;
if the number of the existing chat windows in the display queue reaches the maximum number of the display positions, moving an existing chat window in the display position closest to the second end of the display queue into the stow queue;
moving each of the remaining existing chat windows one display position towards the second end in the display queue, so as to empty the display position closest to the first end;
putting the newly opened chat window into the emptied display position closest to the first end according to the opening instruction;
using the newly opened instant chat window and the remaining existing chat windows as new-round existing chat windows; and
displaying the new-round existing chat windows in the display queue.
0 Assignments
0 Petitions
Accused Products
Abstract
The invention relates to method, apparatus, and electronic device for displaying chat windows. The method includes obtaining a display queue and a stow queue, where the display queue includes multiple display positions in which corresponding existing chat windows are disposed; obtaining an opening instruction of a chat window in real time; determining whether a number of the existing chat windows reaches a maximum number of display positions; if the number of the existing chat windows reaches the number of display positions, moving the existing chat window in the rightmost display position into the stow queue; moving the remaining existing chat windows rightwards, so as to empty the leftmost display position; putting the newly opened chat window into the leftmost display position; using the newly opened chat window and the remaining existing chat windows as new-round existing chat windows; and displaying the new-round existing chat windows.
16 Citations
14 Claims
-
1. A method for displaying chat windows, comprising:
-
obtaining a display queue and a stow queue, the display queue comprising multiple display positions, each display position accommodating a corresponding existing chat window, the existing chat windows being arranged from a first end to a second end of the display queue according to a chronological order of their opening times, and an existing chat window with an earlier opening time being closer to the second end of the display queue; and obtaining an opening instruction of a chat window in real time;
determining whether a number of the existing chat windows in the display queue reaches a maximum number of the display positions;
if the number of the existing chat windows in the display queue reaches the maximum number of the display positions, moving an existing chat window in the display position closest to the second end of the display queue into the stow queue;
moving each of the remaining existing chat windows one display position towards the second end in the display queue, so as to empty the display position closest to the first end;
putting the newly opened chat window into the emptied display position closest to the first end according to the opening instruction;
using the newly opened instant chat window and the remaining existing chat windows as new-round existing chat windows; and
displaying the new-round existing chat windows in the display queue. - View Dependent Claims (2, 3, 4, 5, 9, 10, 11, 12, 13, 14)
-
-
6. An apparatus for displaying chat windows, comprising:
-
a queue obtaining module, configured to obtain a display queue and a stow queue, the display queue comprising multiple display positions, each display position accommodating a corresponding existing chat window, the existing chat windows being arranged from a first end to a second end of the display queue according to a chronological order of their opening times, and an existing chat window with an earlier opening time being closer to the second end of the display queue; and a chat window display module, configured to obtain an opening instruction of a chat window in real time;
determine whether a number of the existing chat windows in the display queue reaches a maximum number of the display positions;
if the number of the existing chat windows in the display queue reaches the maximum number of the display positions, move an existing chat window in the display position closest to the second end of the display queue into the stow queue;
move each of the remaining existing chat windows one display position towards the second end in the display queue, so as to empty the display position closest to the first end;
put the newly opened chat window into the emptied display position closest to the first end according to the opening instruction;
use the newly opened chat window and the remaining existing chat windows as new-round existing chat windows; and
display the new-round existing chat windows in the display queue. - View Dependent Claims (7, 8)
-
Specification