[go: up one dir, main page]

CN110380955B - Message processing method and device and electronic equipment - Google Patents

Message processing method and device and electronic equipment Download PDF

Info

Publication number
CN110380955B
CN110380955B CN201910668268.5A CN201910668268A CN110380955B CN 110380955 B CN110380955 B CN 110380955B CN 201910668268 A CN201910668268 A CN 201910668268A CN 110380955 B CN110380955 B CN 110380955B
Authority
CN
China
Prior art keywords
message
target
session
processing
content
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
CN201910668268.5A
Other languages
Chinese (zh)
Other versions
CN110380955A (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.)
Douyin Vision Co Ltd
Douyin Vision Beijing Co Ltd
Original Assignee
Beijing ByteDance Network 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 ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910668268.5A priority Critical patent/CN110380955B/en
Publication of CN110380955A publication Critical patent/CN110380955A/en
Priority to PCT/CN2020/100824 priority patent/WO2021012952A1/en
Application granted granted Critical
Publication of CN110380955B publication Critical patent/CN110380955B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/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/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a message processing method, a message processing device and electronic equipment, wherein the message is a message in instant messaging application, and the method comprises the steps of acquiring at least one message indicated by a processing instruction when the processing instruction of a first user to the first message is received in a first session; generating a target message according to the first message and at least one message, wherein the target message is a nested structure message; and sending the target message to the second session indicated by the processing instruction. By the method and the device, the flexibility of message processing can be improved when the message is forwarded, other conversation group users can conveniently check the message, and the message processing effect is improved.

Description

Message processing method and device and electronic equipment
Technical Field
The present disclosure relates to the field of instant messaging technologies, and in particular, to a message processing method and apparatus, and an electronic device.
Background
A large number of messages may be generated in a conversation of an instant messaging application, and the instant messaging application can support forwarding of messages to other conversation groups and displaying of messages in other conversation groups.
In the related art, if the number of messages is multiple, the messages are generally forwarded in a merging forwarding manner, that is, all the contents of the messages to be forwarded are simply spliced and then forwarded.
In this way, the message processing is not flexible enough during forwarding, which is not convenient for other users of the conversation group to view, and the message processing effect is not good.
Disclosure of Invention
The present disclosure is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, an object of the present disclosure is to provide a message processing method, an apparatus, and an electronic device, which can improve flexibility of message processing when forwarding a message, facilitate checking by other users of a conversation group, and improve message processing effect.
In order to achieve the above object, an embodiment of the first aspect of the present disclosure provides a message processing method, including: when a processing instruction of a first user to a first message is received in a first session, acquiring at least one message indicated by the processing instruction; generating a target message according to the first message and the at least one message, wherein the target message is a nested structure message; and sending the target message to a second conversation indicated by the processing instruction.
According to the message processing method provided by the embodiment of the first aspect of the disclosure, when a processing instruction of a first user on a first message is received in a first session, at least one message indicated by the processing instruction is obtained, a target message is generated according to the first message and the at least one message, the target message is a message of a nested structure, and the target message is sent to a second session indicated by the processing instruction, so that the flexibility of message processing can be improved when the message is forwarded, the viewing of other users in a session group is facilitated, and the message processing effect is improved.
In order to achieve the above object, an embodiment of a second aspect of the present disclosure provides an apparatus for message processing, including: the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring at least one message indicated by a processing instruction when the processing instruction of a first user to a first message is received in a first session; a generating module, configured to generate a target message according to the first message and the at least one message, where the target message is a nested structure message; and the sending module is used for sending the target message to the second session indicated by the processing instruction.
According to the message processing device provided by the embodiment of the second aspect of the disclosure, through the obtaining module, when a processing instruction of a first user on a first message is received in a first session, at least one message indicated by the processing instruction is obtained, the generating module generates a target message according to the first message and the at least one message, the target message is a message of a nested structure, and the sending module sends the target message to a second session indicated by the processing instruction, so that the flexibility of message processing can be improved when the message is forwarded, the viewing of other session group users is facilitated, and the message processing effect is improved.
To achieve the above object, a computer-readable storage medium according to a third embodiment of the present disclosure is a storage medium, where instructions of the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a message processing method, where the method includes: the embodiment of the first aspect of the disclosure provides a message processing method.
The computer-readable storage medium provided in the embodiment of the third aspect of the present disclosure obtains at least one message indicated by a processing instruction when the processing instruction of a first user for the first message is received in a first session, generates a target message according to the first message and the at least one message, where the target message is a message of a nested structure, and sends the target message to a second session indicated by the processing instruction, so that flexibility of message processing can be improved when the message is forwarded, viewing of users in other session groups is facilitated, and a message processing effect is improved.
To achieve the above object, a computer program product according to a fourth aspect of the present disclosure is a computer program product, when instructions of the computer program product are executed by a processor, executing a message processing method, where the message is a message in an instant messaging application, the method including: when a processing instruction of a first user to a first message is received in a first session, acquiring at least one message indicated by the processing instruction; generating a target message according to the first message and the at least one message, wherein the target message is a nested structure message; and sending the target message to a second conversation indicated by the processing instruction.
According to the computer program product provided by the embodiment of the fourth aspect of the disclosure, when a processing instruction of a first user on a first message is received in a first session, at least one message indicated by the processing instruction is obtained, a target message is generated according to the first message and the at least one message, the target message is a message of a nested structure, and the target message is sent to a second session indicated by the processing instruction, so that the flexibility of message processing can be improved when the message is forwarded, the viewing of other session group users is facilitated, and the message processing effect is improved.
An embodiment of a fifth aspect of the present disclosure also provides an electronic device, which includes at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are configured to perform the message processing method set forth in the first aspect of the disclosure.
According to the electronic device provided by the embodiment of the fifth aspect of the disclosure, when a processing instruction of a first user on a first message is received in a first session, at least one message indicated by the processing instruction is acquired, a target message is generated according to the first message and the at least one message, the target message is a message of a nested structure, and the target message is sent to a second session indicated by the processing instruction, so that the flexibility of message processing can be improved when the message is forwarded, the viewing of other users in a session group is facilitated, and the message processing effect is improved.
Additional aspects and advantages of the disclosure will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the disclosure.
Drawings
The foregoing and/or additional aspects and advantages of the present disclosure will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flowchart of a message processing method according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating an application effect according to an embodiment of the disclosure;
FIG. 3 is a schematic diagram illustrating another application effect in the embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating another application effect in the embodiment of the present disclosure;
FIG. 5 is a schematic diagram illustrating another application effect in the embodiment of the present disclosure;
FIG. 6 is a schematic diagram illustrating another application effect in the embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a message processing apparatus according to another embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the embodiments of the present disclosure, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of illustrating the present disclosure and should not be construed as limiting the same. On the contrary, the embodiments of the disclosure include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
Fig. 1 is a flowchart illustrating a message processing method according to an embodiment of the disclosure.
The disclosed embodiments are exemplified in a case where a message processing method is configured as a message processing apparatus.
The message processing method in the embodiment of the present disclosure may be configured in a message processing apparatus, and the message processing apparatus may be disposed in a server, or may also be disposed in an electronic device, which is not limited in the embodiment of the present disclosure.
The embodiment of the present disclosure takes the case where the message processing method is configured in an electronic device.
It should be noted that the execution subject of the embodiment of the present disclosure may be, for example, a Central Processing Unit (CPU) in a server or an electronic device in terms of hardware, and may be, for example, a related background service in the server or the electronic device in terms of software, which is not limited to this.
The present disclosure is applied to an instant messaging application, which is an instant messaging application program, and the application program may refer to a software program running on an electronic device, such as a Personal Computer (PC), a cloud device or a mobile device, a mobile device such as a smart phone or a tablet Computer.
The message in the embodiment of the disclosure is a message in an instant messaging application.
Referring to fig. 1, the method includes:
s101: when a processing instruction of a first user to a first message is received in a first session, at least one message indicated by the processing instruction is acquired.
The session in which the message needs to be forwarded may be referred to as a first session, a user with a message forwarding requirement may be referred to as a first user, when the first user selects a specific message in the first session and right clicks a mouse cursor, a processing box option for the specific message may be popped up, the specific message may be referred to as a first message, if the first user further selects a [ forward ] control in the processing box option, a [ select ] control may be displayed in each message before the first message, and if the first user selects a partial message therein, a processing instruction may be triggered to be generated, where the processing instruction is used to forward the first message and the partial message selected by the user to a second session, and the partial message is at least one message.
S102: and generating a target message according to the first message and the at least one message, wherein the target message is a message with a nested structure.
In the embodiment of the present disclosure, the message with the nested structure may have the following characteristics when displayed, that is, only information associated with a part of the first message and the at least one message is displayed, where the information is, for example, a sender, an avatar, sending time, and the like of the message, and specific message contents of the first message and the at least one message are hidden, so that the forwarded message can be effectively simplified, and meanwhile, the associated information is retained, which is convenient for tracing the source of the target information in the following process.
In the specific implementation process of the embodiment of the disclosure, in order to effectively simplify the forwarded message and simultaneously retain the associated information, which is convenient for accurately tracing the source of the target information in the following, the information associated with the message at the target time point in at least one message may be determined; taking the information as a message title of a target message, and taking the content of the message except the message of the target time point in at least one message as the message content of the target message; and generating the target message according to the information and the message content.
In the embodiment of the present disclosure, the message header of the target message may be displayed in the second session, and the message content of the target message may be hidden, or the message header of the target message may be displayed in the second session, and the message content of the target message may be hidden, and the message at the latest time point before forwarding may be displayed, so that the message processing manner is flexible.
The target time point may be the earliest time point among the plurality of messages, and the information may be, for example, a sender, an avatar, a sending time, etc. of the message, which is not limited in this respect.
The content of the message is the content of the semantic aspect actually contained in the message.
In the embodiment of the present disclosure, when the target message is generated by merging, it may be further determined whether at least one message includes a second message, where the second message is a nested structure message; according to the first message and the at least one message, the target message is generated, when the at least one message contains the second message, the target message and the second message have different nesting levels, multi-level nesting can be achieved for messages needing to be combined and forwarded when the messages are forwarded, and the presentation effect of the forwarded messages is improved.
In the embodiment of the present disclosure, if the target message includes multiple layers of nested hierarchies, the display may have a feature that only the message header of each nested structure message included therein is displayed, and the message content of each nested structure message is hidden, and the hidden message content is re-displayed when a corresponding instruction is subsequently received.
Referring to fig. 2, fig. 2 is a schematic diagram illustrating an application effect in an embodiment of the present disclosure, including: a first conversation 21, a second conversation 22, a target message 23 and a target message 24, wherein the nesting level of the target message 23 is one layer, and the nesting level of the target message 24 is two layers, comprising: the first-level nesting level 241 and the second-level nesting level 242 display only the message headers of the target messages of the first-level nesting level 241 and the second-level nesting level 242 when the target message 24 is displayed.
The description for the above fig. 2 is as follows: the first session is, for example, test group 1, the second session is, for example, test group 2, and A, B two-bit users and A, B, C three-bit users are located inside the first session, and specific forwarding processes are exemplified as follows:
1. in test group 1, a first inputs 1 message "1" and B replies with 1 message "2".
2. B merges messages "1" and "2" into 1 message (which may be referred to as a target message) and forwards the target message to test group 2, the target message appearing as "1/2" and the target message being a nested structured message.
3. C replies to the target message "1/2" and enters the message "3".
4. A may merge the destination messages "1/2" and "3" into 1 message to forward to the test group 1, and the destination message appears as "1/2/3", wherein, since the destination message "1/2" is a message of a nested structure, if it needs to be merged and forwarded again, when another destination message is generated, the destination message "1/2" may be referred to as a second message, and the nesting level of the generated another destination message is different from the nesting level of the second message.
5. B replies to another target message "1/2/3" with the word "4" entered.
6. B merges the target messages "1/2/3" and "4" into 1 message to forward to test group 2, the target message appearing as "1/2/3/4".
7. C replies to the target message "1/2/3/4" with the word "5" entered.
8. A may merge the target messages "1/2/3/4" and "5" into 1 message to forward to test group 1, with the target message appearing as "1/2/3/4/5".
S103: and sending the target message to the second session indicated by the processing instruction.
In a specific implementation process, the message header of the target message may be displayed in the second session, and meanwhile, the message content of the target message may be hidden.
Alternatively, when the target message includes a plurality of nested-level messages, the header of each nested-level message is displayed and the message content of each nested-level message is hidden.
In the embodiment of the disclosure, in order to facilitate accurate traceability of subsequent users, the context is referred to in time to obtain complete message content, and when an expansion instruction of a second user on a target message is received in a second session, the message content of the target message is displayed.
Referring to fig. 2, fig. 3 and fig. 4 together, fig. 3 is a schematic diagram of another application effect in the embodiment of the present disclosure, fig. 4 is a schematic diagram of another application effect in the embodiment of the present disclosure, in fig. 3, a schematic diagram of a display effect of the target message "1/2/3/4/5" in fig. 2 is shown, and in fig. 4, a schematic diagram of a display effect of the target message "1/2/3/4" in fig. 2 is shown.
In the embodiment of the disclosure, in order to facilitate a user to quickly know the beginning and end information of a message, the message of the nested structure can be displayed in 1 view according to the time sequence, when the message is executed, a target view can be generated according to the message content of the target message, and the target view is displayed in the second session.
Referring to fig. 5 and 5, another application effect diagram in the embodiment of the present disclosure is shown, and fig. 5 includes a target view 31, in which detailed message content of a message of a nested structure is shown.
In the embodiment of the disclosure, in order to realize that the messages with the nested structure are viewed and positioned according to the forwarding time and sequence, key information is conveniently found, and a message map can be generated according to the message content in the target view and by combining the time point and the nested hierarchy corresponding to each message content; a message map is displayed in the second session.
Referring to fig. 6 and fig. 6 are schematic diagrams illustrating another application effect in the embodiment of the present disclosure, in fig. 6, a message map 61 is included, where nesting levels in messages of a nested structure and time points corresponding to the messages are shown.
In the embodiment of the disclosure, the original message can be traced and positioned accurately, and when a positioning instruction of a second user to the message is received in the message map, the target message content specified by the positioning instruction can be determined; and locating the message corresponding to the target message content from the second session.
The target message content selected by the positioning instruction may be referred to as the target message content specified by the positioning instruction.
The content of the target message is specifically the content of the target message to be merged and forwarded, and the message corresponding to the content of the target message is the original message before the target message is merged and forwarded.
In the embodiment of the disclosure, when a processing instruction of a first user for a first message is received in a first session, at least one message indicated by the processing instruction is obtained, a target message is generated according to the first message and the at least one message, the target message is a message of a nested structure, and the target message is sent to a second session indicated by the processing instruction.
Fig. 7 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present disclosure.
The message is a message in an instant messaging application.
Referring to fig. 7, the apparatus 700 includes:
an obtaining module 701, configured to obtain at least one message indicated by a processing instruction when the processing instruction of a first user for a first message is received in a first session;
a first generating module 702, configured to generate a target message according to the first message and the at least one message, where the target message is a message in a nested structure;
a sending module 703, configured to send the target message to the second session indicated by the processing instruction.
Optionally, in some embodiments, referring to fig. 8, further comprising:
a judging module 704, configured to judge whether the at least one message includes a second message, where the second message is a nested structure message;
the first generating module 702 is specifically configured to:
and generating a target message according to the first message and the at least one message, wherein when the at least one message comprises a second message, the target message and the second message have different nesting levels.
Optionally, in some embodiments, the first generating module 702 is specifically configured to:
determining information associated with the message of the target time point in at least one message;
taking the information as a message title of a target message, and taking the content of the message except the message of the target time point in at least one message as the message content of the target message;
and generating the target message according to the information and the message content.
Optionally, in some embodiments, the method further comprises:
a display module 705, configured to display the message header of the target message in the second session, and at the same time, hide the message content of the target message.
Optionally, in some embodiments, the display module 705 is further configured to:
and when receiving an expansion instruction of the second user to the target message in the second session, displaying the message content of the target message.
Optionally, in some embodiments, the method further comprises:
a second generating module 706, configured to generate a target view according to the message content of the target message;
the display module 705 is further configured to display the target view in the second session.
Optionally, in some embodiments, the method further comprises:
a third generating module 707, configured to generate a message map according to the message content in the target view by combining the time point and the nesting level corresponding to each message content;
the display module 705 is further configured to display a message map in the second session.
Optionally, in some embodiments, the method further comprises:
a receiving module 708, configured to determine, when a positioning instruction for a message by a second user is received in a message map, a target message content specified by the positioning instruction;
a positioning module 709, configured to position a message corresponding to the target message content from the second session.
It should be noted that the explanation of the message processing method in the foregoing embodiments of fig. 1 to fig. 6 also applies to the message processing apparatus 700 in this embodiment, and the implementation principle is similar and is not described herein again.
In the embodiment of the disclosure, when a processing instruction of a first user for a first message is received in a first session, at least one message indicated by the processing instruction is obtained, a target message is generated according to the first message and the at least one message, the target message is a message of a nested structure, and the target message is sent to a second session indicated by the processing instruction.
Referring to fig. 9, fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. A schematic structural diagram of an electronic device 900 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like.
The electronic device shown in fig. 9 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 9, the electronic device 900 may include a processing means (e.g., central processing unit, graphics processor, etc.) 901 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)902 or a program loaded from a storage means 808 into a Random Access Memory (RAM) 903. In the RAM 903, various programs and data necessary for the operation of the electronic apparatus 900 are also stored. The processing apparatus 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904. An input/output (I/O) interface 905 is also connected to bus 904.
Generally, the following devices may be connected to the I/O interface 905: input devices 906 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 907 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 908 including, for example, magnetic tape, hard disk, etc.; and a communication device 909. The communication device 909 may allow the electronic apparatus 900 to perform wireless or wired communication with other apparatuses to exchange data. While fig. 9 illustrates an electronic device 900 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program containing program code for performing the message processing method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication device 909, or installed from the storage device 908, or installed from the ROM 902. The computer program performs the above-described functions defined in the message processing method of the embodiment of the present disclosure when executed by the processing apparatus 901.
It should be noted that the computer readable medium in the present disclosure 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 disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either 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: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; 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: when a processing instruction of a first user to a first message is received in a first session, acquiring at least one message indicated by the processing instruction; generating a target message according to the first message and at least one message, wherein the target message is a nested structure message; and sending the target message to the second session indicated by the processing instruction.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
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 disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. The name of the module does not constitute a limitation to the module itself in some cases, for example, the first generating module may also be described as "a module for generating a target message from the first message and the at least one message, the target message being a message in a nested structure".
It should be noted that, in the description of the present disclosure, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present disclosure, "a plurality" means two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present disclosure includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present disclosure.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware that is related to instructions of a program, and the program may be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present disclosure have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure, and that changes, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present disclosure.

