CN109324861B - Message display processing method, device, medium and electronic equipment - Google Patents

Message display processing method, device, medium and electronic equipment Download PDF

Info

Publication number
CN109324861B
CN109324861B CN201811130217.9A CN201811130217A CN109324861B CN 109324861 B CN109324861 B CN 109324861B CN 201811130217 A CN201811130217 A CN 201811130217A CN 109324861 B CN109324861 B CN 109324861B
Authority
CN
China
Prior art keywords
message
specified
messages
target
searching
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
CN201811130217.9A
Other languages
Chinese (zh)
Other versions
CN109324861A (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.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology 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 Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201811130217.9A priority Critical patent/CN109324861B/en
Publication of CN109324861A publication Critical patent/CN109324861A/en
Application granted granted Critical
Publication of CN109324861B publication Critical patent/CN109324861B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

Abstract

An embodiment disclosed in the present application provides a message display processing method, apparatus, medium, and electronic device, where the message display processing method includes: based on the reference relation between the messages, searching a target message associated with the specified message; generating an association structure between the specified message and the target message based on the association relationship between the specified message and the target message; and displaying the association structure. The technical scheme of the embodiment disclosed by the application solves the problems of message redundancy and large occupied layout caused by multiple occurrences of the same cited message in the session, enhances the logicality and readability of the message during display, and improves the user experience.

Description

Message display processing method, device, medium and electronic equipment
Technical Field
The present application relates to the field of computer and communication technologies, and in particular, to a method, an apparatus, a medium, and an electronic device for displaying and processing a message.
Background
Currently, many common software applications have a message reference function, such as referencing the comment content of a certain user when replying to the comment of the user. The related art generally inserts the original text and other basic information of the referenced message into the message to present the association relationship between the messages. However, in this way, if a message is directly or indirectly referred to by multiple messages, the message appears multiple times in the session, which not only causes a large amount of information redundancy, but also occupies a large amount of message display layout. Meanwhile, messages appearing many times also affect the logicality of the message display, so that the problem of poor readability is caused, and the user experience is seriously affected.
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 application and therefore may include information that does not constitute prior art known to a person of ordinary skill in the art.
Disclosure of Invention
An object of the embodiments disclosed in the present application is to provide a method, an apparatus, a medium, and an electronic device for displaying and processing a message, so as to overcome the problem that when a plurality of messages having a reference relationship are displayed, the logicality and readability between the messages are poor at least to a certain extent.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned by practice of the application.
According to a first aspect of embodiments disclosed herein, there is provided a message display processing method, including: based on the reference relation between the messages, searching a target message associated with the specified message; generating an association structure between the specified message and the target message based on the association relationship between the specified message and the target message; and displaying the association structure.
In some embodiments disclosed in the present application, based on the foregoing solution, finding a target message associated with a specific message based on a reference relationship between messages includes: searching a source message quoted by the appointed message; and searching the messages directly quoting and indirectly quoting the source message according to the source message to obtain the target message.
In some embodiments disclosed in the present application, based on the foregoing solution, finding the source message referenced by the specified message includes: using the designated message as a search starting point, and searching whether the designated message has a quoted message; if the specified message is found to have the quoted message, continuing to search by taking the message quoted by the specified message as the searching starting point until the first message which does not quote any message is found, and taking the first message as the source message; and if the specified message has no cited message, taking the specified message as the source message.
In some embodiments disclosed in the present application, based on the foregoing solution, searching for a message directly referencing and a message indirectly referencing the source message according to the source message to obtain the target message, includes: storing the source message into a preset set; for each message with the sending time later than the source message, sequentially judging whether the message quoted by each message exists in the preset set according to the sequence of the sending time; storing the messages of which the referenced messages exist in the preset set into the preset set; and taking the message in the preset set as the target message.
In some embodiments disclosed in the present application, based on the foregoing solution, the preset set stores content of the message and/or identification information of the message.
In some embodiments disclosed in the present application, based on the foregoing solution, generating an association structure between the specified message and the target message based on an association relationship between the specified message and the target message includes: and according to the reference relationship between the specified message and each message in the target message, respectively taking every two messages with direct reference relationship as a parent node and a child node to generate a tree structure between the specified message and the target message.
In some embodiments disclosed herein, each of the messages contains unique identification information; and if the second message refers to a third message, the unique identification information of the second message contains the unique identification information of the third message.
In some embodiments disclosed herein, the association structure is presented comprising: and if a triggering instruction of the user to the specified message is received, displaying the association structure.
According to a second aspect of the embodiments disclosed herein, there is provided a message display processing apparatus including: the searching unit is used for searching a target message associated with the specified message based on the reference relation between the messages; a generating unit, configured to generate an association structure between the specified message and the target message based on an association relationship between the specified message and the target message; and the display unit is used for displaying the association structure.
According to a third aspect of the embodiments disclosed herein, there is provided a computer readable medium having stored thereon a computer program which, when executed by a processor, implements the message display processing method as described in the first aspect of the embodiments above.
According to a fourth aspect of embodiments disclosed herein, there is provided an electronic apparatus, 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 message display processing method as described in the first aspect of the embodiments above.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in the technical scheme provided by some embodiments disclosed in the application, the target message associated with the specified message is searched based on the reference relationship between the messages, and then the association structure of the specified message and the target message is generated and displayed based on the association relationship between the specified message and the target message, so that the relationship between the messages can be more clearly and intuitively presented when a plurality of associated messages determined based on the reference relationship are displayed, the logicality and readability of the messages during display are enhanced, and the user experience is favorably improved. Meanwhile, the technical scheme of the embodiment disclosed by the application can also reduce a large amount of message redundancy during display, and avoid occupying more display layouts in the display process.
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 application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. It is to be understood that the drawings in the following description are merely exemplary of the embodiments disclosed herein, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty. In the drawings:
FIG. 1 schematically illustrates a flow diagram of a message display processing method according to one embodiment of the present disclosure;
FIG. 2 illustrates an association structure between messages according to one embodiment of the disclosure;
FIG. 3 schematically illustrates a flow chart of a method of finding a target message according to one embodiment of the present disclosure;
FIG. 4 schematically illustrates a flow diagram for finding a source message that specifies a message reference, according to one embodiment of the disclosure;
FIG. 5 schematically illustrates a flow diagram for finding a target message according to one embodiment of the present disclosure;
FIG. 6 shows a flow diagram of a message processing method according to one embodiment of the present disclosure;
FIG. 7 illustrates a flowchart of an algorithm for finding a source message that specifies a message reference according to one embodiment of the disclosure;
FIG. 8 shows a flowchart of an algorithm for finding a target message according to one embodiment of the present disclosure;
FIG. 9 schematically illustrates a block diagram of a message display processing apparatus according to one embodiment of the present disclosure;
FIG. 10 schematically illustrates a block diagram of a computer system suitable for use in implementing an electronic device according to an embodiment of the disclosure.
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 give a thorough understanding of embodiments disclosed herein. One skilled in the relevant art will recognize, however, that the subject matter of the present application can 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 application.
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 schematically shows a flowchart of a message display processing method according to an embodiment of the present disclosure, and an execution subject of the message display processing method may be a device having an information processing function, such as a smartphone, a tablet, a personal computer, a server, or the like.
Referring to fig. 1, a message display processing method according to an embodiment of the present disclosure includes the following steps S110 to S130, which are described in detail below:
in step S110, a target message associated with the specified message is searched for based on the reference relationship between the messages.
In one embodiment of the disclosure, the specified message may be a message selected by a user operating on a device with information processing function, for example, when the user needs to view a reference relationship between a certain message and other messages, the message may be selected and then taken as the specified message. The reference relationship between the messages includes reference, referenced, direct reference, indirect reference relationship, and the like. The target message associated with the specified message can be a message with direct reference or indirect reference to the specified message, or a message without direct reference or indirect reference to the specified message, but with reference relationship between the respective referenced (including direct reference and indirect reference) or referenced (including direct reference or indirect reference) messages, and if a plurality of messages refer to the same message together, the plurality of messages are also associated messages.
For example, in the message reference structure shown in fig. 2, if the message B is a specific message, the messages A, C, D, E, F, G are all messages associated with the message B because the message a is a message directly referenced by the message B, the message D, E is a message referencing the message B, the message C is a message referencing the message a together with the message B, the message F, G references the message C, and there is a reference relationship between the message C and the message a referenced by the message B.
In one embodiment disclosed herein, the scope of the search for the target message associated with the specified message may include: a message later than a specified message sending time; a message earlier than a specified message transmission time; a message transmitted within a certain period of time (the transmission time of the specified message is within the period of time); messages within a certain domain, etc.
In one embodiment disclosed in the present application, each message has unique identification information, and the unique identification information of a certain message that refers to other messages is accompanied by the unique identification information of the referenced information, for example, if message a refers to message B, the unique identification information of message B is accompanied by the unique identification information of message a. The unique identification information can be in various forms, for example, the unique identification information is a numeric string related to the sending date, the unique identification information can also be in various forms such as an alphabetic string and a graphic string, and the message can be positioned through the unique identification information.
In an embodiment of the present disclosure, referring to fig. 3, a method for searching for a target message according to an embodiment of the present disclosure includes the following steps S310 to S320, which are described in detail below:
in step S310, the source message referenced by the specified message is searched.
In one embodiment disclosed herein, the source message is a message that does not reference any messages. Referring to fig. 4, a method for searching for a source message referenced by a specific message according to an embodiment disclosed in the present application includes:
step S410, using the designated message as a search starting point, searching whether the designated message has a referenced message.
Step S420, if the message referenced by the specified message is found, continuing to search by using the message referenced by the specified message as the search starting point until the first message not referencing any message is found, and using the first message as the source message.
Step S430, if the specified message does not have the cited message, the specified message is used as the source message.
The technical solution of the embodiment shown in fig. 4 is to use a designated message as a search starting point, and reversely search a source message which does not refer to other messages according to the reference relationship between messages. Taking the message structure shown in fig. 2 as an example, if the specified message is a message D, the message D is used as a search starting point to search for a message B referenced by the message D, and then the message B is used as a search starting point to continue searching for a message a referenced by the message B.
Continuing to refer to fig. 3, in step S320, according to the source message, messages directly referencing and indirectly referencing the source message are searched to obtain the target message.
In an embodiment of the disclosure, referring to fig. 5, step S320 specifically includes the following steps S510 to S540, which are described in detail below:
in step S510, the source message is stored in a preset set.
In an embodiment of the disclosure, the preset set may be an empty set at initialization. Storing the source message into the preset set may be storing the identification information of the source message into the preset set, storing the content of the source message into the preset set, or storing the identification information and the content of the source message into the preset set.
In step S520, for each message whose sending time is later than the source message, whether the message referenced by each message exists in the preset set is sequentially determined according to the sequence of the sending times.
In one embodiment disclosed herein, the determination may be made only for messages that are sent within a predetermined time period and that are sent later than the originating message. For example, the predetermined time period may be a message which is sent later than the source message by one day, one month or one year, so that the searching time can be shortened and the display speed can be increased.
In step S530, the messages whose referenced messages exist in the predetermined set are stored in the preset set.
In step S540, the message in the preset set is taken as the target message.
The technical solution of the embodiment shown in fig. 5 can sequentially search for the target message of the direct reference and the indirect reference source message starting from the source message, and further can search for not only the message having the direct reference and the indirect reference relationship with the specified message, but also the message that does not have the direct reference and the indirect reference relationship with the specified message but belongs to the same session, for example, the message C, F, G shown in fig. 2 is a message that belongs to the same session as the message D, so that the overall view of the session can be shown, and the user can intuitively know the message relationship in the whole session.
Continuing to refer to fig. 1, in step S120, an association structure between the specified message and the target message is generated based on the association relationship between the specified message and the target message.
In an embodiment disclosed in the present application, the association structure is used to show an association relationship between the specified message and the target message, and specifically, the association structure may be a tree structure in which the source message serves as a root node, or may be a pyramid structure, or may represent a relationship between the specified message and the target message in a form of a table, or the like.
In an embodiment of the disclosure, if the association structure is a tree structure, when generating the association structure between the specified message and the target message, each two messages having a direct reference relationship may be respectively used as a parent node and a child node (for example, if message a references message B, message B is used as a root node, and message a is used as a child node of message B), so as to generate the association structure between the specified message and the target message.
And step S130, displaying the association structure.
In one embodiment of the disclosure, the association structure may be presented on the user client upon receiving a user trigger instruction for a specific message. Meanwhile, the presentation of the association structure may be combined with user operations, such as: determining a designated message selected by a user according to the operation of the user, and then displaying one-level or multi-level father node and child node messages of the designated message by a client; when a user needs to view more associated messages, more nodes can be triggered to be expanded towards the direction of a parent node or the direction of a child node through operation, and therefore the expanded display of the message associated structure is achieved. Of course, in other embodiments disclosed in the present application, the association structure of the entire message may also be directly presented when a trigger instruction of the user for specifying the message is received.
In one embodiment disclosed in the present application, when the association structure is displayed, the basic message such as the sending time, the sending user, the message content, etc. of each message can be displayed. And these basic messages may only display part of the content, and when the user triggers the display of the entire content, the complete information is fully presented.
The following describes details of implementation of the technical solution of the embodiment disclosed in the present application in detail by taking processing of a message in an instant messaging scenario as an example with reference to fig. 6, fig. 7, and fig. 8:
in a specific Application scenario disclosed in the present Application, the message display processing method according to the embodiment disclosed in the present Application may be applied to an instant messaging APP (Application), and a specific implementation flow is shown in fig. 6, and includes the following steps S610 to S640, which are described in detail as follows:
in step S610, the user designates a message from the interface.
In one embodiment disclosed in the present application, a user may specify a message from a plurality of messages displayed on an interface to view the relationship between other messages having an association relationship with the message and the message. Where each message may have a unique identifier and a time of transmission, and the unique identifier of a referring message (for ease of explanation, messages that refer to other messages are referred to as "referring messages") contains the unique identifier of the message to which it refers.
In step S620, the source message of the specified message is searched.
In an embodiment disclosed in the present application, an implementation process of finding an original message may be as shown in fig. 7, and includes the following steps:
step S710, the designated message is taken as the current message. The specified message is the message selected by the user.
Step S720, judging whether the current message is a reference message, if so, executing step S730; otherwise (the current message does not contain the unique identifier of the other message), step S740 is performed.
Step S730, reading the unique identifier of the referred message in the current message, taking the referred message as the current message, and continuing to execute step S720.
Step S740, the current message is the source message, and exits.
Continuing with FIG. 6, in step S630, all derived reference messages are searched from the source message, and the parent-child relationship between the messages is established according to the reference relationship.
In an embodiment of the present disclosure, an implementation flow of the method for searching for a target message is shown in fig. 8, and includes the following steps:
step S810, storing the source message into a preset set.
In an embodiment of the disclosure, the preset set may be an empty set at initialization. Storing the source message into the preset set may be storing the identification information of the source message into the preset set, storing the content of the source message into the preset set, or storing the identification information and the content of the source message into the preset set.
Step S820, reading each message whose sending time is later than the source message.
In one embodiment disclosed herein, the determination may be made only for messages that are sent within a predetermined time period and that are sent later than the originating message. In particular, individual messages sent at a time later than the source message, such as a day, may be read.
Step S830, judging whether the read message is a quote message and whether the quote message is in a preset set, if yes, executing step S840; otherwise, step S850 is performed.
And step 840, putting the read messages into a preset set, and executing step 850.
Step S850, judging whether more messages exist, if so, executing step S860; otherwise, step S870 is executed.
Step S860, reads the next message.
In step S870, the message in the preset set is the target message to be searched.
Continuing to refer to fig. 6, in step S640, the source message and all derived reference messages are displayed as a tree structure according to the reference relationship between the messages.
The following describes embodiments of an apparatus of the present application, which may be used to perform the message display processing method described above in the present application.
Fig. 9 schematically shows a block diagram of a message display processing apparatus, which may be applied to a message display, according to one embodiment of the present disclosure.
Referring to fig. 9, a message display processing apparatus 900 according to an embodiment of the present disclosure includes: a searching unit 901, a generating unit 902 and a presentation unit 903.
The searching unit 901 is configured to search for a target message associated with a specified message based on a reference relationship between messages; the generating unit 902 is configured to generate an association structure between the specified message and the target message based on an association relationship between the specified message and the target message; the display unit 903 is used for displaying the association structure.
In some embodiments disclosed in the present application, based on the foregoing solution, the searching unit 901 is configured to: searching a source message quoted by the appointed message; and searching the messages directly quoting and indirectly quoting the source message according to the source message to obtain the target message.
In some embodiments disclosed in the present application, based on the foregoing solution, the searching unit 901 is configured to: using the designated message as a search starting point, and searching whether the designated message has a quoted message; if the specified message is found to have the quoted message, continuing to search by taking the message quoted by the specified message as the searching starting point until the first message which does not quote any message is found, and taking the first message as the source message; and if the specified message has no cited message, taking the specified message as the source message.
In some embodiments disclosed in the present application, based on the foregoing solution, the searching unit 901 is configured to: storing the source message into a preset set; for each message with the sending time later than the source message, sequentially judging whether the message quoted by each message exists in the preset set according to the sequence of the sending time; storing the messages of which the referenced messages exist in the preset set into the preset set; and taking the message in the preset set as the target message.
In some embodiments disclosed in the present application, based on the foregoing solution, the preset set stores content of the message and/or identification information of the message.
In some embodiments disclosed herein, based on the foregoing solution, the generating unit 902 is configured to: and according to the reference relationship between the specified message and each message in the target message, respectively taking every two messages with direct reference relationship as a parent node and a child node to generate a tree structure between the specified message and the target message.
In some embodiments disclosed herein, each of the messages contains unique identification information; and if the second message refers to a third message, the unique identification information of the second message contains the unique identification information of the third message.
In some embodiments disclosed herein, the presentation unit 903 is configured to: and if a triggering instruction of the user to the specified message is received, displaying the association structure.
As each functional module of the message display processing apparatus of the exemplary embodiment disclosed in the present application corresponds to a step of the exemplary embodiment of the message display processing method described above, for details that are not disclosed in the embodiment of the apparatus of the present application, please refer to the embodiment of the message display processing method described above in the present application.
Referring now to FIG. 10, a block diagram of a computer system 1000 suitable for use in implementing the electronic device of the disclosed embodiments is shown. The computer system 1000 of the electronic device shown in fig. 10 is only an example, and should not bring any limitation to the function and the scope of use of the embodiments disclosed in the present application.
As shown in fig. 10, the computer system 1000 includes a Central Processing Unit (CPU)1001 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)1002 or a program loaded from a storage section 1008 into a Random Access Memory (RAM) 1003. In the RAM 1003, various programs and data necessary for system operation are also stored. The CPU 1001, ROM 1002, and RAM 1003 are connected to each other via a bus 1004. An input/output (I/O) interface 1005 is also connected to bus 1004.
The following components are connected to the I/O interface 1005: an input section 1006 including a keyboard, a mouse, and the like; an output section 1007 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 1008 including a hard disk and the like; and a communication section 1009 including a network interface card such as a LAN card, a modem, or the like. The communication section 1009 performs communication processing via a network such as the internet. The driver 1010 is also connected to the I/O interface 1005 as necessary. A removable medium 1011 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1010 as necessary, so that a computer program read out therefrom is mounted into the storage section 1008 as necessary.
In particular, according to embodiments disclosed herein, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments disclosed herein 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 by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication part 1009 and/or installed from the removable medium 1011. The computer program executes the above-described functions defined in the system of the present application when executed by the Central Processing Unit (CPU) 1001.
It should be noted that the computer readable medium shown in the present application may 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 application, 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 this application, 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 many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also 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 disclosed herein. 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 disclosed in the present application may be implemented by software or 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 embodiments; or may exist separately without being assembled into the electronic device. The computer-readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to implement the message display processing method as described in the above embodiments.
For example, the electronic device may implement the following as shown in fig. 1: step S110, searching a target message associated with the specified message based on the reference relation between the messages; step S120, generating an association structure between the specified message and the target message based on the association relationship between the specified message and the target message; and step S130, displaying the association structure.
As another example, the electronic device may implement the steps shown in fig. 3 to 8.
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 disclosed herein. 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 embodiments disclosed in the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may 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 may be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments disclosed in the present application.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application 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 application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A message display processing method, comprising:
based on the reference relation between the messages, searching a target message associated with the specified message; wherein the specified message is determined according to user operation;
generating an association structure between the specified message and the target message based on the association relationship between the specified message and the target message;
displaying the association structure;
each message contains unique identification information for identifying the relationship between messages, and the unique identification information corresponding to the reference message which refers to other messages contains the unique identification information corresponding to the referenced message.
2. The message display processing method of claim 1, wherein searching for a target message associated with a specified message based on a reference relationship between messages comprises:
searching a source message quoted by the appointed message;
and searching the messages directly quoting and indirectly quoting the source message according to the source message to obtain the target message.
3. The method of claim 2, wherein searching for the source message referenced by the specified message comprises:
using the designated message as a search starting point, and searching whether the designated message has a quoted message;
if the specified message is found to have the quoted message, continuing to search by taking the message quoted by the specified message as the searching starting point until the first message which does not quote any message is found, and taking the first message as the source message;
and if the specified message has no cited message, taking the specified message as the source message.
4. The message display processing method according to claim 2, wherein searching for the message directly referencing and indirectly referencing the source message according to the source message to obtain the target message comprises:
storing the source message into a preset set;
for each message with the sending time later than the source message, sequentially judging whether the message quoted by each message exists in the preset set according to the sequence of the sending time;
storing the messages of which the quoted messages exist in the preset set into the preset set;
and taking the message in the preset set as the target message.
5. The message display processing method according to claim 4, wherein the preset set stores the content of the message and/or the identification information of the message.
6. The message display processing method according to claim 1, wherein generating the association structure between the specified message and the target message based on the association relationship between the specified message and the target message comprises:
and according to the reference relationship between the specified message and each message in the target message, respectively taking every two messages with direct reference relationship as a parent node and a child node to generate a tree structure between the specified message and the target message.
7. The message display processing method according to any one of claims 1 to 6, wherein presenting the association structure includes:
and if a triggering instruction of the user to the specified message is received, displaying the association structure.
8. A message display processing apparatus, comprising:
the searching unit is used for searching a target message associated with the specified message based on the reference relation between the messages; wherein the specified message is determined according to user operation;
a generating unit, configured to generate an association structure between the specified message and the target message based on an association relationship between the specified message and the target message;
the display unit is used for displaying the association structure; each message contains unique identification information for identifying the relationship between messages, and the unique identification information corresponding to the reference message which refers to other messages contains the unique identification information corresponding to the referenced message.
9. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out a message display processing method according to any one of claims 1 to 7.
10. 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 message display processing method of any one of claims 1 to 7.
CN201811130217.9A 2018-09-27 2018-09-27 Message display processing method, device, medium and electronic equipment Active CN109324861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811130217.9A CN109324861B (en) 2018-09-27 2018-09-27 Message display processing method, device, medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811130217.9A CN109324861B (en) 2018-09-27 2018-09-27 Message display processing method, device, medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN109324861A CN109324861A (en) 2019-02-12
CN109324861B true CN109324861B (en) 2020-02-21

