Message processing method and device and electronic equipment

By locking the message content on the graphical user interface and generating target message data, the mechanical operation problem of users when sending the same information multiple times in games or social software is solved, and the user experience is improved.

CN118921346APending Publication Date: 2024-11-08NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410789501.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-18
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

In games or social software, when users need to send the same information content multiple times, the existing technology requires users to copy and paste or search for historical records, resulting in multiple mechanical operations and poor user experience.

Method used

By providing a graphical user interface, users can lock the message content, generate target message data, and display the locked message content in session switching or message sending operations. Users can send the same information multiple times without copying and pasting.

Benefits of technology

Simplifies message sending operations, improves user experience, and enables users to send the same information content multiple times without multiple edits or copy-pastes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118921346A_ABST
    Figure CN118921346A_ABST
Patent Text Reader

Abstract

The invention provides a message processing method and device and electronic equipment, and the method comprises the steps: obtaining first message content in a message sending region corresponding to a first session in response to a message content locking operation; generating target message data based on the first message content in the message sending area; in response to an update triggering operation for the message sending area, displaying second message content in the updated message sending area based on the target message data; the update triggering operation comprises a message sending operation or a session switching operation corresponding to the first message content. According to the method, the message content edited by the user can be locked, so that the locked message content is still displayed in the message sending area after the user sends the message or switches to other sessions. Therefore, the user can send the same message content for multiple times without editing the message content communicated first for multiple times or performing operations such as copying and pasting on the message content, so that the message sending operation is simplified, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of instant message communication, and in particular to a message processing method, device and electronic device. Background Art

[0002] In games or social software, users may need to send the same message content to different channels or accounts, or send the same message content multiple times to the same channel or account. When users need to send repeated message content multiple times, they usually need to long press to copy the text content of the message after sending the message, and then return to the target dialog box to perform paste and send operations multiple times to achieve the purpose of sending the same message content multiple times; users can also open the history interface, find the target message, and resend the historical message. However, the above two methods require users to repeat multiple mechanical operations, resulting in a poor user experience. Summary of the invention

[0003] In view of this, the purpose of the present disclosure is to provide a message processing method, device and electronic device, so that users can send the same message content multiple times without having to edit the message content multiple times or copy and paste the message content, thereby simplifying the message sending operation and improving the user experience.

[0004] In a first aspect, an embodiment of the present disclosure provides a message processing method, which provides a graphical user interface through a terminal device; the graphical user interface includes a message sending area corresponding to a first session; the message sending area is used to display the message content generated by the first session account controlled by the terminal device; the method includes: in response to a message content locking operation, obtaining the first message content in the message sending area corresponding to the first session; based on the first message content in the message sending area, generating target message data; in response to an update trigger operation for the message sending area, displaying the second message content in the updated message sending area based on the target message data; wherein the update trigger operation includes a message sending operation corresponding to the first message content, or a session switching operation.

[0005] In a second aspect, an embodiment of the present disclosure provides a message processing device, which provides a graphical user interface through a terminal device; the graphical user interface includes a message sending area corresponding to a first session; the message sending area is used to display the message content generated by the first session account controlled by the terminal device; the device includes: a message content acquisition module, which is used to obtain the first message content in the message sending area corresponding to the first session in response to a message content locking operation; a target message data generation module, which is used to generate target message data based on the first message content in the message sending area; a message content display module, which is used to display the second message content in the updated message sending area based on the target message data in response to an update trigger operation for the message sending area; wherein the update trigger operation includes a message sending operation corresponding to the first message content, or a session switching operation.

[0006] In a third aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the above-mentioned message processing method.

[0007] In a fourth aspect, an embodiment of the present invention provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the above-mentioned message processing method.

[0008] The embodiments of the present invention bring the following beneficial effects:

[0009] The above-mentioned message processing method, device and electronic device obtain the first message content in the message sending area corresponding to the first conversation in response to the message content locking operation; generate target message data based on the first message content in the message sending area; in response to the update trigger operation for the message sending area, based on the target message data, display the second message content in the updated message sending area; the update trigger operation includes the message sending operation corresponding to the first message content, or the conversation switching operation. The method can lock the message content edited by the user, so that after the user sends the message or switches to another conversation, the locked message content is still displayed in the message sending area. Users do not need to edit the message content of the previous communication multiple times, or copy and paste the message content, and can send the same message content multiple times, which simplifies the message sending operation and improves the user experience.

[0010] Other features and advantages of the present disclosure will be described in the following description, and partly become apparent from the description, or understood by practicing the present disclosure. The purpose and other advantages of the present disclosure are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0011] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the specific embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0013] Figure 1 A flowchart of a message processing method provided by an embodiment of the present disclosure;