Claims (10)

1. A message processing method is characterized in that the message is a message in instant messaging application, and the method comprises the following steps:
when a processing instruction of a first user to a first message is received in a first session, acquiring at least one message indicated by the processing instruction;
generating a target message according to the first message and the at least one message, wherein the target message is a nested structure message;
sending the target message to a second session indicated by the processing instruction;
before generating the target message according to the first message and the at least one message, the method further includes:
judging whether the at least one message contains a second message, wherein the second message is a nested structure message;
generating a target message according to the first message and the at least one message, including:
generating a target message according to the first message and the at least one message, wherein the target message and the second message have different nesting levels when the second message is contained in the at least one message;
and if the target message contains a plurality of layers of nested hierarchies, displaying the message title of each nested structure message contained in the target message, and hiding the message content of each nested structure message.
2. The message processing method of claim 1, wherein generating the target message based on the first message and the at least one message comprises:
determining information associated with the message of the target time point in the at least one message;
taking the information as a message title of the target message, and taking the content of the message except the message of the target time point in the at least one message as the message content of the target message;
and generating the target message according to the information and the message content.
3. The message processing method according to claim 2, wherein after sending the target message to the second session indicated by the processing instruction, further comprising:
and displaying the message title of the target message in the second conversation, and hiding the message content of the target message.
4. The message processing method of claim 3, further comprising:
and when receiving an expansion instruction of a second user to the target message in the second session, displaying the message content of the target message.
5. The message processing method of claim 4, further comprising:
generating a target view according to the message content of the target message;
displaying the target view in the second session.
6. The message processing method of claim 5, further comprising:
generating a message map according to the message contents in the target view by combining the time point and the nesting level corresponding to each message content;
displaying the message map in the second session.
7. The message processing method of claim 6, further comprising:
when a positioning instruction of the second user to the message is received in the message map, determining target message content specified by the positioning instruction;
and locating the message corresponding to the target message content from the second session.
8. A message processing apparatus, wherein the message is a message in an instant messaging application, the apparatus comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring at least one message indicated by a processing instruction when the processing instruction of a first user to a first message is received in a first session;
the judging module is used for judging whether the at least one message contains a second message, wherein the second message is a nested structure message;
a first generating module, configured to generate a target message according to the first message and the at least one message, where the target message is a nested message;
the sending module is used for sending the target message to a second session indicated by the processing instruction;
the first generation module is specifically configured to: generating a target message according to the first message and at least one message, wherein the target message and the second message have different nesting levels when the second message is contained in the at least one message;
and the display module displays the message title of each nested structure message contained in the target message and hides the message content of each nested structure message if the target message contains a plurality of nested hierarchies.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a message processing method according to any one of claims 1 to 7.
10. An electronic device, comprising:
at least one processor; and a memory communicatively coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, the instructions being arranged to perform the message processing method of any of claims 1-7 above.
CN201910668268.5A 2019-07-23 2019-07-23 Message processing method and device and electronic equipment Active CN110380955B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910668268.5A CN110380955B (en) 2019-07-23 2019-07-23 Message processing method and device and electronic equipment
PCT/CN2020/100824 WO2021012952A1 (en) 2019-07-23 2020-07-08 Message processing method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910668268.5A CN110380955B (en) 2019-07-23 2019-07-23 Message processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110380955A CN110380955A (en) 2019-10-25
CN110380955B true CN110380955B (en) 2022-01-28

