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

Message processing method and device and electronic equipment Download PDF

Info

Publication number
CN115220619A
CN115220619A CN202210632839.1A CN202210632839A CN115220619A CN 115220619 A CN115220619 A CN 115220619A CN 202210632839 A CN202210632839 A CN 202210632839A CN 115220619 A CN115220619 A CN 115220619A
Authority
CN
China
Prior art keywords
message
content
target
display
target content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210632839.1A
Other languages
Chinese (zh)
Inventor
邱美茜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202210632839.1A priority Critical patent/CN115220619A/en
Publication of CN115220619A publication Critical patent/CN115220619A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop

Abstract

The invention provides a message processing method, a message processing device and electronic equipment, wherein the sent first message is displayed in a message display area in response to the sending operation aiming at the first message; responding to the target selection operation aiming at the first message, and determining the target content in the first message; the display of the target content is cancelled in the message display area. The method can enable the user to withdraw part of the content of the sent message, meets the diversified requirements of the user, and improves the user experience.

Description

Message processing method and device and electronic equipment
Technical Field
The invention relates to the technical field of instant messaging, in particular to a message processing method, a message processing device and electronic equipment.
Background
In the related art, when a user uses a message recall function of chat software to recall a sent message, the user generally needs to select one or more messages displayed on a message display interface, and start the message recall function, so as to recall the one or more messages. The mode is difficult to meet the diversified requirements of the user, so that the user experience is poor.
Disclosure of Invention
In view of this, the present invention provides a message processing method, a message processing apparatus and an electronic device, so as to meet diversified requirements of a user and improve user experience.
In a first aspect, an embodiment of the present invention provides a message processing method, which provides a graphical user interface through a terminal device; the graphical user interface includes a message display area; the method comprises the following steps: displaying the transmitted first message in a message display area in response to a transmission operation for the first message; determining target content in the first message in response to a target selection operation for the first message; the display of the target content is cancelled in the message display area. .
The method further comprises the following steps: and converting the current display format of the target content into a preset first display format according to the target selection operation, and displaying the target content in the first display format.
After determining the target content in the first message in response to the target selection operation for the first message, the method further includes: and displaying a withdrawal option control corresponding to the target content.
The canceling of the display of the target content in the message display area includes: and responding to the touch operation aiming at the withdrawal option control, and canceling the display of the target content in the message display area.
The canceling of the display of the target content in the message display area includes: and canceling the display of the target content in the message display area in response to the deletion instruction.
The target content comprises at least one character group; the character groups are divided according to semantic association among the characters; the withdrawal option control comprises a character withdrawal control corresponding to the character group; the step of displaying the withdrawal option control corresponding to the target content comprises the following steps: and displaying a text withdrawal control corresponding to the character group at a specified position of a display area of the character group for each character group in the target content.
The target content comprises a target picture; the target selection operation comprises a long press operation; in response to a target selection operation for a first message, determining target content in the first message, comprising: and determining the target picture as the target content in response to the long press operation aiming at the target picture.
The first message comprises a voice message; the voice message is displayed in the message display area through the corresponding display control; the step of determining the target content in the first message in response to the target selection operation for the first message comprises: responding to the long-time pressing operation of the display control corresponding to the voice message, and displaying text content corresponding to the voice message; and determining the partial content as the target content in the first message in response to the specified trigger operation aiming at the partial content in the text content.
The first message comprises a voice message; the target content comprises partial content of text content corresponding to the voice message; the voice message is displayed in the message display area through the corresponding display control; the display control displays the voice time length corresponding to the voice message; the step of canceling the display of the target content in the message display area in response to the touch operation directed to the withdrawal option control comprises: canceling the display of the target content in the display area of the text content in response to the triggering operation aiming at the option withdrawing control; deleting the voice content corresponding to the target content from the voice content corresponding to the voice message to obtain an updated voice message; displaying the updated voice message through the display control; and the voice duration displayed by the display control is matched with the voice content of the updated voice message.
The method further comprises the following steps: receiving second messages sent by other terminal devices except the terminal device, and displaying the received second messages in a message display area; and canceling the display of the part of the content in the second message in the graphical user interface in response to the withdrawal instruction for the part of the content in the second message.
Said second message including at least one character set; the character group corresponds to a preset mark; the withdrawing instruction comprises a target identification corresponding to the partial content; the step of canceling the display of the second message in the graphical user interface to withdraw the part of the content corresponding to the instruction comprises the following steps: and canceling the display of the character group corresponding to the target identification in the second message on the graphical user interface.
In a second aspect, an embodiment of the present invention provides a message processing apparatus, which provides a graphical user interface through a terminal device; the graphical user interface includes a message display area; the device comprises: a first message display module for displaying the transmitted first message in a message display area in response to a transmission operation for the first message; the revocation option control display module is used for responding to the target selection operation aiming at the first message and determining the target content in the first message; wherein the target content comprises a portion of the content of the first message; and the target content display canceling module is used for canceling the display of the target content in the message display area.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor and a memory, where the memory stores machine executable instructions capable of being executed by the processor, and the processor executes the machine executable instructions to implement the message processing method described above.
In a fourth aspect, embodiments of the present invention provide a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the message processing method described above.
The embodiment of the invention has the following beneficial effects:
the message processing method, the message processing device and the electronic equipment respond to the sending operation aiming at the first message, and display the sent first message in the message display area; responding to the target selection operation aiming at the first message, and determining the target content in the first message; the display of the target content is cancelled in the message display area. The method can enable the user to withdraw part of the content of the sent message, meets the diversified requirements of the user and improves the user experience.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a message processing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a graphical user interface for a revocation option control for displaying targeted content according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a graphical user interface displaying a recall option control for a selected text according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a message display after partial content is revoked according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a gui displaying withdrawal option controls corresponding to a plurality of character sets according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a graphical user interface of a withdrawal option control corresponding to a display picture according to an embodiment of the present invention;
fig. 7 is a schematic diagram of a gui displaying a withdrawal option control corresponding to a voice segment according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
After a user sends a message to other terminal devices through communication software running on the terminal device, the user wants to change the sent message due to various reasons, such as a sent message error, a sent message receiving end error, and the like. In the related art, chat software has a function of withdrawing sent information, but when the information is withdrawn, only the whole information can be withdrawn, and a certain word, a certain image-text content or a certain voice content cannot be withdrawn independently. This approach fails to meet the diverse withdrawal needs of users, which makes the user experience worse.
Based on this, the message processing method, the message processing device and the electronic device provided by the embodiment of the invention can be applied to various scenes in which the sent message needs to be withdrawn.
The message processing method in one embodiment of the present invention may be executed in a touch local terminal device or a server. When the message processing method is operated on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system comprises the server and the client device.
In an optional embodiment, various cloud applications may be run under the cloud interaction system, for example: and (6) cloud games. Taking a cloud game as an example, the cloud game refers to a game mode based on cloud computing. In the cloud game operation mode, the game program operation main body and the game picture presentation main body are separated, the storage and the operation of the message processing method are completed on the cloud game server, and the client device is used for receiving and sending data and presenting the game picture, for example, the client device can be a display device with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; but the cloud game server which performs information processing is a cloud. When a game is played, a player operates the client device to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, data such as game pictures and the like are encoded and compressed, the data are returned to the client device through a network, and finally the data are decoded through the client device and the game pictures are output.
In an optional implementation manner, taking a game as an example, the local touch terminal device stores a game program and is used for presenting a game screen. The local touch terminal device is used for interacting with a player through a graphical user interface, namely, a game program is downloaded and installed and operated through an electronic device conventionally. The manner in which the local touch terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal or provided to the player through holographic projection. For example, the local touch terminal device may include a display screen for presenting a graphical user interface including a game screen and a processor for running the game, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.
In a possible implementation manner, an embodiment of the present invention provides a method for processing a message, where a graphical user interface is provided by a touch terminal device, where the touch terminal device may be the aforementioned local touch terminal device, and may also be a client device in the aforementioned cloud interaction system. A graphical user interface is provided through the touch terminal device, and interface contents such as game scene pictures, communication interaction windows and the like can be displayed on the graphical user interface according to the type of the started application program.
In a possible implementation manner, an embodiment of the present invention provides a message processing method, where a terminal device provides a graphical user interface, where the graphical user interface includes a message display area; the terminal device may be the aforementioned local terminal device, and may also be the aforementioned client device in the cloud interaction system. As shown in fig. 1, the method comprises the steps of:
step S102, responding to the sending operation aiming at the first message, and displaying the sent first message in a message display area.
When the first message is sent by the terminal device, the terminal device may serve as a message sender. The first message may be a voice message, a text message, a picture message, or a message including text and pictures. The sending operation may be clicking a message sending button or a confirmation button on the graphical user interface, and the user may edit the first message in a message editing area in the graphical user interface and then click the message sending button or the confirmation button to complete the sending operation. When the first message is a voice message, the user can also press a voice input button in the graphical user interface for a long time to input the voice message, and after the input is finished, the voice input button is released, so that the sending operation is realized. The user can also perform touch operation, such as clicking or long-time pressing, on the received messages sent by other terminal devices, and forward the messages, so that the sending operation is completed.
When the first message is a different type of message, it is often displayed in a different form in the message display area. For example, when the first message is a text message, a picture message, or a message including both text and pictures, all characters and pictures in the message can be directly displayed in the message display area; in addition, for the pictures in the message, a control representing the pictures can be displayed, and the pictures are displayed after the user triggers the control. When the first message is a voice message, a display control representing the voice message may be displayed in the message display area, and the display control may display a voice duration of the voice message. Usually, after the user triggers the control, the terminal device can play the voice message. In addition, text content obtained by performing voice recognition on the voice message can be directly displayed near the display control, and specifically, corresponding content can be displayed according to the setting of the terminal device.
Step S104, responding to the target selection operation aiming at the first message, and determining the target content in the first message.
The target content may be a part of content in the first message, for example, when the first message is a text message, the target content may be a part of characters in the text message; when the first message is a message simultaneously comprising characters and pictures, the target content can also be a picture message in the first message; when the first message is a voice message, the target content may be a partial voice segment in the voice message.
The target selection operation may be one operation or a combination of multiple operations, such as one or more of a click operation, a long-press operation, a drag operation, and the like. Different target selection operations may be set for different types of target content. For example, when the target content is a character or a picture, the user may first select the target content through a human-computer interaction device connected to the terminal device, such as a mouse, a keyboard, or a touch screen, and then long-press the selected target content, thereby completing the target selection operation, and both the selection operation and the long-press operation may be regarded as the target selection operation in the process.
When the target content is a voice segment, a user can perform long-press operation on a display control of the first message through the man-machine interaction device, so that the terminal device performs voice recognition on the voice message, a voice recognition result, namely the text content corresponding to the voice message, is displayed on the graphic user message, the user can select part of characters in the text content, and then long-press the selected part of characters, so that the terminal device determines the voice segment corresponding to the part of characters as the target content, and in the process, the long-press operation on the display control of the first message, the selection operation on the part of characters in the text content and the long-press operation can be regarded as target selection operation.
When the target content in the first message is determined, the withdrawal option control corresponding to the target content may be directly displayed, or the withdrawal option control may be triggered by clicking, long-pressing, or the like on the target content. The revocation option control can be displayed directly adjacent to a display area of the target content; as shown in fig. 2, the first message is a text message, and when the target selection operation is generated for a partial character in the first message, the text message may be displayed below the partial character. When the target content comprises a plurality of characters, the target content can be divided into a plurality of character groups based on semantic relation among the characters, and each character group forms a word and corresponds to one identifier; when the revocation option control corresponding to the target content is displayed, one revocation option control may be displayed for each identifier.
Step S106, canceling the display of the target content in the message display area.
When the user selects the target content through the human-computer interaction device, the first message can be directly hidden in the graphical user interface, then the target content is deleted from the first message, and the first message with the deleted target content is displayed on the graphical user interface, so that the target content is cancelled to be displayed. If the withdrawal option control corresponding to the target content is displayed in response to the target selection operation, the target content can be cancelled from being displayed after the user triggers the withdrawal option control.
Since the current terminal device is a message sending end, after the target content is determined, the display of the target content needs to be cancelled from the graphical user interface of the terminal device serving as a message receiving end. Specifically, the revocation instruction may be sent to the message receiving end by a communication server communicatively connected to both the message sending end and the message receiving end. The revocation instruction may include an identification of the first message and an identification of the targeted content, such that the message receiving end determines the targeted message of the targeted content that needs to be revoked based on the identification of the first message.
The characters or pictures in the first message may each be provided with a corresponding identifier, for example, each character or each character group may correspond to one identifier, and one picture corresponds to one identifier. When the first message is a voice message, each character or group of characters in the text content to which the voice message corresponds may correspond to an identifier. The message receiving end can determine the part of the content needing to be withdrawn in the target message based on the identification of the target content, so that the target content is not displayed on the graphical user interface.
In the message processing method, the sent first message is displayed in the message display area in response to the sending operation for the first message; responding to the target selection operation aiming at the first message, and determining the target content in the first message; the display of the target content is cancelled in the message display area. The method can enable the user to withdraw part of the content of the sent message, meets the diversified requirements of the user and improves the user experience.
The embodiments described below provide implementations in which, in response to a target selection operation directed to target content in a first message, a revocation option control corresponding to the target content is displayed.
In the process of displaying the withdrawal option control corresponding to the target content, after the target content is determined based on the selection operation of the user, the withdrawal option control corresponding to the target content is determined to be displayed based on other trigger operations of the user on the selected target content. Specifically, the current display format of the target content may be converted into a preset first display format according to the target selection operation, the target content is displayed in the first display format, and meanwhile, the withdrawal option control corresponding to the target content may also be directly displayed. The target selection operation may be a sliding operation or a dragging operation in a display area of the target content; the current display format may be a common display format such as unshaded display format and unlighted display format, the first display format may be a highlighted format and/or a shaded format, and then the withdrawal option control corresponding to the target content is displayed in response to a long-press operation on the target content. The above-described revocation option controls may also be generated in response to clicking, long-pressing, or dragging operations on the target content.
As shown in fig. 3, a user selects a specific character in a certain message as a target content, presses a display control (also referred to as a "button") of the target content for a long time to "withdraw the selected character", and can withdraw the selected character alone, but the piece of information remains, and one side of the server (which is equivalent to the "communication server") actually still retains the information, and only hides the selected character at the client side (including the terminal device serving as a message sending end and the terminal device serving as a message receiving end). The display effect of the message after withdrawal is shown in fig. 4.
Generally, the target content may include one character set or a plurality of character sets; the character groups can be divided according to semantic association among characters in a semantic recognition mode, namely the character groups are usually verbs, adjectives, nouns and the like; the character group may include one character or a plurality of characters; when a character set includes a plurality of characters, each character alone cannot express the semantics that the user wants to express. The recall option control may include a text recall control corresponding to the character group. When the withdrawal option control is displayed, for each character group in the target content, a text withdrawal control corresponding to the character group may be displayed at a designated position of a display area of the character group, so that the user may withdraw a word, a noun, an adjective, a verb, and the like individually. As shown in fig. 5, "measure" and "weight" correspond to a text withdrawal control respectively.
When the first message contains characters and pictures, the target content may also include a target picture, and the corresponding target selection operation may be a long-press operation. After a user presses the target picture for a long time, responding to the long-time pressing operation aiming at the target picture, and displaying a withdrawal option control corresponding to the target picture at the specified position of the display area of the target picture; in the process, the current information format is recognized as characters or pictures, and the corresponding withdrawal option control is displayed, so that the user can withdraw the pictures or the characters independently. Taking the graphical user interface shown in fig. 6 as an example, the message includes a picture and text, if the picture is only withdrawn, the picture in the message is pressed for a long time, a "withdraw the selected picture" button is triggered, the logic at the server side is to keep the picture, the picture is hidden at the client side, and the message is displayed as only text type information after withdrawal; if the text is only withdrawn, the operation mode and logic are consistent with the operation mode and logic for withdrawing the partial content of the message only including the text.
When the first message is a voice message, the voice message can be displayed in the message display area through the corresponding display control. In the process of withdrawing a part of content of the voice message, the long-press operation of a display control corresponding to the voice message needs to be responded, and the text content corresponding to the voice message is displayed; and then responding to the target selection operation aiming at the target content in the text content, and displaying a withdrawal option control corresponding to the target content in the text content. As shown in fig. 7, the duration of the voice message is displayed on the display control of the voice message, and the "appropriate weight loss" in the figure is the selected target content.
The embodiments described below provide an implementation for canceling display of targeted content in a graphical interface in response to a triggering operation directed to a revocation option control.
When the first message (also referred to as "unit information") is a text message or a message containing text and pictures, the first message after the target content is deleted can be displayed on the graphical user interface in response to the triggering operation of the withdrawal option control. When the first message is a voice message, the triggering operation aiming at the withdrawal option control can be responded, the target content is canceled and displayed in the display area of the text content corresponding to the voice message, and then the voice content corresponding to the target content is deleted from the voice content corresponding to the voice message, so that the updated voice message is obtained; displaying the updated voice message through the display control; at this time, the voice duration displayed by the display control is matched with the voice content of the updated voice message.
By the method, the user can independently withdraw a certain picture or a certain character in the chat of the multi-picture and multi-text mixed carrier, and also can independently withdraw a certain voice segment in a single voice content in the conversation, so that the editing time and the reading time of the user needing to withdraw the whole information due to the error content of the certain character/picture are reduced, and the sent chat information content can be flexibly processed.
In addition, the content of all the withdrawals does not affect the complete withdrawal of a single piece of information (equivalent to the unit message). After the complete message is withdrawn, the edited content still can contain the withdrawn content when the complete message is edited again, and the content can be edited and sent again.
When the terminal equipment is used as a message receiving end, the terminal equipment displays a received second message in a message display area after receiving the second message sent by other terminal equipment except the terminal equipment; and canceling the display of the part of the content in the second message in the graphical user interface in response to the withdrawal instruction for the part of the content in the second message.
When the second message comprises at least one character set, the character set corresponds to a preset identification; the withdrawal instruction received by the terminal device includes the target identifier corresponding to the part of the content to be withdrawn, and in response to the withdrawal instruction, the terminal device may cancel, in the graphical user interface, displaying the character set corresponding to the target identifier in the second message.
When the second message is a voice message, the text content corresponding to the voice message usually also includes a plurality of character sets, each character set corresponds to a preset identifier, and the withdrawal instruction includes a target identifier of the character set corresponding to the voice segment to be withdrawn. After the terminal device receives the withdrawal instruction, the content to be withdrawn corresponding to the voice segment to be withdrawn in the text content can be determined based on the target identifier, so that the corresponding voice segment to be withdrawn is determined, and the voice segment corresponding to the target identifier in the second message is cancelled and displayed on the graphical user interface.
In addition, the deletion instruction may be triggered by a designated gesture, such as a user double-clicking the target content, or by a user inputting voice, so that after the deletion instruction is triggered, the target content is cancelled to be displayed in the message display area in response to the deletion instruction.
For the above method embodiment, referring to a message processing apparatus shown in fig. 8, a graphical user interface is provided through a terminal device; the graphical user interface includes a message display area; the device includes:
a first message display module 802, configured to display the sent first message in a message display area in response to a sending operation for the first message;
a target content determination module 804, configured to determine target content in the first message in response to a target selection operation for the first message;
a target content display cancellation module 806, configured to cancel displaying the target content in the message display area.
The message processing apparatus of the above, responding to the sending operation for the first message, displaying the sent first message in the message display area; responsive to determining the target content in the first message for the first message; the mode of canceling the display of the target content in the message display area can enable the user to withdraw part of the content of the sent message, meet the diversified requirements of the user and improve the user experience.
The apparatus further comprises a format conversion module configured to: and converting the current display format of the target content into a preset first display format according to the target selection operation, and displaying the target content in the first display format.
The device further comprises a withdrawal option control display module, configured to: and displaying a withdrawal option control corresponding to the target content.
The target content display cancellation module is further configured to: and canceling the display of the target content in the message display area in response to the touch operation aiming at the withdrawal option control.
The target content display cancellation module is further configured to: and canceling the display of the target content in the message display area in response to the deletion instruction.
The target content comprises at least one character group; the character groups are divided according to semantic association among the characters; the withdrawal option control comprises a text withdrawal control corresponding to the character group; the revocation option control display module is further configured to: and displaying a text withdrawing control corresponding to the character group at the specified position of the display area of the character group aiming at each character group in the target content.
The target content comprises a target picture; the target selection operation comprises a long press operation; the determining the target picture as the target content in response to the long press operation on the target picture is further configured to: and determining the target picture as the target content in response to the long press operation aiming at the target picture.
The first message comprises a voice message; the voice message is displayed in the message display area through the corresponding display control; the target content determining module is further configured to: responding to the long-time pressing operation of the display control corresponding to the voice message, and displaying text content corresponding to the voice message; and determining the partial content as the target content in the first message in response to the specified trigger operation aiming at the partial content in the text content.
The first message comprises a voice message; the target content comprises partial content of text content corresponding to the voice message; the voice message is displayed in the message display area through the corresponding display control; the display control displays the voice duration corresponding to the voice message; the target content display canceling module is further configured to: responding to the triggering operation aiming at the withdrawal option control, and canceling the display of the target content in the display area of the text content; deleting the voice content corresponding to the target content from the voice content corresponding to the voice message to obtain an updated voice message; displaying the updated voice message through the display control; and the voice duration displayed by the display control is matched with the voice content of the updated voice message.
The above-mentioned device still includes: the second message display module is used for receiving second messages sent by other terminal equipment except the terminal equipment and displaying the received second messages in the message display area; and the partial content display cancellation module is used for responding to the withdrawal instruction aiming at the partial content in the second message and canceling the display of the partial content in the second message on the graphical user interface.
Said second message including at least one character set; the character group corresponds to a preset mark; the withdrawing instruction comprises a target identification corresponding to the partial content; the partial content display cancellation module is further configured to: and canceling the display of the character set corresponding to the target identifier in the second message on the graphical user interface.
The embodiment also provides an electronic device, which comprises a processor and a memory, wherein the memory stores machine executable instructions capable of being executed by the processor, and the processor executes the machine executable instructions to realize the message processing method.
Referring to fig. 9, the electronic device includes a processor 100 and a memory 101, where the memory 101 stores machine executable instructions capable of being executed by the processor 100, and the processor 100 executes the machine executable instructions to implement the message processing method.
Further, the electronic device shown in fig. 9 further includes a bus 102 and a communication interface 103, and the processor 100, the communication interface 103, and the memory 101 are connected through the bus 102.
The Memory 101 may include a Random Access Memory (RAM) and a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used. The bus 102 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 9, but this does not indicate only one bus or one type of bus.
Processor 100 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 100. The Processor 100 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in ram, flash, rom, prom, or eprom, registers, etc. as is well known in the art. The storage medium is located in the memory 101, and the processor 100 reads the information in the memory 101 and completes the steps of the method of the foregoing embodiment in combination with the hardware thereof.
The present embodiments also provide a machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the message processing method described above.
The message processing method, the message processing apparatus, and the electronic device provided in the embodiments of the present invention include a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, which are not described herein again.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working process of the system and the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood in specific cases for those skilled in the art.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that the following embodiments are merely illustrative of the present invention, and not restrictive, and the scope of the present invention is not limited thereto: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (14)

