WO2021012952A1 - 消息处理方法、装置及电子设备 - Google Patents

消息处理方法、装置及电子设备 Download PDF

Info

Publication number
WO2021012952A1
WO2021012952A1 PCT/CN2020/100824 CN2020100824W WO2021012952A1 WO 2021012952 A1 WO2021012952 A1 WO 2021012952A1 CN 2020100824 W CN2020100824 W CN 2020100824W WO 2021012952 A1 WO2021012952 A1 WO 2021012952A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
target
processing
content
processing method
Prior art date
Application number
PCT/CN2020/100824
Other languages
English (en)
French (fr)
Inventor
罗振兴
Original Assignee
北京字节跳动网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字节跳动网络技术有限公司 filed Critical 北京字节跳动网络技术有限公司
Publication of WO2021012952A1 publication Critical patent/WO2021012952A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • 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

Definitions

  • the present disclosure relates to the field of instant messaging technology, and in particular to a message processing method, device and electronic equipment.
  • the instant messaging application can support forwarding messages to other conversation groups and display messages in other conversation groups.
  • the present disclosure aims to solve one of the technical problems in the related art at least to a certain extent.
  • the purpose of the present disclosure is to provide a message processing method, device, and electronic equipment, which can improve the flexibility of message processing during message forwarding, facilitate the viewing of other conversation group users, and improve the effect of message processing.
  • the message processing method proposed by the embodiment of the first aspect of the present disclosure includes: when a processing instruction of a first user for a first message is received in a first session, acquiring at least one message indicated by the processing instruction According to the first message and the at least one message, generate a target message, the target message is a message with a nested structure; send the target message to the second session indicated by the processing instruction.
  • the message processing method proposed in the embodiment of the first aspect of the present disclosure obtains at least one message indicated by the processing instruction when a processing instruction of a first user for a first message is received in a first conversation, and according to the first message and the at least one message , Generate the target message, the target message is a message with a nested structure, and send the target message to the second session indicated by the processing instruction, which can improve the flexibility of message processing when the message is forwarded, which is convenient for users in other conversation groups Check and improve the effect of message processing.
  • an embodiment of the second aspect of the present disclosure proposes a message processing apparatus, including: an acquisition module, configured to acquire the processing instruction instruction when a processing instruction of the first user for the first message is received in the first session A generating module is used to generate a target message based on the first message and the at least one message, and the target message is a message with a nested structure; a sending module is used to transfer the target message, Sent to the second session indicated by the processing instruction.
  • the acquiring module when a processing instruction of the first user for the first message is received in the first conversation, at least one message indicated by the processing instruction is acquired, the generating module is One message and at least one message are used to generate a target message.
  • the target message is a message with a nested structure.
  • the sending module sends the target message to the second session indicated by the processing instruction, which can improve message processing when the message is forwarded. Flexibility, easy to view by other conversation group users, and improve message processing effect.
  • the computer-readable storage medium provided by the embodiment of the third aspect of the present disclosure, when the instructions in the storage medium are executed by the processor of the mobile terminal, enables the mobile terminal to execute a message processing method.
  • the method includes: the message processing method proposed by the embodiment of the first aspect of the present disclosure.
  • the computer-readable storage medium acquires at least one message indicated by the processing instruction when a processing instruction of a first user for a first message is received in a first conversation, and according to the first message and at least A message generates a target message.
  • the target message is a message with a nested structure.
  • the target message is sent to the second session indicated by the processing instruction, which can improve the flexibility of message processing when the message is forwarded, and facilitate other conversation groups
  • the user's view improves the effect of message processing.
  • the computer program product proposed by the embodiment of the fourth aspect of the present disclosure executes a message processing method when the instructions in the computer program product are executed by the processor, and the message is a message in an instant messaging application ,
  • the method includes: when a processing instruction of a first user for a first message is received in a first conversation, acquiring at least one message indicated by the processing instruction; according to the first message and the at least one message, Generate a target message, where the target message is a message with a nested structure; and send the target message to the second conversation indicated by the processing instruction.
  • the computer program product proposed by the embodiment of the fourth aspect of the present disclosure acquires at least one message indicated by the processing instruction when the processing instruction of the first user for the first message is received in the first conversation, and according to the first message and the at least one message , Generate the target message, the target message is a message with a nested structure, and send the target message to the second session indicated by the processing instruction, which can improve the flexibility of message processing when the message is forwarded, which is convenient for users in other conversation groups Check and improve the effect of message processing.
  • the embodiment of the fifth aspect of the present disclosure also proposes an electronic device, which includes at least one processor; and, a memory communicatively connected with the at least one processor; wherein the memory stores the memory that can be used by the at least one processor; An instruction executed by the processor, the instruction being configured to execute the message processing method proposed in the embodiment of the first aspect of the present disclosure.
  • the electronic device proposed in the embodiment of the fifth aspect of the present disclosure acquires at least one message indicated by the processing instruction when receiving the processing instruction of the first user for the first message in the first conversation, and according to the first message and the at least one message, Generate the target message, the target message is a message with a nested structure, and the target message is sent to the second session indicated by the processing instruction, which can improve the flexibility of message processing when the message is forwarded, and facilitate the viewing by users of other conversation groups , Improve the effect of message processing.
  • FIG. 1 is a schematic flowchart of a message processing method proposed by an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of an application effect in an embodiment of the disclosure
  • FIG. 3 is a schematic diagram of another application effect in an embodiment of the disclosure.
  • FIG. 5 is a schematic diagram of another application effect in an embodiment of the disclosure.
  • FIG. 6 is a schematic diagram of another application effect in an embodiment of the disclosure.
  • FIG. 7 is a schematic structural diagram of a message processing device proposed in an embodiment of the disclosure.
  • FIG. 8 is a schematic structural diagram of a message processing device proposed by another embodiment of the disclosure.
  • FIG. 9 is a schematic structural diagram of an electronic device proposed in an embodiment of the present disclosure.
  • Fig. 1 is a schematic flowchart of a message processing method proposed in an embodiment of the present disclosure.
  • the message processing method is configured as the message processing device for example.
  • 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 set in a server, or may also be set in an electronic device, which is not limited in the embodiment of the present disclosure.
  • the embodiment of the present disclosure takes as an example that the message processing method is configured in an electronic device.
  • the execution subject of the embodiments of the present disclosure may be, for example, a server or a central processing unit (CPU) in an electronic device in hardware, and may be, for example, a server or a related component in an electronic device in software. There are no restrictions on background services.
  • the present disclosure is applied to instant messaging applications.
  • the instant messaging application is an instant messaging application.
  • the application can refer to a software program running on an electronic device, such as a personal computer (PC), cloud Device or mobile device, mobile device such as smart phone, or tablet computer.
  • PC personal computer
  • cloud Device or mobile device
  • mobile device such as smart phone, or tablet computer.
  • the messages in the embodiments of the present disclosure are messages in instant messaging applications.
  • the method includes:
  • the session in which the message needs to be forwarded can be called the first session, and the user with the message forwarding requirement can be called the first user.
  • the processing box option for the specific message can be popped up, and the specific message can be called the first message. If the first user then selects the [Forward] control in the processing box option, the items before the first message [Select] control is displayed in the message. If the first user selects some of the messages, it can trigger the generation of a processing instruction.
  • the processing instruction is used to forward the first message and some of the messages selected by the user to the second conversation.
  • the message is at least one message.
  • S102 Generate a target message according to the first message and at least one message, where the target message is a message with a nested structure.
  • the message with a nested structure may have the following characteristics when displayed, only displaying the first message and the information associated with part of the message in at least one message, such as the message sender, avatar, and sending time. Etc., while hiding the specific message content of the first message and at least one message can effectively simplify the forwarded message, while retaining the associated information, facilitating subsequent traceability of the target information.
  • the message at the target time point is associated Use the information as the message title of the target message, and use the content of the message except the message at the target time point in at least one message as the message content of the target message; generate the target message based on the information and the message content.
  • the message title of the target message can be displayed in the second session, and the message content of the target message can be hidden at the same time, or the message title of the target message can also be displayed in the second session and the message of the target message can be hidden At the same time as the content, the message at the latest time point before forwarding is displayed, and the message processing method is more flexible.
  • the target time point may be the earliest time point among multiple messages, and the information is, for example, the sender, avatar, and sending time of the message, which is not limited.
  • the content of the message is the semantic content actually contained in the message.
  • the target message when the target message is merged and generated, it is also possible to determine whether at least one message contains a second message, and the second message is a message with a nested structure; the target message is generated according to the first message and the at least one message, And when the second message is contained in at least one message, the target message and the second message have different nesting levels.
  • the messages that need to be merged and forwarded can be nested at multiple levels to improve the presentation of the forwarded message. effect.
  • the target message if it contains multiple nesting levels, it can have the following characteristics when displayed, only displaying the message title of each nested structure message contained therein, and for each nested structure The message content of the message is hidden, and the hidden message content is redisplayed when the corresponding instruction is subsequently received.
  • Figure 2 is a schematic diagram of an application effect in an embodiment of the 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 level
  • the target message 24 has two nesting levels, including: the first nesting level 241 and the second nesting level 242. When the target message 24 is displayed, only the first nesting level 241 and the second nesting level are displayed. Set the message title of the target message of level 242.
  • the first session is for example test group 1
  • the second session is for example test group 2, in which there are two users A and B and three users A, B, and C.
  • the specific forwarding process Examples are as follows:
  • test group 1 A first enters a message "1", and B responds with a message "2".
  • B merges the messages "1" and "2" into 1 message (this message can be called the target message), and forwards the target message to test group 2, the target message appears as "1/2", and
  • the target message is a message with a nested structure.
  • A can combine the target messages "1/2" and "3" into one message and forward it to test group 1.
  • the target message appears as "1/2/3", among which, because the target message is "1/2" If it is a message with a nested structure, if it needs to be merged and forwarded again, when another target message is generated, the target message "1/2" can be called the second message, and the generated another target message is embedded
  • the nest level and the nesting level of the second message are different.
  • B merges the target messages "1/2/3" and "4" into one message and forwards it to test group 2.
  • the target message appears as "1/2/3/4".
  • A can combine the target messages "1/2/3/4" and "5" into one message and forward it to test group 1.
  • the target message appears as "1/2/3/4/5".
  • the message title of the target message can be displayed in the second conversation, and at the same time, the message content of the target message can be hidden.
  • the target message contains multiple nested-level messages
  • the title of each nested-level message is displayed separately, and the message content of each nested-level message is hidden.
  • the target message in order to facilitate follow-up users to accurately trace the source, refer to the context in time, and learn the complete message content.
  • the target message is displayed. Message content.
  • FIG. 3 is a schematic diagram of another application effect in an embodiment of the disclosure.
  • FIG. 4 is a schematic diagram of another application effect in an embodiment of the disclosure.
  • FIG. 3 the diagram is shown.
  • Figure 4 the schematic diagram of the display effect of the target message "1/2/3/4" in Figure 2 is shown.
  • the messages of the nested structure can also be displayed in one view in chronological order, and the target view can be generated according to the message content of the target message during execution. Display the target view in the second session.
  • FIG. 5 is a schematic diagram of another application effect in an embodiment of the present disclosure.
  • FIG. 5 includes a target view 31, which shows the detailed message content of the message of the nested structure.
  • Figure 6 is a schematic diagram of another application effect in the embodiment of the present disclosure.
  • Figure 6 includes a message map 61, which shows the nesting level in the message of the nested structure and the time corresponding to each message. point.
  • the target message content selected by the positioning instruction may be referred to as the target message content specified by the positioning instruction.
  • the target message content is specifically the content of the target message that is merged and forwarded, and the message corresponding to the target message content is the original message before the target message is merged and forwarded.
  • the target message is generated according to the first message and the at least one message.
  • the message is a message with a nested structure, and the target message is sent to the second session indicated by the processing instruction. Since the generated target message is a message with a nested structure, the flexibility of message processing can be improved when the message is forwarded It is convenient for users of other conversation groups to view and improve the effect of message processing.
  • FIG. 7 is a schematic structural diagram of a message processing device proposed in an embodiment of the disclosure.
  • the message is a message in an instant messaging application.
  • the device 700 includes:
  • the obtaining module 701 is configured to obtain at least one message indicated by the processing instruction when the processing instruction of the first user for the first message is received in the first conversation;
  • the first generating module 702 is configured to generate a target message according to the first message and at least one message, where the target message is a message with a nested structure;
  • the sending module 703 is configured to send the target message to the second session indicated by the processing instruction.
  • FIG. 8 further including:
  • the determining module 704 is configured to determine whether at least one message contains a second message, and the second message is a message with a nested structure;
  • the first generation module 702 is specifically used for:
  • the target message is generated, and when the second message is included in the at least one message, the target message and the second message have different nesting levels.
  • the first generation module 702 is specifically configured to:
  • it further includes:
  • the display module 705 is configured to display the message title of the target message in the second conversation, and at the same time, hide the message content of the target message.
  • the display module 705 is also used to:
  • it further includes:
  • the second generating module 706 is configured to generate a target view according to the message content of the target message
  • the display module 705 is also used to display the target view in the second session.
  • it further includes:
  • the third generation module 707 is configured to generate a message map according to the message content in the target view and the time point and nesting level corresponding to each message content;
  • the display module 705 is also used to display the message map in the second conversation.
  • it further includes:
  • the receiving module 708 is configured to determine the target message content specified by the positioning instruction when the positioning instruction of the second user on the message is received in the message map;
  • the locating module 709 is used to locate the message corresponding to the target message content from the second conversation.
  • a processing instruction of a first user for a first message is received in a first conversation
  • 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 with a nested structure
  • the target message is sent to the second session indicated by the processing instruction. Since the generated target message is a message with a nested structure, the message processing can be improved when the message is forwarded. Flexibility, easy to view by other conversation group users, and improve message processing effect.
  • FIG. 9 is a schematic structural diagram of an electronic device proposed by an embodiment of the present disclosure. It shows a schematic structural diagram of an electronic device 900 suitable for implementing the embodiments of the present disclosure.
  • the terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (e.g. Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc.
  • the electronic device shown in FIG. 9 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
  • the electronic device 900 may include a processing device (such as a central processing unit, a graphics processor, etc.) 901, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 902 or from a storage device 808
  • the program in the memory (RAM) 903 executes various appropriate actions and processing.
  • the RAM 903 also stores various programs and data required for the operation of the electronic device 900.
  • the processing device 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 the bus 904.
  • the following devices can be connected to the I/O interface 905: including input devices 906 such as touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, liquid crystal display (LCD), speakers, vibration An output device 907 such as a device; a storage device 908 such as a magnetic tape, a hard disk, etc.; and a communication device 909.
  • the communication device 909 may allow the electronic device 900 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 9 shows an electronic device 900 having various devices, it should be understood that it is not required to implement or have all the illustrated devices. It may alternatively be implemented or provided with more or fewer devices.
  • the process described above with reference to the flowchart can be implemented as a computer software program.
  • the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the message processing method shown in the flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 909, or installed from the storage device 908, or installed from the ROM 902.
  • the processing device 901 the above-mentioned functions defined in the message processing method of the embodiment of the present disclosure are executed.
  • the aforementioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
  • the computer-readable signal medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs.
  • the electronic device When the above-mentioned one or more programs are executed by the electronic device, the electronic device: when a processing instruction of the first user for the first message is received in the first session Obtain at least one message indicated by the processing instruction; generate a target message based on the first message and at least one message, the target message being a message with a nested structure; and send the target message to the second session indicated by the processing instruction.
  • the computer program code used to perform the operations of the present disclosure may be written in one or more programming languages or a combination thereof.
  • the above-mentioned programming languages include object-oriented programming languages—such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
  • the remote computer can be connected to the user’s computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to pass Internet connection).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagram can represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logical function Executable instructions.
  • the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown in succession can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
  • the modules involved in the embodiments described in the present disclosure can be implemented in software or hardware. Among them, the name of the module does not constitute a limitation on the module itself under certain circumstances.
  • the first generation module can also be described as "used to generate a target message based on the first message and at least one message, the target message being Nested message module".
  • each part of the present disclosure can be implemented by hardware, software, firmware or a combination thereof.
  • multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a logic gate circuit for implementing logic functions on data signals
  • PGA programmable gate array
  • FPGA field programmable gate array
  • the functional units in the various embodiments of the present disclosure may be integrated into one processing module, or each unit may exist alone physically, or two or more units may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software functional modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer readable storage medium.
  • the aforementioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.