[0014] Figure 2 A schematic diagram of a graphical user interface provided by an embodiment of the present disclosure;

[0015] Figure 3 A schematic diagram of another graphical user interface provided by an embodiment of the present disclosure;

[0016] Figure 4 A schematic diagram of another graphical user interface provided by an embodiment of the present disclosure;

[0017] Figure 5 A schematic diagram of a graphical user interface provided by an embodiment of the present disclosure;

[0018] Figure 6 A schematic diagram of the structure of a message processing device provided by an embodiment of the present disclosure;

[0019] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0021] Users often encounter situations where they need to send the same information multiple times in games or social apps. For example, in massively multiplayer online games (MMOG or MMO for short), players need to send the same team-building information multiple times in the chat channel to attract more players to join the team; in social apps, users sometimes need to send the same advertising information to different groups.

[0022] In the related art, when a player needs to send repeated information multiple times, there are two interaction methods:

[0023] 1After sending a message, the player can long press to copy the original message, or select Copy in the secondary message box triggered by clicking, and then return to the target dialog box to perform the Paste-Send operation multiple times to achieve the purpose;

[0024] 2Open the history interface, find the target information, and resend the historical information.

[0025] Both of the above methods require the user to repeat multiple mechanical operations, resulting in a poor user experience.

[0026] Based on this, the embodiments of the present disclosure provide a message processing method, device, and electronic device, and the technology can be applied to a game scene with a batting level.

[0027] In one embodiment of the present invention, the message processing method can be run on a local terminal device or a server. When the message processing method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0028] In an optional implementation, various cloud applications can be run under the cloud interaction system, such as cloud games. Taking cloud games as an example, cloud games refer to a game mode based on cloud computing. In the operation mode of cloud games, the operating body of the game program and the main body of the game screen presentation are separated, the storage and operation of the message processing method are completed on the cloud game server, and the role of the client device is used for receiving and sending data and presenting the game screen. For example, the client device can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, etc.; but the cloud game server in the cloud is used for information processing. When playing the game, the player operates the client device to send an operation instruction to the cloud game server. The cloud game server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the client device through the network. Finally, the client device decodes and outputs the game screen.

[0029] In an optional embodiment, taking a game as an example, a local terminal device stores a game program and is used to present a game screen. The local terminal device is used to interact with the player through a graphical user interface, that is, the game program is downloaded and installed by an electronic device and run conventionally. The local terminal device may provide the graphical user interface to the player in a variety of ways, for example, it may be rendered and displayed on a display screen of the terminal, or provided to the player through a holographic projection. For example, the local terminal device may include a display screen and a processor, the display screen is used to present a graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, and control the display of the graphical user interface on the display screen.

[0030] See also Figure 1 First, a message processing method provided by an embodiment of the present invention is introduced, and a graphical user interface is provided through a terminal device. The graphical user interface includes a message sending area corresponding to a first session. A session usually requires participation through at least two game accounts. The above-mentioned first session is participated by the first session account controlled by the terminal device and other session accounts. The message sending area is used to display the message content generated by the first session account controlled by the terminal device. The user can usually generate message content in the message sending area by editing operations. The above-mentioned message content can include text content, image content, or both. When the user does not generate any message content, the message sending area display can be empty.

[0031] The method comprises the following steps:

[0032] Step S102: In response to the message content locking operation, obtaining the first message content in the message sending area corresponding to the first conversation.

[0033] The above-mentioned message content locking operation can be of multiple types. For example, a control for setting a locking mode for the message content can be pre-set in the graphical user interface, and the user's triggering operation of the control is the message content locking operation. The user's long press operation on the message sending area can be pre-set as a message content locking operation. When the message sending area contains message content, operations such as long press and sliding can be performed on the message content in the message sending area. After selecting all or part of the message as the locked message content, a control for setting the locking mode of the message content can be displayed. The user can use the control to set the selected message content as the message content to be locked. The above-mentioned operations of selecting message content and triggering controls can be regarded as message content locking operations.

[0034] When the message sending area is displayed as empty, the first message content is empty. When the message sending area is displayed as not empty, the message content displayed in the message sending area can be used as the acquired first message content.

[0035] Step S104: Generate target message data based on the first message content in the message sending area.

[0036] If part of the message content is selected as the message content to be locked, the selected message content is usually marked. After obtaining the first message content, the marked message content in the first message content can be used as the target message content. Further, the target message content can be generated to correspond to the target message content.

[0037] If certain message contents are not selected as the message contents that need to be locked, it is generally considered that all message contents in the message sending area need to be locked, so target message data corresponding to the first message content can be generated.

[0038] As described above, the first message content may include text content or image content. For message contents in different formats, target message content corresponding to the message content may be generated and stored based on corresponding data storage methods.

[0039] Step S106, in response to an update trigger operation on the message sending area, based on the target message data, displaying the second message content in the updated message sending area; wherein the update trigger operation includes a message sending operation corresponding to the first message content, or a session switching operation.

[0040] The user can send the first message content in the message sending area to the server for forwarding messages through the message sending operation, and then the server sends the first message content to other session accounts in the first session. Since the first message content has been sent to other session accounts, the message sending area will usually be displayed as empty. In order to display the locked message content, the second message content can be displayed in the empty message sending area based on the target message data. The second message content is usually the same as the first message content. When part of the message content in the first message content is selected as the locked message content, the second message content is the same as the locked message content.

[0041] The user can send the second message to other conversation accounts in the first conversation again by sending the message. Since the second message content is the same as the first message content, the other conversation accounts receive two messages with the same message content. In addition to the message sending operation, the user does not need to perform other operations.

[0042] The user can usually switch the session corresponding to the current message sending area through the session switching operation. The graphical user interface usually displays the icons corresponding to different sessions, and the user can switch sessions by clicking the icons of other sessions. When switching sessions, the message sending area also needs to be updated. The message content included in the updated message sending area is usually empty, or the historical message content that the user edited and did not send in the message sending area corresponding to the session last time.

[0043] If the message sending area is displayed as empty, the second message content can be directly displayed in the message sending area based on the target message data. The second message content is usually the same as the first message content. When part of the message content in the first message content is selected as the locked message content, the second message content is the same as the locked message content.

[0044] If the message sending area displays the historical message content, the historical message content can be deleted and the second message content can be directly displayed. The second message content can also be displayed after the historical message content, and the second message content and the historical message content are displayed in different formats. For example, the display area of ​​the second message content has a shaded portion, while the display area of ​​the historical message content does not have a shaded portion, so as to prompt the user which message content is the locked message content.

[0045] The user can directly use the message sending operation to send the second message content to other session accounts in the switched session without performing other operations. After the second message content is sent, the third message content can also be displayed in the message sending area based on the target message data, and the third message content is the same as the first message content. That is, the user can send the locked message content to the same or different session accounts as many times as desired, which is very convenient.

[0046] The above-mentioned message processing method, in response to the message content locking operation, obtains the first message content in the message sending area corresponding to the first conversation; generates target message data based on the first message content in the message sending area; in response to the update trigger operation for the message sending area, based on the target message data, displays the second message content in the updated message sending area; wherein the update trigger operation includes the message sending operation corresponding to the first message content, or the session switching operation. This method can lock the message content edited by the user, so that after the user sends the message, or switches to the message sending area of ​​another conversation, the locked message content is still displayed in the current message sending area. Users do not need to edit the message content of the previous communication multiple times, or copy and paste the message content, and can send the same message content multiple times, which simplifies the message sending operation and improves the user experience.

[0047] The following embodiment provides a specific method for obtaining the first message content in the message sending area corresponding to the first conversation in response to the message content locking operation.

[0048] In a specific implementation, a message lock control can be set in a graphical user interface. The message lock control can be displayed in the graphical user interface when the user opens the graphical user interface for sending instant messages; keywords can also be pre-set, and when the user generates the first message content in the message sending area through editing operations, it is detected whether the first message content contains the preset keywords; if it does, the message lock control is displayed in the graphical user interface.

[0049] The above keywords may be preset by the system. For example, in a game, users usually send instant messages to form a team. The game system may use words such as "form a team" and "take me flying" or related words of levels that usually adopt team play as keywords. The above keywords may also be set by the user based on their needs. For example, if the user's job is to count the attendance rate of employees, the user may set words such as "attendance" and "leave" as keywords.

[0050] The player can trigger the message lock control through a trigger operation such as clicking or long pressing, and in response to the first trigger operation acting on the message lock control, obtain the first message content in the message sending area corresponding to the first conversation.

[0051] The display position of the message lock control in the graphical user interface may be fixed, such as displaying the message lock control in a specified position of the graphical user interface; Figure 2 As shown, the designated position may be located in the message sending area. The display position of the message lock control may also be changed by the user. The user may slide the message lock control, and in response to the sliding operation on the message lock control, the message lock control is controlled to move following the contact point of the sliding operation. When the user moves the message lock control to a satisfactory position, the sliding operation may be released, and in response to the release event of the sliding operation, the message lock control is controlled to stop moving.

