CN110505141B - Instant messaging message processing method and device, readable medium and electronic equipment - Google Patents

Instant messaging message processing method and device, readable medium and electronic equipment Download PDF

Info

Publication number
CN110505141B
CN110505141B CN201810475305.6A CN201810475305A CN110505141B CN 110505141 B CN110505141 B CN 110505141B CN 201810475305 A CN201810475305 A CN 201810475305A CN 110505141 B CN110505141 B CN 110505141B
Authority
CN
China
Prior art keywords
instant messaging
repeated
messages
messaging messages
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810475305.6A
Other languages
Chinese (zh)
Other versions
CN110505141A (en
Inventor
程龙
卢锟
秦银
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810475305.6A priority Critical patent/CN110505141B/en
Publication of CN110505141A publication Critical patent/CN110505141A/en
Application granted granted Critical
Publication of CN110505141B publication Critical patent/CN110505141B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • 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]
    • 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]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information

Abstract

The embodiment of the invention provides a method and a device for processing instant messaging messages, a computer readable medium and electronic equipment. The processing method of the instant communication message comprises the following steps: detecting whether the instant messaging messages sent in the instant messaging group are repeated; if the instant messaging messages sent in the instant messaging group are detected to be repeated, recording the number of the repeated instant messaging messages; and if the number of the repeated instant messaging messages reaches the preset number, merging and displaying the repeated instant messaging messages. The technical scheme of the embodiment of the invention can combine and display the repeated instant messaging messages, thereby avoiding the trouble of the user caused by too many repeated messages by screen refreshing on the premise of not influencing the checking of the instant messaging messages and being beneficial to improving the communication efficiency of the instant messaging.

Description

Instant messaging message processing method and device, readable medium and electronic equipment
Technical Field
The invention relates to the technical field of computers and communication, in particular to a method and a device for processing instant messaging messages, a computer readable medium and electronic equipment.
Background
In using the instant messenger, it may happen that the same message is sent multiple times by the same user or by different users. Although sending the same message multiple times can render a chat atmosphere, it can also cause a certain annoyance to the user due to useless message swiping.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present invention and therefore may include information that does not constitute prior art known to a person of ordinary skill in the art.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for processing an instant messaging message, a computer-readable medium, and an electronic device, so as to overcome at least to a certain extent the problem that a user is troubled by refreshing a plurality of repeated messages and communication efficiency is affected.
Additional features and advantages of the invention will be set forth in the detailed description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
According to an aspect of the embodiments of the present invention, there is provided a method for processing an instant messaging message, including: detecting whether the instant messaging messages sent in the instant messaging group are repeated; if the instant messaging messages sent in the instant messaging group are detected to be repeated, recording the number of the repeated instant messaging messages; and if the number of the repeated instant messaging messages reaches the preset number, merging and displaying the repeated instant messaging messages.
According to an aspect of an embodiment of the present invention, there is provided an apparatus for processing an instant messaging message, including: the detection unit is used for detecting whether the instant messaging messages sent in the instant messaging group are repeated or not; the recording unit is used for recording the number of repeated instant messaging messages when the detection unit detects that the instant messaging messages sent in the instant messaging group are repeated; and the display processing unit is used for merging and displaying the repeated instant messaging messages when the number of the repeated instant messaging messages reaches a preset number.
In some embodiments of the present invention, based on the foregoing solution, the display processing unit is further configured to: and after the number of the repeated instant messaging messages reaches a preset number, displaying first prompt information to prompt a user whether the repeated instant messaging messages need to be combined and displayed, and when receiving a first trigger operation of the user, combining and displaying the repeated instant messaging messages.
In some embodiments of the present invention, based on the foregoing solution, the display processing unit is further configured to: and after the repeated instant messaging messages are combined and displayed, displaying second prompt information to prompt a user whether the combined instant messaging messages need to be expanded and displayed, and expanding and displaying the combined instant messaging messages when a second trigger operation of the user is received.
In some embodiments of the present invention, based on the foregoing scheme, the display processing unit is further configured to, after the merged instant messaging message is expanded and displayed, display a first prompt message to prompt a user whether the repeated instant messaging message needs to be merged and displayed, and when a first trigger operation of the user is received, merge and display the repeated instant messaging message.
In some embodiments of the present invention, based on the foregoing solution, the apparatus for processing an instant messaging message further includes: an obtaining unit, configured to obtain an identifier of at least one member that sends the repeated instant messaging message in the instant messaging group; the display processing unit is further configured to: and displaying the identifier of the at least one member at a first position corresponding to the combined display area of the repeated instant messaging messages.
In some embodiments of the present invention, based on the foregoing solution, the display processing unit is configured to: and arranging and displaying the identification of the at least one member according to the sending time sequence of the repeated instant messaging messages by the at least one member.
In some embodiments of the present invention, based on the foregoing scheme, the recording unit is configured to: when the instant messaging messages continuously sent in the instant messaging group are detected to be repeated, the number of the continuously sent and repeated instant messaging messages is recorded.
In some embodiments of the present invention, based on the foregoing scheme, the recording unit is configured to: when the instant messaging messages sent within the preset time period in the instant messaging group are repeated, the number of the instant messaging messages sent and repeated within the preset time period is recorded.
In some embodiments of the present invention, based on the foregoing solution, the display processing unit is further configured to: and after the repeated instant messaging messages are merged and displayed, displaying the number of the repeated instant messaging messages at a second position corresponding to the merged and displayed area of the repeated instant messaging messages.
According to an aspect of an embodiment of the present invention, there is provided a computer readable medium, on which a computer program is stored, which when executed by a processor, implements the instant messaging message processing method as described in the above embodiments.
According to an aspect of an embodiment of the present invention, there is provided an electronic apparatus including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method of processing instant messaging messages as described in the embodiments above.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
in the technical solutions provided by some embodiments of the present invention, when it is detected that the number of the repeated instant messaging messages reaches the predetermined number, the repeated instant messaging messages are merged and displayed, so that on the premise of not affecting checking the instant messaging messages, the trouble of the user caused by screen refreshing of too many repeated messages is avoided, and further the communication efficiency of the instant messaging can be improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
fig. 1 is a schematic diagram illustrating an exemplary system architecture of an instant messaging message processing method or an instant messaging message processing apparatus to which an embodiment of the present invention may be applied;
FIG. 2 illustrates a schematic structural diagram of a computer system suitable for use with the electronic device to implement an embodiment of the invention;
FIG. 3 schematically illustrates a flow diagram of a method of processing an instant messaging message according to one embodiment of the invention;
fig. 4 schematically shows a flow chart of a method of processing an instant messaging message according to another embodiment of the present invention;
fig. 5 schematically shows a flow chart of a method of processing an instant messaging message according to yet another embodiment of the invention;
fig. 6 schematically shows a flow chart of a method of processing an instant messaging message according to yet another embodiment of the present invention;
fig. 7 schematically shows a flow chart of a method of processing an instant messaging message according to yet another embodiment of the present invention;
fig. 8 schematically illustrates a flow chart of a method of processing an instant messaging message according to yet another embodiment of the present invention;
fig. 9 schematically shows a flow chart of a method of processing an instant messaging message according to yet another embodiment of the present invention;
fig. 10 schematically illustrates a flow chart of a method of processing an instant messaging message according to yet another embodiment of the present invention;
fig. 11 is a flowchart schematically illustrating a method of processing an instant messenger message according to still another embodiment of the present invention;
fig. 12 is a flowchart schematically illustrating a method of processing an instant messenger message according to still another embodiment of the present invention;
fig. 13 to 16 are diagrams illustrating terminal interfaces of a method of processing an instant messenger message applied to an embodiment of the present invention;
fig. 17 schematically shows a block diagram of an instant messaging message processing apparatus according to an embodiment of the present invention;
fig. 18 schematically shows a block diagram of an instant messaging message processing apparatus according to another embodiment of the present invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations or operations have not been shown or described in detail to avoid obscuring aspects of the invention.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
Fig. 1 is a schematic diagram illustrating an exemplary system architecture 100 of an instant messaging message processing method or an instant messaging message processing device to which an embodiment of the present invention may be applied.
As shown in fig. 1, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for an implementation. For example, server 105 may be a server cluster comprised of multiple servers, or the like.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may be various electronic devices having a display screen, including but not limited to smart phones, tablet computers, portable computers, desktop computers, and the like.
In a specific application scenario of the present invention, users may use the terminal devices 101, 102, and 103 to send instant messaging messages to the server 105 through the network 104, and instant messaging messages sent by different users using the terminal devices may be synchronized by the server 105, so as to ensure that the terminal devices of users in the same instant messaging group can display messages in the instant messaging group.
In an embodiment of the present invention, a terminal device (e.g., one or more of the terminal devices 101, 102, and 103) may detect whether an instant messaging message sent in an instant messaging group is repeated, record the number of repeated instant messaging messages if it is detected that the instant messaging message sent in the instant messaging group is repeated, and merge and display the repeated instant messaging messages when the number of repeated instant messaging messages reaches a predetermined number.
In another embodiment of the present invention, the terminal device (e.g., one or more of the terminal devices 101, 102, 103) may display a prompt message (e.g., a prompt message "fold polymerizable message with two fingers in the repeated message area") when detecting that the number of repeated instant messaging messages reaches a predetermined number, and merge and display the repeated instant messaging messages when receiving a first trigger operation (e.g., fold with two fingers) of the user.
In another embodiment of the present invention, after the terminal device (e.g., one or more of the terminal devices 101, 102, 103) displays the duplicate instant messaging messages in a merged manner, another prompt message (e.g., a prompt message "release expandable message in two fingers in the aggregated messaging area") may be displayed, and the merged instant messaging messages are expanded and displayed when a second trigger operation (e.g., release of two fingers) is received from the user. After the display is expanded, prompt information such as 'folding polymerizable message by two fingers in the repeated message area' can be displayed, when a first trigger operation of the user is received, the repeated instant messaging messages are merged and displayed, then prompt information such as 'folding polymerizable message by two fingers in the repeated message area' is displayed again, and the process is circulated.
Based on the above application scenarios, the method for processing an instant messaging message provided in the embodiment of the present invention may be executed by a terminal device, and accordingly, the processing apparatus for an instant messaging message is generally disposed in the terminal device. However, in other embodiments of the present invention, the server 105 may also have similar functions to execute the processing scheme of the instant messaging messages provided in the embodiments of the present invention, that is, in the embodiments of the present invention, the server 105 may detect whether the instant messaging messages sent in the instant messaging group are repeated, and send a merge display instruction to the terminal device when detecting that the number of the repeated instant messaging messages reaches a predetermined number, so that the terminal device merges and displays the repeated instant messaging messages; meanwhile, the server 105 may also receive the first trigger operation and the second trigger operation of the user through the terminal device, and further determine whether to send an instruction for merging the display or an instruction for expanding the display to the terminal.
FIG. 2 illustrates a schematic structural diagram of a computer system suitable for use with the electronic device to implement an embodiment of the invention.
It should be noted that the computer system 200 of the electronic device shown in fig. 2 is only an example, and should not bring any limitation to the functions and the scope of the application of the embodiment of the present invention.
As shown in fig. 2, the computer system 200 includes a Central Processing Unit (CPU) 201 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 202 or a program loaded from a storage section 208 into a Random Access Memory (RAM) 203. In the RAM 203, various programs and data necessary for system operation are also stored. The CPU 201, ROM 202, and RAM 203 are connected to each other via a bus 204. An input/output (I/O) interface 205 is also connected to bus 204.
The following components are connected to the I/O interface 205: an input portion 206 including a keyboard, a mouse, and the like; an output section 207 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 208 including a hard disk and the like; and a communication section 209 including a network interface card such as a LAN card, a modem, or the like. The communication section 209 performs communication processing via a network such as the internet. A drive 210 is also connected to the I/O interface 205 as needed. A removable medium 211 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 210 as necessary, so that a computer program read out therefrom is mounted into the storage section 208 as necessary.
In particular, according to an embodiment of the present invention, the processes described below with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the invention include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 209 and/or installed from the removable medium 211. The computer program executes various functions defined in the system of the present application when executed by a Central Processing Unit (CPU) 201.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiment; or may be separate and not incorporated into the electronic device. The computer readable medium carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the method as described in the embodiments below. For example, the electronic device may implement the steps shown in fig. 3 to 12.
The implementation details of the technical scheme of the embodiment of the invention are explained in detail as follows:
fig. 3 schematically shows a flowchart of a processing method of an instant messaging message according to an embodiment of the present invention, which is applicable to the electronic device described in the foregoing embodiment. Referring to fig. 3, the method for processing the instant messaging message at least includes steps S310 to S330, which are described in detail as follows:
in step S310, it is detected whether the instant messaging message sent in the instant messaging group is repeated.
In one embodiment of the present invention, instant Messaging (IM) allows two or more people to communicate text messages, files, voice and video in real time using a network. The instant communication group comprises two or more members, and the instant communication message sent by each member is synchronized among the members and displayed in the instant communication group of the terminal.
In step S320, if it is detected that the instant messaging messages sent in the instant messaging group are repeated, the number of repeated instant messaging messages is recorded.
In one embodiment of the present invention, the repeated instant messaging messages in the instant messaging group can be sent by one member or by a plurality of members.
Because the technical solution of the embodiment of the present invention is to merge and display the repeated instant messaging messages when the number of the repeated instant messaging messages reaches the predetermined number, and to avoid interference to the user caused by merging and displaying the instant messaging messages with long sending time intervals (such as a week interval, a month interval, etc.), for example, the instant messaging messages with a month interval and the instant messaging messages which are just sent at present are merged and displayed so that the user feels that the previous instant messaging messages are messages which are just sent for a short time, on the basis of step S320, the present invention further provides the following two optimization schemes:
optimization scheme one
And if the instant messaging messages continuously sent in the instant messaging group are detected to be repeated, recording the number of the continuously sent and repeated instant messaging messages.
In the first optimization scheme, only the number of the continuously sent and repeated instant messaging messages can be recorded, because the continuously sent instant messaging messages usually have certain relevance, the continuously sent and repeated instant messaging messages are combined and displayed, and the trouble of a user caused by screen refreshing of excessive repeated messages can be avoided on the premise of not influencing the viewing of the instant messaging messages.
It should be noted that the continuous sending means that no other instant messaging message is sent in the sending time period of the repeated instant messaging messages.
Optimization scheme two
If the instant messaging messages sent within the preset time period in the instant messaging group are detected to be repeated, the number of the instant messaging messages sent and repeated within the preset time period is recorded.
In the second optimization scheme, the number of the instant messaging messages which are sent and repeated within a predetermined time period (for example, within one minute, one hour, one day and the like) can be recorded, because the instant messaging messages which are sent within the certain time period usually have a certain relevance, the instant messaging messages which are sent and repeated within the predetermined time period are combined and displayed, and the trouble of the user caused by too many repeated message screen refreshing can be avoided on the premise of not influencing the viewing of the instant messaging messages.
Continuing to refer to fig. 3, in step S330, if the number of the repeated instant messaging messages reaches the predetermined number, the repeated instant messaging messages are merged and displayed.
In one embodiment of the invention, the merged presentation of the repeated instant messaging messages may be a display of only one of the repeated instant messaging messages.
The technical scheme of the embodiment shown in fig. 3 can avoid the trouble of the user caused by too many repeated message screen refreshing on the premise of not influencing the viewing of the instant messaging message, thereby improving the communication efficiency of the instant messaging.
Fig. 4 is a flowchart schematically illustrating a method for processing an instant messenger message according to another embodiment of the present invention, where the method for processing an instant messenger message is a scheme that is adjusted based on the method for processing an instant messenger message illustrated in fig. 3, and specifically, after step S320 illustrated in fig. 3, the method includes the following steps:
step S410, judging whether the number of the repeated instant communication messages reaches a preset number; if yes, go to step S420.
Step S420, displaying a first prompt message to prompt the user whether to merge and display the repeated instant messaging messages.
In one embodiment of the invention, the first prompt message may be displayed in the vicinity of the repeated instant messaging message, such as below the location of the last sent instant messaging message in the repeated instant messaging message. The first prompt message may be, for example, "two-finger fold polymerizable message in the repeated message area", so as to prompt the user to merge and display the repeated instant messaging message through the operation of two-finger fold.
Step S430, if the first trigger operation of the user is received, merging and displaying the repeated instant messaging messages.
In an embodiment of the present invention, the first trigger operation may be an operation of closing two fingers on a touch input device (such as a touch screen, a touch pad, or the like), which not only conforms to normal operation habits, but also facilitates the operation of a user. In other embodiments of the present invention, the first trigger operation may also be an operation of clicking a corresponding control, and the like.
The technical scheme of the embodiment shown in fig. 4 enables whether to combine and display repeated instant messaging messages to be determined according to the will of the user, which is beneficial to improving the use experience of the user.
Fig. 5 is a flowchart schematically illustrating a method for processing an instant messenger message according to still another embodiment of the present invention, which further includes the following steps on the basis of step S310, step S320 and step S330 illustrated in fig. 3:
step S510, displaying a second prompt message to prompt the user whether the merged instant messaging message needs to be expanded and displayed.
In one embodiment of the present invention, the second prompt message may be displayed near the merged instant messaging message, such as below the location of the merged instant messaging message. The second prompt message may be, for example, "release the expandable message with two fingers in the aggregated message area", so as to prompt the user to expand and display the merged instant messaging message through an operation of releasing two fingers.
Step S520, if the second trigger operation of the user is received, expanding and displaying the merged instant messaging message.
In an embodiment of the present invention, the second trigger operation may be an operation of releasing two fingers, which not only conforms to normal operation habits, but also facilitates the operation of the user.
According to the technical scheme of the embodiment shown in FIG. 5, after the repeated instant messaging messages are merged and displayed, the user can determine whether to expand and display the merged instant messaging messages according to the self requirement, and the improvement of the use experience of the user is facilitated.
Fig. 6 is a flow chart schematically illustrating a method for processing an instant messenger message according to still another embodiment of the present invention, where the method for processing an instant messenger message further includes the following steps based on fig. 5:
step S610, displaying a first prompt message to prompt the user whether to merge and display the repeated instant messaging messages.
In one embodiment of the invention, the first prompt message may be displayed in the vicinity of the repeated instant messaging message, such as below the location of the last sent instant messaging message in the repeated instant messaging message. The first prompt message may be, for example, "two-finger fold polymerizable message in the repeated message area", so as to prompt the user to merge and present the repeated instant messaging message through the operation of two-finger fold.
Step S620, if the first trigger operation of the user is received, merging and displaying the repeated instant messaging messages. After merging the presentations, it may return to step S510.
According to the technical scheme of the embodiment shown in FIG. 6, after the repeated instant messaging messages are expanded and displayed, the user can determine whether to combine and display the repeated instant messaging messages according to the requirement of the user, and the use experience of the user is improved.
Fig. 7 is a flowchart schematically illustrating a method for processing an instant messenger message according to still another embodiment of the present invention, where the method for processing an instant messenger message further includes the following steps on the basis of fig. 4:
step S710, displaying a second prompt message to prompt the user whether the merged instant messaging message needs to be expanded and displayed.
In one embodiment of the present invention, the second prompt message may be displayed near the merged instant messaging message, such as below the location of the merged instant messaging message. The second prompt message may be, for example, "release the expandable message with two fingers in the aggregated message area", so as to prompt the user to expand and display the merged instant messaging message through an operation of releasing two fingers.
Step S720, if a second trigger operation of the user is received, expanding and displaying the merged instant messaging message. After merging the presentations, it is possible to return to step S420.
In an embodiment of the present invention, the second trigger operation may be an operation of releasing two fingers on a touch input device (such as a touch screen, a touch pad, or the like), so as to conform to normal operation habits and facilitate the operation of the user. In other embodiments of the present invention, the second trigger operation may also be an operation of clicking a corresponding control, and the like.
According to the technical scheme of the embodiment shown in FIG. 7, after the repeated instant messaging messages are merged and displayed, the user can determine whether to expand and display the merged instant messaging messages according to the self requirement, and the improvement of the use experience of the user is facilitated.
Based on the instant messaging message processing method shown in fig. 3 to fig. 7, in an embodiment of the present invention, as shown in fig. 8, the method may further include the following steps:
step S810, acquiring an identifier of at least one member sending the repeated instant messaging message in the instant messaging group.
In one embodiment of the invention, the identification of the member may be an avatar and/or a nickname or the like of the member.
Step S820, displaying the identifier of the at least one member at the first position corresponding to the merged display area of the repeated instant messaging messages.
In one embodiment of the present invention, the identifier of the at least one member may be displayed below the merged display area of the instant messaging message.
The technical solution of the embodiment shown in fig. 8 enables the user to visually and conveniently view the member sending the repeated instant messaging messages through the displayed member identifier, thereby avoiding that the user cannot know the member sending the repeated instant messaging messages due to combining the repeated instant messaging messages. In one embodiment of the present invention, the identifier of the at least one member may be displayed according to the sending time sequence of the repeated instant messaging messages by the at least one member, so as to ensure that the user can view the sending time sequence of the instant messaging messages by each member.
Based on the technical solution of the foregoing embodiment, in an embodiment of the present invention, after the repeated instant messaging messages are merged and displayed, the number of the repeated instant messaging messages may be displayed at a second position corresponding to the merged display area of the repeated instant messaging messages, so that the user can also visually check the number of the repeated instant messaging messages after the messages are merged.
The technical solution of the embodiment of the present invention is described in detail below by taking the chat in the group of instant messaging tools as an example.
As shown in fig. 9, in an embodiment of the present invention, for chat messages appearing in a group, if the number of repeated messages reaches a threshold (for example, 5), whether to perform message aggregation (i.e., to merge and display the messages) may be prompted, which specifically includes the following steps:
step S901, determining whether the chat messages in the group are repeated, if yes, executing step S902; otherwise, the determination may continue.
Step S902, determining whether the number of repeated messages is greater than or equal to 5 (the numerical value is merely an example), and if so, performing message aggregation prompting; otherwise, no prompt appears.
As shown in fig. 10, in an embodiment of the present invention, if a message aggregation prompt has been performed, whether to aggregate a message may be determined according to whether an operation of closing two fingers is detected, which specifically includes step S1001: judging whether the operation of closing the two fingers is detected or not, and if so, aggregating the messages; otherwise, the process is finished (i.e. the message is not displayed in an aggregation manner).
As shown in fig. 11, in an embodiment of the present invention, if the aggregation processing has been performed on the message, whether to expand the message may be determined according to whether the operation of releasing the double finger is detected, which specifically includes step S1101: judging whether the operation of releasing the double fingers is detected, if so, expanding and displaying the message; otherwise, the process is finished (i.e. the message is not expanded and displayed).
In an embodiment of the present invention, the technical solutions shown in fig. 9 to fig. 11 may be combined, specifically as shown in fig. 12, including the following steps:
step S1201, judging whether the chat messages in the group are repeated, if so, executing step S902; otherwise, the determination may continue.
Step S1202, determining whether the number of repeated messages is greater than or equal to 5 (the numerical value is merely an example), if so, executing step S1203; otherwise, no prompt appears.
In step S1203, a message aggregation prompt is performed.
Step S1204, judge whether detect the operation that the two fingers fold, if, carry out step S1205; otherwise, the process is finished (i.e. the message is not displayed in an aggregation mode).
Step S1205, the messages are aggregated, that is, the repeated messages are merged and displayed.
Step S1206, judging whether the operation of releasing the two fingers is detected, if so, expanding and displaying the message; otherwise, the process is finished (i.e. the message is not expanded and displayed).
Based on the technical solutions of the embodiments, fig. 13 to fig. 16 are schematic diagrams of terminal interfaces of the instant messaging message processing method applied to the embodiments of the present invention. As shown in fig. 13, in the instant message group, users a, B, C, D and E send the same message (in this embodiment, the password sent when getting the password red packet is taken as an example), and when the number of repeated messages reaches a predetermined number (e.g., 5), an aggregation prompt message 1301, such as "double finger fold aggregation message in repeated message area", is displayed on the interface.
As shown in fig. 14, a user may perform a touch operation on a touch screen of the terminal, where the touch operation includes an operation 1302 of closing two fingers. If a double-finger closure operation 1302 is detected, then as shown in FIG. 15, the repeated messages are exposed in an aggregate manner, such as by exposing only one of the messages. Meanwhile, a prompt 1303 for expanding the message may be displayed, such as "two fingers release the expandable message in the aggregation area". In addition, after the messages are aggregated, the member identification 1304 of the sending repeated messages can be displayed, so that the user can visually check which members send the repeated messages. In one embodiment of the present invention, the member identifiers 1304 may be presented in an order of the transmission time of the repeated messages, and the member identifiers 1304 may be the head portraits of the members, etc.
As shown in fig. 16, the touch operation performed by the user on the touch screen of the terminal may further include an operation 1305 of double finger release. If a double-finger release operation 1305 is detected, the interface shown in FIG. 13 is returned to.
In summary, the instant messaging message processing method of the embodiment of the present invention can merge and display the repeated instant messaging messages, so that the trouble of the user caused by too many repeated messages being refreshed can be avoided on the premise of not affecting the viewing of the instant messaging messages, and the communication efficiency of the instant messaging can be improved. Meanwhile, the combined and displayed message can be expanded and displayed according to the operation of the user, and the personalized requirements of the user are met.
Embodiments of the apparatus of the present invention are described below, which can be used to execute the method for processing an instant messaging message in the above embodiments of the present invention. For details that are not disclosed in the embodiments of the apparatus of the present invention, please refer to the embodiments of the method for processing an instant messaging message described above.
Fig. 17 schematically shows a block diagram of an apparatus for processing an instant messaging message according to an embodiment of the present invention.
Referring to fig. 17, an apparatus 170 for processing an instant messenger message according to an embodiment of the present invention includes: a detection unit 171, a recording unit 172, and a display processing unit 173.
The detecting unit 171 is configured to detect whether an instant messaging message sent in an instant messaging group is repeated; the recording unit 172 is configured to record the number of repeated instant messaging messages when the detecting unit 171 detects that the instant messaging messages sent in the instant messaging group are repeated; a display processing unit 173, configured to merge and display the repeated instant messaging messages when the number of the repeated instant messaging messages reaches a predetermined number.
Fig. 18 schematically shows a block diagram of an instant messaging message processing apparatus according to another embodiment of the present invention.
Referring to fig. 18, an instant messenger message processing apparatus 180 according to another embodiment of the present invention further includes, on the basis of the detection unit 171, the recording unit 172, and the display processing unit 173 shown in fig. 17: an acquisition unit 181.
The obtaining unit 181 is configured to obtain an identifier of at least one member that sends the repeated instant messaging message in the instant messaging group; the display processing unit 173 is further configured to: and displaying the identification of the at least one member at a first position corresponding to the combined display area of the repeated instant messaging messages.
In an embodiment of the present invention, the display processing unit 173 may display the identifier of the at least one member in a sequence according to the sending time sequence of the repeated instant messaging messages by the at least one member.
In an embodiment of the present invention, the display processing unit 173 is further configured to: and after the number of the repeated instant messaging messages reaches a preset number, displaying first prompt information to prompt a user whether the repeated instant messaging messages need to be combined and displayed, and when receiving a first trigger operation of the user, combining and displaying the repeated instant messaging messages.
In an embodiment of the present invention, the display processing unit 173 is further configured to: and after the repeated instant messaging messages are combined and displayed, displaying second prompt information to prompt a user whether the combined instant messaging messages need to be expanded and displayed, and expanding and displaying the combined instant messaging messages when a second trigger operation of the user is received.
In an embodiment of the present invention, the display processing unit 173 is further configured to, after the merged instant messaging message is expanded and displayed, display a first prompt message to prompt a user whether the duplicate instant messaging message needs to be merged and displayed, and when a first trigger operation of the user is received, merge and display the duplicate instant messaging message.
In an embodiment of the present invention, the recording unit 172 is configured to: when the instant messaging messages continuously sent in the instant messaging group are detected to be repeated, the number of the continuously sent and repeated instant messaging messages is recorded.
In an embodiment of the present invention, the recording unit 172 is configured to: when the instant messaging message repetition sent in the preset time period in the instant messaging group is detected, the number of the instant messaging messages sent and repeated in the preset time period is recorded.
In an embodiment of the present invention, the display processing unit 173 is further configured to: and after the repeated instant messaging messages are merged and displayed, displaying the number of the repeated instant messaging messages at a second position corresponding to the merged and displayed area of the repeated instant messaging messages.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the invention. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiment of the present invention.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (9)

