WO2017045515A1 - 聊天自动锁屏解屏的方法、装置、移动客户端及电脑客户端 - Google Patents

聊天自动锁屏解屏的方法、装置、移动客户端及电脑客户端 Download PDF

Info

Publication number
WO2017045515A1
WO2017045515A1 PCT/CN2016/096437 CN2016096437W WO2017045515A1 WO 2017045515 A1 WO2017045515 A1 WO 2017045515A1 CN 2016096437 W CN2016096437 W CN 2016096437W WO 2017045515 A1 WO2017045515 A1 WO 2017045515A1
Authority
WO
WIPO (PCT)
Prior art keywords
chat
message
lock screen
screen
chat window
Prior art date
Application number
PCT/CN2016/096437
Other languages
English (en)
French (fr)
Inventor
朱丹墨
江志基
胡洁瑛
段文文
Original Assignee
网易(杭州)网络有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 网易(杭州)网络有限公司 filed Critical 网易(杭州)网络有限公司
Priority to US15/760,634 priority Critical patent/US10824321B2/en
Publication of WO2017045515A1 publication Critical patent/WO2017045515A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/85Providing additional services to players
    • A63F13/87Communicating with other players during game play, e.g. by e-mail or chat
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Definitions

  • the invention relates to a method for unlocking a chat lock screen, in particular to a method for automatically locking a screen during a chat; and the invention relates to a device for implementing the above method.
  • FIG. 1 is a schematic diagram of a chat window interface in the prior art. Therefore, in view of the above problems, the prior art provides such a method mainly by: additionally adding a "lock screen/unlock” button 1a.
  • the "lock screen/screen” button has two states: a lock screen state and an unlock state. Switch between the two states by clicking. When the button is in the lock screen state, the player can freely scroll through the history message content by sliding up and down, and the display content does not automatically scroll with the message refreshing; when the button is in the unlock state, the new message content will push the message list to scroll up.
  • the invention is to overcome the shortcomings and deficiencies of the prior art, and to provide a method and device for unlocking a screen by a chat automatic lock screen.
  • the present invention is achieved by the following technical solution: a method for automatically unlocking a screen by a chat, comprising the steps of:
  • the current chat interface is set to the lock screen state; the lock screen status is: when a new message appears, the chat window It does not automatically scroll to the new message location.
  • the present invention predicts the scrolling situation of the chat window, and then predicts the lock screen and the unlocking intention of the player, and helps the player to lock or unlock in advance before the player manually operates, thereby greatly improving the user experience of the chat. Because when the current chat message scrolling direction of the chat window is opposite to the scrolling direction of the chat message when the new message is loaded, it indicates that the player wants to watch the history message at this time, the chat interface automatically locks the screen, and prevents the chat message of the window from automatically scrolling to when the new message appears. Lowermost square. Moreover, it eliminates the need for the player to manually operate the steps, which is more intelligent.
  • the current chat interface when the user clicks on the message box, the current chat interface is unlocked and scrolled to the new message location; or, when the current chat message is scrolled to the new message content, the current chat interface is automatically unlocked; the chat interface is unlocked as : When a new message appears, the chat window automatically scrolls to the new message location.
  • the determining the scroll direction of the chat window specifically includes the steps of: setting a touch layer on the chat window, and determining a scroll direction of the chat message in the chat window by the motion track of the gesture when the touch is performed.
  • setting the touch layer it can be used on devices that touch the screen, such as mobile devices such as mobile phones or tablets.
  • the method when the new message is reminded in the chat window, includes the following steps: popping a semi-transparent message box at the top of the chat display area, the number of new messages is displayed in the message box; when the current chat window is present When the chat message is scrolled to the location of the latest message, the message box automatically disappears; when the message box is clicked, the current chat message of the chat window is automatically scrolled to the location of the latest message, and the message box automatically disappears.
  • the method further includes the steps of: setting a lock screen unlocking button, and clicking the lock screen unlocking button to realize manual state switching of the chat window lock screen.
  • the present invention further provides a device for unlocking the screen of the chat automatic lock screen, including
  • a determining unit configured to determine a direction in which the current chat information is scrolled in the chat window
  • the automatic lock screen unblocking unit is configured to perform a lock screen action according to the judgment result of the judgment unit; if the current chat message scroll direction in the chat window is opposite to the direction in which the chat message scrolls when the new message is loaded, the current chat interface is Set to the lock screen state; the lock screen status is: when a new message appears, the chat message does not automatically scroll to the new message.
  • the automatic lock screen unblocking unit when the loaded new message is located below the historical chat message in the chat window, when the judging unit judges that the direction of the current chat message scrolling is scrolling down, the automatic lock screen unblocking unit performs the lock screen. Or; when the loaded new message is located above the historical chat message in the chat window, when the judging unit judges that the direction of the current chat message scrolling is scrolling upward, the automatic lock screen unblocking unit performs a lock screen action.
  • the message reminding unit is further configured to: when a new message appears in the lock screen state, a message box is popped up in the chat window for reminding; and when the user clicks the message box, the current chat interface is controlled to scroll to New consumer The position is located, and the unlocking action is performed by the automatic lock screen unblocking unit.
  • the determining unit includes a gesture detecting module for detecting a motion track of the gesture when the touch is made by the touch layer set on the chat window, and determining a scroll direction of the current chat message.
  • the automatic lock screen unscreening unit includes a position detecting module for detecting a location of a chat message in a chat window, and automatically unlocking the current chat interface when the chat window is scrolled to a new message location;
  • the chat interface is unlocked as: when a new message appears, the chat window automatically scrolls to the new message location.
  • the message reminding unit includes a message box pop-up module, configured to pop up a semi-transparent message box at the top of the chat display area when a new message appears, and display a new message bar in the message box. Number; when the current chat message of the chat window is scrolled to the location of the latest message, the message box pop-up module control message box automatically disappears; when the message box is clicked, the current chat message of the chat window is automatically scrolled to the location of the latest message, and the message box pops up The module control message box disappears automatically.
  • a manual lock screen unlocking unit is further configured to detect a state of a lock screen unlocking button set by the chat window, and implement state switching of the chat window lock screen.
  • the present invention in order to use the device for unlocking the above chat lock screen for a mobile client, such as a mobile phone or a tablet computer, the present invention also provides a mobile client, including the above-mentioned device for unlocking the screen of the automatic chat screen.
  • the present invention further provides a computer client, including the above-mentioned chat automatic lock screen unblocking device.
  • FIG. 1 is a schematic diagram of a prior art chat window interface.
  • FIG. 2 is a flow chart showing the steps of the chat lock screen unlocking method of the first embodiment.
  • 3 is a flow chart showing the steps of the chat lock screen unlocking method of the second embodiment.
  • FIG. 4 is a schematic diagram of an interface of a chat window of the present invention.
  • FIG. 5 is a schematic diagram of module connection of a chat lock screen unblocking device.
  • FIG. 6 is a schematic diagram of module connection of a mobile client.
  • Figure 7 is a schematic diagram of module connection of a computer client.
  • the present invention is directed to the technical defect that only the manual lock screen and the screen is disabled in the prior art.
  • the present invention provides a method for unlocking the screen by the chat automatic lock screen. The following describes the method:
  • FIG. 2 is a flow chart of the method steps of the chat automatic lock screen of the embodiment 1 .
  • the invention provides a method for unlocking a screen of a chat automatic lock screen, which mainly comprises the steps of:
  • S11 Determine the direction in which the current chat message scrolls in the chat window.
  • chat window interface lists the chat messages in sequence, usually the new message will be located below or above the chat window.
  • chat information of the chat window is continuously scrolled upward; when the new message is located above the chat window, the chat information of the chat window is continuously scrolled down.
  • the invention predicts the player's lock screen and unlocking intention, and helps the player to lock or unlock in advance before the player manually operates, thereby greatly improving the user experience of the chat. Because when the chat window scrolls up, it indicates that the player wants to watch the history message at this time, the chat interface automatically locks the screen, preventing the window from automatically scrolling to the bottom when a new message appears. Moreover, it eliminates the need for the player to manually operate the steps, which is more intelligent.
  • the present invention also provides a function of a new message prompt in the state of the lock screen, which solves the problem that the player cannot know the new message in the lock screen state, and can quickly return to the latest message position to read by clicking the prompt. It can not only remind the player to have a new message in time, but also can quickly read the new message by clicking the reminder information, which is more convenient.
  • the method for unlocking the screen of the chat automatic lock screen is mainly applied in the chat window of the game, mainly for the number of people in the game process, and the message is refreshed quickly, and the method for automatically unlocking the screen can facilitate the user to quickly read the history message. You can also quickly switch back to new messages for reading.
  • the second embodiment is further improved for the first embodiment.
  • the lock screen state when the chat window is scrolled to the latest message, the lock screen state is set. Further, the manual lock screen unlocking button is also added, and the screen unlocking state and the lock screen state can be switched by manually locking the screen or dissolving the screen.
  • the second embodiment also provides a more complete step procedure, as follows:
  • FIG. 3 is a flow chart of steps of the chat lock screen decoding method of Embodiment 2.
  • the second embodiment provides a method for unlocking a screen of a chat automatic lock screen, which mainly includes the following steps:
  • the determining the scroll direction of the chat window includes the steps of: setting a touch layer on the chat window, and determining a scroll direction of the chat window by using a motion track of the gesture when the touch is performed.
  • setting the touch layer it can be used on devices that touch the screen, such as mobile devices such as mobile phones or tablets.
  • the specific implementation of the touch layer can be implemented by placing a layer of Swallow Touch on the Scrollview and setting it to False, which can be directly manipulated to the message layer when touched.
  • the coordinate axis is set in the chat window, and the left and right directions are the X-axis directions, and the upper and lower directions are the Y-axis directions.
  • the gesture direction is recognized by the trajectory in the Y-axis direction of the touched motion. If the gesture is up, the state is automatically changed to the lock screen state; if the gesture is down and the item in the Scrollview is the last message, the state is automatically changed to the lock screen state.
  • a semi-transparent message box is popped up at the top of the chat display area, and the number of new messages is displayed in the message box.
  • the chat window Scrolls to a new message, it can be determined that the user needs to read the new message at this time, so the lock screen device is released, and the timely display of the new message is facilitated.
  • FIG. 4 is a schematic diagram of a chat window interface of Embodiment 2. The following describes the operation process of the method for unlocking the screen of the chat automatic lock screen of the present invention:
  • the chat window can be touched with a finger to scroll up the chat window.
  • the chat interface automatically locks the screen, and when a new message appears, the chat window does not automatically scroll to the new message location.
  • the lock screen of the chat window can also be realized by clicking the lock screen button.
  • the new message displays the number of new messages through the pop-up window, for example, the display is: "There are 2 new messages"; when the user clicks the reminder box of the new message, the chat window is automatically Scroll to the new message location. At this time, the chat interface is unlocked. Or, by scrolling the current chat window down, when scrolling to a new message, the message reminder box disappears and the chat interface is unlocked. In addition, you can also switch the current chat interface to the unwinding state by clicking the lock screen button.
  • the present invention predicts the scrolling situation of the chat window, and then predicts the lock screen and the unlocking intention of the player, and helps the player to lock or unlock in advance before the player manually operates, thereby greatly improving the user experience of the chat. Because when the chat window scrolls up, it indicates that the player wants to watch the history message at this time, the chat interface automatically locks the screen, preventing the window from automatically scrolling to the bottom when a new message appears. Moreover, it eliminates the need for the player to manually operate the steps, which is more intelligent.
  • the present invention also provides a function of a new message prompt in the state of the lock screen, which solves the problem that the player cannot know the new message in the lock screen state, and can quickly return to the latest message position to read by clicking the prompt. It can not only remind the player to have a new message in time, but also can quickly read the new message by clicking the reminder information, which is more convenient.
  • the method for unlocking the screen of the chat automatic lock screen is mainly applied in the chat window of the game, mainly for the number of people in the game process, and the message is refreshed quickly, and the method for automatically unlocking the screen can facilitate the user to quickly read the history message. You can also quickly switch back to new messages for reading.
  • the invention also retains the lock screen unlocking button, and the user can also manually switch the state of the chat window lock screen.
  • FIG. 5 is a schematic diagram of module connection of the chat lock screen unblocking device.
  • the present invention further provides a device for unlocking the screen of the chat automatic lock screen, comprising the determining unit 1, the automatic lock screen unblocking unit 2, the message reminding unit 3 and the manual lock screen.
  • Screen unit 4 is a schematic diagram of module connection of the chat lock screen unblocking device.
  • the determining unit 1 is configured to determine a scrolling direction of the current chat information in the chat window.
  • the determining unit 1 includes a gesture detecting module 11 configured to detect the touch when the touch layer is set on the chat window. The trajectory of the gesture and determine the direction in which the message scrolls.
  • the automatic lock screen unblocking unit 2 is configured to perform a lock screen action according to the judgment result of the judgment unit; when the chat window scrolls up, the current chat interface is set to a lock screen state; the lock screen state is: when appears Chat messages do not automatically scroll to new messages when new messages are received.
  • the automatic lock screen unblocking unit When the loaded new message is located below the historical chat message in the chat window, when the determining unit determines that the direction of the current chat message scrolling is scrolling down, the automatic lock screen unblocking unit performs a lock screen action; or, when loaded When the new message is located above the historical chat message in the chat window, when the judging unit judges that the current scrolling direction of the chat message is scrolling upward, the automatic lock screen unblocking unit performs a lock screen action.
  • the lock screen unblocking unit 2 further includes a position detecting module 21 for detecting the location of the chat message in the chat window, and automatically unlocking the current chat interface when the chat window is scrolled to the new message location; The interface is unlocked as: When a new message appears, the chat window automatically scrolls to the new message location.
  • the message reminding unit 3 is configured to pop up a message box in the chat window for reminding when a new message occurs, and when the user clicks on the message box, the chat window scrolls to a new message location, and is executed by the automatic lock screen unblocking unit Unlock the action.
  • the message reminding unit 3 includes a message box pop-up module 31, configured to pop up a semi-transparent message box at the top of the chat display area when a new message appears, and display the number of new messages in the message box;
  • a message box pop-up module 31 configured to pop up a semi-transparent message box at the top of the chat display area when a new message appears, and display the number of new messages in the message box;
  • the manual lock screen unlocking unit 4 is configured to detect a state of a lock screen unlocking button set by the chat window, and implement state switching of the chat window lock screen.
  • the chat automatic lock screen decoding device of the present invention is as follows:
  • the chat window can be touched with a finger at this time.
  • the chat message of the chat window is scrolled down to indicate that it is browsing history. Message.
  • the judging unit 1 judges whether or not the chat window is scrolling downward at this time.
  • the chat interface is automatically locked by the automatic lock screen unblocking unit 2, and when a new message appears, the chat window does not automatically scroll to the new message location.
  • the lock screen of the chat window can be realized by manually locking the screen unlocking unit 4 by clicking the lock screen unlocking button.
  • the message reminding unit 3 displays the new message through the pop-up window, and displays the number of new messages, for example, the display is: "There are 2 new messages"; when the user clicks When the reminder box for this new message, the chat window automatically scrolls to the new message location. At this time, the chat interface is unlocked by the automatic lock screen unblocking unit 2. Or, by scrolling down the current chat window, when scrolling to a new message, the message reminder box disappears at this time, and the chat interface is unlocked by the automatic lock screen unblocking unit 2. In addition, the current chat interface can also be switched to the unwinding state by clicking the lock screen unlock button and manually locking the screen unblocking unit 4.
  • FIG. 6 is a schematic diagram of module connection of a mobile client.
  • the present invention also provides a mobile client, including a device for unlocking a screen by a chat automatic lock screen, the chat
  • the automatic lock screen unlocking device comprises a judging unit 1, an automatic lock screen dispelling unit 2, a message reminding unit 3 and a manual lock screen dispelling unit 4.
  • the determining unit 1 is configured to determine a scrolling direction of the chat window. Specifically, the determining unit 1 includes a gesture detecting module 11 configured to detect a motion track of the gesture when touched by a touch layer disposed on the chat window. And determine the direction in which the message scrolls.
  • the automatic lock screen unblocking unit 2 is configured to perform a lock screen action according to the judgment result of the judgment unit; when the chat window scrolls up, the current chat interface is set to a lock screen state; the lock screen state is: when appears Chat messages do not automatically scroll to new messages when new messages are received.
  • the lock screen unblocking unit 2 includes a position detecting module 21 for detecting the location of the chat window. If the chat window is scrolled to a new message location, the current chat interface is automatically unlocked; the chat interface is unlocked as : When a new message appears, the chat window automatically scrolls to the new message location.
  • the message reminding unit 3 is configured to pop up a message box in the chat window for reminding when a new message occurs, and when the user clicks on the message box, the chat window scrolls to a new message location, and is executed by the automatic lock screen unblocking unit Unpack the action.
  • the message reminding unit 3 includes a message box pop-up module 31, configured to pop up a semi-transparent message box at the top of the chat display area when a new message appears, and display the number of new messages in the message box;
  • a message box pop-up module 31 configured to pop up a semi-transparent message box at the top of the chat display area when a new message appears, and display the number of new messages in the message box;
  • the manual lock screen unlocking unit 4 is configured to detect a state of a lock screen unlocking button set by the chat window, and implement state switching of the chat window lock screen.
  • FIG. 7 is a schematic diagram of module connection of a computer client.
  • the present invention further provides a computer client, including a chat automatic lock screen unblocking device.
  • the chat automatic lock screen unwinding device comprises a judging unit 1, an automatic lock screen dispelling unit 2, a message reminding unit 3 and a manual lock screen dispelling unit 4.
  • the determining unit 1 is configured to determine a scrolling direction of the chat window. Specifically, the scrolling direction of the chat window at this time can be determined by the scrolling direction of the mouse wheel on the computer end.
  • the automatic lock screen unblocking unit 2 is configured to perform a lock screen action according to the judgment result of the judgment unit; when the chat window scrolls up, the current chat interface is set to a lock screen state; the lock screen state is: when appears Chat messages do not automatically scroll to new messages when new messages are received.
  • the lock screen unblocking unit 2 includes a position detecting module 21 for detecting the location of the chat window. If the chat window is scrolled to a new message location, the current chat interface is automatically unlocked; the chat interface is unlocked as : When a new message appears, the chat window automatically scrolls to the new message location.
  • the message reminding unit 3 is configured to pop up a message box in the chat window for reminding when a new message occurs, and when the user clicks on the message box, the chat window scrolls to a new message location, and is executed by the automatic lock screen unblocking unit Unpack the action.
  • the message reminding unit 3 includes a message box pop-up module 31, configured to pop up a semi-transparent message box at the top of the chat display area when a new message appears, and display the number of new messages in the message box;
  • the message box automatically disappears;
  • the chat window automatically scrolls to the latest message bit. The message box disappears automatically.
  • the manual lock screen unlocking unit 4 is configured to detect a state of a lock screen unlocking button set by the chat window, and implement state switching of the chat window lock screen.
  • the present invention judges the player's lock screen and unlocking intention by judging the scrolling condition of the chat window, and helps the player to lock or unlock in advance before the player manually operates, thereby greatly improving the game.
  • the user experience of the chat Because when the chat window scrolls up, it indicates that the player wants to watch the history message at this time, the chat interface automatically locks the screen, preventing the window from automatically scrolling to the bottom when a new message appears. Moreover, it eliminates the need for the player to manually operate the steps, which is more intelligent.
  • the present invention also provides a function of a new message prompt in the state of the lock screen, which solves the problem that the player cannot know the new message in the lock screen state, and can quickly return to the latest message position to read by clicking the prompt. It can not only remind the player to have a new message in time, but also can quickly read the new message by clicking the reminder information, which is more convenient.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