[0052] When the user triggers the message lock control for the first time, in order to distinguish subsequent trigger operations, the operation is called the "first trigger operation." In response to the first trigger operation on the message lock control, the first message content is displayed in a preset first display format; the first display format is different from the first initial display format of the first message content. The above initial display format is the display format of the first message content when the message lock control is not triggered. The above first display format can be to highlight the first message content, display the background of the first message content in gray, etc., which can be set according to needs and is not limited here. Figure 3 As shown, the background of the first message content is displayed in gray.

[0053] In order to facilitate the user to determine whether the message lock control is triggered, when the user performs a first trigger operation on the message lock control, the message lock control is displayed in a preset second display format; the second display format is different from the second initial display format of the message lock control. The format change of the message lock control can be reflected in the control color, control shape and control size, which are not specifically limited. Figure 2 The message lock control in the message lock is not triggered and is displayed in white. Figure 3 The message lock control in is triggered and appears grayed out.

[0054] When the message lock control is in the triggered state, the user triggers it for the second time (referred to as the "second trigger operation"), which is equivalent to releasing the message lock mode. In response to the second trigger operation acting on the message lock control, the target message data is deleted. At the same time, it is also necessary to display the first message content in the initial display format of the first message content, and display the message lock control in the initial display format of the message lock control.

[0055] It is worth noting that the first message content is changeable. The user can usually change the message content in the message sending area based on an editing operation. In response to the editing operation on the first message content, the first message content is updated based on the editing operation; specifically, it can be adding new message content, or deleting content can also be changing the message content. Then, it is necessary to update the target message data based on the updated first message content so that the target message content is consistent with the updated first message content.

[0056] When the message lock control is displayed in the graphical user interface only after detecting that the first message content includes the preset keywords, the user can update the first message content through editing operations; after the first message content is updated, it is necessary to determine whether the updated first message content includes the keywords; if not, delete the target message data and cancel the display of the message lock control. This is equivalent to releasing the message lock mode.

[0057] The following embodiment provides a specific method for obtaining the first message content in the message sending area corresponding to the first conversation in response to the message content locking operation.

[0058] The update trigger operation may include a message sending operation corresponding to the first message content. Corresponding to the message sending area, the graphical user interface generally also includes a message display area, such as Figure 2As shown. The player can perform a message sending operation for the first message content, and in response to the message sending operation for the first message content, the first message content is displayed in the message display area, and the session message corresponding to the first message content is sent to other session accounts in the first session except the session account controlled by the terminal device; then based on the target message data, the second message content is displayed in the updated message sending area. The second message content is usually the same as the first message content.

[0059] The update triggering operation may also be a session switching operation. The user may perform a session switching operation by clicking on the logo of another session on the graphical user interface. In response to the session switching operation, the graphical user interface displays a message input area corresponding to the second session after the switch. Figure 3 After performing session switching operations based on Figure 4 As shown, the graphical user interface usually displays the session accounts participating in the second session. If the message content is not locked, the updated message input area usually displays as empty. Since the first message content is locked, it is necessary to display the second message content in the message input area corresponding to the second session after switching based on the target message data corresponding to the first message content.

[0060] The present disclosure also provides another message processing method. Figure 1 The method is implemented on the basis of the method shown in the figure. The method reduces the operational burden of users sending repeated content multiple times by fixing the chat message to be sent (that is, the message content generated by the user through editing operations, equivalent to the above-mentioned "first message content").

[0061] The method first determines whether the message content input by the user contains preset words. If so, it is predicted to be content that may be sent repeatedly. At this time, a message locking control (also known as a "chat message fixing device" or a "content locking device") appears on the graphical user interface; after the user clicks the control, the chat text entered by the user in the message sending area will become locked. After sending a message once, the message will still be retained in the message sending area (also known as an "input box") for the next sending; the user clicks the device again to cancel the lock state. At this time, after sending the message, the input box will no longer retain the information.

[0062] The method is implemented by the following steps:

[0063] 1. Set a preset word library containing keywords that may trigger high-frequency copying;

[0064] 2. Determine whether the content entered by the user in the input box contains keywords in the preset vocabulary;

[0065] 3. If included, the message lock control appears; if not included, the message lock control does not appear;

[0066] 4. If the user clicks the message lock control, the chat text in the input box will become locked, and the message lock control will also become locked;

[0067] 5. In the locked state, the message will remain in the input box after being sent and will not disappear, so it can be sent next time;

[0068] 6. When the user clicks on the locked content lock device, the content in the chat box will be unlocked; at this time, the content lock device and the chat text will be restored to the unlocked state;

[0069] 7. When the input box contains text in a locked state, the user can still click on the input box to edit its content. If the keywords contained in the content are deleted during this process, the locked state will be cancelled and the message lock control will disappear.