1. A method for processing instant messaging messages, comprising:
detecting whether the instant messaging messages sent in the instant messaging group are repeated;
if the instant messaging messages sent in the instant messaging group are detected to be repeated, recording the number of the repeated instant messaging messages;
if the number of the repeated instant messaging messages reaches the preset number, displaying first prompt information below the position of the instant messaging message sent last in the repeated instant messaging messages to prompt whether the repeated instant messaging messages need to be combined and displayed;
if a first trigger operation is received, merging and displaying the repeated instant messaging messages, wherein the first trigger operation comprises the operation of folding the two fingers;
after the repeated instant messaging messages are merged and displayed, displaying second prompt information below the position of the merged instant messaging messages to prompt whether the merged instant messaging messages need to be expanded and displayed or not;
if a second trigger operation is received, the combined instant messaging message is expanded and displayed, and the second trigger operation comprises an operation of releasing two fingers;
and after the combined instant messaging message is expanded and displayed, returning to the step of displaying the first prompt message below the position of the instant messaging message which is sent last in the repeated instant messaging messages.
2. The method for processing instant messaging messages according to claim 1, further comprising:
acquiring an identifier of at least one member sending the repeated instant messaging messages in the instant messaging group;
and displaying the identification of the at least one member at a first position corresponding to the combined display area of the repeated instant messaging messages.
3. The method of claim 2, wherein displaying the identity of the at least one member comprises:
and arranging and displaying the identification of the at least one member according to the sending time sequence of the repeated instant messaging messages by the at least one member.
4. The method of claim 1, wherein if it is detected that the instant messaging messages sent in the instant messaging group are repeated, recording the number of repeated instant messaging messages comprises:
and if the instant messaging messages continuously sent in the instant messaging group are detected to be repeated, recording the number of the continuously sent and repeated instant messaging messages.
5. The method of claim 1, wherein if it is detected that the instant messaging messages sent in the instant messaging group are repeated, recording the number of repeated instant messaging messages comprises:
if the instant messaging messages sent within the preset time period in the instant messaging group are detected to be repeated, the number of the instant messaging messages sent and repeated within the preset time period is recorded.
6. The method for processing instant messaging messages according to any of the claims 1 to 5, further comprising, after the merged displaying of the repeated instant messaging messages:
and displaying the number of the repeated instant messaging messages at a second position corresponding to the combined display area of the repeated instant messaging messages.
7. An apparatus for processing instant messaging messages, comprising:
the detection unit is used for detecting whether the instant communication message sent in the instant communication group is repeated;
the recording unit is used for recording the number of repeated instant messaging messages when the detection unit detects that the instant messaging messages sent in the instant messaging group are repeated;
the display processing unit is used for displaying first prompt information below the position of the instant messaging message which is sent last in the repeated instant messaging messages when the number of the repeated instant messaging messages reaches a preset number so as to prompt whether the repeated instant messaging messages need to be combined and displayed, and is used for combining and displaying the repeated instant messaging messages when a first trigger operation is received, wherein the first trigger operation comprises the operation of folding the two fingers;
the display processing unit is further configured to: after the repeated instant messaging messages are merged and displayed, displaying second prompt information below the positions of the merged instant messaging messages to prompt whether the merged instant messaging messages need to be expanded and displayed or not, and expanding and displaying the merged instant messaging messages when a second trigger operation is received, wherein the second trigger operation comprises an operation of releasing two fingers; and
and after the combined instant messaging message is expanded and displayed, returning to execute the process of displaying the first prompt message below the position of the instant messaging message which is sent last in the repeated instant messaging messages.
8. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of processing an instant messaging message according to any one of claims 1 to 6.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method of processing instant messaging messages as claimed in any one of claims 1 to 6.
CN201810475305.6A 2018-05-17 2018-05-17 Instant messaging message processing method and device, readable medium and electronic equipment Active CN110505141B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810475305.6A CN110505141B (en) 2018-05-17 2018-05-17 Instant messaging message processing method and device, readable medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810475305.6A CN110505141B (en) 2018-05-17 2018-05-17 Instant messaging message processing method and device, readable medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN110505141A CN110505141A (en) 2019-11-26
CN110505141B true CN110505141B (en) 2022-10-28

Family

ID=68584493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810475305.6A Active CN110505141B (en) 2018-05-17 2018-05-17 Instant messaging message processing method and device, readable medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110505141B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111934975A (en) * 2019-05-13 2020-11-13 阿里巴巴集团控股有限公司 Dialog information display method and device
CN113114554A (en) * 2020-01-13 2021-07-13 阿里巴巴集团控股有限公司 Message display method and device
CN111614544B (en) * 2020-04-20 2022-03-25 维沃移动通信有限公司 Message processing method and electronic equipment
CN116886660A (en) * 2020-05-14 2023-10-13 腾讯科技(深圳)有限公司 Message display method, device, terminal and medium
CN112565056B (en) * 2020-11-11 2022-09-09 中国软件与技术服务股份有限公司 Method and device for processing group sending on-line and off-line messages through instant messaging
CN112769679A (en) * 2021-01-14 2021-05-07 钉钉控股(开曼)有限公司 Message display method and device
CN114205320B (en) * 2021-09-28 2023-06-20 北京达佳互联信息技术有限公司 Message display method and device, electronic equipment and storage medium
CN114500434A (en) * 2021-12-31 2022-05-13 钉钉(中国)信息技术有限公司 Method and device for aggregating communication messages
CN116980378B (en) * 2023-09-13 2023-12-08 社治无忧(成都)智慧科技有限公司 Method and system for marking repeated message of micro-channel group

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104169861A (en) * 2014-02-26 2014-11-26 华为技术有限公司 Method and apparatus for combining contact information, and terminal
CN104796312A (en) * 2014-01-17 2015-07-22 腾讯科技(深圳)有限公司 Contact information processing method, device and system
CN106503584A (en) * 2016-10-26 2017-03-15 腾讯科技(深圳)有限公司 A kind of session content methods of exhibiting and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105530372A (en) * 2015-12-03 2016-04-27 小米科技有限责任公司 Message display method and apparatus and terminal device
CN106533899B (en) * 2016-09-30 2019-12-10 宇龙计算机通信科技(深圳)有限公司 information display processing method, device and system
CN107911283A (en) * 2017-11-20 2018-04-13 珠海市魅族科技有限公司 Message display method and device, computer installation and computer-readable recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796312A (en) * 2014-01-17 2015-07-22 腾讯科技(深圳)有限公司 Contact information processing method, device and system
CN104169861A (en) * 2014-02-26 2014-11-26 华为技术有限公司 Method and apparatus for combining contact information, and terminal
CN106503584A (en) * 2016-10-26 2017-03-15 腾讯科技(深圳)有限公司 A kind of session content methods of exhibiting and system

Also Published As

Publication number Publication date
CN110505141A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
CN110505141B (en) Instant messaging message processing method and device, readable medium and electronic equipment
CN106020595B (en) Message reply method and device
US20130282835A1 (en) Filtering Message Posts in a Social Network
CN110807710A (en) Method and system for managing invitation data of user inviting friends
CN113438355A (en) Communication method, device, equipment and storage medium based on cloud mobile phone
CN109862100B (en) Method and device for pushing information
US20210311928A1 (en) Reducing data loss in remote databases
CN110022399B (en) Message display method and device, user terminal and readable storage medium
US10318639B2 (en) Intelligent action recommendation
CN110781408A (en) Information display method and device
CN110134577A (en) Show the method and apparatus of user emotion
CN108229980B (en) Question feedback method and device and storage medium
US9633090B2 (en) Dynamic visualization of big data
CN112073301A (en) Method, device and computer readable medium for deleting chat group members
CN109492163B (en) List display recording method and device, terminal equipment and storage medium
CN107835115A (en) A kind of information operation method, equipment and medium
CN110673886B (en) Method and device for generating thermodynamic diagrams
CN110519155B (en) Information processing method and system
CN104331405B (en) Data report processing method and device
CN109683726B (en) Character input method, character input device, electronic equipment and storage medium
CN109614603A (en) Method and apparatus for generating information
CN111224794A (en) Group communication method, device and equipment
CN108540667B (en) Message reminding control method, device, medium and electronic equipment
CN112822089B (en) Method and device for adding friends
CN113346973A (en) Event prompting method and device, electronic equipment and computer readable storage medium

Legal Events

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