Landscapes

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

Abstract

本公开提出一种消息处理方法、装置及电子设备,消息为即时通讯应用中的消息,该方法包括在第一会话中接收到第一用户对第一消息的处理指令时,获取处理指令指示的至少一条消息;根据第一消息和至少一条消息,生成目标消息,目标消息为嵌套式结构的消息;将目标消息,发送至处理指令指示的第二会话中。通过本公开能够在消息转发时,提升对消息处理的灵活性,便于其它会话组用户的查看,提升消息处理效果。

Description

消息处理方法、装置及电子设备
相关申请的交叉引用
本公开基于申请号为201910668268.5,申请日为2019年07月23日的中国专利申请提出,并要求上述中国专利申请的优先权,上述中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及即时通信技术领域,尤其涉及一种消息处理方法、装置及电子设备。
背景技术
即时通讯应用的会话中,会产生大量的消息,即时通讯应用能够支持将消息转发至其它会话组,在其它会话组显示消息。
相关技术中,若消息的条数为多条时,一般是采用合并转发的形式进行转发,即仅仅是将需要转发的消息的全部内容简单拼接,而后进行转发。
这种方式下,在转发时对消息的处理不够灵活,不便于其它会话组用户的查看,消息处理效果不佳。
发明内容
本公开旨在至少在一定程度上解决相关技术中的技术问题之一。
为此,本公开的目的在于提出一种消息处理方法、装置及电子设备,能够在消息转发时,提升对消息处理的灵活性,便于其它会话组用户的查看,提升消息处理效果。
为达到上述目的,本公开第一方面实施例提出的消息处理方法,包括:当在第一会话中接收到第一用户对第一消息的处理指令时,获取所述处理指令指示的至少一条消息;根据所述第一消息和所述至少一条消息,生成目标消息,所述目标消息为嵌套式结构的消息;将所述目标消息,发送至所述处理指令指示的第二会话中。
本公开第一方面实施例提出的消息处理方法,通过在第一会话中接收到第一用户对第一消息的处理指令时,获取处理指令指示的至少一条消息,根据第一消息和至少一条消息,生成目标消息,目标消息为嵌套式结构的消息,将目标消息,发送至处理指令指示的第二会话中,能够在消息转发时,提升对消息处理的灵活性,便于其它会话组用户的查看,提升消息处理效果。
为达到上述目的,本公开第二方面实施例提出消息处理的装置,包括:获取模块,用 于在第一会话中接收到第一用户对第一消息的处理指令时,获取所述处理指令指示的至少一条消息;生成模块,用于根据所述第一消息和所述至少一条消息,生成目标消息,所述目标消息为嵌套式结构的消息;发送模块,用于将所述目标消息,发送至所述处理指令指示的第二会话中。
本公开第二方面实施例提出的消息处理装置,通过获取模块,在第一会话中接收到第一用户对第一消息的处理指令时,获取处理指令指示的至少一条消息,生成模块,根据第一消息和至少一条消息,生成目标消息,目标消息为嵌套式结构的消息,发送模块,将目标消息,发送至处理指令指示的第二会话中,能够在消息转发时,提升对消息处理的灵活性,便于其它会话组用户的查看,提升消息处理效果。
为达到上述目的,本公开第三方面实施例提出的计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器被执行时,使得移动终端能够执行一种消息处理方法,所述方法包括:本公开第一方面实施例提出的消息处理方法。
本公开第三方面实施例提出的计算机可读存储介质,通过在第一会话中接收到第一用户对第一消息的处理指令时,获取处理指令指示的至少一条消息,根据第一消息和至少一条消息,生成目标消息,目标消息为嵌套式结构的消息,将目标消息,发送至处理指令指示的第二会话中,能够在消息转发时,提升对消息处理的灵活性,便于其它会话组用户的查看,提升消息处理效果。
为达到上述目的,本公开第四方面实施例提出的计算机程序产品,当所述计算机程序产品中的指令由处理器执行时,执行一种消息处理方法,所述消息为即时通讯应用中的消息,所述方法包括:当在第一会话中接收到第一用户对第一消息的处理指令时,获取所述处理指令指示的至少一条消息;根据所述第一消息和所述至少一条消息,生成目标消息,所述目标消息为嵌套式结构的消息;将所述目标消息,发送至所述处理指令指示的第二会话中。
本公开第四方面实施例提出的计算机程序产品,通过在第一会话中接收到第一用户对第一消息的处理指令时,获取处理指令指示的至少一条消息,根据第一消息和至少一条消息,生成目标消息,目标消息为嵌套式结构的消息,将目标消息,发送至处理指令指示的第二会话中,能够在消息转发时,提升对消息处理的灵活性,便于其它会话组用户的查看,提升消息处理效果。
本公开第五方面实施例还提出一种电子设备,该电子设备包括至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被设置为用于执行本公开第一方面实施例提出的消息处理方法。
本公开第五方面实施例提出的电子设备,通过在第一会话中接收到第一用户对第一消 息的处理指令时,获取处理指令指示的至少一条消息,根据第一消息和至少一条消息,生成目标消息,目标消息为嵌套式结构的消息,将目标消息,发送至处理指令指示的第二会话中,能够在消息转发时,提升对消息处理的灵活性,便于其它会话组用户的查看,提升消息处理效果。
本公开附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本公开的实践了解到。
附图说明
本公开上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:
图1是本公开一实施例提出的消息处理方法的流程示意图;
图2为本公开实施例中一种应用效果示意图;
图3为本公开实施例中另一种应用效果示意图;
图4为本公开实施例中另一种应用效果示意图;
图5为本公开实施例中另一种应用效果示意图;
图6为本公开实施例中另一种应用效果示意图;
图7为本公开一实施例提出的消息处理装置的结构示意图;
图8为本公开另一实施例提出的消息处理装置的结构示意图;
图9是本公开一个实施例提出的电子设备的结构示意图。
具体实施方式
下面详细描述本公开的实施例,实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本公开,而不能理解为对本公开的限制。相反,本公开的实施例包括落入所附加权利要求书的精神和内涵范围内的所有变化、修改和等同物。
图1是本公开一实施例提出的消息处理方法的流程示意图。
本公开实施例以消息处理方法被配置为消息处理装置中来举例说明。
本公开实施例中消息处理方法可以被配置在消息处理装置中,消息处理装置可以设置在服务器中,或者也可以设置在电子设备中,本公开实施例对此不作限制。
本公开实施例以消息处理方法被配置在电子设备中为例。
需要说明的是,本公开实施例的执行主体,在硬件上可以例如为服务器或者电子设备中的中央处理器(Central Processing Unit,CPU),在软件上可以例如为服务器或者电 子设备中的相关的后台服务,对此不作限制。
本公开应用于即时通讯应用中,即时通讯应用即为,即时通讯类的应用程序,应用程序可以是指运行在电子设备上的软件程序,电子设备例如为个人电脑(Personal Computer,PC),云端设备或者移动设备,移动设备例如智能手机,或者平板电脑等。
本公开实施例中的消息为即时通讯应用中的消息。
参见图1,该方法包括:
S101:当在第一会话中接收到第一用户对第一消息的处理指令时,获取处理指令指示的至少一条消息。
其中,消息需要被转发的会话可以被称为第一会话,具有消息转发需求的用户可以被称为第一用户,在第一用户在第一会话中,选中特定消息,并右键点击鼠标光标时,可以弹出针对该特定消息的处理框选项,该特定消息可以被称为第一消息,若第一用户进而选中处理框选项中的【转发】控件时,则可以在第一消息之前的各条消息中显示【选取】控件,若第一用户选取其中的部分消息时,可以触发生成处理指令,该处理指令用于将第一消息和用户选中的部分消息转发至第二会话中,其中的部分消息为至少一条消息。
S102:根据第一消息和至少一条消息,生成目标消息,目标消息为嵌套式结构的消息。
本公开实施例中,嵌套式结构的消息在显示时可以具有以下特征,仅显示第一消息和至少一条消息中的部分消息所关联的信息,信息例如为消息的发送人、头像、发送时间等,而隐藏第一消息和至少一条消息的具体的消息内容,能够有效简化所转发的消息,同时保留了关联的信息,便于后续对目标信息进行溯源。
本公开实施例在具体执行的过程中,为了有效简化所转发的消息,同时保留了关联的信息,便于后续对目标信息进行精准地溯源,可以确定至少一条消息中,目标时间点的消息所关联的信息;将信息作为目标消息的消息标题,将至少一条消息中除目标时间点的消息之外消息的内容,作为目标消息的消息内容;根据信息和消息内容生成目标消息。
本公开实施例中,可以在第二会话中显示目标消息的消息标题,同时,隐藏目标消息的消息内容,或者,也可以在第二会话中显示目标消息的消息标题,且隐藏目标消息的消息内容的同时,显示转发之前最近时间点上的消息,消息处理方式较为灵活。
其中的目标时间点可以为多条消息中时间点最早的时间点,信息例如为消息的发送人、头像、发送时间等,对此不作限制。
其中的消息的内容为消息所实际包含的语义方面的内容。
本公开实施例中,还可以在合并生成目标消息时,判断至少一条消息中是否包含第二消息,第二消息为嵌套式结构的消息;根据第一消息和至少一条消息,生成目标消息,且在至少一条消息中包含第二消息时,目标消息和第二消息具有不同的嵌套层级,能够实现 转发消息时,对需要合并转发的消息实现多层级的嵌套,提升所转发消息的呈现效果。
本公开实施例中,若目标消息中包含有多层嵌套层级,则在显示时可以具有以下特征,仅显示其中所包含的各嵌套式结构消息的消息标题,而针对各嵌套式结构消息的消息内容,则进行隐藏,并支持后续接收到相应的指令时,重新显示所隐藏的消息内容。
参见图2,图2为本公开实施例中一种应用效果示意图,包括:第一会话21、第二会话22,目标消息23和目标消息24,其中,目标消息23的嵌套层级为一层,目标消息24嵌套层级为两层,包括:第一层嵌套层级241和第二层嵌套层级242,在显示目标消息24时,仅显示第一层嵌套层级241和第二层嵌套层级242的目标消息的消息标题。
针对上述图2的说明如下:第一会话例如为测试群组1,第二会话例如为测试群组2,里面分别是A、B两位用户和A、B、C三位用户,具体转发过程示例如下:
1、在测试群组1,A先输入1条消息“1”,B回复1条消息“2”。
2、B将消息“1”和“2”合并成1条消息(该消息可以被称为目标消息),并将目标消息转发至测试群组2,目标消息表现为“1/2”,且该目标消息为嵌套式结构的消息。
3、C回复目标消息“1/2”,输入消息“3”。
4、A可以将目标消息“1/2”和“3”合并成1条消息转发至测试群组1,目标消息表现为“1/2/3”,其中,由于目标消息“1/2”为嵌套式结构的消息,若再次需要将其合并转发,则在生成另一个目标消息时,可以将目标消息“1/2”称为第二消息,并使得生成的另一个目标消息的嵌套层级和第二消息的嵌套层级不相同。
5、B回复另一个目标消息“1/2/3”,输入了文字“4”。
6、B将目标消息“1/2/3”和“4”合并成1条消息转发至测试群组2,目标消息表现为“1/2/3/4”。
7、C回复目标消息“1/2/3/4”,输入了文字“5”。
8、A可以将目标消息“1/2/3/4”和“5”合并成1条消息转发至测试群组1,目标消息表现为“1/2/3/4/5”。
S103:将目标消息,发送至处理指令指示的第二会话中。
本公开实施例在具体执行的过程中,可以在第二会话中显示目标消息的消息标题,同时,隐藏目标消息的消息内容。
或者,在目标消息中包含有多个嵌套层级的消息时,则分别显示各嵌套层级消息的标题,同时,隐藏各嵌套层级消息的消息内容。
本公开实施例中,还为了便于后续用户能够精准度溯源,及时地参考上下文,获知完整的消息内容,当在第二会话中接收到第二用户对目标消息的展开指令时,显示目标消息的消息内容。
一并参见图2、图3和图4,图3为本公开实施例中另一种应用效果示意图,图4为本公开实施例中另一种应用效果示意图,在图3中,展示了图2中目标消息“1/2/3/4/5”的显示效果示意图,在图4中,展示了图2中目标消息“1/2/3/4”的显示效果示意图。
本公开实施例中,还为了便于用户快速了解消息的始末信息,还可以将嵌套式结构体的消息按照时间顺序在1个视图展示,在执行时可以根据目标消息的消息内容生成目标视图,在第二会话中显示目标视图。
参见图5、图5为本公开实施例中另一种应用效果示意图,在图5中包括目标视图31,其中展示了嵌套式结构体的消息的详细消息内容。
本公开实施例中,还为了实现将嵌套式结构的消息,按照转发的时间和顺序查看和定位,方便找到关键信息,还可以根据目标视图中的消息内容,结合各消息内容对应的时间点和嵌套层级,生成消息地图;在第二会话中显示消息地图。
参见图6、图6为本公开实施例中另一种应用效果示意图,在图6中包括消息地图61,其中展示了嵌套式结构体的消息中的嵌套层级,以及各消息对应的时间点。
本公开实施例中,还为了便于精准地溯源和定位原始的消息,还可以当在消息地图中接收到第二用户对消息的定位指令时,确定定位指令指定的目标消息内容;从第二会话中定位出目标消息内容所对应的消息。
其中,定位指令所选取的目标消息内容,可以被称为定位指令指定的目标消息内容。
目标消息内容具体为合并转发的目标消息的内容,目标消息内容对应的消息,为对该目标消息进行合并转发之前的原始消息。
本公开实施例中,通过在第一会话中接收到第一用户对第一消息的处理指令时,获取处理指令指示的至少一条消息,并根据第一消息和至少一条消息,生成目标消息,目标消息为嵌套式结构的消息,以及将目标消息,发送至处理指令指示的第二会话中,由于生成的目标消息为嵌套式结构的消息,能够在消息转发时,提升对消息处理的灵活性,便于其它会话组用户的查看,提升消息处理效果。
图7为本公开一实施例提出的消息处理装置的结构示意图。
消息为即时通信应用中的消息。
参见图7,该装置700包括:
获取模块701,用于在第一会话中接收到第一用户对第一消息的处理指令时,获取处理指令指示的至少一条消息;
第一生成模块702,用于根据第一消息和至少一条消息,生成目标消息,目标消息为嵌套式结构的消息;
发送模块703,用于将目标消息,发送至处理指令指示的第二会话中。
可选地,一些实施例中,参见图8,还包括:
判断模块704,用于判断至少一条消息中是否包含第二消息,第二消息为嵌套式结构的消息;
第一生成模块702,具体用于:
根据第一消息和至少一条消息,生成目标消息,且在至少一条消息中包含第二消息时,目标消息和第二消息具有不同的嵌套层级。
可选地,一些实施例中,第一生成模块702,具体用于:
确定至少一条消息中,目标时间点的消息所关联的信息;
将信息作为目标消息的消息标题,将至少一条消息中除目标时间点的消息之外消息的内容,作为目标消息的消息内容;
根据信息和消息内容生成目标消息。
可选地,一些实施例中,还包括:
显示模块705,用于在第二会话中显示目标消息的消息标题,同时,隐藏目标消息的消息内容。
可选地,一些实施例中,显示模块705还用于:
当在第二会话中接收到第二用户对目标消息的展开指令时,显示目标消息的消息内容。
可选地,一些实施例中,还包括:
第二生成模块706,用于根据目标消息的消息内容生成目标视图;
显示模块705,还用于在第二会话中显示目标视图。
可选地,一些实施例中,还包括:
第三生成模块707,用于根据目标视图中的消息内容,结合各消息内容对应的时间点和嵌套层级,生成消息地图;
显示模块705,还用于在第二会话中显示消息地图。
可选地,一些实施例中,还包括:
接收模块708,用于在消息地图中接收到第二用户对消息的定位指令时,确定定位指令指定的目标消息内容;
定位模块709,用于从第二会话中定位出目标消息内容所对应的消息。
需要说明的是,前述图1-图6实施例中对消息处理方法实施例的解释说明也适用于该实施例的消息处理装置700,其实现原理类似,此处不再赘述。
本公开实施例中,通过当在第一会话中接收到第一用户对第一消息的处理指令时,获取处理指令指示的至少一条消息,并根据第一消息和至少一条消息,生成目标消息,目标消息为嵌套式结构的消息,以及将目标消息,发送至处理指令指示的第二会话中,由于生 成的目标消息为嵌套式结构的消息,能够在消息转发时,提升对消息处理的灵活性,便于其它会话组用户的查看,提升消息处理效果。
下面参考图9,图9是本公开一个实施例提出的电子设备的结构示意图。其示出了适于用来实现本公开实施例的电子设备900的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。
图9示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图9所示,电子设备900可以包括处理装置(例如中央处理器、图形处理器等)901,其可以根据存储在只读存储器(ROM)902中的程序或者从存储装置808加载到随机访问存储器(RAM)903中的程序而执行各种适当的动作和处理。在RAM 903中,还存储有电子设备900操作所需的各种程序和数据。处理装置901、ROM 902以及RAM 903通过总线904彼此相连。输入/输出(I/O)接口905也连接至总线904。
通常,以下装置可以连接至I/O接口905:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置906;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置907;包括例如磁带、硬盘等的存储装置908;以及通信装置909。通信装置909可以允许电子设备900与其他设备进行无线或有线通信以交换数据。虽然图9示出了具有各种装置的电子设备900,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示消息处理方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置909从网络上被下载和安装,或者从存储装置908被安装,或者从ROM 902被安装。在该计算机程序被处理装置901执行时,执行本公开实施例消息处理方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器 件、磁存储器件、或者上述的任意合适的组合。
在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:在第一会话中接收到第一用户对第一消息的处理指令时,获取处理指令指示的至少一条消息;根据第一消息和至少一条消息,生成目标消息,目标消息为嵌套式结构的消息;将目标消息,发送至处理指令指示的第二会话中。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计 算机指令的组合来实现。
描述于本公开实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块的名称在某种情况下并不构成对该模块本身的限定,例如,第一生成模块还可以被描述为“用于根据第一消息和至少一条消息,生成目标消息,目标消息为嵌套式结构的消息的模块”。
需要说明的是,在本公开的描述中,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。此外,在本公开的描述中,除非另有说明,“多个”的含义是两个或两个以上。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本公开的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本公开的实施例所属技术领域的技术人员所理解。
应当理解,本公开的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。
此外,在本公开各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。
上述提到的存储介质可以是只读存储器,磁盘或光盘等。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本公开的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点 可以在任何的一个或多个实施例或示例中以合适的方式结合。
尽管上面已经示出和描述了本公开的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本公开的限制,本领域的普通技术人员在本公开的范围内可以对上述实施例进行变化、修改、替换和变型。

