WO2024017348A1 - Management method and apparatus for instant messaging session, and electronic device and medium - Google Patents

Management method and apparatus for instant messaging session, and electronic device and medium Download PDF

Info

Publication number
WO2024017348A1
WO2024017348A1 PCT/CN2023/108446 CN2023108446W WO2024017348A1 WO 2024017348 A1 WO2024017348 A1 WO 2024017348A1 CN 2023108446 W CN2023108446 W CN 2023108446W WO 2024017348 A1 WO2024017348 A1 WO 2024017348A1
Authority
WO
WIPO (PCT)
Prior art keywords
sorting
session
target
custom
setting item
Prior art date
Application number
PCT/CN2023/108446
Other languages
French (fr)
Chinese (zh)
Inventor
胡俊潇
Original Assignee
北京字跳网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2024017348A1 publication Critical patent/WO2024017348A1/en

Links

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/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Definitions

  • the present disclosure relates to the field of computer technology, and in particular, to an instant messaging session management method, device, electronic device and medium.
  • the present disclosure provides an instant messaging session management method, device, electronic device, and medium to solve the problem of insufficient flexibility in session management in the prior art.
  • an instant messaging session management method including:
  • a first interface is displayed, the first interface includes: a session sorting setting item, the session sorting setting item is used for the user to select a target session sorting method from at least two session sorting methods. ;
  • the sessions corresponding to the target tag are sorted according to the target session sorting mode.
  • an instant messaging session management device including:
  • a display module configured to display a first interface in response to a triggering operation on the target tag, the first interface including: a session sorting setting item, the session sorting setting item is used for the user to select one of at least two session sorting methods. A way to sort target sessions;
  • a processing module configured to sort the sessions corresponding to the target tag according to the target session sorting method in response to the operation of the target session sorting mode selected through the session sorting setting item.
  • the present disclosure provides an electronic device, including: one or more processors; a memory; and one or more computer programs; wherein the one or more computer programs are stored in the memory; and its features
  • the method is that when the one or more processors execute the one or more computer programs, the electronic device implements the instant messaging session management method according to any one of the first aspects.
  • the present disclosure provides a computer-readable storage medium including computer instructions that, when executed on an electronic device, cause the electronic device to perform an instant messaging session as described in any one of the first aspects. management methods.
  • the user performs a triggering operation on the target tag, and in response to the triggering operation on the target tag,
  • the triggering operation of the sign displays a first interface.
  • the first interface includes: a session sorting setting item.
  • the session sorting setting item is used by the user to select a target session sorting method from at least two session sorting methods; therefore, the user
  • the target session sorting mode can be flexibly selected through the session sorting setting item, and in response to the operation of the target session sorting mode selected through the session sorting setting item, the sessions corresponding to the target tag are sorted according to the target session sorting mode.
  • the optional session sorting methods in the session sorting setting item include at least two session sorting methods, the user can select a target session sorting method from at least two session sorting methods according to needs, thus improving the flexibility of instant messaging session sorting.
  • Figure 1 is a schematic flow chart of an embodiment of an instant messaging session management method provided by the present disclosure
  • FIGS. 2A-2F5 are schematic diagrams of the management interface of the instant messaging session provided by the present disclosure.
  • FIG. 3 is a schematic diagram of another management interface of an instant messaging session provided by the present disclosure.
  • FIGS. 4A-4B are schematic diagrams of the management interface of the instant messaging session provided by the present disclosure.
  • FIG. 5 is a schematic structural diagram of an instant messaging session management device provided by the present disclosure.
  • the present disclosure improves instant messaging session sorting by providing two or more session sorting methods so that users can flexibly select one session sorting method or flexibly switch among multiple session sorting methods according to their own needs. flexibility.
  • buttons involved in the interfaces in the following embodiments are all examples. As long as they can achieve the same function, there are no restrictions on the specific names of the buttons.
  • FIG. 1 is a schematic flow chart of an embodiment of an instant messaging session management method provided by the present disclosure. As shown in Figure 1, the method of this embodiment is as follows:
  • S100 In response to the triggering operation on the target tag, display a first interface, the first interface including: a session sorting setting item, the session sorting setting item is used for the user to select a target session sorting method from at least two session sorting methods. .
  • Labels are used to identify the groups corresponding to the session. Different labels correspond to different groups.
  • the same session can correspond to different labels.
  • the same label includes different sessions.
  • the new label can have no session or one or more sessions.
  • FIG. 2A is a schematic diagram of a management interface for an instant messaging session provided by the present disclosure, which includes but is not limited to the following tags: issues to be followed up, suppliers, quality issues, and signal-to-noise ratio management.
  • the sessions corresponding to the questions to be followed up include: Session A, Session B, Session C and Session D.
  • the target label takes the question label to be followed as an example:
  • one possible implementation method is:
  • the user triggers the question label 2011 to be followed up in the group column. For example, it can be triggered by selecting the question label 2011 to be followed up in the group column and right-clicking.
  • a first interface 2021 is displayed, and the first interface 2021 includes: session sorting setting item 2031.
  • the user clicks the first button 2012 corresponding to the question to be followed up in the message flow bar to trigger the target label.
  • the first interface 2022 is displayed. , the first interface 2022 includes: session sorting setting item 2032.
  • the content displayed by the first interface 2021 and the first interface 2022 is the same, but the display positions in the client interface are different.
  • At least two session sorting methods in this disclosure are described by taking two session sorting methods as examples, which are: a system sorting method according to the first sorting strategy and a custom sorting method.
  • the system sorting method according to the first sorting strategy includes but is not limited to: sorting according to the time of the last message in the session, sorting according to the time when the target tag is added to the session, or sorting in random order.
  • the system sorting method according to the first sorting strategy is described by taking the message time sorting method as an example.
  • the message time sorting method is used to sort according to the time of the last message in the session.
  • Custom sorting method In the defined sorting method, users can sort the sessions corresponding to the target label through drag and drop operations. Including but not limited to the following two situations:
  • One case is: when the custom sorting method is selected for the first time, the order is sorted according to the adding time of the session, and the user is supported to adjust the order of sessions through drag and drop operations; the other case is: when the custom sorting method is not selected for the first time, the order is sorted according to the previous time.
  • the final session sorting obtained by the custom sorting method and the adding time order of newly added sessions are sorted. It also supports users to adjust the session order through drag and drop operations.
  • the session sorting setting items can display at least two session sorting methods step by step in the form of submenus.
  • the first interface 2021 displays a session sorting button 20211. After the user clicks the session sorting button 20211, a submenu is displayed: message time sorting. Option 202111 and custom sorting option 202112.
  • the first interface 2022 displays a session sorting button 20221. After the user clicks the session sorting button 20221, a submenu is displayed: message time sorting option 202211 and custom sorting option 202212.
  • the session sorting setting item can also directly display at least two session sorting methods side by side in the first interface.
  • the first interface 2023 displays message time sorting options 20231 and custom sorting options 20232.
  • the user selects a target session sorting method from at least two session sorting methods through the session sorting setting item. For example, if the user selects the message time sorting option, the target session sorting method is the message time sorting method; the user selects the custom sorting option, then Target sessions are sorted by the custom sorting option.
  • This step includes but is not limited to the following possible implementation methods:
  • the target session sorting method includes: custom sorting method.
  • the initial sorting result is displayed, and in response to the custom sorting operation performed by the user on the initial sorting result, the final sorting result is displayed;
  • the initial sorting results include one of the following: an initial sorting result obtained by sorting based on the adding time of the session corresponding to the target tag; a final sorting result obtained based on the previous custom sorting method.
  • the custom sorting method further includes the scenario where the custom sorting method is selected for the first time and the scenario where the custom sorting method is not selected for the first time:
  • the sessions corresponding to the target tag are sorted according to the adding time of the session, and the initial sorting result is obtained.
  • the session adding time sequence is: session A, session B, session C, and session D. That is to say, session A is added earlier than session B, session B is added earlier than session C, and session C is added earlier than session D.
  • the sorting is done according to the custom sorting method as shown in Figure 2F1, and the session sorting is as follows Session D, Session C, Session B, and Session A. That is, the sessions corresponding to the target tag are sorted according to the adding time of the session, and the initial sorting result is: session D, session C, session B, and session A in order.
  • the custom sorting method allows users to adjust the order of sessions through drag and drop operations. Therefore, it can be divided into two situations. One is that after the initial sorting results are obtained, the user adjusts the order of sessions in the initial sorting results through drag and drop operations. In order, based on the user's drag operation on the target session in the initial sorting result, the sorting of the target session is adjusted to the target position corresponding to the drag operation, and the final sorting result corresponding to this custom sorting method is obtained. The other is to use the initial sorting result as the final sorting result corresponding to this custom sorting method if the user no longer performs drag and drop operations after the initial sorting result is obtained.
  • Session A For example, after obtaining the initial sorting result, the user selects Session A and drags it to before Session B.
  • the final sorting result of this custom sorting method is shown in Figure 2F2.
  • the session order is: Session D, Session C, Session A and session B.
  • the initial sorting result will be the final sorting result of this custom sorting method.
  • the final sorting result of this custom sorting method is as shown in Figure 2F1. shown, in order: session D, session C, session B, and session A.
  • Scenario 1 After the previous custom sorting method and before triggering this custom sorting method, at least one session is added to the target label.
  • At least one added session is ranked before the final result obtained by the previous custom sorting method according to the time of addition, and the initial sorting result is obtained.
  • the final result obtained by the previous custom sorting method is shown in Figure 2F2
  • the session order is: session D, session C, session A, and session B.
  • the user switches from the previous customized sorting method to other sorting methods, and A new session is added during the mode.
  • new session E and session F are added.
  • the adding time of session E is earlier than the adding time of session F.
  • session E and session F will be arranged according to the adding time.
  • the initial sorting result is obtained, as shown in Figure 2F3: the session order is: session F, session E, session D, session C, session A, and session B.
  • newly added sessions are sorted according to the time of addition, and sorted according to the time of addition from near to far, that is, the sessions with the closest addition time to the current time are ranked first.
  • the final sorting result obtained by the previous custom sorting method is determined as the initial sorting result.
  • the final result obtained by the previous custom sorting method is shown in Figure 2F2
  • the session order is: session D, session C, session A, and session B. If the user switches from the previous custom sorting method to another sorting method and does not add a new session during the other sorting method, the final sorting result obtained by the previous custom sorting method will be determined as the initial sorting result, that is, the initial sorting result is as shown in the figure As shown in 2F2, the session order is: session D, session C, session A, and session B.
  • the custom sorting method allows the user to adjust the order of sessions through drag and drop operations. Therefore, it can be divided into two situations.
  • One is that after the user obtains the initial sorting result, The drag-and-drop operation adjusts the order of sessions in the initial sorting result.
  • the sorting of the target session is adjusted to the target position corresponding to the drag-and-drop operation to obtain this customized sorting method.
  • the corresponding final sorting result is to use the initial sorting result as the final sorting result corresponding to this custom sorting method if the user no longer performs drag and drop operations after the initial sorting result is obtained.
  • the target session sorting method includes: a system sorting method according to the first sorting strategy.
  • the sessions corresponding to the target tag are sorted according to the system sorting mode of the first sorting policy.
  • the system sorting method of the first sorting strategy is to sort according to the time of the last message in the session.
  • the session corresponding to the target tag is Sort by the time of the last message in the conversation.
  • the order of the sending time of the last message in the session from the current time to the current time is: session B, session A, session D, session C.
  • the session sorting result obtained according to the message time sorting method is as shown in Figure 2F5. shown, the sessions are sorted as follows: session B, session A, session D, session C.
  • the system sorting method of the first sorting strategy is to sort according to the time when the session joins the target tag.
  • the The sessions corresponding to the target label are sorted according to the time when the session was added to the target label.
  • the order in which sessions are added to the target tag from the nearest to the current time is session B, session A, session C, and session D.
  • the session sorting order is: session B , Session A, Session C, Session D.
  • the system sorting method of the first sorting strategy is sorting in random order.
  • the sessions corresponding to the target tag are sorted in random order. Sort.
  • the sessions of the target label include: Session B, Session A, Session C, and Session D
  • they are sorted in random order as: Session B, Session A, Session C, and Session D.
  • session A, session B, session C, session D, etc. may be the same or different each time in random order, and the present disclosure does not limit this.
  • the user performs a triggering operation on the target tag, and in response to the triggering operation on the target tag, a first interface is displayed.
  • the first interface includes: a session sorting setting item, and the session sorting setting item is used by the user to start from at least Select one of the target session sorting methods from the two session sorting methods; therefore, the user can flexibly select the target session sorting method through the session sorting setting item, and in response to the operation of the target session sorting method selected through the session sorting setting item, The sessions corresponding to the target tag are sorted according to the target session sorting method. Since the optional session sorting methods in the session sorting setting item include at least two session sorting methods, the user can select a target session sorting method from at least two session sorting methods according to needs, thus improving the flexibility of instant messaging session sorting.
  • the method further includes: displaying a drag-and-drop operation guidance interface, the drag-and-drop operation guidance interface being used to guide the user to adjust the sessions in the initial sorting results through the drag-and-drop operation. Sort.
  • the initial sorting result is obtained as shown in Figure 2F1, which displays the drag-and-drop operation guidance interface, as shown in Figure 3.
  • the steps are to select the target session and drag the target session to the target location.
  • the user can conveniently learn the operation method.
  • the user adds a new conversation, and in response to the user's operation of adding a conversation, the newly added conversation is ranked before the final sorting result.
  • the final sorting result is shown in Figure 2F4.
  • the session sorting order is: session F, session E, session D, session C, session B, and session A.
  • the user adds session G, and session G is ranked before session F.
  • the sessions are sorted as follows: session G, session F, session E, session D, session C, session B, and session A.
  • the final sorting result is shown in Figure 2F5.
  • the session sorting order is: session B, session A, session D, session C.
  • the user adds session H, and session H is ranked before session B.
  • the session order is: session H, session B, session A, session D, session C.
  • tags are a tool for users to customize session groupings, that is, users can create tags according to their own needs and label related sessions with the same tag, so that these sessions are classified into the same session grouping. . Because labels are conversation groupings set by users independently, when there is a conversation under a label that the user is more concerned about, there is a need to fix it at the top or first few positions of the conversation list corresponding to the label, and this The solution provides a way for users to customize sorting through manual drag and drop, which can meet this demand.
  • Figure 5 is a schematic structural diagram of an instant messaging session management device provided by the present disclosure. As shown in Figure 5, the device in this embodiment includes: a display module 501 and a processing module 502, wherein,
  • the display module 501 is configured to display a first interface in response to a triggering operation on the target tag.
  • the first interface includes: a session sorting setting item.
  • the session sorting setting item is used for the user to select one of at least two session sorting methods. A way to sort target sessions;
  • the processing module 502 is configured to, in response to the operation of the target session sorting mode selected through the session sorting setting item, sort the sessions corresponding to the target tag according to the target session sorting mode.
  • the at least two session sorting methods include:
  • users can sort the sessions corresponding to the target tag through drag and drop operations;
  • the first sorting strategy includes one of the following: sorting according to the time of the last message in the session, sorting according to the time when the target tag is added to the session, or sorting in random order.
  • the target session sorting method includes: customized sorting method
  • the processing module 502 is specifically configured to display the initial sorting result in response to the operation of the custom sorting method selected through the session sorting setting item, and to display the final sorting result in response to the custom sorting operation performed by the user on the initial sorting result. sort results;
  • the initial sorting results include one of the following:
  • the processing module 502 is specifically configured to sort the sessions corresponding to the target tag according to the adding time of the session in response to the operation of the custom sorting method selected through the session sorting setting item for the first time to obtain an initial sorting. result;
  • the processing module 502 is specifically configured to: if at least one session is added to the target tag after the previous custom sorting method and before this custom sorting method is triggered, the at least one session will be added according to The added time is ranked before the final sorting result obtained by the previous custom sorting method, and the initial sorting result is obtained;
  • the final sorting result obtained by the previous custom sorting method will be determined as the initial sorting result.
  • the processing module 502 is specifically configured to adjust the sorting of the target session to the target position corresponding to the drag operation based on the user's drag operation on the target session in the initial sorting result, to obtain the current The final sorting result corresponding to the custom sorting method.
  • the display module 501 is also configured to display a drag operation guidance interface, and the drag operation guidance interface is used to guide the user to adjust the sorting of sessions in the initial sorting result through the drag operation.
  • the target session sorting method includes: a system sorting method according to the first sorting strategy;
  • the processing module 502 is specifically configured to sort the sessions corresponding to the target tag according to the system sorting method of the first sorting strategy in response to the operation of the system sorting method according to the first sorting strategy selected through the session sorting setting item. .
  • the processing module is also configured to 502 respond to the user's operation of adding a session and rank the added session before the final sorting result.
  • the device of this embodiment can be used to perform the steps of each of the above method embodiments.
  • the implementation principles and technical effects are similar and will not be described again here.
  • the present disclosure also provides an electronic device, including: one or more processors; a memory; and one or more computer programs; wherein the one or more computer programs are stored in the memory; the one or more When a processor executes the one or more computer programs, the electronic device implements the steps of the above method embodiments.
  • the present disclosure also provides a computer-readable storage medium, which includes computer instructions.
  • the computer instructions When the computer instructions are run on an electronic device, the electronic device causes the electronic device to perform the steps of each of the above method embodiments.
  • an instant messaging session management method including:
  • a first interface is displayed, the first interface includes: a session sorting setting item, the session sorting setting item is used for the user to select a target session sorting method from at least two session sorting methods. ;
  • the sessions corresponding to the target tag are sorted according to the target session sorting mode.
  • the at least two session sorting methods include:
  • users can sort the sessions corresponding to the target tag through drag and drop operations;
  • the first sorting strategy includes one of the following: sorting according to the time of the last message in the session, sorting according to the time when the target tag is added to the session, or sorting in random order.
  • the target session sorting method includes: customized sorting method
  • sorting the sessions corresponding to the target tag according to the target session sorting mode includes:
  • the initial sorting result is displayed, and in response to the custom sorting operation performed by the user on the initial sorting result, the final sorting result is displayed;
  • the initial sorting results include one of the following:
  • the initial sorting results are displayed, including:
  • the sessions corresponding to the target tag are sorted according to the adding time of the session, and an initial sorting result is obtained;
  • the final sorting result obtained by the previous custom sorting method is obtained. Based on the final sorting result obtained by the previous custom sorting method, we obtain to the initial sorting results.
  • the initial sorting result is obtained based on the final sorting result obtained by the previous custom sorting method, including:
  • the at least one session is added to the target tag after the previous custom sorting method and before this custom sorting method is triggered, the at least one session will be ranked in the previous custom sorting according to the time of addition.
  • the initial sorting result is obtained before the final sorting result obtained in this way;
  • the final sorting result obtained by the previous custom sorting method will be determined as the initial sorting result.
  • displaying the final sorting result includes:
  • the sorting of the target session is adjusted to the target position corresponding to the drag operation, and the final sorting result corresponding to this custom sorting method is obtained.
  • the custom sorting method selected through the session sorting setting item for the first time sorting the sessions corresponding to the target tag according to the adding time of the session, and after obtaining the initial sorting result, it also includes:
  • a drag-and-drop operation guidance interface is displayed, and the drag-and-drop operation guidance interface is used to guide the user to adjust the sorting of sessions in the initial sorting result through the drag-and-drop operation.
  • the target session sorting method includes: a system sorting method according to the first sorting strategy;
  • sorting the sessions corresponding to the target tag according to the target session sorting mode includes:
  • the sessions corresponding to the target tag are sorted according to the system sorting mode of the first sorting policy.
  • Optional also includes:
  • the added session is ranked before the final sorting result.
  • the present disclosure provides an instant messaging session management device, including: a display module configured to display a first interface in response to a triggering operation on a target tag; the first interface includes: a session sorting setting item; the session The sorting setting item is used for the user to select a target session sorting method from at least two session sorting methods;
  • the processing module is configured to sort the sessions corresponding to the target tag according to the target session sorting method in response to the operation of the target session sorting mode selected through the session sorting setting item.
  • the at least two session sorting methods include:
  • users can sort the sessions corresponding to the target label through drag and drop operations;
  • the first sorting strategy includes one of the following: sorting according to the time of the last message in the session, sorting according to the time when the target tag is added to the session, or sorting in random order.
  • the target session sorting method includes: customized sorting method
  • the processing module is specifically configured to display an initial sorting result in response to the operation of the custom sorting method selected through the session sorting setting item, and to display the final sorting in response to the custom sorting operation performed by the user on the initial sorting result. result;
  • the initial sorting results include one of the following:
  • the processing module is specifically configured to sort the sessions corresponding to the target tag according to the adding time of the session in response to the operation of the custom sorting method selected through the session sorting setting item for the first time, and obtain an initial sorting result. ;
  • the processing module is specifically configured to add at least one session to the target tag after the previous custom sorting method and before triggering this custom sorting method, then add the at least one session to the target tag.
  • the time is ranked before the final sorting result obtained by the previous custom sorting method, and the initial sorting result is obtained;
  • the final sorting result obtained by the previous custom sorting method will be determined as the initial sorting result.
  • the processing module is specifically configured to adjust the sorting of the target session to the target position corresponding to the drag operation based on the user's drag operation on the target session in the initial sorting result, and obtain the current The final sorting result corresponding to the custom sorting method.
  • the display module is also configured to display a drag operation guidance interface, and the drag operation guidance interface is used to guide the user to adjust the sorting of sessions in the initial sorting result through the drag operation.
  • the target session sorting method includes: a system sorting method according to the first sorting strategy;
  • the processing module is specifically configured to sort the sessions corresponding to the target tag according to the system sorting method of the first sorting policy in response to the operation of the system sorting method according to the first sorting strategy selected through the session sorting setting item.
  • the processing module is further configured to, in response to the user's operation of adding a session, rank the added session before the final sorting result.
  • the present disclosure also provides an electronic device, including: one or more processors; a memory; and one or more computer programs; wherein the one or more computer programs are stored in the memory; When the one or more processors execute the one or more computer programs, the electronic device implements the steps of the above method embodiments.
  • the present disclosure also provides a computer-readable storage medium, which includes computer instructions.
  • the computer instructions When the computer instructions are run on an electronic device, the electronic device causes the electronic device to execute the steps of each of the above method embodiments.
  • all or part of the functions may be implemented by software, hardware, or a combination of software and hardware.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • a computer program product includes one or more computer instructions. When computer program instructions are loaded and executed on a computer, processes or functions according to embodiments of the present disclosure are produced, in whole or in part.
  • the computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • Computer instructions may be stored in computer-readable storage media.
  • Computer-readable storage media can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or other integrated media that contains one or more available media. Available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, solid state disk (SSD)), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure relates to a management method and apparatus for an instant messaging session, and an electronic device and a medium. The method comprises: a user performing a trigger operation on a target label, and displaying a first interface in response to the trigger operation on the target label, wherein the first interface comprises a session sorting setting item, and the session sorting setting item is used by the user to select a target session sorting mode from among at least two session sorting modes. Therefore, a user can flexibly select a target session sorting mode by means of a session sorting setting item, and in response to an operation of selecting the target session sorting mode by means of the session sorting setting item, sessions corresponding to a target label are sorted according to the target session sorting mode. Since optional session sorting modes in a session sorting setting item comprise at least two session sorting modes, a user can select a target session sorting mode from among the at least two session sorting modes according to requirements, such that the flexibility of sorting instant messaging sessions is improved.

