CN111240569B - Message top setting method and device - Google Patents

Message top setting method and device Download PDF

Info

Publication number
CN111240569B
CN111240569B CN202010048751.6A CN202010048751A CN111240569B CN 111240569 B CN111240569 B CN 111240569B CN 202010048751 A CN202010048751 A CN 202010048751A CN 111240569 B CN111240569 B CN 111240569B
Authority
CN
China
Prior art keywords
chat
page
preset
item
items
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
Application number
CN202010048751.6A
Other languages
Chinese (zh)
Other versions
CN111240569A (en
Inventor
陈杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202010048751.6A priority Critical patent/CN111240569B/en
Publication of CN111240569A publication Critical patent/CN111240569A/en
Application granted granted Critical
Publication of CN111240569B publication Critical patent/CN111240569B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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

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)

Abstract

The embodiment of the invention provides a method and a device for message top setting, wherein the method comprises the following steps: responding to a top setting operation acting on a target chat item in a chat item page, and adding the target chat item in a preset page; and responding to the specified trigger operation, and displaying the preset page. Therefore, the preset page is set to contain the target contact to be set and/or the target chat items of the target group, so that the set target chat items are displayed on the independent page, a user can conveniently and quickly find the target chat items through the independent page, the target chat items are prevented from being displayed on the top of the chat page, the display of messages of other chat items is prevented from being influenced, and the user experience is improved.

Description

Message top setting method and device
Technical Field
The present invention relates to the field of instant messaging technologies, and in particular, to a message top-loading method and a message top-loading device.
Background
Nowadays, in work and life, a large amount of communication is completed on line, a large amount of conversations are generated every day, some important contacts or groups are submerged in a large number of conversation records and cannot be quickly found when needing to be used, and therefore the existing instant messaging tools have the function of adding corresponding top chat. The operation of the top-end chat needs to be completed through the interaction between the front end and the server end, and the front end tells the server end which contacts or groups to chat with and the time for the top-end chatting. When the client displays the session, only corresponding records or data need to be synchronized from the server side and displayed at the client.
In the prior art, the way to set up a contact or group chat (conversation) is as follows:
1. in the conversation list, long press the contact or group conversation, select the set-top in the pop-up selection box, at this time, the contact or group conversation will be displayed on the top of the conversation list permanently until the user presses the selection to cancel the set-top.
2. When a user needs to interact with a set-top contact or group, the user only needs to enter a session list, find the session of an important contact or group at the top of the session list, and click to enter the session.
However, the prior art method of top contact or group chat has the following disadvantages:
because the contact person or the group to be set is set for a long time, the contact person or the group is located at the top of the session list no matter whether the contact person or the group has a new message or not, if the number of the contact person or the group to be set is large, the first page of the session list cannot display some latest messages, or a user needs to drag the session list upwards to see the latest messages, the operation cost is high, and the utilization rate of the first page is low.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a method for message top-loading and a corresponding device for message top-loading, which overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a method for message top setting, which provides a graphical user interface on a display screen of a mobile terminal, where the graphical user interface includes a chat entry page, and the chat entry page includes a plurality of chat entries corresponding to different contacts and/or groups, and the method includes:
responding to a top setting operation acting on a target chat item in the chat item page, and adding the target chat item in a preset page;
and responding to a specified trigger operation, and displaying the preset page.
Optionally, before the step of adding the target chat entry in the preset page, the method further includes:
determining that the total number of the top-positioned chat items in the chat item page reaches a preset number, or determining that the total height of the top-positioned chat items in the chat item page reaches a preset height, or determining that the total height of the top-positioned chat items in the chat item page reaches a preset proportion of the height of the display screen.
Optionally, the method further comprises:
and in response to a triggering event of the adjustment of the top-positioned chat entries, moving a preset number of target chat entries from the preset page to the chat entry page.
Optionally, the triggering event includes: the total number of the top-positioned chat items in the chat item page is lower than a preset number, or the height sum of the top-positioned chat items in the chat item page is lower than a preset height, or the height sum of the top-positioned chat items in the chat item page is lower than a preset proportion of the height of the display screen.
Optionally, the specifying a trigger operation includes: a specified operation aiming at a preset control;
the preset control is a suspension control in the graphical user interface or a label control for opening the chat entry page.
Optionally, the method further comprises:
displaying the target chat item on top of the preset page when a new message for the target chat item is received.
Optionally, the specified operation is a double-click operation or a long-press operation.
The embodiment of the invention also discloses a device for message top setting, which provides a graphical user interface on a display screen of a mobile terminal, wherein the graphical user interface comprises a chat entry page, and the chat entry page comprises a plurality of chat entries corresponding to different contacts and/or groups, and the device comprises:
the top setting module is used for responding to the top setting operation acting on the target chat item in the chat item page and adding the target chat item in a preset page;
and the display module is used for responding to the specified trigger operation and displaying the preset page.
Optionally, the apparatus further comprises:
and the determining module is used for determining that the total number of the top-positioned chat items in the chat item page reaches a preset number, or determining that the total height of the top-positioned chat items in the chat item page reaches a preset height, or determining that the total height of the top-positioned chat items in the chat item page reaches a preset proportion of the height of the display screen.
Optionally, the apparatus further comprises:
and the moving module is used for responding to a trigger event for adjusting the top-positioned chat entries, and moving the preset number of target chat entries from the preset page to the chat entry page.
Optionally, the triggering event includes: the total number of the top-positioned chat items in the chat item page is lower than the preset number, or the height sum of the top-positioned chat items in the chat item page is lower than the preset height, or the height sum of the top-positioned chat items in the chat item page is lower than the preset proportion of the height of the display screen.
Optionally, the specifying a trigger operation includes: a specified operation aiming at a preset control;
the preset control is a suspension control in the graphical user interface or a label control for opening the chat entry page.
Optionally, the apparatus further comprises:
displaying the target chat item on top of the preset page when a new message for the target chat item is received.
Optionally, the specified operation is a double-click operation or a long-press operation.
The embodiment of the invention also discloses an electronic device, which comprises:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the electronic device to perform one or more of the method steps as described in embodiments of the invention.
Embodiments of the invention also disclose a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform one or more of the method steps as described in embodiments of the invention.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the target chat item is added in the preset page by responding to the top setting operation of the target chat item in the chat item page; and responding to the appointed trigger operation, displaying the preset page, and accordingly, accommodating the target contact person needing to be set and/or the target chat item of the target group by setting the preset page, displaying the set target chat item on an independent page, facilitating a user to quickly find the target chat item through the independent page, avoiding the influence on the display of messages of other chat items caused by the display of the target chat item on the top of the chat page, and improving the user experience.
Drawings
FIG. 1 is a flow chart of the steps of one embodiment of a method of message top-pointing of the present invention;
fig. 2 is a block diagram of an embodiment of a message top-loading apparatus according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a message top-loading method according to the present invention is shown, in which a graphical user interface is provided on a display screen of a mobile terminal, the graphical user interface includes a chat entry page, and the chat entry page includes a plurality of chat entries corresponding to different contacts and/or groups, and specifically, the method may include the following steps:
step 101, responding to a set-top operation acting on a target chat item in the chat item page, and adding the target chat item in a preset page;
the embodiment of the invention is applied to the mobile terminal, and the mobile terminal can comprise various mobile devices, such as a mobile phone, a tablet computer, a PDA and the like. The operating system of the mobile terminal may include Android (Android), IOS, Windows Phone, Windows, and the like, and may generally support the running of various instant messaging applications.
An instant messaging application program is run on the mobile terminal, and a graphical User Interface (UI) is rendered on a touch display screen of the mobile terminal, wherein content displayed by the graphical User Interface at least partially includes a chat item page (also referred to as a session list) including a plurality of chat items (also referred to as sessions) corresponding to different contacts and/or groups. The graphical user interface can also comprise an address book page, a setting page, a dynamic page, an information page and the like, wherein the chat item page, the address book page, the setting page, the dynamic page and the information page are independent pages respectively, and the content of only one page is usually displayed on the graphical user interface at the same time.
The chat entry page is a page for the user to communicate with other users online in the instant messaging application program, and a window of the chat entry can be opened by clicking the chat entry of the contact and/or the group, so that the contact and/or the group can communicate online in the window of the chat entry.
The chat entries of the contacts and/or the groups in the chat entry page can be sorted according to the time sequence of the conversation, and the chat entries of the contacts and/or the groups with the latest conversation time are arranged at the top of the chat entry page. After the user sets the top of the chat entries of the contacts and/or the groups, the chat entries of the top contacts and/or the groups are placed at the top of the chat entry page, and then the chat entries of the contacts and/or the groups which are not placed at the top are sorted according to the time sequence of the conversation. When the number of the chat entries of the contacts and/or the groups in the chat entry page is too large, due to the limitation of the size of the display screen of the mobile terminal, all the chat entries of the contacts and/or the groups cannot be completely displayed, only a preset number (e.g., 8) of the chat entries of the contacts and/or the groups can be displayed, and the chat entries of other contacts and/or groups can be displayed only by dragging the chat entry page upwards or downwards.
In the embodiment of the invention, in order to avoid that the first page of the chat entry page cannot show some latest conversation messages due to too many chat entries of the top contact and/or the group in the chat entry page, the chat entries of the top contact and/or the group can be accommodated through the preset page.
The preset page may be a pre-created independent page.
In specific implementation, when a user needs to set a top for a target contact and/or a target group, a top-setting operation may be performed on a target chat entry corresponding to the target contact and/or the target group in a chat entry page, where the top-setting operation may include a long-press operation and a click operation, the target chat entry is selected through the long-press operation or the click operation, a setting list for the target chat entry is popped up, and a "top-setting chat" is selected through the click operation in the popped-up setting list. After detecting a set-top operation acting on a target chat item in the chat item page, the mobile terminal may add the target chat item in a preset page in response to the set-top operation.
And 102, responding to a specified trigger operation, and displaying the preset page.
The specified trigger operation may be a preset operation for opening a preset page, for example, the specified trigger operation may be a double-click operation or a long-press operation, and may also be a single-click operation or a triple-click operation.
In the embodiment of the invention, when the user needs to communicate with the contact person and/or the group on the top, the appointed triggering operation can be carried out on the graphical user interface. After detecting a specified trigger operation acting on the graphical user interface, the mobile terminal may display a preset page in response to the specified trigger operation, where the displayed preset page includes the added target chat entry.
In a specific implementation, a chat item list can be maintained at a background server, and when a preset page needs to be displayed, a target chat item is determined from the maintained chat item list and sent to a front end (client) for displaying.
In a preferred embodiment of the present invention, the specifying a trigger operation may include: and aiming at the specified operation of the preset control.
The preset control can be a preset control used for interacting with a user, and when the user performs specified operation on the preset control, the preset page can be triggered to be opened. The designated operation may be a pre-designated operation, for example, the designated operation is a double-click operation or a long-press operation, and the user may perform the double-click operation on the preset control to trigger opening of the preset page, or perform the long-press operation on the preset control to trigger opening of the preset page.
The preset control may be a floating control in the graphical user interface, or a tab control for opening the chat entry page.
Specifically, the hover control may hover over a page of the graphical user interface, rather than being rendered in a certain page of the graphical user interface, and may not be opened with opening of a certain page of the graphical user interface, nor hidden with closing of a certain page. The label control can be a control for a chat entry page for opening the chat entry page. When the label control is clicked, a chat entry page can be opened, all conversation/chat entries are displayed, and when the label control is double-clicked, a preset page can be opened, and the top conversation/chat entries are displayed.
In the embodiment of the invention, the preset control is consistent with the suspension control or the label control, so that a new control does not need to be created in the graphical user interface, and the specified operation of opening the preset page is directly bound with the original suspension control or label control in the graphical user interface, so that the preset page can be opened directly by performing the specified operation on the suspension control or label control, and the utilization rate of the suspension control or label control is improved.
It should be noted that, in order to avoid that the application cannot respond due to an operation conflict, the designated operation that can be set is different from the operation that the floating control or the tag control is already bound, for example, the floating control or the tag control is usually bound to the single-click operation, a certain page in the graphical user interface is opened by the single-click operation that acts on the floating control, or a chat entry page is opened by the single-click operation that acts on the tag control, and the designated operation may be other operations besides the single-click operation, such as a double-click operation, a long-press operation, and the like.
In a preferred embodiment of the present invention, before the step of adding the target chat entry in the preset page, the method further includes the following steps:
determining that the total number of the top-positioned chat items in the chat item page reaches a preset number, or determining that the total height of the top-positioned chat items in the chat item page reaches a preset height, or determining that the total height of the top-positioned chat items in the chat item page reaches a preset proportion of the height of the display screen.
In the embodiment of the invention, when the number of the top-placed chat items is less, for example, 1 or 2 top-placed chat items are placed, at this time, the height of the top-placed chat item is lower, and the top-placed chat item is placed at the top end of the chat item page without influencing other chat items, so that if the top-placed operation acting on the target chat item in the chat item page is received, the target chat item can be directly placed in the chat item page. When the number of the top chat entries is large, the top chat entries need to be added to the preset page.
Specifically, when a top-placing operation acting on a target chat item in a chat item page is received, the total number of the top-placed chat items in the chat item page can be calculated, and whether the total number of the top-placed chat items in the chat item page reaches a preset number is judged; or calculating the height sum of the top chat items in the chat item page, and judging whether the height sum of the top chat items in the chat item page reaches a preset height or not, or judging whether the height sum of the top chat items in the chat item page reaches a preset proportion of the height of the display screen or not. The preset number may be a preset number threshold, such as a preset number of 2. The preset height may be a preset height threshold. The preset proportion may be a preset proportion value, for example, the preset proportion is 30%, in a specific implementation, the height of the display screen may be obtained, the height value of the preset proportion of the height of the display screen is calculated, and whether the target chat item needs to be added to the preset page is determined by using the calculated height value.
In the embodiment of the present invention, when it is determined that the total number of the top-positioned chat items in the chat item page reaches the preset number, or it is determined that the total height of the top-positioned chat items in the chat item page reaches the preset height, or it is determined that the total height of the top-positioned chat items in the chat item page reaches the preset proportion of the height of the display screen, the step of adding the target chat item in the preset page may be performed.
In a preferred embodiment of the present invention, the method may further comprise the steps of:
and in response to a triggering event of the adjustment of the top-positioned chat entries, moving a preset number of target chat entries from the preset page to the chat entry page.
The preset number may be a preset numerical value, and is used to specify the number of target chat entries that need to be moved to the chat entry page. In a specific implementation, the number of the target chat entries moved to the chat entry page may be different from the number used for determining whether the total number of the chat entries set at the top in the chat entry page satisfies the condition, which is not limited in the embodiment of the present invention.
In the embodiment of the present invention, when a trigger event of the adjustment of the top-set chat entry occurs, a preset number of target chat entries may be moved from the preset page to the chat entry page in response to the trigger event of the adjustment of the top-set chat entry.
Wherein the triggering event comprises: the total number of the top chat items in the chat item page is lower than the preset number, or the height sum of the top chat items in the chat item page is lower than the preset height, or the height sum of the top chat items in the chat item page is lower than the preset proportion of the height of the display screen.
Specifically, a listener can be registered for listening to the number of top chat entries in the chat entry page and the height of the top chat entries in the chat entry page. When the total number of the chat items on the top in the chat item page is monitored to be lower than the preset number, or the total height of the chat items on the top in the chat item page is lower than the preset height, or the total height of the chat items on the top in the chat item page is lower than the preset proportion of the height of the display screen, the triggering event is monitored to occur, and the step of moving the preset number of target chat items from the preset page to the chat item page can be executed.
In a preferred embodiment of the present invention, the method may further comprise the steps of:
displaying the target chat item on top of the preset page when a new message for the target chat item is received.
Specifically, when the contact person after the set-top sends a new message to the user, and/or when a new message sent by the user is set in the group of the set-top, the new message can be received, and the chat item of the target contact person and/or the target group corresponding to the new message is displayed at the top of the preset page, so that the user can quickly know the new message from the contact person and/or the group of the set-top in the preset page, and the communication efficiency is improved.
In the embodiment of the invention, the target chat item is added in the preset page by responding to the top setting operation of the target chat item in the chat item page; and responding to the appointed trigger operation, displaying the preset page, and accordingly, accommodating the target contact person needing to be set and/or the target chat item of the target group by setting the preset page, displaying the set target chat item on an independent page, facilitating a user to quickly find the target chat item through the independent page, avoiding the influence on the display of messages of other chat items caused by the display of the target chat item on the top of the chat page, and improving the user experience.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 2, a block diagram of an embodiment of a message top-loading device according to the present invention is shown, and a graphical user interface is provided on a display screen of a mobile terminal, where the graphical user interface includes a chat entry page, and the chat entry page includes a plurality of chat entries corresponding to different contacts and/or groups, and specifically includes the following modules:
a top-setting module 201, configured to add a target chat entry in a preset page in response to a top-setting operation acting on the target chat entry in the chat entry page;
and the display module 202 is configured to display the preset page in response to a specified trigger operation.
In a preferred embodiment of the present invention, the apparatus may further include the following modules:
and the determining module is used for determining that the total number of the top-positioned chat items in the chat item page reaches a preset number, or determining that the total height of the top-positioned chat items in the chat item page reaches a preset height, or determining that the total height of the top-positioned chat items in the chat item page reaches a preset proportion of the height of the display screen.
In a preferred embodiment of the present invention, the apparatus may further include the following modules:
and the moving module is used for responding to a trigger event for adjusting the top-positioned chat entries, and moving the preset number of target chat entries from the preset page to the chat entry page.
In a preferred embodiment of the present invention, the triggering event includes: the total number of the top-positioned chat items in the chat item page is lower than the preset number, or the height sum of the top-positioned chat items in the chat item page is lower than the preset height, or the height sum of the top-positioned chat items in the chat item page is lower than the preset proportion of the height of the display screen.
In a preferred embodiment of the present invention, the specifying a trigger operation includes: a specified operation aiming at a preset control;
the preset control is a suspension control in the graphical user interface or a label control for opening the chat entry page.
In a preferred embodiment of the present invention, the apparatus may further include the following modules:
displaying the target chat item on top of the preset page when a new message for the target chat item is received.
In a preferred embodiment of the present invention, the designation operation is a double-click operation or a long-press operation.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
An embodiment of the present invention further provides an electronic device, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the electronic device to perform steps of a method as described by embodiments of the invention.
Embodiments of the present invention also provide a computer-readable storage medium having stored thereon instructions, which, when executed by one or more processors, cause the processors to perform the steps of the method according to embodiments of the present invention.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The above detailed description is provided for a message top-setting method and a message top-setting device, and a specific example is applied in this document to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for message top-pointing by providing a graphical user interface on a display of a mobile terminal, the graphical user interface comprising a chat entry page comprising a plurality of chat entries corresponding to different contacts and/or groups, the method comprising:
responding to a top setting operation acting on a target chat item in the chat item page, and if the total number of the top-set chat items in the chat item page is determined to reach a first preset number, or the sum of the heights of the top-set chat items in the chat item page is determined to reach a preset height, or the sum of the heights of the top-set chat items in the chat item page is determined to reach a preset proportion of the height of the display screen, and adding the target chat item in a preset page;
and responding to a specified trigger operation, and displaying the preset page.
2. The method of claim 1, further comprising:
and in response to a trigger event of the adjustment of the top-set chat items, moving a second preset number of target chat items from the preset page to the chat item page, wherein the second preset number is different from the first preset number.
3. The method of claim 2, wherein the triggering event comprises: the total number of the top-positioned chat items in the chat item page is lower than a first preset number, or the height sum of the top-positioned chat items in the chat item page is lower than a preset height, or the height sum of the top-positioned chat items in the chat item page is lower than a preset proportion of the height of the display screen.
4. The method of claim 1, wherein the specifying the trigger operation comprises: a specified operation aiming at a preset control;
the preset control is a suspension control in the graphical user interface or a label control for opening the chat entry page.
5. The method of claim 1, further comprising:
displaying the target chat item on top of the preset page when a new message for the target chat item is received.
6. The method of claim 4, wherein the specified operation is a double-click operation or a long-press operation.
7. The method of claim 1, further comprising:
responding to a top setting operation acting on a target chat item in the chat item page, and setting the target chat item in the chat item page if the total number of the top-set chat items in the chat item page is determined not to reach the first preset number.
8. An apparatus for message top-pointing by providing a graphical user interface on a display screen of a mobile terminal, the graphical user interface comprising a chat entry page comprising a plurality of chat entries corresponding to different contacts and/or groups, the apparatus comprising:
the top setting module is used for responding to the top setting operation acting on the target chat item in the chat item page and adding the target chat item in a preset page;
the display module is used for responding to a specified trigger operation and displaying the preset page;
wherein the apparatus further comprises:
and the determining module is used for determining that the total number of the top-positioned chat items in the chat item page reaches a first preset number, or determining that the total height of the top-positioned chat items in the chat item page reaches a preset height, or determining that the total height of the top-positioned chat items in the chat item page reaches a preset proportion of the height of the display screen.
9. An electronic device, comprising:
one or more processors; and
one or more machine readable media having instructions stored thereon, which when executed by the one or more processors, cause the electronic device to perform the steps of the method of one or more of claims 1-7.
10. A computer-readable storage medium having stored thereon instructions, which, when executed by one or more processors, cause the processors to perform the steps of the method of one or more of claims 1-7.
CN202010048751.6A 2020-01-16 2020-01-16 Message top setting method and device Active CN111240569B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010048751.6A CN111240569B (en) 2020-01-16 2020-01-16 Message top setting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010048751.6A CN111240569B (en) 2020-01-16 2020-01-16 Message top setting method and device

Publications (2)

Publication Number Publication Date
CN111240569A CN111240569A (en) 2020-06-05
CN111240569B true CN111240569B (en) 2021-07-09

Family

ID=70864062

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010048751.6A Active CN111240569B (en) 2020-01-16 2020-01-16 Message top setting method and device

Country Status (1)

Country Link
CN (1) CN111240569B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022161393A1 (en) * 2021-01-26 2022-08-04 北京字节跳动网络技术有限公司 Information display method and apparatus, and device and medium
CN112769681B (en) * 2021-01-27 2023-03-24 北京达佳互联信息技术有限公司 Session display method and device, electronic equipment and storage medium
CN112835942A (en) * 2021-02-04 2021-05-25 网易(杭州)网络有限公司 Communication member ordering method, device, equipment and storage medium
CN115174503B (en) * 2022-05-18 2024-01-19 深圳供电局有限公司 Emergency event communication method and device, storage medium and computer equipment
CN115016880A (en) * 2022-05-30 2022-09-06 北京字跳网络技术有限公司 Session processing method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105447049A (en) * 2014-09-02 2016-03-30 中国移动通信集团公司 Message display method and device and terminal
CN105553826A (en) * 2015-12-18 2016-05-04 阿里巴巴集团控股有限公司 Message display method and device
CN106027373A (en) * 2016-06-16 2016-10-12 维沃移动通信有限公司 Information management method and device
CN108153458A (en) * 2017-11-30 2018-06-12 深圳市金立通信设备有限公司 A kind of dialog box processing method, terminal device and computer readable storage medium
CN109729004A (en) * 2018-12-29 2019-05-07 天津字节跳动科技有限公司 Conversation message top set treating method and apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350086A (en) * 2008-08-29 2009-01-21 深圳华为通信技术有限公司 Method and terminal for ceiling usual contact
CN109062966A (en) * 2018-06-28 2018-12-21 努比亚技术有限公司 A kind of method for processing multimedia information, equipment and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105447049A (en) * 2014-09-02 2016-03-30 中国移动通信集团公司 Message display method and device and terminal
CN105553826A (en) * 2015-12-18 2016-05-04 阿里巴巴集团控股有限公司 Message display method and device
CN106027373A (en) * 2016-06-16 2016-10-12 维沃移动通信有限公司 Information management method and device
CN108153458A (en) * 2017-11-30 2018-06-12 深圳市金立通信设备有限公司 A kind of dialog box processing method, terminal device and computer readable storage medium
CN109729004A (en) * 2018-12-29 2019-05-07 天津字节跳动科技有限公司 Conversation message top set treating method and apparatus