Claims (11)

  1. 一种消息处理方法,其特征在于,所述消息为即时通讯应用中的消息,包括以下步骤:
    当在第一会话中接收到第一用户对第一消息的处理指令时,获取所述处理指令指示的至少一条消息;
    根据所述第一消息和所述至少一条消息,生成目标消息,所述目标消息为嵌套式结构的消息;
    将所述目标消息,发送至所述处理指令指示的第二会话中。
  2. 如权利要求1所述的消息处理方法,其特征在于,所述根据所述第一消息和所述至少一条消息,生成目标消息之前,还包括:
    判断所述至少一条消息中是否包含第二消息,所述第二消息为嵌套式结构的消息;
    所述根据所述第一消息和所述至少一条消息,生成目标消息,包括:
    根据所述第一消息和所述至少一条消息,生成目标消息,且在所述至少一条消息中包含所述第二消息时,所述目标消息和所述第二消息具有不同的嵌套层级。
  3. 如权利要求2所述的消息处理方法,其特征在于,所述根据所述第一消息和所述至少一条消息,生成目标消息,包括:
    确定所述至少一条消息中,目标时间点的消息所关联的信息;
    将所述信息作为所述目标消息的消息标题,将所述至少一条消息中除所述目标时间点的消息之外消息的内容,作为所述目标消息的消息内容;
    根据所述信息和所述消息内容生成所述目标消息。
  4. 如权利要求3所述的消息处理方法,其特征在于,所述将所述目标消息,发送至所述处理指令指示的第二会话之后,还包括:
    在所述第二会话中显示所述目标消息的消息标题,同时,隐藏所述目标消息的消息内容。
  5. 如权利要求4所述的消息处理方法,其特征在于,还包括:
    当在所述第二会话中接收到第二用户对目标消息的展开指令时,显示所述目标消息的消息内容。
  6. 如权利要求5所述的消息处理方法,其特征在于,还包括:
    根据所述目标消息的消息内容生成目标视图;
    在所述第二会话中显示所述目标视图。
  7. 如权利要求5所述的消息处理方法,其特征在于,还包括:
    根据所述目标视图中的消息内容,结合各所述消息内容对应的时间点和嵌套层级,生成消息地图;
    在所述第二会话中显示所述消息地图。
  8. 如权利要求7所述的消息处理方法,其特征在于,还包括:
    当在所述消息地图中接收到所述第二用户对消息的定位指令时,确定所述定位指令指定的目标消息内容;
    从所述第二会话中定位出所述目标消息内容所对应的消息。
  9. 一种消息处理装置,其特征在于,所述消息为即时通信应用中的消息,所述装置包括:
    获取模块,用于在第一会话中接收到第一用户对第一消息的处理指令时,获取所述处理指令指示的至少一条消息;
    第一生成模块,用于根据所述第一消息和所述至少一条消息,生成目标消息,所述目标消息为嵌套式结构的消息;
    发送模块,用于将所述目标消息,发送至所述处理指令指示的第二会话中。
  10. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-8中任一项所述的消息处理方法。
  11. 一种电子设备,其特征在于,包括:
    至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;
    其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被设置为用于执行上述权利要求1-8任一项所述的消息处理方法。
PCT/CN2020/100824 2019-07-23 2020-07-08 消息处理方法、装置及电子设备 WO2021012952A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910668268.5A CN110380955B (zh) 2019-07-23 2019-07-23 消息处理方法、装置及电子设备
CN201910668268.5 2019-07-23

Publications (1)

Publication Number Publication Date
WO2021012952A1 true WO2021012952A1 (zh) 2021-01-28

Family

ID=68255299

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/100824 WO2021012952A1 (zh) 2019-07-23 2020-07-08 消息处理方法、装置及电子设备

Country Status (2)

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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113065009A (zh) * 2021-04-21 2021-07-02 上海哔哩哔哩科技有限公司 视图加载方法及装置
CN113746722A (zh) * 2021-08-25 2021-12-03 北京字跳网络技术有限公司 信息处理方法、装置、设备以及存储介质
CN115314456A (zh) * 2021-04-20 2022-11-08 北京字跳网络技术有限公司 交互方法、装置和电子设备
CN115987927A (zh) * 2022-12-07 2023-04-18 上海掌门科技有限公司 一种信息处理方法、设备及机器可读存储介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110380955B (zh) * 2019-07-23 2022-01-28 北京字节跳动网络技术有限公司 消息处理方法、装置及电子设备
CN113285866B (zh) * 2021-04-26 2022-05-24 维沃移动通信(杭州)有限公司 信息发送方法、装置和电子设备
CN113434309B (zh) * 2021-06-23 2024-06-21 东风汽车有限公司东风日产乘用车公司 一种消息播报方法、装置及存储介质

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110787A (zh) * 2006-07-21 2008-01-23 中国移动通信集团公司 历史会话管理的方法及历史会话转发系统
CN101447954A (zh) * 2007-11-30 2009-06-03 国际商业机器公司 消息传送数据集成方法和即时消息传送数据处理系统
US20090234922A1 (en) * 2004-12-01 2009-09-17 Aol Llc Automatically Enabling the Forwarding of Instant Messages
CN104378513A (zh) * 2014-12-16 2015-02-25 北京奇虎科技有限公司 消息转发方法及消息通信客户端和移动终端
CN106330686A (zh) * 2016-09-28 2017-01-11 北京小米移动软件有限公司 消息发送方法及装置
CN109120794A (zh) * 2018-09-07 2019-01-01 北京三快在线科技有限公司 一种消息显示方法及装置和电子设备
US20190028411A1 (en) * 2017-07-24 2019-01-24 Microsoft Technology Licensing, Llc Actions in a Messaging System
CN110380955A (zh) * 2019-07-23 2019-10-25 北京字节跳动网络技术有限公司 消息处理方法、装置及电子设备