Description

即时通信会话的管理方法、装置、电子设备和介质Instant messaging session management methods, devices, electronic devices and media
本申请要求2022年7月22日递交的,标题为“即时通信会话的管理方法、装置、电子设备和介质”、申请号为202210869219.X的中国发明专利申请的优先权。This application claims priority to the Chinese invention patent application submitted on July 22, 2022, titled "Management method, device, electronic device and medium for instant messaging sessions" and application number 202210869219.X.
技术领域Technical field
本公开涉及计算机技术领域,尤其涉及一种即时通信会话的管理方法、装置、电子设备和介质。The present disclosure relates to the field of computer technology, and in particular, to an instant messaging session management method, device, electronic device and medium.
背景技术Background technique
即时通信工具因其具有便捷性、高效性等优势得到了广泛应用。Instant messaging tools have been widely used because of their convenience, efficiency and other advantages.
在即时通信工具中通常会有海量的会话需要管理,现有技术中,一般会按照会话的最后一条消息的时间对海量的会话进行排序显示。In instant messaging tools, there are usually a large number of conversations that need to be managed. In the existing technology, the large number of conversations are generally sorted and displayed according to the time of the last message of the conversation.
发明内容Contents of the invention
本公开提供了一种即时通信会话的管理方法、装置、电子设备和介质,以解决现有技术中对会话的管理不够灵活的问题。The present disclosure provides an instant messaging session management method, device, electronic device, and medium to solve the problem of insufficient flexibility in session management in the prior art.
第一方面,本公开提供一种即时通信会话的管理方法,包括:In a first aspect, the present disclosure provides an instant messaging session management method, including:
响应于对目标标签的触发操作,显示第一界面,所述第一界面包括:会话排序设置项,所述会话排序设置项用于用户从至少两种会话排序方式中选择一种目标会话排序方式;In response to the triggering operation on the target tag, a first interface is displayed, the first interface includes: a session sorting setting item, the session sorting setting item is used for the user to select a target session sorting method from at least two session sorting methods. ;
响应于通过所述会话排序设置项选择的目标会话排序方式的操作,对所述目标标签对应的会话按照所述目标会话排序方式进行排序。In response to the operation of the target session sorting mode selected through the session sorting setting item, the sessions corresponding to the target tag are sorted according to the target session sorting mode.
第二方面,本公开提供一种即时通信会话的管理装置,包括:In a second aspect, the present disclosure provides an instant messaging session management device, including:
显示模块,用于响应于对目标标签的触发操作,显示第一界面,所述第一界面包括:会话排序设置项,所述会话排序设置项用于用户从至少两种会话排序方式中选择一种目标会话排序方式;A display module, configured to display a first interface in response to a triggering operation on the target tag, the first interface including: a session sorting setting item, the session sorting setting item is used for the user to select one of at least two session sorting methods. A way to sort target sessions;
处理模块,用于响应于通过所述会话排序设置项选择的目标会话排序方式的操作,对所述目标标签对应的会话按照所述目标会话排序方式进行排序。A processing module configured to sort the sessions corresponding to the target tag according to the target session sorting method in response to the operation of the target session sorting mode selected through the session sorting setting item.
第三方面,本公开提供一种电子设备,包括:一个或多个处理器;存储器;以及一个或多个计算机程序;其中所述一个或多个计算机程序被存储在所述存储器中;其特征在于,所述一个或多个处理器在执行所述一个或多个计算机程序时,使得所述电子设备实现如第一方面任一项所述的即时通信会话的管理方法。In a third aspect, the present disclosure provides an electronic device, including: one or more processors; a memory; and one or more computer programs; wherein the one or more computer programs are stored in the memory; and its features The method is that when the one or more processors execute the one or more computer programs, the electronic device implements the instant messaging session management method according to any one of the first aspects.
第四方面,本公开提供一种计算机可读存储介质,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如第一方面任一项所述的即时通信会话的管理方法。In a fourth aspect, the present disclosure provides a computer-readable storage medium including computer instructions that, when executed on an electronic device, cause the electronic device to perform an instant messaging session as described in any one of the first aspects. management methods.
本公开实施例提供的技术方案中,通过用户对目标标签进行触发操作,响应于对目标标 签的触发操作,显示第一界面,所述第一界面包括:会话排序设置项,所述会话排序设置项用于用户从至少两种会话排序方式中选择一种目标会话排序方式;因此,用户可以通过会话排序设置项灵活的选择目标会话排序方式,响应于通过所述会话排序设置项选择的目标会话排序方式的操作,对所述目标标签对应的会话按照所述目标会话排序方式进行排序。由于会话排序设置项中可选的会话排序方式包括至少两种会话排序方式,用户可以根据需求从至少两种会话排序方式选择目标会话排序方式,因此,提高了即时通信会话排序的灵活性。In the technical solution provided by the embodiment of the present disclosure, the user performs a triggering operation on the target tag, and in response to the triggering operation on the target tag, The triggering operation of the sign displays a first interface. The first interface includes: a session sorting setting item. The session sorting setting item is used by the user to select a target session sorting method from at least two session sorting methods; therefore, the user The target session sorting mode can be flexibly selected through the session sorting setting item, and in response to the operation of the target session sorting mode selected through the session sorting setting item, the sessions corresponding to the target tag are sorted according to the target session sorting mode. Since the optional session sorting methods in the session sorting setting item include at least two session sorting methods, the user can select a target session sorting method from at least two session sorting methods according to needs, thus improving the flexibility of instant messaging session sorting.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those of ordinary skill in the art, It is said that other drawings can be obtained based on these drawings without exerting creative labor.
图1为本公开提供的一种即时通信会话的管理方法实施例的流程示意图;Figure 1 is a schematic flow chart of an embodiment of an instant messaging session management method provided by the present disclosure;
图2A-图2F5为本公开提供的即时通信会话的管理界面的示意图;Figures 2A-2F5 are schematic diagrams of the management interface of the instant messaging session provided by the present disclosure;
图3为本公开提供的另一即时通信会话的管理界面的示意图;Figure 3 is a schematic diagram of another management interface of an instant messaging session provided by the present disclosure;
图4A-图4B为本公开提供的即时通信会话的管理界面的示意图;4A-4B are schematic diagrams of the management interface of the instant messaging session provided by the present disclosure;
图5为本公开提供的一种即时通信会话的管理装置的结构示意图。FIG. 5 is a schematic structural diagram of an instant messaging session management device provided by the present disclosure.
具体实施方式Detailed ways
为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。In order to understand the above objects, features and advantages of the present disclosure more clearly, the solutions of the present disclosure will be further described below. It should be noted that, as long as there is no conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。Many specific details are set forth in the following description to fully understand the present disclosure, but the present disclosure can also be implemented in other ways different from those described here; obviously, the embodiments in the description are only part of the embodiments of the present disclosure, and Not all examples.
本公开通过提供两种或者两种以上的会话排序方式,以便于用户根据自身需求灵活的选择一种会话排序方式或者在多种会话排序方式中进行灵活的切换,从而,提高了即时通信会话排序的灵活性。The present disclosure improves instant messaging session sorting by providing two or more session sorting methods so that users can flexibly select one session sorting method or flexibly switch among multiple session sorting methods according to their own needs. flexibility.
下面以几个具体的实施例对本公开的技术方案进行描述。下述各实施例中界面中涉及的按钮的名称均为示例,只要能够实现同样功能即可,对按钮的具体名称不做限制。The technical solution of the present disclosure is described below with several specific embodiments. The names of the buttons involved in the interfaces in the following embodiments are all examples. As long as they can achieve the same function, there are no restrictions on the specific names of the buttons.
图1为本公开提供的一种即时通信会话的管理方法实施例的流程示意图,如图1所示,本实施例的方法如下:Figure 1 is a schematic flow chart of an embodiment of an instant messaging session management method provided by the present disclosure. As shown in Figure 1, the method of this embodiment is as follows:
S100:响应于对目标标签的触发操作,显示第一界面,所述第一界面包括:会话排序设置项,会话排序设置项用于用户从至少两种会话排序方式中选择一种目标会话排序方式。S100: In response to the triggering operation on the target tag, display a first interface, the first interface including: a session sorting setting item, the session sorting setting item is used for the user to select a target session sorting method from at least two session sorting methods. .
标签用于标识会话对应的分组,不同的标签对应不同的分组,同一会话可以对应不同的标签,同一标签下包括不同的会话,新建的标签下可以没有会话也可以包括一个或者多个会话,本公开的技术方案应用于标签下包括两个或者两个以上的会话场景,以标签为单位,对标签下的所有会话进行排序。 Labels are used to identify the groups corresponding to the session. Different labels correspond to different groups. The same session can correspond to different labels. The same label includes different sessions. The new label can have no session or one or more sessions. This document The disclosed technical solution is applied to scenarios where two or more conversations are included under a label, and all conversations under the label are sorted based on the label.
图2A为本公开提供的一种即时通信会话的管理界面的示意图,其中,包括但不限于如下标签:待跟进问题、供应商、质量问题和信噪比治理等。以待跟进的问题标签为例,待跟进问题对应的会话包括:会话A、会话B、会话C和会话D。Figure 2A is a schematic diagram of a management interface for an instant messaging session provided by the present disclosure, which includes but is not limited to the following tags: issues to be followed up, suppliers, quality issues, and signal-to-noise ratio management. Taking the question label to be followed up as an example, the sessions corresponding to the questions to be followed up include: Session A, Session B, Session C and Session D.
当用户需要对目标标签下的会话进行排序方式的设置时,可以通过但不限于如下的方式进入排序方式设置入口,目标标签以待跟进问题标签为例:When the user needs to set the sorting method for the conversations under the target label, he can enter the sorting method setting entrance through but not limited to the following methods. The target label takes the question label to be followed as an example:
其中,一种可能的实现方式为:Among them, one possible implementation method is:
如图2B1所示,用户在分组栏触发待跟进问题标签2011,例如,可以通过选中分组栏中的待跟进问题标签,并点击右键以触发。响应于用户对目标标签的触发,如图2C1所示,显示第一界面2021,第一界面2021中包括:会话排序设置项2031。As shown in Figure 2B1, the user triggers the question label 2011 to be followed up in the group column. For example, it can be triggered by selecting the question label 2011 to be followed up in the group column and right-clicking. In response to the user triggering the target tag, as shown in Figure 2C1, a first interface 2021 is displayed, and the first interface 2021 includes: session sorting setting item 2031.
另一种可能的实现方式为:Another possible implementation is:
如图2B2所示,用户在消息流栏点击对待跟进问题对应的第一按钮2012,以对目标标签进行触发,响应于用户对目标标签的触发,如图2C2所示,显示第一界面2022,第一界面2022中包括:会话排序设置项2032。As shown in Figure 2B2, the user clicks the first button 2012 corresponding to the question to be followed up in the message flow bar to trigger the target label. In response to the user triggering the target label, as shown in Figure 2C2, the first interface 2022 is displayed. , the first interface 2022 includes: session sorting setting item 2032.
其中,第一界面2021和第一界面2022显示的内容相同,在客户端界面中显示的位置不同。Among them, the content displayed by the first interface 2021 and the first interface 2022 is the same, but the display positions in the client interface are different.
其中,本公开中至少两种会话排序方式以两种会话排序方式为例进行描述,分别为:按照第一排序策略的系统排序方式和自定义排序方式。Among them, at least two session sorting methods in this disclosure are described by taking two session sorting methods as examples, which are: a system sorting method according to the first sorting strategy and a custom sorting method.
按照第一排序策略的系统排序方式包括但不限于:按照会话中的最后一条消息的时间进行排序、按照会话加入目标标签的时间进行排序或者按照随机顺序进行排序等。本公开各实施例中,按照第一排序策略的系统排序方式以消息时间排序方式为例进行描述,以消息时间排序方式即按照会话中最后一条消息的时间进行排序。The system sorting method according to the first sorting strategy includes but is not limited to: sorting according to the time of the last message in the session, sorting according to the time when the target tag is added to the session, or sorting in random order. In various embodiments of the present disclosure, the system sorting method according to the first sorting strategy is described by taking the message time sorting method as an example. The message time sorting method is used to sort according to the time of the last message in the session.
自定义排序方式:在定义排序方式下用户可以通过拖拽操作对目标标签对应的各会话进行排序。包括但不限于如下两种情况:Custom sorting method: In the defined sorting method, users can sort the sessions corresponding to the target label through drag and drop operations. Including but not limited to the following two situations:
一种情况是:首次选中自定义排序方式,按照会话的添加时间进行排序,同时支持用户通过拖拽操作调整会话顺序的方式;另一种情况是:非首次选中自定义排序方式,按照前一次自定义排序方式得到的最终会话排序以及新添加的会话的添加时间顺序进行排序,同时支持用户通过拖拽操作调整会话顺序的方式。One case is: when the custom sorting method is selected for the first time, the order is sorted according to the adding time of the session, and the user is supported to adjust the order of sessions through drag and drop operations; the other case is: when the custom sorting method is not selected for the first time, the order is sorted according to the previous time. The final session sorting obtained by the custom sorting method and the adding time order of newly added sessions are sorted. It also supports users to adjust the session order through drag and drop operations.
会话排序设置项可以以子菜单的方式逐级显示至少两种会话排序方式,如图2D1所示,第一界面2021显示会话排序按钮20211,用户点击会话排序按钮20211之后显示子菜单:消息时间排序选项202111和自定义排序选项202112。如图2D2所示,第一界面2022显示会话排序按钮20221,用户点击会话排序按钮20221之后显示子菜单:消息时间排序选项202211和自定义排序选项202212。The session sorting setting items can display at least two session sorting methods step by step in the form of submenus. As shown in Figure 2D1, the first interface 2021 displays a session sorting button 20211. After the user clicks the session sorting button 20211, a submenu is displayed: message time sorting. Option 202111 and custom sorting option 202112. As shown in Figure 2D2, the first interface 2022 displays a session sorting button 20221. After the user clicks the session sorting button 20221, a submenu is displayed: message time sorting option 202211 and custom sorting option 202212.
可选的,会话排序设置项还可以直接在第一界面中并列显示至少两种会话排序方式,如图2E所示,第一界面2023显示消息时间排序选项20231和自定义排序选项20232。Optionally, the session sorting setting item can also directly display at least two session sorting methods side by side in the first interface. As shown in Figure 2E, the first interface 2023 displays message time sorting options 20231 and custom sorting options 20232.
用户通过会话排序设置项从至少两种会话排序方式中选择一种目标会话排序方式,例如,用户选中消息时间排序选项,则目标会话排序方式为消息时间排序方式;用户选中自定义排序选项,则目标会话排序方式为自定义排序选项。The user selects a target session sorting method from at least two session sorting methods through the session sorting setting item. For example, if the user selects the message time sorting option, the target session sorting method is the message time sorting method; the user selects the custom sorting option, then Target sessions are sorted by the custom sorting option.
S200:响应于通过会话排序设置项选择的目标会话排序方式的操作,对所述目标标签对 应的会话按照目标会话排序方式进行排序。S200: In response to the operation of the target session sorting mode selected through the session sorting setting item, perform the target label pair The corresponding sessions are sorted according to the target session sorting method.
本步骤包括但不限于如下可能的实现方式:This step includes but is not limited to the following possible implementation methods:
其中,一种实现方式为:目标会话排序方式包括:自定义排序方式。Among them, one implementation method is: the target session sorting method includes: custom sorting method.
响应于通过所述会话排序设置项选择的自定义排序方式的操作,显示初始排序结果,响应于用户在所述初始排序结果上执行的自定义排序操作,显示最终排序结果;In response to the operation of the custom sorting method selected through the session sorting setting item, the initial sorting result is displayed, and in response to the custom sorting operation performed by the user on the initial sorting result, the final sorting result is displayed;
其中,所述初始排序结果包括下述中的一种:基于所述目标标签对应的会话的添加时间进行排序得到的初始排序结果;基于前一次自定义排序方式得到的最终排序结果。Wherein, the initial sorting results include one of the following: an initial sorting result obtained by sorting based on the adding time of the session corresponding to the target tag; a final sorting result obtained based on the previous custom sorting method.
自定义排序方式进一步包括首次选择自定义排序方式的场景和非首次选择自定义排序方式的场景:The custom sorting method further includes the scenario where the custom sorting method is selected for the first time and the scenario where the custom sorting method is not selected for the first time:
1)针对用户首次选择自定义排序方式的场景,响应于首次通过会话排序设置项选择的自定义排序方式的操作,对目标标签对应的会话按照会话的添加时间进行排序,得到初始排序结果。1) For the scenario where the user selects a custom sorting method for the first time, in response to the operation of the custom sorting method selected through the session sorting setting item for the first time, the sessions corresponding to the target tag are sorted according to the adding time of the session, and the initial sorting result is obtained.
用户首次选择按照自定义排序方式,会话添加时间顺序分别为:会话A、会话B、会话C和会话D。也就是会话A的添加时间早于会话B,会话B的添加时间早于会话C,会话C的添加时间早于会话D,则按照自定义排序方式进行排序如图2F1所示,会话排序依次为会话D、会话C、会话B和会话A。也就是对目标标签对应的会话按照会话的添加时间进行排序,得到初始排序结果为:依次为会话D、会话C、会话B和会话A。The first time the user chooses to follow the custom sorting method, the session adding time sequence is: session A, session B, session C, and session D. That is to say, session A is added earlier than session B, session B is added earlier than session C, and session C is added earlier than session D. Then the sorting is done according to the custom sorting method as shown in Figure 2F1, and the session sorting is as follows Session D, Session C, Session B, and Session A. That is, the sessions corresponding to the target tag are sorted according to the adding time of the session, and the initial sorting result is: session D, session C, session B, and session A in order.
可选的,自定义排序方式支持用户通过拖拽操作调整会话的顺序,因此,又可以分为两种情况,一种是得到初始排序结果之后用户通过拖拽操作调整初始排序结果中的会话的顺序,基于用户对初始排序结果中的目标会话的拖拽操作,将目标会话的排序调整至拖拽操作对应的目标位置,得到本次自定义排序方式对应的最终排序结果。另一种是得到初始排序结果之后用户不再进行拖拽操作,则将初始排序结果作为本次自定义排序方式对应的最终排序结果。Optionally, the custom sorting method allows users to adjust the order of sessions through drag and drop operations. Therefore, it can be divided into two situations. One is that after the initial sorting results are obtained, the user adjusts the order of sessions in the initial sorting results through drag and drop operations. In order, based on the user's drag operation on the target session in the initial sorting result, the sorting of the target session is adjusted to the target position corresponding to the drag operation, and the final sorting result corresponding to this custom sorting method is obtained. The other is to use the initial sorting result as the final sorting result corresponding to this custom sorting method if the user no longer performs drag and drop operations after the initial sorting result is obtained.
例如,得到初始排序结果之后,用户将会话A选中,拖拽至会话B之前,则本次自定义排序方式的最终排序结果如图2F2所示,会话顺序依次为:会话D、会话C、会话A和会话B。For example, after obtaining the initial sorting result, the user selects Session A and drags it to before Session B. The final sorting result of this custom sorting method is shown in Figure 2F2. The session order is: Session D, Session C, Session A and session B.
再例如,得到初始排序结果之后,用户也可以不进行拖拽操作,则初始排序结果即为本次自定义排序方式的最终排序结果,则本次自定义排序方式的最终排序结果如图2F1所示,依次为:会话D、会话C、会话B和会话A。For another example, after obtaining the initial sorting result, the user does not need to perform a drag operation. Then the initial sorting result will be the final sorting result of this custom sorting method. The final sorting result of this custom sorting method is as shown in Figure 2F1. shown, in order: session D, session C, session B, and session A.
2)针对用户非首次选择自定义排序方式的场景,响应于非首次通过所述会话排序设置项选择的自定义排序方式的操作,获取前一次自定义排序方式得到的最终排序结果,基于所述前一次自定义排序方式得到的最终排序结果,得到初始排序结果。2) In view of the scenario where the user selects a custom sorting method not for the first time, in response to the operation of the custom sorting method not selected for the first time through the session sorting setting item, obtain the final sorting result obtained by the previous custom sorting method, based on the above The final sorting result obtained by the previous custom sorting method is the initial sorting result.
针对用户非首次选择自定义排序方式的场景,又分为两种场景:For the scenario where the user chooses a custom sorting method for the first time, it is divided into two scenarios:
第一种场景:在前一次自定义排序方式之后,触发本次自定义排序方式之前,目标标签中添加了至少一个会话。Scenario 1: After the previous custom sorting method and before triggering this custom sorting method, at least one session is added to the target label.
针对这种场景,则将添加的至少一个会话按照添加的时间排于前一次自定义排序方式得到的最终结果之前,得到初始排序结果。For this scenario, at least one added session is ranked before the final result obtained by the previous custom sorting method according to the time of addition, and the initial sorting result is obtained.
例如:前一次自定义排序方式得到的最终结果如图2F2,会话顺序依次为:会话D、会话C、会话A和会话B。用户从前一次自定义排序方式切换到其他排序方式,并在其他排序 方式期间添加了新的会话,例如,添加了新的会话E和会话F,其中,会话E的添加时间早于会话F的添加时间,则将会话E和会话F按照添加的时间排于前一次自定义排序方式得到的最终结果之前,得到初始排序结果,如图2F3所示:会话顺序依次为:会话F、会话E、会话D、会话C、会话A和会话B。其中,新添加的会话之间按照添加的时间排序,按照添加的时间由近及远排序,即把添加时间距离当前时间最近的会话排于最前面。For example: the final result obtained by the previous custom sorting method is shown in Figure 2F2, and the session order is: session D, session C, session A, and session B. The user switches from the previous customized sorting method to other sorting methods, and A new session is added during the mode. For example, new session E and session F are added. Among them, the adding time of session E is earlier than the adding time of session F. Then session E and session F will be arranged according to the adding time. Before the final result obtained by the custom sorting method, the initial sorting result is obtained, as shown in Figure 2F3: the session order is: session F, session E, session D, session C, session A, and session B. Among them, newly added sessions are sorted according to the time of addition, and sorted according to the time of addition from near to far, that is, the sessions with the closest addition time to the current time are ranked first.
第二种场景:在前一次自定义排序方式之后,触发本次自定义排序方式之前,目标标签中添加了未添加会话。The second scenario: After the previous custom sorting method, but before triggering this custom sorting method, unadded sessions were added to the target label.
针对这种场景,则将前一次自定义排序方式得到的最终排序结果确定为初始排序结果。For this scenario, the final sorting result obtained by the previous custom sorting method is determined as the initial sorting result.
例如:前一次自定义排序方式得到的最终结果如图2F2,会话顺序依次为:会话D、会话C、会话A和会话B。用户从前一次自定义排序方式切换到其他排序方式,并在其他排序方式期间未添加新的会话,则将前一次自定义排序方式得到的最终排序结果确定为初始排序结果,即初始排序结果如图2F2所示,会话顺序依次为:会话D、会话C、会话A和会话B。For example: the final result obtained by the previous custom sorting method is shown in Figure 2F2, and the session order is: session D, session C, session A, and session B. If the user switches from the previous custom sorting method to another sorting method and does not add a new session during the other sorting method, the final sorting result obtained by the previous custom sorting method will be determined as the initial sorting result, that is, the initial sorting result is as shown in the figure As shown in 2F2, the session order is: session D, session C, session A, and session B.
同样的,用户非首次选择自定义排序方式的场景中,自定义排序方式支持用户通过拖拽操作调整会话的顺序,因此,又可以分为两种情况,一种是得到初始排序结果之后用户通过拖拽操作调整初始排序结果中的会话的顺序,基于用户对初始排序结果中的目标会话的拖拽操作,将目标会话的排序调整至拖拽操作对应的目标位置,得到本次自定义排序方式对应的最终排序结果。另一种是得到初始排序结果之后用户不再进行拖拽操作,则将初始排序结果作为本次自定义排序方式对应的最终排序结果。Similarly, in the scenario where the user does not choose the custom sorting method for the first time, the custom sorting method allows the user to adjust the order of sessions through drag and drop operations. Therefore, it can be divided into two situations. One is that after the user obtains the initial sorting result, The drag-and-drop operation adjusts the order of sessions in the initial sorting result. Based on the user's drag-and-drop operation on the target session in the initial sorting result, the sorting of the target session is adjusted to the target position corresponding to the drag-and-drop operation to obtain this customized sorting method. The corresponding final sorting result. The other is to use the initial sorting result as the final sorting result corresponding to this custom sorting method if the user no longer performs drag and drop operations after the initial sorting result is obtained.
例如,得到初始排序结果之后,如图2F3所示,用户将会话B选中,拖拽至会话A之前,则本次自定义排序方式的最终排序结果如图2F4所示,依次为:会话F、会话E、会话D、会话C、会话B和会话A。For example, after obtaining the initial sorting result, as shown in Figure 2F3, the user selects Session B and drags it to before Session A. Then the final sorting result of this custom sorting method is shown in Figure 2F4, in order: Session F, Session E, Session D, Session C, Session B, and Session A.
再例如,得到初始排序结果之后,如图2F3所示,用户也可以不进行拖拽操作,则初始排序结果即为本次自定义排序方式的最终排序结果,则本次自定义排序方式的最终排序结果如图2F3所示,依次为:会话F、会话E、会话D、会话C、会话A和会话B。For another example, after obtaining the initial sorting result, as shown in Figure 2F3, the user does not need to perform drag and drop operations. Then the initial sorting result will be the final sorting result of this custom sorting method. Then the final sorting result of this custom sorting method will be The sorting results are shown in Figure 2F3, which are: session F, session E, session D, session C, session A, and session B.
由于非首次选择自定义排序方式时,需要用到前一次自定义排序方式的最终排序结果,因此,每次从自定义排序方式切换到其他排序方式时,需要存储自定义排序方式对应的最终排序结果,以便于从其他排序方式切换到自定义排序方式时应用。Since the final sorting result of the previous custom sorting method needs to be used when a custom sorting method is not selected for the first time, therefore, every time you switch from a custom sorting method to another sorting method, you need to store the final sorting result corresponding to the custom sorting method. results to be applied when switching from other sorting methods to a custom sorting method.
另一种实现方式为:目标会话排序方式包括:按照第一排序策略的系统排序方式。Another implementation method is: the target session sorting method includes: a system sorting method according to the first sorting strategy.
响应于通过所述会话排序设置项选择的按照第一排序策略的系统排序方式的操作,对所述目标标签对应的会话按照第一排序策略的系统排序方式进行排序。In response to the operation according to the system sorting mode of the first sorting policy selected through the session sorting setting item, the sessions corresponding to the target tag are sorted according to the system sorting mode of the first sorting policy.
示例性地,第一排序策略的系统排序方式为按照会话中的最后一条消息的时间进行排序,响应于通过所述会话排序设置项选择的按照消息时间的操作,对所述目标标签对应的会话按照会话中最后一条消息的时间进行排序。Exemplarily, the system sorting method of the first sorting strategy is to sort according to the time of the last message in the session. In response to the operation according to the message time selected through the session sorting setting item, the session corresponding to the target tag is Sort by the time of the last message in the conversation.
例如:会话中最后一调消息的发送时间顺序距离当前时间由近及远依次是,会话B、会话A、会话D、会话C,则按照消息时间排序方式得到的会话排序结果,如图2F5所示,会话排序依次为:会话B、会话A、会话D、会话C。For example: the order of the sending time of the last message in the session from the current time to the current time is: session B, session A, session D, session C. The session sorting result obtained according to the message time sorting method is as shown in Figure 2F5. shown, the sessions are sorted as follows: session B, session A, session D, session C.
示例性地,第一排序策略的系统排序方式为按照会话加入目标标签的时间进行排序,响应于通过所述会话排序设置项选择的按照会话加入目标标签的时间进行排序的操作,对所述 目标标签对应的会话按照会话加入目标标签的时间进行排序。Exemplarily, the system sorting method of the first sorting strategy is to sort according to the time when the session joins the target tag. In response to the operation of sorting according to the time when the session joins the target tag selected through the session sorting setting item, the The sessions corresponding to the target label are sorted according to the time when the session was added to the target label.
例如:会话加入目标标签的时间顺序距离当前时间由近及远依次是,会话B、会话A、会话C、会话D,则按照消息时间排序方式得到的会话排序结果,会话排序依次为:会话B、会话A、会话C、会话D。For example: the order in which sessions are added to the target tag from the nearest to the current time is session B, session A, session C, and session D. According to the session sorting result obtained by message time sorting, the session sorting order is: session B , Session A, Session C, Session D.
示例性地,第一排序策略的系统排序方式为按照随机顺序进行排序,响应于通过所述会话排序设置项选择的按照随机顺序进行排序的操作,对所述目标标签对应的会话按照随机顺序进行排序。Exemplarily, the system sorting method of the first sorting strategy is sorting in random order. In response to the sorting operation in random order selected through the session sorting setting item, the sessions corresponding to the target tag are sorted in random order. Sort.
例如:目标标签的会话包括:会话B、会话A、会话C、会话D,则按照随机顺序进行排序为:会话B、会话A、会话C、会话D。或者,会话A、会话B、会话C、会话D等,按照随机顺序每次排序可以相同也可以不同,对此,本公开不做限制。For example, if the sessions of the target label include: Session B, Session A, Session C, and Session D, then they are sorted in random order as: Session B, Session A, Session C, and Session D. Alternatively, session A, session B, session C, session D, etc., may be the same or different each time in random order, and the present disclosure does not limit this.
本实施例,通过用户对目标标签进行触发操作,响应于对目标标签的触发操作,显示第一界面,所述第一界面包括:会话排序设置项,所述会话排序设置项用于用户从至少两种会话排序方式中选择一种目标会话排序方式;因此,用户可以通过会话排序设置项灵活的选择目标会话排序方式,响应于通过所述会话排序设置项选择的目标会话排序方式的操作,对所述目标标签对应的会话按照所述目标会话排序方式进行排序。由于会话排序设置项中可选的会话排序方式包括至少两种会话排序方式,用户可以根据需求从至少两种会话排序方式选择目标会话排序方式,因此,提高了即时通信会话排序的灵活性。In this embodiment, the user performs a triggering operation on the target tag, and in response to the triggering operation on the target tag, a first interface is displayed. The first interface includes: a session sorting setting item, and the session sorting setting item is used by the user to start from at least Select one of the target session sorting methods from the two session sorting methods; therefore, the user can flexibly select the target session sorting method through the session sorting setting item, and in response to the operation of the target session sorting method selected through the session sorting setting item, The sessions corresponding to the target tag are sorted according to the target session sorting method. Since the optional session sorting methods in the session sorting setting item include at least two session sorting methods, the user can select a target session sorting method from at least two session sorting methods according to needs, thus improving the flexibility of instant messaging session sorting.
在上述实施例中,可选的,针对用户首次选择自定义排序方式的场景中,响应于首次通过所述会话排序设置项选择的自定义排序方式的操作,对所述目标标签对应的会话按照会话的添加时间进行排序,得到初始排序结果之后,还包括:显示拖拽操作引导界面,所述拖拽操作引导界面用于引导用户通过所述拖拽操作调整所述初始排序结果中的会话的排序。In the above embodiment, optionally, in the scenario where the user selects a custom sorting method for the first time, in response to the operation of the custom sorting method selected through the session sorting setting item for the first time, the session corresponding to the target tag is processed according to the Sorting the sessions by adding time, and after obtaining the initial sorting results, the method further includes: displaying a drag-and-drop operation guidance interface, the drag-and-drop operation guidance interface being used to guide the user to adjust the sessions in the initial sorting results through the drag-and-drop operation. Sort.
结合前述示例,得到初始排序结果如图2F1所示,显示拖拽操作引导界面,如图3所示,步骤依次为选中目标会话,拖动目标会话至目标位置。Combined with the above example, the initial sorting result is obtained as shown in Figure 2F1, which displays the drag-and-drop operation guidance interface, as shown in Figure 3. The steps are to select the target session and drag the target session to the target location.
本实施例,通过显示拖拽操作引导界面,能够使得用户便捷的获知操作方式。In this embodiment, by displaying the drag-and-drop operation guidance interface, the user can conveniently learn the operation method.
在上述实施例的基础上,用户选择自定义排序方式或者消息时间排序方式之后,用户添加新的会话,响应于用户添加会话的操作,将新添加的会话排于最终排序结果之前。例如,用户选择自定义排序方式,最终排序结果如图2F4,会话排序依次为:会话F、会话E、会话D、会话C、会话B和会话A。然后用户又添加了会话G,则将会话G排于会话F之前,如图4A所示,会话排序依次为:会话G、会话F、会话E、会话D、会话C、会话B和会话A。再例如,用户选择消息时间排序方式之后,最终排序结果如图2F5所示,会话排序依次为:会话B、会话A、会话D、会话C。然后用户又添加了会话H,则将会话H排于会话B之前,如图4B所示,会话顺序依次为:会话H、会话B、会话A、会话D、会话C。Based on the above embodiment, after the user selects the custom sorting method or the message time sorting method, the user adds a new conversation, and in response to the user's operation of adding a conversation, the newly added conversation is ranked before the final sorting result. For example, if the user selects a custom sorting method, the final sorting result is shown in Figure 2F4. The session sorting order is: session F, session E, session D, session C, session B, and session A. Then the user adds session G, and session G is ranked before session F. As shown in Figure 4A, the sessions are sorted as follows: session G, session F, session E, session D, session C, session B, and session A. For another example, after the user selects the message time sorting method, the final sorting result is shown in Figure 2F5. The session sorting order is: session B, session A, session D, session C. Then the user adds session H, and session H is ranked before session B. As shown in Figure 4B, the session order is: session H, session B, session A, session D, session C.
在公开的一些实施例中,标签是用户进行自定义会话分组的工具,即用户可以按照自己的需求创建标签,并为相关会话打上相同的标签,使得这些会话被归类到同一个会话分组中。正因为标签是用户自主设置的会话分组,因此当一个标签下有用户更为关注的会话时,有将其固定在该标签对应的会话列表的置顶位置的或前几个位置的需求,而本方案提供的用户可通过手动拖拽等方式进行自定义排序的方式,可以满足该需求。 In some disclosed embodiments, tags are a tool for users to customize session groupings, that is, users can create tags according to their own needs and label related sessions with the same tag, so that these sessions are classified into the same session grouping. . Because labels are conversation groupings set by users independently, when there is a conversation under a label that the user is more concerned about, there is a need to fix it at the top or first few positions of the conversation list corresponding to the label, and this The solution provides a way for users to customize sorting through manual drag and drop, which can meet this demand.
图5为本公开提供的一种即时通信会话的管理装置的结构示意图,如图5所示,本实施例的装置包括:显示模块501和处理模块502,其中,Figure 5 is a schematic structural diagram of an instant messaging session management device provided by the present disclosure. As shown in Figure 5, the device in this embodiment includes: a display module 501 and a processing module 502, wherein,
显示模块501用于响应于对目标标签的触发操作,显示第一界面,所述第一界面包括:会话排序设置项,所述会话排序设置项用于用户从至少两种会话排序方式中选择一种目标会话排序方式;The display module 501 is configured to display a first interface in response to a triggering operation on the target tag. The first interface includes: a session sorting setting item. The session sorting setting item is used for the user to select one of at least two session sorting methods. A way to sort target sessions;
处理模块502用于响应于通过所述会话排序设置项选择的目标会话排序方式的操作,对所述目标标签对应的会话按照所述目标会话排序方式进行排序。The processing module 502 is configured to, in response to the operation of the target session sorting mode selected through the session sorting setting item, sort the sessions corresponding to the target tag according to the target session sorting mode.
可选的,所述至少两种会话排序方式包括:Optionally, the at least two session sorting methods include:
自定义排序方式;Custom sorting method;
按照第一排序策略的系统排序方式。System sorting according to the first sorting strategy.
可选的,在自定义排序方式下用户可通过拖拽操作对目标标签对应的各会话进行排序;Optionally, in the custom sorting mode, users can sort the sessions corresponding to the target tag through drag and drop operations;
所述第一排序策略包括如下中的一种:按照会话中的最后一条消息的时间进行排序、按照会话加入所述目标标签的时间进行排序或者按照随机顺序进行排序。The first sorting strategy includes one of the following: sorting according to the time of the last message in the session, sorting according to the time when the target tag is added to the session, or sorting in random order.
可选的,所述目标会话排序方式包括:自定义排序方式;Optionally, the target session sorting method includes: customized sorting method;
所述处理模块502具体用于响应于通过所述会话排序设置项选择的自定义排序方式的操作,显示初始排序结果,响应于用户在所述初始排序结果上执行的自定义排序操作,显示最终排序结果;The processing module 502 is specifically configured to display the initial sorting result in response to the operation of the custom sorting method selected through the session sorting setting item, and to display the final sorting result in response to the custom sorting operation performed by the user on the initial sorting result. sort results;
其中,所述初始排序结果包括下述中的一种:Wherein, the initial sorting results include one of the following:
基于所述目标标签对应的会话的添加时间进行排序得到的初始排序结果;The initial sorting result obtained by sorting based on the adding time of the session corresponding to the target tag;
基于前一次自定义排序方式得到的最终排序结果。The final sorting result based on the previous custom sorting method.
可选的,所述处理模块502具体用于响应于首次通过所述会话排序设置项选择的自定义排序方式的操作,对所述目标标签对应的会话按照会话的添加时间进行排序,得到初始排序结果;Optionally, the processing module 502 is specifically configured to sort the sessions corresponding to the target tag according to the adding time of the session in response to the operation of the custom sorting method selected through the session sorting setting item for the first time to obtain an initial sorting. result;
或者,or,
响应于非首次通过所述会话排序设置项选择的自定义排序方式的操作,获取前一次自定义排序方式得到的最终排序结果,基于所述前一次自定义排序方式得到的最终排序结果,得到初始排序结果。In response to the operation of a custom sorting method that is not selected through the session sorting setting item for the first time, obtain the final sorting result obtained by the previous custom sorting method, and obtain the initial sorting result based on the final sorting result obtained by the previous custom sorting method. Sort results.
可选的,所述处理模块502具体用于若在前一次自定义排序方式之后,触发本次自定义排序方式之前,所述目标标签中添加了至少一个会话,则将所述至少一个会话按照添加的时间排于所述前一次自定义排序方式得到的最终排序结果之前,得到初始排序结果;Optionally, the processing module 502 is specifically configured to: if at least one session is added to the target tag after the previous custom sorting method and before this custom sorting method is triggered, the at least one session will be added according to The added time is ranked before the final sorting result obtained by the previous custom sorting method, and the initial sorting result is obtained;
若在前一次自定义排序方式之后,触发本次自定义排序方式之前,所述目标标签中未添加会话,则将所述前一次自定义排序方式得到的最终排序结果确定为初始排序结果。If no session is added to the target tag after the previous custom sorting method and before this custom sorting method is triggered, the final sorting result obtained by the previous custom sorting method will be determined as the initial sorting result.
可选的,所述处理模块502具体用于基于用户对所述初始排序结果中的目标会话的拖拽操作,将所述目标会话的排序调整至所述拖拽操作对应的目标位置,得到本次自定义排序方式对应的最终排序结果。Optionally, the processing module 502 is specifically configured to adjust the sorting of the target session to the target position corresponding to the drag operation based on the user's drag operation on the target session in the initial sorting result, to obtain the current The final sorting result corresponding to the custom sorting method.
可选的,所述显示模块501还用于显示拖拽操作引导界面,所述拖拽操作引导界面用于引导用户通过所述拖拽操作调整所述初始排序结果中的会话的排序。Optionally, the display module 501 is also configured to display a drag operation guidance interface, and the drag operation guidance interface is used to guide the user to adjust the sorting of sessions in the initial sorting result through the drag operation.
可选的,所述目标会话排序方式包括:按照第一排序策略的系统排序方式; Optionally, the target session sorting method includes: a system sorting method according to the first sorting strategy;
所述处理模块502具体用于响应于通过所述会话排序设置项选择的按照第一排序策略的系统排序方式的操作,对所述目标标签对应的会话按照第一排序策略的系统排序方式进行排序。The processing module 502 is specifically configured to sort the sessions corresponding to the target tag according to the system sorting method of the first sorting strategy in response to the operation of the system sorting method according to the first sorting strategy selected through the session sorting setting item. .
可选的,所述处理模块还用于502响应于用户添加会话的操作,将所述添加的会话排于所述最终排序结果之前。Optionally, the processing module is also configured to 502 respond to the user's operation of adding a session and rank the added session before the final sorting result.
本实施例的装置对应的可用于执行上述各方法实施例的步骤,其实现原理和技术效果类似,此处不再赘述。The device of this embodiment can be used to perform the steps of each of the above method embodiments. The implementation principles and technical effects are similar and will not be described again here.
本公开还提供一种电子设备,包括:一个或多个处理器;存储器;以及一个或多个计算机程序;其中所述一个或多个计算机程序被存储在所述存储器中;所述一个或多个处理器在执行所述一个或多个计算机程序时,使得所述电子设备实现上述各方法实施例的步骤。The present disclosure also provides an electronic device, including: one or more processors; a memory; and one or more computer programs; wherein the one or more computer programs are stored in the memory; the one or more When a processor executes the one or more computer programs, the electronic device implements the steps of the above method embodiments.
本公开还提供一种计算机可读存储介质,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行上述各方法实施例的步骤。The present disclosure also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are run on an electronic device, the electronic device causes the electronic device to perform the steps of each of the above method embodiments.
第一方面,本公开提供一种即时通信会话的管理方法,包括:In a first aspect, the present disclosure provides an instant messaging session management method, including:
响应于对目标标签的触发操作,显示第一界面,所述第一界面包括:会话排序设置项,所述会话排序设置项用于用户从至少两种会话排序方式中选择一种目标会话排序方式;In response to the triggering operation on the target tag, a first interface is displayed, the first interface includes: a session sorting setting item, the session sorting setting item is used for the user to select a target session sorting method from at least two session sorting methods. ;
响应于通过所述会话排序设置项选择的目标会话排序方式的操作,对所述目标标签对应的会话按照所述目标会话排序方式进行排序。In response to the operation of the target session sorting mode selected through the session sorting setting item, the sessions corresponding to the target tag are sorted according to the target session sorting mode.
可选的,所述至少两种会话排序方式包括:Optionally, the at least two session sorting methods include:
自定义排序方式;Custom sorting method;
按照第一排序策略的系统排序方式。System sorting according to the first sorting strategy.
可选的,在自定义排序方式下用户可通过拖拽操作对目标标签对应的各会话进行排序;Optionally, in the custom sorting mode, users can sort the sessions corresponding to the target tag through drag and drop operations;
所述第一排序策略包括如下中的一种:按照会话中的最后一条消息的时间进行排序、按照会话加入所述目标标签的时间进行排序或者按照随机顺序进行排序。The first sorting strategy includes one of the following: sorting according to the time of the last message in the session, sorting according to the time when the target tag is added to the session, or sorting in random order.
可选的,所述目标会话排序方式包括:自定义排序方式;Optionally, the target session sorting method includes: customized sorting method;
所述响应于通过所述会话排序设置项选择的目标会话排序方式的操作,对所述目标标签对应的会话按照所述目标会话排序方式进行排序,包括:In response to the operation of the target session sorting mode selected through the session sorting setting item, sorting the sessions corresponding to the target tag according to the target session sorting mode includes:
响应于通过所述会话排序设置项选择的自定义排序方式的操作,显示初始排序结果,响应于用户在所述初始排序结果上执行的自定义排序操作,显示最终排序结果;In response to the operation of the custom sorting method selected through the session sorting setting item, the initial sorting result is displayed, and in response to the custom sorting operation performed by the user on the initial sorting result, the final sorting result is displayed;
其中,所述初始排序结果包括下述中的一种:Wherein, the initial sorting results include one of the following:
基于所述目标标签对应的会话的添加时间进行排序得到的初始排序结果;The initial sorting result obtained by sorting based on the adding time of the session corresponding to the target tag;
基于前一次自定义排序方式得到的最终排序结果。The final sorting result based on the previous custom sorting method.
可选的,所述响应于通过所述会话排序设置项选择的自定义排序方式的操作,显示初始排序结果,包括:Optionally, in response to the operation of the custom sorting method selected through the session sorting setting item, the initial sorting results are displayed, including:
响应于首次通过所述会话排序设置项选择的自定义排序方式的操作,对所述目标标签对应的会话按照会话的添加时间进行排序,得到初始排序结果;In response to the operation of the custom sorting method selected through the session sorting setting item for the first time, the sessions corresponding to the target tag are sorted according to the adding time of the session, and an initial sorting result is obtained;
或者,or,
响应于非首次通过所述会话排序设置项选择的自定义排序方式的操作,获取前一次自定义排序方式得到的最终排序结果,基于所述前一次自定义排序方式得到的最终排序结果,得 到初始排序结果。In response to the operation of a custom sorting method that is not selected through the session sorting setting item for the first time, the final sorting result obtained by the previous custom sorting method is obtained. Based on the final sorting result obtained by the previous custom sorting method, we obtain to the initial sorting results.
可选的,所述基于所述前一次自定义排序方式得到的最终排序结果,得到初始排序结果,包括:Optionally, the initial sorting result is obtained based on the final sorting result obtained by the previous custom sorting method, including:
若在前一次自定义排序方式之后,触发本次自定义排序方式之前,所述目标标签中添加了至少一个会话,则将所述至少一个会话按照添加的时间排于所述前一次自定义排序方式得到的最终排序结果之前,得到初始排序结果;If at least one session is added to the target tag after the previous custom sorting method and before this custom sorting method is triggered, the at least one session will be ranked in the previous custom sorting according to the time of addition. The initial sorting result is obtained before the final sorting result obtained in this way;
若在前一次自定义排序方式之后,触发本次自定义排序方式之前,所述目标标签中未添加会话,则将所述前一次自定义排序方式得到的最终排序结果确定为初始排序结果。If no session is added to the target tag after the previous custom sorting method and before this custom sorting method is triggered, the final sorting result obtained by the previous custom sorting method will be determined as the initial sorting result.
可选的,所述响应于用户在所述初始排序结果上执行的自定义排序操作,显示最终排序结果,包括:Optionally, in response to a custom sorting operation performed by the user on the initial sorting result, displaying the final sorting result includes:
基于用户对所述初始排序结果中的目标会话的拖拽操作,将所述目标会话的排序调整至所述拖拽操作对应的目标位置,得到本次自定义排序方式对应的最终排序结果。Based on the user's drag operation on the target session in the initial sorting result, the sorting of the target session is adjusted to the target position corresponding to the drag operation, and the final sorting result corresponding to this custom sorting method is obtained.
可选的,所述响应于首次通过所述会话排序设置项选择的自定义排序方式的操作,对所述目标标签对应的会话按照会话的添加时间进行排序,得到初始排序结果之后,还包括:Optionally, in response to the operation of the custom sorting method selected through the session sorting setting item for the first time, sorting the sessions corresponding to the target tag according to the adding time of the session, and after obtaining the initial sorting result, it also includes:
显示拖拽操作引导界面,所述拖拽操作引导界面用于引导用户通过所述拖拽操作调整所述初始排序结果中的会话的排序。A drag-and-drop operation guidance interface is displayed, and the drag-and-drop operation guidance interface is used to guide the user to adjust the sorting of sessions in the initial sorting result through the drag-and-drop operation.
可选的,所述目标会话排序方式包括:按照第一排序策略的系统排序方式;Optionally, the target session sorting method includes: a system sorting method according to the first sorting strategy;
所述响应于通过所述会话排序设置项选择的目标会话排序方式的操作,对所述目标标签对应的会话按照所述目标会话排序方式进行排序,包括:In response to the operation of the target session sorting mode selected through the session sorting setting item, sorting the sessions corresponding to the target tag according to the target session sorting mode includes:
响应于通过所述会话排序设置项选择的按照第一排序策略的系统排序方式的操作,对所述目标标签对应的会话按照第一排序策略的系统排序方式进行排序。In response to the operation according to the system sorting mode of the first sorting policy selected through the session sorting setting item, the sessions corresponding to the target tag are sorted according to the system sorting mode of the first sorting policy.
可选的,还包括:Optional, also includes:
响应于用户添加会话的操作,将所述添加的会话排于所述最终排序结果之前。In response to the user's operation of adding a session, the added session is ranked before the final sorting result.
第二方面本公开提供一种即时通信会话的管理装置,包括:显示模块用于响应于对目标标签的触发操作,显示第一界面,所述第一界面包括:会话排序设置项,所述会话排序设置项用于用户从至少两种会话排序方式中选择一种目标会话排序方式;In a second aspect, the present disclosure provides an instant messaging session management device, including: a display module configured to display a first interface in response to a triggering operation on a target tag; the first interface includes: a session sorting setting item; the session The sorting setting item is used for the user to select a target session sorting method from at least two session sorting methods;
处理模块用于响应于通过所述会话排序设置项选择的目标会话排序方式的操作,对所述目标标签对应的会话按照所述目标会话排序方式进行排序。The processing module is configured to sort the sessions corresponding to the target tag according to the target session sorting method in response to the operation of the target session sorting mode selected through the session sorting setting item.
可选的,所述至少两种会话排序方式包括:Optionally, the at least two session sorting methods include:
自定义排序方式;Custom sorting method;
按照第一排序策略的系统排序方式。System sorting according to the first sorting strategy.
可选的,在自定义排序方式下用户可通过拖拽操作对目标标签对应的各会话进行排序;Optionally, in the custom sorting mode, users can sort the sessions corresponding to the target label through drag and drop operations;
所述第一排序策略包括如下中的一种:按照会话中的最后一条消息的时间进行排序、按照会话加入所述目标标签的时间进行排序或者按照随机顺序进行排序。The first sorting strategy includes one of the following: sorting according to the time of the last message in the session, sorting according to the time when the target tag is added to the session, or sorting in random order.
可选的,所述目标会话排序方式包括:自定义排序方式;Optionally, the target session sorting method includes: customized sorting method;
所述处理模块具体用于响应于通过所述会话排序设置项选择的自定义排序方式的操作,显示初始排序结果,响应于用户在所述初始排序结果上执行的自定义排序操作,显示最终排序结果; The processing module is specifically configured to display an initial sorting result in response to the operation of the custom sorting method selected through the session sorting setting item, and to display the final sorting in response to the custom sorting operation performed by the user on the initial sorting result. result;
其中,所述初始排序结果包括下述中的一种:Wherein, the initial sorting results include one of the following:
基于所述目标标签对应的会话的添加时间进行排序得到的初始排序结果;The initial sorting result obtained by sorting based on the adding time of the session corresponding to the target tag;
基于前一次自定义排序方式得到的最终排序结果。The final sorting result based on the previous custom sorting method.
可选的,所述处理模块具体用于响应于首次通过所述会话排序设置项选择的自定义排序方式的操作,对所述目标标签对应的会话按照会话的添加时间进行排序,得到初始排序结果;Optionally, the processing module is specifically configured to sort the sessions corresponding to the target tag according to the adding time of the session in response to the operation of the custom sorting method selected through the session sorting setting item for the first time, and obtain an initial sorting result. ;
或者,or,
响应于非首次通过所述会话排序设置项选择的自定义排序方式的操作,获取前一次自定义排序方式得到的最终排序结果,基于所述前一次自定义排序方式得到的最终排序结果,得到初始排序结果。In response to the operation of a custom sorting method that is not selected through the session sorting setting item for the first time, obtain the final sorting result obtained by the previous custom sorting method, and obtain the initial sorting result based on the final sorting result obtained by the previous custom sorting method. Sort results.
可选的,所述处理模块具体用于若在前一次自定义排序方式之后,触发本次自定义排序方式之前,所述目标标签中添加了至少一个会话,则将所述至少一个会话按照添加的时间排于所述前一次自定义排序方式得到的最终排序结果之前,得到初始排序结果;Optionally, the processing module is specifically configured to add at least one session to the target tag after the previous custom sorting method and before triggering this custom sorting method, then add the at least one session to the target tag. The time is ranked before the final sorting result obtained by the previous custom sorting method, and the initial sorting result is obtained;
若在前一次自定义排序方式之后,触发本次自定义排序方式之前,所述目标标签中未添加会话,则将所述前一次自定义排序方式得到的最终排序结果确定为初始排序结果。If no session is added to the target tag after the previous custom sorting method and before this custom sorting method is triggered, the final sorting result obtained by the previous custom sorting method will be determined as the initial sorting result.
可选的,所述处理模块具体用于基于用户对所述初始排序结果中的目标会话的拖拽操作,将所述目标会话的排序调整至所述拖拽操作对应的目标位置,得到本次自定义排序方式对应的最终排序结果。Optionally, the processing module is specifically configured to adjust the sorting of the target session to the target position corresponding to the drag operation based on the user's drag operation on the target session in the initial sorting result, and obtain the current The final sorting result corresponding to the custom sorting method.
可选的,所述显示模块还用于显示拖拽操作引导界面,所述拖拽操作引导界面用于引导用户通过所述拖拽操作调整所述初始排序结果中的会话的排序。Optionally, the display module is also configured to display a drag operation guidance interface, and the drag operation guidance interface is used to guide the user to adjust the sorting of sessions in the initial sorting result through the drag operation.
可选的,所述目标会话排序方式包括:按照第一排序策略的系统排序方式;Optionally, the target session sorting method includes: a system sorting method according to the first sorting strategy;
所述处理模块具体用于响应于通过所述会话排序设置项选择的按照第一排序策略的系统排序方式的操作,对所述目标标签对应的会话按照第一排序策略的系统排序方式进行排序。The processing module is specifically configured to sort the sessions corresponding to the target tag according to the system sorting method of the first sorting policy in response to the operation of the system sorting method according to the first sorting strategy selected through the session sorting setting item.
可选的,所述处理模块还用于响应于用户添加会话的操作,将所述添加的会话排于所述最终排序结果之前。Optionally, the processing module is further configured to, in response to the user's operation of adding a session, rank the added session before the final sorting result.
第三方面,本公开还提供一种电子设备,包括:一个或多个处理器;存储器;以及一个或多个计算机程序;其中所述一个或多个计算机程序被存储在所述存储器中;所述一个或多个处理器在执行所述一个或多个计算机程序时,使得所述电子设备实现上述各方法实施例的步骤。In a third aspect, the present disclosure also provides an electronic device, including: one or more processors; a memory; and one or more computer programs; wherein the one or more computer programs are stored in the memory; When the one or more processors execute the one or more computer programs, the electronic device implements the steps of the above method embodiments.
第四方面,本公开还提供一种计算机可读存储介质,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行上述各方法实施例的步骤。In a fourth aspect, the present disclosure also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are run on an electronic device, the electronic device causes the electronic device to execute the steps of each of the above method embodiments.
在上述实施例中,全部或部分功能可以通过软件、硬件、或者软件加硬件的组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本公开实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。 In the above embodiments, all or part of the functions may be implemented by software, hardware, or a combination of software and hardware. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. A computer program product includes one or more computer instructions. When computer program instructions are loaded and executed on a computer, processes or functions according to embodiments of the present disclosure are produced, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable device. Computer instructions may be stored in computer-readable storage media. Computer-readable storage media can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or other integrated media that contains one or more available media. Available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, solid state disk (SSD)), etc.
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as “first” and “second” are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these There is no such actual relationship or sequence between entities or operations. Furthermore, the terms "comprises," "comprises," or any other variations thereof are intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus that includes a list of elements includes not only those elements, but also those not expressly listed other elements, or elements inherent to the process, method, article or equipment. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or apparatus that includes the stated element.
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。 The above descriptions are only specific embodiments of the present disclosure, enabling those skilled in the art to understand or implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be practiced in other embodiments without departing from the spirit or scope of the disclosure. Therefore, the present disclosure is not to be limited to the embodiments described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (13)

  1. 一种即时通信会话的管理方法,其特征在于,包括:An instant messaging session management method, which is characterized by including:
    响应于对目标标签的触发操作,显示第一界面,所述第一界面包括:会话排序设置项,所述会话排序设置项用于用户从至少两种会话排序方式中选择一种目标会话排序方式;In response to the triggering operation on the target tag, a first interface is displayed, the first interface includes: a session sorting setting item, the session sorting setting item is used for the user to select a target session sorting method from at least two session sorting methods. ;
    响应于通过所述会话排序设置项选择的目标会话排序方式的操作,对所述目标标签对应的会话按照所述目标会话排序方式进行排序。In response to the operation of the target session sorting mode selected through the session sorting setting item, the sessions corresponding to the target tag are sorted according to the target session sorting mode.
  2. 根据权利要求1所述的方法,其特征在于,所述至少两种会话排序方式包括:The method according to claim 1, wherein the at least two session sorting methods include:
    自定义排序方式;Custom sorting method;
    按照第一排序策略的系统排序方式。System sorting according to the first sorting strategy.
  3. 根据权利要求2所述的方法,其特征在于,The method according to claim 2, characterized in that:
    在自定义排序方式下用户可通过拖拽操作对目标标签对应的各会话进行排序;In the custom sorting mode, users can sort the sessions corresponding to the target label through drag and drop operations;
    所述第一排序策略包括如下中的一种:按照会话中的最后一条消息的时间进行排序、按照会话加入所述目标标签的时间进行排序或者按照随机顺序进行排序。The first sorting strategy includes one of the following: sorting according to the time of the last message in the session, sorting according to the time when the target tag is added to the session, or sorting in random order.
  4. 根据权利要求1所述的方法,其特征在于,所述目标会话排序方式包括:自定义排序方式;The method according to claim 1, characterized in that the target session sorting method includes: a customized sorting method;
    所述响应于通过所述会话排序设置项选择的目标会话排序方式的操作,对所述目标标签对应的会话按照所述目标会话排序方式进行排序,包括:In response to the operation of the target session sorting mode selected through the session sorting setting item, sorting the sessions corresponding to the target tag according to the target session sorting mode includes:
    响应于通过所述会话排序设置项选择的自定义排序方式的操作,显示初始排序结果,响应于用户在所述初始排序结果上执行的自定义排序操作,显示最终排序结果。In response to the operation of the custom sorting method selected through the session sorting setting item, the initial sorting result is displayed, and in response to the custom sorting operation performed by the user on the initial sorting result, the final sorting result is displayed.
  5. 根据权利要求4所述的方法,其特征在于,所述响应于通过所述会话排序设置项选择的自定义排序方式的操作,显示初始排序结果,包括:The method according to claim 4, characterized in that, in response to the operation of the custom sorting mode selected through the session sorting setting item, displaying the initial sorting result includes:
    响应于首次通过所述会话排序设置项选择的自定义排序方式的操作,对所述目标标签对应的会话按照会话的添加时间进行排序,得到初始排序结果;In response to the operation of the custom sorting method selected through the session sorting setting item for the first time, the sessions corresponding to the target tag are sorted according to the adding time of the session, and an initial sorting result is obtained;
    或者,or,
    响应于非首次通过所述会话排序设置项选择的自定义排序方式的操作,获取前一次自定义排序方式得到的最终排序结果,基于所述前一次自定义排序方式得到的最终排序结果,得到初始排序结果。In response to the operation of a custom sorting method that is not selected through the session sorting setting item for the first time, obtain the final sorting result obtained by the previous custom sorting method, and obtain the initial sorting result based on the final sorting result obtained by the previous custom sorting method. Sort results.
  6. 根据权利要求5所述的方法,其特征在于,所述基于所述前一次自定义排序方式得到的最终排序结果,得到初始排序结果,包括:The method according to claim 5, wherein the initial sorting result is obtained based on the final sorting result obtained by the previous customized sorting method, including:
    若在前一次自定义排序方式之后,触发本次自定义排序方式之前,所述目标标签中添加了至少一个会话,则将所述至少一个会话按照添加的时间排于所述前一次自定义排序方式得到的最终排序结果之前,得到初始排序结果;If at least one session is added to the target tag after the previous custom sorting method and before this custom sorting method is triggered, the at least one session will be ranked in the previous custom sorting according to the time of addition. The initial sorting result is obtained before the final sorting result obtained in this way;
    若在前一次自定义排序方式之后,触发本次自定义排序方式之前,所述目标标签中未添加会话,则将所述前一次自定义排序方式得到的最终排序结果确定为初始排序结果。If no session is added to the target tag after the previous custom sorting method and before this custom sorting method is triggered, the final sorting result obtained by the previous custom sorting method will be determined as the initial sorting result.
  7. 根据权利要求4所述的方法,其特征在于,所述响应于用户在所述初始排序结果上执行的自定义排序操作,显示最终排序结果,包括:The method of claim 4, wherein displaying the final sorting result in response to a custom sorting operation performed by the user on the initial sorting result includes:
    基于用户对所述初始排序结果中的目标会话的拖拽操作,将所述目标会话的排序调整至所述拖拽操作对应的目标位置,得到本次自定义排序方式对应的最终排序结果。 Based on the user's drag operation on the target session in the initial sorting result, the sorting of the target session is adjusted to the target position corresponding to the drag operation, and the final sorting result corresponding to this custom sorting method is obtained.
  8. 根据权利要求5所述的方法,其特征在于,所述响应于首次通过所述会话排序设置项选择的自定义排序方式的操作,对所述目标标签对应的会话按照会话的添加时间进行排序,得到初始排序结果之后,还包括:The method according to claim 5, characterized in that, in response to the operation of the custom sorting mode selected through the session sorting setting item for the first time, the sessions corresponding to the target tag are sorted according to the adding time of the session, After getting the initial sorting results, it also includes:
    显示拖拽操作引导界面,所述拖拽操作引导界面用于引导用户通过所述拖拽操作调整所述初始排序结果中的会话的排序。A drag-and-drop operation guidance interface is displayed, and the drag-and-drop operation guidance interface is used to guide the user to adjust the sorting of sessions in the initial sorting result through the drag-and-drop operation.
  9. 根据权利要求1所述的方法,其特征在于,所述目标会话排序方式包括:按照第一排序策略的系统排序方式;The method according to claim 1, characterized in that the target session sorting method includes: a system sorting method according to the first sorting strategy;
    所述响应于通过所述会话排序设置项选择的目标会话排序方式的操作,对所述目标标签对应的会话按照所述目标会话排序方式进行排序,包括:In response to the operation of the target session sorting mode selected through the session sorting setting item, sorting the sessions corresponding to the target tag according to the target session sorting mode includes:
    响应于通过所述会话排序设置项选择的按照第一排序策略的系统排序方式的操作,对所述目标标签对应的会话按照第一排序策略的系统排序方式进行排序。In response to the operation according to the system sorting mode of the first sorting policy selected through the session sorting setting item, the sessions corresponding to the target tag are sorted according to the system sorting mode of the first sorting policy.
  10. 根据权利要求1所述的方法,其特征在于,还包括:The method according to claim 1, further comprising:
    响应于用户添加会话的操作,将所述添加的会话排于最终排序结果之前。In response to the user's operation of adding a session, the added session is ranked before the final sorting result.
  11. 一种即时通信会话的管理装置,其特征在于,包括:An instant messaging session management device, characterized by including:
    显示模块,用于响应于对目标标签的触发操作,显示第一界面,所述第一界面包括:会话排序设置项,所述会话排序设置项用于用户从至少两种会话排序方式中选择一种目标会话排序方式;A display module, configured to display a first interface in response to a triggering operation on the target tag, the first interface including: a session sorting setting item, the session sorting setting item is used for the user to select one of at least two session sorting methods. A way to sort target sessions;
    处理模块,用于响应于通过所述会话排序设置项选择的目标会话排序方式的操作,对所述目标标签对应的会话按照所述目标会话排序方式进行排序。A processing module configured to sort the sessions corresponding to the target tag according to the target session sorting method in response to the operation of the target session sorting mode selected through the session sorting setting item.
  12. 一种电子设备,包括:一个或多个处理器;存储器;以及一个或多个计算机程序;其中所述一个或多个计算机程序被存储在所述存储器中;其特征在于,所述一个或多个处理器在执行所述一个或多个计算机程序时,使得所述电子设备实现如权利要求1-10任一项所述的即时通信会话的管理方法。An electronic device, comprising: one or more processors; a memory; and one or more computer programs; wherein the one or more computer programs are stored in the memory; characterized in that the one or more When the processor executes the one or more computer programs, the electronic device implements the instant messaging session management method according to any one of claims 1-10.
  13. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1-10任一项所述的即时通信会话的管理方法。 A computer-readable storage medium, characterized in that it includes computer instructions that, when the computer instructions are run on an electronic device, cause the electronic device to perform the instant messaging session according to any one of claims 1-10. management methods.