本发明涉及一种聊天自动锁屏解屏的方法及装置,所述方法包括步骤:判断聊天窗口内当前聊天消息滚动的方向;若聊天窗口内当前聊天消息滚动的方向与加载新消息时聊天消息滚动的方向相反时,则将当前聊天界面设定为锁屏状态;所述锁屏状态为:当出现新消息时,聊天窗口不会自动滚动至新消息位置。另外,本发明还提供了一种用于实现上述聊天自动锁屏解屏方法的装置,以及应用该装置的移动客户端和电脑客户端。相对于现有技术,本发明通过判断聊天窗口的滚动情况,进而预判玩家的锁屏和解锁意图,在玩家手动操作之前,提前帮助玩家上锁或解锁,大幅提升了聊天的用户体验。

Description

聊天自动锁屏解屏的方法、装置、移动客户端及电脑客户端 技术领域
本发明涉及一种聊天锁屏解屏方法,特别是一种可以在聊天时自动锁屏解屏的方法;本发明还涉及一种用于实现上述方法的装置。
背景技术
网游玩家在游戏过程中,会通过聊天窗口进行交流。目前,玩家在游戏的聊天窗口中查看历史聊天内容的过程中,如果有新的消息,聊天内容会自动滚动到最新消息位置。由于网游的玩家人群数量非常巨大,尤其是在聊天窗口中的世界频道或一些帮派频道,新消息时刻被大量刷新,这往往阻碍了玩家阅读历史消息的进程。
请参阅图1,其为现有技术的聊天窗口界面示意图。因此,针对上述问题,现有技术中提供了这样一种方法,其主要为:通过额外加入了一个“锁屏/解锁”按钮1a。所述“锁屏/解屏”按钮有两种状态:锁屏状态和解锁状态。通过点击操作在两种状态间进行切换。当按钮处于锁屏状态时,玩家可以通过上下滑动自由翻看历史消息内容,显示内容不随着消息刷新而自动滚动;当按钮处于解锁状态时,新的消息内容会推动消息列表向上滚动。
然而,现有技术存在以下两个缺陷:
1、纯手动:玩家在滑动查看历史消息之前要手动进行上锁,才能保证聊天内容不发生自动滚动;上锁后,玩家还要进行手动解锁来恢复消息的自动刷新滚动。
2、锁屏后对新的消息缺少提醒:在锁屏状态下,由于没有自动刷新,除非玩家自行将聊天内容拖动到最底部,否则没有其他途径能够知晓是否有新的消息内容。
发明内容
本发明在于克服现有技术的缺点与不足,提供一种聊天自动锁屏解屏的方法及装置。
本发明是通过以下的技术方案实现的:一种聊天自动锁屏解屏的方法,包括步骤:
判断聊天窗口内当前聊天消息滚动的方向;
若聊天窗口内当前聊天消息滚动的方向与加载新消息时聊天消息滚动的方向相反时,则将当前聊天界面设定为锁屏状态;所述锁屏状态为:当出现新消息时,聊天窗口不会自动滚动至新消息位置。
相比于现有技术,本发明通过判断聊天窗口的滚动情况,进而预判玩家的锁屏和解锁意图,在玩家手动操作之前,提前帮助玩家上锁或解锁,大幅提升了聊天的用户体验。因为当聊天窗口的当前聊天消息滚动方向与加载新消息是聊天消息的滚动方向相反时,表明玩家此时想观看历史消息,聊天界面自动锁屏,防止新消息出现时窗口的聊天消息自动滚动至最下 方。而且,免去了玩家需要手动操作的步骤,显得更加智能。
作为本发明的进一步改进,当加载的新消息是位于聊天窗口中历史聊天消息的下方时,则判断当前聊天消息滚动的方向为向下滚动时,将当前聊天界面设定为锁屏状态;或,当加载的新消息是位于聊天窗口中历史聊天消息的上方时,则判断当前聊天消息滚动的方向为向上滚动时,将当前聊天界面设定为锁屏状态。
作为本发明的进一步改进,当处于锁屏状态时,若有新消息时,在聊天窗口弹出消息框进行提醒。
作为本发明的进一步改进,当用户点击消息框时,当前聊天界面解锁并滚动至新消息位置;或,当当前聊天消息滚动至新消息内容时,当前聊天界面自动解锁;所述聊天界面解锁为:当出现新消息时,聊天窗口自动滚动至新消息位置。
作为本发明的进一步改进,所述判断聊天窗口的滚动方向具体包括步骤:在聊天窗口上设置触摸层,通过触摸时手势的运动轨迹判断聊天窗口中聊天消息的滚动方向。通过设置触摸层,可以用于触屏的设备上,比如说:手机或平板电脑等移动设备。
作为本发明的进一步改进,所述新消息在聊天窗口提醒时,包括以下步骤:在聊天显示区域的顶部弹出半透明的消息框,该消息框内显示新消息的条数;当聊天窗口的当前聊天消息滚动至最新消息的位置时,消息框自动消失;当点击消息框时,聊天窗口的当前聊天消息自动滚动至最新消息的位置,消息框自动消失。
作为本发明的进一步改进,还包括步骤:设置锁屏解屏键,通过点击该锁屏解屏键,实现聊天窗口锁屏解屏的手动状态切换。
为了实现上述聊天自动锁屏解屏的方法,本发明还相应提供了一种聊天自动锁屏解屏的装置,包括
判断单元,用于判断聊天窗口内当前聊天信息滚动的方向;
自动锁屏解屏单元,用于根据判断单元的判断结果,相应执行锁屏动作;若聊天窗口内当前聊天消息滚动的方向与加载新消息时聊天消息滚动的方向相反时,则将当前聊天界面设定为锁屏状态;所述锁屏状态为:当出现新消息时,聊天消息不会自动滚动至新消息。
作为本发明的进一步改进,当加载的新消息是位于聊天窗口中历史聊天消息的下方时,则当判断单元判断当前聊天消息滚动的方向为向下滚动时,自动锁屏解屏单元执行锁屏动作;或,当加载的新消息是位于聊天窗口中历史聊天消息的上方时,则当判断单元判断当前聊天消息滚动的方向为向上滚动时,自动锁屏解屏单元执行锁屏动作。
作为本发明的进一步改进,还包括消息提醒单元,用于在锁屏状态时,出现新消息时,在聊天窗口中弹出消息框进行提醒;且当用户点击消息框时,控制当前聊天界面滚动至新消 息位置,并且由自动锁屏解屏单元执行解锁动作。
作为本发明的进一步改进,所述判断单元包括一手势检测模块,其用于通过在聊天窗口上设置的触摸层,检测触摸时手势的运动轨迹,并判断当前聊天消息的滚动方向。
作为本发明的进一步改进,所述自动锁屏解屏单元包括一位置检测模块,其用于检测聊天窗口中聊天消息的位置,若聊天窗口滚动至新消息位置时,当前聊天界面的自动解锁;所述聊天界面解锁为:当出现新消息时,聊天窗口自动滚动至新消息位置。
作为本发明的进一步改进,所述消息提醒单元包括消息框弹出模块,用于当出现新消息时,在聊天显示区域的顶部弹出半透明的消息框,并在该消息框内显示新消息的条数;当聊天窗口的当前聊天消息滚动至最新消息的位置时,消息框弹出模块控制消息框自动消失;当点击消息框时,聊天窗口的当前聊天消息自动滚动至最新消息的位置,消息框弹出模块控制消息框自动消失。
作为本发明的进一步改进,还包括一手动锁屏解屏单元,用于检测聊天窗口所设置的锁屏解屏键的状态,实现聊天窗口锁屏解屏的状态切换。
相应地,为了将上述的聊天锁屏解屏的装置用于移动客户端,比如手机或平板电脑,本发明还提供了一种移动客户端,包括上述的聊天自动锁屏解屏的装置。
相应地,为了将上述的聊天锁屏解屏的装置用于电脑客户端,本发明还提供了一种电脑客户端,包括上述聊天自动锁屏解屏装置。
为了更好地理解和实施,下面结合附图详细说明本发明。
附图说明
图1是现有技术的聊天窗口界面的示意图。
图2是实施例1的聊天锁屏解屏方法的步骤流程图。
图3是实施例2的聊天锁屏解屏方法的步骤流程图。
图4是本发明的聊天窗口的界面示意图。
图5是聊天锁屏解屏装置的模块连接示意图。
图6是移动客户端的模块连接示意图。
图7是电脑客户端的模块连接示意图。
具体实施方式
实施例1
本发明针对现有技术中只能通过手动锁屏和解屏的技术缺陷,为了减少用户手动锁屏或解屏的操作步骤,本发明提供了一种聊天自动锁屏解屏的方法。以下,针对该方法进行描述:
请参阅图2,其为实施例1的聊天自动锁屏解屏的方法步骤流程图。本发明提供了一种聊天自动锁屏解屏的方法,其主要包括步骤:
S11:判断聊天窗口内当前聊天消息滚动的方向。
S12:若聊天窗口内当前聊天消息滚动的方向与加载新消息时聊天消息滚动的方向相反时,则将当前聊天界面设定为锁屏状态;所述锁屏状态为:当出现新消息时,聊天窗口不会自动滚动至新消息位置。
由于,目前的聊天窗口界面是顺序列出聊天消息,通常新消息会位于聊天窗口的下方或者上方。当新消息位于聊天窗口的下方时,聊天窗口的聊天信息是不断向上滚动的;当新消息位于聊天窗口的上方时,聊天窗口的聊天信息是不断向下滚动的。
因此,当加载的新消息是位于聊天窗口中历史聊天消息的下方时,则判断当前聊天消息滚动的方向为向下滚动时,判断用户正在读取历史消息,将当前聊天界面设定为锁屏状态;或,当加载的新消息是位于聊天窗口中历史聊天消息的上方时,则判断当前聊天消息滚动的方向为向上滚动时,判断用户正在读取历史消息,将当前聊天界面设定为锁屏状态。
S13:若有新消息时,在聊天窗口弹出消息框进行提醒。
S14:当用户点击消息框时,聊天窗口自动解锁并滚动至新消息位置。
本发明通过判断聊天窗口的滚动情况,进而预判玩家的锁屏和解锁意图,在玩家手动操作之前,提前帮助玩家上锁或解锁,大幅提升了聊天的用户体验。因为当聊天窗口向上滚动时,表明玩家此时想观看历史消息,聊天界面自动锁屏,防止新消息出现时窗口自动滚动至最下方。而且,免去了玩家需要手动操作的步骤,显得更加智能。
另外,本发明还提供了锁屏状态下新消息提示的功能,解决了玩家在锁屏状态下无法知晓有新消息的问题,而且能够通过点击该提示,快速返回到最新消息位置进行阅读。既能够及时提醒玩家有新消息,又能够通过点击该提醒信息,快速阅读该新消息,操作更加方便。
而且,本发明聊天自动锁屏解屏的方法主要应用在游戏的聊天窗口中,主要针对游戏过程中人数众多,消息刷新得快,通过自动锁屏解屏的方法可以方便用户快速地阅读历史消息,也可以快速切换回新消息进行阅读。
实施例2
本实施例2针对实施例1做了进一步改进,对于解除锁屏状态,增加了当聊天窗口滚动至最新消息时,设定为解除锁屏状态。进一步,还增加了手动锁屏解屏键,可以通过手动锁屏或解屏实现解屏状态和锁屏状态的切换。同时,本实施例2还提供了更为完整的步骤流程,具体如下:
请参阅图3,其为实施例2的聊天锁屏解屏方法的步骤流程图。本实施例2提供了一种聊天自动锁屏解屏的方法,其主要包括步骤:
S21:判断聊天窗口内当前聊天信息滚动的方向。
具体的,所述判断聊天窗口的滚动方向包括步骤:在聊天窗口上设置触摸层,通过触摸时手势的运动轨迹判断聊天窗口的滚动方向。通过设置触摸层,可以用于触屏的设备上,比如说:手机或平板电脑等移动设备。
在具体设置触摸层的实现方法可以为:在Scrollview(滚动视图)上安放一层Swallow Touch(吞噬接触)层,并将其设置为False,在触摸时可以直接操作到消息层。在该聊天窗口上设置坐标轴,以左右方向为X轴方向,以上下方向为Y轴方向。通过触摸的运动Y轴方向上的轨迹识别其手势方向。如果手势向上,则将状态自动变更为锁屏状态;如果手势向下,且Scrollview中的项目为最后一条消息,则将状态自动变更为锁屏状态。
S22:若聊天窗口内当前聊天消息滚动的方向与加载新消息时聊天消息滚动的方向相反时,则将当前聊天界面设定为锁屏状态;所述锁屏状态为:当出现新消息时,聊天窗口不会自动滚动至新消息位置。
具体地,当加载的新消息是位于聊天窗口中历史聊天消息的下方时,则判断当前聊天消息滚动的方向为向下滚动时,判断用户正在读取历史消息,将当前聊天界面设定为锁屏状态;或,当加载的新消息是位于聊天窗口中历史聊天消息的上方时,则判断当前聊天消息滚动的方向为向上滚动时,判断用户正在读取历史消息,将当前聊天界面设定为锁屏状态。
S23:若有新消息时,在聊天窗口弹出消息框进行提醒。
具体的,在本步骤中,当所述新消息在聊天窗口提醒时,具体通过以下步骤实现:在聊天显示区域的顶部弹出半透明的消息框,该消息框内显示新消息的条数。
S24:当用户点击消息框时,聊天窗口的聊天消息自动解锁并滚动至新消息位置,消息框自动消失。
S25:若聊天窗口的聊天消息滚动至新消息位置时,当前聊天界面的自动解锁,消息框自动消失;所述聊天界面解锁为:当出现新消息时,聊天窗口自动滚动至新消息位置。
当聊天窗口滚动至新消息时,可以判断为此时用户需要阅读新消息,所以解除锁屏装置,方便新消息的及时显示。
S26:设置锁屏解屏键,通过点击该锁屏解屏键,实现聊天窗口锁屏解屏的手动状态切换。
请参阅图4,其为实施例2的聊天窗口界面示意图。下面通过具体介绍本发明的聊天自动锁屏解屏的方法的操作过程:
首先,当玩家需要浏览历史信息时,此时可以用手指触摸聊天窗口,将聊天窗口向上滚 动,此时聊天界面自动锁屏,当有新消息出现时,聊天窗口不会自动滚动至新消息位置。另外,在本实施例2中,还可以通过点击锁屏解屏键,实现聊天窗口的锁屏。
然后,当有新消息出现时,此时新消息通过弹窗显示新消息的条数,比如:显示为:“有2条新消息”;当用户点击该新消息的提醒框时,聊天窗口自动滚动至新消息位置。而此时,聊天界面解锁。或者,通过将当前聊天窗口向下滚动,当滚动至新消息时,此时消息提醒框消失,聊天界面解锁。另外,也可以通过点击锁屏解屏键,将当前聊天界面切换为解屏状态。
相比于现有技术,本发明通过判断聊天窗口的滚动情况,进而预判玩家的锁屏和解锁意图,在玩家手动操作之前,提前帮助玩家上锁或解锁,大幅提升了聊天的用户体验。因为当聊天窗口向上滚动时,表明玩家此时想观看历史消息,聊天界面自动锁屏,防止新消息出现时窗口自动滚动至最下方。而且,免去了玩家需要手动操作的步骤,显得更加智能。
另外,本发明还提供了锁屏状态下新消息提示的功能,解决了玩家在锁屏状态下无法知晓有新消息的问题,而且能够通过点击该提示,快速返回到最新消息位置进行阅读。既能够及时提醒玩家有新消息,又能够通过点击该提醒信息,快速阅读该新消息,操作更加方便。
而且,本发明聊天自动锁屏解屏的方法主要应用在游戏的聊天窗口中,主要针对游戏过程中人数众多,消息刷新得快,通过自动锁屏解屏的方法可以方便用户快速地阅读历史消息,也可以快速切换回新消息进行阅读。
同时,本发明还保留了锁屏解屏按键,用户也可以通过手动进行聊天窗口锁屏解屏状态的切换。
请参阅图5,其为聊天锁屏解屏装置的模块连接示意图。为了实现上述聊天自动锁屏解屏的方法,本发明还相应提供了一种聊天自动锁屏解屏的装置,包括判断单元1、自动锁屏解屏单元2、消息提醒单元3和手动锁屏解屏单元4。
所述判断单元1,用于判断聊天窗口内当前聊天信息的滚动方向;具体的,所述判断单元1包括一手势检测模块11,其用于通过在聊天窗口上设置的触摸层,检测触摸时手势的运动轨迹,并判断消息的滚动方向。
自动锁屏解屏单元2,用于根据判断单元的判断结果,相应执行锁屏动作;当聊天窗口向上滚动,则将当前聊天界面设定为锁屏状态;所述锁屏状态为:当出现新消息时,聊天消息不会自动滚动至新消息。
当加载的新消息是位于聊天窗口中历史聊天消息的下方时,则当判断单元判断当前聊天消息滚动的方向为向下滚动时,自动锁屏解屏单元执行锁屏动作;或,当加载的新消息是位于聊天窗口中历史聊天消息的上方时,则当判断单元判断当前聊天消息滚动的方向为向上滚动时,自动锁屏解屏单元执行锁屏动作。
进一步,所述锁屏解屏单元2还包括一位置检测模块21,其用于检测聊天窗口中聊天消息的位置,若聊天窗口滚动至新消息位置时,当前聊天界面的自动解锁;所述聊天界面解锁为:当出现新消息时,聊天窗口自动滚动至新消息位置。
所述消息提醒单元3,用于在出现新消息时,在聊天窗口中弹出消息框进行提醒,且当用户点击消息框时,聊天窗口滚动至新消息位置,并且由自动锁屏解屏单元执行解锁动作。
具体的,所述消息提醒单元3包括消息框弹出模块31,用于当出现新消息时,在聊天显示区域的顶部弹出半透明的消息框,并在该消息框内显示新消息的条数;当聊天窗口滚动至最新消息的位置时,消息框自动消失;当点击消息框时,聊天窗口自动滚动至最新消息的位置,消息框自动消失。
所述手动锁屏解屏单元4,用于检测聊天窗口所设置的锁屏解屏键的状态,实现聊天窗口锁屏解屏的状态切换。
本发明的聊天自动锁屏解屏装置,在具体的操作过程如下:
首先,当玩家需要浏览历史信息时,此时可以用手指触摸聊天窗口,当加载的新消息是位于聊天窗口中历史聊天消息的下方时,将聊天窗口的聊天消息向下滚动表示其正在浏览历史消息。此时通过判断单元1判断此时聊天窗口是否在向下滚动。
若是,则通过自动锁屏解屏单元2将此时聊天界面自动锁屏,此时当有新消息出现时,聊天窗口不会自动滚动至新消息位置。另外,在本实施例2中,还可以通过点击锁屏解屏键,通过手动锁屏解屏单元4实现聊天窗口的锁屏。
然后,当有新消息出现时,此时通过消息提醒单元3将新消息通过弹窗的方式显示,并显示新消息的条数,比如:显示为:“有2条新消息”;当用户点击该新消息的提醒框时,聊天窗口自动滚动至新消息位置。而此时,通过自动锁屏解屏单元2将聊天界面解锁。或者,通过将当前聊天窗口向下滚动,当滚动至新消息时,此时消息提醒框消失,通过自动锁屏解屏单元2聊天界面解锁。另外,也可以通过点击锁屏解屏键,通过手动锁屏解屏单元4将当前聊天界面切换为解屏状态。
请参阅图6,其为移动客户端的模块连接示意图。相应地,为了将上述的聊天锁屏解屏的装置用于移动客户端,比如手机或平板电脑,本发明还提供了一种移动客户端,包括聊天自动锁屏解屏的装置,所述聊天自动锁屏解屏装置包括判断单元1、自动锁屏解屏单元2、消息提醒单元3和手动锁屏解屏单元4。
所述判断单元1,用于判断聊天窗口的滚动方向;具体的,所述判断单元1包括一手势检测模块11,其用于通过在聊天窗口上设置的触摸层,检测触摸时手势的运动轨迹,并判断消息的滚动方向。
自动锁屏解屏单元2,用于根据判断单元的判断结果,相应执行锁屏动作;当聊天窗口向上滚动,则将当前聊天界面设定为锁屏状态;所述锁屏状态为:当出现新消息时,聊天消息不会自动滚动至新消息。
具体的,所述锁屏解屏单元2包括一位置检测模块21,其用于检测聊天窗口的位置,若聊天窗口滚动至新消息位置时,当前聊天界面的自动解锁;所述聊天界面解锁为:当出现新消息时,聊天窗口自动滚动至新消息位置。
所述消息提醒单元3,用于在出现新消息时,在聊天窗口中弹出消息框进行提醒,且当用户点击消息框时,聊天窗口滚动至新消息位置,并且由自动锁屏解屏单元执行解屏动作。
具体的,所述消息提醒单元3包括消息框弹出模块31,用于当出现新消息时,在聊天显示区域的顶部弹出半透明的消息框,并在该消息框内显示新消息的条数;当聊天窗口滚动至最新消息的位置时,消息框自动消失;当点击消息框时,聊天窗口自动滚动至最新消息的位置,消息框自动消失。
所述手动锁屏解屏单元4,用于检测聊天窗口所设置的锁屏解屏键的状态,实现聊天窗口锁屏解屏的状态切换。
请参阅图7,其为电脑客户端的模块连接示意图。相应地,为了将上述的聊天锁屏解屏的装置用于电脑客户端,本发明还提供了一种电脑客户端,包括聊天自动锁屏解屏装置。
所述聊天自动锁屏解屏装置包括判断单元1、自动锁屏解屏单元2、消息提醒单元3和手动锁屏解屏单元4。
所述判断单元1,用于判断聊天窗口的滚动方向;具体的,在电脑端可通过鼠标的滚轮的滚动的方向判断此时聊天窗口的滚动方向。
自动锁屏解屏单元2,用于根据判断单元的判断结果,相应执行锁屏动作;当聊天窗口向上滚动,则将当前聊天界面设定为锁屏状态;所述锁屏状态为:当出现新消息时,聊天消息不会自动滚动至新消息。
具体的,所述锁屏解屏单元2包括一位置检测模块21,其用于检测聊天窗口的位置,若聊天窗口滚动至新消息位置时,当前聊天界面的自动解锁;所述聊天界面解锁为:当出现新消息时,聊天窗口自动滚动至新消息位置。
所述消息提醒单元3,用于在出现新消息时,在聊天窗口中弹出消息框进行提醒,且当用户点击消息框时,聊天窗口滚动至新消息位置,并且由自动锁屏解屏单元执行解屏动作。
具体的,所述消息提醒单元3包括消息框弹出模块31,用于当出现新消息时,在聊天显示区域的顶部弹出半透明的消息框,并在该消息框内显示新消息的条数;当聊天窗口滚动至最新消息的位置时,消息框自动消失;当点击消息框时,聊天窗口自动滚动至最新消息的位 置,消息框自动消失。
所述手动锁屏解屏单元4,用于检测聊天窗口所设置的锁屏解屏键的状态,实现聊天窗口锁屏解屏的状态切换。
综上所述,相比于现有技术,本发明通过判断聊天窗口的滚动情况,进而预判玩家的锁屏和解锁意图,在玩家手动操作之前,提前帮助玩家上锁或解锁,大幅提升了聊天的用户体验。因为当聊天窗口向上滚动时,表明玩家此时想观看历史消息,聊天界面自动锁屏,防止新消息出现时窗口自动滚动至最下方。而且,免去了玩家需要手动操作的步骤,显得更加智能。
另外,本发明还提供了锁屏状态下新消息提示的功能,解决了玩家在锁屏状态下无法知晓有新消息的问题,而且能够通过点击该提示,快速返回到最新消息位置进行阅读。既能够及时提醒玩家有新消息,又能够通过点击该提醒信息,快速阅读该新消息,操作更加方便。
本发明并不局限于上述实施方式,如果对本发明的各种改动或变形不脱离本发明的精神和范围,倘若这些改动和变形属于本发明的权利要求和等同技术范围之内,则本发明也意图包含这些改动和变形。

