A message processing method, device and machine-readable storage medium
By displaying the statement triggering identifier and obtaining the statement information in the message interaction interface of instant Internet communication, the problem of users being unable to handle the withdrawn message is solved, the interaction and richness of the chat interface is increased, and illegal statement information is restricted through the verification mechanism.
Patent Information
- Application Number
- CN202111155068.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-29
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2041-09-29
AI Technical Summary
In instant Internet communication, users cannot process the withdrawn messages, resulting in the chat process being too rigid.
When a message withdrawal event is detected in the message interaction interface, display the statement trigger logo, obtain and display the statement information, allowing users to enter or select text or picture statement information through the statement interface.
It solves the problem that users cannot process the withdrawn messages, increases the interactivity and richness of the chat interface, and restricts illegal statement information through verification mechanisms.
Smart Images

Figure CN113835907B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the fields of Internet and communications, and in particular to a message processing method, device and machine-readable storage medium. Background Art
[0002] With the development of the Internet, Internet instant messaging is also expanding towards mobile. Many major instant messaging providers provide services for accessing Internet instant messaging through mobile phones, and users can send and receive messages through their mobile phones with other mobile phones or computers that have installed the corresponding client software.
[0003] However, most users often accidentally send the wrong message when sending messages. When this happens, the current solution is that the user who sent the message can withdraw the message and display a prompt similar to "Your friend withdrew a message" on the chat interface. Although this method solves the problem of user misoperation, as a contact, receiving a prompt message during the chat process may arouse the curiosity of the contact. At this time, the contact can only choose to ignore the withdrawn message and cannot process the withdrawn message, making the social process too rigid. Summary of the invention
[0004] In response to the above problems, the present application provides a message processing method, device and storage medium to solve the problem of being unable to process withdrawn messages.
[0005] The technical solution provided in the embodiment of the present application is a message processing method, comprising:
[0006] When a message withdrawal event is detected in the message interaction interface, a trigger mark for the message withdrawal event is displayed in the message interaction interface;
[0007] Acquire statement information for the message withdrawal event according to the statement trigger identifier;
[0008] The statement information is displayed in the message interaction interface.
[0009] Optionally, the displaying of a triggering mark for the message withdrawal event includes:
[0010] The statement trigger identifier for the message withdrawal event and the message withdrawal indication for indicating that the message withdrawal event has occurred are displayed in association.
[0011] Optionally, the acquiring, according to the statement trigger identifier, statement information for the message withdrawal event includes:
[0012] When a target operation instruction for the expression trigger identifier is detected, an expression interface is output;
[0013] The statement information for the message withdrawal event is obtained through the statement interface.
[0014] Optionally, the statement interface includes a text information input box;
[0015] The acquiring, through the statement interface, the statement information for the message withdrawal event includes:
[0016] Acquire the text statement information input through the text information input box.
[0017] Optionally, the statement interface includes a text message quick reply list;
[0018] The acquiring, through the statement interface, the statement information for the message withdrawal event includes:
[0019] According to the detected selection instruction for the target text information in the text message quick reply list, the target text information is determined as the statement information for the message withdrawal event.
[0020] Optionally, the statement interface includes a text message quick reply list;
[0021] The acquiring, through the statement interface, the statement information for the message withdrawal event includes:
[0022] According to the detected selection instruction for the target text information in the text message quick reply list, the target text information is determined as the statement information for the message withdrawal event.
[0023] Optionally, the expression interface includes a button for adding picture information;
[0024] The acquiring, through the statement interface, the statement information for the message withdrawal event includes:
[0025] Obtain the picture statement information selected by the picture information adding button.
[0026] Optionally, the expression interface includes a quick reply list of picture information;
[0027] The acquiring, through the statement interface, the statement information for the message withdrawal event includes:
[0028] According to the detected selection instruction for the target picture information in the picture information quick reply list, the target picture information is determined as the statement information for the message withdrawal event.
[0029] Optionally, before displaying the statement information in the message interaction interface, the method further includes: verifying the statement information;
[0030] If the verification passes, it is determined to execute the operation of displaying the statement information in the message interaction interface.
[0031] Optionally, after verifying the statement information, the method further includes:
[0032] If the verification fails, a prompt message indicating that the verification failed is output.
[0033] Optionally, displaying the statement information in the message interaction interface includes:
[0034] The statement information is displayed in the message interaction interface in the form of a special graphic, and the special graphic includes the statement information.
[0035] Optionally, when a message withdrawal event is detected in the message interaction interface, the method further includes:
[0036] Recording the location coordinates of a message withdrawal indication for indicating that a message withdrawal event has occurred;
[0037] After displaying the statement information in the message interaction interface, the method further includes:
[0038] Displaying a prompt mark for the message withdrawal instruction below the statement information;
[0039] When a click instruction for the prompt mark is detected, jump to the position coordinates of the message withdrawal indication.
[0040] The present application also provides an electronic device, wherein the electronic device includes:
[0041] one or more processors;
[0042] A machine-readable storage medium for storing one or more computer-readable instructions,
[0043] When the one or more computer-readable instructions are executed by the one or more processors, the one or more processors implement the method as described in the first aspect of the present application.
[0044] The present application also provides a machine-readable storage medium on which a program is stored. When the program is executed by a processor, the method described in the present application is implemented.
[0045] It can be seen from the above technical solution that in the present application, when it is detected that a message is withdrawn, a statement trigger mark is displayed on the information interaction interface where the message is detected to be withdrawn, and the user expresses his or her opinion on the withdrawn message based on the statement trigger mark, thereby solving the problem that the user cannot process the withdrawn message.
[0046] Furthermore, in the present application, when a statement trigger mark is displayed on the information interaction interface when it is detected that a message has been withdrawn, the user can also enter the statement page according to the statement trigger mark, and publish text statement information and picture statement information for the withdrawn message on the statement page, thereby enriching the statement information, verifying the statement information, and restricting some illegal statement information. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0048] Figure 1 A method flow chart of an embodiment of the present application;
[0049] Figure 2 A method flow chart of another embodiment of the present application;
[0050] Figure 3-9 A schematic diagram of an embodiment of the present application;
[0051] Fig.10 This is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0052] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0053] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0054] In order to enable those skilled in the art to better understand the technical solutions provided by the embodiments of the present application and to make the above-mentioned purposes, features and advantages of the embodiments of the present application more obvious and understandable, the technical solutions in the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings.
[0055] The present application provides a message processing method for solving the problem that users cannot process withdrawn messages in a message interaction interface.
[0056] like Figure 1 As shown, the method may include the following steps:
[0057] Step S101: when a message withdrawal event is detected in a message interaction interface, a statement trigger mark for the message withdrawal event is displayed in the message interaction interface.
[0058] In this embodiment, the message interaction interface can be a chat interface of a chat group. The specific solution is: in a chat interface of a chat group, when the system detects that a user withdraws a sent message, a text prompt message similar to "Your friend has withdrawn a message" is displayed in the above chat interface. This solution creates a statement trigger identifier for the text prompt message.
[0059] For example, the above-mentioned expression trigger mark can be a bubble, or another obvious mark, which is not limited in this application.
[0060] Optionally, in this embodiment, a statement trigger identifier for the message withdrawal event and a message withdrawal indication for indicating that the message withdrawal event has occurred may be displayed in association.
[0061] For example, the statement trigger for the message withdrawal event is identified as a bubble, and the text prompt displayed for the message withdrawal event is identified as "Your friend withdrew a message". The bubble can be placed behind the text prompt to remind the user that the bubble is associated with the text prompt.
[0062] Step S102: acquiring statement information for the message withdrawal event according to the statement trigger identifier.
[0063] In this embodiment, the user can directly express his attitude towards the message withdrawal event in the chat interface according to the expression trigger mark. In this step, there are many ways to directly evaluate the message withdrawal event. Specifically, the user can click the expression trigger mark to directly send a system-set expression message, which can be a paragraph of text or a picture, for expressing his attitude towards the above-mentioned message withdrawal event.
[0064] In addition, the method may also be that the user clicks on the statement trigger mark, and a drop-down selection box pops up on the chat interface. The drop-down selection box may contain multiple system-set text or picture information. After the user selects the information in the drop-down selection box, the system obtains the information in the drop-down selection box selected by the user as the statement information.
[0065] It can be seen that the above two methods can both achieve obtaining the statement information for the message withdrawal event according to the statement trigger identifier.
[0066] Optionally, when a target operation instruction for the statement trigger mark is detected, a statement interface is output. Statement information for the message withdrawal event is obtained through the statement interface. The statement interface may include a text information input box, and the content input in the text information input box is obtained as text statement information.
[0067] Optionally, the expression interface may include a text message quick reply list, and the quick reply information in the text message quick reply list may be system settings or text messages saved by the user. There are many specific methods for generating a text message quick reply list.
[0068] For example, the system can set multiple text messages as the text message quick reply list, but this method will make the text quick reply information in the text message quick reply list unable to be modified, which will appear rather rigid. For optimization, the system can pre-create a text message quick reply library with multiple different text quick reply messages in the library, and randomly select multiple of them as the text message quick reply list every day.
[0069] For another example, there is an edit button on the quick reply list, through which the user can add, modify, delete, and perform other operations on the quick reply information in the quick reply list.
[0070] Optionally, the statement interface may include a picture information adding button, and a picture added by the picture information adding button is obtained as the picture statement information.
[0071] Among them, the above-mentioned picture information adding button can be a direct reference to the system control, and after clicking it, it jumps to the interface of shooting and selecting local pictures. It can also be designed separately in this solution, and is not specifically limited in this embodiment.
[0072] Optionally, the expression interface may include a quick reply list of picture messages, and the quick reply information in the quick reply list of picture messages may be system settings or picture messages saved by the user. The specific method of generating the quick reply list of picture messages may refer to the method of generating the quick reply list of text messages, which will not be described in detail here.
[0073] It should be noted that the text information input box, text information quick reply list, picture information addition button, and picture information quick reply list in the above-mentioned statement interface can exist in multiple forms at the same time, and the statement information can also be a combination of pictures and text.
[0074] Step S103: display the statement information in the message interaction interface.
[0075] In this embodiment, after the system obtains the statement information used to express the withdrawn event, there are many ways to display the statement information in the message interaction interface, such as directly displaying the evaluation information at the withdrawn information, or displaying an icon on the message interaction interface to prompt that there is a statement information here, and the specific content of the evaluation information is displayed only after clicking.
[0076] Optionally, the statement information is displayed in the message interaction interface in the form of a special graphic, and the special graphic contains the statement information. The special graphic can be an upward floating bubble or other lively graphics, which can clearly show the statement content and increase the fun of users when chatting.
[0077] Optionally, when a message withdrawal event is detected to have occurred in the message interaction interface, the position coordinates of the message withdrawal indication used to indicate that the message withdrawal event has occurred are recorded.
[0078] After the statement information is displayed in the message interaction interface, a prompt mark indicating the message withdrawal is displayed below the statement information.
[0079] When a click instruction for the prompt mark is detected, jump to the position coordinates of the message withdrawal indication.
[0080] In this embodiment, when a message withdrawal event occurs, the location coordinates of the message withdrawal indication used to indicate that the message withdrawal event has occurred may be recorded.
[0081] For example, the message withdrawal indication is a prompt message of "XX withdrew a message", and the location coordinates recorded in the above embodiment are the location coordinates of the above prompt message.
[0082] The above-mentioned instruction to withdraw the message, that is, the prompt mark for the prompt message, may be a prompt bubble, and the bubble includes the prompt message.
[0083] In this embodiment, the method for jumping to the location coordinates of the message withdrawal indication is to click on the prompt bubble containing "XX withdrew a message".
[0084] Exemplarily, the method of jumping to the location coordinates of the message withdrawal indication may also be by clicking on the statement information for the message withdrawal event.
[0085] Exemplarily, after the statement trigger mark for the message withdrawal event is displayed in the message interaction interface, the users in the chat group make a statement regarding the message withdrawal event. When it is detected that the user clicks on the statement information regarding the message withdrawal event, the program jumps to the location coordinates of the message withdrawal indication.
[0086] So far, completed Figure 1 The process shown.
[0087] In this embodiment, when a message withdrawal event occurs in the chat interface of the chat group, users in the chat group can reply to the message withdrawal event with text or pictures, solving the problem that users cannot process the withdrawn messages in the message interaction interface.
[0088] In another embodiment of the present application, the statement information can also be verified. The specific process is as follows: Figure 2 As shown:
[0089] S201-S202 refer to S101-S102 and will not be repeated here.
[0090] S203: verify the statement information.
[0091] In this embodiment, there are many verification methods, and several verification methods are listed below:
[0092] Method 1: Before step S203, the statement information can be verified, such as verifying the input information in the text information input box, for example, setting emoticons and special characters that do not meet the requirements, or limiting the length of input characters, etc. If the verification fails, a prompt will be given directly in the statement interface after the information input is completed.
[0093] Method 2: First build a sensitive word library, or directly reference an existing third-party sensitive word library. After obtaining the text statement information for the message withdrawal event, check the text statement information based on the sensitive word library. If the check finds that the above text statement information contains sensitive words, it is judged that the detection fails, and a text prompt or pop-up prompt is given.
[0094] Method 3: Check the picture information. When the statement information for the message withdrawal event contains picture information, the format and size of the picture can be checked, or the picture content can be checked to see if it violates the law. If the check fails, a corresponding prompt is given.
[0095] It should be noted that there are many verification methods, which cannot be regarded as a limitation of the present application. The above-mentioned verification methods may also exist in multiples at the same time.
[0096] In this embodiment, when the status information fails to be verified, step S203b is executed to give a prompt indicating that the verification fails.
[0097] When the statement information is verified, step S204 is executed to display the statement information in the chat interface of the chat group.
[0098] S204 refers to S103 and will not be described in detail here.
[0099] So far, Figure 2 The steps of the embodiment have all been completed.
[0100] In this embodiment, when a message withdrawal event occurs in the message interaction interface, users in the interface can express their opinions on the message withdrawal event in text or pictures, which solves the problem that users cannot process the withdrawn messages in the message interaction interface, and also verifies the expression information.
[0101] The following is a specific example Figure 2 The process shown:
[0102] by Figure 3-9 As shown:
[0103] like Figure 3 As shown, the message interaction interface is the chat interface of the chat group. When a user in the chat group withdraws a sent message, a statement bubble is created behind the prompt message of the withdrawal event "XX withdrew a message". If a user in the chat group clicks on the bubble, the user who clicks the bubble will jump to the statement interface.
[0104] The state interface is as follows Figure 4 , 5 As shown in , 6, and 7, it includes a text message input box, a text message quick reply list, a picture message add button, and a picture message quick reply list. Figure 5 As shown, when it is detected that the user clicks on customize, the hidden text information input box is displayed, and then the content input in the text information input box is received as text statement information.
[0105] The method of generating a text message quick reply list is as follows Figure 6 , 7 As shown, Figure 6 Enter the text "Oops, there is some information that cannot be viewed" in the text information input box. Figure 7 Add "Oops, there is some information that you can't read" to the list of quick replies to text messages.
[0106] Similarly, the picture statement information is obtained through the picture information add button, and the picture selected in the picture information add button is added to the picture information quick reply list.
[0107] In this embodiment, after the statement information is obtained, the statement information may be verified. If the verification fails, a prompt is given in the statement interface.
[0108] After obtaining the statement information:
[0109] like Figure 8 As shown, text statement information is displayed in the group chat interface.
[0110] like Fig. 9 As shown, the picture expression information is displayed in the group chat interface.
[0111] Users can click on the above text statement information or picture statement information to jump to the corresponding withdrawn message.
[0112] This completes the description of this embodiment.
[0113] The present application also provides an electronic device, wherein the electronic device includes:
[0114] one or more processors;
[0115] A machine-readable storage medium for storing one or more computer-readable instructions,
[0116] When the one or more computer-readable instructions are executed by the one or more processors, the one or more processors implement the method as described in the embodiment of the first aspect of the present application.
[0117] The above-mentioned message processing method embodiment of the present application can be applied to electronic devices. Taking software implementation as an example, the processor of the electronic device in which it is located reads the corresponding computer program instructions in the non-volatile memory into the memory and runs them to implement an embodiment of the message processing method of the present application. From the hardware level, such as Fig.10 As shown, Fig.10 is a hardware structure diagram of an electronic device according to an exemplary embodiment of the present application, except Fig.10 In addition to the processor 610 , memory 630 , interface 620 , and non-volatile memory 640 shown, the electronic device may also include other hardware according to the actual functions of the electronic device, which will not be described in detail.
[0118] The present application also provides a machine-readable storage medium on which a program is stored. When the program is executed by a processor, the message processing method as described in any one of the aforementioned embodiments is implemented.
[0119] Exemplarily, the above-mentioned machine-readable storage medium can be any electronic, magnetic, optical or other physical storage device that can contain or store information, such as executable instructions, data, etc. For example, the machine-readable storage medium can be: RAM (Radom Access Memory), volatile memory, non-volatile memory, flash memory, storage drive (such as hard disk drive), solid state drive, any type of storage disk (such as CD, DVD, etc.), or similar storage medium, or a combination thereof.
[0120] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, a game console, a tablet computer, a wearable device or a combination of any of these devices.
[0121] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0122] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0123] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0124] Moreover, these computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0125] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0126] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A message processing method, characterized in that: The method is applied to a receiving end device, and the method comprises: When a message withdrawal event is detected in a message interaction interface, a trigger mark for the message withdrawal event and a message withdrawal indication indicating that the message withdrawal event has occurred are displayed in association in the message interaction interface; the message withdrawal event refers to an event in which a sending end device withdraws a sent message; Acquire statement information for the message withdrawal event according to the statement trigger identifier; the statement information refers to the reply information of the receiving end device to the message withdrawal event; The statement information is displayed in the message interaction interface; the statement information is displayed in association with the message withdrawal indication for indicating that a message withdrawal event has occurred.
2. The method according to claim 1, characterized in that The acquiring, according to the statement trigger identifier, statement information for the message withdrawal event includes: When a target operation instruction for the expression trigger identifier is detected, an expression interface is output; The statement information for the message withdrawal event is obtained through the statement interface.
3. The method according to claim 2, characterized in that The expression interface includes a text information input box; The acquiring, through the statement interface, the statement information for the message withdrawal event includes: Acquire the text statement information input through the text information input box.
4. The method according to claim 2, characterized in that: The expression interface includes a text message quick reply list; The acquiring, through the statement interface, the statement information for the message withdrawal event includes: According to the detected selection instruction for the target text information in the text message quick reply list, the target text information is determined as the statement information for the message withdrawal event.
5. The method according to claim 2, characterized in that: The expression interface includes a button for adding picture information; The acquiring, through the statement interface, the statement information for the message withdrawal event includes: Obtain the picture statement information selected by the picture information adding button.
6. The method according to claim 2, characterized in that The expression interface includes a quick reply list of picture information; The acquiring, through the statement interface, the statement information for the message withdrawal event includes: According to the detected selection instruction for the target picture information in the picture information quick reply list, the target picture information is determined as the statement information for the message withdrawal event.
7. The method according to claim 1, characterized in that Before displaying the statement information in the message interaction interface, the method further includes: verifying the statement information; If the verification passes, it is determined to execute the operation of displaying the statement information in the message interaction interface.
8. The method according to claim 7, characterized in that After verifying the statement information, the method further includes: If the verification fails, a prompt message indicating that the verification failed is output.
9. The method according to claim 1, characterized in that: The displaying of the statement information in the message interaction interface includes: The statement information is displayed in the message interaction interface in the form of a special graphic, and the special graphic includes the statement information.
10. The method according to claim 1, characterized in that When a message withdrawal event is detected in the message interaction interface, the method further includes: Recording the location coordinates of a message withdrawal indication for indicating that a message withdrawal event has occurred; After displaying the statement information in the message interaction interface, the method further includes: Displaying a prompt mark for the message withdrawal instruction below the statement information; When a click instruction for the prompt mark is detected, jump to the position coordinates of the message withdrawal indication.
11. An electronic device, characterized in that: The electronic device includes: one or more processors; A machine-readable storage medium, used for storing one or more computer-readable instructions, when the one or more computer-readable instructions are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1-10.
12. A machine-readable storage medium, characterized in that: A program is stored thereon, and when the program is executed by a processor, the message processing method according to any one of claims 1 to 10 is implemented.
Citation Information
Patent Citations
Instant messaging information processing method and apparatus, and storage medium
CN108566332A