Family

ID=65266600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811130217.9A Active CN109324861B (en) 2018-09-27 2018-09-27 Message display processing method, device, medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN109324861B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110659359A (en) * 2019-09-20 2020-01-07 联想(北京)有限公司 Data processing method and device and electronic equipment
CN110955604B (en) * 2019-12-04 2023-07-25 米哈游科技(上海)有限公司 Information display method, device, server and storage medium
CN111130818A (en) * 2019-12-30 2020-05-08 论客科技(广州)有限公司 Group message reply method, device and storage medium
CN111131002B (en) * 2019-12-30 2022-06-03 论客科技(广州)有限公司 Method, system and storage medium for tracing chat records
CN113448809A (en) * 2020-03-24 2021-09-28 伊姆西Ip控股有限责任公司 Method, apparatus and computer program product for managing messages in an application system
CN113407710A (en) * 2021-06-07 2021-09-17 维沃移动通信有限公司 Information display method and device, electronic equipment and readable storage medium
CN114422461A (en) * 2022-01-04 2022-04-29 维沃移动通信有限公司 Message reference method and device
CN114579240A (en) * 2022-03-03 2022-06-03 维沃移动通信有限公司 Message processing method and device
CN115378899A (en) * 2022-08-16 2022-11-22 维沃移动通信有限公司 Message reference method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572883A (en) * 2014-12-22 2015-04-29 东软集团股份有限公司 Method and device for implementing quick replies and clues between comments
CN106487655A (en) * 2016-09-28 2017-03-08 腾讯科技(深圳)有限公司 A kind of method for message interaction, device and processing server
CN107222386A (en) * 2017-05-02 2017-09-29 珠海市魅族科技有限公司 A kind of message back method and terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9245259B2 (en) * 2011-01-14 2016-01-26 Apple Inc. Presenting E-mail on a touch device
CN102624637B (en) * 2011-01-27 2016-02-24 阿里巴巴集团控股有限公司 Quote Notification Method and device
US9965470B1 (en) * 2011-04-29 2018-05-08 Amazon Technologies, Inc. Extracting quotes from customer reviews of collections of items
CN105847116A (en) * 2016-03-28 2016-08-10 乐视控股(北京)有限公司 Comment reply information processing method and apparatus
CN106407371A (en) * 2016-09-09 2017-02-15 广州神马移动信息科技有限公司 User comment data displaying method and system, server and client

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572883A (en) * 2014-12-22 2015-04-29 东软集团股份有限公司 Method and device for implementing quick replies and clues between comments
CN106487655A (en) * 2016-09-28 2017-03-08 腾讯科技(深圳)有限公司 A kind of method for message interaction, device and processing server
CN107222386A (en) * 2017-05-02 2017-09-29 珠海市魅族科技有限公司 A kind of message back method and terminal