Family Cites Families (9)

* 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
US8136121B2 (en) * 2005-03-16 2012-03-13 International Business Machines Corporation Graphical message format builder
US9614801B2 (en) * 2013-12-17 2017-04-04 Yahoo! Inc. System and method for facilitating email message reply
CN105049317A (zh) * 2015-05-21 2015-11-11 腾讯科技(深圳)有限公司 消息转发方法及装置
CN107231294A (zh) * 2017-05-24 2017-10-03 北京潘达互娱科技有限公司 消息处理方法及装置
CN108551519B (zh) * 2018-03-05 2021-03-19 腾讯科技(深圳)有限公司 一种信息处理方法、装置、存储介质及系统
CN108965104A (zh) * 2018-05-29 2018-12-07 深圳市零度智控科技有限公司 图文消息的合并发送方法、装置及可读存储介质
CN109547335B (zh) * 2018-12-28 2021-06-25 天津字节跳动科技有限公司 会话消息处理方法和装置
CN109976620B (zh) * 2019-03-28 2020-09-01 北京字节跳动网络技术有限公司 列表项展现属性信息的确定方法、装置、设备及存储介质

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090234922A1 (en) * 2004-12-01 2009-09-17 Aol Llc Automatically Enabling the Forwarding of Instant Messages
CN101110787A (zh) * 2006-07-21 2008-01-23 中国移动通信集团公司 历史会话管理的方法及历史会话转发系统
CN101447954A (zh) * 2007-11-30 2009-06-03 国际商业机器公司 消息传送数据集成方法和即时消息传送数据处理系统
CN104378513A (zh) * 2014-12-16 2015-02-25 北京奇虎科技有限公司 消息转发方法及消息通信客户端和移动终端
CN106330686A (zh) * 2016-09-28 2017-01-11 北京小米移动软件有限公司 消息发送方法及装置
US20190028411A1 (en) * 2017-07-24 2019-01-24 Microsoft Technology Licensing, Llc Actions in a Messaging System
CN109120794A (zh) * 2018-09-07 2019-01-01 北京三快在线科技有限公司 一种消息显示方法及装置和电子设备
CN110380955A (zh) * 2019-07-23 2019-10-25 北京字节跳动网络技术有限公司 消息处理方法、装置及电子设备

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115314456A (zh) * 2021-04-20 2022-11-08 北京字跳网络技术有限公司 交互方法、装置和电子设备
CN115314456B (zh) * 2021-04-20 2023-11-28 北京字跳网络技术有限公司 交互方法、装置和电子设备
CN113065009A (zh) * 2021-04-21 2021-07-02 上海哔哩哔哩科技有限公司 视图加载方法及装置
CN113065009B (zh) * 2021-04-21 2022-08-26 上海哔哩哔哩科技有限公司 视图加载方法及装置
CN113746722A (zh) * 2021-08-25 2021-12-03 北京字跳网络技术有限公司 信息处理方法、装置、设备以及存储介质
CN113746722B (zh) * 2021-08-25 2022-08-26 北京字跳网络技术有限公司 信息处理方法、装置、设备以及存储介质
CN115987927A (zh) * 2022-12-07 2023-04-18 上海掌门科技有限公司 一种信息处理方法、设备及机器可读存储介质

