CN101060502B - A method and device for simultaneous viewing the chat record and the latest news - Google Patents
A method and device for simultaneous viewing the chat record and the latest news Download PDFInfo
- Publication number
- CN101060502B CN101060502B CN200710099645A CN200710099645A CN101060502B CN 101060502 B CN101060502 B CN 101060502B CN 200710099645 A CN200710099645 A CN 200710099645A CN 200710099645 A CN200710099645 A CN 200710099645A CN 101060502 B CN101060502 B CN 101060502B
- Authority
- CN
- China
- Prior art keywords
- subwindow
- new information
- chat record
- shows
- chat
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The disclosed device for browsing the chat record and latest message simultaneously comprises: a chat record display area for displaying the chat history, a new message display area, a message input area for editing IM, and a monitor module, wherein the monitor module monitors whether the scroll bar on lowest end of chat display area, if no, detects whether there is new message; if yes, bounces the new message display area. This invention is so convenient.
Description
Technical field
The present invention relates to the page Display Technique of immediate communication tool (IM), particularly relate to a kind ofly in the IM chat window, browse the method and the device of chat record and latest news simultaneously.
Background technology
Along with development of internet technology, the increasing network user is by immediate communication tool (IM) interchange of chatting.With reference to shown in Figure 1, be the composition schematic diagram of current I M chat window.Described chat window mainly comprises chat record subwindow 101 and information input subwindow 102, wherein chat record subwindow 101 is used to write down the historical chat record that shows the chat both sides, as the message of user's transmission and reception, and the time of transmission or reception message etc.; Described information input subwindow 102 is used to import chat messages, is the editor that the user imports message.
In the chat record subwindow 101 shown in Figure 1, be used to write down the zone that shows all chat records and be called the complete viewing area of chat record, promptly in scroll box 103, move up and down all history message zones that 104 of scroll bars can be shown to.And the current subregion of seeing of user is called chat record visible page, the area size that promptly current chat record subwindow 101 is shown.
When the user after information input subwindow 102 inediting message send, when perhaps receiving the new information that the other side IM sends, the new information of described transmission or reception all can show in chat record subwindow 101.In traditional display mode, when new information entered chat record subwindow 101, if scroll bar 104 is not at scroll box 103 bottom, scroll bar 104 can move on to scroll box 103 bottom automatically, and latest news is shown.At this moment, if the user is dragging scroll bar 104 and checking chat record, when newly entering message in the chat record subwindow 101, chat record visible page will be rolled to the bottommost of window, the user also need drag the chat record that scroll bar 104 could continue to check the front once more, very trouble.
A kind of improved display mode is: with the chat record visible page locking, the chat record visible page of described locking can not roll downwards along with entering of new information automatically.So, if have new information to enter in the chat record subwindow 101, even scroll bar 104 is not at scroll box 103 bottom, the chat record visible page of described locking still can the current chat record of checking of explicit user, thereby does not influence user's browse state.
Though described improving one's methods solved the user and checked the influence that chat record is not entered by new information, need not to drag back and forth the problem of scroll bar 104, but also there is defective: check historical chat record in the visible page that the user is locking always, but can't in time know the latest news that the other side IM sends, influence user's use.Especially under the group chats function, because group's member is very many, so the amount of information that shows in the chat record subwindow 101 is very big, and the message that each member sends is also different, if the user can't see new message checking chat record always, just can't participate in well the group merely in.
Summary of the invention
Technical problem to be solved by this invention provides a kind of method and device of browsing chat record and latest news simultaneously, to solve the present IM user problem of browsing histories chat record and latest news simultaneously.
For solving the problems of the technologies described above,, the invention discloses following technical scheme according to specific embodiment provided by the invention:
A kind of IM chat window display unit comprises: chat record shows subwindow, is used to show historical chat record; New information shows subwindow, is used to show the instant communication information that newly arrives; Information input subwindow is used for editor's input instant communication information; Monitoring module is used for monitoring scroll bar that chat record shows subwindow and whether is positioned at chat record and shows subwindow bottom, if not then whether monitoring has new information, if having, then triggers the new information window management and ejects new information and show subwindow; New information is presented at described new information shows subwindow, chat record shows scroll bar and the chat record visible page invariant position in the subwindow; If opened new information shows subwindow, then new information continues to show that at new information subwindow shows; Be positioned at chat record as if scroll bar and show subwindow bottom, then whether monitoring has new information to show subwindow, if having, then triggers the new information window management and closes described new information demonstration subwindow, and new information shows in the subwindow at chat record and shows.
Preferably, described three subwindows are in same forms, and wherein, new information shows that subwindow shows between subwindow and the information input subwindow at chat record.
Perhaps, described new information shows that subwindow is positioned at independent forms, and described chat record shows that subwindow and information input subwindow are positioned at another forms.
Described display unit also comprises: module is set, is used to be provided with size and the position that described new information shows subwindow.
A kind of method that shows latest news at the IM chat window, comprise: judged whether new information,, then continued to judge whether at the chat record subwindow bottom scroll bar if having, if not, then show to show described new information in the subwindow at the new new information that ejects; Scroll bar in the chat record subwindow and chat record visible page invariant position; If then directly show to show described new information in the subwindow at described chat record.
Described method also comprises: when showing new information in the new information demonstration subwindow that is newly ejecting, drag scroll bar and show subwindow bottom to chat record, then the new information of described new ejection demonstration subwindow is closed automatically.
According to specific embodiment provided by the invention, the invention discloses following technique effect:
By judging the position of scroll bar at the chat record subwindow, the control new information shows opening and closing of subwindow: if scroll bar is not at the chat record subwindow bottom, then when new information, newly open a message and show that subwindow shows described new information; At this moment, if drag scroll bar to the chat record subwindow bottom, then described new information demonstration subwindow is closed automatically, still shows new information according to original display mode in the chat record subwindow.
Because the display window of history message and new information is separated management, so the user checks that the method for chat record is more flexible, and the user can see up-to-date chat messages in real time in the browsing histories chat record, very convenient.
Description of drawings
Fig. 1 is the composition schematic diagram of IM chat window in the prior art;
Fig. 2 is the composition schematic diagram of the embodiment of the invention one described IM chat window;
Fig. 3 is the composition schematic diagram of the embodiment of the invention two described IM chat windows;
Fig. 4 is the described flow chart of steps that shows latest news at the IM chat window of the embodiment of the invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
The embodiment of the invention provides a kind of chat window of IM flexibly display mode, when user's browsing histories Message Record, newly open a window and show up-to-date message, make the user both can be as required browsing histories chat record at any time, can also see new chat messages in real time, participate in the chat better.
With reference to Fig. 2, be the composition schematic diagram of the embodiment of the invention one described IM chat window.Described IM chat window comprises that mainly chat record subwindow 201, new information show subwindow 202 and information input subwindow 203.Wherein, chat record subwindow 201 comprises scroll box 205 and scroll bar 204, and described scroll bar 204 can move up and down in scroll box 205, thereby adjusts the viewing area of chat record visible page.
As previously mentioned, chat record subwindow 201 is used for record and shows historical chat record, and information input subwindow 203 is used for editor's input chat messages.And new information shows that subwindow 202 is message display windows that the embodiment of the invention is newly opened, and is used to show the up-to-date message that receives of IM window.But described new information shows that subwindow 202 can open or close automatically according to different user's operating positions.
Under the common display pattern, the IM window only shows chat record subwindow 201 and information input subwindow 203, and under the situation that does not have new information to enter, the user can arbitrarily drag scroll bar 204 and check historical chat record.But when receiving new information, if the position of scroll bar 204 is not at chat record subwindow 201 bottom, then message is browsed window and is divided into two parts, browses window for history message above, be chat record subwindow 201, the history message of explicit user browsing; Browse window for latest news below, promptly new information shows subwindow 202, shows the new message that receives.Described display mode is divided into two windows demonstrations with history message and the latest news that all is presented in the prior art in the chat record subwindow 101, and like this, the user is browsing histories message and latest news simultaneously.
At this moment, if the user is dragged to chat record subwindow 201 bottom with scroll bar 204, then described new information demonstration subwindow 202 is closed automatically, and new information shows that the message transfers in the subwindow 202 shows that the IM window restoration is under above-mentioned common display pattern in chat record subwindow 201.If continue to have new information to arrive, described new information directly is presented in the chat record subwindow 201, does not influence the user and checks the history message that is positioned at chat record subwindow 201 bottoms.
Certainly, under the common display pattern, no matter whether the user is in browse state, if scroll bar 204 is positioned at chat record subwindow 201 bottom, when new information enters, also directly be presented in the chat record subwindow 201, do not show subwindow 202, because do not influence user's browse state like this and do not need to eject new information.
Above-mentioned new information shows opening flexibly and closing of subwindow 202, realizes by monitoring module control.Described monitoring module is used for monitoring in real time the position of scroll bar 204, and by whether at chat record subwindow 201 bottom judging scroll bar 204, the control new information shows when subwindow 202 opens or closes automatically.
If monitoring module monitors scroll bar 204 not at chat record subwindow 201 not bottom, then the user may be at the browsing histories chat record, and described monitoring module continues monitoring and whether receives new message.If there is new information to enter, then trigger the new information window management, eject new information at display page and show subwindow 202, with newly to message be presented in the described window and the scroll bar 204 in the chat record subwindow 201 and the invariant position of chat record visible page; If opened described new information shows subwindow 202, then newly to message continue in described window, to show.
Be positioned at chat record subwindow 201 bottom if monitoring module monitors scroll bar 204, then the user may not be in browse state, and perhaps browsing is positioned at the history message of chat record subwindow 201 bottoms.At this moment, described monitoring module continues to judge new information shows whether subwindow 202 is opened, shows at the page if described new information shows subwindow 202, then triggers the new information window management, close this new information and show subwindow 202, newly to message shows in chat record subwindow 201.
New information shows that subwindow 202 is divided into two kinds substantially in the display mode of the page: a kind of is to be arranged in same forms with chat record subwindow 201 and information input subwindow 203, usually be inserted between chat record subwindow 201 and the information input subwindow 203 and show, as shown in Figure 2, can certainly be below information be imported subwindow 203, or other position display of forms; Another kind is to be positioned at another forms separately, with reference to shown in Figure 3, be that chat record subwindow 201 and information input subwindow 203 is positioned at same forms A, keep the display mode under the common display pattern, and new information show that subwindow 202 is independent demonstration forms B.
New information shows the display mode of subwindow 202 and concrete display position, can carry out user or system default setting by module is set, the described module that is provided with can also be provided with height that new information shows subwindow 202, size or the like attribute information, this point and common described immediate communication tool that function is set is identical.
At above-mentioned IM window display mode, the embodiment of the invention also provides a kind of method at IM chat window demonstration new information, and the user can browse chat record and newly arrived message simultaneously.With reference to Fig. 4, be the described flow chart of steps that shows latest news at the IM chat window.
Step 401 has judged whether that new information arrives, if certain user who monitors in the other side IM user or the group has sent one or more new information, then forwards step 402 to; Otherwise, monitor the new information reception condition in real time, return step 401.
Step 402, the position of continuing judgement scroll bar 204, whether bottom at chat record subwindow 201, if change step 403; Otherwise, change step 404.
Step 403, if scroll bar 204 at chat record subwindow 201 bottom, the message that then newly receives directly shows in chat record subwindow 201.
Step 404, if scroll bar 204 is not at chat record subwindow 201 bottom, then the user may be in the browsing histories message status.At this moment, the page can eject a new message display window, the message that newly receives is shown to described new information shows in the subwindow 202, and chat record subwindow 201 still keeps original message show state.
Step 405, when in the new new information demonstration subwindow 202 that ejects, showing new information, if the user drags scroll bar 204 to chat record subwindow 201 bottom, the expression user may not need browsing histories message, what perhaps browse is the history message that is in chat record subwindow 201 bottoms, and described new information demonstration subwindow 202 is closed automatically.And the Message Record in the new information demonstration subwindow 202 is transferred in the chat record subwindow 201 and is shown, when new message arrives, directly shows in chat record subwindow 201.
Above-mentioned method and the display mode that can browse chat record and latest news simultaneously, for providing flexibly chat record, the user checks mode, be particularly useful for the very large situations of display message amount such as the group chats, the user can check chat record on one side, merely participate in the group on one side, obtained experience well.
More than to a kind of method and device of browsing chat record and latest news simultaneously provided by the present invention, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, part in specific embodiments and applications all can change.In sum, this description should not be construed as limitation of the present invention.
Claims (6)
1. an IM chat window display unit is characterized in that, comprising:
Chat record shows subwindow, is used to show historical chat record;
New information shows subwindow, is used to show the instant communication information that newly arrives;
Information input subwindow is used for editor's input instant communication information;
Monitoring module, whether be used for monitoring scroll bar that chat record shows subwindow is positioned at chat record and shows subwindow bottom, if not, then whether monitoring has new information, if have, then trigger the new information window management and eject new information demonstration subwindow, new information is presented at described new information shows subwindow, chat record shows scroll bar and the chat record visible page invariant position in the subwindow; If opened new information shows subwindow, then new information continues to show that at new information subwindow shows; Be positioned at chat record as if scroll bar and show subwindow bottom, then whether monitoring has new information to show subwindow, if having, then triggers the new information window management and closes described new information demonstration subwindow, and new information shows in the subwindow at chat record and shows.
2. display unit according to claim 1 is characterized in that: described three subwindows are in same forms, and wherein, new information shows that subwindow shows between subwindow and the information input subwindow at chat record.
3. display unit according to claim 1 is characterized in that: described new information shows that subwindow is positioned at independent forms, and described chat record shows that subwindow and information input subwindow are positioned at another forms.
4. display unit according to claim 1 is characterized in that, also comprises: module is set, is used to be provided with size and the position that described new information shows subwindow.
5. the method in IM chat window demonstration latest news is characterized in that, comprising:
Judged whether new information,, continued then to judge whether scroll bar shows subwindow bottom at chat record if having, if not, then show to show described new information in the subwindow at the new new information that ejects; Scroll bar in the chat record subwindow and chat record visible page invariant position;
If then directly show to show described new information in the subwindow at described chat record.
6. method according to claim 5, it is characterized in that, also comprise: when showing new information in the new information demonstration subwindow that is newly ejecting, drag scroll bar and show subwindow bottom to chat record, then the new information of described new ejection demonstration subwindow is closed automatically.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710099645A CN101060502B (en) | 2007-05-25 | 2007-05-25 | A method and device for simultaneous viewing the chat record and the latest news |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710099645A CN101060502B (en) | 2007-05-25 | 2007-05-25 | A method and device for simultaneous viewing the chat record and the latest news |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101060502A CN101060502A (en) | 2007-10-24 |
CN101060502B true CN101060502B (en) | 2010-05-26 |
Family
ID=38866396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200710099645A Active CN101060502B (en) | 2007-05-25 | 2007-05-25 | A method and device for simultaneous viewing the chat record and the latest news |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101060502B (en) |
Families Citing this family (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102279692B (en) * | 2010-06-11 | 2015-12-16 | 腾讯科技(深圳)有限公司 | The method of realizing preview while dragging object, client |
KR102054234B1 (en) * | 2010-11-18 | 2019-12-10 | 구글 엘엘씨 | Orthogonal dragging on scroll bars |
CN102831227A (en) * | 2012-08-28 | 2012-12-19 | 东莞宇龙通信科技有限公司 | Method and system for browsing information flow of social application |
CN103076950B (en) * | 2012-12-25 | 2016-12-28 | 北京百度网讯科技有限公司 | A kind of management method of threads of conversation list |
CN103227857B (en) * | 2013-03-26 | 2015-09-02 | 小米科技有限责任公司 | The display packing of message and device in a kind of mobile client |
CN103457835B (en) * | 2013-08-18 | 2018-05-04 | 苏州量跃信息科技有限公司 | The method and system that intersection record collects in instant messaging |
CN103455298A (en) * | 2013-09-06 | 2013-12-18 | 深圳市中兴移动通信有限公司 | External data display method and external data display equipment |
CN104731826A (en) * | 2013-12-23 | 2015-06-24 | 腾讯科技(深圳)有限公司 | Page operation feedback method and device |
CN105022552B (en) * | 2014-04-30 | 2018-04-24 | 腾讯科技(深圳)有限公司 | A kind of method and apparatus for showing messaging list |
JP6910300B2 (en) | 2015-01-29 | 2021-07-28 | 華為技術有限公司Huawei Technologies Co.,Ltd. | A method for displaying chat history records and a device for displaying chat history records |
CN105988674B (en) * | 2015-02-06 | 2020-10-23 | 腾讯科技(深圳)有限公司 | Message display method and related device |
CN104765539A (en) * | 2015-03-25 | 2015-07-08 | 天脉聚源(北京)传媒科技有限公司 | Message display method and device |
CN106469153A (en) * | 2015-08-14 | 2017-03-01 | 阿里巴巴集团控股有限公司 | The method and apparatus carrying out information pushing in the page |
CN105260094B (en) | 2015-09-16 | 2017-07-11 | 网易(杭州)网络有限公司 | Chat locks screen automatically method, device, mobile client and the computer client of solution screen |
CN106547502A (en) * | 2015-09-18 | 2017-03-29 | 中兴通讯股份有限公司 | A kind of display packing of information content and corresponding terminal unit |
CN106406885B (en) * | 2016-09-20 | 2020-02-07 | 天脉聚源(北京)传媒科技有限公司 | Message loading method and device |
CN107171930A (en) * | 2017-04-20 | 2017-09-15 | 北京三快在线科技有限公司 | Information displaying method and device in a kind of instant messaging application, electronic equipment |
CN107590386B (en) * | 2017-08-16 | 2023-04-07 | 腾讯科技(深圳)有限公司 | Security event information processing method and device, storage medium and computer equipment |
CN109889433B (en) * | 2019-01-25 | 2021-01-08 | 维沃移动通信有限公司 | Message sending method and mobile terminal |
CN109951380B (en) * | 2019-03-29 | 2021-11-09 | 上海连尚网络科技有限公司 | Method, electronic device, and computer-readable medium for finding conversation messages |
CN112765508A (en) * | 2021-01-27 | 2021-05-07 | 维沃移动通信有限公司 | Information display method and device and electronic equipment |
CN115242739B (en) * | 2022-07-28 | 2024-03-22 | 维沃移动通信有限公司 | Information processing method and device and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1908877A (en) * | 2005-08-05 | 2007-02-07 | 腾讯科技(深圳)有限公司 | Method for automatically locking chat record visible page |
CN1929454A (en) * | 2005-09-05 | 2007-03-14 | 腾讯科技(深圳)有限公司 | Display method for instant message in instant communication |
-
2007
- 2007-05-25 CN CN200710099645A patent/CN101060502B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1908877A (en) * | 2005-08-05 | 2007-02-07 | 腾讯科技(深圳)有限公司 | Method for automatically locking chat record visible page |
CN1929454A (en) * | 2005-09-05 | 2007-03-14 | 腾讯科技(深圳)有限公司 | Display method for instant message in instant communication |
Also Published As
Publication number | Publication date |
---|---|
CN101060502A (en) | 2007-10-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101060502B (en) | A method and device for simultaneous viewing the chat record and the latest news | |
CN100544268C (en) | A kind of reminding demand service of telecommunication method and device | |
CN105944378B (en) | The task of a kind of page of trip configures system and method | |
CN104467950B (en) | A kind of acquisition methods and device of luminous power data | |
CN103744671A (en) | Information processing method and electronic device | |
CN103077453A (en) | Method and system for analyzing data by multiple-people cooperative work | |
CN103530029B (en) | EMS graphical dynamic menu display method based on man machine interface user behavior analysis | |
CN103701996A (en) | Quick opening and closing method for application program notification of mobile terminal | |
WO2018158186A1 (en) | Method and device for the targeted conveying of information to customers using cooking appliances and/or to cooking appliances of a cooking appliance manufacturer | |
CN102591270B (en) | Production system | |
CN104113470A (en) | Method for multi-subject parallel dialogues | |
CN109615817A (en) | Monitoring system combines alarm method, device, electronic equipment and storage medium | |
CN103440190A (en) | Equipment failure warning method, device and CIM system | |
CN105141502A (en) | Method and device for managing instant communication process | |
CN108099613A (en) | Control system, the method and apparatus of pantograph | |
CN106873858A (en) | A kind of method and apparatus for showing message | |
CN103200033B (en) | CDN and network integration system and the electoral machinery of primary, spare scheduling unit thereof | |
CN103684806A (en) | Method and device for creating groups and server | |
CN109446460B (en) | HTML5 online video redirection system and implementation method thereof | |
CN113325978B (en) | Message display method and device and electronic equipment | |
CN1319324C (en) | Implement method for network management system operation | |
CN104423530B (en) | Mobile device electricity-saving control method, device and mobile device, host terminal | |
CN102387029B (en) | System and method for automatically saving equipment configuration information | |
CN106354387A (en) | Input method-based practical cloud clipboard | |
CN105426330B (en) | A kind of method and device automatically opening extended channel |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |