CN116301458A - Message processing method, device, electronic equipment and storage medium - Google Patents
Message processing method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN116301458A CN116301458A CN202310195635.0A CN202310195635A CN116301458A CN 116301458 A CN116301458 A CN 116301458A CN 202310195635 A CN202310195635 A CN 202310195635A CN 116301458 A CN116301458 A CN 116301458A
- Authority
- CN
- China
- Prior art keywords
- account
- message
- attention
- preset area
- session
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application provides a message processing method, a message processing device, electronic equipment and a storage medium, wherein the method comprises the following steps: displaying account identifiers corresponding to N concerned accounts respectively in a preset area of a message list page, wherein N is an integer greater than or equal to 1; responding to a first input of an account identifier corresponding to a first attention account, and displaying a first session message of a session with the first attention account in a preset area; controlling the first session message to be switched to a second session message for a session with a second account of interest in response to a second input within the preset area; the first attention account is any one of N attention accounts, and the second attention account is an attention account determined based on the second input. According to the method and the device, the account identification corresponding to the attention account can be displayed in an aggregation mode in a specific area, the user can search for the message based on the account identification, the message searching efficiency is improved, meanwhile, the conversation page can be switched rapidly in a preset area, and the interactive experience of the user is improved.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a message processing method, a device, an electronic device, and a storage medium.
Background
With the continuous development of technology, various application programs are becoming more popular, and more users choose to perform online activities based on the application programs. For application programs with higher use frequency, a user can collect a large number of messages based on the application program, and the situation that the user cannot quickly find a target message easily occurs. Particularly for platform type application, multidimensional information can be received, and the user is difficult to find the target information due to the large number of the information and redundancy of categories.
Currently, in order to enable a user to acquire a message of interest in time, a message overhead setting is introduced, and by setting the message overhead, a message sent by an overhead account is displayed at the top of a message list.
However, the existing messaging overhead has the following defects:
1. message visibility is poor since only the ordering rules are changed; in the state that a plurality of top-set accounts exist, whether the top-set accounts have new messages or not and whether the non-top-set accounts have new messages or not, the positions of the top-set accounts are unchanged all the time, and the touch rate of other messages is affected.
2. Message viewing efficiency is low; in the actual use state, the user selectively performs a dialogue with respect to a plurality of unread messages. The list structure leads to that after clicking to enter the conversation page to check the message, the user needs to return to the list again to enter the next conversation page, the operation is complex, the message checking efficiency is low, and the interaction experience of the user is affected.
Disclosure of Invention
The embodiment of the application provides a message processing method, a device, electronic equipment and a storage medium, which are used for solving the problems of poor message visibility and low message viewing efficiency of a message overhead mode introduced by timely acquiring a concerned message by a user in the prior art.
In a first aspect, an embodiment of the present application provides a message processing method, including:
displaying account identifiers corresponding to N concerned accounts respectively in a preset area of a message list page, wherein N is an integer greater than or equal to 1;
responding to a first input of an account identifier corresponding to a first attention account, and displaying a first session message of a session with the first attention account in the preset area;
controlling the first session message to be switched to a second session message for a session with a second account of interest in response to a second input within the preset area;
the first attention account is any attention account of the N attention accounts, and the second attention account is an attention account determined based on the second input.
In a second aspect, an embodiment of the present application provides a message processing apparatus, including:
the first display module is used for displaying account identifiers corresponding to N concerned accounts respectively in a preset area of the message list page, wherein N is an integer greater than or equal to 1;
The second display module is used for responding to the first input of the account identification corresponding to the first attention account and displaying a first session message of the session with the first attention account in the preset area;
the control switching module is used for responding to a second input in the preset area and controlling the first session message to be switched into a second session message for a second attention account session;
the first attention account is any attention account of the N attention accounts, and the second attention account is an attention account determined based on the second input.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program is executed by the processor to implement the steps of the message processing method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the message processing method according to the first aspect described above.
According to the technical scheme, the N account identifications corresponding to the attention accounts respectively are displayed in the preset area of the message list page, so that the aggregation display of the account identifications corresponding to the attention accounts in the specific area can be realized, and a user can clearly know the set attention accounts; the user can search the message based on the account identification and improve the message searching efficiency by displaying the account identification in the preset area and displaying the first session message of the conversation with the first attention account in the preset area based on the first input of the user; under the condition that a second input of a user in a preset area is received, the first session message is controlled to be switched to a second session message of a session with a second concerned account, and the session page can be switched rapidly in the preset area, so that the user can check the session message of the session with the concerned account in the preset area, the tedious operations of returning a list and entering different session pages to check the message are avoided, and the interactive experience of the user is improved.
Drawings
Fig. 1 is a schematic diagram of a message processing method according to an embodiment of the present application;
fig. 2 is a schematic diagram illustrating an account identifier displayed in a preset area of a message list page according to an embodiment of the present application;
Fig. 3 is a schematic diagram showing a session message and an account identifier displayed in a preset area of a message list page according to an embodiment of the present application;
fig. 4 is a schematic diagram of a preset area display adding control of a message list page according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a quick reply window floating layer displayed based on input to a reply control provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of a message processing apparatus according to an embodiment of the present application;
fig. 7 shows a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present application, it should be understood that the sequence numbers of the following processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
In the prior art, in order to enable a user to timely acquire a focused message, a message overhead setting is introduced, and an focused account is overhead so that the user can timely acquire the message sent by the focused account, but the setting mode only changes the ordering rule, so that the message visibility is poor, the position of the overhead account is always unchanged, and the touch rate of other messages is influenced; in an actual use state, after clicking the incoming session page to check the message, the user needs to return to the list again to enter the next session page, so that the operation is complicated, the message checking efficiency is low, and the interactive experience of the user is affected.
That is, the existing message overhead method has the problems of poor message visibility and low message viewing efficiency. In order to solve the problems, the application introduces the attention message display module, forms a display area on a message list page to display account numbers of attention accounts, displays session messages based on user input, and can respond to switching input to control display switching of session messages of different attention accounts, thereby ensuring message touch rate, improving message viewing efficiency and improving interactive experience of users.
The following describes a message processing method provided in an embodiment of the present application, and referring to fig. 1, the method may include the following steps:
According to the message processing method, a preset area is formed on a message list page by introducing an attention message display module, account identifiers corresponding to N attention accounts respectively are displayed in the preset area of the message list page, N is an integer greater than or equal to 1, namely, account identifiers of at least one attention account set by a user are displayed in the preset area; the account number identification may include at least one of an account name and an avatar.
The preset area may be at the top, bottom or other areas of the message list page, as shown in fig. 2, which is a specific illustration of forming a preset area at the top of the message list page and displaying account identifiers corresponding to the plurality of accounts of interest respectively in the preset area.
It should be noted that, the area size corresponding to the preset area is limited, and when the number of the accounts concerned is large, the account identifier corresponding to the part of the accounts concerned can be displayed in the preset area at one time, and based on the update input in the preset area, the display update of the account identifier is performed.
Under the condition that a first input of an account identifier corresponding to a first attention account in the N attention accounts is received by a user, a first session message of a session with the first attention account is triggered to be displayed in a preset area in response to the first input, so that the session message corresponding to the account focused by the user is displayed in the preset area.
The first attention account is any attention account of the N attention accounts, and the first input of the account identifier corresponding to the first attention account by the user can be understood as the selection input of selecting the first attention account.
And step 103, responding to a second input in the preset area, and controlling the first session message to be switched into a second session message for a second attention account number session, wherein the second attention account number is an attention account number determined based on the second input.
After a first session message of a session with a first attention account is displayed in a preset area, when a second input of a user in the preset area is received, the first session message displayed in the preset area is controlled to be switched to a second session message of a session with a second attention account in response to the second input, and display switching of session messages corresponding to different attention accounts based on user operation is achieved.
The second attention account is an attention account determined based on a second input of the user, which can be understood that the second attention account is an attention account selected by the user from other attention accounts different from the first attention account, the input form of the second input can be a touch action of an account identifier corresponding to the second attention account, or can be a sliding input in a preset area, for example, based on a sideslip input in the preset area, an account identifier adjacent to the account identifier corresponding to the first attention account is selected, and the selected account identifier corresponds to the second attention account.
It should be noted that, the first session message displayed in the preset area includes the latest session message of the user session with the first attention account, and the second session message displayed in the preset area includes the latest session message of the user session with the second attention account.
According to the embodiment of the invention, the account identifiers corresponding to the N concerned accounts respectively are displayed in the preset area of the message list page, so that the aggregation display of the account identifiers corresponding to the concerned accounts in the specific area can be realized, and a user can clearly know the set concerned accounts; the user can search the message based on the account identification and improve the message searching efficiency by displaying the account identification in the preset area and displaying the first session message of the conversation with the first attention account in the preset area based on the first input of the user; under the condition that a second input of a user in a preset area is received, the first session message is controlled to be switched to a second session message of a session with a second concerned account, and the session page can be switched rapidly in the preset area, so that the user can check the session message of the session with the concerned account in the preset area, the tedious operations of returning a list and entering different session pages to check the message are avoided, and the interactive experience of the user is improved.
The following description is made of a scheme for displaying account identifiers in a preset area, where N account identifiers corresponding to the N attention accounts respectively are displayed in the preset area of the message list page, and the method includes:
displaying account numbers of the concerned accounts corresponding to the unread messages in a first mode and account numbers of other concerned accounts in a second mode in the preset area;
and according to the sequence from the near to the far of the latest message sending time respectively corresponding to the N concerned accounts, the account identifications of the N concerned accounts are sequentially displayed in the preset area.
When the account identifiers corresponding to the N attention accounts respectively are displayed in the preset area, the N attention accounts can be distinguished according to whether the attention accounts correspond to the unread messages, the attention accounts corresponding to the unread messages are determined to be the first class attention accounts, the attention accounts without the unread messages are determined to be the second class attention accounts, the account identifiers corresponding to the first class attention accounts are controlled to be displayed in a first mode in the preset area, and the account identifiers corresponding to the second class attention accounts are controlled to be displayed in a second mode in the preset area, so that a user can effectively distinguish the attention accounts corresponding to the unread messages and the attention accounts without the unread messages through the difference of the account identifier display modes.
The distinction between the first pattern and the second pattern may be a color distinction, a shape distinction, or other forms of distinction, such as displaying the number of unread messages in the upper right corner of the account number identification corresponding to the account number of interest of the unread message.
Correspondingly, under the condition that whether the state of the concerned account corresponding to the unread message is updated or not, the display mode of the account identifier corresponding to the concerned account is synchronously updated, if the concerned account is changed from the state corresponding to the unread message to the state where the unread message does not exist, the account identifier corresponding to the concerned account is switched from the first mode to the second mode.
Referring to fig. 3, a circle is displayed in the upper right corner of the account identifier of the attention account corresponding to the unread message, and whether the attention account corresponds to the unread message can be distinguished by whether the circle is displayed in the upper right corner of the account identifier.
The account identifiers corresponding to the N attention accounts displayed in the preset area may be sorted according to the sending time of the latest messages corresponding to the N attention accounts respectively, that is, the closer the sending time of the latest messages is to the current time, the more front the account identifiers corresponding to the attention accounts are, so as to update the positions of the account identifiers corresponding to the N attention accounts in the preset area based on the latest messages.
It should be noted that, the priority of the N attention accounts may also be set, and the account identifiers corresponding to the attention accounts with high priority are displayed at the front, where in this case, the account identifiers of the N attention accounts are sequentially displayed in the preset area based on the priority.
According to the embodiment, the account identification of the attention account corresponding to the unread message is displayed in the first mode, and the account identification of the attention account without the unread message is displayed in the second mode, so that a user can conveniently distinguish the attention account corresponding to the unread message and the attention account without the unread message through the difference of the account identification display modes; by sorting the attention accounts based on the sending time of the latest message, the positions of the account identifiers of the N attention accounts in the preset area can be updated based on the latest message.
It should be noted that, the position of the preset area is preferably set at the top of the message list page, and by forming the preset area at the top of the message list page, the account identification of the account concerned and the related session message can be displayed at a relatively striking position.
As an alternative embodiment, the method further comprises:
receiving input to an add control;
And responding to the input of the adding control, and updating the account identification corresponding to the attention account in the preset area.
In this embodiment, based on the input of the user to the adding control, the attention account number may be newly added to update the account number identifier in the preset area. The adding control can be displayed in a preset area, and an account identifier is newly added in the preset area based on the input of a user to the adding control in the preset area. Referring to fig. 4, to form a preset area at the top of the message list page, a specific illustration of the add control is shown in the preset area.
The adding control can also be displayed based on the triggering of the user, and the account of interest is newly added based on the input of the adding control, for example, the user triggers the display of the adding control after selecting a certain account identifier, determines the account corresponding to the account identifier as the account of interest based on the input of the adding control, and displays the account identifier in a preset area.
And the attention account number can be newly added before the account number identification is displayed in the preset area, or the attention account number can be newly added after the account number identification is displayed in the preset area. That is, before the account identifiers corresponding to the N attention accounts respectively are displayed in the preset area of the message list page, input of the user to the adding control is received, the N attention accounts selected by the user are determined in response to the input of the adding control, and then the account identifiers corresponding to the N attention accounts can be displayed in the preset area. After the account identification is displayed in the preset area of the message list page, the account identification in the preset area can be updated by newly adding the attention account based on the input of the user to the adding control.
For the situation that a plurality of attention accounts are added at one time, the specific implementation process can be as follows: and based on the input of the user to the adding control, displaying an account list (contact list), and determining the account selected by the user in the account list as the attention account.
According to the embodiment, the attention account number is newly added based on the input of the addition control, the account number identification in the preset area is updated, and the attention account number addition inlet can be provided, so that a user can conveniently add the attention account number through the addition inlet based on requirements.
The following describes a process of displaying a first session message in a preset area, where the displaying, in the preset area, the first session message for a session with a first account of interest in response to a first input of an account identifier corresponding to the first account of interest includes:
responding to a first input of an account identifier corresponding to the selected first attention account, and extending the preset area;
and displaying a message session frame comprising the first session message in the preset area.
When a first input of an account identifier corresponding to a first attention account in N attention accounts is received, responding to the first input, extending a preset area to increase the size of the preset area, and when the preset area is extended, determining the extending direction according to the position of the preset area. If the preset area is at the top of the message list page, the extending direction is downward, and the size of the preset area is increased by extending downward.
After the preset area is expanded, a message session frame for a session with the first attention account is displayed in the expanded preset area, and a first session message for the session with the first attention account is included in the message session frame.
By extending the preset area and increasing the size of the preset area, the account identification and the message session frame corresponding to the selected attention account can be displayed in the extended preset area. The account identification and the message session frame corresponding to the selected attention account are presented in the preset area at the same time, so that the user can conveniently switch the selected account identification in the preset area, and the message session frame can be flexibly switched. Referring to fig. 3, after extending the preset area, the account identifier and the message session frame are displayed in the preset area, where the message session frame in fig. 3 is a message session frame corresponding to the user name 6.
According to the embodiment, the message conversation frame is displayed in the preset area after extension by extending the preset area, and the size of the preset area can be adjusted based on the requirement of a user for viewing the conversation message, so that the message conversation frame is displayed under the condition that the account number identification is kept to be displayed continuously, the preset area is controlled to be smaller when the message conversation frame is not required to be displayed, and the preset area is controlled to be larger when the message conversation frame is required to be displayed, and the display page is reasonably utilized.
As an optional embodiment, the preset area includes a reply control, and after the preset area displays the first session message or the second session message, the method further includes:
responding to a third input of the reply control, and displaying a shortcut reply window floating layer;
responding to a fourth input in the quick reply window floating layer, acquiring and displaying a reply message;
and under the condition that the input of closing the control is received, the shortcut reply window floating layer is canceled from being displayed, and the reply message is displayed in the preset area.
The preset area comprises a reply control, the reply control can be displayed in the reply area of the preset area, and the reply control is triggered to be displayed under the condition that the session message is displayed in the preset area. After the first session message of the session with the first attention account or the second session message of the session with the second attention account is displayed in the extended preset area, a shortcut reply window floating layer is displayed based on third input of a reply control by a user, wherein the shortcut reply window floating layer can cover a message list page.
After triggering the display of the shortcut reply window floating layer, receiving a fourth input of a user in the shortcut reply window floating layer, responding to the fourth input, acquiring a reply message replying to the session message, and displaying the reply message on the shortcut reply window floating layer. Under the condition that the input of the closing control corresponding to the shortcut reply window floating layer is received, based on the received input, canceling the display of the shortcut reply window floating layer, and displaying a reply message in a message session frame of a preset area.
By displaying the quick reply window floating layer, the message processing function can be triggered, so that a user can quickly reply the message on the quick reply window floating layer, and the message processing efficiency of the user is improved.
Referring to fig. 5, a specific illustration of triggering the floating layer display of the shortcut reply window based on the input of the reply control is shown, and the user may operate in the floating layer of the shortcut reply window to reply to the information.
According to the embodiment, when the input of the reply control is received, the quick reply window floating layer is displayed, the reply information is acquired based on the input of the user in the quick reply window floating layer, the message processing function can be triggered based on the operation of the user, the user can conveniently and quickly reply the message in the quick reply window floating layer, and the message processing efficiency of the user is improved; after closing the quick reply window floating layer, displaying a reply message in a preset area, and displaying the reply message determined based on the quick reply window floating layer in a message session frame of the preset area.
In an optional embodiment, the preset area includes a number identifier that characterizes a number of unread messages corresponding to the account of interest, and the method further includes:
updating the quantity identification under the condition that at least one unread message corresponding to the N concerned accounts is changed into a read state;
And updating a target session frame in the control message list, wherein the target session frame is a session frame corresponding to a message from an unread state to a read state.
The N attention accounts may include an attention account corresponding to an unread message and an attention account without an unread message, and a number identifier may be displayed in the preset area, where the number identifier is used to represent the total number of unread messages corresponding to the N attention accounts, as shown in fig. 3, and a number identifier "unread 10" is displayed at a top position of the preset area, which indicates that the number of unread messages corresponding to the N attention accounts is 10.
For the attention account corresponding to the unread message, the attention account may correspond to an unread message number identifier, based on the number identifier, the number of unread messages corresponding to the current attention account may be determined, the unread message number identifier corresponding to the attention account may be displayed at a location associated with the account identifier of the attention account, for example, the unread message number identifier is displayed at an upper right corner of the account identifier, as shown in fig. 3, the user name 9 and the user name 11 both correspond to unread messages, a circle is displayed at an upper right corner of the account identifier, and the unread message number identifier may be displayed in the circle.
Under the condition that at least one unread message corresponding to the N concerned accounts is monitored to be changed into a read state, the quantity identification can be updated, so that the user can know the quantity of the unread messages corresponding to the current time conveniently through updating the quantity identification. For example, the total number of unread messages corresponding to the N attention account numbers is 10, and after one unread message of one attention account number is changed to a read state, the number identifier is updated to "unread 9".
Under the condition that at least one unread message corresponding to the N concerned accounts is changed into a read state and the number of the updates is identified, the target session frame in the message list can be controlled to be updated, wherein the target session frame refers to a session frame corresponding to the message with the unread state changed into the read state, and the update of the target session frame is actually the update of the message displayed in the target session frame.
When the message displayed in the target session frame is updated, the message in the unread state can be controlled to be switched to the read state, in this case, the unread message can be displayed in a preset area and a corresponding session frame in the message list, after the unread message in the session frame of the message list is read, the update of the number identifier can be triggered, and after the unread message in the preset area is read, the update of the number identifier can also be triggered. Wherein the updating of the number identification and the updating of the target session frame can be regarded as synchronous updating.
When the message displayed in the target session frame is updated, at least one message from the unread state to the read state can be controlled to enter the matched target session frame, in this case, the unread message corresponding to the attention account is displayed in a preset area, and after the unread message is changed to the read state, the message is displayed in the target session frame corresponding to the message list, so that the message changed to the read state is displayed in the session frame corresponding to the message list.
The preset area can display a read control, and when the preset area displays an unread message and receives input of the read control, the unread message can be determined to be changed into a read state; as shown in fig. 3, after an unread message is displayed in the preset area and an input to the read control is received, it may be determined that the message changes from an unread state to a read state. Or when the message session frame is displayed in the preset area and the display duration of the message session frame meets the preset condition, determining that the unread message is changed into the read state. For the case where an unread message is displayed for a conversation box in the message list, a read flag may be displayed in the case where the unread message in the conversation box is read.
It should be noted that, when the unread message corresponding to a certain attention account is changed to a read state, the number identifier of the unread message corresponding to the current attention account may also be updated, so as to determine the number of the unread messages corresponding to the attention account according to the number identifier of the unread message corresponding to the attention account.
According to the embodiment, the quantity identification is displayed in the preset area, so that a user can know the total quantity of unread messages corresponding to the attention account based on the quantity identification; under the condition that at least one unread message corresponding to the N concerned accounts is changed into a read state, updating the quantity identification, so that a user can know the latest unread message quantity; by updating the target session frame under the condition of the update quantity identification, linkage update of information can be realized.
As an alternative embodiment, the method further comprises: receiving a fifth input of an account identifier corresponding to a target attention account in the N attention accounts; and responding to the fifth input, and canceling the display of the account identification corresponding to the target attention account in the preset area.
After the account identifiers corresponding to the N concerned accounts respectively are displayed in the preset area, under the condition that a fifth input of the account identifier corresponding to the target concerned account is received, the display of the account identifier corresponding to the target concerned account in the preset area is canceled in response to the fifth input, so that the account identifier in the preset area is updated based on the fifth input, and special attention to the target concerned account is canceled. The fifth input may be understood as an input by which the user selects an account that does not need special attention among the N attention accounts.
Updating the account of interest based on the user's needs may be achieved by canceling special attention to the target account of interest in response to the fifth input, updating the account identification within the preset area.
According to the overall implementation process of the message processing method provided by the embodiment of the application, the account identifiers corresponding to the N concerned accounts respectively are displayed in the preset area of the message list page, so that the aggregation display of the account identifiers corresponding to the concerned accounts in the specific area can be realized, and a user can clearly know the set concerned accounts; the user can search the message based on the account identification and improve the message searching efficiency by displaying the account identification in the preset area and displaying the first session message of the conversation with the first attention account in the preset area based on the first input of the user; under the condition that a second input of a user in a preset area is received, the first session message is controlled to be switched to a second session message of a session with a second concerned account, and the session page can be switched rapidly in the preset area, so that the user can check the session message of the session with the concerned account in the preset area, the tedious operations of returning a list and entering different session pages to check the message are avoided, and the interactive experience of the user is improved.
Further, by displaying the account identification of the attention account corresponding to the unread message in the first mode and displaying the account identification of the attention account without the unread message in the second mode, the user can conveniently and effectively distinguish the attention account corresponding to the unread message and the attention account without the unread message through the difference of the account identification display modes; by sorting the attention accounts based on the sending time of the latest message, the positions of the account identifiers of the N attention accounts in the preset area can be updated based on the latest message.
Based on the new attention account number added by the input of the adding control, the account number identification in the preset area is updated, and an attention account number adding inlet can be provided, so that a user can conveniently add the attention account number through the adding inlet based on requirements.
By extending the preset area, the message conversation frame is displayed in the extended preset area, and the size of the preset area can be adjusted based on the requirement of a user for viewing conversation messages, so that the message conversation frame is displayed under the condition that the account number identification is kept to be displayed continuously, and the reasonable utilization of the display page is realized.
The quick reply window floating layer is displayed and the message processing function is triggered based on the operation of the user, so that the user can quickly reply the message, and the message processing efficiency of the user is improved; the quantity identification is displayed and updated, so that a user can know the quantity condition of unread messages corresponding to the concerned account based on the quantity identification; updating the account of interest based on the user's needs may be accomplished by canceling special attention to the target account of interest in response to the fifth input.
The message processing method provided by the application can be applied to various scenes, is particularly suitable for scenes corresponding to platform-type service products, and because the system and private messages are mixed in the scenes, a user can hardly find a target message quickly through a list structure, and can be helped to screen effective messages from a large number of messages by setting a special attention account number and displaying the special messages on a message page, so that the efficiency of searching the target message by the user is improved; in addition, by tiling the account number and the messages, the user can quickly switch and view a plurality of messages on one page, and the user can quickly reply or read the messages in cooperation with the function of processing the messages, so that the efficiency of processing the messages by the user is improved.
An embodiment of the present application provides a message processing apparatus, as shown in fig. 6, including:
the first display module 601 is configured to display account identifiers corresponding to N accounts of interest respectively in a preset area of the message list page, where N is an integer greater than or equal to 1;
a second display module 602, configured to display, in response to a first input of an account identifier corresponding to a first attention account, a first session message for a session with the first attention account in the preset area;
A control switching module 603, configured to control, in response to a second input in the preset area, the first session message to switch to a second session message for a session with a second account of interest;
the first attention account is any attention account of the N attention accounts, and the second attention account is an attention account determined based on the second input.
Optionally, the first display module is further configured to:
displaying account numbers of the concerned accounts corresponding to the unread messages in a first mode and account numbers of other concerned accounts in a second mode in the preset area;
and according to the sequence from the near to the far of the latest message sending time respectively corresponding to the N concerned accounts, the account identifications of the N concerned accounts are sequentially displayed in the preset area.
Optionally, the apparatus further comprises:
the first receiving module is used for receiving input of the adding control;
and the first updating module is used for responding to the input of the adding control and updating the account identification corresponding to the attention account in the preset area.
Optionally, the second display module includes:
the adjustment sub-module is used for responding to a first input of an account identifier corresponding to the selected first attention account and extending the preset area;
And the display sub-module is used for displaying a message session frame comprising the first session message in the preset area.
Optionally, the preset area includes a reply control, and the apparatus further includes:
the third display module is used for responding to the third input of the reply control after the first session message or the second session message is displayed in the preset area, and displaying a shortcut reply window floating layer;
the acquisition module is used for responding to the fourth input in the quick reply window floating layer, acquiring and displaying a reply message;
and the processing module is used for canceling the display of the shortcut reply window floating layer under the condition of receiving the input of closing the control, and displaying the reply message in the preset area.
Optionally, the preset area includes a number identifier that characterizes a number of unread messages corresponding to the attention account, and the device further includes:
the second updating module is used for updating the quantity identification under the condition that at least one unread message corresponding to the N concerned accounts is changed to a read state;
and the control module is used for controlling a target session frame in the message list to update, wherein the target session frame is a session frame corresponding to the message from the unread state to the read state.
Optionally, the apparatus further comprises:
the second receiving module is used for receiving a fifth input of an account identifier corresponding to a target attention account in the N attention accounts;
and the cancellation module is used for canceling the display of the account identification corresponding to the target attention account in the preset area in response to the fifth input.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
The embodiment of the application also provides electronic equipment, which comprises: the processor, the memory, the computer program stored in the memory and capable of running on the processor, the computer program realizes each process of the message processing method embodiment when being executed by the processor, and can achieve the same technical effect, and for avoiding repetition, the description is omitted here.
For example, fig. 7 shows a schematic diagram of the physical structure of an electronic device. As shown in fig. 7, the electronic device may include: processor 710, communication interface (Communications Interface) 720, memory 730, and communication bus 740, wherein processor 710, communication interface 720, memory 730 communicate with each other via communication bus 740. Processor 710 may call logic instructions in memory 730, processor 710 to perform the steps of: displaying account identifiers corresponding to N concerned accounts respectively in a preset area of a message list page, wherein N is an integer greater than or equal to 1; responding to a first input of an account identifier corresponding to a first attention account, and displaying a first session message of a session with the first attention account in the preset area; controlling the first session message to be switched to a second session message for a session with a second account of interest in response to a second input within the preset area; the first attention account is any attention account of the N attention accounts, and the second attention account is an attention account determined based on the second input. Processor 710 may also perform other aspects of embodiments of the present application, which are not further described herein.
Further, the logic instructions in the memory 730 described above may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand alone product. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements each process of the above-mentioned message processing method embodiment, and can achieve the same technical effects, so that repetition is avoided, and no further description is provided herein. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A method of message processing comprising:
displaying account identifiers corresponding to N concerned accounts respectively in a preset area of a message list page, wherein N is an integer greater than or equal to 1;
responding to a first input of an account identifier corresponding to a first attention account, and displaying a first session message of a session with the first attention account in the preset area;
controlling the first session message to be switched to a second session message for a session with a second account of interest in response to a second input within the preset area;
the first attention account is any attention account of the N attention accounts, and the second attention account is an attention account determined based on the second input.
2. The method according to claim 1, wherein displaying account identifiers corresponding to the N accounts of interest respectively in a preset area of the message list page includes:
displaying account numbers of the concerned accounts corresponding to the unread messages in a first mode and account numbers of other concerned accounts in a second mode in the preset area;
and according to the sequence from the near to the far of the latest message sending time respectively corresponding to the N concerned accounts, the account identifications of the N concerned accounts are sequentially displayed in the preset area.
3. The method according to claim 1, wherein the method further comprises:
receiving input to an add control;
and responding to the input of the adding control, and updating the account identification corresponding to the attention account in the preset area.
4. The method of claim 1, wherein the displaying, in the preset area, a first session message for a session with the first account of interest in response to a first input of an account identifier corresponding to the first account of interest, comprises:
responding to a first input of an account identifier corresponding to the selected first attention account, and extending the preset area;
and displaying a message session frame comprising the first session message in the preset area.
5. The method of claim 1, wherein the preset area includes a reply control, the method further comprising, after the preset area displays the first session message or the second session message:
responding to a third input of the reply control, and displaying a shortcut reply window floating layer;
responding to a fourth input in the quick reply window floating layer, acquiring and displaying a reply message;
and under the condition that the input of closing the control is received, the shortcut reply window floating layer is canceled from being displayed, and the reply message is displayed in the preset area.
6. The method of claim 2, wherein the preset area includes a quantity identifier that characterizes a quantity of unread messages corresponding to the account of interest, the method further comprising:
updating the quantity identification under the condition that at least one unread message corresponding to the N concerned accounts is changed into a read state;
and updating a target session frame in the control message list, wherein the target session frame is a session frame corresponding to a message from an unread state to a read state.
7. The method according to claim 1, wherein the method further comprises:
receiving a fifth input of an account identifier corresponding to a target attention account in the N attention accounts;
and responding to the fifth input, and canceling the display of the account identification corresponding to the target attention account in the preset area.
8. A message processing apparatus, comprising:
the first display module is used for displaying account identifiers corresponding to N concerned accounts respectively in a preset area of the message list page, wherein N is an integer greater than or equal to 1;
the second display module is used for responding to the first input of the account identification corresponding to the first attention account and displaying a first session message of the session with the first attention account in the preset area;
The control switching module is used for responding to a second input in the preset area and controlling the first session message to be switched into a second session message for a second attention account session;
the first attention account is any attention account of the N attention accounts, and the second attention account is an attention account determined based on the second input.
9. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the message processing method of any of claims 1 to 7.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the message processing method according to any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310195635.0A CN116301458A (en) | 2023-02-27 | 2023-02-27 | Message processing method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310195635.0A CN116301458A (en) | 2023-02-27 | 2023-02-27 | Message processing method, device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116301458A true CN116301458A (en) | 2023-06-23 |
Family
ID=86777299
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310195635.0A Pending CN116301458A (en) | 2023-02-27 | 2023-02-27 | Message processing method, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116301458A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118733185A (en) * | 2024-09-04 | 2024-10-01 | 北京达佳互联信息技术有限公司 | Message prompting method, device, equipment and storage medium |
-
2023
- 2023-02-27 CN CN202310195635.0A patent/CN116301458A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118733185A (en) * | 2024-09-04 | 2024-10-01 | 北京达佳互联信息技术有限公司 | Message prompting method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8611968B2 (en) | Method and mobile terminal for processing contacts | |
WO2010143359A1 (en) | Avatar display system, device, method, and program | |
CN110990741B (en) | Page display method and device, electronic equipment, server and storage medium | |
CN106254311A (en) | Live broadcasting method and device, live data streams methods of exhibiting and device | |
CN111885258A (en) | Unread message display method and device, electronic equipment and storage medium | |
CN113179206B (en) | Session display method, session acquisition method, device, equipment, system and medium | |
AU2012248986A1 (en) | Method for displaying marker in a map service | |
CN102289337A (en) | Brand new display method of mobile terminal interface | |
CN105141735B (en) | The method and mobile terminal handled contact person | |
CN116301458A (en) | Message processing method, device, electronic equipment and storage medium | |
CN112818420B (en) | Social session method, device, terminal and medium | |
CN101042431A (en) | Visual representation of contact location | |
WO2007095505A2 (en) | Method and apparatus for displaying notifications | |
CN115344341A (en) | Interaction method and device based on bundled session group and computer equipment | |
CN104102367B (en) | A kind of information processing method and device | |
CN113961111A (en) | Information display method and device, electronic equipment and storage medium | |
CN1992623B (en) | Method for establishing multi-person session discussion group of instant communication | |
CN112286422B (en) | Information display method and device | |
CN116016412B (en) | Instant message processing method, device, electronic equipment and storage medium | |
CN116302244A (en) | Multi-popup window display processing method and device and computer readable medium | |
CN112243144A (en) | Input method barrage display method, device, equipment and storage medium | |
CN113101647B (en) | Information display method, device, equipment and storage medium | |
CN112433613A (en) | Method, system, electronic device and medium for starting function | |
CN109101502B (en) | Page flow configuration method, switching method and device | |
CN117112750B (en) | Information display method, information display device, electronic equipment and storage medium |
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 |