Also Published As

Publication number Publication date
CN111240569A (en) 2020-06-05

Similar Documents

Publication Publication Date Title
CN111240569B (en) Message top setting method and device
CN110162371B (en) Display control method and device, electronic equipment and storage medium
US10762277B2 (en) Optimization schemes for controlling user interfaces through gesture or touch
CN104579934B (en) A kind of information processing method and client
EP3222010B1 (en) Relevant communication mode selection
TWI683251B (en) Interface display method and device
CN106210297A (en) A kind of message treatment method and mobile terminal
US10838972B2 (en) Storing service items in association with views
CN109976599B (en) Method, device and equipment for processing unread messages of application program
CN104243273A (en) Method and device for displaying information on instant messaging client and information display system
CN112068936A (en) Workflow management platform and workflow management system
CN109740041B (en) Webpage crawling method and device, storage medium and computer equipment
CN105279431B (en) Method, device and system for recording operation information in mobile equipment
CN105739866A (en) Application management method and apparatus, and terminal
CN106354369A (en) Character input interface display handling method and device
CN105955569A (en) File sharing method and apparatus
CN118585980A (en) Verification method, device, equipment and storage medium
CN103885980A (en) Bookmark adding method and browser
CN110908552B (en) Multi-window operation control method, device, equipment and storage medium
CN104267867A (en) Content input method and device
CN110868347A (en) Message prompting method, device and system
CN106250082B (en) A kind of terminal control method and terminal
CN106716980A (en) Method for displaying view and terminal device
CN105718462A (en) Cheating detection method and apparatus for application operation
CN115760494A (en) Data processing-based service optimization method and device for real estate marketing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant