WO2020228561A1 - 一种对话信息的展示方法及装置 - Google Patents

一种对话信息的展示方法及装置 Download PDF

Info

Publication number
WO2020228561A1
WO2020228561A1 PCT/CN2020/088640 CN2020088640W WO2020228561A1 WO 2020228561 A1 WO2020228561 A1 WO 2020228561A1 CN 2020088640 W CN2020088640 W CN 2020088640W WO 2020228561 A1 WO2020228561 A1 WO 2020228561A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
displayed
display
dialogue
dialogue information
Prior art date
Application number
PCT/CN2020/088640
Other languages
English (en)
French (fr)
Inventor
郭胜男
Original Assignee
阿里巴巴集团控股有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Priority to SG11202112622PA priority Critical patent/SG11202112622PA/en
Publication of WO2020228561A1 publication Critical patent/WO2020228561A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/34Browsing; Visualisation therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Definitions

  • the present invention relates to the field of computer technology, in particular to a method and device for displaying dialogue information.
  • some instant messaging software provides a search function for chat records, filtering and searching through different dimensions such as time, person, and keywords.
  • the way of searching for dialogue information requires the user to specify the query dimensions and search content, which is very cumbersome.
  • the user needs to perform further identification and screening, which greatly reduces the interaction of the user to check the dialogue information.
  • the present invention proposes a method and device for displaying dialogue information, the main purpose of which is to combine and display repetitive and useless information, so that users can quickly view useful dialogue information and improve the user's dialogue interaction experience.
  • the present invention mainly provides the following technical solutions:
  • the present invention provides a method for displaying dialogue information, which specifically includes:
  • the dialogue information to be displayed and the dialogue information with the same content are combined and displayed.
  • the present invention provides a method for displaying dialogue information, which is applied to an instant messaging client, and specifically includes:
  • the present invention provides an apparatus for displaying dialogue information, which specifically includes:
  • the receiving unit is used to receive dialogue information to be displayed
  • a judging unit configured to judge whether the amount of information in the display interface that has the same content as the dialogue information to be displayed obtained by the receiving unit is greater than a threshold
  • the display unit is configured to combine and display the dialogue information to be displayed and the dialogue information with the same content when the judgment unit determines that the amount of information is greater than the threshold.
  • the present invention provides an apparatus for displaying dialogue information, which specifically includes:
  • the receiving unit is used to receive dialogue information to be displayed
  • a judging unit for judging whether the display interface of the client is in a display state
  • the prompting unit is configured to prohibit sending and receiving prompting information of the dialogue information to be displayed if it is in the non-display state determined by the judging unit and the amount of information having the same content as the dialogue information to be displayed obtained by the receiving unit is greater than the threshold.
  • the present invention provides an instant messaging client, including:
  • the annotation information of the combined display dialogue information is displayed, and the annotation information includes at least the number of users sending the dialogue information and/or the user identification.
  • the present invention provides a storage medium for storing a computer program, wherein, when the computer program is running, the device where the storage medium is located is controlled to execute the above dialog information display method.
  • the present invention provides an electronic device that includes a processor and a memory, and the processor is used to call program instructions in the memory to execute the above-mentioned method for displaying dialog information.
  • the present invention provides a method and device for displaying dialogue information, which is mainly used in the dialogue display interface of instant messaging software.
  • the dialogue information that is repeated too much is combined and displayed into one piece of information to reduce the display of these dialogues.
  • the display space required for information to improve the efficiency of the display interface to display effective dialogue information per unit area avoid the situation that the display interface of dialogue information is swiped by a large amount of repeated information, so that users can quickly read useful dialogue information , To enhance the user's interactive interactive experience.
  • FIG. 1 shows a flowchart of a method for displaying dialogue information proposed by an embodiment of the present invention
  • FIG. 2 shows a schematic diagram of the display effect of the dialog information display method proposed by the embodiment of the present invention in the display interface
  • FIG. 3 shows a schematic diagram of the display effect of the dialog information display method proposed by the embodiment of the present invention in the display interface
  • FIG. 4 shows a schematic diagram of the display effect of the dialog information display method proposed by the embodiment of the present invention in the display interface
  • FIG. 5 shows a flowchart of another method for displaying dialog information according to an embodiment of the present invention
  • Fig. 6 shows a block diagram of a device for displaying dialogue information proposed by an embodiment of the present invention
  • FIG. 7 shows a block diagram of another dialog information display device proposed by an embodiment of the present invention.
  • Figure 8 shows a block diagram of another dialog information display device proposed by an embodiment of the present invention.
  • Fig. 9 shows a block diagram of another dialog information display device proposed by an embodiment of the present invention.
  • the method for displaying dialog information provided by the embodiment of the present invention is mainly applied to the client terminal of instant messaging software, so as to avoid a large amount of repeated information swiping and affecting the user to read effective dialog information.
  • the specific steps of the solution are shown in Figure 1, including:
  • Step 101 Receive dialogue information to be displayed.
  • the dialog information to be displayed includes the dialog information to be displayed sent by all users during the dialog.
  • the dialog information to be displayed is the dialog information edited and sent by the user in the dialog interface.
  • the backend of the instant messaging software client recognizes the dialogue information to be displayed, and executes the operation of step 102.
  • dialog information to be displayed in the embodiment of the present invention is visual information content, which mainly includes text information and expression information.
  • Step 102 Determine whether the amount of information in the display interface that has the same content as the dialogue information to be displayed is greater than a threshold.
  • the display interface is not limited to the display page of the dialogue content, or the prompt information for the dialogue information displayed on the terminal screen, for example, the information prompt box that pops up in the mobile phone lock screen interface, or pops up when the application is minimized. Message bubbles etc.
  • the content of the judged dialogue information is not limited to text or emoticons.
  • the judgment of the content of the text can be based on the calculation of text similarity to determine whether the dialogue content displayed in the display interface is the same.
  • the content of the dialogue information to be displayed is the same.
  • the judgment of the expression is based on the text content associated with the expression.
  • the display mode of the dialogue information to be displayed is determined according to the amount of information that has been displayed in the display interface with the same content. If the amount is greater than the threshold, step 103 is performed, otherwise, step 104 is performed.
  • the threshold can be customized, and users can set it according to their own habits or needs.
  • Step 103 Combine and display the dialogue information to be displayed and the dialogue information with the same content.
  • the dialogue information to be displayed and these dialogues are unified and displayed, that is, only one piece of dialogue information of the content is displayed in the display interface.
  • step 104 is executed to display the dialogue information to be displayed in the display interface.
  • the method for displaying dialog information is to first display the dialog information displayed in the display interface when the client of the instant messaging software receives the dialog information to be displayed.
  • the information is identified, and it is judged whether there is the same content information with a quantity greater than the threshold. If there is, the dialogue information to be displayed and the same content information are combined and displayed, otherwise, no processing is performed, and the display interface is directly displayed. Dialogue information to be displayed.
  • the display interface of dialogue information automatic identification and merging of duplicate content will be realized, so as to prevent these duplicate dialogue information from occupying a large amount of display space, resulting in users not being able to view useful information content in time.
  • the display interface can also be an information prompt interface, it can also avoid generating too many repeated dialog prompt messages, thereby improving the user's application experience of using instant messaging software.
  • step 102 in the above embodiment is executed At the time, the identification standards for dialogue information with the same content will be restricted, specifically:
  • One is to identify consecutive conversation information with the same content and count whether the number is greater than a threshold.
  • the specific implementation logic is: first obtain the dialog information that has the same content as the dialog information to be displayed on the display page, and if it exists, continue to determine whether the dialog information has a continuous display relationship with the dialog information to be displayed, that is, to determine that the content is the same Whether the dialogue information of is displayed continuously, if it is displayed continuously, it is further judged whether the amount of dialogue information is greater than the threshold; and if it is not continuous, no judgment is needed to determine that the amount of dialogue information is less than the threshold. At this time, You can directly display the dialogue information to be displayed
  • the other is to set the time period for the query, for example, determine whether the dialogue information displayed in the display interface in the first 10 minutes or 1 hour has the same information as the dialogue information to be displayed, if it exists, then further statistics Whether the number of these dialog messages is greater than the threshold. Similarly, you can also set the number of queries, for example, to find the content of the first 50 or 100 displayed dialog messages.
  • the dialogue information to be displayed does not all need to be combined and displayed, for example, a New Year greeting message during the Chinese New Year, or a blessing message for a birthday, these carry specific blessing information. It needs to be displayed separately. Therefore, in order to improve the identification and processing efficiency of the dialogue information to be displayed in the present invention, after receiving the dialogue information to be displayed, the dialogue information to be displayed is matched through a preset blacklist to determine whether the dialogue information to be displayed has a need for combined display. If it exists, perform the subsequent identification steps. If it does not exist, it can be directly displayed in the display interface.
  • the execution logic is:
  • the preset blacklist is used to record words that need to be combined and displayed, for example, good, received and other repetitive and meaningless response words.
  • the preset blacklist can also be common to all conversations, or it can be specific to specific conversations, that is, for conversation groups of different natures, such as work groups, family groups, friend groups, etc. For this reason, There may also be multiple preset blacklists for users to make selective settings according to the needs of specific scenarios.
  • step 103 is executed, that is, the operation of judging whether the amount of information in the display interface that is the same as the content of the dialogue information to be displayed is greater than the threshold; on the contrary, if the word is not hit, execute the separate display of the waiting Show the operation of dialogue information.
  • a whitelist can also be set to limit some words that cannot be combined, such as some blessings.
  • Types of repetitive dialogues such as "Happy Birthday”, “Happy Chinese New Year”, etc. These dialogue words generally appear in more specific dialogue scenes and do not appear frequently. Therefore, they can be set through a whitelist and the dialogue will be displayed.
  • the content of the information hits the words in the whitelist, it can be displayed directly without the need to count the number of repetitions of the content.
  • the process of identifying and matching the dialogue content of text information needs to be recognized and judged for the specific process.
  • the judgment criterion may be that the text content is exactly the same. It is also possible to determine two pieces of text information whose text semantic similarity is greater than a threshold value as the same two pieces of dialogue information through the semantic similarity.
  • the expression in the dialogue content can be determined by recognizing the expression identifier during recognition. Therefore, when matching, only need to be based on the expression identifier in the display interface of the dialogue Find out whether there are conversations with the same identifier, and count the number. It should be noted that when matching, when the dialogue content contains only emoticons, it is a hit to find other dialogues that contain the emoticon, and when the dialogue content contains emoticons and text, it needs to be matched with the emoticon and text All the other conversations are the same.
  • step 103 shown in FIG. 1 the specific execution method of step 103 shown in FIG. 1 and the information display effect in the display interface are specifically as follows:
  • the content of the dialogue information to be displayed is displayed.
  • the annotation information of the content of the dialogue information to be displayed is counted, and the identification of the annotation information is displayed.
  • the annotation information includes at least the number of users who sent the dialogue information of the same content and the user identification.
  • the process of deleting and displaying is performed synchronously. From the perspective of the display effect of the display interface, it is to merge the dialogues of the same content into one, and display the corresponding annotation information mark beside the dialogue information.
  • the identification When the identification is operated, it can be expanded and displayed, that is, the identification of the user who sent the content of the conversation is displayed.
  • the specific performance of the logo being operated can be a user's click or hover (imitating a hover event: the mouse moves to an object and moves out of the object), and the expanded display can be expanded in the current display interface, or A new display window (annotation window) is generated at the identified position to display the detailed content of the annotation information.
  • the above-mentioned execution process of the combined display is mostly used for the presence of multiple independent displayed dialog information in the display interface, and when the existing dialog information with the same content is a piece of combined displayed dialog information, the combined displayed dialog can be retained At the same time, according to the user ID corresponding to the dialog information to be displayed, the annotation information of the dialog information is updated.
  • the embodiments of the present invention also provide corresponding implementation solutions for application scenarios where prompt information needs to be sent when the smart terminal where the instant messaging software is located is locked or the application is minimized.
  • a corresponding prompt message will be generated.
  • the prompt message can be displayed in a prompt box at a specified position, such as a mobile phone displaying prompt information through a drop-down menu, or minimize an application
  • the prompt bubble corresponding to the icon can be displayed in a prompt box at a specified position, such as a mobile phone displaying prompt information through a drop-down menu, or minimize an application
  • the prompt bubble corresponding to the icon is corresponding implementation solutions for application scenarios where prompt information needs to be sent when the smart terminal where the instant messaging software is located is locked or the application is minimized.
  • each piece of prompt information often has corresponding prompt operations, such as vibration, prompt sound, etc.
  • the prompt information corresponding to the dialog information with the same content can be combined and displayed, that is, in the prompt box or bubble
  • the prompt information is combined and displayed, and at the same time, the associated prompt operation is cancelled. In this way, repeated prompt operations of the smart terminal can be reduced, and the normal use of the user can be prevented from being disturbed.
  • the display method proposed in the above embodiment is mainly applied in instant messaging applications. Due to the different personal preferences of users, in specific implementation, the display method can be set in the application as a display function. For users to choose to open. That is to say, the user can realize whether to combine and display the content of the dialogue that is repeated too much by setting the display function.
  • a preferred embodiment of the present invention after performing step 101 in the embodiment shown in FIG. 1, a preferred embodiment of the present invention further includes:
  • the combined display function is turned on, it is determined whether the amount of information with the same content of the dialogue information to be displayed in the display interface is greater than the threshold, and when it is greater than the threshold, the dialogue information to be displayed and the dialogue information with the same content are combined and displayed, that is, the execution diagram Steps 102 and 103 of the embodiment shown in 1.
  • the received dialogue information to be displayed will be displayed separately. That is, there is no need to process, and the dialogue information is directly displayed.
  • the present invention describes the display process and effects of dialog information in conjunction with a specific application scenario on a mobile phone shown in FIGS. 2, 3, and 4.
  • Figures 2 to 4 show the process of merging and displaying dialogue information of the same content in a dialogue group.
  • the execution process of the embodiment of the present invention can be decomposed into multiple chat interfaces, and the threshold for combined display is set to 3.
  • Figure 2 is the chat interface of the xx group, displaying the dialogue information of A and B.
  • the left interface in Figure 3 shows In the interface shown in Figure 2, the dialogue information of C is added, and the dialogue content of C is the same as that of B.
  • the dialogue content of C is displayed after judgment, and it is found that although there is the same dialogue content, the amount of information is up to 3. Therefore, the dialogue information of C is displayed separately.
  • FIG. 3 is the background on the left side interface, and the dialogue information of D is received, and it is the same as the displayed dialogue content of B and C.
  • the application background will judge the dialog information to be displayed from D, and the result is that the amount of information with the same content reaches the threshold.
  • the dialog information to be displayed will be merged, and the displayed interface is the right interface in Figure 3.
  • This interface only displays the dialogue information of A, and the dialogue information after merging B, C, and D.
  • the dialogue information it also displays the mark of annotation information, that is, a page control of "3 people send this content”.
  • Figure 4 shows that when the user clicks or hover the page control, a new window is generated, and the user ID (user name or user avatar) who sent the content is displayed in the window.
  • the main purpose is to display a dialog information display method that is executed when the display interface is in the display state, that is, the process of merging dialog information when the user can directly watch the dialog content, and
  • the present invention will use the steps shown in Figure 5 to specifically describe the process of processing dialog messages with the same content, which specifically includes:
  • Step 201 Receive dialogue information to be displayed.
  • Step 202 Determine whether the display interface of the client is in a display state.
  • the client is an instant messaging client that displays dialogue information.
  • the display state is used to determine whether the user can see the display interface of the client. If it is visible, the display interface is in the display state, and if it is not visible, the display interface is in the undisplayed state.
  • the display interface When the display interface is in the undisplayed state, it means that the user is invisible to the dialogue information. At this time, it is generally necessary to prompt the user through a prompt message to remind the user that there is unread dialogue information on the client. For the display of the prompt information, perform the steps 203.
  • Step 203 If it is in an unshown state and the amount of information that is the same as the content of the dialogue information to be displayed is greater than the threshold, it is forbidden to send and receive the prompt information of the dialogue information to be displayed.
  • This step is to identify the content of the dialog information to be displayed in the backend of the client, and determine whether the amount of information with the same content is greater than the threshold. If it is greater than that, it means that there is too much repeated content. At this time, no prompt information is sent. Otherwise, the prompt information is sent. Prompt the user to query the dialog information.
  • step 202 the process of judging whether the display interface is in the display state can be specifically implemented by the following steps:
  • This step is to determine whether the terminal device is in the locked screen state. If it is in the locked screen state, that is, the screen is not displayed. At this time, it can be directly determined that the client is in the undisplayed state. If the screen is in the display state, it is necessary to further determine whether the display interface is displayed on the screen.
  • This step is to determine whether the client is in the minimized state. If it is not minimized, it means that the display interface of the client is visible to the user. At this time, the processing to display the content of the dialog can be referred to as described in Figure 1 to Figure 4. If the content is minimized, that is, the display interface is not displayed on the screen, it is determined that the display interface at this time is not displayed.
  • the client when the user opens the display interface of the client according to the prompt information, the client will detect whether there is too much repetition of the dialogue information to be detected when displaying the dialogue information, and if so, perform the combined display of the dialogue information, that is, execute If the embodiment described in Figures 1 to 4 does not exist, the dialog information will be displayed normally.
  • the user can also expand and display the content of the combined display in the display interface, such as clicking, dragging, etc., based on the user's operation to trigger the information expansion instruction, and the client can display the user's specified instruction according to the information expansion instruction Dialogue information.
  • an embodiment of the present invention provides a dialog information display device, which is mainly used in instant messaging software to avoid a large amount of repeated information swiping that affects user reading Effective dialogue information.
  • this device embodiment will not repeat the details in the foregoing method embodiment one by one, but it should be clear that the device in this embodiment can correspondingly implement all the content in the foregoing method embodiment.
  • the device is shown in Figure 6, and specifically includes:
  • the receiving unit 31 is configured to receive dialogue information to be displayed
  • the judging unit 32 is configured to judge whether the amount of information in the display interface that has the same content as the dialogue information to be displayed obtained by the receiving unit 31 is greater than a threshold;
  • the display unit 33 is configured to combine and display the dialogue information to be displayed and the dialogue information with the same content when the judgment unit 32 determines that the amount of information is greater than the threshold;
  • the judgment unit 32 includes:
  • the obtaining module 321 is configured to obtain dialogue information that has the same content as the dialogue information to be displayed on the display page;
  • the first judgment module 322 is configured to judge whether the dialogue information obtained by the obtaining module 321 has a continuous display relationship with the dialogue information to be displayed;
  • the second judging module 323 is used for judging whether the amount of dialogue information is greater than a threshold when the first judging module 321 determines that the display is continuous;
  • the determining module 324 is configured to determine that the amount of dialog information is less than the threshold when the first determining module 321 determines that the display is discontinuous.
  • the device further includes:
  • the matching unit 34 is configured to, after the receiving unit 31 receives the dialogue information to be displayed, use a preset blacklist to match the content of the dialogue information to be displayed, and the preset blacklist is used to record the dialogue information to be combined and displayed;
  • the judging unit 32 performs the operation of judging whether the amount of information in the display interface that is the same as the content of the dialogue information to be displayed is greater than the threshold;
  • the display unit 33 separately displays the dialogue information to be displayed.
  • the matching unit 34 is further configured to use a preset white list to match the content of the dialogue information to be displayed, and the preset white list is used to record the dialogue information that needs to be displayed separately ;
  • the judgment unit 32 is executed to judge whether the amount of information in the display interface that is the same as the dialogue information to be displayed is greater than the threshold;
  • the display unit 33 separately displays the dialogue information to be displayed.
  • the display unit 33 includes:
  • the deleting module 331 is used to delete the displayed dialog information with the same content in the display interface
  • the display module 332 is used to display the content of the dialogue information to be displayed
  • the statistics module 333 is configured to count the annotation information of the content displayed by the display module 332, and the annotation information includes at least the number of users who send the dialogue information of the content and the user ID;
  • the display module 332 is also used to display the identifier of the annotation information obtained by the statistics module 333.
  • the display unit 33 further includes:
  • the expansion module 334 is used to generate a comment window to display the detailed content of the comment information when the mark of the comment information is clicked.
  • the display unit 33 is further configured to, if the dialogue information with the same content is a piece of dialogue information to be displayed after merging, maintain the dialogue information and update the annotation information of the dialogue information.
  • the device further includes:
  • the identifying unit 35 is configured to identify the content of the dialogue information to be displayed acquired by the acquiring unit 31;
  • the matching unit 36 is configured to recognize the text content when the recognition unit 35 determines that the content of the dialog information is text information, and match the dialog information that is the same as the text content in the display interface;
  • the searching unit 37 is configured to extract the expression identifier when the identification unit 35 determines that the content of the dialogue information is expression information, and search for the dialogue information with the expression identifier in the display interface.
  • the device further includes:
  • the detecting unit 38 is configured to determine whether the combined display function is enabled on the display interface
  • the detection unit 38 determines that the combined display function is enabled, the judgment is executed to determine whether the amount of information in the display interface that has the same content as the dialogue information to be displayed is greater than the threshold; if it is greater, the dialogue information to be displayed and the dialogue with the same content are Operation of information combined display;
  • the detection unit 38 determines that the combined display function is not enabled, the received dialogue information to be displayed is displayed separately.
  • the display unit 33 is further configured to, when the display interface is a prompt box for prompting information, display the prompt information of the dialogue information to be displayed obtained by the receiving unit in the prompt box, and cancel related information.
  • the prompt operation of the joint is a prompt box for prompting information.
  • an embodiment of the present invention provides a dialog information display device, which is mainly used in instant messaging software to avoid a large amount of repeated information swiping that affects user reading Effective dialogue information.
  • this device embodiment will not repeat the details in the foregoing method embodiment one by one, but it should be clear that the device in this embodiment can correspondingly implement all the content in the foregoing method embodiment.
  • the device is shown in Figure 8 and specifically includes:
  • the receiving unit 41 is configured to receive dialogue information to be displayed
  • the judging unit 42 is used to judge whether the display interface of the client is in a display state
  • the prompting unit 43 is configured to prohibit sending and receiving the dialog information to be displayed if it is in the non-display state determined by the judging unit 42 and the amount of information with the same content as the dialog information to be displayed obtained by the receiving unit 41 is greater than the threshold value Prompt information.
  • the judging unit 42 includes:
  • the judging module 421 is used to judge whether the screen of the terminal device where the client is located is in a display state
  • the determining module 422 is configured to determine that the display interface of the client is in the undisplayed state when the determining module 421 determines that it is not in the display state;
  • the determination module 422 is further configured to determine that the display interface is in the non-display state when the determination module 421 determines that it is in the display state, and when the display interface is in the minimized state.
  • the device further includes:
  • the display unit 44 is configured to combine and display the dialogue information to be displayed and the dialogue information with the same content when the display interface of the client is converted to the display state;
  • the display unit 44 is further configured to receive an information expansion instruction, and separately display the combined displayed dialogue information in the display interface according to the information expansion instruction.
  • the embodiment of the present invention also provides an instant messaging client, which can be installed in a smart device, and can combine and display the dialogue information displayed on the display interface of the client.
  • the specific conditions for the combined display can be With reference to the content of the embodiments shown in FIG. 1 and FIG. 5, which will not be repeated here, the client specifically includes:
  • the annotation information of the combined display dialogue information is displayed, and the annotation information includes at least the number of users sending the dialogue information and/or the user identification.
  • the instant messaging client sets a comment flag when merging the displayed dialog information, and the comment flag is used to display corresponding comment information on the display interface when triggered by the viewing operation.
  • the viewing operation includes: an operation of a user clicking on the annotation mark or an operation of a user hovering a cursor on the annotation mark.
  • an embodiment of the present invention also provides a processor, which is configured to run a program, wherein the method for displaying dialog information as described in FIG. 1 is executed when the program is running.
  • an embodiment of the present invention also provides an electronic device, which includes a processor and a memory, the memory is used to store a program, and the processor is coupled to the memory and is used to run the program to execute The display method of the dialogue information.
  • memory may include non-permanent memory in computer-readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM), and memory includes At least one memory chip.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash random access memory
  • the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • a computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.
  • the computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
  • processors CPU
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-permanent memory in a computer readable medium, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM).
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the information can be computer-readable instructions, data structures, program modules, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
  • this application can be provided as methods, systems, or computer program products. Therefore, this application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种对话信息的展示方法及装置,涉及计算机技术领域,主要目的在于将重复无用的信息进行合并展示,让用户能够快速查看到有用的对话信息,提高用户的对话交互体验。本发明主要的技术方案为:接收待展示对话信息;判断展示界面中与所述待展示对话信息内容相同的信息数量是否大于阈值;若大于,则将所述待展示对话信息与内容相同的对话信息合并展示。本发明主要用于展示对话信息。

Description

一种对话信息的展示方法及装置
本申请要求2019年05月13日递交的申请号为201910394376.8、发明名称为“一种对话信息的展示方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及计算机技术领域,尤其涉及一种对话信息的展示方法及装置。
背景技术
生活中,即时通讯软件已经成为人们交流沟通的一种常规方式,即时通讯软件通过网络实现实时对话、视频。其中的群功能,更是让其组员不受地域限制,在线进行会议、交流活动,如今,每个人的即时通讯软件账户都存在有大量的群组。然而,在使用这些群组时,会遇到大量重复无用的对话信息刷屏,让后查看的组员在打开对话时需要上翻几屏才能找到有用的对话信息,比如,在一个工作群中,老板说了一句话,下面几十上百人回复“收到”或者“点赞等等”,此时对于刚看到的组员要看老板所说的内容就需要上翻很久才能查到,十分不便。
对此,一些即时通讯软件提供了聊天记录的查找功能,通过时间、人物、关键词等不同维度进行筛选查找。然而,通过查找对话信息的方式,需要用户指定查询维度以及查找内容,操作十分繁琐,并且,对于存在大量查找结果时,还需要用户自身进行进一步的识别筛选,大大降低了用户查收对话信息的交互体验。
发明内容
鉴于上述问题,本发明提出了一种对话信息的展示方法及装置,主要目的在于将重复无用的信息进行合并展示,让用户能够快速查看到有用的对话信息,提高用户的对话交互体验。
为达到上述目的,本发明主要提供如下技术方案:
第一方面,本发明提供一种对话信息的展示方法,具体包括:
接收待展示对话信息;
判断展示界面中与所述待展示对话信息内容相同的信息数量是否大于阈值;
若大于,则将所述待展示对话信息与内容相同的对话信息合并展示。
第二方面,本发明提供一种对话信息的展示方法,应用于即时通讯客户端,具体包括:
接收待展示对话信息;
判断所述客户端的展示界面是否处于展示状态;
若处于未展示状态,且与所述待展示对话信息内容相同的信息数量大于阈值时,禁止发送接收到所述待展示对话信息的提示信息。
第三方面,本发明提供一种对话信息的展示装置,具体包括:
接收单元,用于接收待展示对话信息;
判断单元,用于判断展示界面中与所述接收单元得到的待展示对话信息内容相同的信息数量是否大于阈值;
展示单元,用于当所述判断单元确定信息数量大于阈值时,将所述待展示对话信息与内容相同的对话信息合并展示。
第四方面,本发明提供一种对话信息的展示装置,具体包括:
接收单元,用于接收待展示对话信息;
判断单元,用于判断所述客户端的展示界面是否处于展示状态;
提示单元,用于若处于判断单元确定的未展示状态,且与所述接收单元得到的待展示对话信息内容相同的信息数量大于阈值时,禁止发送接收到所述待展示对话信息的提示信息。
第五方面,本发明提供一种即时通讯客户端,包括:
在展示界面中合并展示具有相同内容的对话信息;
根据用户在所述展示页面中的查看操作,展示被合并展示对话信息的注释信息,所述注释信息至少包括发送所述对话信息的用户数量和/或用户标识。
第六方面,本发明提供一种存储介质,所述存储介质用于存储计算机程序,其中,所述计算机程序运行时控制所述存储介质所在设备执行上述的对话信息的展示方法。
此外,本发明提供一种电子设备,所述电子设备中包括处理器和存储器,所述处理器用于调用所述存储器中的程序指令,以执行上述的对话信息的展示方法。
借由上述技术方案,本发明提供的一种对话信息的展示方法及装置,主要应用于即时通讯软件的对话展示界面中,将重复过多的对话信息进行合并展示为一条信息,缩减展示这些对话信息所需的展示空间,以此来提高展示界面在单位面积内展示有效对话信息的效率,避免出现对话信息的展示界面被大量重复信息刷屏的情况,使得用户能够快 速阅读到有用的对话信息,提升用户的对话交互体验。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
附图说明
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1示出了本发明实施例提出的一种对话信息的展示方法的流程图;
图2示出了本发明实施例提出的对话信息的展示方法在展示界面中的展示效果示意图;
图3示出了本发明实施例提出的对话信息的展示方法在展示界面中的展示效果示意图;
图4示出了本发明实施例提出的对话信息的展示方法在展示界面中的展示效果示意图;
图5示出了本发明实施例提出的另一种对话信息的展示方法的流程图;
图6示出了本发明实施例提出的一种对话信息的展示装置的组成框图;
图7示出了本发明实施例提出的另一种对话信息的展示装置的组成框图;
图8示出了本发明实施例提出的另一种对话信息的展示装置的组成框图;
图9示出了本发明实施例提出的另一种对话信息的展示装置的组成框图。
具体实施方式
下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本发明,并且能够将本发明的范围完整的传达给本领域的技术人员。
本发明实施例提供的一种对话信息的展示方法,主要应用于即时通讯软件的客户端中,避免出现大量重复信息刷屏而影响用户读取有效对话信息。该方案实现的具体步骤 如图1所示,包括:
步骤101、接收待展示对话信息。
其中,待展示对话信息包括对话过程中所有用户发送要展示的对话信息,对于本地用户,该待展示对话信息为用户在对话界面中编辑好并发送的对话信息。由即时通讯软件客户端的后台对待展示对话信息进行识别,执行步骤102的操作。
需要说明的是,本发明实施例中的待展示对话信息为可视化的信息内容,其主要包括文字信息与表情信息。
步骤102、判断展示界面中与待展示对话信息内容相同的信息数量是否大于阈值。
其中,展示界面不限定是对话内容的展示页面,或者是在终端屏幕中显示的针对对话信息的提示信息,比如,在手机锁屏界面中弹出的信息提示框、或在应用最小化状态下弹出的消息气泡等。
此外,在判断内容相同的信息时,所判断的对话信息的内容也不限定是文字或表情,对于文字的内容判断,可以是基于文本相似度计算确定在展示界面中已展示的对话内容是否与待展示对话信息的内容相同。对于表情的判断,则是基于表情所关联的文本内容进行识别判断的。
根据判断在展示界面中已展示的内容相同的信息数量,来确定待展示对话信息的展示方式,若数量大于阈值,执行步骤103,反之,执行步骤104。其中,该阈值可以自定义设置,用户可根据自身的习惯或需求进行设置。
步骤103、将待展示对话信息与内容相同的对话信息合并展示。
该步骤是在确定展示界面中存在有多条内容相同的对话信息后,将待展示对话信息与这些对话进行统一的合并展示,即在展示界面中仅展示一条该内容的对话信息。
而在展示界面中没有内容相同的对话信息,或者是内容相同的对话信息的数量小于或等于阈值时,则执行步骤104将该待展示对话信息展示在展示界面中。
通过上述实施例可见,本发明实施例所提供的一种对话信息的展示方法,是在即时通讯软件的客户端接收到待展示对话信息时,先对其所展示的展示界面中已展示的对话信息进行识别,判断其中的是否存在数量大于阈值的相同内容信息,若存在,则将该待展示对话信息与这些相同内容信息进行合并展示,反之,则不做处理,直接在展示界面中展示该待展示对话信息。经过如此处理后,在对话信息的展示界面中,将实现对重复内容的自动识别与合并,避免这些重复对话信息占据大量的展示篇幅,导致用户在不能 及时查看到有用的信息内容。同时,由于该展示界面也可以是信息的提示界面,如此也可以避免产生过多重复的对话提示信息,从而提高用户使用即时通讯软件的应用体验。
进一步的,由于在一些聊天群组中存在时间跨度较大的对话信息,为了避免会与很久前的对话信息进行合并展示,本发明的一个优选实施例中,在执行上述实施例中的步骤102时,将会限制对内容相同的对话信息的识别标准,具体的:
一种,是识别连续地内容相同的对话信息,统计其数量是否大于阈值。其具体实现逻辑为:先获取展示页面中与待展示对话信息内容相同的对话信息,如果存在,则继续判断这些对话信息是否与待展示对话信息具有连续展示关系,也就是说,要确定内容相同的对话信息是否是连续展示的,如果是连续展示的,则进一步判断这些对话信息的数量是否大于阈值;而如果不是连续的,则无需判断,即可以确定对话信息的数量小于阈值,此时,则可以直接展示该待展示对话信息
另一种,是设置查询的时间段,比如,判断前10分钟,或前1小时内在展示界面中所展示的对话信息是是否存在与待展示对话信息内容相同的信息,若存在,则进一步统计这些对话信息的数量是否大于阈值。相类似,还可以设置查询的条数,比如,查找前50条或100条所展示的对话信息的内容。
通过以上列举的识别标准,就可以有效地针对一个群组中在聊同一话题时所出现的大量重复对话信息进行识别,提高对话信息合并展示的准确性。
进一步的,本发明在执行过程中,由于待展示对话信息并不都是需要执行合并展示的,比如,在过年时的拜年信息,或则过生日时的祝福信息,这些承载有特定祝福的信息是需要单独展示的。因此,为了提高本发明对待展示对话信息的识别与处理效率,在接收待展示对话信息之后,先通过预置黑名单匹配待展示对话信息,以确定该待展示对话信息是否存在合并展示的需求,若存在,再执行后续的识别步骤,若不存在则可以直接展示在展示界面中。其执行逻辑具体为:
利用预置黑名单匹配待展示对话信息的内容。其中,预置黑名单用于记录需要合并展示的词语,比如,好的、收到等具有重复性且无实际意义的应答词语。
需要说明的是,该预置黑名单可以也针对所有对话通用的,也可以是针对特定对话的,即针对不同性质的对话群组,如工作群、家人群、朋友群等等,为此,该预置黑名 单也可以是多个,供用户根据具体场景的需求进行有选择的设置。
之后,若命中黑名单中的词语,则执行步骤103,即执行判断展示界面中与待展示对话信息内容相同的信息数量是否大于阈值的操作,反之,若未命中,则执行单独展示所述待展示对话信息的操作。
通过上述对待展示对话信息的识别过滤,可以提高对信息的处理效率,在实际应用过程,与设置黑名单类似的,还可以设置白名单,对一些不能合并展示的词语进行限定,比如对于一些祝福类的重复对话,如“生日快乐”、“过年好”等,这些对话词语一般出现在比较特定的对话场景中,并不常出现,因此,可以通过白名单的方式加以设置,当待展示对话信息的内容命中白名单中的词语时,则可以直接展示,而不需要对内容的重复数量进行统计。而在未命中时,则可以判断对话内容重复的数量,或者是结合黑名单,先判断该对话内容是否在黑明单,若即不再白名单,也不再黑名单中时,再判断内容重复的数量。
上述实施例中列举的是针对文字信息的对话内容进行识别匹配过程,其具体过程需要针对文字进行识别判断,在确定文字内容相同的两条对话信息时,其判断标准可以是文字内容完全相同,也可以是通过语义相似度将文字的语义相似度大于阈值的两条文字信息确定为相同的两条对话信息。
而对于对话内容为表情时,由于表情一般是由图片所构成,在识别时可以通过识别表情标识来确定对话内容中的表情,因此,在匹配时,仅需要根据表情标识在对话的展示界面中查找是是否具有相同标识的对话,并统计数量。需要说明的是,在匹配时,当对话内容中仅含有表情时,则查找其他对话内容中含有该表情即为命中,而当对话内容中含有表情和文字时,则需要匹配与该表情与文字都相同的其他对话。
进一步的,在本发明的一个优选实施例中,针对图1所示的步骤103的具体执行方式,以及在展示界面中的信息展示效果具体为:
首先,在展示界面中删除已展示的内容相同的对话信息。
之后,展示待展示对话信息的内容。同时,统计该待展示对话信息的内容的注释信息,并展示该注释信息的标识。
其中,注释信息至少包括发送该相同内容的对话信息的用户数量、用户标识。
该过程中,删除与展示的过程是同步执行的,在展示界面的展示效果上看,就是将 相同内容的对话进行合并为一条,并在该条对话信息旁展示有对应的注释信息的标识。在该标识被操作时,可以进行展开显示,即展示发送该对话内容的用户标识。其中,标识被操作的具体表现可以是用户的点击或hover(模仿悬停事件:鼠标移动到一个对象上面及移出这个对象),而对于展开显示可以是在当前的展示界面中进行展开,也可以在标识的位置生成一个新的展示窗口(注释窗口),用于展示注释信息的详细内容。
此外,上述合并展示的执行过程多用于在展示界面中存在多个独立展示的对话信息,而对于存在的内容相同的对话信息为一条合并后展示的对话信息时,则可以保留该合并展示的对话信息的内容,同时,根据发送待展示对话信息对应的用户标识,更新该对话信息的注释信息。
进一步的,本发明实施例还针对于即时通讯软件所在的智能终端锁屏或应用最小化时,需要发送提示信息的应用场景给出了对应的实施方案。对于现有的提示方式,每接收到一条对话信息,都会生成有对应的提示信息,该提示信息可以是展示在指定位置的提示框中,如手机通过下拉菜单展示提示信息,或者是最小化应用图标对应的提示气泡。并且每条提示信息多会有对应的提示操作,如震动、提示音等,而通过本发明实施例,可以针对内容相同的对话信息所对应的提示信息进行合并展示,即在提示框或气泡中合并展示提示信息,同时,取消相关联的提示操作,如此,就可以减少智能终端的反复提示操作,防止打扰用户的正常使用。
进一步的,针对上述实施例中所提出的展示方法,其主要应用于即时通讯应用中,由于用户的个人喜好不同,在具体实施时,可将该展示方法以展示功能的方式设置在应用中,以供用户选择开启。也就是说,用户可通过设置展示功能实现是否将重复过多的对话内容进行合并展示这一功能。对此,在具体实施时,在执行图1所示实施例中的步骤101之后,本发明的一个优选的实施例还包括:
首先,判断展示界面是否开启合并展示功能。
若开启合并展示功能,则判断展示界面中与所述待展示对话信息内容相同的信息数量是否大于阈值,并在大于阈值时,将待展示对话信息与内容相同的对话信息合并展示,即执行图1所示实施例的步骤102、103。
若未开启合并展示功能,则单独展示接收得到的待展示对话信息。即不需要处理, 直接展示对话信息。
综合上述实施例的内容,本发明结合图2、图3以及图4所示的在手机上的一个具体应用场景说明对话信息的展示过程与效果。
图2-图4示出了在一个对话群组中对相同内容的对话信息进行合并展示的过程,当然本发明同样也可以应用于单人对话中。本发明实施例的执行过程可以分解为多个聊天界面,设定合并展示的阈值为3,图2为xx群的聊天界面,展示有A、B的对话信息,图3中的左侧界面展示了在图2所示的界面中增加了C的对话信息,并且,C的对话内容与B相同,对于展示C的对话内容是经过判断,发现其虽然存在相同的对话内容,但信息数量为到3,因此单独展示C的对话信息,之后,图3的中间界面为后台在左侧界面的基础上,又接收到D的对话信息,且与已展示的B和C的对话内容相同,此时,应用后台将针对D发送的待展示对话信息进行判断,结果是相同内容的信息数量达到阈值,此时,将对待展示对话信息进行合并处理,展示出的界面为图3中的右侧界面,该界面中仅展示A的对话信息,以及合并B、C、D后的对话信息,同时在该对话信息后,还展示有注释信息的标识,即“3人发送此内容”的一个页面控件,图4是用户点击或hover该页面控件时,生成了一个新的窗口,在该窗口中展示发送该内容的用户标识(用户名或用户头像)。
基于图2所示的界面可以看出,原本需要4个独立展示的对话信息被合并展示后,仅需要展示2条对话信息,节省的屏幕中的展示空间,使得在同等面积的屏幕中,用户可以看到更多的对话信息,从而无需翻动操作即可快速找到所需查看的对话信息,避免因为大量重复信息导致用户错过对关键信息的查看。
进一步的,在上述实施例中,主要针对的是展示界面处于展示状态时所执行的一种对话信息的展示方法,即用户可直接观看到对话内容时,对对话信息的合并处理过程,而对于即时通讯软件处于最小化,或者所在设备处于锁屏状态时,本发明将通过图5所示的步骤具体说明对内容相同的对话信息的处理过程,具体包括:
步骤201、接收待展示对话信息。
步骤202、判断客户端的展示界面是否处于展示状态。
其中,客户端为展示对话信息的即时通讯客户端。该展示状态用于确定用户是否可 见客户端的展示界面,若可见,则展示界面处于展示状态,若不可见,展示界面则处于未展示状态。
当展示界面处于展示状态时,对于对话信息的展示方式可参见上述图1-图4所示的具体内容,此处不再赘述。
当展示界面处于未展示状态时,说明用户对于对话信息是不可见的,此时一般需要通过提示信息来提示用户该客户端存在有未读的对话信息,而对于提示信息的展示,则执行步骤203。
步骤203、若处于未展示状态,且与待展示对话信息内容相同的信息数量大于阈值时,禁止发送接收到待展示对话信息的提示信息。
该步骤是对客户端的后台对待展示对话信息内容进行识别,判断与其内容相同的信息数量是否大于阈值,若大于,说明重复的内容过多,此时不发送提示信息,反之,则发送提示信息以提示用户查询该对话信息。
进一步的,针对上述步骤202,判断展示界面是否处于展示状态的过程具体可通过以下步骤实现:
首先,判断客户端所在终端设备的屏幕是否处于显示状态。
该步骤是为了判断终端设备是否处于锁屏状态,若为锁屏状态,即屏幕为未显示状态,此时可直接确定客户端处于未展示状态。而若屏幕处于显示状态时,则需要进一步判断展示界面是否展示在屏幕中。
其次,在屏幕处于显示状态,判断客户端的展示界面是否展示在屏幕中。
该步骤是为了判断客户端是否处于最小化状态,若不为最小化,则说明该客户端的展示界面为用户可见状态,此时,对待展示对话内容的处理可参考图1-图4所述的内容,若为最小化,即展示界面未展示在屏幕中,确定此时的展示界面为未展示状态。
进一步的,当用户根据提示信息将客户端的展示界面打开时,客户端会在展示对话信息时,检测待检测对话信息是否存在重复过多的情况,若存在则进行对话信息的合并展示,即执行上述图1-图4所述的实施例,若不存在,则正常展示对话信息。此外,用户在该展示界面中还可以通过操作对合并展示的对对话内容进行展开显示,如点击、拖动等操作,基于用户的操作触发信息展开指令,客户端根据该信息展开指令展示用户指 定的对话信息。
进一步的,作为对上述图1所示方法的实现,本发明实施例提供了一种对话信息的展示装置,该装置主要用于即时通讯软件中,避免出现大量重复信息刷屏而影响用户读取有效对话信息。为便于阅读,本装置实施例不再对前述方法实施例中的细节内容进行逐一赘述,但应当明确,本实施例中的装置能够对应实现前述方法实施例中的全部内容。该装置如图6所示,具体包括:
接收单元31,用于接收待展示对话信息;
判断单元32,用于判断展示界面中与所述接收单元31得到的待展示对话信息内容相同的信息数量是否大于阈值;
展示单元33,用于当所述判断单元32确定信息数量大于阈值时,将所述待展示对话信息与内容相同的对话信息合并展示;
进一步的,如图7所示,所述判断单元32包括:
获取模块321,用于获取展示页面中与所述待展示对话信息内容相同的对话信息;
第一判断模块322,用于判断所述获取模块321得到的对话信息是否与所述待展示对话信息具有连续展示关系;
第二判断模块323,用于当所述第一判断模块321确定为连续展示时,判断所述对话信息的数量是否大于阈值;
确定模块324,用于当所述第一判断模块321确定为非连续展示时,确定所述对话信息的数量小于所述阈值。
进一步的,如图7所示,所述装置还包括:
匹配单元34,用于在接收单元31接收待展示对话信息之后,利用预置黑名单匹配所述待展示对话信息的内容,所述预置黑名单用于记录需要合并展示的对话信息;
若匹配单元34命中,则由判断单元32执行判断展示界面中与所述待展示对话信息内容相同的信息数量是否大于阈值的操作;
若匹配单元34未命中,则由展示单元33单独展示所述待展示对话信息。
进一步的,在接收待展示对话信息之后,所述匹配单元34还用于,利用预置白名单匹配所述待展示对话信息的内容,所述预置白名单用于记录需要分开展示的对话信息;
若匹配单元34未命中,则执行判断单元32判断展示界面中与所述待展示对话信息内容相同的信息数量是否大于阈值的操作;
若匹配单元34命中,则由展示单元33单独展示所述待展示对话信息。
进一步的,如图7所示,所述展示单元33包括:
删除模块331,用于在所述展示界面中删除已展示的内容相同的对话信息;
展示模块332,用于展示所述待展示对话信息的内容;
统计模块333,用于统计所述展示模块332展示内容的注释信息,所述注释信息至少包括发送所述内容的对话信息的用户数量、用户标识;
所述展示模块332还用于展示所述统计模块333得到的注释信息的标识。
进一步的,如图7所示,所述展示单元33还包括:
展开模块334,用于在所述注释信息的标识被点击时,生成注释窗口,以展示所述注释信息的详细内容。
进一步的,所述展示单元33还用于,若所述内容相同的对话信息为一条合并后展示的对话信息,则保持所述对话信息,更新所述对话信息的注释信息。
进一步的,如图7所示,所述装置还包括:
识别单元35,用于识别所述获取单元31获取的待展示对话信息的内容;
匹配单元36,用于当所述识别单元35确定对话信息的内容为文字信息时,识别文字内容,在展示界面中匹配与所述文字内容相同的对话信息;
查找单元37,用于当所述识别单元35确定对话信息的内容为表情信息时,提取表情标识,在展示界面中查找具有所述表情标识的对话信息。
进一步的,如图7所示,所述装置还包括:
检测单元38,用于判断所述展示界面是否开启合并展示功能;
若检测单元38确定开启合并展示功能时,执行所述判断展示界面中与所述待展示对话信息内容相同的信息数量是否大于阈值,若大于,则将所述待展示对话信息与内容相同的对话信息合并展示的操作;
若检测单元38确定未开启合并展示功能时,则单独展示接收得到的待展示对话信息。
进一步的,所述展示单元33还用于,当所述展示界面为提示信息的提示框时,在所述提示框中合并展示所述接收单元得到的待展示对话信息的提示信息,并取消相关联 的提示操作。
进一步的,作为对上述图5所示方法的实现,本发明实施例提供了一种对话信息的展示装置,该装置主要用于即时通讯软件中,避免出现大量重复信息刷屏而影响用户读取有效对话信息。为便于阅读,本装置实施例不再对前述方法实施例中的细节内容进行逐一赘述,但应当明确,本实施例中的装置能够对应实现前述方法实施例中的全部内容。该装置如图8所示,具体包括:
接收单元41,用于接收待展示对话信息;
判断单元42,用于判断所述客户端的展示界面是否处于展示状态;
提示单元43,用于若处于判断单元42确定的未展示状态,且与所述接收单元41得到的待展示对话信息内容相同的信息数量大于阈值时,禁止发送接收到所述待展示对话信息的提示信息。
进一步的,如图9所示,所述判断单元42包括:
判断模块421,用于判断所述客户端所在终端设备的屏幕是否处于显示状态;
确定模块422,用于在判断模块421确定未处于显示状态时,确定所述客户端的展示界面处于未展示状态;
所述确定模块422还用于,在判断模块421确定处于显示状态,且在所述展示界面处于最小化状态时确定所述展示界面处于未展示状态。
进一步的,如图9所示,所述装置还包括:
展示单元44,用于在所述客户端的展示界面转换为展示状态时,将所述待展示对话信息与内容相同的对话信息合并展示;
所述展示单元44还用于,接收信息展开指令,并根据所述信息展开指令将合并展示的对话信息分开展示在展示界面中。
进一步的,本发明实施例还提供一种即时通讯客户端,该客户端可以安装在智能设备中,可对展示在该客户端展示界面中的对话信息进行合并展示,其合并展示的具体条件可参考上述的图1与图5所示的实施例内容,此处不再赘述,该客户端具体包括:
在展示界面中合并展示具有相同内容的对话信息;
根据用户在所述展示页面中的查看操作,展示被合并展示对话信息的注释信息,所述注释信息至少包括发送所述对话信息的用户数量和/或用户标识。
进一步的,所述的即时通讯客户端在合并展示的对话信息时,设置注释标识,所述注释标识用于被所述查看操作触发时,在展示界面中展示对应的注释信息。所述查看操作包括:用户点击所述注释标识的操作或用户将光标悬停在所述注释标识上的操作。
进一步的,本发明实施例还提供了处理器,该处理器用于运行程序,其中,所述程序运行时执行如图1所述的对话信息的展示方法。
另外,本发明实施例还提供了一种电子设备,该电子设备中包括处理器和存储器,存储器用于存储程序,处理器耦合至所述存储器,用于运行所述程序,以执行如图1所述的对话信息的展示方法。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
可以理解的是,上述方法及装置中的相关特征可以相互参考。另外,上述实施例中的“第一”、“第二”等是用于区分各实施例,而并不代表各实施例的优劣。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。
此外,存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM),存储器包括至少一个存储芯片。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程 图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性 的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。
本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
以上仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。

Claims (20)

  1. 一种对话信息的展示方法,其特征在于,所述方法包括:
    接收待展示对话信息;
    判断展示界面中与所述待展示对话信息内容相同的信息数量是否大于阈值;
    若大于,则将所述待展示对话信息与内容相同的对话信息合并展示。
  2. 根据权利要求1所述的方法,其特征在于,所述待展示对话信息包括:文字信息、表情信息。
  3. 根据权利要求1所述的方法,其特征在于,判断展示页面中与所述待展示对话信息内容相同的信息数量是否大于阈值,具体包括:
    获取展示页面中与所述待展示对话信息内容相同的对话信息;
    判断所述对话信息是否与所述待展示对话信息具有连续展示关系;
    若是,则判断所述对话信息的数量是否大于阈值;
    若不是,则确定所述对话信息的数量小于所述阈值。
  4. 根据权利要求1所述的方法,其特征在于,在接收待展示对话信息之后,所述方法还包括:
    利用预置黑名单匹配所述待展示对话信息的内容,所述预置黑名单用于记录需要合并展示的对话信息;
    若命中,则执行判断展示界面中与所述待展示对话信息内容相同的信息数量是否大于阈值的操作;
    若未命中,则单独展示所述待展示对话信息。
  5. 根据权利要求1所述的方法,其特征在于,在接收待展示对话信息之后,所述方法还包括:
    利用预置白名单匹配所述待展示对话信息的内容,所述预置白名单用于记录需要分开展示的对话信息;
    若未命中,则执行判断展示界面中与所述待展示对话信息内容相同的信息数量是否大于阈值的操作;
    若命中,则单独展示所述待展示对话信息。
  6. 根据权利要求1所述的方法,其特征在于,将所述待展示对话信息与内容相同的对话信息合并展示,具体包括:
    在所述展示界面中删除已展示的内容相同的对话信息;
    展示所述待展示对话信息的内容;
    统计所述内容的注释信息,展示所述注释信息的标识,所述注释信息至少包括发送所述内容的对话信息的用户数量、用户标识。
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:
    在所述注释信息的标识被点击时,生成注释窗口,以展示所述注释信息的详细内容。
  8. 根据权利要求6所述的方法,其特征在于,将所述待展示对话信息与内容相同的对话信息合并展示,还包括:
    若所述内容相同的对话信息为一条合并后展示的对话信息,则保持所述对话信息,更新所述对话信息的注释信息。
  9. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    识别所述待展示对话信息的内容;
    当为文字信息时,识别文字内容,在展示界面中匹配与所述文字内容相同的对话信息;
    当为表情信息时,提取表情标识,在展示界面中查找具有所述表情标识的对话信息。
  10. 根据权利要求1-9中任一项所述的方法,其特征在于,所述方法还包括:
    判断所述展示界面是否开启合并展示功能;
    若开启合并展示功能,则执行所述判断展示界面中与所述待展示对话信息内容相同的信息数量是否大于阈值,若大于,则将所述待展示对话信息与内容相同的对话信息合并展示的操作;
    若未开启合并展示功能,则单独展示接收得到的待展示对话信息。
  11. 根据权利要求1-9中任一项所述的方法,其特征在于,当所述展示界面为提示信息的提示框时,所述方法还包括:
    在所述提示框中合并展示所述待展示对话信息的提示信息,并取消相关联的提示操作。
  12. 一种对话信息的展示方法,其特征在于,应用于即时通讯客户端,所述方法包括:
    接收待展示对话信息;
    判断所述客户端的展示界面是否处于展示状态;
    若处于未展示状态,且与所述待展示对话信息内容相同的信息数量大于阈值时,禁止发送接收到所述待展示对话信息的提示信息。
  13. 根据权利要求12所述的方法,其特征在于,判断所述客户端的展示界面是否处于展示状态,具体包括:
    判断所述客户端所在终端设备的屏幕是否处于显示状态;
    若未处于显示状态,则确定所述客户端的展示界面处于未展示状态;
    若处于显示状态,则在所述展示界面处于最小化状态时确定所述展示界面处于未展示状态。
  14. 根据权利要求12所述的方法,其特征在于,所述方法还包括:
    在所述客户端的展示界面转换为展示状态时,将所述待展示对话信息与内容相同的对话信息合并展示;
    接收信息展开指令,并根据所述信息展开指令将合并展示的对话信息分开展示在展示界面中。
  15. 一种对话信息的展示装置,其特征在于,所述装置包括:
    接收单元,用于接收待展示对话信息;
    判断单元,用于判断展示界面中与所述接收单元得到的待展示对话信息内容相同的信息数量是否大于阈值;
    展示单元,用于当所述判断单元确定信息数量大于阈值时,将所述待展示对话信息与内容相同的对话信息合并展示。
  16. 一种对话信息的展示装置,其特征在于,所述装置包括:
    接收单元,用于接收待展示对话信息;
    判断单元,用于判断客户端的展示界面是否处于展示状态;
    提示单元,用于若处于判断单元确定的未展示状态,且与所述接收单元得到的待展示对话信息内容相同的信息数量大于阈值时,禁止发送接收到所述待展示对话信息的提示信息。
  17. 一种即时通讯客户端,其特征在于,包括:
    在展示界面中合并展示具有相同内容的对话信息;
    根据用户在所述展示页面中的查看操作,展示被合并展示对话信息的注释信息,所述注释信息至少包括发送所述对话信息的用户数量和/或用户标识。
  18. 根据权利要求17所述的即时通讯客户端,其特征在于,在合并展示的对话信息时,设置注释标识,所述注释标识用于被所述查看操作触发时,在展示界面中展示对应的注释信息;
    所述查看操作包括:用户点击所述注释标识的操作,用户将光标悬停在所述注释标识上的操作。
  19. 一种存储介质,其特征在于,所述存储介质用于存储计算机程序,其中,所述计算机程序运行时控制所述存储介质所在设备执行权利要求1-7中任意一项所述的对话信息的展示方法。
  20. 一种电子设备,其特征在于,所述电子设备中包括处理器和存储器,所述处理器用于调用所述存储器中的程序指令,以执行权利要求1-7中任意一项所述的对话信息的展示方法。
PCT/CN2020/088640 2019-05-13 2020-05-06 一种对话信息的展示方法及装置 WO2020228561A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SG11202112622PA SG11202112622PA (en) 2019-05-13 2020-05-06 Method and apparatus for presenting a conversation message

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910394376.8 2019-05-13
CN201910394376.8A CN111934975A (zh) 2019-05-13 2019-05-13 一种对话信息的展示方法及装置

Publications (1)

Publication Number Publication Date
WO2020228561A1 true WO2020228561A1 (zh) 2020-11-19

Family

ID=73282798

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/088640 WO2020228561A1 (zh) 2019-05-13 2020-05-06 一种对话信息的展示方法及装置

Country Status (4)

Country Link
CN (1) CN111934975A (zh)
SG (1) SG11202112622PA (zh)
TW (1) TW202101252A (zh)
WO (1) WO2020228561A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114500434A (zh) * 2021-12-31 2022-05-13 钉钉(中国)信息技术有限公司 通讯消息的聚合方法及装置
CN115250259A (zh) * 2021-04-25 2022-10-28 北京字跳网络技术有限公司 信息交互方法、装置和电子设备

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112769679A (zh) * 2021-01-14 2021-05-07 钉钉控股(开曼)有限公司 消息展示方法及装置
CN114329273B (zh) * 2021-12-29 2023-04-14 北京金堤科技有限公司 气泡宽度的确定方法、装置、电子设备及计算机存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103812888A (zh) * 2012-11-09 2014-05-21 阿里巴巴集团控股有限公司 信息推送、接收、传输方法、服务器、客户端及系统
CN103905615A (zh) * 2012-12-26 2014-07-02 深圳富泰宏精密工业有限公司 短信合并系统及方法
US20150312178A1 (en) * 2014-04-29 2015-10-29 Samsung Electronics Co., Ltd. Electronic device and method of processing message in electronic device
CN108024218A (zh) * 2017-02-28 2018-05-11 努比亚技术有限公司 一种识别与处理异常重复短信的方法及其系统
CN110505141A (zh) * 2018-05-17 2019-11-26 腾讯科技(深圳)有限公司 即时通讯消息的处理方法、装置、可读介质及电子设备

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9608950B2 (en) * 2015-08-18 2017-03-28 Blend Systems, Inc. Systems and methods for sharing videos and images in a texting environment
CN105530372A (zh) * 2015-12-03 2016-04-27 小米科技有限责任公司 消息显示方法、装置及终端设备
CN109587031A (zh) * 2017-09-28 2019-04-05 阿里巴巴集团控股有限公司 数据处理方法
CN109688044A (zh) * 2017-10-19 2019-04-26 腾讯科技(深圳)有限公司 一种信息处理方法及装置、设备、存储介质
CN107911283A (zh) * 2017-11-20 2018-04-13 珠海市魅族科技有限公司 消息显示方法及装置、计算机装置和计算机可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103812888A (zh) * 2012-11-09 2014-05-21 阿里巴巴集团控股有限公司 信息推送、接收、传输方法、服务器、客户端及系统
CN103905615A (zh) * 2012-12-26 2014-07-02 深圳富泰宏精密工业有限公司 短信合并系统及方法
US20150312178A1 (en) * 2014-04-29 2015-10-29 Samsung Electronics Co., Ltd. Electronic device and method of processing message in electronic device
CN108024218A (zh) * 2017-02-28 2018-05-11 努比亚技术有限公司 一种识别与处理异常重复短信的方法及其系统
CN110505141A (zh) * 2018-05-17 2019-11-26 腾讯科技(深圳)有限公司 即时通讯消息的处理方法、装置、可读介质及电子设备

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115250259A (zh) * 2021-04-25 2022-10-28 北京字跳网络技术有限公司 信息交互方法、装置和电子设备
CN115250259B (zh) * 2021-04-25 2024-03-01 北京字跳网络技术有限公司 信息交互方法、装置和电子设备
CN114500434A (zh) * 2021-12-31 2022-05-13 钉钉(中国)信息技术有限公司 通讯消息的聚合方法及装置

Also Published As

Publication number Publication date
CN111934975A (zh) 2020-11-13
TW202101252A (zh) 2021-01-01
SG11202112622PA (en) 2021-12-30

Similar Documents

Publication Publication Date Title
US20220035989A1 (en) Personalized presentation of messages on a computing device
US11449206B2 (en) Machine learning method of managing conversations in a messaging interface
US10462087B2 (en) Tags in communication environments
WO2020228561A1 (zh) 一种对话信息的展示方法及装置
US10896191B2 (en) Creation of real-time conversations based on social location information
US10891348B1 (en) Identifying relevant messages in a conversation graph
JP6553225B2 (ja) コンテンツアイテムに関する対話の集約法
US10931611B2 (en) Message propriety determination and alert presentation on a computing device
US20230214433A1 (en) Bulletin Board Data Mapping and Presentation
CN105468364B (zh) 应用程序的通知消息的处理方法和移动终端
US9544265B2 (en) Tracking interactive text-message communications
JP5960215B2 (ja) モバイルメッセージングアプリケーションの優先受信箱通知及び同期
EP2973380B1 (en) Email assistant for efficiently managing emails
US11100066B2 (en) Extended memory system
CN110377555B (zh) 确定在用户联系人之间的关联强度
JP2013519154A (ja) アクティブ電子メール
US10909146B2 (en) Providing automated hashtag suggestions to categorize communication
US20190349324A1 (en) Providing rich preview of communication in communication summary
US11973734B2 (en) Processing electronic communications according to recipient points of view
CN110929122A (zh) 一种数据处理方法、装置和用于数据处理的装置
CN116668391A (zh) 群组消息处理方法、装置、计算机设备和存储介质

Legal Events

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

Ref document number: 20805336

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20805336

Country of ref document: EP

Kind code of ref document: A1