Claims (16)

  1. 一种聊天自动锁屏解屏的方法,其特征在于,包括步骤:
    判断聊天窗口内当前聊天消息滚动的方向;
    若聊天窗口内当前聊天消息滚动的方向与加载新消息时聊天消息滚动的方向相反时,则将当前聊天界面设定为锁屏状态;所述锁屏状态为:当出现新消息时,聊天窗口不会自动滚动至新消息位置。
  2. 根据权利要求1所述聊天自动锁屏的方法,其特征在于:当加载的新消息是位于聊天窗口中历史聊天消息的下方时,则判断当前聊天消息滚动的方向为向下滚动时,将当前聊天界面设定为锁屏状态;或,当加载的新消息是位于聊天窗口中历史聊天消息的上方时,则判断当前聊天消息滚动的方向为向上滚动时,将当前聊天界面设定为锁屏状态。
  3. 根据权利要求2所述聊天自动锁屏的方法,其特征在于:当处于锁屏状态时,若有新消息时,在聊天窗口弹出消息框进行提醒。
  4. 根据权利要求3所述聊天自动锁屏的方法,其特征在于:当用户点击消息框时,当前聊天界面解锁并滚动至新消息位置;或,当当前聊天消息滚动至新消息内容时,当前聊天界面自动解锁;所述聊天界面解锁为:当出现新消息时,聊天窗口自动滚动至新消息位置。
  5. 根据权利要求1—4中任意一权利要求所述聊天自动锁屏解屏的方法,其特征在于:所述判断聊天窗口的滚动方向具体包括步骤:在聊天窗口上设置触摸层,通过触摸时手势的运动轨迹判断聊天窗口中聊天消息的滚动方向。
  6. 根据权利要求1—4中任意一权利要求所述聊天自动锁屏解屏的方法,其特征在于:所述新消息在聊天窗口提醒时,包括以下步骤:在聊天显示区域的顶部弹出半透明的消息框,该消息框内显示新消息的条数;当聊天窗口的当前聊天消息滚动至最新消息的位置时,消息框自动消失;当点击消息框时,聊天窗口的当前聊天消息自动滚动至最新消息的位置,消息框自动消失。
  7. 根据权利要求1—4中任意一权利要求所述聊天自动锁屏解屏的方法,其特征在于:还包括步骤:设置锁屏解屏键,通过点击该锁屏解屏键,实现聊天窗口锁屏解屏的手动状态切换。
  8. 一种聊天自动锁屏解屏的装置,其特征在于,包括:
    判断单元,用于判断聊天窗口内当前聊天信息滚动的方向;
    自动锁屏解屏单元,用于根据判断单元的判断结果,相应执行锁屏动作;若聊天窗口内当前聊天消息滚动的方向与加载新消息时聊天消息滚动的方向相反时,则将当前聊天界面设 定为锁屏状态;所述锁屏状态为:当出现新消息时,聊天消息不会自动滚动至新消息。
  9. 根据权利要求8所述聊天自动锁屏解屏的装置,其特征在于:当加载的新消息是位于聊天窗口中历史聊天消息的下方时,则当判断单元判断当前聊天消息滚动的方向为向下滚动时,自动锁屏解屏单元执行锁屏动作;或,当加载的新消息是位于聊天窗口中历史聊天消息的上方时,则当判断单元判断当前聊天消息滚动的方向为向上滚动时,自动锁屏解屏单元执行锁屏动作。
  10. 根据权利要求9所述聊天自动锁屏解屏的装置,其特征在于:还包括消息提醒单元,用于在锁屏状态时,出现新消息时,在聊天窗口中弹出消息框进行提醒;且当用户点击消息框时,控制当前聊天界面滚动至新消息位置,并且由自动锁屏解屏单元执行解锁动作。
  11. 根据权利要求8—10中任意一权利要求所述聊天自动锁屏解屏的装置,其特征在于:所述判断单元包括一手势检测模块,其用于通过在聊天窗口上设置的触摸层,检测触摸时手势的运动轨迹,并判断当前聊天消息的滚动方向。
  12. 根据权利要求9所述聊天自动锁屏解屏的装置,其特征在于:所述自动锁屏解屏单元包括一位置检测模块,其用于检测聊天窗口中聊天消息的位置,若聊天窗口滚动至新消息位置时,当前聊天界面的自动解锁;所述聊天界面解锁为:当出现新消息时,聊天窗口自动滚动至新消息位置。
  13. 根据权利要求10所述聊天自动锁屏解屏的装置,其特征在于:所述消息提醒单元包括消息框弹出模块,用于当出现新消息时,在聊天显示区域的顶部弹出半透明的消息框,并在该消息框内显示新消息的条数;当聊天窗口的当前聊天消息滚动至最新消息的位置时,消息框弹出模块控制消息框自动消失;当点击消息框时,聊天窗口的当前聊天消息自动滚动至最新消息的位置,消息框弹出模块控制消息框自动消失。
  14. 根据权利要求11所述聊天自动锁屏解屏的装置,其特征在于:还包括一手动锁屏解屏单元,用于检测聊天窗口所设置的锁屏解屏键的状态,实现聊天窗口锁屏解屏的状态切换。
  15. 一种移动客户端,其特征在于:包括如权利要求8-14任意一项所述的聊天自动锁屏解屏的装置。
  16. 一种电脑客户端,其特征在于:包括如权利要求8-14任意一项所述的聊天自动锁屏解屏的装置。
