CN114979053A - Instant messaging session management method, device, system, equipment and medium - Google Patents

Instant messaging session management method, device, system, equipment and medium Download PDF

Info

Publication number
CN114979053A
CN114979053A CN202210488308.XA CN202210488308A CN114979053A CN 114979053 A CN114979053 A CN 114979053A CN 202210488308 A CN202210488308 A CN 202210488308A CN 114979053 A CN114979053 A CN 114979053A
Authority
CN
China
Prior art keywords
session
group
sub
user interface
control
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.)
Granted
Application number
CN202210488308.XA
Other languages
Chinese (zh)
Other versions
CN114979053B (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 CN202210488308.XA priority Critical patent/CN114979053B/en
Publication of CN114979053A publication Critical patent/CN114979053A/en
Application granted granted Critical
Publication of CN114979053B publication Critical patent/CN114979053B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The method comprises the steps of detecting a management request input in a user interface corresponding to a session function of instant messaging session application, wherein the management request is used for requesting a grouping management strategy for target session application corresponding to the management request, and the grouping management strategy is used for adjusting display attributes corresponding to the target session in the user interface at one time; and responding to the management request, and displaying the target session according to display attributes, wherein the display attributes at least comprise display positions corresponding to the management request in the user interface. The embodiment provided by the application avoids repeated operations by simply managing the session, and effectively improves the session processing efficiency.

Description

Instant messaging session management method, device, system, equipment and medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a system, a device, and a medium for managing an instant messaging session.
Background
The instant messaging software is software for realizing online chatting and exchanging through instant messaging. One is a C/S architecture, which adopts a client/server form, and a user needs to install and download client software in the using process. One is in a B/S architecture, namely a browser/server form, instant messaging software in the form directly takes the Internet as a medium, and the client does not need to install any software.
With the development of instant messaging software in the field of enterprise office, enterprise-level instant messaging software developed based on the field of enterprise office comes. However, when enterprise instant messaging software used in the field of enterprise office faces problems of various application scenarios, different business requirements, and the like, a single operation cannot meet the requirements of users.
Disclosure of Invention
In view of the above-mentioned drawbacks and deficiencies in the prior art, it is desirable to provide an instant messaging session management method, apparatus, system, device, and medium to solve the problem of low session processing efficiency of existing enterprise instant messaging software.
In a first aspect, an embodiment of the present invention provides an instant messaging session management method, where the method includes:
detecting a management request input in a user interface corresponding to a session function of an instant messaging session application, wherein the management request is used for requesting to apply a grouping management strategy to a target session corresponding to the management request, and the grouping management strategy is used for adjusting a display attribute corresponding to the target session in the user interface at one time;
and responding to the management request, and displaying the target session according to display attributes, wherein the display attributes at least comprise display positions corresponding to the management request in the user interface.
In a second aspect, an embodiment of the present invention further provides an instant messaging session management apparatus, where the apparatus includes:
the system comprises a detection module, a display module and a display module, wherein the detection module is used for detecting a management request input in a user interface corresponding to a session function of an instant communication session application, the management request is used for requesting a grouping management strategy to a target session application corresponding to the management request, and the grouping management strategy is used for adjusting a display attribute corresponding to a target session in the user interface at one time;
and the display module is used for responding to the management request and displaying the target session according to the display attribute, wherein the display attribute at least comprises a display position corresponding to the management request in the user interface.
In a third aspect, an embodiment of the present invention further provides an instant messaging session management system, where the system includes at least one client and at least one server, and each client includes the instant messaging session management apparatus described in the second aspect.
In a fourth aspect, the present invention also provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and running on the processor, and when the processor executes the computer program, the method described in the embodiment of the present invention is implemented.
In a fifth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method described in the embodiment of the present invention.
The technical scheme provided by the invention has the following beneficial effects:
the invention provides an instant communication session management method, a device, a system, equipment and a medium, wherein the method comprises the steps of detecting a management request input in a user interface corresponding to a session function of an instant communication session application, wherein the management request is used for requesting a grouping management strategy to a target session application corresponding to the management request, and the grouping management strategy is used for adjusting a display attribute corresponding to the target session in the user interface at one time; and responding to the management request, and displaying the target session according to display attributes, wherein the display attributes at least comprise display positions corresponding to the management request in the user interface. The embodiment provided by the invention avoids repeated operation through simple management operation, and improves the conversation processing efficiency.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating an instant messaging session management method according to an embodiment of the present invention;
FIG. 2 illustrates a schematic diagram of a user interface provided by an embodiment of the present invention;
3(a) -3 (b) illustrate a further user interface schematic provided by an embodiment of the present invention;
fig. 4 is a flowchart illustrating another instant messaging session management method according to an embodiment of the present invention;
5(a) -5 (b) are schematic diagrams illustrating yet another user interface provided by an embodiment of the invention;
fig. 6 is a flowchart illustrating a further instant messaging session management method according to an embodiment of the present invention;
7(a) -7 (b) are schematic diagrams illustrating yet another user interface provided by an embodiment of the present invention;
FIG. 8 is a schematic diagram of a user interface for managing packets provided by an embodiment of the present invention;
fig. 9 is a flowchart illustrating a further instant messaging session management method according to an embodiment of the present invention;
fig. 10 is an interaction diagram illustrating an instant messaging session management method according to an embodiment of the present invention;
fig. 11(a) -11 (d) are schematic diagrams illustrating user interfaces for a management grouping operation and a new grouping operation provided by the embodiment of the invention.
FIG. 12 illustrates a user interface diagram for processing an "@ me" conversation group as provided by an embodiment of the present invention;
FIG. 13 is a schematic diagram of a user interface for processing "unread" conversation groups according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of an instant messaging session management device provided by an embodiment of the present invention;
fig. 15 shows a schematic structural diagram of an instant messaging session management system provided by an embodiment of the present invention;
fig. 16 shows a schematic structural diagram of an electronic device provided in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
Instant messaging software developed based on enterprises requires a user to repeatedly operate a plurality of sessions in different application scenarios. For example, when a plurality of art associates follow up with a plurality of items, a group corresponding to the items is generally established based on different items, such as the group [ G104], the group [ YY44], and the user can follow up with the items in different group sessions. Assuming that the user a simultaneously follows the items corresponding to the group [ G104] and the group [ YY44], the user a may determine the group [ G104] session or the group [ YY44] session through the search function when operating the instant messaging software, where the two sessions may be different in location in the user interface of the instant messaging software, and the user may need to trigger the search function once each time the user operates the two sessions.
For another example, when the operation and maintenance co-worker receives the feedback problem of the client, the operation and maintenance co-worker and the client establish a session through the instant messaging software, the operation and maintenance co-worker performs message consultation in the operation and maintenance group inside the enterprise, that is, the operation and maintenance group corresponds to a session, and when the operation and maintenance co-worker receives the feedback, the operation and maintenance co-worker usually needs to start a search function once. Even when the customer feedback problem is solved, multiple groups are involved to participate in the problem solving, and the operation and maintenance staff need to continuously search the corresponding group session to check the problem solving progress.
For the application scenario, the current user interface of the instant messaging session application has low management processing efficiency for the instant messaging session. For example, the top function may place the display positions corresponding to multiple sessions desired by the user at the top of the user interface, but it can also achieve arbitrary adjustment of the display positions of multiple sessions according to the needs of the user. The session grouping function can roughly pack a plurality of sessions, for example, roughly divide the plurality of sessions into sessions to be processed or processed sessions based on the processing state of the sessions.
The instant messaging session management method provided by the invention can effectively solve various problems existing in different application scenes through one-click operation, and effectively improve the processing efficiency of the instant messaging session.
In order to more clearly understand the inventive concept provided by the present invention, the test case management method proposed by the present invention is described below with reference to fig. 1 to 8.
The instant messaging session application refers to an application program for implementing an instant messaging session, or called an instant messaging client, or called instant messaging software, which needs to be installed in the electronic device to interact with a server, so as to implement information exchange between different clients.
An instant messaging session refers to a set of session messages for communication between user a and user B, or a set of messages for communication between user a and a plurality of other users. The instant communication session includes a single chat session and a group session. The single chat session refers to a session message set for communication between two users, and the group session refers to a session message set for communication between three or more users.
The session grouping refers to classifying one or more instant communication sessions according to a grouping management policy to obtain a session set, or called a session list. For example, "pending" session packets, "@ me" session packets, "unread" session packets, and the like. Wherein the grouping management strategy is used for adjusting the display position corresponding to the target session in the user interface at one time
Referring to fig. 1, fig. 1 is a flowchart illustrating an instant messaging session management method according to an embodiment of the present invention, which may be implemented by an instant messaging session management apparatus configured in an electronic device. The method comprises the following steps:
step 101, a management request input in a user interface corresponding to a session function of an instant messaging session application is detected.
The management request is used for requesting to apply a group management policy to a target session corresponding to the management request, and the group management policy is used for adjusting display attributes corresponding to the target session in the user interface at one time.
And 102, responding to the management request, and displaying the target session according to the display attribute. Wherein the display attribute includes at least a display position corresponding to the management request within the user interface.
In the above steps, the grouping management policy includes, but is not limited to, a user-defined grouping policy and a default grouping policy.
Detecting a management request input in a user interface corresponding to a session function of an instant messaging session application may include: and detecting a grouping management request input by a grouping function control displayed in a user interface corresponding to the session function of the instant messaging session application. Alternatively, a session grouping management request input for at least one target session presented within a user interface is detected.
The user interfaces of the instant messaging session application corresponding to the session functionality may include, but are not limited to, one user interface, two or more user interfaces. When two or more user interfaces exist, the user interfaces can be divided into user interfaces corresponding to the functions, operation sub-interfaces and the like according to the progressive relation of the functions. For example, the user interface corresponding to the group functionality control may be referred to as a group user interface.
As shown in fig. 2, fig. 2 is a schematic diagram of a user interface provided by the embodiment of the present invention. The user interface includes, but is not limited to, the content shown in fig. 2. The user interface 21 includes a function icon display area 211, wherein the user interface corresponding to the session function includes a presentation area 212 corresponding to the session group, a presentation area 213 specified with the session content, and the like. Where presentation area 212 corresponding to a session group includes a plurality of groups created by default by the system, such as a "pending" session group, an "@ me" session group, an "unread" session group, etc., and one or more groups customized by the user. The "most recent" is shown in bold, indicating that a list of currently existing sessions is presented in the presentation area 212 corresponding to the session group. Session 2121 may include one or more group sessions, one or more single chat sessions, and so on. The presentation area 213 defined for the session content is a chat content for presenting a group session or a chat record of a single chat session. And displaying the corresponding chat records in response to the selection operation input by the user.
Alternatively, the management request may include a packet management request and a session packet management request, where the packet management request is used to directly manage the session packet. The session group management request is used to directly manage the session.
When the grouping functionality control includes one or more of a session closing sub-control, a management sub-control, and a new adding sub-control, detecting a grouping management request input by the grouping functionality control displayed in a user interface corresponding to the session functionality of the instant messaging session application may include:
detecting a grouping management request which is input aiming at the session closing sub-control and corresponds to the session closing sub-control; alternatively, the first and second electrodes may be,
detecting a grouping management request corresponding to the management child control and input aiming at the management child control; alternatively, the first and second electrodes may be,
and detecting a grouping management request corresponding to the newly added child control and input for the newly added child control.
Optionally, the management request further comprises a session group management request. Detecting a management request input in a user interface corresponding to a session function of an instant messaging session application may include:
a session group management request is detected for at least one target session input exposed within a user interface.
Responding to the management request, and displaying the target session according to the display attribute, wherein the method comprises the following steps:
acquiring display attributes including display positions corresponding to the session groups corresponding to the session closing sub-controls in the user interface, wherein the display positions corresponding to the sessions which are closed in the session groups are acquired;
determining the session which is closed in the session group as a target session;
and re-showing the target session in the user interface according to the display position corresponding to the session group corresponding to the session closing sub-control in the user interface and the display position corresponding to the session which is closed in the session group. After receiving the management request input by the user, the session which is closed is once again shown in the user interface.
As shown in fig. 3(a), fig. 3(a) -3 (b) illustrate a further schematic diagram of a user interface provided by an embodiment of the present invention. The user enters a selection operation for the "…" icon, and in response to this operation, a sub-interface, which may also be referred to as a drop-down menu, or a pop-up window, is presented in the user interface. And displaying the sub-control for closing the conversation, the sub-control for managing and the sub-control for adding newly in the sub-interface. As shown in fig. 3(a), the close session child control may be "closed session" shown in the figure, the management child control may be "management group", and the new child control may be "new group". "Next, the user inputs the selected operation for" closed session ", and in response to this operation, the previously closed session of user A is presented within the interface as shown in FIG. 3 (b). Fig. 3(b) is a schematic diagram of another user interface provided by the embodiment of the present invention, wherein bold "to-be-processed" indicates the currently displayed conversation group.
Detecting a first selected operation input in the user interface aiming at an operation area corresponding to the grouping function control;
responding to the first selected operation, displaying an operation sub-interface corresponding to the grouping function control in the user interface, wherein the operation sub-interface at least comprises an operation area corresponding to a session closing sub-control;
detecting a second selected operation input aiming at the operation area corresponding to the session closing sub-control;
and responding to the second selected operation to obtain a grouping management request corresponding to the session closing sub-control.
Determining the session which is closed in the session group as a target session;
acquiring display attributes of the target session, wherein the display attributes comprise a display position corresponding to the session group corresponding to the session closing sub-control in the user interface and a display position corresponding to the session which is closed in the session group;
and in the user interface, redisplaying the target session according to the display position of the session group corresponding to the session closing sub-control in the user interface and the display position corresponding to the session which is closed in the session group.
Optionally, a session list corresponding to the "to-be-processed" packet is displayed on the client of the current user, and if other clients of the current user mark session attributes in the session list, the server will synchronously update the new session attributes marked by the other clients. For example, the user D may log in to an instant messaging client through different electronic devices, such as a client (referred to as a first client) that logs in to the iOS device, and a client (referred to as a second client) that logs in to the computer device. The equipment for installing the first client side detects that the input session attribute contained in the list to be processed is marked, and then a marking result is sent to the server side; the server receives list data to be processed of a current user, which is sent by a first client; and the server side sends the data of the list to be processed to the second client side so as to realize synchronous display of the data of the list to be processed displayed on the first client side and the second client side. The pending list data refers to one or two or more sessions contained in the pending packet, and a tag attribute of each session. The flag attribute may include, but is not limited to, whether the pending flag is completed, a message number flag within the session, and the like.
The background logic of the packets to be processed provided by the embodiment of the invention realizes the packets to be processed by identifying the corresponding identifiers to be processed. Thus, the update of the session state contained by the "pending" packet is independent of whether the session has read a state. Cancelling a session contained within a "pending" packet may be accomplished by removing the session directly from the "pending" packet, or by closing the session directly, if desired.
And the closed session is re-opened, and the closed session still has a pending identifier, so that the session is still displayed in a session list corresponding to the "pending" group after the session is re-opened.
The embodiment provided by the invention completes the processing of the conversation at one time through the management request input by the user, thereby effectively improving the processing efficiency of the conversation.
In order to further improve the processing efficiency of the instant communication session packet, the packet can be added according to the requirement of the user, and the display position of the added packet can be adjusted by combining the management packet function. Referring to fig. 4, fig. 4 is a flowchart illustrating another instant messaging session management method according to an embodiment of the present invention, which can be implemented by an instant messaging session management apparatus configured in an electronic device. The method comprises the following steps:
step 401, detecting a first selected operation input in a user interface for an operation area corresponding to a group function control;
402, responding to the first selected operation, displaying an operation sub-interface corresponding to the grouping function control in the user interface, wherein the operation sub-interface also comprises an operation area corresponding to the newly added sub-control;
step 403, detecting a third selected operation input aiming at the operation area corresponding to the newly added child control;
step 404, responding to the third selection operation, displaying an operation sub-interface corresponding to the newly added sub-control in the user interface, wherein the operation sub-interface corresponding to the newly added sub-control comprises an operation area corresponding to the session addition sub-control and a name operation area corresponding to the newly added group, the operation area corresponding to the session addition sub-control comprises at least one session icon and/or session addition sub-control, and each session icon is in one-to-one correspondence with a single chat session or a group session;
step 405, detecting a fourth selected operation input aiming at the session icon or the session addition sub-control;
step 406, responding to a fourth selected operation to obtain a grouping management request corresponding to the new add child control;
step 407, determining a session to be newly added in the session group as a target session;
step 408, acquiring display attributes of the target session, including a display position corresponding to the session group corresponding to the newly added child control in the user interface, a display position corresponding to the session to be newly added in the session group, and a group name corresponding to the session group;
step 409, in the user interface, displaying the target session according to the display position of the session group corresponding to the newly added child control in the user interface, the display position corresponding to the session to be newly added in the session group and the group name corresponding to the session group.
Optionally, the display attribute further includes a group name corresponding to the management request.
As shown in fig. 5(a), fig. 5(a) -5 (b) illustrate a further schematic diagram of a user interface provided by an embodiment of the present invention. The user enters a selection operation for the "…" icon, and in response to this operation, a sub-interface, which may also be referred to as a drop-down menu, or a pop-up window, is presented in the user interface. And displaying the sub-control for closing the conversation, the sub-control for managing and the sub-control for adding newly in the sub-interface. The user inputs a selection operation for the "new packet", and in response to the operation, the content corresponding to the new packet is displayed in the interface shown in fig. 5(b), which includes the session to be added and the customized packet name.
According to the embodiment provided by the invention, the processing efficiency of the conversation grouping is effectively improved by performing approximate one-click operation on the conversation grouping.
In order to further improve the processing efficiency of the instant communication session grouping, the single session record can be managed according to the requirement of the user. Referring to fig. 6, fig. 6 is a flowchart illustrating a further instant messaging session management method according to an embodiment of the present invention, where the method may be implemented by an instant messaging session management apparatus configured in an electronic device. The method comprises the following steps:
601, detecting a session grouping management request input aiming at least one target session displayed in a user interface;
step 602, responding to the session group management request, and displaying the target session according to the display attribute, where the display attribute at least includes a display position corresponding to the session group management request in the user interface.
The method for detecting the session grouping management request input aiming at least one target session displayed in the user interface comprises the following steps:
detecting a fifth selection operation aiming at least one target session input displayed in the user interface;
responding to the fifth selected operation, displaying an operation sub-interface corresponding to the target session in the user interface, wherein the operation sub-interface comprises at least one operation area, and the operation areas correspond to the grouping management sub-controls corresponding to the session grouping function one by one or correspond to the session management sub-controls corresponding to the session management function one by one;
checking a sixth selected operation input aiming at the operation area corresponding to the grouping management sub-control in the operation sub-interface;
responding to the sixth selected operation to obtain a session grouping management request corresponding to the grouping management sub-control;
and responding to the session grouping management request, and displaying the target session according to the display attribute.
Wherein, responding to the session group management request, displaying the target session according to the display attribute, comprises:
acquiring display attributes of the target session, wherein the display attributes comprise a display position of a session group corresponding to the group management sub-control in a user interface and a display position of the target session corresponding to the group management sub-control in the session group;
and displaying the target session in the user interface according to the display position of the session group corresponding to the group management sub-control in the user interface and the display position of the target session in the session group corresponding to the group management sub-control.
As shown in fig. 7(a), fig. 7(a) -7 (b) illustrate still another user interface diagram provided by the embodiment of the present invention. And displaying the conversation groups in a display area of the user interface corresponding to the conversation groups, wherein the conversation groups can be default groups of the system or customized groups of the user according to the needs.
In the currently displayed latest conversation list, the user selects an operation aiming at the conversation input of the user A, and in response to the operation, an operation sub-interface is displayed in the user interface, wherein the operation sub-interface is a popup window or a menu sub-interface corresponding to the conversation of the user A. The operation sub-interface comprises grouping management sub-controls corresponding to the session grouping function in a one-to-one correspondence mode, or session management sub-controls corresponding to the session management function in a one-to-one correspondence mode. Wherein the grouping management sub-control can be "add to pending", "add to grouping", etc. as shown in fig. 7 (a). The session management child control may be "close message reminder", "view history message", "write mail", "close session", etc. as shown in fig. 7 (a). And the grouping management sub-control is used for classifying the conversation into a certain conversation group. The session management child control is used to manage the properties or application purpose of the session itself.
A user's selection operation for "add to pending" is received, and in response to this operation, the session of user a is displayed in the session group corresponding to "pending", as shown in fig. 7 (b). While the session of the user a is displayed, the number of sessions included in the "to-be-processed" session group is updated and displayed, and as shown in fig. 7(a), the number of sessions included in the "to-be-processed" session group is 2 before the session of the user a is added and the number of sessions included in the "to-be-processed" session group is 3 after the session of the user a is added.
The instant messaging session management method provided by the embodiment of the invention can effectively improve the processing efficiency of the instant messaging session by classifying and aggregating the instant messaging session.
The selection operation provided by the invention can be a click operation implemented by a user through a touch display screen or a click operation implemented by an input device such as a mouse, a touch pen and the like. The selection operation and the like can also be performed by voice control.
Alternatively, within the user interface, the user may click on the functionality child control shown in FIG. 7(a) to effect application of the group management policy. For example, if the user desires to apply a group management policy corresponding to "@ me" or "unread", the user may click "close message alert", and in response to the click, the "@ me" conversation group in the user interface does not contain the user a @ me message.
That is, detecting an administrative request entered within a user interface of an instant messaging session application may include:
the method comprises the steps of detecting a grouping management strategy application request input in a user interface, wherein the grouping management strategy application request is used for requesting to screen conversations contained in the user interface according to preset keywords so as to determine at least two target conversations. And responding to the application request of the group management strategy, automatically searching all the conversations of the user interface according to the preset keywords corresponding to the group management strategy, and screening to obtain the groups corresponding to the group management strategy according to the keywords. The preset keywords include, but are not limited to: @ me, @ owner, unread logo, or custom keywords, etc
The 'to-be-processed' group is a set of conversation messages which are not processed at present, the to-be-processed identification is marked by a user, and therefore one-key addition is achieved, and the group is a default group of the system.
The "@ me" packet refers to a set obtained by aggregating the session message according to "@ me" or "@ owner" when the "@ me" or "@ owner" field appears in the session message. This packet is the system default packet.
An "unread" packet refers to a collection of session messages that are in an unread state. This packet is the system default packet.
In the above steps, the user may create the conversation group according to the own requirement, or may adjust the display position of the conversation group according to the own requirement. For example, a user may adjust presentation of enabled conversation groups within a designated location area within a user interface in response to an enable operation by clicking on the enable operation. The designated location area includes, but is not limited to, a presentation area (also referred to as a conversation group bar presentation area) corresponding to a conversation group that is dedicated to presenting the conversation group. The designated location area may be disposed within the user interface or appear on the user interface. Or by thumbnail icon display, etc. The designated position area is arranged in the user interface, so that the conversation processing efficiency of the user can be effectively improved.
Alternatively, the new session packet may be deleted from presentation in the newly added location area by disabling the operation. That is, a disabling operation input in the user interface is detected, and in response to the disabling operation, no new conversation group is presented in a newly added location area in the user interface. By enabling or disabling the change of the presentation attribute of the conversation group, the one-touch operation does not need to be repeated for many times, which effectively improves the efficiency of the user in processing the conversation.
Optionally, after performing a new grouping operation in the user interface, the method includes:
detecting a selected operation input in the user interface aiming at an operation area corresponding to the grouping function control;
responding to the selected operation, and displaying an operation sub-interface corresponding to the grouping function control in the user interface, wherein the operation sub-interface at least comprises an operation area corresponding to the management sub-control;
detecting a selected operation input aiming at an operation area corresponding to the management sub-control;
responding to the selected operation to obtain a grouping management request corresponding to the management child control;
responding to the grouping management request, and displaying a management sub-interface corresponding to the management sub-control in a user interface, wherein at least one conversation grouping icon generated in advance is displayed in the management sub-interface;
detecting a drag operation input for a target conversation grouping icon in at least one conversation grouping icon in the management sub-interface;
and in response to the dragging operation, updating the icon display position of the target conversation group icon in the management sub-interface, wherein the icon display position is used for determining the display position of the conversation group corresponding to the target conversation group icon in the user interface.
Such as the user interface shown in fig. 8. Fig. 8 is a schematic diagram of a user interface for managing grouping provided by the embodiment of the present invention. A user may perform a sorting operation on the plurality of packets at the user interface.
For example, in the user interface shown in fig. 8, the user may drag the "development" packet to the top direction of the user interface through a drag operation, and adjust the "development" packet to be behind the "pending" packet.
On the basis of the embodiment, each conversation group is correspondingly displayed on the user interface and can be realized in a JSON character string form. That is, detecting a drag operation input for a target conversation group within a user interface, may include:
acquiring a grouping position character string of a target conversation group before a sorting operation is selected;
acquiring the current position of a target session group and a corresponding target position when the sequencing operation is finished;
adjusting the current position of the target session group in the group position character string to be a corresponding target position when the sorting operation is finished, and obtaining a new group position character string;
and displaying the target conversation group according to the new group position character string in the user interface.
Optionally, embodiments provided by the present invention may employ JSON strings to store the ordering results of the conversation groups. When the session packet is a new packet or a enabled packet, the display position identifier corresponding to the new packet may be automatically added to the end of the packet display position ordering result.
And when the conversation group is a deletion group or a forbidden group, automatically deleting the display position identifier corresponding to the conversation group in the group display position sequencing result. Optionally, if the session group is located at a non-end position of the packet presentation position ordering result, after deleting the presentation position identifier corresponding to the session group, moving the packet position identifier behind the presentation position identifier forward. For example, it is desirable to delete session packet 4, whose id is 63. The packet display position ordering result before the session packet 4 is deleted is as follows: jsonstr [ { "id": 63 "," type ": 3}, {" id ": 66", "type": 2}, { "id": 69 "," type ": 1} ]; after the session group 4 is deleted, the group display position ordering result is:
jsonstr [ { "id": 66 "," type ": 2}, {" id ": 69", "type": 1} ]. Where type represents the type of packet.
The embodiment provided by the invention can meet the requirement of the user for randomly adjusting the display position of the conversation group by directly inputting the sequencing operation in the user interface, effectively improves the processing efficiency of the conversation and also improves the use satisfaction degree of the user to the instant communication conversation application.
After the instant communication session application completes the operation of adding or applying the default packet, the speed of session processing of different clients is further increased. Referring to fig. 9, fig. 9 is a flowchart illustrating a further instant messaging session management method according to an embodiment of the present invention, which can be implemented by an electronic device having a session application installed. The method comprises the following steps:
step 701, sending a session grouping synchronization request to a server, where the session grouping synchronization request is used to request to obtain session grouping data of a current user from the server;
in step 702, session packet data is received from a server, the session packet data including session packets associated with a current user.
In the above steps, the instant messaging session application is initially installed on the electronic device, or the session grouping function is initially applied in the instant messaging session application, or after a new session grouping is added in the instant messaging session application, the client of the instant messaging session application needs to synchronize the packet data with the packet data of the server, so as to improve the processing efficiency of the session.
Optionally, sending the session packet synchronization request to the server may include:
detecting a packet synchronization operation input in a user interface;
and responding to the packet synchronization operation, and sending a session packet synchronization request to the server.
Optionally, sending the session packet synchronization request to the server may include:
detecting the recognition result of the new equipment identification or a new grouping request;
and responding to the identification result or the new grouping request, and sending a conversation grouping synchronization request to the server.
Optionally, sending the session packet synchronization request to the server, further comprising:
detecting that the packet synchronization operation is the first synchronization, and generating a full-volume synchronization request which is used for requesting to acquire full-volume session packet data from a server; alternatively, the first and second electrodes may be,
and if the packet synchronization operation is detected to be non-primary synchronization, generating an incremental synchronization request, wherein the incremental synchronization request is used for requesting to acquire incremental session packet data from the server.
In the above steps, the total amount of session packet data refers to all session packets related to the current user.
The incremental session packet data refers to session packet variation obtained by comparing the session packet data of the current user after two times of synchronization.
Optionally, when the session packet synchronization request is a full synchronization request, receiving session packet data from the server, including:
the session packet data received from the server side is the session packet related to the current user and directly issued by the server side and read from the database.
Optionally, when the session packet synchronization request is an incremental synchronization request, receiving session packet data from the server includes:
when the server determines that the newly added session packet of the current user exists, the session packet data received from the server is issued after the server performs sequencing processing on the newly added session packet;
when the server determines that the newly added session packet of the current user does not exist, the session packet data received from the server is the session packet of the current user stored by the server and directly issued by the server.
The instant messaging session management method provided by the embodiment of the invention has the advantages that the server compares the session grouping data stored in the server and the database, so that the problem of repeated full retransmission caused by synchronous grouping failure is avoided, the expandability and universality of newly added session grouping can be ensured according to the service expansion requirement, and the session processing efficiency is effectively improved.
To more clearly understand the synchronization process provided by embodiments of the present invention, the following description is further extended in conjunction with fig. 8. Referring to fig. 10, fig. 10 is an interaction diagram of an instant messaging session management method according to an embodiment of the present invention, where the method includes the following steps:
in step 801, a client sends a session packet synchronization request to a server.
In step 802, the server receives a session packet synchronization request sent by the client.
Step 803, the server side responds to the session packet synchronization request, and the server side judges whether the current user has the relevant session packet data.
Step 803a, when the server determines that the current user has the relevant session packet data, the server directly issues the session packet data relevant to the current user to the client.
Step 803b, when the server determines that the current user does not have the relevant session packet data, the server reads the session packet data stored in the database and relevant to the current user.
Step 804, after reading the session packet data related to the current user stored in the database, the server side determines whether the current user has a newly added session packet.
Step 804a, when the server determines that the current user has the newly added session packet, the server inserts the newly added session packet into the end of the session packet data read from the database.
Step 805, the server side issues the newly added session group and a display position identifier corresponding to the newly added session group;
step 804b, when the server determines that the current user does not have the newly added session group, the server directly issues the session group data read by the database.
In the above steps, the server side responds to the session group synchronization request and inquires the session group data corresponding to the sender of the session group synchronization request; the server may then identify the session packet synchronization request.
When the session packet synchronization request is identified as a full-volume synchronization request, it indicates that the client is synchronized for the first time. At this moment, the client receives the conversation grouped data from the server, the server judges whether the conversation grouped data of the current user exist or not firstly, when the first synchronization is carried out, the judgment result shows that the conversation grouped data of the current user do not exist, the server reads the current conversation grouped data stored in the database, then the comparison processing is carried out on the conversation grouped data read from the database, and when the comparison processing result shows that the conversation grouped data stored in the database do not exist in the newly added conversation groups, the server directly issues the conversation grouped data read from the database.
When the session packet synchronization request is identified as an incremental synchronization request, it indicates that the client is not a first-time synchronization. Since only whether first synchronization or non-first synchronization is recognized by the recognition of the session packet synchronization request, the efficiency of processing session data is further improved. When the server identifies that the session packet synchronization request is an incremental synchronization request, the server determines whether session packet data related to the current user exists, because the session packet data is not synchronized for the first time, the server may retain the session packet data related to the current user, but whether the session packet data is complete or not, and whether the server cannot determine the session packet data or not. Further, the server reads the session packet data related to the current user from the database, and then compares the saved session packet data related to the current user with the new session packet data related to the current user read from the database.
And when the comparison processing result shows that the conversation grouped data stored in the database has the newly added conversation group, the server inserts the newly added conversation group into the end of the conversation grouped data which is retained by the server and is related to the current user, and then sends the newly added conversation group and the display position mark corresponding to the newly added conversation group to the client.
When the comparison result shows that the session packet data stored in the database has the newly added session packet, the session packet data related to the current user and retained by the server is complete, and the session packet data related to the current user and retained by the server can be directly issued.
Optionally, the server receives a session grouping synchronization request sent by the client, responds to the session grouping request, and queries grouping information related to a user name corresponding to the client to determine whether the user name already has a preset grouping with an integrated specification, where the preset grouping is a default session grouping provided by the server. And when judging that no complete preset group exists, reading the latest preset group information in the database, and then judging whether a newly added preset group exists by the server. And when judging that no new preset group exists, directly issuing the preset group information read from the database. And when judging that a new preset group exists, inserting the new preset group into the rearmost end of the sequencing character string, and then issuing the new preset group and the corresponding display position of the new preset group in the sequencing character string. By the processing, the expansibility and the universality of the session packet can be ensured, and the dynamic expansion of the preset packet according to the service requirement is fully met. And when judging that the complete preset packet exists, the server side directly sends the preset packet information to the client side.
The instant messaging session management method provided by the embodiment of the invention has the advantages that the server compares the session grouping data stored in the server and the database, so that the problem of repeated full retransmission caused by synchronous grouping failure is avoided, the expandability and universality of newly added session grouping can be ensured according to the service expansion requirement, and the session processing efficiency is effectively improved.
The instant messaging session management method provided by the embodiment of the present invention is further described below with reference to fig. 11(a) -13 by taking a complete session packet processing interface as an example. The instant communication session management method is executed by the electronic equipment with the session application installed.
Alternatively, as shown in fig. 11(a) -11 (d), fig. 11(a) -11 (d) illustrate schematic user interfaces for managing a grouping operation and a new grouping operation provided by an embodiment of the present invention.
In fig. 11(a), a selection operation for the management grouping function sub-control input within the user interface is detected, which is exemplarily described as a touch operation of the user, but the selection operation includes, but is not limited to, a touch operation, and may also include a selection operation implemented by an input device such as a mouse or a stylus.
In response to the selection operation, an operation sub-interface corresponding to the management group is presented in the user interface, as shown in fig. 11 (b). In fig. 11(b), assuming that the sorting is performed for the task 2 group, the user drags the task 2 presented in the user interface to the presentation position behind the group to be processed by the drag operation, as shown in fig. 11 (c).
In fig. 11(a), if a selection operation input for the newly added group function sub-control in the user interface is detected, in response to the operation, an operation sub-interface corresponding to the newly added group function sub-control is displayed in the user interface, as shown in fig. 11 (d). In fig. 11(d), various operations input with respect to the operation sub-interface are detected. The operations include, but are not limited to, an enter group name operation, a select session operation, an add session control operation, a delete group control operation, a save control operation, and the like. When the user selects the operation of adding the session control, all session lists of the current user can be displayed through one user interface in response to the operation of adding the session control, and the user can select the target session through the selection operation and add the target session into the session group. The session packet may be added or already existing.
As shown in FIG. 12, FIG. 12 is a schematic diagram of a user interface for processing "@ me" conversation groups provided by an embodiment of the invention. The "@ me" conversation group is the result of aggregating conversations exposed by the user interface according to either @ me or @ owner as keywords. Alternatively, the "@ me" conversation group may display a conversation message in an unread state. A session window may be expanded by entering a click operation for a specific session in the session list displayed below the "@ me" session group within the user interface shown in fig. 11. The read session of the "@ me" session group can be globally unified, that is, the state of the read session can be globally unified into read in all the session groups related to the session. For example, the "@ me" session group contains session a, the "pending" session group also contains session a, and when session a in the "@ me" session group has been read by the user, the states of session a in the "@ me" session group and session a in the "pending" session group are both changed to read.
Optionally, when a new @ me message is generated by the session, the session list corresponding to the "@ me" session group may be directly triggered to be updated in real time. For example, a new "@ me" session message appears, then an "@ me" session is added to the "@ me" session group, if the session already exists in the session list corresponding to the "@ me" session group, the update of the "@ me" session message is updated and displayed in the session list corresponding to the "@ me" session group in real time, and the mark of the number of times of being displayed by the "@" is displayed.
As shown in fig. 13, fig. 13 is a schematic diagram of a user interface for processing "unread" session packets according to an embodiment of the present invention. An "unread" session packet refers to the aggregate result of all unread sessions. A user interface shown in fig. 13 may expand the conversation window by inputting a click operation for a specific conversation in the conversation list displayed below the "unread" conversation group. The sessions that have been read for the "unread" session packets may be globally unified, i.e., the state of the read sessions may be globally unified as read among all session packets associated with the session.
Alternatively, when a session generates a new unread message, the session list corresponding to the "unread" session group can be directly triggered to be updated in real time. For example, if a new unread session message appears, a session corresponding to the unread message is newly added to the unread session group. And if the conversation already exists in the conversation list corresponding to the unread conversation group, updating and displaying the unread conversation message in the conversation list corresponding to the unread conversation group in real time, and displaying the accumulated statistic value of the unread identification.
The instant messaging session management method provided by the embodiment of the invention effectively improves the processing efficiency of the session by directly taking the session as a management object, and improves the satisfaction degree of the user using the instant messaging application through rich user interface operation interfaces.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Optionally, referring to fig. 14, fig. 14 is a schematic structural diagram illustrating an instant messaging session management apparatus according to an embodiment of the present invention. The apparatus may be configured in an electronic device having an instant messaging session application installed, the apparatus comprising:
a detecting module 1301, configured to detect a management request input in a user interface corresponding to a session function of an instant messaging session application, where the management request is used to request a group management policy to be applied to a target session corresponding to the management request, and the group management policy is used to adjust a display attribute corresponding to the target session in the user interface at one time;
a presentation module 1302, configured to respond to the management request, present the target session according to a display attribute, where the display attribute at least includes a display position corresponding to the management request in the user interface.
Optionally, the management request includes a packet management request, and the detection module is further configured to:
detecting a grouping management request input aiming at a grouping function control shown in a user interface, wherein the grouping function control at least comprises at least one of a closing conversation sub-control and an adding sub-control, the closing conversation sub-control is used for re-showing a target conversation which is closed in a conversation group currently being processed in the user interface in a one-time mode in the conversation group currently being processed, and the adding sub-control is used for creating a new conversation group in the user interface in a one-time mode.
Optionally, the management request includes a session group management request, and the detection module is configured to:
a session group management request is detected for at least one target session input exposed within a user interface.
Optionally, the detection module is further configured to:
detecting a first selected operation input in the user interface aiming at an operation area corresponding to the grouping function control;
responding to the first selected operation, displaying an operation sub-interface corresponding to the grouping function control in the user interface, wherein the operation sub-interface at least comprises an operation area corresponding to the session closing sub-control;
detecting a second selected operation input aiming at the operation area corresponding to the session closing sub-control;
and responding to the second selected operation to obtain a grouping management request corresponding to the session closing sub-control.
Optionally, the detection module is configured to detect a first selected operation input in the user interface for an operation region corresponding to the group function control;
responding to the first selected operation, displaying an operation sub-interface corresponding to the grouping function control in the user interface, wherein the operation sub-interface further comprises an operation area corresponding to the newly-added sub-control;
detecting a third selected operation input aiming at the operation area corresponding to the new adding sub-control;
responding to the third selected operation, displaying an operation sub-interface corresponding to the new added sub-control in the user interface, wherein the operation sub-interface corresponding to the new added sub-control comprises an operation area corresponding to a session adding sub-control and a name operation area corresponding to a new added group, the operation area corresponding to the session adding sub-control comprises at least one session icon and/or the session adding sub-control, and each session icon is in one-to-one correspondence to a single chat session or a group session;
detecting a fourth selected operation input for the session icon or the session addition sub-control;
and responding to the fourth selected operation to obtain a grouping management request corresponding to the new added child control.
When the management request is a grouping management request corresponding to the session closing child control, the display module is used for:
determining a session that has been closed in the session group as the target session;
acquiring display attributes of the target session, wherein the display attributes comprise a display position of a session group corresponding to the session closing sub-control in the user interface and a display position corresponding to a session which is closed in the session group;
and in the user interface, redisplaying the target session according to the display position of the session group corresponding to the session closing sub-control in the user interface and the display position corresponding to the closed session in the session group.
When the management request is a grouping management request corresponding to a newly added child control, the display module is used for:
determining a session to be newly added in the session group as the target session;
acquiring display attributes including a display position corresponding to a conversation group corresponding to the newly added child control in the user interface, a display position corresponding to a conversation to be newly added in the conversation group, and a group name corresponding to the conversation group;
and displaying the target session in the user interface according to the display position of the session group corresponding to the newly added sub-control in the user interface, the display position corresponding to the session to be newly added in the session group and the group name corresponding to the session group.
Optionally, the detection module is further configured to:
detecting a third selection operation input for the target session;
responding to the third selected operation, displaying an operation sub-interface corresponding to the target session in the user interface, wherein the operation sub-interface comprises at least one operation area, the operation areas correspond to grouping management sub-controls corresponding to session grouping functions one to one, and the grouping management sub-controls are used for adjusting the target session from the currently processed session group to the session group corresponding to the grouping management sub-controls;
checking a fourth selected operation input aiming at an operation area corresponding to the grouping management sub-control in the operation sub-interface;
and responding to the fourth selected operation to obtain a session grouping management request corresponding to the grouping management sub-control.
Optionally, when the management request is a session group management request, the presentation module is further configured to:
and displaying the target session at a preset display position in a session group corresponding to the session group management request in the user interface, wherein the session group management request corresponds to a group management sub-control.
Optionally, the apparatus further comprises:
a sending module, configured to send a session group synchronization request to a server, where the session group synchronization request is used to request to obtain session group data of a current user from the server;
a receiving module, configured to receive session packet data from a server, where the session packet data includes session packets related to the current user.
Optionally, the sending module further includes: a request generation subunit;
the request generation subunit is to:
and detecting that the packet synchronization operation is the first synchronization, and generating a full-volume synchronization request which is used for requesting to acquire the full volume of session packet data from the server. Alternatively, the first and second electrodes may be,
the request generation subunit is to:
and if the packet synchronization operation is detected to be non-primary synchronization, generating an incremental synchronization request, wherein the incremental synchronization request is used for requesting to acquire incremental session packet data from the server.
Optionally, when the session packet synchronization request is a full synchronization request, the receiving unit is configured to receive session packet data from the server, where the session packet data is a session packet that is directly issued by the server and is read from a database and related to the current user.
Optionally, when the session packet synchronization request is an incremental synchronization request and the server determines that a newly added session packet of the current user exists, the receiving unit is configured to receive the session packet data from the server, where the session packet data is the newly added session packet sent by the server and the display position identifier corresponding to the newly added session packet.
When the session packet synchronization request is an incremental synchronization request and the server determines that no newly added session packet of the current user exists, the receiving unit is configured to receive session packet data from the server, where the session packet data is a session packet of the current user stored by the server and directly issued by the server.
The instant messaging session management device provided by the embodiment of the invention effectively improves the processing efficiency of the session by directly taking the session as a management object, and improves the satisfaction degree of the user using the instant messaging application through rich user interface operation interfaces.
Optionally, please refer to fig. 15 for understanding the instant messaging session management system according to the embodiment of the present invention, as shown in fig. 15, fig. 15 is a schematic structural diagram of the instant messaging session management system according to the embodiment of the present invention. The system comprises: one or more clients 1401 and one or more servers 1402 in which an instant communication session management apparatus as described in fig. 14 can be configured.
Optionally, the server 1402 may further be configured to: receiving a session grouping synchronization request sent by a client, responding to the session grouping synchronization request, and issuing corresponding session grouping data to the client corresponding to the session grouping synchronization request.
Optionally, the server is further configured to: responding to the session grouping synchronization request, and judging whether the current user has related session grouping data; and when judging that the current user has the relevant session packet data, directly transmitting the relevant session packet data of the current user to the client. And reading the session packet data related to the current user stored in the database when judging that the current user does not have the related session packet data.
After the server reads the session packet data related to the current user stored in the database, the server is further configured to: judging whether a new session group exists in the current user; when judging that the current user has the newly added conversation group, inserting the newly added conversation group into the tail of the conversation group data read from the database; and issuing the newly added conversation group and the display position identification corresponding to the newly added conversation group.
According to the instant messaging session management system provided by the embodiment of the invention, the client directly takes the session as a management object, so that the processing efficiency of the session is effectively improved. And the server side dynamically identifies the synchronous data of the session packet, thereby realizing the expanded management of the session packet and ensuring the transmission accuracy of the session packet data.
Referring to fig. 16, fig. 16 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device may be a terminal such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, other Mobile Internet Devices (MID), a PAD, etc. Fig. 16 does not limit the structure of the electronic apparatus. As shown in fig. 16, the electronic device includes at least a memory 1501 and a processor 1502. For example, the electronic device may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 16.
In particular, the processes described above with reference to the flow diagrams of fig. 1-13 may be implemented as computer software programs, according to embodiments provided by the present invention. For example, embodiments provided herein include a computer program product comprising a computer program embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium. The computer program performs the above-described functions defined in the system of the present invention when executed by a Central Processing Unit (CPU).
It should be noted that the computer readable media shown in the present disclosure may be computer readable signal media or computer readable storage media or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present invention, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present invention. Each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments provided by the present invention may be implemented by software or hardware. The described units or modules may also be provided in a processor, and may be described as: a processor includes a detection module and a presentation module. Where the names of these units or modules do not in some cases constitute a limitation of the unit or module itself, for example, the detection module may also be described as a "module for detecting a management request entered in a user interface of an instant messaging session application corresponding to a session function".
As another aspect, embodiments of the present invention further provide a computer-readable storage medium, which may be included in the electronic device described in the foregoing embodiments; or may be separate and not incorporated into the electronic device. The computer readable storage medium stores one or more programs which, when executed by one or more processors, perform the instant messaging session management methods described herein.
The foregoing description is only exemplary of the preferred embodiments of the invention and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features and (but not limited to) features having similar functions disclosed in the present invention are mutually replaced to form the technical solution.

Claims (18)

1. A method for managing an instant messaging session, the method comprising:
detecting a management request input in a user interface corresponding to a session function of an instant messaging session application, wherein the management request is used for requesting to apply a grouping management policy to a target session corresponding to the management request, and the grouping management policy is used for adjusting a display attribute corresponding to the target session in the user interface at one time;
and responding to the management request, and displaying the target session according to the display attribute, wherein the display attribute at least comprises a display position corresponding to the management request in the user interface.
2. The method of claim 1, wherein the management request comprises a packet management request, and the detecting the management request input in a user interface corresponding to a session function of the instant messaging session application comprises:
detecting a grouping management request input aiming at a grouping function control shown in the user interface, wherein the grouping function control at least comprises at least one of a closing conversation sub-control and an adding sub-control, the closing conversation sub-control is used for re-showing a target conversation which is closed in a conversation group currently being processed in the user interface in a one-time mode in the conversation group currently being processed, and the adding sub-control is used for creating a new conversation group in the user interface in a one-time mode.
3. The method of claim 1, wherein the management request comprises a session grouping management request, and wherein the detecting of the management request input in the user interface corresponding to the session function of the instant communication session application comprises:
a session group management request is detected for at least one target session input exposed within the user interface.
4. The method of claim 2, wherein when the group functionality control comprises a close session sub-control, then the detecting a group management request input for a group functionality control exposed within the user interface comprises:
detecting a first selected operation input in the user interface aiming at an operation area corresponding to the grouping function control;
responding to the first selected operation, displaying an operation sub-interface corresponding to the grouping function control in the user interface, wherein the operation sub-interface at least comprises an operation area corresponding to the session closing sub-control;
detecting a second selected operation input aiming at the operation area corresponding to the session closing sub-control;
and responding to the second selected operation to obtain a grouping management request corresponding to the session closing sub-control.
5. The method of claim 2, wherein when the group functionality control comprises a new add child control, then the detecting a group management request input for a group functionality control exposed within the user interface comprises:
detecting a first selected operation input in the user interface aiming at an operation area corresponding to the grouping function control;
responding to the first selected operation, displaying an operation sub-interface corresponding to the grouping function control in the user interface, wherein the operation sub-interface further comprises an operation area corresponding to the newly-added sub-control;
detecting a third selected operation input aiming at the operation area corresponding to the new adding sub-control;
responding to the third selected operation, displaying an operation sub-interface corresponding to the new added sub-control in the user interface, wherein the operation sub-interface corresponding to the new added sub-control comprises an operation area corresponding to a session adding sub-control and a name operation area corresponding to a new added group, the operation area corresponding to the session adding sub-control comprises at least one session icon and/or the session adding sub-control, and each session icon is in one-to-one correspondence to a single chat session or a group session;
detecting a fourth selected operation input for the session icon or the session addition sub-control;
and responding to the fourth selected operation to obtain a grouping management request corresponding to the new added child control.
6. The method according to claim 1 or 2, wherein when the management request is a group management request corresponding to a session closing child control, the presenting the target session according to the display attribute in response to the management request comprises:
determining a session that has been closed in the session group as the target session;
acquiring display attributes of the target session, wherein the display attributes comprise a display position of a session group corresponding to the session closing sub-control in the user interface and a display position corresponding to a session which is closed in the session group;
and in the user interface, redisplaying the target session according to the display position of the session group corresponding to the session closing sub-control in the user interface and the display position corresponding to the closed session in the session group.
7. The method according to claim 1 or 2, wherein when the management request is a group management request corresponding to a newly added child control, the responding to the management request and presenting the target session according to the display attribute further comprises:
determining a session to be newly added in the session group as the target session;
acquiring display attributes including a display position corresponding to a conversation group corresponding to the newly added child control in the user interface, a display position corresponding to a conversation to be newly added in the conversation group, and a group name corresponding to the conversation group;
and displaying the target session in the user interface according to the display position of the session group corresponding to the newly added sub-control in the user interface, the display position corresponding to the session to be newly added in the session group and the group name corresponding to the session group.
8. The method of claim 3, wherein the detecting a session group management request for at least one target session input exposed within the user interface comprises:
detecting a third selected operation input for the target session;
responding to the third selected operation, displaying an operation sub-interface corresponding to the target session in the user interface, wherein the operation sub-interface comprises at least one operation area, the operation areas correspond to grouping management sub-controls corresponding to session grouping functions one to one, and the grouping management sub-controls are used for adjusting the target session from the currently processed session group to the session group corresponding to the grouping management sub-controls;
checking a fourth selected operation input aiming at an operation area corresponding to the grouping management sub-control in the operation sub-interface;
and responding to the fourth selected operation to obtain a session grouping management request corresponding to the grouping management sub-control.
9. The method according to claim 3 or 6, wherein, when the management request is a session group management request, the presenting the target session at the display position in response to the management request comprises:
and displaying the target session at a preset display position in a session group corresponding to the session group management request in the user interface, wherein the session group management request corresponds to a group management sub-control.
10. The method of claim 1, further comprising:
sending a session grouping synchronization request to a server, wherein the session grouping synchronization request is used for requesting to acquire session grouping data of a current user from the server;
receiving session packet data from the server, the session packet data including session packets associated with the current user.
11. The method of claim 10, wherein sending a session packet synchronization request to a server comprises:
when detecting that the session packet synchronization request is synchronized for the first time, generating a full-volume synchronization request, wherein the full-volume synchronization request is used for requesting to acquire full-volume session packet data from the server; alternatively, the first and second electrodes may be,
and if the session packet synchronization request is detected to be non-primary synchronization, generating an incremental synchronization request, wherein the incremental synchronization request is used for requesting to acquire incremental session packet data from the server.
12. The method of claim 10, wherein the receiving session packet data from the server when the session packet synchronization request is a full volume synchronization request comprises:
the session packet data received from the server side is the session packet which is read from the database and is related to the current user and directly issued by the server side.
13. The method of claim 10, wherein when the session packet synchronization request is an incremental synchronization request, the receiving session packet data from the server comprises:
when the server determines that the newly added session group of the current user exists, the session group data received from the server is the newly added session group issued by the server and the display position identifier corresponding to the newly added session group;
and when the server determines that the newly added session group of the current user does not exist, the session group data received from the server is the session group of the current user, which is directly issued by the server and stored by the server.
14. An instant messaging session management apparatus, the apparatus comprising:
the system comprises a detection module, a display module and a display module, wherein the detection module is used for detecting a management request input in a user interface corresponding to a session function of an instant messaging session application, the management request is used for requesting to apply a grouping management strategy to a target session corresponding to the management request, and the grouping management strategy is used for adjusting a display attribute corresponding to the target session in the user interface at one time;
and the display module is used for responding to the management request and displaying the target session according to the display attribute, wherein the display attribute at least comprises a display position corresponding to the management request in the user interface.
15. An instant messaging session management system, characterized in that the system comprises at least one client and at least one server, each of the clients comprising an instant messaging session management apparatus according to claim 14.
16. The system according to claim 15, wherein the server is configured to receive a session packet synchronization request sent by the client, and in response to the session packet synchronization request, send corresponding session packet data to the client corresponding to the session packet synchronization request.
17. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1-13 when executing the program.
18. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-13.
CN202210488308.XA 2022-05-06 2022-05-06 Instant messaging session management method, device, system, equipment and medium Active CN114979053B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210488308.XA CN114979053B (en) 2022-05-06 2022-05-06 Instant messaging session management method, device, system, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210488308.XA CN114979053B (en) 2022-05-06 2022-05-06 Instant messaging session management method, device, system, equipment and medium

Publications (2)

Publication Number Publication Date
CN114979053A true CN114979053A (en) 2022-08-30
CN114979053B CN114979053B (en) 2024-03-15

Family

ID=82980865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210488308.XA Active CN114979053B (en) 2022-05-06 2022-05-06 Instant messaging session management method, device, system, equipment and medium

Country Status (1)

Country Link
CN (1) CN114979053B (en)

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020155823A1 (en) * 2001-04-24 2002-10-24 Medius, Inc. Method and apparatus for monitoring packet based communications in a mobile environment
US20060174207A1 (en) * 2005-01-31 2006-08-03 Sharp Laboratories Of America, Inc. Systems and methods for implementing a user interface for multiple simultaneous instant messaging, conference and chat room sessions
US20070094341A1 (en) * 2005-10-24 2007-04-26 Bostick James E Filtering features for multiple minimized instant message chats
US20170034226A1 (en) * 2015-07-29 2017-02-02 International Business Machines Corporation Group chat with dynamic background images and content from social media
CN108173738A (en) * 2016-12-08 2018-06-15 阿里巴巴集团控股有限公司 Methods of exhibiting and device
CN108989190A (en) * 2018-08-09 2018-12-11 北京北信源信息安全技术有限公司 Establish the method and instant communication client of the grouping of chat sessions item
CN109547335A (en) * 2018-12-28 2019-03-29 天津字节跳动科技有限公司 Conversation message treating method and apparatus
CN109729004A (en) * 2018-12-29 2019-05-07 天津字节跳动科技有限公司 Conversation message top set treating method and apparatus
CN109799938A (en) * 2017-11-16 2019-05-24 腾讯科技(深圳)有限公司 Control display management method, terminal device and computer readable storage medium
CN110138645A (en) * 2019-03-29 2019-08-16 腾讯科技(深圳)有限公司 Display methods, device, equipment and the storage medium of conversation message
CN110915191A (en) * 2017-07-12 2020-03-24 T移动美国公司 Determining a time for dividing real-time text content and displaying the divided content in a separate speech bubble
CN111431793A (en) * 2020-03-18 2020-07-17 腾讯科技(成都)有限公司 Session management method, device, computer equipment and storage medium
CN112532512A (en) * 2020-12-16 2021-03-19 深圳市镜玩科技有限公司 Session message processing method, related device, equipment and medium
CN112783393A (en) * 2019-11-06 2021-05-11 腾讯科技(深圳)有限公司 Session display method, device and storage medium in instant communication application
CN112947823A (en) * 2021-01-27 2021-06-11 北京达佳互联信息技术有限公司 Session processing method, device, equipment and storage medium
CN113010254A (en) * 2021-03-23 2021-06-22 腾讯科技(深圳)有限公司 Interaction method and device based on group channel, computer equipment and storage medium
WO2021169792A1 (en) * 2020-02-26 2021-09-02 北京达佳互联信息技术有限公司 Message viewing method and apparatus

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020155823A1 (en) * 2001-04-24 2002-10-24 Medius, Inc. Method and apparatus for monitoring packet based communications in a mobile environment
US20060174207A1 (en) * 2005-01-31 2006-08-03 Sharp Laboratories Of America, Inc. Systems and methods for implementing a user interface for multiple simultaneous instant messaging, conference and chat room sessions
US20070094341A1 (en) * 2005-10-24 2007-04-26 Bostick James E Filtering features for multiple minimized instant message chats
US20170034226A1 (en) * 2015-07-29 2017-02-02 International Business Machines Corporation Group chat with dynamic background images and content from social media
CN108173738A (en) * 2016-12-08 2018-06-15 阿里巴巴集团控股有限公司 Methods of exhibiting and device
CN110915191A (en) * 2017-07-12 2020-03-24 T移动美国公司 Determining a time for dividing real-time text content and displaying the divided content in a separate speech bubble
CN109799938A (en) * 2017-11-16 2019-05-24 腾讯科技(深圳)有限公司 Control display management method, terminal device and computer readable storage medium
CN108989190A (en) * 2018-08-09 2018-12-11 北京北信源信息安全技术有限公司 Establish the method and instant communication client of the grouping of chat sessions item
CN109547335A (en) * 2018-12-28 2019-03-29 天津字节跳动科技有限公司 Conversation message treating method and apparatus
CN109729004A (en) * 2018-12-29 2019-05-07 天津字节跳动科技有限公司 Conversation message top set treating method and apparatus
CN113938456A (en) * 2018-12-29 2022-01-14 天津字节跳动科技有限公司 Session message top processing method and device
CN110138645A (en) * 2019-03-29 2019-08-16 腾讯科技(深圳)有限公司 Display methods, device, equipment and the storage medium of conversation message
CN112783393A (en) * 2019-11-06 2021-05-11 腾讯科技(深圳)有限公司 Session display method, device and storage medium in instant communication application
WO2021169792A1 (en) * 2020-02-26 2021-09-02 北京达佳互联信息技术有限公司 Message viewing method and apparatus
CN111431793A (en) * 2020-03-18 2020-07-17 腾讯科技(成都)有限公司 Session management method, device, computer equipment and storage medium
CN112532512A (en) * 2020-12-16 2021-03-19 深圳市镜玩科技有限公司 Session message processing method, related device, equipment and medium
CN112947823A (en) * 2021-01-27 2021-06-11 北京达佳互联信息技术有限公司 Session processing method, device, equipment and storage medium
CN113010254A (en) * 2021-03-23 2021-06-22 腾讯科技(深圳)有限公司 Interaction method and device based on group channel, computer equipment and storage medium

Also Published As

Publication number Publication date
CN114979053B (en) 2024-03-15

Similar Documents

Publication Publication Date Title
US11044286B2 (en) Information exchange method and terminal
JP6418704B2 (en) Content item template
US20200120051A1 (en) Apparatus and method for message reference management
US8407290B2 (en) Dynamic data sharing using a collaboration-enabled web browser
US11799810B2 (en) Managing message attachments
CN102769687A (en) Mass texting system and method
US20160283447A1 (en) Providing interactive preview of content within communication
US8140991B2 (en) Drag and drop rule topology
JP2023505983A (en) End-to-end email tag prediction
US8239462B2 (en) Method and system for composing electronic messages
EP2932461A2 (en) Creating tasks based on newsfeed user entries
CN114979053A (en) Instant messaging session management method, device, system, equipment and medium
JP2023535173A (en) messaging service
CN115061601A (en) Electronic document processing method and device, terminal and storage medium
CN112511405B (en) Sharing method and device for social application, server and storage medium
CN112887803B (en) Session processing method, device, storage medium and electronic equipment
US20240214439A1 (en) Shared capture session
CN111831944B (en) Multimedia processing method, device, client, server and storage medium
US20240195772A1 (en) Information interaction/processing method, tag deletion method, and schedule creation method and device
CN117972200A (en) Method and device for recommending response information
CN117850946A (en) Interaction method, device, equipment and storage medium
CN114780190A (en) Message processing method and device, electronic equipment and storage medium
CN113706209A (en) Operation data processing method and related device

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