Also Published As

Publication number Publication date
CN110380955B (zh) 2022-01-28
CN110380955A (zh) 2019-10-25

Similar Documents

Publication Publication Date Title
WO2021012952A1 (zh) 消息处理方法、装置及电子设备
WO2020156379A1 (zh) 表情回应的显示方法、装置、终端设备和服务器
WO2020233444A1 (zh) 在线文档插入信息方法及装置
WO2020151599A1 (zh) 视频同步发布方法、装置、电子设备及可读存储介质
TWI453603B (zh) 平台無關之資訊處理系統,其通訊方法,及其電腦程式產品
WO2021218518A1 (zh) 视频的处理方法、装置、设备及介质
WO2020207085A1 (zh) 信息分享方法、装置、电子设备及存储介质
US11789689B2 (en) Processing digital audio using audio processing plug-ins executing in a distributed computing environment
US20220385612A1 (en) Mail processing method and apparatus, electronic device and storage medium
CN110098998B (zh) 用于处理信息的方法和设备
WO2020143555A1 (zh) 用于展现信息的方法和装置
WO2020156055A1 (zh) 显示界面切换方法、电子设备及计算机可读存储介质
CN109547335B (zh) 会话消息处理方法和装置
WO2021098643A1 (zh) 直播间道具配置方法、装置、可读介质及电子设备
WO2023134559A1 (zh) 评论提示方法、装置、电子设备、存储介质和程序产品
CN110619100A (zh) 用于获取数据的方法和装置
US12008217B2 (en) Method and apparatus for displaying emoji reply, terminal device, and server
CN111273830A (zh) 显示数据方法、装置、电子设备和计算机可读介质
US10075798B2 (en) Method for providing audio and electronic device adapted to the same
CN110708238B (zh) 用于处理信息的方法和装置
WO2020233171A1 (zh) 歌单切换方法、装置、系统、终端和存储介质
WO2020224302A1 (zh) 用户信息处理方法、装置、电子设备及计算机存储介质
WO2023109434A1 (zh) 虚拟资源转移方法、装置、设备、可读存储介质及产品
CN109995543B (zh) 用于添加群成员的方法和设备
CN110619101B (zh) 用于处理信息的方法和装置

Legal Events

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

Ref document number: 20843849

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20843849

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 26/08/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20843849

Country of ref document: EP

Kind code of ref document: A1