1. A message processing method is characterized in that a graphical user interface is provided through a terminal device; the graphical user interface includes a message display area; the method comprises the following steps:
displaying a first message which is transmitted in the message display area in response to a transmission operation for the first message;
determining target content in the first message in response to a target selection operation for the first message;
and canceling the display of the target content in the message display area.
2. The method of claim 1, further comprising:
and converting the current display format of the target content into a preset first display format according to the target selection operation, and displaying the target content in the first display format.
3. The method of claim 1, wherein after determining the target content in the first message in response to the target selection operation for the first message, the method further comprises:
and displaying a withdrawal option control corresponding to the target content.
4. The method of claim 3, wherein the de-displaying the target content in the message display area comprises:
and canceling the display of the target content in the message display area in response to the touch operation aiming at the withdrawal option control.
5. The method of claim 1, wherein the de-displaying the target content in the message display area comprises:
and canceling the display of the target content in the message display area in response to a deletion instruction.
6. The method of claim 3, wherein the target content comprises at least one group of characters; the character group is divided according to semantic association among characters; the withdrawal option control comprises a text withdrawal control corresponding to the character group;
the step of displaying the revocation option control corresponding to the target content includes:
and for each character group in the target content, displaying a text withdrawal control corresponding to the character group at a specified position of a display area of the character group.
7. The method of claim 1, wherein the target content comprises a target picture; the target selection operation comprises a long press operation;
in response to a target selection operation for the first message, determining target content in the first message includes:
and determining the target picture as the target content in response to the long press operation aiming at the target picture.
8. The method of claim 1, wherein the first message comprises a voice message; the voice message is displayed in the message display area through the corresponding display control;
in response to a target selection operation for the first message, determining target content in the first message includes:
responding to the long-press operation of the display control corresponding to the voice message, and displaying the text content corresponding to the voice message;
and determining the partial content as the target content in the first message in response to a specified trigger operation aiming at the partial content in the text content.
9. The method of claim 4, wherein the first message comprises a voice message; the target content comprises partial content of text content corresponding to the voice message; the voice message is displayed in the message display area through the corresponding display control; the display control displays the voice duration corresponding to the voice message;
the step of canceling the display of the target content in the message display area in response to the touch operation directed to the withdrawal option control includes:
canceling the display of the target content in the display area of the text content in response to the triggering operation aiming at the withdrawal option control;
deleting the voice content corresponding to the target content from the voice content corresponding to the voice message to obtain an updated voice message;
displaying the updated voice message through the display control; and the voice duration displayed by the display control is matched with the voice content of the updated voice message.
10. The method of claim 1, further comprising:
receiving second messages sent by other terminal devices except the terminal device, and displaying the received second messages in the message display area;
and in response to the withdrawing instruction aiming at the partial content in the second message, canceling the display of the partial content in the second message on the graphical user interface.
11. The method of claim 9, wherein the second message comprises at least one group of characters; the character group corresponds to a preset identification; the withdrawing instruction comprises a target identification corresponding to the part of the content;
the step of canceling the display of the part of the content corresponding to the command in the second message in the graphical user interface comprises:
and canceling the display of the character set corresponding to the target identification in the second message on the graphical user interface.
12. A message processing device is characterized in that a graphical user interface is provided through a terminal device; the graphical user interface includes a message display area; the device comprises:
a first message display module, configured to display a first message that has been sent in the message display area in response to a sending operation for the first message;
a target content determination module, configured to determine a target content in the first message in response to a target selection operation for the target content in the first message;
and the target content display canceling module is used for canceling the display of the target content in the message display area.
13. An electronic device comprising a processor and a memory, the memory storing machine executable instructions executable by the processor, the processor executing the machine executable instructions to implement the message processing method of any one of claims 1 to 11.
14. A machine-readable storage medium having stored thereon machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement the message processing method of any of claims 1-11.
CN202210632839.1A 2022-06-06 2022-06-06 Message processing method and device and electronic equipment Pending CN115220619A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210632839.1A CN115220619A (en) 2022-06-06 2022-06-06 Message processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210632839.1A CN115220619A (en) 2022-06-06 2022-06-06 Message processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN115220619A true CN115220619A (en) 2022-10-21

