WO2023109831A1 - Message processing method and apparatus and electronic device - Google Patents

Message processing method and apparatus and electronic device Download PDF

Info

Publication number
WO2023109831A1
WO2023109831A1 PCT/CN2022/138769 CN2022138769W WO2023109831A1 WO 2023109831 A1 WO2023109831 A1 WO 2023109831A1 CN 2022138769 W CN2022138769 W CN 2022138769W WO 2023109831 A1 WO2023109831 A1 WO 2023109831A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
input
target
information
target member
Prior art date
Application number
PCT/CN2022/138769
Other languages
French (fr)
Chinese (zh)
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 WO2023109831A1 publication Critical patent/WO2023109831A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/65Clustering; Classification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Definitions

  • the embodiments of the present application relate to the technical field of communications, and in particular, to a message processing method, device, and electronic equipment.
  • the purpose of the embodiments of the present application is to provide a message processing method, device and electronic equipment, which can solve the technical problem of low efficiency for users to obtain desired message content.
  • the embodiment of the present application provides a message processing method, the method includes: receiving a first input from a user on a conversation interface, and the first input is used to select a target message in the conversation interface and a first A target member; in response to the first input, output the first information, where the first information is content related to the first target member in the target message.
  • the embodiment of the present application provides a message processing device, which is characterized in that the device includes: a first receiving unit, configured to receive a first input from a user on a conversation interface, and the first input is used to select The target message and the first target member in the conversation interface; an output unit, configured to output the first information in response to the first input, and the first information is the target message and the first target member Content relevant to target members.
  • the embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor.
  • the program or instruction is executed by the processor, the above-mentioned first The steps of the methods described in the aspect.
  • an embodiment of the present application provides a readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method described in the first aspect above are implemented.
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above-mentioned first method described in the aspect.
  • the target message and the first target member in the conversation interface can be determined, and the first information related to the first target member in the goal message can be output, In this way, the content that the user needs to understand in the target message can be automatically filtered out. This process does not require the user to fully understand the target message, which improves the efficiency of the user's acquisition of the desired message content.
  • Fig. 1 is one of the flowcharts of the message processing method provided by the embodiment of the present application.
  • Fig. 2 is one of the schematic diagrams of the first information output process of the message processing method provided by the embodiment of the present application;
  • Fig. 3 is the second schematic diagram of the first information output process of the message processing method provided by the embodiment of the present application.
  • Fig. 4 is the third schematic diagram of the first information output process of the message processing method provided by the embodiment of the present application.
  • Fig. 5 is a schematic diagram of the first information sending process of the message processing method provided by the embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a message processing device provided in an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a hardware structure of an electronic device suitable for implementing an embodiment of the present application.
  • FIG. 1 shows one of the flowcharts of the message processing method provided by the embodiment of the present application.
  • the message processing method provided in the embodiment of the present application may be applied to an electronic device.
  • the aforementioned electronic devices may be electronic devices such as smart phones, tablet computers, and laptop computers.
  • the above-mentioned electronic device may have an instant messaging (Instant Message, IM) function.
  • IM Instant Message
  • Step 101 receiving a first input from a user on a conversation interface, where the first input is used to select a target message and a first target member in the conversation interface.
  • an instant messaging application may be installed in the execution body of the message processing method (such as the above-mentioned electronic device).
  • the above-mentioned instant communication application can provide a session interface, such as a group chat session interface, a private chat session interface, and the like.
  • a session interface such as a group chat session interface, a private chat session interface, and the like.
  • Several messages and member identifications can be displayed in the above conversation interface.
  • the above-mentioned member identification can be used to indicate the members participating in the session.
  • the member identification may include but not limited to at least one of the following: avatar, nickname.
  • the execution subject may receive the first input from the user on the conversation interface.
  • the first input can be used to select the target message and the first target member in the conversation interface.
  • the target message in the conversation interface can be selected first, and then the first target member participating in the conversation can be selected.
  • the first input may include a click input on the target message and the identification of the first target member in the conversation interface.
  • the first input may include click input and drag input on the target message or the identification of the first target member in the conversation interface.
  • the messages in the conversation interface may include but not limited to at least one of the following: text messages, voice messages, and video messages.
  • the target message may include but not limited to at least one of the following: text message, voice message, and video message.
  • receiving the user's first input on the conversation interface may include receiving the user's first input of dragging the target message to an area where the identification of the first target member is located. Users can click and drag a message in the conversation interface to target it. When the user drags the target message to the avatar of a certain member, the member can be used as the first target member.
  • FIG. 2 shows one of the schematic diagrams of the first information output process.
  • the group chat session interface can be switched to a group chat
  • the member interface is used to display group member identifications (such as avatars or nicknames, etc.).
  • group member identifications such as avatars or nicknames, etc.
  • receiving the user's first input on the conversation interface may include receiving the user's first input of dragging the identifier of the first target member to the area where the target message is located.
  • the user may click and drag an identifier (such as an avatar) of a certain member in the conversation interface, and at this time, the group member may be used as the first target member.
  • the user drags the member's logo to a certain message, the message can be used as the target message.
  • FIG. 3 shows the second schematic diagram of the first information output process.
  • reference numeral 301 in FIG. 3 when the user clicks on the avatar of "Li Gong” and drags it, "Li Gong” can be used as the first target member.
  • the group message sent by "Song Gong” can be used as the target message. In this way, the selection of the target message and the first target member can be realized.
  • Step 102 in response to the first input, output first information, where the first information is content related to the first target member in the target message.
  • the execution subject in response to the first input, may extract content related to the first target member from the target message, obtain the first information, and output the first information.
  • different methods may be used to extract the first information, and different methods may be used to output the first information.
  • the target message may include a text message.
  • the first information may be text content related to the first target member in the text information, and the text content may be displayed.
  • the display form of the text content is not specifically limited. For example, it can be displayed in the form of a floating window; a new interface can also be switched, and displayed in the middle of the new interface, as shown in the label 302 in Figure 3; a new interface can also be switched, and the interface is divided into multiple regions ( Such as the information area and the member area), displayed in one of the areas (such as the information area), such as the "information area" shown in the number 203 in FIG. 2 .
  • the text content when extracting the text content related to the first target member from the text message, the text content may first be divided into paragraphs. Then, the nickname of the first target member may be used as a keyword, and the target paragraph containing the keyword may be determined through character string matching. Afterwards, the content in the target paragraph can be used as the text content related to the first target member.
  • the target symbol such as "@" symbol
  • the target symbol when performing keyword search on each paragraph, the target symbol (such as "@" symbol) in the paragraph can be identified first. If there is a target symbol, the text adjacent to the target symbol can be preferentially matched with the keyword, and if the match is successful, other content in the paragraph can be used as text content related to the first target member.
  • “Mr. Zhang” is the first target member, and the text content related to it may include “1. Go to XX for dinner today", “3. Mr. Zhang remember to order food after going.” ",” “Pay the bill after dinner” and “You can take my car when you go home.”
  • the user can quickly obtain the targeted text content from the text message without reading all the message content, which improves the user's acquisition requirements. message efficiency.
  • the target message may include a voice message.
  • the execution subject can play the voice segment related to the first target member in the voice message, and at the same time, can also display the text content corresponding to the voice segment.
  • the playback of the audio segment can be performed automatically or triggered by the user, which is not specifically limited in this embodiment of the present application.
  • the display manner of the text content corresponding to the voice segment may refer to the above-mentioned implementation manner, which will not be repeated here.
  • the voice message when extracting the voice segment related to the first target member from the voice message, the voice message may be converted into text by voice recognition technology (Automatic Speech Recognition, ASR). Then, the text content related to the first target member may be extracted in the above implementation manner. Afterwards, the voice segment corresponding to the text content can be intercepted from the voice message. Thus, a voice segment related to the first target member can be obtained.
  • voice recognition technology Automatic Speech Recognition, ASR
  • FIG. 4 shows the third schematic diagram of the first information output process.
  • the user can drag the avatar of "Li Gong” to the area where the voice message sent by "Song Gong” is located; after that, an interface as shown by reference number 402 can be presented.
  • text content related to "Li Gong” can be displayed, such as "1. Go to XX for dinner today", “Remember to bring two umbrellas” and "You can take my car when you go home”.
  • the user can quickly obtain the targeted voice clip from the voice message without having to make all the voice calls
  • the broadcasting of the message improves the efficiency for the user to obtain the desired message.
  • the target message when playing a voice segment related to the first target member in the voice message, the above-mentioned voice segment can also be marked in the voice message , so that the user can understand the distribution of the voice segment in the voice message.
  • a playback progress bar of the voice message may be displayed.
  • the dark part of the progress bar may represent a voice segment related to "Li Gong".
  • a triangle symbol can also be displayed below the progress bar, and by receiving the user's sliding input or clicking input on the triangle symbol, the voice clip related to "Li Gong" can be played.
  • the method provided by the above-mentioned embodiments of the present application can determine the target message and the first target member in the conversation interface after receiving the user’s first input on the conversation interface, and output the first target member related to the first target member in the target message This process can automatically filter out the content that the user needs to understand in the target message. This process does not require the user to fully understand the target message, which improves the efficiency of the user's acquisition of the desired message content.
  • the execution subject may further receive a second input from the user, and the second input may be used to select a second target member who receives the first information.
  • the first information may be sent to the second target member.
  • the second input may be an input of dragging the logo of the first target member (such as an avatar) to the area where the first information is located, or an input of dragging the first information to the area where the logo of the second target member is located, etc. , not specifically limited here.
  • the first information is a message fragment related to "Mr. Zhang". If you need to send the first information to "Mr.
  • the targeted message fragments can be sent quickly, without manual content copying and pasting, and the information sending efficiency is improved.
  • the execution subject may also receive a third input from the user, where the third input is used to select a third target member.
  • the above-mentioned first information may be replaced with second information, and the above-mentioned second information is content related to the third target member in the target message.
  • the above-mentioned third input may include but not limited to click input, drag input, etc. of the third target member's identifier. Taking Figure 5 as an example, if the user clicks on the avatar of "Wang Gong", the relevant information of "Zhang Gong" displayed in the information area ("information area” as shown in Figure 5) can be switched to "Wang Gong" " related information.
  • the above receiving the user's first input to the conversation interface may further include the following step: receiving a user's fourth input to the target message.
  • receiving a user's fourth input to the target message In response to the above fourth input, based on the content of the target message, identifications of members related to the target message may be displayed. A fifth input of an identification corresponding to the first target member is received.
  • the identifier of the member related to the target message includes an identifier corresponding to the first target member.
  • the above fourth input may include but not limited to click input, frame selection input, long press input, etc. on the target message.
  • “Song Gong” sent a group message in the group chat session interface, and the content of the message is related to multiple group members, such as “Li Gong”, “Zhang Gong” and so on.
  • the identification of the group members related to the group message (such as the avatars or nicknames of members such as “Li Gong” and “Zhang Gong") will be displayed.
  • the user clicks on the avatar of "Zhang Gong” the first input can be completed.
  • the user can conveniently and quickly determine the associated members in the target message without browsing or playing all message content, which improves the efficiency of message processing.
  • the execution subject may also receive editing input from the user on the first information.
  • an editing interface for the first information may be displayed, and at this time, the user may supplement or modify the first information.
  • the user can be further provided with an editing method for the first information, which improves the convenience of information processing.
  • the method further includes: receiving a sixth input of the identification corresponding to the first information and the fourth target member;
  • “Song Gong” sent a group message in the group chat session interface, and the content of the message is related to multiple group members, such as "Li Gong", “Zhang Gong” and so on.
  • the identification of the group members related to the group message (such as the avatars or nicknames of members such as “Li Gong” and “Zhang Gong") will be displayed.
  • the user clicks on the avatar of "Li Gong” the content related to Li Gong will be displayed, that is, the first information. Since the message is not related to Mr. Zhao, at this time, the user can click on the first message and Mr. Zhao's avatar to establish the association between Mr.
  • Zhao and the first message and to add the content related to Mr. Li in the target message.
  • "@ ⁇ " in the target message can be replaced with "@ ⁇ ", so that it is more convenient to replace the member when the member associated with the message is not suitable.
  • receiving a sixth input of the identification corresponding to the first information and the fourth target member including a seventh input of the target information in the first information and the identification corresponding to the fourth target member; in response to the The sixth input is to set the first information as being related to the fourth target member, and replace the content related to the first target member in the target message with the content related to the fourth target member , to obtain the third information, including: in response to the seventh input, setting the target information as being related to the fourth target member, and replacing the content related to the first target member in the target message Fourth information is obtained for content related to the fourth target member.
  • the association between Mr. Zhao and the target information can be established, and the content related to Mr. Li in the target message can be replaced with the content related to Mr. Zhao.
  • Mr. Zhao For example, "2. Remember to bring two Replace Umbrella @ ⁇ ” with "2.
  • umbrellas@ ⁇ so that it is more convenient to change members and content when the member or content associated with the message is inappropriate.
  • the execution subject may be a message processing device, or a control module in the message processing device for executing the loading message processing method.
  • the message processing method provided in the embodiment of the present application is described by taking the message processing device executing the loading message processing method as an example.
  • the above-mentioned message processing device 600 in this embodiment includes: a first receiving unit 601, configured to receive a first input from a user on a conversation interface, and the above-mentioned first input is used to select a target message in the conversation interface and The first target member; an output unit 602, configured to output first information in response to the first input, where the first information is content related to the first target member in the target message.
  • the above-mentioned device further includes: a second receiving unit, configured to receive a second input from a user, where the second input is used to select a second target member who receives the above-mentioned first information; A sending unit, configured to send the first information to the second target member in response to the second input.
  • the target message includes a text message; the output unit 602 is further configured to display text content in the text message related to the first target member.
  • the output unit 602 is further configured to display text content in the text message related to the first target member.
  • the target message includes a voice message; the output unit 602 is further configured to play a voice segment related to the first target member in the voice message, and display the corresponding the text content of .
  • the voice message by playing the voice clip related to the first target member in the voice message and displaying the text content corresponding to the voice clip, the user can quickly obtain the targeted voice clip from the voice message without having to make all the voice calls The broadcasting of the message improves the efficiency for the user to obtain the desired message.
  • the output unit 602 is further configured to mark the voice segment in the voice message. Thus, it is convenient for the user to understand the distribution of voice segments in the voice message.
  • the device further includes: a third receiving unit, configured to receive a third input from the user, the third input being used to select a third target member; a replacement unit, configured to respond In the above-mentioned third input, the above-mentioned first information is replaced with the second information, and the above-mentioned second information is content related to the above-mentioned third target member in the above-mentioned target message. In this way, it is possible to rapidly switch and display relevant information of different members without switching interfaces, thereby improving the efficiency of information display.
  • the above-mentioned device further includes: a fourth receiving unit, configured to receive a fourth input from the user on the above-mentioned target message; a display unit, configured to respond to the above-mentioned fourth input, based on the above-mentioned The content of the target message, showing the ID of the member associated with the above target message.
  • the fifth receiving unit is configured to receive a fifth input of an identifier corresponding to the first target member, where the member identifiers related to the target message include the identifier corresponding to the first target member.
  • the message processing apparatus in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle electronic device, a wearable device, a super mobile personal computer
  • Non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC ), a television (television, TV), a teller machine or a self-service machine, etc., are not specifically limited in this embodiment of the present application.
  • the message processing device in this embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the message processing device provided in the embodiment of the present application can implement various processes implemented by the message processing device in the method embodiment in FIG. 1 , and details are not repeated here to avoid repetition.
  • the device provided by the above-mentioned embodiments of the present application can determine the target message and the first target member in the conversation interface after receiving the first input from the user on the conversation interface, and output the first target member related to the first target member in the target message.
  • This process can automatically filter out the content that the user needs to understand in the target message. This process does not require the user to fully understand the target message, which improves the efficiency of the user's acquisition of the desired message content.
  • the embodiment of the present application also provides an electronic device, including a processor 110, a memory 109, a program or an instruction stored in the memory 109 and operable on the processor 110, and the program or instruction is executed by the processor 110 During execution, each process of the above message processing method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710, etc. part.
  • the electronic device 700 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 710 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 7 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange different components, and details will not be repeated here. .
  • the user input unit 707 is configured to receive the user's first input to the conversation interface, and the first input is used to select the target message and the first target member in the conversation interface; the processor 710 is configured to respond to the the first input, and control the display unit 706 or the output unit 703 to output first information, where the first information is content related to the first target member in the target message.
  • the target message and the first target member in the conversation interface can be determined, and the first information related to the first target member in the goal message can be output, In this way, the content that the user needs to understand in the target message can be automatically filtered out. This process does not require the user to fully understand the target message, which improves the efficiency of the user's acquisition of the desired message content.
  • the user input unit 707 is also configured to receive a second input from the user, and the second input is used to select a second target member receiving the first information; the processor 710 is also configured to respond to the The second input is to send the first information to the second target member.
  • the targeted message fragments can be sent quickly, without manual content copying and pasting, and the information sending efficiency is improved.
  • the target message includes a text message; the processor 710 is further configured to control the display unit 706 to display text content related to the first target member in the text message.
  • the processor 710 is further configured to control the display unit 706 to display text content related to the first target member in the text message.
  • the user can quickly obtain the targeted text content from the text message without reading all the message content, which improves the user's acquisition requirements. message efficiency.
  • the target message includes a voice message; the processor 710 is further configured for the output unit 703 to play a voice segment related to the first target member in the voice message, and control the display unit 706 to display the voice segment corresponding to the text content of .
  • the processor 710 is further configured for the output unit 703 to play a voice segment related to the first target member in the voice message, and control the display unit 706 to display the voice segment corresponding to the text content of .
  • the voice message by playing the voice clip related to the first target member in the voice message and displaying the text content corresponding to the voice clip, the user can quickly obtain the targeted voice clip from the voice message without having to make all the voice calls
  • the broadcasting of the message improves the efficiency for the user to obtain the desired message.
  • the processor 710 is further configured to control the display unit 706 to mark the voice segment in the voice message.
  • the processor 710 is further configured to control the display unit 706 to mark the voice segment in the voice message.
  • the user input unit 707 is further configured to receive a third input from the user, and the third input is used to select a third target member; the processor 710 is further configured to respond to the third input, the The first information is replaced with second information, and the second information is content related to the third target member in the target message.
  • the user input unit 707 is further configured to receive a third input from the user, and the third input is used to select a third target member; the processor 710 is further configured to respond to the third input, the The first information is replaced with second information, and the second information is content related to the third target member in the target message.
  • the user input unit 707 is further configured to receive a fourth user input on the target message; the processor 710 is further configured to control the display unit 706 based on the content of the target message in response to the fourth input. , displaying the ID of the member associated with the targeted message.
  • the user input unit 707 is further configured to receive a fifth input of an identifier corresponding to the first target member, where the member identifiers related to the target message include the identifier corresponding to the first target member.
  • the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, and the graphics processor 7041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 707 includes a touch panel 7071 and other input devices 7072 .
  • the touch panel 7071 is also called a touch screen.
  • the touch panel 7071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 7072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.
  • Memory 709 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • Processor 710 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 710 .
  • the embodiment of the present application also provides a readable storage medium.
  • the readable storage medium stores programs or instructions.
  • the program or instructions are executed by the processor, the various processes of the above message processing method embodiments can be realized, and the same To avoid repetition, the technical effects will not be repeated here.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above message processing method embodiment Each process can achieve the same technical effect, so in order to avoid repetition, it will not be repeated here.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
  • the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in various embodiments of the present application.
  • a terminal which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Abstract

The present application relates to the technical field of communications, and discloses a message processing method and apparatus and an electronic device. The message processing method comprises: receiving a first input of a user to a session interface, the first input being used for selecting a target message and a first target member in the session interface; and in response to the first input, outputting first information, the first information being a content related to the first target member in the target message.

Description

消息处理方法、装置和电子设备Message processing method, device and electronic device
本申请要求在2021年12月16日提交中国专利局、申请号为202111547976.7、名称为“消息处理方法、装置和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to a Chinese patent application with application number 202111547976.7 entitled "Message Processing Method, Apparatus, and Electronic Equipment" filed with the China Patent Office on December 16, 2021, the entire contents of which are incorporated herein by reference .
技术领域technical field
本申请实施例涉及通信技术领域,具体涉及消息处理方法、装置和电子设备。The embodiments of the present application relate to the technical field of communications, and in particular, to a message processing method, device, and electronic equipment.
背景技术Background technique
随着移动互联网技术的发展,即时通信功能越来越丰富。除可采用一对一方式进行即时通信外,还可以多个成员共同参与群聊。With the development of mobile Internet technology, instant messaging functions are becoming more and more abundant. In addition to one-on-one instant messaging, multiple members can also participate in group chats.
现有技术中,对于某条消息,用户需要浏览该消息中的全部内容,才能从中筛选出与某成员相关的内容。当该消息较长时,需要耗费较长时间进行消息的理解,由此导致用户对所需消息内容的获取效率较低。In the prior art, for a certain message, the user needs to browse all the content in the message in order to filter out the content related to a certain member. When the message is long, it takes a long time to understand the message, thus resulting in low efficiency for the user to obtain the required message content.
发明内容Contents of the invention
本申请实施例的目的是提供一种消息处理方法、装置和电子设备,能够解决用户对所需消息内容的获取效率较低的技术问题。The purpose of the embodiments of the present application is to provide a message processing method, device and electronic equipment, which can solve the technical problem of low efficiency for users to obtain desired message content.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above-mentioned technical problems, the application is implemented as follows:
第一方面,本申请实施例提供了一种消息处理方法,所述方法包括:接收用户对会话界面的第一输入,所述第一输入用于选取所述会话界面中的目标消息和第一目标成员;响应于所述第一输入,输出所述第一信息,所述第一信息为所述目标消息中与所述第一目标成员相关的内容。In the first aspect, the embodiment of the present application provides a message processing method, the method includes: receiving a first input from a user on a conversation interface, and the first input is used to select a target message in the conversation interface and a first A target member; in response to the first input, output the first information, where the first information is content related to the first target member in the target message.
第二方面,本申请实施例提供了一种消息处理装置,其特征在于,所述装置包括:第一接收单元,用于接收用户对会话界面的第一输入,所述第一输入用于选取所述会话界面中的目标消息和第一目标成员;输出单元,用于响应于所述第一输入,输出所述第一信息,所述第一信息 为所述目标消息中与所述第一目标成员相关的内容。In the second aspect, the embodiment of the present application provides a message processing device, which is characterized in that the device includes: a first receiving unit, configured to receive a first input from a user on a conversation interface, and the first input is used to select The target message and the first target member in the conversation interface; an output unit, configured to output the first information in response to the first input, and the first information is the target message and the first target member Content relevant to target members.
第三方面,本申请实施例提供了一种电子设备,包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,程序或指令被处理器执行时实现如上述第一方面所描述的方法的步骤。In the third aspect, the embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor. When the program or instruction is executed by the processor, the above-mentioned first The steps of the methods described in the aspect.
第四方面,本申请实施例提供了一种可读存储介质,可读存储介质上存储计算机程序,计算机程序被处理器执行时实现如上述第一方面所描述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method described in the first aspect above are implemented.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如上述第一方面所描述的方法。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above-mentioned first method described in the aspect.
在本申请实施例中,在接收用户对会话界面的第一输入后,可确定出会话界面中的目标消息和第一目标成员,并输出目标消息中与第一目标成员相关的第一信息,由此可自动筛选出目标消息中用户所需了解的内容,此过程无需用户进行目标消息的全部理解,提高了用户对所需消息内容的获取效率。In this embodiment of the application, after receiving the user's first input to the conversation interface, the target message and the first target member in the conversation interface can be determined, and the first information related to the first target member in the goal message can be output, In this way, the content that the user needs to understand in the target message can be automatically filtered out. This process does not require the user to fully understand the target message, which improves the efficiency of the user's acquisition of the desired message content.
附图说明Description of drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other characteristics, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
图1是本申请实施例提供的消息处理方法的流程图之一;Fig. 1 is one of the flowcharts of the message processing method provided by the embodiment of the present application;
图2是本申请实施例提供的消息处理方法的第一信息输出过程的示意图之一;Fig. 2 is one of the schematic diagrams of the first information output process of the message processing method provided by the embodiment of the present application;
图3是本申请实施例提供的消息处理方法的第一信息输出过程的示意图之二;Fig. 3 is the second schematic diagram of the first information output process of the message processing method provided by the embodiment of the present application;
图4是本申请实施例提供的消息处理方法的第一信息输出过程的示意图之三;Fig. 4 is the third schematic diagram of the first information output process of the message processing method provided by the embodiment of the present application;
图5是本申请实施例提供的消息处理方法的第一信息发送过程的示 意图;Fig. 5 is a schematic diagram of the first information sending process of the message processing method provided by the embodiment of the present application;
图6是本申请实施例提供的消息处理装置的结构示意图;FIG. 6 is a schematic structural diagram of a message processing device provided in an embodiment of the present application;
图7是适于用来实现本申请实施例的电子设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of an electronic device suitable for implementing an embodiment of the present application.
具体实施例specific embodiment
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It is to be understood that the data so used can be interchanged under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的消息处理方法、装置和电子设备进行详细地说明。The message processing method, device, and electronic device provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
请参考图1,其示出了本申请实施例提供的消息处理方法的流程图之一。本申请实施例提供的消息处理方法,可以应用于电子设备。实践中,上述电子设备可以是智能手机、平板电脑、膝上型便携计算机等电子设备。上述电子设备可具有即时通信(Instant Message,IM)功能。Please refer to FIG. 1 , which shows one of the flowcharts of the message processing method provided by the embodiment of the present application. The message processing method provided in the embodiment of the present application may be applied to an electronic device. In practice, the aforementioned electronic devices may be electronic devices such as smart phones, tablet computers, and laptop computers. The above-mentioned electronic device may have an instant messaging (Instant Message, IM) function.
本申请实施例提供的消息处理方法的流程,包括以下步骤:The flow of the message processing method provided in the embodiment of the present application includes the following steps:
步骤101,接收用户对会话界面的第一输入,第一输入用于选取会话界面中的目标消息和第一目标成员。 Step 101, receiving a first input from a user on a conversation interface, where the first input is used to select a target message and a first target member in the conversation interface.
在本实施例中,消息处理方法的执行主体(如上述电子设备)中可以安装有即时通信应用。上述即使通信应用可以提供会话界面,如群聊 会话界面、私聊会话界面等。上述会话界面中可以显示若干消息和成员标识。上述成员标识可用于指示参与会话的成员。成员标识可以包括但不限于以下至少一项:头像、昵称。In this embodiment, an instant messaging application may be installed in the execution body of the message processing method (such as the above-mentioned electronic device). The above-mentioned instant communication application can provide a session interface, such as a group chat session interface, a private chat session interface, and the like. Several messages and member identifications can be displayed in the above conversation interface. The above-mentioned member identification can be used to indicate the members participating in the session. The member identification may include but not limited to at least one of the following: avatar, nickname.
在本实施例中,上述执行主体可以接收用户对会话界面的第一输入。其中,第一输入可以用于选取会话界面中的目标消息和第一目标成员,具体可以先选中会话界面中的目标消息,再选取参与会话的第一目标成员。例如,第一输入中可以包括对会话界面中的目标消息和第一目标成员的标识的点击输入。再例如,第一输入中可以包括对会话界面中的目标消息或第一目标成员的标识的点击输入和拖动输入。In this embodiment, the execution subject may receive the first input from the user on the conversation interface. Wherein, the first input can be used to select the target message and the first target member in the conversation interface. Specifically, the target message in the conversation interface can be selected first, and then the first target member participating in the conversation can be selected. For example, the first input may include a click input on the target message and the identification of the first target member in the conversation interface. For another example, the first input may include click input and drag input on the target message or the identification of the first target member in the conversation interface.
需要说明的是,会话界面中的消息可以包括但不限于以下至少一项:文字消息、语音消息、视频消息。同理,目标消息可以包括但不限于以下至少一项:文字消息、语音消息、视频消息。It should be noted that the messages in the conversation interface may include but not limited to at least one of the following: text messages, voice messages, and video messages. Similarly, the target message may include but not limited to at least one of the following: text message, voice message, and video message.
在一些可选的实现方式中,接收用户对会话界面的第一输入,可以包括接收用户将目标消息拖动至第一目标成员的标识所在区域的第一输入。用户可以点击会话界面中的某一条消息并进行拖动,以将其作为目标消息。当用户将该目标消息拖动至某一成员的头像处时,可将该成员作为第一目标成员。In some optional implementation manners, receiving the user's first input on the conversation interface may include receiving the user's first input of dragging the target message to an area where the identification of the first target member is located. Users can click and drag a message in the conversation interface to target it. When the user drags the target message to the avatar of a certain member, the member can be used as the first target member.
以群聊场景为例,图2示出了第一信息输出过程的示意图之一。如图2中的标号201至标号202所示,用户在点击“宋工”发送的群消息并进行拖动时,该消息即可作为目标消息,同时,可将群聊会话界面切换为群聊成员界面,以显示群成员标识(如头像或者昵称等)。在拖动至“张工”的标识区域时,即可将“张工”作为第一目标成员。由此可实现目标消息和第一目标成员的选取。Taking a group chat scene as an example, FIG. 2 shows one of the schematic diagrams of the first information output process. As shown by the numbers 201 to 202 in Figure 2, when the user clicks on the group message sent by "Song Gong" and drags it, the message can be used as the target message, and at the same time, the group chat session interface can be switched to a group chat The member interface is used to display group member identifications (such as avatars or nicknames, etc.). When dragging to the identification area of "Zhang Gong", "Zhang Gong" can be used as the first target member. In this way, the selection of the target message and the first target member can be realized.
在一些可选的实现方式中,接收用户对会话界面的第一输入,可以包括接收用户将第一目标成员的标识拖动至上述目标消息所在区域的第一输入。用户可以点击会话界面中的某一成员的标识(如头像)并进行拖动,此时可将该群成员作为第一目标成员。当用户将该成员的标识拖 动至某一消息处时,即可将该消息作为目标消息。In some optional implementation manners, receiving the user's first input on the conversation interface may include receiving the user's first input of dragging the identifier of the first target member to the area where the target message is located. The user may click and drag an identifier (such as an avatar) of a certain member in the conversation interface, and at this time, the group member may be used as the first target member. When the user drags the member's logo to a certain message, the message can be used as the target message.
以群聊场景为例,图3示出了第一信息输出过程的示意图之二。如图3中的标号301所示,用户在点击“李工”的头像并进行拖动时,“李工”即可作为第一目标成员。当用户将“李工”的头像拖动至“宋工”所发送的群消息所在区域时,即可将“宋工”所发送的该条群消息作为目标消息。由此可实现目标消息和第一目标成员的选取。Taking the group chat scene as an example, FIG. 3 shows the second schematic diagram of the first information output process. As shown by reference numeral 301 in FIG. 3 , when the user clicks on the avatar of "Li Gong" and drags it, "Li Gong" can be used as the first target member. When the user drags the avatar of "Li Gong" to the area where the group message sent by "Song Gong" is located, the group message sent by "Song Gong" can be used as the target message. In this way, the selection of the target message and the first target member can be realized.
步骤102,响应于第一输入,输出第一信息,第一信息为目标消息中与第一目标成员相关的内容。 Step 102, in response to the first input, output first information, where the first information is content related to the first target member in the target message.
在本实施例中,响应于第一输入,上述执行主体可以从目标消息中提取与第一目标成员相关的内容,得到第一信息,并输出该第一信息。此处,针对不同类型的目标消息,可以采用不同方式进行第一信息的提取,以及,可以采用不同的方式进行第一信息的输出。In this embodiment, in response to the first input, the execution subject may extract content related to the first target member from the target message, obtain the first information, and output the first information. Here, for different types of target messages, different methods may be used to extract the first information, and different methods may be used to output the first information.
在本实施例的一些可选的实现方式中,目标消息可以包括文字消息。此时,第一信息可以是文字信息中与第一目标成员相关的文字内容,可对该文字内容进行显示。此处,文字内容的显示形式不作具体限定。例如,可以以悬浮窗的形式显示;也可以切换一新界面,在该新界面中部显示,如图3中的标号302所示;还可以切换一新界面,将该界面划分为多个区域(如信息区域和成员区域),在其中一个区域(如信息区域)中显示,如图2中标号203中所示的“信息区”。In some optional implementation manners of this embodiment, the target message may include a text message. At this time, the first information may be text content related to the first target member in the text information, and the text content may be displayed. Here, the display form of the text content is not specifically limited. For example, it can be displayed in the form of a floating window; a new interface can also be switched, and displayed in the middle of the new interface, as shown in the label 302 in Figure 3; a new interface can also be switched, and the interface is divided into multiple regions ( Such as the information area and the member area), displayed in one of the areas (such as the information area), such as the "information area" shown in the number 203 in FIG. 2 .
其中,在从文字消息中提取与第一目标成员相关的文字内容时,可以首先对文字内容进行段落划分。而后,可以将第一目标成员的昵称作为关键词,通过字符串匹配的方式,确定包含该关键词的目标段落。之后,可将目标段落中的内容作为与第一目标成员相关的文字内容。其中,在对每个段落进行关键词查找时,可以首先识别该段落中的目标符号(如“@”符号)。若存在目标符号,可优先将目标符号紧邻的文本与关键词进行匹配,若匹配成功,则可将该段落中的其他内容作为与第一目标成员相关的文字内容。Wherein, when extracting the text content related to the first target member from the text message, the text content may first be divided into paragraphs. Then, the nickname of the first target member may be used as a keyword, and the target paragraph containing the keyword may be determined through character string matching. Afterwards, the content in the target paragraph can be used as the text content related to the first target member. Wherein, when performing keyword search on each paragraph, the target symbol (such as "@" symbol) in the paragraph can be identified first. If there is a target symbol, the text adjacent to the target symbol can be preferentially matched with the keyword, and if the match is successful, other content in the paragraph can be used as text content related to the first target member.
作为示例,如图2中的标号203所示,“张工”为第一目标成员,与其相关的文字内容可包括“1、今天去XX吃饭”、“3、去了之后张工记得点餐”、“吃完饭把账结一下”以及“回家可以搭我的车”。As an example, as shown by the number 203 in Figure 2, "Mr. Zhang" is the first target member, and the text content related to it may include "1. Go to XX for dinner today", "3. Mr. Zhang remember to order food after going." "," "Pay the bill after dinner" and "You can take my car when you go home."
作为又一示例,如图3中的标号202所示,“李工”为第一目标成员,与其相关的文字内容可以包括“1、今天去XX吃饭”、“记得带两把伞”以及“回家可以搭我的车”。As yet another example, as shown by the label 202 in Figure 3, "Li Gong" is the first target member, and the relevant text content may include "1. Go to XX for dinner today", "Remember to bring two umbrellas" and " You can take my car home."
对于文字消息,通过显示该文字消息中与第一目标成员相关的文字内容,能够使用户快速从文字消息中获取到针对性的文字内容,无需进行全部消息内容的阅读,提高了用户获取所需消息的效率。For a text message, by displaying the text content related to the first target member in the text message, the user can quickly obtain the targeted text content from the text message without reading all the message content, which improves the user's acquisition requirements. message efficiency.
在本实施例的一些可选的实现方式中,目标消息可以包括语音消息。上述执行主体可以播放该语音消息中与第一目标成员相关的语音片段,同时,还可以显示语音片段对应的文字内容。此处,语音片段的播放可以自动进行,也可以由用户触发,本申请实施例对此不作具体限定。此外,语音片段对应的文字内容的显示方式可参见上述实现方式,此处不再赘述。In some optional implementation manners of this embodiment, the target message may include a voice message. The execution subject can play the voice segment related to the first target member in the voice message, and at the same time, can also display the text content corresponding to the voice segment. Here, the playback of the audio segment can be performed automatically or triggered by the user, which is not specifically limited in this embodiment of the present application. In addition, the display manner of the text content corresponding to the voice segment may refer to the above-mentioned implementation manner, which will not be repeated here.
其中,在从语音消息中提取与第一目标成员相关的语音片段时,可以首先通过语音识别技术(Automatic Speech Recognition,ASR)将语音消息转换为文本。而后,可以采用上述实现方式中的方式提取其中与第一目标成员相关的文字内容。之后,可以从语音消息中截取该文字内容对应的语音片段。由此,可得到与第一目标成员相关的语音片段。Wherein, when extracting the voice segment related to the first target member from the voice message, the voice message may be converted into text by voice recognition technology (Automatic Speech Recognition, ASR). Then, the text content related to the first target member may be extracted in the above implementation manner. Afterwards, the voice segment corresponding to the text content can be intercepted from the voice message. Thus, a voice segment related to the first target member can be obtained.
作为示例,图4示出了第一信息输出过程的示意图之三。如图4中的标号401所示,用户可将“李工”的头像拖动至“宋工”所发送的语音消息所在区域;之后,可呈现如标号402所示的界面。在此界面中,可呈现与“李工”相关的文字内容,如“1、今天去XX吃饭”、“记得带两把伞”以及“回家可以搭我的车”。As an example, FIG. 4 shows the third schematic diagram of the first information output process. As shown by reference number 401 in FIG. 4 , the user can drag the avatar of "Li Gong" to the area where the voice message sent by "Song Gong" is located; after that, an interface as shown by reference number 402 can be presented. In this interface, text content related to "Li Gong" can be displayed, such as "1. Go to XX for dinner today", "Remember to bring two umbrellas" and "You can take my car when you go home".
对于语音消息,通过播放该语音消息中与第一目标成员相关的语音片段,并显示该语音片段对应的文字内容,能够使用户快速从语音消息 中获取到针对性的语音片段,无需进行全部语音消息的播放,提高了用户获取所需消息的效率。For the voice message, by playing the voice clip related to the first target member in the voice message and displaying the text content corresponding to the voice clip, the user can quickly obtain the targeted voice clip from the voice message without having to make all the voice calls The broadcasting of the message improves the efficiency for the user to obtain the desired message.
在本实施例的一些可选的实现方式中,当目标消息为语音消息时,在播放该语音消息中与第一目标成员相关的语音片段时,还可在该语音消息中,标记上述语音片段,以便于用户了解语音片段在语音消息中的分布情况。作为示例,可继续参见图4,在如标号402所示的界面中,可以显示有语音消息的播放进度条。该进度条的暗处可以表示与“李工”相关的语音片段。进度条下方还可显示有三角符号,通过接收用户对该三角符号的滑动输入或者点击输入,可以进行与“李工”相关的语音片段的播放。In some optional implementations of this embodiment, when the target message is a voice message, when playing a voice segment related to the first target member in the voice message, the above-mentioned voice segment can also be marked in the voice message , so that the user can understand the distribution of the voice segment in the voice message. As an example, continue to refer to FIG. 4 , in the interface shown by reference numeral 402 , a playback progress bar of the voice message may be displayed. The dark part of the progress bar may represent a voice segment related to "Li Gong". A triangle symbol can also be displayed below the progress bar, and by receiving the user's sliding input or clicking input on the triangle symbol, the voice clip related to "Li Gong" can be played.
本申请的上述实施例提供的方法,在接收用户对会话界面的第一输入后,可确定出会话界面中的目标消息和第一目标成员,并输出目标消息中与第一目标成员相关的第一信息,由此可自动筛选出目标消息中用户所需了解的内容,此过程无需用户进行目标消息的全部理解,提高了用户对所需消息内容的获取效率。The method provided by the above-mentioned embodiments of the present application can determine the target message and the first target member in the conversation interface after receiving the user’s first input on the conversation interface, and output the first target member related to the first target member in the target message This process can automatically filter out the content that the user needs to understand in the target message. This process does not require the user to fully understand the target message, which improves the efficiency of the user's acquisition of the desired message content.
在一些可选的本实施例中,在输出第一信息之后,上述执行主体还可以接收用户的第二输入,上述第二输入可用于选取接收上述第一信息的第二目标成员。响应于第二输入,可将第一信息发送至第二目标成员。其中,第二输入可以是将第一目标成员的标识(如头像)拖动至第一信息所在区域的输入,也可以是将第一信息拖动至第二目标成员的标识所在区域的输入等,此处不作具体限定。作为示例,参见图5所示的第一信息发送过程的示意图。第一信息为与“张工”相关的消息片段,若需要向“张工”发送该第一信息,则可以直接将“张工”的头像拖动至第一信息所在区域。在拖动操作完成后,第一信息即可在后台自动发送给“张工”。通过在接收到第二输入后,将第一信息发送至第二目标成员,可实现对针对性的消息片段的快速发送,无需人工进行内容复制粘贴,提高了信息发送效率。In some optional embodiments, after outputting the first information, the execution subject may further receive a second input from the user, and the second input may be used to select a second target member who receives the first information. In response to the second input, the first information may be sent to the second target member. Wherein, the second input may be an input of dragging the logo of the first target member (such as an avatar) to the area where the first information is located, or an input of dragging the first information to the area where the logo of the second target member is located, etc. , not specifically limited here. As an example, refer to the schematic diagram of the first information sending process shown in FIG. 5 . The first information is a message fragment related to "Mr. Zhang". If you need to send the first information to "Mr. Zhang", you can directly drag the profile picture of "Mr. Zhang" to the area where the first information is located. After the drag operation is completed, the first message can be automatically sent to "Zhang Gong" in the background. By sending the first information to the second target member after receiving the second input, the targeted message fragments can be sent quickly, without manual content copying and pasting, and the information sending efficiency is improved.
在一些可选的实施例中,在输出第一信息后,上述执行主体还可以接收用户的第三输入,上述第三输入用于选取第三目标成员。响应于第三输入,可以将上述第一信息替换为第二信息,上述第二信息为目标消息中与第三目标成员相关的内容。上述第三输入可以包括但不限于对第三目标成员的标识的点击输入、拖动输入等。以图5为例,若用户点击了“王工”的头像,则可以将信息区域(如图5中所示的“信息区”)所展示的“张工”的相关信息切换为“王工”的相关信息。此外,若用户点击了消息发起方“宋工”的头像,则可以将信息区域(如图5中所示的“信息区”)所展示的“张工”的相关信息切换为原始的目标消息。由此,可在不切换界面的情况下快速进行不同成员的相关信息的切换展示,提高了信息展示效率。In some optional embodiments, after outputting the first information, the execution subject may also receive a third input from the user, where the third input is used to select a third target member. In response to the third input, the above-mentioned first information may be replaced with second information, and the above-mentioned second information is content related to the third target member in the target message. The above-mentioned third input may include but not limited to click input, drag input, etc. of the third target member's identifier. Taking Figure 5 as an example, if the user clicks on the avatar of "Wang Gong", the relevant information of "Zhang Gong" displayed in the information area ("information area" as shown in Figure 5) can be switched to "Wang Gong" " related information. In addition, if the user clicks on the avatar of the message originator "Song Gong", the information about "Zhang Gong" displayed in the information area ("information area" as shown in Figure 5) can be switched to the original target message . In this way, it is possible to rapidly switch and display relevant information of different members without switching interfaces, thereby improving the efficiency of information display.
在一些可选的实施例中,上述接收用户对会话界面的第一输入,还可以包括如下步骤:接收用户对目标消息的第四输入。响应于上述第四输入,可以基于目标消息的内容,显示与目标消息相关的成员的标识。接收对第一目标成员对应的标识的第五输入。其中,与所述目标消息相关的成员的标识包括所述第一目标成员对应的标识。上述第四输入可以包括但不限于对目标消息的点击输入、框选输入、长按输入等。作为示例,“宋工”在群聊会话界面中发送了一个群消息,该消息的内容关联到多个群成员,如“李工”、“张工”等。用户长按此条群消息后,即可显示与该群消息相关的群成员的标识(如“李工”以及“张工”等成员的头像或者昵称等)。用户点击“张工”头像后,即可完成第一输入。由此,用户不需要浏览或播放全部消息内容,即可方便快捷地确定目标消息中所关联的成员,提高了消息处理的效率。In some optional embodiments, the above receiving the user's first input to the conversation interface may further include the following step: receiving a user's fourth input to the target message. In response to the above fourth input, based on the content of the target message, identifications of members related to the target message may be displayed. A fifth input of an identification corresponding to the first target member is received. Wherein, the identifier of the member related to the target message includes an identifier corresponding to the first target member. The above fourth input may include but not limited to click input, frame selection input, long press input, etc. on the target message. As an example, "Song Gong" sent a group message in the group chat session interface, and the content of the message is related to multiple group members, such as "Li Gong", "Zhang Gong" and so on. After the user presses the group message for a long time, the identification of the group members related to the group message (such as the avatars or nicknames of members such as "Li Gong" and "Zhang Gong") will be displayed. After the user clicks on the avatar of "Zhang Gong", the first input can be completed. As a result, the user can conveniently and quickly determine the associated members in the target message without browsing or playing all message content, which improves the efficiency of message processing.
在一些可选的实施例中,在输出第一信息之后,上述执行主体还可以接收用户对第一信息的编辑输入。响应于编辑输入,可以显示第一信息的编辑界面,此时,用户可进行第一信息的补充或修改。由此,可在快速筛选第一信息的基础上,进一步为用户提供针对第一信息的编辑途 径,提高了信息处理的便捷性。In some optional embodiments, after outputting the first information, the execution subject may also receive editing input from the user on the first information. In response to the editing input, an editing interface for the first information may be displayed, and at this time, the user may supplement or modify the first information. Thus, on the basis of quickly screening the first information, the user can be further provided with an editing method for the first information, which improves the convenience of information processing.
可选地,输出所述第一信息之后,还包括:接收对所述第一信息和第四目标成员对应的标识的第六输入;Optionally, after outputting the first information, the method further includes: receiving a sixth input of the identification corresponding to the first information and the fourth target member;
响应于所述第六输入,将所述第一信息设置为与所述第四目标成员相关,并将所述目标消息中与所述第一目标成员相关的内容替换为与所述第四目标成员相关的内容,得到第三信息。In response to the sixth input, setting the first information as being related to the fourth target member, and replacing the content related to the first target member in the target message with the content related to the fourth target member Member-related content, get the third information.
作为示例,“宋工”在群聊会话界面中发送了一个群消息,该消息的内容关联到多个群成员,如“李工”、“张工”等。用户长按此条群消息后,即可显示与该群消息相关的群成员的标识(如“李工”以及“张工”等成员的头像或者昵称等)。用户点击“李工”头像后,显示与李工相关的内容,即第一信息。由于该消息与赵工不相关,此时,用户可以点击该第一信息以及赵工头像后,可以建立赵工与该第一信息的关联关系,并且可以将目标消息中与李工相关的内容替换为与赵工相关的内容,如可以将目标消息中的“@李工”替换为“@赵工”,从而在消息所关联的成员不合适的情况下,更换成员更加便捷。As an example, "Song Gong" sent a group message in the group chat session interface, and the content of the message is related to multiple group members, such as "Li Gong", "Zhang Gong" and so on. After the user presses the group message for a long time, the identification of the group members related to the group message (such as the avatars or nicknames of members such as "Li Gong" and "Zhang Gong") will be displayed. After the user clicks on the avatar of "Li Gong", the content related to Li Gong will be displayed, that is, the first information. Since the message is not related to Mr. Zhao, at this time, the user can click on the first message and Mr. Zhao's avatar to establish the association between Mr. Zhao and the first message, and to add the content related to Mr. Li in the target message. Replace with content related to Mr. Zhao. For example, "@李工" in the target message can be replaced with "@赵工", so that it is more convenient to replace the member when the member associated with the message is not suitable.
可选地,接收对所述第一信息和第四目标成员对应的标识的第六输入,包括对第一信息中的目标信息和第四目标成员对应的标识的第七输入;响应于所述第六输入,将所述第一信息设置为与所述第四目标成员相关,并将所述目标消息中与所述第一目标成员相关的内容替换为与所述第四目标成员相关的内容,得到第三信息,包括:响应于所述第七输入,将所述目标信息设置为与所述第四目标成员相关,并将所述目标消息中与所述第一目标成员相关的内容替换为与所述第四目标成员相关的内容,得到第四信息。Optionally, receiving a sixth input of the identification corresponding to the first information and the fourth target member, including a seventh input of the target information in the first information and the identification corresponding to the fourth target member; in response to the The sixth input is to set the first information as being related to the fourth target member, and replace the content related to the first target member in the target message with the content related to the fourth target member , to obtain the third information, including: in response to the seventh input, setting the target information as being related to the fourth target member, and replacing the content related to the first target member in the target message Fourth information is obtained for content related to the fourth target member.
作为示例,如图3中302所示显示与李工相关的内容第一信息之后用户可以点击该第一信息中的目标信息以及赵工头像,如点击“2、记得带两把伞”及赵工头像后,可以建立赵工与该目标信息的关联关系,并且可以将目标消息中与李工相关的内容替换为与赵工相关的内容,如可 以将目标消息中的“2、记得带两把伞@李工”替换为“2、记得带两把伞@张工”,从而在消息所关联的成员或内容不合适的情况下,更换成员和内容更加便捷。As an example, after displaying the first information related to Mr. Li as shown in 302 in FIG. After the worker's profile picture, the association between Mr. Zhao and the target information can be established, and the content related to Mr. Li in the target message can be replaced with the content related to Mr. Zhao. For example, "2. Remember to bring two Replace Umbrella @李工" with "2. Remember to bring two umbrellas@张工", so that it is more convenient to change members and content when the member or content associated with the message is inappropriate.
需要说明的是,本申请实施例提供的消息处理方法,执行主体可以为消息处理装置,或者该消息处理装置中的用于执行加载消息处理方法的控制模块。本申请实施例中以消息处理装置执行加载消息处理方法为例,说明本申请实施例提供的消息处理方法。It should be noted that, for the message processing method provided in the embodiment of the present application, the execution subject may be a message processing device, or a control module in the message processing device for executing the loading message processing method. In the embodiment of the present application, the message processing method provided in the embodiment of the present application is described by taking the message processing device executing the loading message processing method as an example.
如图6所示,本实施例上述的消息处理装置600包括:第一接收单元601,用于接收用户对会话界面的第一输入,上述第一输入用于选取上述会话界面中的目标消息和第一目标成员;输出单元602,用于响应于上述第一输入,输出第一信息,上述第一信息为上述目标消息中与上述第一目标成员相关的内容。As shown in FIG. 6, the above-mentioned message processing device 600 in this embodiment includes: a first receiving unit 601, configured to receive a first input from a user on a conversation interface, and the above-mentioned first input is used to select a target message in the conversation interface and The first target member; an output unit 602, configured to output first information in response to the first input, where the first information is content related to the first target member in the target message.
在本实施例的一些可选的实现方式中,上述装置还包括:第二接收单元,用于接收用户的第二输入,上述第二输入用于选取接收上述第一信息的第二目标成员;发送单元,用于响应于上述第二输入,将上述第一信息发送至上述第二目标成员。通过在接收到第二输入后,将第一信息发送至第二目标成员,可实现对针对性的消息片段的快速发送,无需人工进行内容复制粘贴,提高了信息发送效率。In some optional implementation manners of this embodiment, the above-mentioned device further includes: a second receiving unit, configured to receive a second input from a user, where the second input is used to select a second target member who receives the above-mentioned first information; A sending unit, configured to send the first information to the second target member in response to the second input. By sending the first information to the second target member after receiving the second input, the targeted message fragments can be sent quickly, without manual content copying and pasting, and the information sending efficiency is improved.
在本实施例的一些可选的实现方式中,上述目标消息包括文字消息;上述输出单元602,进一步用于显示上述文字消息中与上述第一目标成员相关的文字内容。对于文字消息,通过显示该文字消息中与第一目标成员相关的文字内容,能够使用户快速从文字消息中获取到针对性的文字内容,无需进行全部消息内容的阅读,提高了用户获取所需消息的效率。In some optional implementation manners of this embodiment, the target message includes a text message; the output unit 602 is further configured to display text content in the text message related to the first target member. For a text message, by displaying the text content related to the first target member in the text message, the user can quickly obtain the targeted text content from the text message without reading all the message content, which improves the user's acquisition requirements. message efficiency.
在本实施例的一些可选的实现方式中,上述目标消息包括语音消息;上述输出单元602,进一步用于播放上述语音消息中与上述第一目标成员相关的语音片段,并显示上述语音片段对应的文字内容。对于语音消息,通过播放该语音消息中与第一目标成员相关的语音片段,并显示该语音 片段对应的文字内容,能够使用户快速从语音消息中获取到针对性的语音片段,无需进行全部语音消息的播放,提高了用户获取所需消息的效率。In some optional implementations of this embodiment, the target message includes a voice message; the output unit 602 is further configured to play a voice segment related to the first target member in the voice message, and display the corresponding the text content of . For the voice message, by playing the voice clip related to the first target member in the voice message and displaying the text content corresponding to the voice clip, the user can quickly obtain the targeted voice clip from the voice message without having to make all the voice calls The broadcasting of the message improves the efficiency for the user to obtain the desired message.
在本实施例的一些可选的实现方式中,上述输出单元602,进一步用于在上述语音消息中,标记上述语音片段。由此,可便于用户了解语音片段在语音消息中的分布情况。In some optional implementation manners of this embodiment, the output unit 602 is further configured to mark the voice segment in the voice message. Thus, it is convenient for the user to understand the distribution of voice segments in the voice message.
在本实施例的一些可选的实现方式中,上述装置还包括:第三接收单元,用于接收用户的第三输入,上述第三输入用于选取第三目标成员;替换单元,用于响应于上述第三输入,将上述第一信息替换为第二信息,上述第二信息为上述目标消息中与上述第三目标成员相关的内容。由此,可在不切换界面的情况下快速进行不同成员的相关信息的切换展示,提高了信息展示效率。In some optional implementations of this embodiment, the device further includes: a third receiving unit, configured to receive a third input from the user, the third input being used to select a third target member; a replacement unit, configured to respond In the above-mentioned third input, the above-mentioned first information is replaced with the second information, and the above-mentioned second information is content related to the above-mentioned third target member in the above-mentioned target message. In this way, it is possible to rapidly switch and display relevant information of different members without switching interfaces, thereby improving the efficiency of information display.
在本实施例的一些可选的实现方式中,上述装置还包括:第四接收单元,用于接收用户对上述目标消息的第四输入;显示单元,用于响应于上述第四输入,基于上述目标消息的内容,显示与上述目标消息相关的成员的标识。第五接收单元,用于接收对所述第一目标成员对应的标识的第五输入,所述与所述目标消息相关的成员的标识包括所述第一目标成员对应的标识。由此,用户不需要浏览或播放全部消息内容,即可方便快捷地确定目标消息中所关联的成员,提高了消息处理的效率。In some optional implementations of this embodiment, the above-mentioned device further includes: a fourth receiving unit, configured to receive a fourth input from the user on the above-mentioned target message; a display unit, configured to respond to the above-mentioned fourth input, based on the above-mentioned The content of the target message, showing the ID of the member associated with the above target message. The fifth receiving unit is configured to receive a fifth input of an identifier corresponding to the first target member, where the member identifiers related to the target message include the identifier corresponding to the first target member. As a result, the user can conveniently and quickly determine the associated members in the target message without browsing or playing all message content, which improves the efficiency of message processing.
本申请实施例中的消息处理装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机The message processing apparatus in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle electronic device, a wearable device, a super mobile personal computer
(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本 申请实施例不作具体限定。(ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc. Non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC ), a television (television, TV), a teller machine or a self-service machine, etc., are not specifically limited in this embodiment of the present application.
本申请实施例中的消息处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The message processing device in this embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的消息处理装置能够实现图1的方法实施例中消息处理装置实现的各个过程,为避免重复,这里不再赘述。The message processing device provided in the embodiment of the present application can implement various processes implemented by the message processing device in the method embodiment in FIG. 1 , and details are not repeated here to avoid repetition.
本申请的上述实施例提供的装置,在接收用户对会话界面的第一输入后,可确定出会话界面中的目标消息和第一目标成员,并输出目标消息中与第一目标成员相关的第一信息,由此可自动筛选出目标消息中用户所需了解的内容,此过程无需用户进行目标消息的全部理解,提高了用户对所需消息内容的获取效率。The device provided by the above-mentioned embodiments of the present application can determine the target message and the first target member in the conversation interface after receiving the first input from the user on the conversation interface, and output the first target member related to the first target member in the target message. This process can automatically filter out the content that the user needs to understand in the target message. This process does not require the user to fully understand the target message, which improves the efficiency of the user's acquisition of the desired message content.
可选的,本申请实施例还提供一种电子设备,包括处理器110,存储器109,存储在存储器109上并可在上述处理器110上运行的程序或指令,该程序或指令被处理器110执行时实现上述消息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, the embodiment of the present application also provides an electronic device, including a processor 110, a memory 109, a program or an instruction stored in the memory 109 and operable on the processor 110, and the program or instruction is executed by the processor 110 During execution, each process of the above message processing method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要注意的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图7为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备700包括但不限于:射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、接口单元708、存储器709、以及处理器710等部件。The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710, etc. part.
本领域技术人员可以理解,电子设备700还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部 件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 700 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 710 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 7 does not constitute a limitation to the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange different components, and details will not be repeated here. .
其中,用户输入单元707,用于接收用户对会话界面的第一输入,所述第一输入用于选取所述会话界面中的目标消息和第一目标成员;处理器710,用于响应于所述第一输入,并控制显示单元706或者输出单元703输出第一信息,所述第一信息为所述目标消息中与所述第一目标成员相关的内容。Wherein, the user input unit 707 is configured to receive the user's first input to the conversation interface, and the first input is used to select the target message and the first target member in the conversation interface; the processor 710 is configured to respond to the the first input, and control the display unit 706 or the output unit 703 to output first information, where the first information is content related to the first target member in the target message.
在本申请实施例中,在接收用户对会话界面的第一输入后,可确定出会话界面中的目标消息和第一目标成员,并输出目标消息中与第一目标成员相关的第一信息,由此可自动筛选出目标消息中用户所需了解的内容,此过程无需用户进行目标消息的全部理解,提高了用户对所需消息内容的获取效率。In this embodiment of the application, after receiving the user's first input to the conversation interface, the target message and the first target member in the conversation interface can be determined, and the first information related to the first target member in the goal message can be output, In this way, the content that the user needs to understand in the target message can be automatically filtered out. This process does not require the user to fully understand the target message, which improves the efficiency of the user's acquisition of the desired message content.
可选的,用户输入单元707,还用于接收用户的第二输入,所述第二输入用于选取接收所述第一信息的第二目标成员;处理器710,还用于响应于所述第二输入,将所述第一信息发送至所述第二目标成员。通过在接收到第二输入后,将第一信息发送至第二目标成员,可实现对针对性的消息片段的快速发送,无需人工进行内容复制粘贴,提高了信息发送效率。Optionally, the user input unit 707 is also configured to receive a second input from the user, and the second input is used to select a second target member receiving the first information; the processor 710 is also configured to respond to the The second input is to send the first information to the second target member. By sending the first information to the second target member after receiving the second input, the targeted message fragments can be sent quickly, without manual content copying and pasting, and the information sending efficiency is improved.
可选的,所述目标消息包括文字消息;处理器710还用于控制显示单元706显示所述文字消息中与所述第一目标成员相关的文字内容。对于文字消息,通过显示该文字消息中与第一目标成员相关的文字内容,能够使用户快速从文字消息中获取到针对性的文字内容,无需进行全部消息内容的阅读,提高了用户获取所需消息的效率。Optionally, the target message includes a text message; the processor 710 is further configured to control the display unit 706 to display text content related to the first target member in the text message. For a text message, by displaying the text content related to the first target member in the text message, the user can quickly obtain the targeted text content from the text message without reading all the message content, which improves the user's acquisition requirements. message efficiency.
可选的,所述目标消息包括语音消息;处理器710还用于输出单元703播放所述语音消息中与所述第一目标成员相关的语音片段,并控制显示单元706显示所述语音片段对应的文字内容。对于语音消息,通过播放该语音消息中与第一目标成员相关的语音片段,并显示该语音片段对应的文字内容,能够使用户快速从语音消息中获取到针对性的语音片段, 无需进行全部语音消息的播放,提高了用户获取所需消息的效率。Optionally, the target message includes a voice message; the processor 710 is further configured for the output unit 703 to play a voice segment related to the first target member in the voice message, and control the display unit 706 to display the voice segment corresponding to the text content of . For the voice message, by playing the voice clip related to the first target member in the voice message and displaying the text content corresponding to the voice clip, the user can quickly obtain the targeted voice clip from the voice message without having to make all the voice calls The broadcasting of the message improves the efficiency for the user to obtain the desired message.
可选的,处理器710还用于控制显示单元706在所述语音消息中,标记所述语音片段。由此,可便于用户了解语音片段在语音消息中的分布情况。Optionally, the processor 710 is further configured to control the display unit 706 to mark the voice segment in the voice message. Thus, it is convenient for the user to understand the distribution of voice segments in the voice message.
可选的,用户输入单元707,还用于接收用户的第三输入,所述第三输入用于选取第三目标成员;处理器710,还用于响应于所述第三输入,将所述第一信息替换为第二信息,所述第二信息为所述目标消息中与所述第三目标成员相关的内容。由此,可在不切换界面的情况下快速进行不同成员的相关信息的切换展示,提高了信息展示效率。Optionally, the user input unit 707 is further configured to receive a third input from the user, and the third input is used to select a third target member; the processor 710 is further configured to respond to the third input, the The first information is replaced with second information, and the second information is content related to the third target member in the target message. In this way, it is possible to rapidly switch and display relevant information of different members without switching interfaces, thereby improving the efficiency of information display.
可选的,用户输入单元707,还用于接收用户对所述目标消息的第四输入;处理器710,还用于响应于所述第四输入,控制显示单元706基于所述目标消息的内容,显示与所述目标消息相关的成员的标识。用户输入单元707,还用于接收对所述第一目标成员对应的标识的第五输入,所述与所述目标消息相关的成员的标识包括所述第一目标成员对应的标识。由此,用户不需要浏览或播放全部消息内容,即可方便快捷地确定目标消息中所关联的成员,提高了消息处理的效率。Optionally, the user input unit 707 is further configured to receive a fourth user input on the target message; the processor 710 is further configured to control the display unit 706 based on the content of the target message in response to the fourth input. , displaying the ID of the member associated with the targeted message. The user input unit 707 is further configured to receive a fifth input of an identifier corresponding to the first target member, where the member identifiers related to the target message include the identifier corresponding to the first target member. As a result, the user can conveniently and quickly determine the associated members in the target message without browsing or playing all message content, which improves the efficiency of message processing.
应理解的是,本申请实施例中,输入单元704可以包括图形处理器(Graphics Processing Unit,GPU)7041和麦克风7042,图形处理器7041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元706可包括显示面板7061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板7061。用户输入单元707包括触控面板7071以及其他输入设备7072。触控面板7071,也称为触摸屏。触控面板7071可包括触摸检测装置和触摸控制器两个部分。其他输入设备7072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器709可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器710可集成应用处理器和调制解调处理 器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。It should be understood that, in the embodiment of the present application, the input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, and the graphics processor 7041 is used for the image capture device ( Such as the image data of the still picture or video obtained by the camera) for processing. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes a touch panel 7071 and other input devices 7072 . The touch panel 7071 is also called a touch screen. The touch panel 7071 may include two parts, a touch detection device and a touch controller. Other input devices 7072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here. Memory 709 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 710 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 710 .
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述消息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium. The readable storage medium stores programs or instructions. When the program or instructions are executed by the processor, the various processes of the above message processing method embodiments can be realized, and the same To avoid repetition, the technical effects will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述消息处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above message processing method embodiment Each process can achieve the same technical effect, so in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次 序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (17)

  1. 一种消息处理方法,所述方法包括:A message processing method, the method comprising:
    接收用户对会话界面的第一输入,所述第一输入用于选取所述会话界面中的目标消息和第一目标成员;receiving a first input from a user on a conversation interface, where the first input is used to select a target message and a first target member in the conversation interface;
    响应于所述第一输入,输出第一信息,所述第一信息为所述目标消息中与所述第一目标成员相关的内容。In response to the first input, output first information, where the first information is content related to the first target member in the target message.
  2. 根据权利要求1所述的方法,其中,在输出所述第一信息之后,所述方法还包括:The method according to claim 1, wherein, after outputting the first information, the method further comprises:
    接收用户的第二输入,所述第二输入用于选取接收所述第一信息的第二目标成员;receiving a second input from the user, the second input being used to select a second target member to receive the first information;
    响应于所述第二输入,将所述第一信息发送至所述第二目标成员。In response to the second input, the first information is sent to the second target member.
  3. 根据权利要求1所述的方法,其中,所述目标消息包括文字消息;The method of claim 1, wherein the targeted message comprises a text message;
    所述输出所述第一信息,包括:The outputting the first information includes:
    显示所述文字消息中与所述第一目标成员相关的文字内容。and displaying text content related to the first target member in the text message.
  4. 根据权利要求1所述的方法,其中,所述目标消息包括语音消息;The method of claim 1, wherein the targeted message comprises a voice message;
    所述输出所述第一信息,包括:The outputting the first information includes:
    播放所述语音消息中与所述第一目标成员相关的语音片段,并显示所述语音片段对应的文字内容。Playing a voice segment related to the first target member in the voice message, and displaying text content corresponding to the voice segment.
  5. 根据权利要求4所述的方法,其中,所述输出所述第一信息,还包括:The method according to claim 4, wherein said outputting said first information further comprises:
    在所述语音消息中,标记所述语音片段。In the voice message, the voice segment is marked.
  6. 根据权利要求1所述的方法,其中,在输出第一信息后,所述方法还包括:The method according to claim 1, wherein, after outputting the first information, the method further comprises:
    接收用户的第三输入,所述第三输入用于选取第三目标成员;receiving a third input from the user, the third input being used to select a third target member;
    响应于所述第三输入,将所述第一信息替换为第二信息,所述第二信息为所述目标消息中与所述第三目标成员相关的内容。In response to the third input, the first information is replaced with second information, and the second information is content related to the third target member in the target message.
  7. 根据权利要求1所述的方法,其中,所述接收用户对会话界面的第一输入包括:The method according to claim 1, wherein said receiving the user's first input to the conversational interface comprises:
    接收用户对所述目标消息的第四输入;receiving a user's fourth input on the target message;
    响应于所述第四输入,基于所述目标消息的内容,显示与所述目标消息相关的成员的标识;displaying, in response to said fourth input, an identification of a member associated with said targeted message based on the content of said targeted message;
    接收对所述第一目标成员对应的标识的第五输入,所述与所述目标消息相关的成员的标识包括所述第一目标成员对应的标识。A fifth input of an identification corresponding to the first targeted member is received, and the identification of the member associated with the targeted message includes an identification corresponding to the first targeted member.
  8. 一种消息处理装置,所述装置包括:A message processing device, the device comprising:
    第一接收单元,用于接收用户对会话界面的第一输入,所述第一输入用于选取所述会话界面中的目标消息和第一目标成员;A first receiving unit, configured to receive a first input from a user on a conversation interface, where the first input is used to select a target message and a first target member in the conversation interface;
    输出单元,用于响应于所述第一输入,输出第一信息,所述第一信息为所述目标消息中与所述第一目标成员相关的内容。An output unit, configured to output first information in response to the first input, where the first information is content related to the first target member in the target message.
  9. 根据权利要求8所述的装置,其中,所述装置还包括:The device according to claim 8, wherein the device further comprises:
    第二接收单元,用于接收用户的第二输入,所述第二输入用于选取接收所述第一信息的第二目标成员;a second receiving unit, configured to receive a second input from a user, and the second input is used to select a second target member to receive the first information;
    发送单元,用于响应于所述第二输入,将所述第一信息发送至所述第二目标成员。a sending unit, configured to send the first information to the second target member in response to the second input.
  10. 根据权利要求8所述的装置,其中,所述目标消息包括文字消 息;The apparatus of claim 8, wherein the targeted message comprises a text message;
    所述输出单元,还用于显示所述文字消息中与所述第一目标成员相关的文字内容。The output unit is further configured to display text content related to the first target member in the text message.
  11. 根据权利要求8所述的装置,其中,所述目标消息包括语音消息;The apparatus of claim 8, wherein the targeted message comprises a voice message;
    所述输出单元,还用于播放所述语音消息中与所述第一目标成员相关的语音片段,并显示所述语音片段对应的文字内容。The output unit is further configured to play a voice segment related to the first target member in the voice message, and display text content corresponding to the voice segment.
  12. 根据权利要求11所述的装置,其中,所述输出单元,还用于在所述语音消息中,标记所述语音片段。The device according to claim 11, wherein the output unit is further configured to mark the voice segment in the voice message.
  13. 根据权利要求8所述的装置,其中,所述装置还包括:The device according to claim 8, wherein the device further comprises:
    第三接收单元,用于接收用户的第三输入,所述第三输入用于选取第三目标成员;a third receiving unit, configured to receive a third input from a user, and the third input is used to select a third target member;
    替换单元,用于响应于所述第三输入,将所述第一信息替换为第二信息,所述第二信息为所述目标消息中与所述第三目标成员相关的内容。A replacement unit, configured to replace the first information with second information in response to the third input, and the second information is content related to the third target member in the target message.
  14. 根据权利要求8所述的装置,其中,所述装置还包括:The device according to claim 8, wherein the device further comprises:
    第四接收单元,用于接收用户对所述目标消息的第四输入;a fourth receiving unit, configured to receive a user's fourth input on the target message;
    显示单元,用于响应于所述第四输入,基于所述目标消息的内容,显示与所述目标消息相关的成员的标识;a display unit configured to, in response to the fourth input, display an identification of a member related to the target message based on the content of the target message;
    第五接收单元,用于接收对所述第一目标成员对应的标识的第五输入,所述与所述目标消息相关的成员的标识包括所述第一目标成员对应的标识。The fifth receiving unit is configured to receive a fifth input of an identifier corresponding to the first target member, where the member identifiers related to the target message include the identifier corresponding to the first target member.
  15. 一种电子设备,包括处理器、存储器及存储在所述存储器上并 可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-7中任一项所述的消息处理方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and operable on the processor, when the program or instruction is executed by the processor, claims 1-7 are implemented The steps of any one of the message processing methods.
  16. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-7中任一项所述的消息处理方法的步骤。A readable storage medium storing programs or instructions on the readable storage medium, and implementing the steps of the message processing method according to any one of claims 1-7 when the programs or instructions are executed by a processor.
  17. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-7中任一项所述的方法。A chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and implement the method according to any one of claims 1-7 .
PCT/CN2022/138769 2021-12-16 2022-12-13 Message processing method and apparatus and electronic device WO2023109831A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111547976.7 2021-12-16
CN202111547976.7A CN114221923B (en) 2021-12-16 2021-12-16 Message processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
WO2023109831A1 true WO2023109831A1 (en) 2023-06-22

Family

ID=80703463

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/138769 WO2023109831A1 (en) 2021-12-16 2022-12-13 Message processing method and apparatus and electronic device

Country Status (2)

Country Link
CN (1) CN114221923B (en)
WO (1) WO2023109831A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114221923B (en) * 2021-12-16 2024-02-23 维沃移动通信有限公司 Message processing method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106126109A (en) * 2016-06-30 2016-11-16 珠海市魅族科技有限公司 Method for information display and terminal for chat application
CN112000768A (en) * 2020-07-31 2020-11-27 恒大智慧科技有限公司 Device and method for determining correlation degree and computer equipment
CN113157966A (en) * 2021-03-15 2021-07-23 维沃移动通信有限公司 Display method and device and electronic equipment
WO2021175160A1 (en) * 2020-03-02 2021-09-10 维沃移动通信有限公司 Method for displaying information, and electronic apparatus
CN114221923A (en) * 2021-12-16 2022-03-22 维沃移动通信有限公司 Message processing method and device and electronic equipment

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2749214T3 (en) * 2014-03-12 2020-03-19 Tencent Tech Shenzhen Co Ltd Procedure and device to control peripheral devices through a social media platform
CN105812237B (en) * 2016-03-07 2020-12-04 钉钉控股(开曼)有限公司 Method and device for quickly adding reminding object
CN110347300A (en) * 2018-04-03 2019-10-18 腾讯科技(深圳)有限公司 The method and related device that resource data shifts in group
CN109039862A (en) * 2018-07-27 2018-12-18 努比亚技术有限公司 Message prompt method, terminal and computer readable storage medium
CN109561211B (en) * 2018-11-27 2021-07-27 维沃移动通信有限公司 Information display method and mobile terminal
CN111698144A (en) * 2019-03-15 2020-09-22 钉钉控股(开曼)有限公司 Communication method, device and equipment, and group creation method, device and equipment
CN112099700A (en) * 2019-06-17 2020-12-18 腾讯科技(深圳)有限公司 Message display method, message display device and electronic equipment
CN110471589A (en) * 2019-07-29 2019-11-19 维沃移动通信有限公司 Information display method and terminal device
CN111010332A (en) * 2019-11-11 2020-04-14 维沃移动通信有限公司 Group chat method and electronic equipment
CN111432067B (en) * 2020-03-03 2022-09-27 上海掌门科技有限公司 Unread message number processing method, unread message number processing device, unread message number processing equipment and unread message number processing medium
CN112910754A (en) * 2020-05-07 2021-06-04 腾讯科技(深圳)有限公司 Message processing method, device, equipment and storage medium based on group session
CN111913629A (en) * 2020-06-29 2020-11-10 维沃移动通信有限公司 Information sending method and device and electronic equipment
CN111740896B (en) * 2020-07-07 2023-07-25 腾讯科技(深圳)有限公司 Content sharing control method and device, electronic equipment and storage medium
CN112417095A (en) * 2020-11-17 2021-02-26 维沃软件技术有限公司 Voice message processing method and device
CN112445389A (en) * 2020-11-24 2021-03-05 北京达佳互联信息技术有限公司 Sharing prompt method, device, client, server and storage medium
CN113300938B (en) * 2021-04-02 2023-02-24 维沃移动通信有限公司 Message sending method and device and electronic equipment
CN113360238A (en) * 2021-06-29 2021-09-07 维沃移动通信有限公司 Message processing method and device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106126109A (en) * 2016-06-30 2016-11-16 珠海市魅族科技有限公司 Method for information display and terminal for chat application
WO2021175160A1 (en) * 2020-03-02 2021-09-10 维沃移动通信有限公司 Method for displaying information, and electronic apparatus
CN112000768A (en) * 2020-07-31 2020-11-27 恒大智慧科技有限公司 Device and method for determining correlation degree and computer equipment
CN113157966A (en) * 2021-03-15 2021-07-23 维沃移动通信有限公司 Display method and device and electronic equipment
CN114221923A (en) * 2021-12-16 2022-03-22 维沃移动通信有限公司 Message processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN114221923B (en) 2024-02-23
CN114221923A (en) 2022-03-22

Similar Documents

Publication Publication Date Title
WO2022089568A1 (en) File sharing method and apparatus, and electronic device
US20130012245A1 (en) Apparatus and method for transmitting message in mobile terminal
CN113094143B (en) Cross-application message sending method and device, electronic equipment and readable storage medium
WO2022052832A1 (en) Interface display method and apparatus for application program, device and medium
WO2022161431A1 (en) Display method, apparatus, and electronic device
WO2022143521A1 (en) Message processing method and apparatus, and electronic device
WO2023131055A1 (en) Message sending method and apparatus, and electronic device
WO2023030130A1 (en) Session processing method and apparatus, and electronic device
WO2023040845A1 (en) Message transmission method and apparatus, and electronic device
WO2023061313A1 (en) Message display method and apparatus
WO2023109831A1 (en) Message processing method and apparatus and electronic device
CN112954046A (en) Information sending method, information sending device and electronic equipment
CN115051965B (en) Method and device for controlling video playing, computing equipment and storage medium
WO2022068721A1 (en) Screen capture method and apparatus, and electronic device
CN111324262B (en) Application interface control method, device, terminal and medium
CN113241097A (en) Recording method, recording device, electronic equipment and readable storage medium
WO2023165421A1 (en) Chat window information input method and apparatus, and electronic device
WO2023155776A1 (en) Interaction method, interaction apparatus, and electronic device
WO2023071932A1 (en) Message sending method and electronic device
WO2023030308A1 (en) Interface display method and apparatus, electronic device, and medium
WO2023138184A1 (en) Prompt information display method and apparatus, storage medium and electronic device
WO2023078301A1 (en) Chat information sending method and apparatus
WO2022156674A1 (en) Chat content processing method and apparatus, and electronic device
WO2022253132A1 (en) Information display method and apparatus, and electronic device
WO2022199614A1 (en) Interface input source switching method and apparatus, and electronic device

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: 22906576

Country of ref document: EP

Kind code of ref document: A1