[0070] This method can be applied to games. Figure 5 As shown, when a player enters a message content such as "Take me to play" in the message input area below the game interface, the message content includes the preset keyword "Take me". A message lock control in the shape of a pin is displayed on the game interface. The player can lock the message content in the message input area and display it in gray by triggering the control.

[0071] This method can reduce the user's operational burden and optimize the user experience when repeatedly sending the same message; it is triggered by preset words and will not bring additional interference to regular chat scenarios; and it has extremely strong universality and a wide range of application scenarios.

[0072] For the above method embodiments, see Figure 6 A message processing device is shown, which provides a graphical user interface through a terminal device; the graphical user interface includes a message sending area corresponding to a first conversation; the message sending area is used to display the message content generated by the first conversation account controlled by the terminal device; the device includes:

[0073] A message content acquisition module 602, configured to acquire the first message content in the message sending area corresponding to the first conversation in response to the message content locking operation;

[0074] A target message data generating module 604 is used to generate target message data based on the first message content in the message sending area;

[0075] The message content display module 606 is used to respond to an update trigger operation on the message sending area and display the second message content in the updated message sending area based on the target message data; wherein the update trigger operation includes a message sending operation corresponding to the first message content, or a session switching operation.

[0076] The above-mentioned message processing device, in response to the message content locking operation, obtains the first message content in the message sending area corresponding to the first conversation; generates target message data based on the first message content in the message sending area; in response to the update trigger operation for the message sending area, displays the second message content in the updated message sending area based on the target message data; wherein the update trigger operation includes the message sending operation corresponding to the first message content, or the session switching operation. This method can lock the message content edited by the user, so that after the user sends the message, or switches to the message sending area of ​​another conversation, the locked message content is still displayed in the current message sending area. Users do not need to edit the message content of the previous communication multiple times, or copy and paste the message content, and can send the same message content multiple times, which simplifies the message sending operation and improves the user experience.

[0077] The above device also includes: a control display module, which is used to display a message lock control on a graphical user interface; the message content acquisition module is also used to: respond to a first trigger operation acting on the message lock control, and acquire the first message content in the message sending area corresponding to the first conversation.

[0078] The control display module is also used to: detect whether the first message content includes a preset keyword; if it does, display a message lock control on the graphical user interface.

[0079] The above-mentioned update trigger operation includes a message sending operation corresponding to the first message content: the graphical user interface also includes a message display area; the message content display module is also used to: respond to the message sending operation for the first message content, display the first message content in the message display area, and send the session message corresponding to the first message content to other session accounts in the first session except the session account controlled by the terminal device; based on the target message data, display the second message content in the updated message sending area.

[0080] The above-mentioned update trigger operation includes a session switching operation: the message content display module is also used to: respond to the session switching operation, display the message input area corresponding to the switched second session on the graphical user interface; based on the target message data, display the second message content in the message input area corresponding to the switched second session.

[0081] The above-mentioned device also includes: a message content updating module, which is used to respond to the editing operation on the first message content, update the first message content based on the editing operation; and update the target message data based on the updated first message content.

[0082] The target message data generation module is also used to: respond to a first trigger operation on a message lock control, display the first message content in a preset first display format; the first display format is different from a first initial display format of the first message content; and obtain the first message content in a message sending area corresponding to the first conversation.

[0083] The above device also includes: a format display module, which is used to display the message lock control in a preset second display format in response to a first trigger operation acting on the message lock control; the second display format is different from the second initial display format of the message lock control.

[0084] The above-mentioned device also includes: a target message data deletion module, which is used to delete the target message data in response to the second trigger operation acting on the message locking control.

[0085] The above-mentioned first message content is displayed in a first display format different from the first initial display format in response to the first trigger operation acting on the message lock control; the target message data deletion module is also used to: respond to the second trigger operation acting on the message lock control, delete the target message data, and display the first message content in the first initial display format.

[0086] The above-mentioned message lock control responds to the first trigger operation acting on the message lock control and displays in a second display format that is different from the second initial display format; the target message data deletion module is also used to: respond to the second trigger operation acting on the message lock control, delete the target message data, and display the message lock control in the second initial display format.

[0087] The above-mentioned device also includes: responding to an editing operation on the first message content, updating the first message content based on the editing operation; determining whether the updated first message content includes keywords; if not, deleting the target message data, and canceling the display of the message lock control.

[0088] The control display module is also used to: display a message lock control at a specified position of the graphical user interface; respond to a sliding operation on the message lock control, control the message lock control to follow the movement of the contact point of the sliding operation; respond to a release event of the sliding operation, control the message lock control to stop moving.

[0089] This embodiment further provides an electronic device, including a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the above message processing method, for example:

[0090] In response to a message content locking operation, a first message content in a message sending area corresponding to a first conversation is obtained; based on the first message content in the message sending area, target message data is generated; in response to an update trigger operation for the message sending area, a second message content is displayed in the updated message sending area based on the target message data; wherein the update trigger operation includes a message sending operation corresponding to the first message content, or a conversation switching operation.

[0091] The above can lock the message content edited by the user, so that after the user sends the message or switches to the message sending area of ​​another session, the locked message content is still displayed in the current message sending area. Users do not need to edit the message content of the previous communication multiple times, or copy and paste the message content, and can send the same message content multiple times, which simplifies the message sending operation and improves the user experience.

[0092] Optionally, the method further includes: displaying a message lock control on a graphical user interface; and in response to a message content lock operation, obtaining a first message content in a message sending area corresponding to a first conversation, comprising: in response to a first trigger operation acting on the message lock control, obtaining a first message content in a message sending area corresponding to the first conversation.

[0093] Optionally, the step of displaying a message lock control in a graphical user interface includes: detecting whether the first message content includes a preset keyword; if so, displaying a message lock control in the graphical user interface.

[0094] Optionally, the above-mentioned update trigger operation includes a message sending operation corresponding to the first message content: the graphical user interface also includes a message display area; in response to the update trigger operation on the message sending area, based on the target message data, the step of displaying the second message content in the updated message sending area includes: in response to the message sending operation on the first message content, displaying the first message content in the message display area, and sending the session message corresponding to the first message content to other session accounts in the first session except the session account controlled by the terminal device; based on the target message data, displaying the second message content in the updated message sending area.

[0095] Optionally, the above-mentioned update trigger operation includes a session switching operation: in response to the update trigger operation for the message sending area, based on the target message data, the step of displaying the second message content in the updated message sending area includes: in response to the session switching operation, displaying the message input area corresponding to the switched second session in the graphical user interface; based on the target message data, displaying the second message content in the message input area corresponding to the switched second session.

[0096] Optionally, the above method further includes: responding to an editing operation on the first message content, updating the first message content based on the editing operation; and updating the target message data based on the updated first message content.

[0097] Optionally, the step of obtaining the first message content in the message sending area corresponding to the first conversation in response to the message content locking operation includes: displaying the first message content in a preset first display format in response to a first trigger operation acting on the message locking control; the first display format is different from a first initial display format of the first message content; and obtaining the first message content in the message sending area corresponding to the first conversation.

[0098] Optionally, the method further includes: in response to a first trigger operation acting on the message lock control, displaying the message lock control in a preset second display format; the second display format is different from a second initial display format of the message lock control.

[0099] Optionally, after generating the target message data based on the first message content in the message sending area, the method further includes: deleting the target message data in response to a second trigger operation acting on the message locking control.

[0100] Optionally, the first message content is displayed in a first display format different from the first initial display format in response to a first trigger operation applied to the message lock control; the step of deleting the target message data in response to a second trigger operation applied to the message lock control includes: in response to the second trigger operation applied to the message lock control, deleting the target message data, and displaying the first message content in the first initial display format.

[0101] Optionally, the message lock control responds to a first trigger operation on the message lock control and is displayed in a second display format that is different from a second initial display format; in response to the second trigger operation on the message lock control, the step of deleting the target message data includes: in response to the second trigger operation on the message lock control, deleting the target message data, and displaying the message lock control in the second initial display format.

[0102] Optionally, the above method also includes: responding to an editing operation on the first message content, updating the first message content based on the editing operation; determining whether the updated first message content includes keywords; if not, deleting the target message data, and canceling the display of the message lock control.

[0103] Optionally, the above-mentioned step of displaying a message lock control in a graphical user interface includes: displaying the message lock control at a specified position of the graphical user interface; in response to a sliding operation on the message lock control, controlling the message lock control to move along with the contact point of the sliding operation; in response to a release event of the sliding operation, controlling the message lock control to stop moving.

[0104] See also Figure 7 As shown, the electronic device includes a processor 100 and a memory 101. The memory 101 stores machine executable instructions that can be executed by the processor 100. The processor 100 executes the machine executable instructions to implement the above message processing method.

[0105] Further, Figure 7 The electronic device shown further includes a bus 102 and a communication interface 103 , and the processor 100 , the communication interface 103 and the memory 101 are connected via the bus 102 .

[0106] The memory 101 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 102 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0107] The processor 100 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 100. The above processor 100 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present disclosure can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present disclosure can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 101, and the processor 100 reads the information in the memory 101 and completes the steps of the method of the above embodiment in combination with its hardware.

[0108] This embodiment also provides a machine-readable storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the above-mentioned message processing method.