Family

ID=68255299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910668268.5A Active CN110380955B (en) 2019-07-23 2019-07-23 Message processing method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN110380955B (en)
WO (1) WO2021012952A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110380955B (en) * 2019-07-23 2022-01-28 北京字节跳动网络技术有限公司 Message processing method and device and electronic equipment
CN115314456B (en) * 2021-04-20 2023-11-28 北京字跳网络技术有限公司 Interaction method and device and electronic equipment
CN113065009B (en) * 2021-04-21 2022-08-26 上海哔哩哔哩科技有限公司 View loading method and device
CN113285866B (en) * 2021-04-26 2022-05-24 维沃移动通信(杭州)有限公司 Information sending method and device and electronic equipment
CN113434309B (en) * 2021-06-23 2024-06-21 东风汽车有限公司东风日产乘用车公司 Message broadcasting method, device and storage medium
CN113746722B (en) * 2021-08-25 2022-08-26 北京字跳网络技术有限公司 Information processing method, device, equipment and storage medium
CN115987927A (en) * 2022-12-07 2023-04-18 上海掌门科技有限公司 An information processing method, device, and machine-readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049317A (en) * 2015-05-21 2015-11-11 腾讯科技(深圳)有限公司 Message forwarding method and apparatus
CN106330686A (en) * 2016-09-28 2017-01-11 北京小米移动软件有限公司 Message sending method and device
CN107231294A (en) * 2017-05-24 2017-10-03 北京潘达互娱科技有限公司 Message treatment method and device
CN108965104A (en) * 2018-05-29 2018-12-07 深圳市零度智控科技有限公司 Merging sending method, device and the readable storage medium storing program for executing of graphic message
CN109120794A (en) * 2018-09-07 2019-01-01 北京三快在线科技有限公司 A kind of message display method and device and electronic equipment
CN109976620A (en) * 2019-03-28 2019-07-05 北京字节跳动网络技术有限公司 List items show determination method, apparatus, equipment and the storage medium of attribute information

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7844662B2 (en) * 2002-10-17 2010-11-30 At&T Intellectual Property Ii, L.P. Merging instant messaging (IM) chat sessions
US8060566B2 (en) * 2004-12-01 2011-11-15 Aol Inc. Automatically enabling the forwarding of instant messages
US8136121B2 (en) * 2005-03-16 2012-03-13 International Business Machines Corporation Graphical message format builder
CN101110787A (en) * 2006-07-21 2008-01-23 中国移动通信集团公司 Method for historical session management and historical session forwarding system
US9497041B2 (en) * 2007-11-30 2016-11-15 International Business Machines Corporation Business object action justification for business object integration into messaging
US9614801B2 (en) * 2013-12-17 2017-04-04 Yahoo! Inc. System and method for facilitating email message reply
CN104378513A (en) * 2014-12-16 2015-02-25 北京奇虎科技有限公司 Message forwarding method, message communication client and mobile terminal
US10757049B2 (en) * 2017-07-24 2020-08-25 Microsoft Technology Licensing, Llc Actions in a messaging system
CN108551519B (en) * 2018-03-05 2021-03-19 腾讯科技(深圳)有限公司 Information processing method, device, storage medium and system
CN109547335B (en) * 2018-12-28 2021-06-25 天津字节跳动科技有限公司 Session message processing method and device
CN110380955B (en) * 2019-07-23 2022-01-28 北京字节跳动网络技术有限公司 Message processing method and device and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105049317A (en) * 2015-05-21 2015-11-11 腾讯科技(深圳)有限公司 Message forwarding method and apparatus
CN106330686A (en) * 2016-09-28 2017-01-11 北京小米移动软件有限公司 Message sending method and device
CN107231294A (en) * 2017-05-24 2017-10-03 北京潘达互娱科技有限公司 Message treatment method and device
CN108965104A (en) * 2018-05-29 2018-12-07 深圳市零度智控科技有限公司 Merging sending method, device and the readable storage medium storing program for executing of graphic message
CN109120794A (en) * 2018-09-07 2019-01-01 北京三快在线科技有限公司 A kind of message display method and device and electronic equipment
CN109976620A (en) * 2019-03-28 2019-07-05 北京字节跳动网络技术有限公司 List items show determination method, apparatus, equipment and the storage medium of attribute information

