Message display method, device, electronic device and medium
By receiving user input on an electronic device and updating the message display form to indicate the withdrawal status, the problem of inappropriate messages cannot be withdrawn in group chats is solved, and the convenience and user experience of chat are improved.
Patent Information
- Application Number
- CN202211350316.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-31
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2042-10-31
AI Technical Summary
When using electronic devices for group chat, users may find that they have sent inappropriate messages after a long time, which causes the electronic devices to be unable to withdraw the message, reducing the convenience of chat.
By receiving input from the user, the display form of the first message is updated as a target display form indicating that the message is in the revoked state, thereby allowing the user to trigger the revocation of the message, even if the message is sent by another contact.
Reduces misunderstandings and adverse effects caused by inability to withdraw messages, improves the convenience of group chats, and allows users to handle inappropriate messages more quickly.
Smart Images

Figure CN115665079B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of terminal technology, and specifically relates to a message display method, device, electronic device and medium. Background Art
[0002] Typically, in a scenario where a user uses an electronic device to conduct a group chat in a certain group, if the user has triggered the electronic device to send an inappropriate message in the certain group, the user can input the inappropriate message in the chat interface of the certain group within a predetermined time so that the electronic device can withdraw the inappropriate message, thereby reducing misunderstandings among the message recipients.
[0003] However, since it may take a long time for the user to discover that the electronic device has been triggered to send an inappropriate message in a group, it may be impossible for the electronic device to withdraw the inappropriate message.
[0004] Therefore, the convenience of using electronic devices for group chatting is poor. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a message display method, device, electronic device and medium, which can solve the problem of poor convenience when using electronic devices for group chatting.
[0006] In a first aspect, an embodiment of the present application provides a message display method, applied to a first electronic device, the method comprising: receiving a first input from a user for a first message, the first message being a message sent by a first contact in a first conversation group; in response to the first input, updating the display form of the first message to a target display form, the target display form being used to indicate that the first message is in a withdrawn state; wherein the contact corresponding to the first electronic device is different from the first contact.
[0007] In a second aspect, an embodiment of the present application provides a message display device, which is a first message display device, and the first message display device includes: a receiving module and an updating module. The receiving module is used to receive a first input of a user to a first message, and the first message is a message sent by a first contact in a first conversation group. The updating module is used to update the display form of the first message to a target display form in response to the first input received by the receiving module, and the target display form is used to indicate that the first message is in a withdrawn state. The contact corresponding to the first message display device is different from the first contact.
[0008] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0009] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0010] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0011] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
[0012] In an embodiment of the present application, the first electronic device can update the display form of the first message to a target display form indicating that the first message is in a withdrawn state according to the first input of the user to the first message (the first message is a message sent by the first contact in the first conversation group); wherein the contact corresponding to the first electronic device is different from the first contact. Since the first electronic device can update the display form of the first message sent by the first contact to a target display form indicating that the first message is in a withdrawn state according to the first input of the user to the first message, that is, the first electronic device can be triggered by the user to withdraw the first message sent by the first contact. Therefore, the situation where the electronic device corresponding to the first contact cannot withdraw the first message after a long time can be reduced, thereby reducing the situation where the first message has an adverse effect on the message recipient and the first contact, thereby improving the convenience of using electronic devices for group chats. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 This is one of the flowcharts of the message display method provided in the embodiment of the present application;
[0014] Figure 2 This is the second flow chart of the message display method provided in the embodiment of the present application;
[0015] Figure 3 This is one of the schematic diagrams of the conversation interface of the first conversation group provided in the embodiment of the present application;
[0016] Figure 4 This is the third flow chart of the message display method provided in the embodiment of the present application;
[0017] Figure 5 This is a second schematic diagram of a conversation interface of a first conversation group provided in an embodiment of the present application;
[0018] Figure 6 This is the fourth flow chart of the message display method provided in the embodiment of the present application;
[0019] Figure 7 This is a third schematic diagram of a conversation interface of a first conversation group provided in an embodiment of the present application;
[0020] Figure 8 This is the fifth flow chart of the message display method provided in the embodiment of the present application;
[0021] Fig. 9 This is the sixth flow chart of the message display method provided in the embodiment of the present application;
[0022] Fig.10 This is the seventh flow chart of the message display method provided in the embodiment of the present application;
[0023] Fig.11 This is a fourth schematic diagram of a conversation interface of a first conversation group provided in an embodiment of the present application;
[0024] Fig.12 is one of the schematic diagrams of the conversation interface of the second conversation group provided in the embodiment of the present application;
[0025] Fig.13 This is a second schematic diagram of a conversation interface of a second conversation group provided in an embodiment of the present application;
[0026] Fig.14 It is a structural schematic diagram of a message display device provided in an embodiment of the present application;
[0027] Fig.15 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0028] Fig.16 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0029] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0030] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0031] The message display method, device, electronic device and medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
[0032] Figure 1 FIG. 1 is a flow chart of a message display method provided by an embodiment of the present application. Figure 1 As shown, a message display method provided in an embodiment of the present application may include the following steps 101 and 102.
[0033] Step 101: A first electronic device receives a first input of a user for a first message.
[0034] In the embodiment of the present application, the first message is a message sent by a first contact in the first conversation group, and the contact corresponding to the first electronic device is different from the first contact.
[0035] Optionally, in an embodiment of the present application, when the first electronic device opens an instant messaging application, the first electronic device can display a conversation interface of a first conversation group of the instant messaging application, so that the user can set the first conversation group to make the messages in the first conversation group in a revocable mode, so that the user can make a first input to the first message.
[0036] It should be noted that “the first conversation group is in the revocable mode” can be understood as: the user can input a message in the first conversation group, so that the first electronic device can update the display form of the message to the target display form.
[0037] Optionally, in the embodiment of the present application, the contact corresponding to the first electronic device may be a contact authorized by the first contact.
[0038] Further optionally, in the embodiment of the present application, when the electronic device corresponding to the first contact grants the contact corresponding to the first electronic device a withdrawal permission, if the first conversation group is in a withdrawable mode, the user can make a first input to the first message.
[0039] Optionally, in an embodiment of the present application, the first message may be one or more messages sent by the first contact in the first conversation group, and the message content of the first message includes content that should not be sent, such as privacy information or published error notifications.
[0040] Optionally, in the embodiment of the present application, the first electronic device is an electronic device corresponding to any one contact in the first conversation group except the first contact.
[0041] Optionally, in an embodiment of the present application, the first input may be any one of the following: long press, single click, double click, etc.
[0042] Step 102: The first electronic device updates the display form of the first message to a target display form in response to the first input.
[0043] In the embodiment of the present application, the above-mentioned target display form is used to indicate that the first message is in a withdrawn state.
[0044] Optionally, in an embodiment of the present application, the display form of the first message refers to the display status of the content of the first message on the first electronic device, and the display status can be any one of the following: highlighted display, normal display, blurred and invisible, hidden display, etc.
[0045] Optionally, in the embodiment of the present application, the initial display form of the first message may be a normal display.
[0046] Optionally, in an embodiment of the present application, in the target display form, the content of the first message is in a blurred and invisible (or hidden display) display form on the first electronic device.
[0047] Optionally, in an embodiment of the present application, before updating the display format of the first message to the target display format, the first electronic device may send an instruction to the server of the instant messaging application, instructing the server to send indication information to the electronic devices corresponding to all contacts in the first conversation group, the indication information being used to instruct the first message on the electronic devices corresponding to all contacts in the first conversation group to be displayed in the target display format.
[0048] At this time, the first electronic device can overlay and display new content on the first message to prompt the display status of the first message and the contact who sets the display status, which is described in detail below.
[0049] Optionally, in the embodiment of the present application, combined with Figure 1 ,like Figure 2 As shown, the above step 102 can be specifically implemented through the following step 102a.
[0050] Step 102a: The first electronic device updates the first message content of the first message to the second message content.
[0051] In the embodiment of the present application, the second message content is used to indicate at least one of the following: the first message is in a withdrawn state, and the identifier of the contact person corresponding to the first electronic device.
[0052] Optionally, in the embodiment of the present application, the first message content is the content of the first message, which can be any one of the following: text, picture, website link, etc.
[0053] Optionally, in an embodiment of the present application, the first electronic device can send an instruction to the server of the instant messaging application in response to the first input, instructing to update the first message content of the first message in the first conversation group to the second message content, and the second message content will be synchronously updated and displayed on the conversation interface of the first conversation group corresponding to all contacts in the first conversation group.
[0054] Optionally, in an embodiment of the present application, the second message content may specifically indicate that the first message is in a withdrawn state through text content, for example, the text content is displayed as “the message is in an interrupted state”.
[0055] Optionally, in an embodiment of the present application, the second message content may further specifically indicate, through text content, the identifier of the contact corresponding to the first electronic device that set the first message to be in a withdrawn state. For example, the text content is displayed as “Interrupter: Mr. Li”.
[0056] For example, Figure 3 As shown in (a), the user corresponding to the first contact sets the first conversation group to support revocable messages on the corresponding electronic device. After switching to the revocable mode, the messages posted by the first contact in the first conversation group support revocable messages. If the first contact Xiao Wang sends a first message in the first conversation group, the first message content of the first message is "Wife, my bank card password is 456234", and he is not aware of it, such as Figure 3 Assume that Mr. Li, a contact in the first conversation group, finds this private message. He can long press the first message on the first electronic device, and the first message is in a withdrawn state, such as Figure 3 As shown in (c), in the withdrawn state, the first message content of the first message is updated and displayed as the second message content, and the second message content is the text content "The message is in an interrupted state, interrupted by: Mr. Li". At the same time, the second message content will be synchronously updated and displayed on the conversation interface of the first conversation group corresponding to all contacts in the first conversation group.
[0057] Thus, it can be seen that since the first electronic device can update the first message content of the first message to the second message content, the second message content can indicate that the first message is in a withdrawn state, thereby avoiding the first message content from affecting other group members. The second message content can also indicate the identifier of the contact corresponding to the first electronic device, thereby clearly setting the first message to the contact in a withdrawn state, thereby improving the convenience of using the first electronic device for group chat.
[0058] In the message display method provided in the embodiment of the present application, the first electronic device can update the display form of the first message to a target display form for indicating that the first message is in a withdrawn state according to the first input of the user to the first message (the first message is a message sent by the first contact in the first conversation group); wherein the contact corresponding to the first electronic device is different from the first contact. Since the first electronic device can update the display form of the first message sent by the first contact to a target display form for indicating that the first message is in a withdrawn state according to the first input of the user to the first message, that is, the first electronic device can be triggered by the user to withdraw the first message sent by the first contact, therefore, the situation where the electronic device corresponding to the first contact cannot withdraw the first message after a long time can be reduced, thereby reducing the situation where the first message has an adverse effect on the message recipient and the first contact, thereby improving the convenience of using electronic devices for group chats.
[0059] Of course, after a contact in the first conversation group modifies the display form of the first message on the first electronic device, the first contact may be notified and the first contact may process the first message again, which is described in detail below.
[0060] Optionally, in the embodiment of the present application, combined with Figure 1 ,like Figure 4 As shown, after the above step 102, the message display method provided in the embodiment of the present application may further include the following steps 201 to 204.
[0061] Step 201: A first electronic device sends a second message to a second electronic device.
[0062] In the embodiment of the present application, the second electronic device is an electronic device corresponding to the first contact, and the second message is used to remind the user that the first message is in a withdrawn state.
[0063] Optionally, in an embodiment of the present application, the second message includes first information, and the first information is used to instruct the second electronic device to display the first message content of the first message, the name of the conversation group where the first message is located, and the identification name of the contact person corresponding to the first electronic device, so that the second electronic device can view the first message content of the first message, the name of the conversation group where the first message is located, and the identification name of the contact person corresponding to the first electronic device according to the first information. In addition, the first information is also used to instruct the second electronic device to display at least one target identifier, each target identifier is used to indicate an operation, and at least one operation includes at least one of the following: cancel the withdrawal of the first message, do not cancel the withdrawal of the first message, contact the contact person corresponding to the first electronic device, and authorize the modification of the first message, and then the user of the second electronic device can input the at least one target identifier so that the second electronic device can send a third message to the first electronic device.
[0064] Optionally, in an embodiment of the present application, the second electronic device may display the first message content of the first message, the name of the conversation group to which the first message belongs, and the identification name of the contact corresponding to the first electronic device on the message display interface.
[0065] Among them, the message display interface includes a message display area and a first target identification area. The content displayed in the message display area includes the first message content of the first message, the name of the conversation group to which the first message belongs, and the identification name of the contact corresponding to the first electronic device; the content displayed in the first target identification area includes at least one target identification.
[0066] It can be understood that the first message content of the first message is used to remind the user of the second electronic device that the first message content is in a withdrawn state; the name of the conversation group where the first message is located is used to remind the first contact to quickly find the conversation group where the first message is located; and the identification name of the contact corresponding to the first electronic device is used to remind the first contact to quickly find the contact corresponding to the first electronic device.
[0067] For example, Figure 5 As shown, the message display interface of the second electronic device includes a message display area 11 and a first target identification area 12. Among them, the message display area 11 displays the first message content of the first message "Wife, my bank card password is 456234", the conversation group of the first message is "department group", and the contact person corresponding to the first electronic device is "Wang Zhi"; the first target identification area 12 displays the target identifications "Ignore interruption", "Agree to interruption" and "Contact interrupter". Among them, the target identification "Ignore interruption" is used to indicate not to cancel the withdrawal of the first message; the target identification "Agree to interruption" is used to indicate not to cancel the withdrawal of the first message; the target identification "Contact interrupter" is used to indicate to contact the contact person corresponding to the first electronic device.
[0068] Optionally, in an embodiment of the present application, a user of the second electronic device can input a target identifier in the first target identifier area on the second electronic device, so that the second electronic device can send an instruction to the server of the instant messaging application based on the input target identifier, instructing the server to send a third message to the first electronic device.
[0069] Further optionally, in the embodiment of the present application, the above-mentioned target input can be any one of the following: long press, single click, double click, etc.
[0070] Step 202: The first electronic device receives a third message sent by the second electronic device.
[0071] In this embodiment of the present application, the third message is used to indicate whether to cancel or withdraw the first message.
[0072] Optionally, in the embodiment of the present application, the third message may be an instruction message received from the second electronic device through the server, and the instruction message indicates whether to cancel the withdrawal of the first message.
[0073] Optionally, in an embodiment of the present application, the third message includes a first sub-message or a second sub-message, the first sub-message is an instruction message indicating cancellation of the withdrawal of the first message, and the second sub-message is an instruction message indicating not to cancel the withdrawal of the first message.
[0074] It can be understood that, when the third message includes the first sub-message, the third message indicates that the withdrawal of the first message is canceled; when the third message includes the second sub-message, the third message indicates that the withdrawal of the first message is not canceled.
[0075] Optionally, in an embodiment of the present application, the at least one target identifier includes a first target identifier and a second target identifier. The first target identifier indicates that the first message is canceled and withdrawn; the second target identifier indicates that the first message is not canceled and withdrawn. It can be understood that when the target input is the user's input to the first target identifier, the third message indicates that the first message is canceled and withdrawn, and when the target input is the user's input to the second target identifier, the third message indicates that the first message is not canceled and withdrawn.
[0076] Step 203: When the third message indicates cancellation of the withdrawal of the first message, the first electronic device restores the target display form to the initial display form.
[0077] Optionally, in an embodiment of the present application, when a user of the second electronic device inputs a target for a first target identifier on the second electronic device, the second electronic device may send an instruction to a server of an instant messaging application, instructing the server to send a first sub-message to the first electronic device.
[0078] Further optionally, in the embodiment of the present application, the first electronic device, in response to the first sub-message, restores the target display form of the first message to the initial display form, and the first electronic device can send an instruction to the server of the instant messaging application to instruct the server to send instruction information to the electronic devices corresponding to all contacts in the first conversation group, and the instruction information is used to instruct to display the first message in the initial display form. In the embodiment of the present application, the above-mentioned initial display form is: the display form of the first message before the display form is updated.
[0079] Optionally, in the embodiment of the present application, the initial display form may specifically be a normal display.
[0080] It can be understood that when the first message in the first conversation group is a message determined by the first contact to be sent and displayed, the first contact inputs a target for the first target identifier on the second electronic device to restore the display form of the first message to the initial display form.
[0081] Optionally, in an embodiment of the present application, after the first electronic device restores the target display form of the first message to the initial display form, it sends an instruction to the server to automatically set the first message to an irrevocable state so that other contacts in the first conversation group can no longer input a withdrawal of the first message.
[0082] Step 204: When the third message indicates that the first message is not to be withdrawn, the first electronic device modifies the first message content of the first message.
[0083] Optionally, in an embodiment of the present application, when a user of the second electronic device inputs a target for a second target identifier on the second electronic device, the second electronic device may send an instruction to a server of the instant messaging application, instructing the server to send a second sub-message to the first electronic device.
[0084] Further optionally, in an embodiment of the present application, the first electronic device sets the first message to a modifiable state in response to the second sub-message.
[0085] When the first message is in a modifiable state, other contacts in the first conversation group can modify the first message content of the first message through the first electronic device.
[0086] Thus, it can be seen that after the display form of the first message is updated to the target display form, the first electronic device can send a second message to the second electronic device to remind that the first message is in a withdrawn state, and the first electronic device can also receive a third message from the second electronic device to indicate whether to cancel the withdrawal of the first message, thereby determining according to the third message whether to restore the first message from the target display form to the initial display form or to modify the first message content of the first message, thereby increasing the interactive method of using electronic devices for group chats, thereby improving the convenience of using electronic devices for group chats.
[0087] Of course, when the first message is in a modifiable state, a user corresponding to a contact in the first conversation group can modify it directly through a message, which is described in detail below.
[0088] Optionally, in the embodiment of the present application, combined with Figure 4 ,like Figure 6 As shown, before "the first electronic device modifies the first message content of the first message" in the above step 204, the message display method provided by the embodiment of the present application may also include the following steps 301 to 303.
[0089] Step 301: When the third message indicates not to cancel the withdrawal of the first message, the first electronic device displays a first input box.
[0090] Optionally, in the embodiment of the present application, when the first message is in a modifiable state, a user corresponding to a contact in the first conversation group may perform a first target input on the display area of the first message through the first electronic device.
[0091] Further optionally, in the embodiment of the present application, the above-mentioned first target input can be any one of the following: single click, double click, long press, etc.
[0092] Further optionally, in an embodiment of the present application, the first electronic device displays a first input box in response to the first target input, and the first input box is used to modify the first message content of the first message to a third message content.
[0093] Further optionally, in the embodiment of the present application, the first input box may be specifically displayed in a floating manner on the conversation interface of the first conversation group.
[0094] Step 302: When the third message indicates that the first message is not to be withdrawn, the first electronic device receives a second input of the user inputting the third message content in the first input box.
[0095] Optionally, in an embodiment of the present application, the third message content may be content obtained by modifying the first message content of the first message.
[0096] It can be understood that when the first message is in a modifiable state, a user corresponding to a contact in the first conversation group who is granted the ability to withdraw the conversation message can modify the first message content of the first message to a third message content in the first input box of the first electronic device.
[0097] Step 303: When the third message indicates that the first message is not to be withdrawn, the first electronic device updates the first message content to the third message content in response to the second input.
[0098] Optionally, in an embodiment of the present application, the first electronic device replaces the first message content of the first message with a third message content in response to the second input, and the first electronic device can send an instruction to the server of the instant messaging application, instructing the server to send an indication information to the electronic devices corresponding to all contacts in the first conversation group, and the indication information is used to instruct the third message content to be synchronously updated and displayed on the conversation interface of the first conversation group corresponding to all contacts in the first conversation group.
[0099] For example, Figure 7 As shown in (a) of FIG. 1 , after the first contact clicks the second target identifier 13 “authorize modification” on the second electronic device, the second electronic device responds to the input and sends an instruction to the server of the instant messaging application to make the first message in a modifiable state. Figure 7 As shown in (b), when the first message is in a modifiable state, long press the first message 14, a first input box 15 pops up, the first electronic device receives the third message content 16 "A regular department meeting will be held at 18:00 tomorrow evening" input by the user in the first input box 15, clicks the confirmation mark, and updates the first message content of the first message to the third message content 16 "A regular department meeting will be held at 18:00 tomorrow evening".
[0100] It can be seen that since the first electronic device can receive the third message content entered by the user in the first input box, and update the first message content of the first message to the third message content, users corresponding to contacts other than the first contact can also modify the first message content of the first message, thereby improving the convenience of using electronic devices for group chats.
[0101] Of course, when the first message is in a modifiable state, a contact in the first conversation group may also modify the first message according to the first contact's opinion, which is described in detail below.
[0102] Optionally, in the embodiment of the present application, the third message also includes the fourth message content. Figure 4 ,like Figure 8As shown, the "first electronic device modifies the first message content of the first message" in the above step 204 can be specifically implemented through the following steps 401 to 404.
[0103] Step 401: The first electronic device displays content of a fourth message.
[0104] Optionally, in an embodiment of the present application, the first electronic device receives a third message sent by the second electronic device, and the third message includes fourth message content, and the fourth message content may specifically be a modification suggestion of the first contact to the first message content of the first message.
[0105] Optionally, in the embodiment of the present application, the fourth message content may be displayed on a conversation interface of the first conversation group of the first electronic device.
[0106] Step 402: The first electronic device receives a third input from a user regarding a fourth message content.
[0107] Optionally, in the embodiment of the present application, the third input may be an input for selecting the fourth message content.
[0108] Optionally, in the embodiment of the present application, the third input may be any one of the following: single click, double click, long press, etc.
[0109] Exemplarily, when the user long presses the fourth message content on the first electronic device, the fourth message content covers the first message content of the first message.
[0110] Step 403: The first electronic device edits the first message content in response to the third input according to the fourth message content to obtain the fifth message content.
[0111] Optionally, in an embodiment of the present application, the first electronic device responds to the third input so that the fourth message content overwrites the first message content of the first message, and the user can continue to edit and modify the fourth message content to obtain the fifth message content.
[0112] Step 404: The first electronic device updates the first message content to the fifth message content.
[0113] Optionally, in an embodiment of the present application, after the user modifies the fourth message content to obtain the fifth message content, the user can click a confirmation mark, and the first electronic device will update and display the first message content as the fifth message content.
[0114] In this way, it can be seen that since the first electronic device can respond to the user's third input of the fourth message content displayed on the first electronic device, the user can edit the first message content according to the fourth message content, and update the fifth message content obtained after the modification, thereby improving the accuracy of the modification of the first message content.
[0115] Of course, after the first message content of the first message is updated to the third message content, users who have previously read the first message content of the first message may not know that the first message content of the first message has been updated to the third message content. At this time, these users need to be reminded, which is explained in detail below.
[0116] Optionally, in the embodiment of the present application, combined with Figure 6 ,like Fig. 9 As shown, after the above step 204, the message display method provided in the embodiment of the present application may further include the following step 501.
[0117] Step 501: A first electronic device sends a fourth message to at least one third electronic device.
[0118] In the embodiment of the present application, the first message in the third electronic device is in a read state.
[0119] Optionally, in the embodiment of the present application, each third electronic device in the at least one third electronic device corresponds to a contact in the first conversation group.
[0120] It should be noted that the above “the first message in the third electronic device is in a read state” can be understood as: the user of the third electronic device has triggered the third electronic device to display the message content of the first message.
[0121] Optionally, in an embodiment of the present application, after the user of the third electronic device triggers the third electronic device to display the message content of the first message, the server of the instant messaging application marks the contact corresponding to the third electronic device as having read the first message.
[0122] In this embodiment of the present application, the fourth message is used to remind the content of the third message.
[0123] Optionally, in an embodiment of the present application, after the first message content of the first message is updated to the third message content, the first electronic device sends an instruction to the server of the instant messaging application, instructing the server to send the fourth message content to the third electronic device in the first conversation group whose first message is in the read state.
[0124] In one example, after the third electronic device receives the fourth message, an unread message icon will be displayed on the group identifier of the first conversation group in the instant messaging application to remind the contact corresponding to the third electronic device that there are unread messages. The contact clicks to enter the first conversation group. The background of the first message is orange, and it is displayed that the first message content of the first message has been modified to the third message content.
[0125] In another example, after the third electronic device receives the fourth message, it vibrates to prompt that there is a fourth message content highlighted in red in the thumbnail display frame of the first conversation group, and the fourth message content can be slowly scrolled to the left for display.
[0126] In this way, it can be seen that since the first electronic device can send the fourth message to at least one third electronic device in which the first message is in a read state to remind that the content of the first message has been updated to the content of the third message, the contact corresponding to the third electronic device is informed of the changed content of the first message, thereby reducing the adverse effect of the first message content of the first message on the contact, thereby improving the convenience of using electronic devices for group chats.
[0127] When a contact in the first conversation group finds that the first message content is incorrect, it is necessary to communicate directly with the first contact or other contacts to adjust or confirm the first message content, which is specifically described below.
[0128] Optionally, in the embodiment of the present application, combined with Figure 1 ,like Fig.10 As shown, after the above step 102, the message display method provided in the embodiment of the present application may further include the following steps 601 to 604.
[0129] Step 601: The first electronic device displays a conversation interface of a second conversation group.
[0130] In the embodiment of the present application, the above-mentioned conversation interface includes the sixth message content.
[0131] Optionally, in the embodiment of the present application, after the first message is changed from the initial display form to the target display form, the session initiation interface of the second session group may be displayed in a floating manner in the first session group of the first electronic device.
[0132] Further optionally, in the embodiment of the present application, the above-mentioned session initiation interface displays the initial group contact list of the second session group, the contact addition mark and the session initiation mark.
[0133] Further optionally, in the embodiment of the present application, the initial group contact list includes the first contact and the contact corresponding to the third electronic device whose first message is in the read state.
[0134] Further optionally, in an embodiment of the present application, a contact adding mark is set in the lower area of the initial group contact list, and the contact corresponding to the first electronic device can perform a second target input on the contact adding mark, and the second target input can be any one of the following: single click, double click, long press, etc.
[0135] Further optionally, in the embodiment of the present application, the first electronic device displays a contact list of the first conversation group in response to the second target input, and a selection mark is set after the contact mark in the contact list, and the selection mark is used to select a contact to be added to the second conversation group.
[0136] Further optionally, in an embodiment of the present application, a session initiation identifier is set in the lower area of the session initiation interface to trigger the establishment of a second session group. The contact corresponding to the first electronic device can make a third target input for the session initiation identifier, and the third target input can be any one of the following: single-click, double-click, long press, etc.
[0137] Further optionally, in the embodiment of the present application, the first electronic device updates and displays the conversation initiation interface as a conversation interface of the second conversation group in response to the third target input.
[0138] For example, Fig.11 As shown, a session initiation interface 17 of the second session group is displayed in a floating manner in the first session group. The session initiation interface 17 displays an initial group contact list 18 of the second session group, a contact adding mark 19, and a session initiation mark 20. Among them, the initial group contact list 18 includes the first contact "Publisher: Mr. Wang", and the contact "Read: Mr. Zhang, Mr. Song" corresponding to the third electronic device whose first message is in the read state. The contact corresponding to the first electronic device can also click the contact adding mark 19 "Invite", and the first electronic device displays the contact list of the first session group. The contact mark in the contact list is followed by a selection mark, and the selection mark can be checked to select the contacts to be added to the second session group, such as Mr. Wang's leader. After the contacts for the second session group are selected, click the session initiation mark 20 "OK", and the session initiation interface 17 is updated to display as shown below. Fig.11 The session interface 21 of the second session group is shown.
[0139] Optionally, in an embodiment of the present application, the above-mentioned conversation interface includes a conversation area and a second target identification area.
[0140] Further optionally, in the embodiment of the present application, the target identifiers in the second target identifier area include a third target identifier, a fourth target identifier and a fifth target identifier.
[0141] Among them, the third target identifier is used to indicate the withdrawal of the first message; the fourth target identifier is used to indicate the cancellation of the withdrawal of the first message; and the fifth target identifier is used to indicate the authorization to modify the first message content of the first message.
[0142] It can be understood that the contacts in the second conversation group can communicate about the first message in the conversation area to discuss and decide on the processing method for the first message and the contacts who execute the processing method. The contacts who execute the processing method can make a fourth target input for the target identifier in the second target identifier area, and the fourth target input is an input for selecting the target identifier in the second target identifier area. When the fourth target input is an input for the third target identifier, the first message will be withdrawn, and a message will be sent to the contacts in the second conversation group to remind them that the first message has been withdrawn; when the fourth target input is an input for the fourth target identifier, the first message will be restored to the initial display form; when the fourth target input is an input for the fifth target identifier, the second input box will be displayed in the upper area of the conversation interface of the second conversation group for inputting the content of the fourth message, and at the same time, the third target identifier, the fourth target identifier and the fifth target identifier in the second target identifier area at the lower part of the conversation interface will be updated and displayed as the sixth target identifier and the seventh target identifier.
[0143] Optionally, in the embodiment of the present application, the fourth target input can be any one of the following: single click, double click, long press, etc.
[0144] Optionally, in an embodiment of the present application, the sixth target identifier is used to indicate agreement to change the first message content of the first message to the fourth message content; the seventh target identifier is used to indicate disagreement to change the first message content of the first message to the fourth message content.
[0145] For example, combining Fig.12 As shown, the conversation interface 21 of the second conversation group includes a conversation area 22 and a second target identification area 23. The target identifications in the second target identification area 23 include a third target identification 24 "Withdraw message", a fourth target identification 25 "Maintain unchanged" and a fifth target identification 26 "Modify message". After the contacts in the second conversation group discuss the first message, if they decide to withdraw the first message, click the third target identification 24 "Withdraw message", the first message will be withdrawn, and a message will be sent to the contacts in the second conversation group to remind them that the first message has been withdrawn; if they decide to continue to display the first message, click the fourth target identification 25 "Maintain unchanged", and the first message will be restored to the initial display form; if they decide to modify the first message content of the first message, and the modification process is performed by the group leader, click the fifth target identification 26 "Modify message", and the upper area of the conversation interface 21 of the second conversation group will be displayed as shown. Fig.13 The second input box 27 shown, in which the fourth message content 28 "regular department meeting will be held at 18:00 tomorrow evening" can be entered, and at the same time, the third target identifier 24, the fourth target identifier 25 and the fifth target identifier 26 in the second target identifier area 23 in the lower part of the conversation interface are updated to display the sixth target identifier 29 "agree" and the seventh target identifier 30 "disagree".
[0146] Step 602: The first electronic device receives a fourth input from the user in the conversation interface.
[0147] Optionally, in the embodiment of the present application, the fourth input is an input of a user corresponding to a contact in the second conversation group selecting the sixth target identifier and the seventh target identifier in the conversation interface.
[0148] Optionally, in the embodiment of the present application, the fourth input may be any one of the following: single click, double click, long press, etc.
[0149] Step 603: The first electronic device sends target voting information to the server in response to the fourth input.
[0150] In an embodiment of the present application, the above-mentioned target voting information is any one of the following: first voting information, second voting information; the first voting information is used to indicate agreement to modify the first message content of the first message to the fourth message content, and the second voting information is used to indicate disagreement to modify the first message content to the fourth message content.
[0151] Optionally, in an embodiment of the present application, if the user corresponding to the contact in the second conversation group makes a third input for the sixth target identifier, the first electronic device sends the first voting information to the server of the instant messaging application; if the user corresponding to the contact in the second conversation group makes a third input for the seventh target identifier, the first electronic device sends the second voting information to the server of the instant messaging application.
[0152] Optionally, in the embodiment of the present application, one contact in the second conversation group corresponds to one target voting information.
[0153] Step 604: When the first electronic device receives the target indication information from the server, the first electronic device updates the first message content to the sixth message content.
[0154] In the embodiment of the present application, the target indication information is sent by the server to the first electronic device when the number of received first voting information is greater than or equal to a preset value.
[0155] Optionally, in an embodiment of the present application, when the amount of first voting information received is greater than or equal to a preset value, the server of the instant messaging application sends target indication information to the first electronic device.
[0156] Further optionally, in the embodiment of the present application, the preset value may be a value determined based on a combination of a proportion of the first voting information pre-set by the user in the instant messaging application and the number of contacts in the second conversation group.
[0157] For example, the user pre-sets that when the number of first voting information received by the server is greater than or equal to 50% of the number of contacts in the second conversation group, the target indication information is sent to the first electronic device. Assuming that the number of contacts in the second conversation group is 20, 11 of which click on the sixth target identifier, that is, the server receives 11 first voting information, which is greater than the preset value of 10, so the server sends the target indication information to the first electronic device.
[0158] Optionally, in the embodiment of the present application, the target indication information may be an instruction message for updating the first message content to the sixth message content.
[0159] Optionally, in the embodiment of the present application, after the first electronic device receives the target indication information from the server, the content of the first message is synchronously updated with the first message content and displayed on the conversation interface of the first conversation group corresponding to all contacts in the first conversation group.
[0160] In this way, it can be seen that since the first electronic device can send target voting information to the server to indicate whether to agree to modify the first message content of the first message to the sixth message content according to the third input on the conversation interface of the second conversation group, and modify the first message content of the first message to the fourth message content when the number of first voting information in the target voting information is greater than or equal to the preset value, the first electronic device can process the first message more freely, thereby improving the convenience and practicality of using electronic devices for group chats.
[0161] The method provided in the embodiment of the present application can be executed by a device. In the embodiment of the present application, the device execution method is taken as an example to illustrate the device provided in the embodiment of the present application.
[0162] Fig.14 A message display device involved in the above embodiment is shown, and the message display device is a first message display device 60, and the first message display device 60 includes: a receiving module 61 and an updating module 62. The receiving module 61 is used to receive a first input of a user to a first message, and the first message is a message sent by a first contact in a first conversation group. The updating module 62 is used to update the display form of the first message to a target display form in response to the first input received by the receiving module, and the target display form is used to indicate that the first message is in a withdrawn state. The contact corresponding to the first message display device is different from the first contact.
[0163] In a possible implementation, the updating module is specifically used to update the first message content of the first message to the second message content, wherein the second message content is used to indicate at least one of the following: the first message is in a withdrawn state, and the identifier of the contact corresponding to the first message display device.
[0164] In a possible implementation, the first message display device 60 further includes: a sending module, a receiving module, a recovery module, and a modification module. The sending module is used to send a second message to a second message display device, where the second message display device is a message display device corresponding to the first contact, and the second message is used to remind that the first message is in a withdrawn state. The receiving module is used to receive a third message sent by the second message display device, where the third message is used to indicate whether to cancel the withdrawal of the first message. The recovery module is used to restore the target display form to the initial display form when the third message received by the receiving module indicates that the withdrawal of the first message is canceled. The modification module is used to modify the first message content of the first message when the third message received by the receiving module indicates that the withdrawal of the first message is not canceled. The initial display form is: the display form of the first message before the display form is updated.
[0165] In a possible implementation, the modification module includes: a display submodule, a receiving submodule, and an updating submodule. The display submodule is used to display a first input box. The receiving submodule is also used to receive a second input of a user inputting a third message content in the first input box displayed by the display submodule. The updating submodule is also used to update the first message content to the third message content in response to the second input received by the receiving submodule.
[0166] In a possible implementation, the third message also includes a fourth message content, and the modification module also includes: a display submodule, a receiving submodule, an editing submodule, and an updating submodule. Among them, the display submodule is used to display the fourth message content. The receiving submodule is also used to receive a third input from a user on the fourth message content displayed by the display submodule. The editing submodule is used to edit the first message content according to the fourth message content in response to the third input received by the receiving submodule to obtain the fifth message content. The updating submodule is also used to update the first message content to the fifth message content obtained by the editing submodule.
[0167] In a possible implementation, the sending module is further used to send a fourth message to at least one third message display device, where the fourth message is used to remind the user of the content of the third message, wherein the first message in the third message display device is in a read state.
[0168] In a possible implementation, the first message display device further includes: a display module and a sending module. The display module is used to display a conversation interface of the second conversation group, and the conversation interface includes the sixth message content. The receiving module is also used to receive a fourth input of the user to the conversation interface displayed by the display module. The sending module is used to send target voting information in response to the fourth input received by the receiving module, and the target voting information includes any of the following: first voting information and second voting information. The first voting information is used to indicate that the first message content of the first message is agreed to be modified to the sixth message content, and the second voting information is used to indicate that the first message content is not agreed to be modified to the sixth message content. The updating module is also used to update the first message content to the sixth message content when receiving the target indication information sent by the sending module. The target indication information is: sent by the server to the first message display device when the number of received first voting information is greater than or equal to a preset value; the target indication information is used to indicate that the first message content is updated to the sixth message content.
[0169] The message display device provided in the embodiment of the present application can update the display form of the first message sent by the first contact to the target display form for indicating that the first message is in a withdrawn state according to the first input of the user to the first message, that is, the first electronic device can be triggered by the user to withdraw the first message sent by the first contact. Therefore, the situation where the electronic device corresponding to the first contact cannot withdraw the first message after a long time can be reduced, thereby reducing the situation where the first message has an adverse effect on the message recipient and the first contact, thereby improving the convenience of using the electronic device for group chat. The message display device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or a device other than a terminal. Exemplarily, the electronic device may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It may also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiments of the present application.
[0170] The message display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0171] The message display device provided in the embodiment of the present application can achieve Figures 1 to 13 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0172] Optionally, in the embodiment of the present application, Fig.15 As shown, an embodiment of the present application also provides an electronic device 80, including a processor 81 and a memory 82, wherein the memory 82 stores programs or instructions that can be executed on the processor 81, and when the program or instructions are executed by the processor 81, the various process steps of the above-mentioned method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0173] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0174] Fig.16 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0175] The electronic device 100 includes but is not limited to components such as a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 110.
[0176] Those skilled in the art will appreciate that the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.16 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0177] Among them, the user input unit 1007 is specifically used to receive a first input from a user for a first message, and the first message is a message sent by a first contact in a first conversation group; the processor 110 is used to update the display form of the first message to a target display form in response to the first input, and the target display form is used to indicate that the first message is in a withdrawn state; wherein the contact corresponding to the first electronic device is different from the first contact.
[0178] The electronic device provided in the embodiment of the present application can update the display form of the first message sent by the first contact to a target display form for indicating that the first message is in a withdrawn state according to the user's first input to the first message. That is, the first electronic device can be triggered by the user to withdraw the first message sent by the first contact, rather than only the electronic device corresponding to the first contact being able to withdraw the first message sent by the first contact. Therefore, the situation in which the electronic device corresponding to the first contact is unable to withdraw the first message after a long time can be reduced, thereby reducing the situation in which the first message has an adverse effect on the message recipient and the first contact, thereby improving the convenience of using electronic devices for group chats.
[0179] Optionally, in an embodiment of the present application, the processor 110 is specifically used to update the first message content of the first message to the second message content; wherein the second message content is used to indicate at least one of the following: the first message is in a withdrawn state, and the identifier of the contact corresponding to the first electronic device.
[0180] Thus, it can be seen that since the first electronic device can update the first message content of the first message to the second message content, the second message content can indicate that the first message is in a withdrawn state, thereby avoiding the first message content from affecting other group members. The second message content can also indicate the identifier of the contact corresponding to the first electronic device, thereby clearly setting the first message to the contact in a withdrawn state, thereby improving the convenience of using the first electronic device for group chat.
[0181] Optionally, in an embodiment of the present application, the processor 110 is specifically used to send a second message to a second electronic device, where the second electronic device is the electronic device corresponding to the first contact, and the second message is used to remind that the first message is in a withdrawn state; receive a third message from the second electronic device, where the third message is used to indicate whether to cancel the withdrawal of the first message; when the third message indicates cancellation of the withdrawal of the first message, restore the target display form to the initial display form; when the third message indicates not to cancel the withdrawal of the first message, modify the first message content of the first message; wherein the initial display form is: the display form of the first message before the display form is updated.
[0182] Thus, it can be seen that after the display form of the first message is updated to the target display form, the first electronic device can send a second message to the second electronic device to remind that the first message is in a withdrawn state, and the first electronic device can also receive a third message from the second electronic device to indicate whether to cancel the withdrawal of the first message, thereby determining according to the third message whether to restore the first message from the target display form to the initial display form or to modify the first message content of the first message, thereby increasing the interactive method of using electronic devices for group chats, thereby improving the convenience of using electronic devices for group chats.
[0183] Optionally, in an embodiment of the present application, the processor 110 is specifically used to display a first input box; receive a second input of a user entering a third message content in the first input box; and update the first message content to the third message content in response to the second input.
[0184] It can be seen that since the first electronic device can receive the third message content entered by the user in the first input box, and update the first message content of the first message to the third message content, users corresponding to contacts other than the first contact can also modify the first message content of the first message, thereby improving the convenience of using electronic devices for group chats.
[0185] Optionally, in an embodiment of the present application, the processor 110 is specifically used to display a fourth message content; receive a third input from a user regarding the fourth message content; in response to the third input, edit the first message content according to the fourth message content to obtain a fifth message content; and update the first message content to the fifth message content.
[0186] In this way, it can be seen that since the first electronic device can respond to the user's third input of the fourth message content displayed on the first electronic device, the user can edit the first message content according to the fourth message content, and update the fifth message content obtained after the modification, thereby improving the accuracy of the modification of the first message content.
[0187] Optionally, in an embodiment of the present application, the processor 110 is specifically used to send a fourth message to at least one third electronic device, where the fourth message is used to remind the content of the third message; wherein the first message in the third electronic device is in a read state.
[0188] In this way, it can be seen that since the first electronic device can send the fourth message for reminding that the content of the first message has been updated to the content of the first message to at least one third electronic device in which the first message is in a read state, the contact corresponding to the third electronic device is informed of the changed content of the first message, thereby reducing the adverse effect of the first message content of the first message on the contact, thereby improving the convenience of using electronic devices for group chats.
[0189] Optionally, in an embodiment of the present application, the processor 110 is specifically used to display a conversation interface of a second conversation group, wherein the conversation interface includes a sixth message content; receive a fourth input from a user in the conversation interface; in response to the fourth input, send target voting information, wherein the target voting information is any one of the following: first voting information, second voting information; the first voting information is used to indicate agreement to modify the first message content of the first message to the sixth message content, and the second voting information is used to indicate disagreement to modify the first message content to the sixth message content; when the target indication information is received from the server, the first message content is updated to the sixth message content; wherein the target indication information is: sent by the server to the first electronic device when the number of first voting information received is greater than or equal to a preset value; the target indication information is used to indicate updating the first message content to the sixth message content.
[0190] In this way, it can be seen that since the first electronic device can send target voting information to the server to indicate whether to agree to modify the first message content of the first message to the fourth message content according to the third input on the conversation interface of the second conversation group, and modify the first message content of the first message to the sixth message content when the number of first voting information in the target voting information is greater than or equal to the preset value, the first electronic device can process the first message more richly and flexibly, thereby improving the convenience and practicality of using electronic devices for group chats.
[0191] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1006 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0192] The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static RAM (SRAM), a dynamic RAM (DRAM), a synchronous DRAM (SDRAM), a double data rate SDRAM (DDRSDRAM), an enhanced SDRAM (ESDRAM), a synchronous link DRAM (SLDRAM) and a direct RAM bus RAM (DRRAM). The memory 1009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0193] The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.
[0194] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0195] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0196] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A message display method, applied to a first electronic device, characterized in that: The method comprises: receiving a first input of a first message from a user, where the first message is a message sent by a first contact in a first conversation group; In response to the first input, updating the display form of the first message to a target display form, wherein the target display form is used to indicate that the first message is in a withdrawn state; The contact corresponding to the first electronic device is different from the first contact; Before updating the display form of the first message to the target display form, the method further includes: Sending an instruction to a server, the instruction being used to instruct the server to send instruction information to electronic devices corresponding to all contacts in the first conversation group, the instruction information being used to instruct to display the first message on the electronic devices corresponding to all contacts in the first conversation group in the target display form; After updating the display form of the first message to the target display form, the method further includes: Displaying a conversation interface of the second conversation group, wherein the conversation interface includes the sixth message content; receiving a fourth input from a user on the conversation interface; In response to the fourth input, target voting information is sent, the target voting information including any one of the following: first voting information and second voting information; the first voting information is used to indicate approval to modify the first message content of the first message to the sixth message content, and the second voting information is used to indicate disapproval to modify the first message content to the sixth message content; When receiving the target indication information, updating the first message content to the sixth message content; Among them, the target indication information is: sent by the server to the first electronic device when the amount of the first voting information received is greater than or equal to a preset value; the target indication information is used to indicate that the first message content is updated to the sixth message content.
2. The method according to claim 1, characterized in that The updating the display form of the first message to the target display form includes: Updating the first message content of the first message to the second message content; The second message content is used to indicate at least one of the following: the first message is in a withdrawn state, and the identifier of the contact person corresponding to the first electronic device.
3. The method according to claim 1, characterized in that After updating the display form of the first message to the target display form, the method further includes: Sending a second message to a second electronic device, where the second electronic device is an electronic device corresponding to the first contact, and the second message is used to remind that the first message is in a withdrawn state; receiving a third message sent by the second electronic device, wherein the third message is used to indicate whether to cancel or withdraw the first message; In the case where the third message indicates cancellation of the withdrawal of the first message, restoring the target display form to the initial display form; If the third message indicates that the first message is not to be withdrawn, modify the first message content of the first message; The initial display form is: the display form of the first message before the display form is updated.
4. The method according to claim 3, characterized in that The modifying the first message content of the first message includes: Display the first input box; Receive a second input of a user entering a third message content in the first input box; In response to the second input, the first message content is updated to the third message content.
5. The method according to claim 3, characterized in that: The third message also includes the fourth message content; The modifying the first message content of the first message includes: Displaying the fourth message content; receiving a third input from a user regarding the fourth message content; In response to the third input, the first message content is edited according to the fourth message content to obtain a fifth message content; The first message content is updated to the fifth message content.
6. The method according to claim 4, characterized in that After updating the first message content to the third message content, the method further includes: Sending a fourth message to at least one third electronic device, where the fourth message is used to remind the user of the content of the third message; The first message in the third electronic device is in a read state.
7. A message display device, applied to a first electronic device, wherein the message display device is a first message display device, characterized in that: The first message display device includes: a receiving module and an updating module; The receiving module is configured to receive a first input of a user for a first message, where the first message is a message sent by a first contact in a first conversation group; The updating module is configured to update the display form of the first message to a target display form in response to the first input received by the receiving module, wherein the target display form is used to indicate that the first message is in a withdrawn state; Wherein, the contact person corresponding to the first message display device is different from the first contact person; The first message display device further includes: a sending module; The sending module is configured to send an instruction to the server before the updating module updates the display form of the first message to the target display form, wherein the instruction is configured to instruct the server to send instruction information to the electronic devices corresponding to all the contacts in the first conversation group, wherein the instruction information is configured to instruct the first message on the electronic devices corresponding to all the contacts in the first conversation group to be displayed in the target display form; The first message display device further includes: a display module; The display module is configured to display a conversation interface of the second conversation group after the updating module updates the display form of the first message to the target display form, wherein the conversation interface includes the sixth message content; The receiving module is further configured to receive a fourth input from a user on the conversation interface displayed by the display module; The sending module is further used to send target voting information in response to the fourth input received by the receiving module, where the target voting information includes any one of the following: first voting information and second voting information; the first voting information is used to indicate that the first message content of the first message is agreed to be modified to the sixth message content, and the second voting information is used to indicate that the first message content is not agreed to be modified to the sixth message content; The updating module is further configured to update the first message content to the sixth message content when receiving the target indication information; Among them, the target indication information is: sent by the server to the first electronic device when the amount of the first voting information received is greater than or equal to a preset value; the target indication information is used to indicate that the first message content is updated to the sixth message content.
8. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the message display method according to any one of claims 1 to 6 are implemented.
9. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the message display method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Remote destroying method for instant messages
CN105763432A
Message display method and device, storage medium and electronic device
CN115134317A