[0109] A message processing method, apparatus, and electronic device provided in the embodiments of the present disclosure include a computer-readable storage medium storing program codes, and the program codes include instructions that can be used to execute the methods described in the foregoing method embodiments, for example:

[0110] In response to a message content locking operation, a first message content in a message sending area corresponding to a first conversation is obtained; based on the first message content in the message sending area, target message data is generated; in response to an update trigger operation for the message sending area, a second message content is displayed in the updated message sending area based on the target message data; wherein the update trigger operation includes a message sending operation corresponding to the first message content, or a conversation switching operation.

[0111] The above can lock the message content edited by the user, so that after the user sends the message or switches to the message sending area of ​​another session, the locked message content is still displayed in the current message sending area. Users do not need to edit the message content of the previous communication multiple times, or copy and paste the message content, and can send the same message content multiple times, which simplifies the message sending operation and improves the user experience.

[0112] Optionally, the method further includes: displaying a message lock control on a graphical user interface; and in response to a message content lock operation, obtaining a first message content in a message sending area corresponding to a first conversation, comprising: in response to a first trigger operation acting on the message lock control, obtaining a first message content in a message sending area corresponding to the first conversation.

[0113] Optionally, the step of displaying a message lock control in a graphical user interface includes: detecting whether the first message content includes a preset keyword; if so, displaying a message lock control in the graphical user interface.

[0114] Optionally, the above-mentioned update trigger operation includes a message sending operation corresponding to the first message content: the graphical user interface also includes a message display area; in response to the update trigger operation on the message sending area, based on the target message data, the step of displaying the second message content in the updated message sending area includes: in response to the message sending operation on the first message content, displaying the first message content in the message display area, and sending the session message corresponding to the first message content to other session accounts in the first session except the session account controlled by the terminal device; based on the target message data, displaying the second message content in the updated message sending area.

[0115] Optionally, the above-mentioned update trigger operation includes a session switching operation: in response to the update trigger operation for the message sending area, based on the target message data, the step of displaying the second message content in the updated message sending area includes: in response to the session switching operation, displaying the message input area corresponding to the switched second session in the graphical user interface; based on the target message data, displaying the second message content in the message input area corresponding to the switched second session.

[0116] Optionally, the above method further includes: responding to an editing operation on the first message content, updating the first message content based on the editing operation; and updating the target message data based on the updated first message content.

[0117] Optionally, the step of obtaining the first message content in the message sending area corresponding to the first conversation in response to the message content locking operation includes: displaying the first message content in a preset first display format in response to a first trigger operation acting on the message locking control; the first display format is different from a first initial display format of the first message content; and obtaining the first message content in the message sending area corresponding to the first conversation.

[0118] Optionally, the method further includes: in response to a first trigger operation acting on the message lock control, displaying the message lock control in a preset second display format; the second display format is different from a second initial display format of the message lock control.

[0119] Optionally, after generating the target message data based on the first message content in the message sending area, the method further includes: deleting the target message data in response to a second trigger operation acting on the message locking control.

[0120] Optionally, the first message content is displayed in a first display format different from the first initial display format in response to a first trigger operation applied to the message lock control; the step of deleting the target message data in response to a second trigger operation applied to the message lock control includes: in response to the second trigger operation applied to the message lock control, deleting the target message data, and displaying the first message content in the first initial display format.

[0121] Optionally, the message lock control responds to a first trigger operation on the message lock control and is displayed in a second display format that is different from a second initial display format; in response to the second trigger operation on the message lock control, the step of deleting the target message data includes: in response to the second trigger operation on the message lock control, deleting the target message data, and displaying the message lock control in the second initial display format.

[0122] Optionally, the above method also includes: responding to an editing operation on the first message content, updating the first message content based on the editing operation; determining whether the updated first message content includes keywords; if not, deleting the target message data, and canceling the display of the message lock control.

[0123] Optionally, the above-mentioned step of displaying a message lock control in a graphical user interface includes: displaying the message lock control at a specified position of the graphical user interface; in response to a sliding operation on the message lock control, controlling the message lock control to move along with the contact point of the sliding operation; in response to a release event of the sliding operation, controlling the message lock control to stop moving.

[0124] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0125] In addition, in the description of the embodiments of the present disclosure, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present disclosure can be understood according to specific circumstances.

[0126] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.

[0127] In the description of the present disclosure, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present disclosure and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present disclosure. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.