Also Published As

Publication number Publication date
CN109324861A (en) 2019-02-12

Similar Documents

Publication Publication Date Title
CN109324861B (en) Message display processing method, device, medium and electronic equipment
CN109460513B (en) Method and apparatus for generating click rate prediction model
CN109522483B (en) Method and device for pushing information
WO2020186904A1 (en) Text adaptive display method and apparatus, electronic device, server, and storage medium
CN109299348B (en) Data query method and device, electronic equipment and storage medium
US11758088B2 (en) Method and apparatus for aligning paragraph and video
US20220075932A1 (en) Method and apparatus for inserting information into online document
CN107948437B (en) Screen-off display method and device
CN109840192B (en) Method and device for automatic testing
CN110324185B (en) Hyper-parameter tuning method, device, server, client and medium
CN110287146B (en) Method, device and computer storage medium for downloading application
CN111061533A (en) Page multi-language display method and device, electronic equipment and computer storage medium
CN109597810B (en) Task segmentation method, device, medium and electronic equipment
CN109062560B (en) Method and apparatus for generating information
CN108449255B (en) Comment interaction method and equipment, client device and electronic equipment
CN112395027A (en) Widget interface generation method and device, storage medium and electronic equipment
US11095957B2 (en) Method and apparatus for publishing information, and method and apparatus for processing information
CN112464075B (en) Application recommendation method and device of intelligent sound box and electronic equipment
CN110796518A (en) E-commerce interaction activity processing method and system
CN107562461B (en) Feature calculation system, feature calculation method, storage medium, and electronic device
CN112131092A (en) Page debugging method and device
CN114816578A (en) Method, device and equipment for generating program configuration file based on configuration table
CN114860233A (en) Page generation method, device, equipment, storage medium and product
CN112084768A (en) Multi-round interaction method and device and storage medium
CN113342450A (en) Page processing method and device, electronic equipment and computer readable 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