Family

ID=83607934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210632839.1A Pending CN115220619A (en) 2022-06-06 2022-06-06 Message processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN115220619A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547637A (en) * 2018-11-30 2019-03-29 努比亚技术有限公司 A kind of message treatment method of mobile terminal, mobile terminal and storage medium
CN109688042A (en) * 2017-10-18 2019-04-26 阿里巴巴集团控股有限公司 A kind of message treatment method and device
CN111913625A (en) * 2020-08-20 2020-11-10 网易(杭州)网络有限公司 Message processing method and device and electronic equipment
CN112565063A (en) * 2020-12-11 2021-03-26 维沃移动通信有限公司 Message processing method and device and electronic equipment
WO2021083088A1 (en) * 2019-10-28 2021-05-06 维沃移动通信有限公司 Message display method and terminal device
CN113518026A (en) * 2021-03-25 2021-10-19 维沃移动通信有限公司 Message processing method and device and electronic equipment
CN113660153A (en) * 2021-06-29 2021-11-16 阿里巴巴新加坡控股有限公司 Message processing method, device, equipment and storage medium
CN113992615A (en) * 2021-10-26 2022-01-28 维沃移动通信有限公司 Display method and device of withdrawal message, electronic equipment and storage medium
CN114338584A (en) * 2022-01-11 2022-04-12 平安科技(深圳)有限公司 Message withdrawing method and message transmission system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109688042A (en) * 2017-10-18 2019-04-26 阿里巴巴集团控股有限公司 A kind of message treatment method and device
CN109547637A (en) * 2018-11-30 2019-03-29 努比亚技术有限公司 A kind of message treatment method of mobile terminal, mobile terminal and storage medium
WO2021083088A1 (en) * 2019-10-28 2021-05-06 维沃移动通信有限公司 Message display method and terminal device
CN111913625A (en) * 2020-08-20 2020-11-10 网易(杭州)网络有限公司 Message processing method and device and electronic equipment
CN112565063A (en) * 2020-12-11 2021-03-26 维沃移动通信有限公司 Message processing method and device and electronic equipment
CN113518026A (en) * 2021-03-25 2021-10-19 维沃移动通信有限公司 Message processing method and device and electronic equipment
CN113660153A (en) * 2021-06-29 2021-11-16 阿里巴巴新加坡控股有限公司 Message processing method, device, equipment and storage medium
CN113992615A (en) * 2021-10-26 2022-01-28 维沃移动通信有限公司 Display method and device of withdrawal message, electronic equipment and storage medium
CN114338584A (en) * 2022-01-11 2022-04-12 平安科技(深圳)有限公司 Message withdrawing method and message transmission system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
林小虹;: "说出去的话真的覆水能收吗――微信消息撤回功能覆水难收", 新闻研究导刊, no. 09, 10 May 2019 (2019-05-10), pages 51 - 52 *