Also Published As

Publication number Publication date
CN110380955A (en) 2019-10-25
WO2021012952A1 (en) 2021-01-28

Similar Documents

Publication Publication Date Title
CN110380955B (en) Message processing method and device and electronic equipment
US11711441B2 (en) Method and apparatus for publishing video synchronously, electronic device, and readable storage medium
US20240233224A1 (en) Information interaction method, first terminal device, server and second terminal device
EP4404573A1 (en) Comment sharing method and apparatus, and electronic device
CN110209315B (en) Method and device for displaying characters in user interface, electronic equipment and storage medium
CN109547335B (en) Session message processing method and device
CN110619085B (en) Information processing method and device
CN112367241A (en) Message generation and message transmission method, device, equipment and computer readable medium
CN112395188B (en) Test-oriented software project development method and device, electronic equipment and storage medium
US11750876B2 (en) Method and apparatus for determining object adding mode, electronic device and medium
CN110619028A (en) Map display method, device, terminal equipment and medium for house source detail page
CN112492399B (en) Information display method and device and electronic equipment
CN110083283B (en) Method, device and system for managing information
CN110619089B (en) Information retrieval method and device
US20220215482A1 (en) User information processing method, apparatus, electronic device, and computer storage medium
CN114090817B (en) Dynamic construction method, device and storage medium for face feature database
CN115878115A (en) Page rendering method, device, medium and electronic equipment
CN111338822B (en) Message processing method and device
CN111367592B (en) Information processing method and device
CN111382038B (en) Method, device, electronic equipment and storage medium for reporting service data
CN113220293A (en) Page display method and device, electronic equipment and computer readable medium
CN111835917A (en) Method, device and equipment for showing activity range and computer readable medium
CN111294657A (en) Information processing method and device
CN111405342A (en) Rich text message display method, device, system, medium and electronic equipment
CN111294321B (en) Information processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee before: Tiktok vision (Beijing) Co.,Ltd.

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Patentee after: Tiktok vision (Beijing) Co.,Ltd.

Address before: Room B0035, 2nd floor, No. 3 Courtyard, 30 Shixing Street, Shijingshan District, Beijing, 100041

Patentee before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.