PCT/CN2023/108446 2022-07-22 2023-07-20 Management method and apparatus for instant messaging session, and electronic device and medium WO2024017348A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210869219.X 2022-07-22
CN202210869219.XA CN115225595A (en) 2022-07-22 2022-07-22 Management method, device, electronic equipment and medium for instant messaging session

Publications (1)

Publication Number Publication Date
WO2024017348A1 true WO2024017348A1 (en) 2024-01-25

Family

ID=83613212

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/108446 WO2024017348A1 (en) 2022-07-22 2023-07-20 Management method and apparatus for instant messaging session, and electronic device and medium

Country Status (2)

Country Link
CN (1) CN115225595A (en)
WO (1) WO2024017348A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115225595A (en) * 2022-07-22 2022-10-21 北京字跳网络技术有限公司 Management method, device, electronic equipment and medium for instant messaging session

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106572255A (en) * 2016-10-28 2017-04-19 努比亚技术有限公司 Information intelligent sorting device and method, and mobile terminal
US20180034763A1 (en) * 2016-07-29 2018-02-01 International Business Machines Corporation Methods and systems to prioritize, manage, and archive chat conversations
CN113010255A (en) * 2021-03-24 2021-06-22 腾讯科技(深圳)有限公司 Interaction method and device based on binding session group and computer equipment
CN113660153A (en) * 2021-06-29 2021-11-16 阿里巴巴新加坡控股有限公司 Message processing method, device, equipment and storage medium
CN115225595A (en) * 2022-07-22 2022-10-21 北京字跳网络技术有限公司 Management method, device, electronic equipment and medium for instant messaging session

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105553826A (en) * 2015-12-18 2016-05-04 阿里巴巴集团控股有限公司 Message display method and device
CN107528767B (en) * 2016-07-28 2021-05-11 腾讯科技(深圳)有限公司 Session processing method and device
CN106332020B (en) * 2016-08-19 2019-08-27 北京安云世纪科技有限公司 Short message merging method, device and terminal device
CN110286838B (en) * 2019-06-21 2021-07-27 网易(杭州)网络有限公司 Processing method, device, terminal and storage medium of session object
CN112306592B (en) * 2019-08-01 2023-07-18 腾讯科技(深圳)有限公司 Message processing method and device, storage medium and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180034763A1 (en) * 2016-07-29 2018-02-01 International Business Machines Corporation Methods and systems to prioritize, manage, and archive chat conversations
CN106572255A (en) * 2016-10-28 2017-04-19 努比亚技术有限公司 Information intelligent sorting device and method, and mobile terminal
CN113010255A (en) * 2021-03-24 2021-06-22 腾讯科技(深圳)有限公司 Interaction method and device based on binding session group and computer equipment
CN113660153A (en) * 2021-06-29 2021-11-16 阿里巴巴新加坡控股有限公司 Message processing method, device, equipment and storage medium
CN115225595A (en) * 2022-07-22 2022-10-21 北京字跳网络技术有限公司 Management method, device, electronic equipment and medium for instant messaging session

Also Published As

Publication number Publication date
CN115225595A (en) 2022-10-21

Similar Documents

Publication Publication Date Title
US11042557B2 (en) Methods and apparatus for presenting search results according to a priority order determined by user activity
US20200311342A1 (en) Populating values in a spreadsheet using semantic cues
CN105959374B (en) A kind of data recommendation method and its equipment
US9817863B1 (en) Attribute category enhanced search
CN104461239B (en) A kind of information interacting method and device
WO2024017348A1 (en) Management method and apparatus for instant messaging session, and electronic device and medium
US9558473B2 (en) Collaborative contact management
US10977334B2 (en) Systems and methods for providing client-side enablement of server communications via a single communication session for a plurality of browser-based presentation interfaces
CN102576281B (en) Methods for interacting with and manipulating information and systems thereof
US20220343183A1 (en) Human-computer interaction method and apparatus, storage medium and electronic device
US11561675B2 (en) Method and apparatus for visualization of public welfare activities
US20220027333A1 (en) A System, Method and Data Structure for Allowing Users to Electronically Post Comments
US20140082492A1 (en) Modifiable contextual help content provided in-line within an application
CN106933875A (en) Data query method and device
CN106302932A (en) The method and apparatus checking log in communication terminal
CN106155768A (en) Split screen runs the method and device of application
US20080092033A1 (en) Configurable column display of information at a web client
US10102262B2 (en) Creating reports using dimension trees
WO2023237048A1 (en) Instant messaging session management method and apparatus, and electronic device, medium and product
CN111740850A (en) Group chat creating method and device, electronic equipment and readable storage medium
US20200410030A1 (en) Cloud search-based recommendation method, apparatus, device and readable storage medium
US11190465B2 (en) Displaying data sets responsive to natural language messages received by chatbots
US8479222B2 (en) Simplifying interaction with multiple applications when using forms via a common interface
JP7108382B2 (en) HELP SCREEN PRESENTATION SYSTEM, HELP SCREEN PRESENTATION METHOD AND HELP SCREEN PRESENTATION PROGRAM
CN115270737A (en) Format modification method and device for target object

Legal Events

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

Ref document number: 23842410

Country of ref document: EP

Kind code of ref document: A1