PCT/CN2016/096437 2015-09-16 2016-08-23 聊天自动锁屏解屏的方法、装置、移动客户端及电脑客户端 WO2017045515A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/760,634 US10824321B2 (en) 2015-09-16 2016-08-23 Method and apparatus for automatically locking and unlocking screen during chat, mobile client, and computer client

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510590241.0 2015-09-16
CN201510590241.0A CN105260094B (zh) 2015-09-16 2015-09-16 聊天自动锁屏解屏的方法、装置、移动客户端及电脑客户端

Publications (1)

Publication Number Publication Date
WO2017045515A1 true WO2017045515A1 (zh) 2017-03-23

Family

ID=55099804

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096437 WO2017045515A1 (zh) 2015-09-16 2016-08-23 聊天自动锁屏解屏的方法、装置、移动客户端及电脑客户端

Country Status (3)

Country Link
US (1) US10824321B2 (zh)
CN (1) CN105260094B (zh)
WO (1) WO2017045515A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105260094B (zh) 2015-09-16 2017-07-11 网易(杭州)网络有限公司 聊天自动锁屏解屏的方法、装置、移动客户端及电脑客户端
US10389765B2 (en) * 2015-12-29 2019-08-20 Facebook, Inc. Multi-user content presentation system
CN105718780B (zh) * 2016-02-23 2019-05-14 深圳市金立通信设备有限公司 一种锁屏模式的切换方法及终端
US10832002B2 (en) * 2018-05-08 2020-11-10 International Business Machines Corporation System and method for scoring performance of chatbots
CN113398602B (zh) * 2021-07-15 2024-04-30 网易(杭州)网络有限公司 信息处理方法、装置、存储介质及计算机设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1908877A (zh) * 2005-08-05 2007-02-07 腾讯科技(深圳)有限公司 一种自动锁定聊天记录可见页面的方法
CN101060502A (zh) * 2007-05-25 2007-10-24 北京金山软件有限公司 一种同时浏览聊天记录和最新消息的方法及装置
CN105260094A (zh) * 2015-09-16 2016-01-20 网易(杭州)网络有限公司 聊天自动锁屏解屏的方法、装置、移动客户端及电脑客户端

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6907447B1 (en) * 2001-04-30 2005-06-14 Microsoft Corporation Method and apparatus for providing an instant message notification
JP3574106B2 (ja) * 2001-12-14 2004-10-06 株式会社スクウェア・エニックス ネットワークゲームシステム、ゲームサーバ装置、ビデオゲーム装置、ネットワークゲームにおけるメッセージの送信方法及び表示制御方法、プログラム、並びに記録媒体
US7281215B1 (en) * 2002-04-30 2007-10-09 Aol Llc IM conversation counter and indicator
US7343566B1 (en) * 2002-07-10 2008-03-11 Apple Inc. Method and apparatus for displaying a window for a user interface
US8683351B2 (en) * 2004-10-26 2014-03-25 International Business Machines Corporation Chat user interface for threaded text chat systems
US7661067B2 (en) * 2006-02-21 2010-02-09 International Business Machines Corporation Method for providing quick responses in instant messaging conversations
US8185593B2 (en) * 2007-10-08 2012-05-22 International Business Machines Corporation System and method for freezing portions of a chat conversation in an instant messaging system
KR101476176B1 (ko) * 2007-10-19 2014-12-24 엘지전자 주식회사 단말기, 그 제어 방법 및 이를 위한 기록 매체
WO2009097555A2 (en) * 2008-01-30 2009-08-06 Google Inc. Notification of mobile device events
US20090260062A1 (en) * 2008-04-15 2009-10-15 International Business Machines Corporation Real-time online communications management
US10375223B2 (en) * 2008-08-28 2019-08-06 Qualcomm Incorporated Notifying a user of events in a computing device
US9177298B2 (en) * 2009-12-15 2015-11-03 International Business Machines Corporation Abbreviated user interface for instant messaging to minimize active window focus changes
US8312096B2 (en) * 2010-12-08 2012-11-13 Google Inc. Priority inbox notifications and synchronization for mobile messaging application
US20130036357A1 (en) * 2011-08-03 2013-02-07 Harris Corporation Systems and methods for automatically switching on and off a "scroll-on output" mode
KR101408532B1 (ko) * 2011-09-19 2014-06-27 (주)카카오 사용자 단말의 화면에서 스크롤 바를 업데이트하는 방법 및 화면에서 스크롤 바를 업데이트하는 사용자 단말
CN103135967B (zh) * 2011-11-25 2017-07-21 腾讯科技(深圳)有限公司 显示未读消息的方法和系统
US8738715B2 (en) * 2012-01-31 2014-05-27 Global Relay Communications Inc. System and method for processing messages in a messaging service
US20130219299A1 (en) * 2012-02-16 2013-08-22 Gface Gmbh Live bar
CN105022552B (zh) * 2014-04-30 2018-04-24 腾讯科技(深圳)有限公司 一种显示消息列表的方法和装置
US9432314B2 (en) * 2014-08-15 2016-08-30 Microsoft Technology Licensing, Llc Quick navigation of message conversation history

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1908877A (zh) * 2005-08-05 2007-02-07 腾讯科技(深圳)有限公司 一种自动锁定聊天记录可见页面的方法
CN101060502A (zh) * 2007-05-25 2007-10-24 北京金山软件有限公司 一种同时浏览聊天记录和最新消息的方法及装置
CN105260094A (zh) * 2015-09-16 2016-01-20 网易(杭州)网络有限公司 聊天自动锁屏解屏的方法、装置、移动客户端及电脑客户端

Also Published As

Publication number Publication date
CN105260094B (zh) 2017-07-11
CN105260094A (zh) 2016-01-20
US10824321B2 (en) 2020-11-03
US20180341382A1 (en) 2018-11-29

Similar Documents

Publication Publication Date Title
WO2017045515A1 (zh) 聊天自动锁屏解屏的方法、装置、移动客户端及电脑客户端
US11749102B2 (en) Methods, systems, and media for controlling a remote device using a touch screen of a mobile device in a display inhibited state
US20220035522A1 (en) Device, Method, and Graphical User Interface for Displaying a Plurality of Settings Controls
US9851896B2 (en) Edge swiping gesture for home navigation
JP6934892B2 (ja) 制御可能な外部デバイスを管理するためのユーザインタフェース
TWI647608B (zh) 遠端使用者介面
JP5510185B2 (ja) 情報処理装置、プログラム及び表示制御方法
US20140235222A1 (en) Systems and method for implementing multiple personas on mobile technology platforms
WO2015074604A1 (zh) 消息的处理方法及装置
TW201324310A (zh) 螢幕解鎖方法
WO2013182090A1 (zh) 一种桌面图标显示位置的控制方法及系统
US10289271B2 (en) Information processing device and information processing method for displaying menu with orthogonal sub-menus
TW201337721A (zh) 手持式裝置及其相關控制方法
KR20150007910A (ko) 사용자 인터렉션을 제공하는 사용자 단말 장치 및 그 방법
TW201042530A (en) Method for unlocking screen, and mobile electronic device and computer program product using the same
KR20130024989A (ko) 터치 입력의 움직임 계속
TW201435724A (zh) 解鎖方法及其行動裝置
CN102693083A (zh) 具有触摸屏的电子设备的解锁方法及电子设备
US9563345B2 (en) Electronic device and method for controlling the same
CN103309603A (zh) 手持式装置及其相关控制方法
TWI608405B (zh) 觸摸屏解鎖方法及系統
WO2018076384A1 (zh) 一种锁屏方法、终端及锁屏装置
TW201504847A (zh) 螢幕解鎖方法及應用該方法之電子裝置
TW201729065A (zh) 以單點操作顯示螢幕介面方法
TW201520880A (zh) 調整使用者介面的方法及其電子裝置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16845629

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 15760634

Country of ref document: US

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 200818)

122 Ep: pct application non-entry in european phase

Ref document number: 16845629

Country of ref document: EP

Kind code of ref document: A1