[0128] Finally, it should be noted that the above embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above embodiments, those skilled in the art should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A message processing method, characterized in that: Providing a graphical user interface through the terminal device; the graphical user interface includes a message sending area corresponding to the first conversation; The message sending area is used to display the message content generated by the first conversation account controlled by the terminal device; the method includes: In response to the message content locking operation, obtaining the first message content in the message sending area corresponding to the first conversation; Generate target message data based on the first message content in the message sending area; In response to an update trigger operation on the message sending area, a second message content is displayed in the updated message sending area based on the target message data; wherein the update trigger operation includes a message sending operation corresponding to the first message content, or a session switching operation.

2. The method according to claim 1, characterized in that The method further comprises: Displaying a message lock control on the graphical user interface; In response to the message content locking operation, the step of acquiring the first message content in the message sending area corresponding to the first conversation includes: In response to a first trigger operation acting on the message locking control, first message content in a message sending area corresponding to the first conversation is obtained.

3. The method according to claim 2, wherein the step of displaying a message lock control on the graphical user interface comprises: Detecting whether the first message content includes a preset keyword; If included, a message lock control is displayed in the graphical user interface.

4. The method according to claim 1, characterized in that: The update triggering operation includes a message sending operation corresponding to the first message content: the graphical user interface also includes a message display area; In response to an update triggering operation for the message sending area, the step of displaying the second message content in the updated message sending area based on the target message data comprises: In response to a message sending operation for the first message content, displaying the first message content in the message display area, and sending a conversation message corresponding to the first message content to other conversation accounts in the first conversation except the conversation account controlled by the terminal device; Based on the target message data, the second message content is displayed in the updated message sending area.

5. The method according to claim 1, characterized in that The update trigger operation includes a session switching operation: In response to an update triggering operation for the message sending area, the step of displaying the second message content in the updated message sending area based on the target message data comprises: In response to the session switching operation, displaying a message input area corresponding to the switched second session on the graphical user interface; Based on the target message data, the second message content is displayed in the message input area corresponding to the second conversation after the switch.

6. The method according to claim 1, characterized in that The method further comprises: In response to an editing operation on the first message content, updating the first message content based on the editing operation; The target message data is updated based on the updated first message content.

7. The method according to claim 2, characterized in that In response to the message content locking operation, the step of acquiring the first message content in the message sending area corresponding to the first conversation includes: In response to a first trigger operation acting on the message lock control, displaying the first message content in a preset first display format; the first display format is different from a first initial display format of the first message content; Obtain the first message content in the message sending area corresponding to the first conversation.

8. The method according to claim 2, characterized in that: The method further comprises: In response to a first triggering operation acting on the message lock control, the message lock control is displayed in a preset second display format; the second display format is different from a second initial display format of the message lock control.

9. The method according to claim 2, characterized in that: After generating target message data based on the first message content in the message sending area, the method further includes: In response to a second trigger operation acting on the message lock control, the target message data is deleted.

10. The method according to claim 9, characterized in that The first message content is displayed in a first display format different from a first initial display format in response to a first trigger operation acting on the message locking control; In response to a second trigger operation acting on the message lock control, the step of deleting the target message data includes: In response to a second trigger operation acting on the message lock control, the target message data is deleted, and the first message content is displayed in the first initial display format.

11. The method according to claim 9, characterized in that The message lock control is displayed in a second display format different from a second initial display format in response to a first trigger operation acting on the message lock control; In response to a second trigger operation acting on the message lock control, the step of deleting the target message data includes: In response to a second triggering operation acting on the message lock control, the target message data is deleted, and the message lock control is displayed in the second initial display format.

12. The method according to claim 3, characterized in that The method further comprises: In response to an editing operation on the first message content, updating the first message content based on the editing operation; Determining whether the updated first message content includes the keyword; If not, the target message data is deleted, and the message lock control is undisplayed.

13. The method according to claim 2 or 3, characterized in that: The step of displaying a message lock control on the graphical user interface comprises: Displaying a message lock control at a designated location of the graphical user interface; In response to a sliding operation on the message lock control, controlling the message lock control to move following the contact point of the sliding operation; In response to a release event of the sliding operation, the message lock control is controlled to stop moving.

14. A message processing device, characterized in that: A graphical user interface is provided through a terminal device; the graphical user interface includes a message sending area corresponding to the first conversation; the message sending area is used to display the message content generated by the first conversation account controlled by the terminal device; the device includes: A message content acquisition module, configured to acquire the first message content in the message sending area corresponding to the first conversation in response to the message content locking operation; A target message data generating module, configured to generate target message data based on the first message content in the message sending area; A message content display module is used to respond to an update trigger operation on the message sending area and display a second message content in the updated message sending area based on the target message data; wherein the update trigger operation includes a message sending operation corresponding to the first message content, or a session switching operation.

15. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the message processing method according to any one of claims 1 to 13.

16. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement the message processing method according to any one of claims 1 to 13.