Similar Documents

Publication Publication Date Title
KR102255138B1 (en) Message processing method and device, storage medium, and computer device
KR101301794B1 (en) Method for providing instant messaging service using dynamic emoticon and mobile phone therefor
TW202110143A (en) Method and device for displaying reply message
CN113300938B (en) Message sending method and device and electronic equipment
JP2005196780A (en) Apparatus and method for processing message using avatar in portable terminal
CN109939445B (en) Information processing method and device, electronic equipment and storage medium
CN108268147B (en) Input method based calculation processing method, device and equipment
CN110704647B (en) Content processing method and device
CN105426103A (en) Message editing method and device on mobile terminal
CN112565063B (en) Message processing method and device and electronic equipment
CN114500432A (en) Session message transceiving method and device, electronic equipment and readable storage medium
US20230032666A1 (en) Data transmission method and apparatus, terminal, and storage medium
CN112711366A (en) Image generation method and device and electronic equipment
WO2022156668A1 (en) Information processing method and electronic device
CN110083467B (en) Method and device for processing applet message and computer storage medium
EP4243427A1 (en) Video generation method and apparatus, device, and storage medium
JP6636604B2 (en) Emotion text display program, method and system
CN112163432A (en) Translation method, translation device and electronic equipment
CN109656995B (en) Data export method, device, terminal, server and storage medium
CN112035206A (en) Message processing method and device
CN111641551A (en) Voice playing method, voice playing device and electronic equipment
CN115220619A (en) Message processing method and device and electronic equipment
CN113282268B (en) Sound effect configuration method and device, storage medium and electronic equipment
CN112383666B (en) Content sending method and device and electronic equipment
JP6454106B2 (en) Emotional text display program, method and system

Legal Events

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