Chat information processing method and device, electronic equipment and storage medium
Patent Information
- Application Number
- CN202310908969.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-21
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2043-07-21
AI Technical Summary
[0004]本申请实施例的目的是提供一种聊天信息处理方法、装置、电子设备及存储介质,能够解决同步聊天信息的步骤较为繁琐的问题
[0009]第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
Smart Images

Figure CN116743690B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of information processing technology, and specifically relates to a chat message processing method, device, electronic device and storage medium. Background Technology
[0002] With the continuous development of information technology, users will come into contact with a large number of social software online chat functions in their work and life, and conduct various kinds of communication through online chat functions.
[0003] During online chat, a user might want to share their chat with user B with at least one user A, but doesn't want user A to communicate privately with user B directly. Therefore, they would need to frequently and manually copy and paste their chat with user B and send it to user A. The entire chat message synchronization process is cumbersome and inefficient. Summary of the Invention
[0004] The purpose of this application is to provide a chat message processing method, apparatus, electronic device, and storage medium that can solve the problem of cumbersome steps in synchronizing chat messages.
[0005] In a first aspect, embodiments of this application provide a chat information processing method, the method comprising: displaying a first group chat sub-interface of a first temporary group in a first chat interface; the first chat interface being a chat interface between a first user and at least one second user, the first temporary group chat including the first user, at least one second user, and a third user; receiving a first input that sends a first chat message in the first chat interface; and displaying the first chat message in response to the first input in the first group chat sub-interface.
[0006] Secondly, embodiments of this application provide a chat information processing device, comprising: a display module, configured to display a first group chat sub-interface of a first temporary group chat in a first chat interface; the first chat interface is a chat interface between a first user and at least one second user, and the first temporary group chat includes the first user, at least one second user, and a third user; a receiving module, configured to receive a first input that sends a first chat message in the first chat interface; and a response module, configured to display the first chat message in the first group chat sub-interface in response to the first input.
[0007] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method described in the first aspect.
[0008] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.
[0009] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.
[0010] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.
[0011] In this embodiment, by having a first temporary group chat (where direct private communication or group chat formation is inappropriate) together with at least one second user and a third user, and displaying the first group chat sub-interface within the first chat interface, this approach avoids direct private communication between the first or second user and the third user while allowing all users to communicate directly within the first group chat sub-interface. This effectively avoids the cumbersome steps of copying and pasting to forward chat messages, improving communication efficiency. Furthermore, when the first or second user sends a first chat message within the first chat interface, that message is automatically synchronized to the first group chat sub-interface. Attached Figure Description
[0012] Figure 1 This is a schematic flowchart of the chat message processing method provided in the embodiments of this application;
[0013] Figure 2 This is one of the display schematic diagrams provided in the embodiments of this application;
[0014] Figure 3 This is a second schematic diagram provided for an embodiment of this application;
[0015] Figure 4 This is the third schematic diagram provided for an embodiment of this application;
[0016] Figure 5 This is the fourth schematic diagram provided for an embodiment of this application;
[0017] Figure 6 This is the fifth schematic diagram provided for the embodiments of this application.
[0018] Figure 7 This is the sixth schematic diagram provided for an embodiment of this application;
[0019] Figure 8Seventh schematic diagram provided for the embodiments of this application;
[0020] Figure 9 Eighth schematic diagram provided for the embodiments of this application;
[0021] Figure 10 This is the ninth schematic diagram provided for an embodiment of this application;
[0022] Figure 11 This is a schematic diagram of the chat message processing device provided in the embodiments of this application;
[0023] Figure 12 This is a schematic diagram of the electronic device structure provided in the embodiments of this application;
[0024] Figure 13 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application. Detailed Implementation
[0025] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0026] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0027] The chat message processing method, apparatus, electronic device, and storage medium provided in this application will be described below with reference to the accompanying drawings and through specific embodiments and application scenarios.
[0028] Figure 1 This is a schematic diagram of the chat message processing method provided in the embodiments of this application, such as... Figure 1 As shown, it includes:
[0029] Step 110: Display the first sub-interface of the first temporary group chat in the first chat interface; the first chat interface is the chat interface between the first user and at least one second user, and the first temporary group chat includes the first user, at least one second user, and a third user;
[0030] The first user, second user, and third user described in this application embodiment are all different users. The first user, second user, and third user can conduct online chat through a specific chat platform or application.
[0031] The first chat interface described in this application embodiment can specifically be a chat interface displayed when a first user and at least one second user communicate and converse in a chat platform or application. The first chat interface can display the chat information between the first user and the second user.
[0032] In an optional embodiment, when there is only one second user, the first chat interface is a one-on-one chat interface between the first user and the second user; when there are multiple second users, the first chat interface is a multi-person chat interface between the first user and multiple second users.
[0033] In this embodiment, if a first user wants to synchronize the chat content with a third user to a second user, but does not want the second user and the third user to communicate privately directly, a first temporary group chat can be created. The first temporary group chat can refer to inviting the first user, at least one second user, and the third user to form a temporary group chat. The first temporary group chat can include only one second user or multiple second users, which can be added according to the user's settings. The first temporary group chat will not create an independent chat interface. The first group chat sub-interface of the first temporary group chat will only be displayed in the first chat interface, thereby effectively preventing the second user and the third user from communicating privately directly.
[0034] In the first temporary group chat that is temporarily set up, the first user, the second user, and the third user can communicate freely. The specific content of the communication can be displayed through the first group chat sub-interface in the first chat interface. At this time, the first user, the second user, and the third user can communicate freely in the first group chat sub-interface of the first chat interface while effectively avoiding direct private communication between the second user and the third user.
[0035] In an optional embodiment, the first group chat sub-interface may display chat messages sent to the first temporary group chat by the first user, the second user, and the third user. The first group chat sub-interface may be displayed floating within the first chat interface, or it may be displayed as a card within the first chat interface. The first temporary group chat is associated with the first chat interface.
[0036] In another alternative embodiment, since the second user cannot directly see the first chat interface, the second user can only view the first group chat sub-interface.
[0037] Step 120: Receive the first input from the first chat interface to send the first chat message;
[0038] The electronic device receives a first input from a first user or a third user who sends a first chat message on the first chat interface. The electronic device can refer to an electronic device with interactive and display functions, such as a smartphone or tablet computer.
[0039] The first chat information described in this application embodiment may specifically be text information, image information, audio information, etc., and may also include program sharing link information such as mini-programs.
[0040] The first input described in this embodiment is an input that can be used to send a first chat message in a first chat interface. This input can be an operation of clicking or long-pressing the message send button in the first chat interface. For example, the first input includes, but is not limited to: a user clicking the message send button in the first group chat interface using a touch device such as a finger or stylus, a specific gesture input by the user, or other feasible inputs. The specific input can be determined according to actual usage needs, and this embodiment does not impose any limitations. The specific gesture in this embodiment can be any one of a single-click gesture, a swipe gesture, a drag gesture, a pressure-recognition gesture, a long-press gesture, an area-change gesture, a double-press gesture, or a double-tap gesture. The click input in this embodiment can be a single-click input, a double-tap input, or any number of clicks, and can also be a long-press input or a short-press input.
[0041] Step 130: In response to the first input, display the first chat information in the first group chat sub-interface.
[0042] In an alternative embodiment, in response to the first input, the electronic device can first send the first chat information to the first user and the second user, and then display the first chat information in the first chat interface.
[0043] Optionally, when a message sent by at least one second user is received and displayed on the first chat interface, the message is automatically synchronized to the first group chat sub-interface.
[0044] Optionally, in response to the first input, upon receiving an eighth input to synchronize the first chat information to the first temporary group chat, the first chat information is displayed in the first group chat sub-interface.
[0045] The eighth input described in this application embodiment can be an input for synchronizing the first chat information to the first temporary group chat. The eighth input can be an operation of selecting to synchronize the first chat information to the first temporary group chat after receiving the first chat information. The eighth input can also be an operation of pre-setting to synchronize the first chat information sent by the first user or a specific second user to the first temporary group chat. The eighth input can also be an operation of selecting whether to synchronize the first chat information to the first temporary group chat when sending the first chat information.
[0046] In one alternative embodiment, Figure 2 This is one of the display diagrams provided in the embodiments of this application, such as... Figure 2 As shown, the eighth input can be the operation of sliding the first chat message 22 from the first chat interface 21 to the first group chat sub-interface 23 after receiving the first chat message and displaying the first chat message 22 on the first chat interface 21.
[0047] In another alternative embodiment, Figure 3 This is a second schematic diagram provided for an embodiment of this application, as shown below. Figure 3 As shown, the eighth input can also be the operation of clicking the chat synchronization identifier 31 of the first user or a specific second user when sending the first chat information in the first chat interface 21. The chat synchronization identifier 31 indicates the function of automatically synchronizing the first chat information sent by the first user or the specific second user to the first temporary group chat.
[0048] In another alternative embodiment, the eighth input may also be the operation of synchronizing the first chat information to the first temporary group chat in the synchronization selection interface that pops up when the first chat information is sent.
[0049] In an optional embodiment, the eighth input can also be a specific gesture input by the user, or other feasible inputs, which can be determined according to actual usage needs, and the embodiments of the present invention are not limited thereto. The specific gesture in the embodiments of this application can be any one of a single-click gesture, a swipe gesture, a drag gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-tap gesture; the click input in the embodiments of this application can be a single-click input, a double-tap input, or a click input of any number of times, and can also be a long-press input or a short-press input.
[0050] In this embodiment of the application, if an eighth input is received to synchronize the first chat information to the first temporary group chat, it indicates that the first user or the second user wants to send the first chat information to the third user for viewing at the same time. At this time, the first chat information can be sent to the third user, and the first chat information can also be displayed synchronously in the first temporary group chat interface.
[0051] In this embodiment of the application, if the eighth input to synchronize the first information to the first temporary group chat is not received, it means that the first user or the second user does not want to send the first chat information to the third user for query. At this time, the first chat information is only displayed in the first chat interface and not in the first group chat sub-interface. The third user cannot view the first chat information, which can effectively ensure the privacy of the first chat information.
[0052] For example, users one and two are discussing organizing a party and considering inviting a third user to join. They also want to further discuss the party time and location. However, to avoid having to disband the group chat after the party, they don't want to create a separate group chat. Therefore, users one or two have to forward the party discussion content to users three, and then the third user's feedback on the party discussion content is synchronized back to users one or two. If any member has any objections to this content, repeated communication and confirmation are required, which is very troublesome.
[0053] For example, if the first user is a customer service representative and the second user is a customer, and the customer reports a serious problem requiring engineer intervention, but due to customer experience considerations, it's not suitable for the engineer to communicate directly with the customer privately. Also, since the customer and engineer don't need frequent communication, it's not appropriate to put them in a group chat. Therefore, customer service representatives often have to relay the customer's problem or send the chat history between themselves and the customer to the engineer, preventing the engineer from directly speaking with the customer. This relaying process by customer service representatives requires significant effort and may result in misunderstandings or ambiguities, failing to accurately convey the customer's problem to the engineer. The engineer may also be unable to pinpoint the exact problem immediately.
[0054] Therefore, in the face of the above situation, we can consider having the first user, the second user, and the third user jointly build a first temporary group chat, and display the first group chat sub-interface corresponding to the first temporary group chat in the first chat interface. This allows the first user and the second user to only synchronize chat information related to the party to the first group chat sub-interface, or customer service personnel and customers to only synchronize information that engineers need to know to the first group chat sub-interface. This can effectively improve communication efficiency while ensuring the privacy and security of other chat information.
[0055] In this embodiment, by forming a first temporary group chat together—a first user, at least one second user, and a third user who are not suitable for direct private communication or for forming a group chat directly—and displaying the first group chat sub-interface within the first chat interface, this approach avoids direct private communication between the first or second user and the third user while allowing all users to communicate directly within the first group chat sub-interface. This effectively avoids the cumbersome steps of forwarding chat messages and improves communication efficiency. Furthermore, when the first or second user sends a first chat message within the first chat interface, that message is automatically synchronized to the first group chat sub-interface. This ensures that only the first or second user can share the first chat message with the third user, effectively improving communication efficiency while guaranteeing information privacy and security.
[0056] In some embodiments of this application, before the step of displaying the first group chat sub-interface of the first temporary group chat in the first chat interface, the method further includes:
[0057] Receive a second input to the first chat interface;
[0058] In response to the second input, a first temporary group chat is created, and N third user identifiers are displayed in the first chat interface, each of the third user identifiers indicating a third user;
[0059] Receive a third input for M third user identifiers out of N third user identifiers;
[0060] In response to the third input, a first temporary group chat is created, comprising the first user, at least one second user, and M third users, where N and M are both positive integers.
[0061] In this embodiment, the second input can be an input for creating a first temporary group chat. This second input can be the operation of clicking the "Create Temporary Group Chat" button in the chat window between the first user and the second user. The electronic device responds to this second input, triggering the creation of the first temporary group chat. To facilitate the creation of the first temporary group chat, N third user identifiers and a first group chat sub-interface can be directly displayed, allowing users to easily complete the group chat creation operation. The third user identifier can indicate a third user and can be an image identifier or a text identifier.
[0062] In an optional embodiment, the N third user identifiers may be displayed centrally in the user identifier selection interface, or directly in a blank space in the first chat interface.
[0063] In this embodiment of the application, a third user can be selected to join the first temporary group chat by sliding the third user identifier to the first user interface.
[0064] In this embodiment of the application, the M third user identifiers are identifiers selected by the user from N third user identifiers through a third input, where M is less than or equal to N.
[0065] In this embodiment, the third input can be an operation to select M third user identifiers from N third user identifiers to create a first temporary group chat. The third input can also be an operation to select M third user identifiers from N third user identifiers and then slide the M third user identifiers to the first chat interface. Alternatively, the third input can be an operation to click "confirm" to create a first temporary group chat including a first user, at least one second user, and M third users in the pop-up first temporary group chat creation confirmation interface after selecting M third user identifiers from N third user identifiers.
[0066] In an optional embodiment, the second and third inputs can also be specific gestures input by the user, or other feasible inputs, which can be determined according to actual usage needs, and are not limited in this embodiment of the invention. The specific gestures in this application embodiment can be any one of a single-click gesture, a swipe gesture, a drag gesture, a pressure-recognition gesture, a long-press gesture, an area-change gesture, a double-press gesture, or a double-tap gesture; the click input in this application embodiment can be a single-click input, a double-tap input, or any number of clicks, and can also be a long-press input or a short-press input.
[0067] The electronic device responds to the third input and can determine the first user and at least one second user based on the first chat interface. By simply selecting the third user, a first temporary group chat containing the first user, at least one second user, and M third users can be quickly created. After the first temporary group chat is created, when the first user or the second user views the corresponding first group chat sub-interface, they can only view the first group chat sub-interface in the first chat interface, and cannot view the first group chat sub-interface through a separate interface. This can effectively prevent the first user or the second user from communicating directly with the third user privately.
[0068] Figure 4 This is the third schematic diagram provided for an embodiment of this application, as shown below. Figure 4 As shown, the method includes: after selecting M third user identifiers 41, the user can slide them to the first group chat sub-interface 23 to create a first temporary group chat containing a first user, at least one second user, and M third users.
[0069] In this embodiment of the application, the creation of the first temporary group chat can be effectively triggered by the second input, and N third user identifiers are displayed in the first chat interface so that the user can accurately select the M third users who want to join the first temporary group chat, effectively ensuring the accurate creation of the first temporary group chat and ensuring the security of chat information.
[0070] In some embodiments of this application, displaying the first group chat sub-interface of the first temporary group chat in the first chat interface includes:
[0071] Receive a fourth input that synchronizes the second chat information in the first chat interface to the first temporary group chat;
[0072] In response to the fourth input, the first group chat sub-interface containing the second chat information is displayed in the first chat interface.
[0073] In this embodiment, the second chat information may be historical chat information sent between the first user and at least one second user during the chat process, and this historical chat information may be displayed in the first chat interface; the second chat information may include text chat information, image chat information, audio chat information, etc.
[0074] In an optional embodiment, the second chat information may also be a target historical chat information selected by the user from the historical chat information between the first user and at least one second user.
[0075] In this embodiment of the application, after the creation of the first temporary group chat is completed, the first user or the second user can further choose whether to synchronize the historical chat information in the first chat page to the first temporary group chat so that the third user can view the historical chat information.
[0076] In some embodiments of this application, the fourth input may be an input for selecting to synchronize the second chat information of the first user and at least one second user to the first temporary group chat. Here, after selecting the second chat information, the synchronization of the second chat information can be automatically realized, without the user having to copy the second chat information and then paste and send it.
[0077] In an alternative embodiment, the fourth input may be an operation that takes all historical chat information between the first user and at least one second user as second chat information and synchronizes it to the first temporary group chat.
[0078] In another alternative embodiment, the fourth input may be the operation of taking the historical chat information between the first user and at least one second user over a specified time period as the second chat information and synchronizing it to the first temporary group chat.
[0079] In another alternative embodiment, the fourth input may be an operation of taking a portion of the historical chat information between the first user and at least one second user as the second chat information and synchronizing it to the first temporary group chat, wherein the portion of the historical group chat information may be historical chat information selected by the user.
[0080] In response to the fourth input, the electronic device can automatically synchronize the second chat information to the first temporary group chat, and then display the second chat information in the first group chat sub-interface. At this time, the synchronization of the second chat information can be completed without the user having to copy, paste or send the information.
[0081] In one optional embodiment, the second chat information can be displayed sequentially in the first group chat sub-interface according to the chat generation time corresponding to the second chat information; alternatively, the second chat information can be centrally displayed in a specific area of the first group chat sub-interface, thereby facilitating the third user to view the second chat information.
[0082] In some embodiments of this application, the third chat information in the first chat interface may be all or part of the historical chat information between the first user and at least one second user, and the chat information may be text information, image information or audio information, etc.
[0083] After the creation of the first temporary group chat is completed, the third chat information can be automatically synchronized to the first temporary group chat without any user input. The third chat information is also automatically loaded and displayed in the first group chat sub-interface. At this time, the third user can view the third chat information between the first user and at least one second user in the first group chat sub-interface.
[0084] Figure 5 This is the fourth schematic diagram provided for an embodiment of this application, as shown below. Figure 5 As shown, users can select the second chat information to share from the historical chat information between the first user and at least one second user, thereby determining the second chat information that needs to be shared with the third user.
[0085] In this embodiment of the application, by automatically synchronizing the third chat information to the first temporary group chat, it is convenient for the third user to view the historical chat information between the first user and at least one second user, while effectively avoiding the complicated operation of manually synchronizing chat information and improving the efficiency of operation. On the other hand, the fourth input can accurately select the second chat information in the first chat interface that needs to be synchronized to the first temporary group chat, which can effectively realize the necessary chat information synchronization while ensuring the privacy of other chat information.
[0086] In some embodiments of this application, where the first chat interface further includes a second temporary group chat sub-interface, the method further includes:
[0087] Receive the fifth input that moves the fourth chat message in the first group chat sub-interface to the second group chat sub-interface;
[0088] In response to the fifth input, the fourth chat information is simultaneously displayed in the second group chat sub-interface.
[0089] In this embodiment of the application, the second temporary group chat may be a temporary group chat including a first user, at least one second user, and a fourth user. In an optional embodiment, the second temporary group chat may also include a third user.
[0090] In an optional embodiment, the second temporary group chat can be a pre-created temporary group chat that is different from the first temporary group chat. After the first group chat sub-interface of the first temporary group chat is displayed in the first chat interface, the second temporary group chat can be created, and the first group chat sub-interface and the second group chat sub-interface are displayed in the first chat interface at the same time.
[0091] The second group chat sub-interface described in this application embodiment can be an interface for displaying chat information of a second temporary group chat. The second group chat sub-interface can be displayed simultaneously with the first group chat sub-interface in the first chat interface.
[0092] Figure 6 This is the fifth schematic diagram provided for the embodiments of this application, as shown below. Figure 6 As shown, the first group chat interface 21 simultaneously displays the first group chat sub-interface 23 and the second group chat sub-interface 61.
[0093] In some embodiments of this application, the fifth input may be an operation to synchronize the fourth chat information of the first temporary group chat to the second temporary group chat. This operation may be an operation to directly drag and drop the fourth chat information in the first chat interface to the sub-interface area of the second group chat.
[0094] The electronic device responds to the fifth input and can directly send the fourth chat message to the second temporary group chat without requiring the user to copy and paste. The fourth chat message is then loaded and displayed in the corresponding sub-interface of the second group chat.
[0095] Figure 7 This is the sixth schematic diagram provided for the embodiments of this application, as shown below. Figure 7 As shown, after the fourth chat message in the first group chat sub-interface 23 is slid to the second group chat sub-interface 61, the electronic device responds to the input, sends the fourth chat message to the second temporary group chat, and displays the fourth chat message in the second group chat sub-interface 61.
[0096] In this embodiment, the fourth chat information in the first temporary group chat can be quickly synchronized to the second temporary group chat by directly moving the fourth chat information to the fifth input of the second group chat sub-interface, and the fourth chat information can be displayed in the second group chat sub-interface accordingly. This eliminates the need for users to perform cumbersome processes such as copying and pasting and sending, and can efficiently achieve the synchronization of chat information.
[0097] In some embodiments of this application, where the first chat interface further includes a second temporary group chat sub-interface, the method further includes:
[0098] The sixth input is to slide the first group chat sub-interface to the second group chat sub-interface, or to slide the second group chat sub-interface to the first group chat sub-interface.
[0099] In response to the sixth input, a third group chat sub-interface of the third temporary group chat is displayed in the first chat interface; wherein, the third temporary group chat includes: the group chat users of the second temporary group chat, the first user, the second user, and the third user; the third group chat sub-interface includes the chat information in the first group chat sub-interface and the second group chat sub-interface.
[0100] In this embodiment of the application, the sixth input may be an operation for merging the first temporary group chat and the second temporary group chat.
[0101] The sixth input can be either the user selecting the first group chat sub-interface and then dragging and sliding it to the area where the second group chat sub-interface is located, or the user selecting the second group chat sub-interface and then dragging and sliding it to the area where the first group chat sub-interface is located.
[0102] In this embodiment, the merging of the first temporary group chat and the second temporary group chat can be triggered simply and efficiently through the seventh operation. In an optional embodiment, in response to the sixth input, the electronic device can merge the first temporary group chat and the second temporary group chat into a third temporary group chat. At this time, the group chat members of the third temporary group chat should include all the group chat members of the second temporary group chat, as well as the first user, the second user, and the third user in the first temporary group chat.
[0103] In some embodiments of this application, after merging the first temporary group chat and the second temporary group chat into a third temporary group chat, the electronic device can also cancel the display of the first group chat sub-interface and the second group chat sub-interface. In this case, the third group chat sub-interface corresponding to the third temporary group chat is directly displayed in the first chat interface. In an optional embodiment, the chat information in the first group chat sub-interface and the second group chat sub-interface, that is, the chat information of the first temporary group chat and the second temporary group chat, can be further displayed in the third group chat sub-interface.
[0104] In an optional embodiment, the third group chat sub-interface may include all group chat messages from the first and second group chat sub-interfaces. These group chat messages may be displayed in chronological order or may be displayed separately in two areas.
[0105] In this embodiment of the application, after the first group chat sub-interface and the second group chat sub-interface are merged, the first user, the second user, the third user and the fourth user can all query all chat information in the first temporary group chat and the second temporary group chat, and can also communicate directly through the third temporary group chat.
[0106] Figure 8 This is the seventh schematic diagram provided for an embodiment of this application, as shown below. Figure 8 As shown, in response to the sixth input, the electronic device first merges all temporary group members of the first and second temporary group chats together to obtain a third temporary group chat that includes the first target user, the second target user, and all group chat users of the first group chat. Then, the first group chat sub-interface 23 and the second group chat sub-interface 61 will stop being displayed in the first group chat interface, and only the third group chat sub-interface 81 of the third temporary group chat will be displayed.
[0107] In this embodiment of the application, through the sixth input, the first temporary group chat and the second temporary group chat can be quickly merged into a third temporary group chat by simple operations on the first group chat sub-interface and the second group chat sub-interface, which can effectively improve the operation efficiency of group chat merging.
[0108] In some embodiments of this application, after the step of displaying the first group chat sub-interface of the first temporary group chat in the first chat interface, the method further includes:
[0109] Receive a seventh input that shares the first group chat sub-interface with at least one fourth user;
[0110] In response to the seventh input, a fourth group chat sub-interface of the fourth temporary group chat is displayed in the second chat interface of at least one of the fourth users; wherein the fourth temporary group chat includes: the first user, at least one second user, the third user, and the fourth user; the fourth group chat sub-interface includes the chat information in the first group chat sub-interface.
[0111] In this embodiment, the seventh input can be an operation by the first user or the second user to share the first group chat sub-interface. It can share the seventh input with one or more fourth users, or share the first group chat sub-interface with a group chat that includes multiple fourth users.
[0112] In this embodiment of the application, the second chat interface may be a chat interface between the fourth user and the first user or the second user, and the chat information between the fourth user and the first user or the second user may be displayed in the second chat interface.
[0113] In an optional embodiment, the seventh input may be an operation of long-pressing the first group chat sub-interface, popping up the analysis page, and then clicking to share the first group chat sub-interface with at least one fourth user; alternatively, the seventh input may also be an operation of dragging the first group chat sub-interface to a fourth user identifier, with each fourth user identifier indicating one fourth user. The seventh input may also be a specific gesture input by the user, or other feasible inputs, which can be determined according to actual usage needs, and this embodiment of the invention does not impose limitations. The specific gestures in this application embodiment may be any one of a single-click gesture, a swipe gesture, a drag gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, or a double-tap gesture; the click input in this application embodiment may be a single-click input, a double-tap input, or any number of clicks, and may also be a long-press input or a short-press input.
[0114] In response to the seventh input, the electronic device can construct a fourth temporary group chat based on the first user, at least one second user, a third user, and a fourth user in the first temporary group chat, and display a sub-interface of the fourth group chat in the second chat interface. This sub-interface is used to display the chat information of the members of the fourth temporary group chat, and the historical chat information in the first temporary group chat can also be synchronized to the fourth group chat sub-interface for display.
[0115] Figure 9 This is the eighth schematic diagram provided for an embodiment of this application, as shown below. Figure 9 As shown, the system receives input to share the first group chat sub-interface 23 with the fourth user. In response to this input, a fourth temporary group chat can be created, including the first user, at least one second user, a third user, and the fourth user. Then, the fourth group chat sub-interface 102 of the fourth temporary group chat is displayed on the second chat page 101. The fourth group chat sub-interface includes all group chat messages in the first group chat sub-interface.
[0116] In one optional embodiment, group chat sub-interfaces can be shared across applications, thereby establishing communication links between multiple applications. For example, while chatting with a merchant's customer service in the shopping app's chat interface, the shopping app chat interface can also be shared to the social chat interface of a social networking app.
[0117] In this embodiment of the application, the first sub-interface of the first temporary group chat can be directly shared to the fourth user through the seventh input. Then, a new fourth temporary group chat is constructed based on all the group chat members of the first temporary group chat and the fourth user. The fourth group chat interface is displayed in the second chat interface of the fourth user. The fourth user can also view the chat information in the first group chat sub-interface in the fourth group chat sub-interface, avoiding the complicated operation of repeatedly reconstructing a new temporary group chat and synchronizing chat information.
[0118] In one alternative embodiment, Figure 10 This is the ninth illustration provided for an embodiment of this application, as shown in Figure 9. Figure 10 As shown, in the first chat interface 21, when it is detected that the group chat information includes a person's name, the name is matched in the address books of each group chat user. If the match is successful, a first invitation message is automatically sent to the target user corresponding to the name. The first invitation message is used to invite the target user to form a temporary group chat with the group chat users of the first temporary group chat. The group chat sub-interface corresponding to the temporary group chat is displayed in the first chat interface 21, and the group chat information that mentions the name is synchronized to the group chat sub-interface.
[0119] In an optional embodiment, when a user category label appears in the group chat information of the first temporary group chat, clicking the user category label will add all users who match the user category label to the first temporary group chat.
[0120] The chat message processing method provided in this application can be executed by a chat message processing device. This application uses a chat message processing device executing the chat message processing method as an example to illustrate the chat message processing device provided in this application.
[0121] Figure 11 This is a schematic diagram of the chat message processing device provided in the embodiments of this application, such as... Figure 11 As shown, it includes:
[0122] The display module 1110 is used to display the first sub-interface of the first temporary group chat in the first chat interface; the first chat interface is a chat interface between the first user and at least one second user, and the first temporary group chat includes the first user, at least one second user and a third user;
[0123] The receiving module 1120 is used to receive a first input that sends a first chat message in the first chat interface;
[0124] The response module 1130 is used to respond to the first input and display the first chat information in the first group chat sub-interface.
[0125] Optionally, the receiving module is further configured to: receive a second input to the first chat interface;
[0126] The response module is further configured to respond to the second input, create a first temporary group chat, and display N third user identifiers and a first group chat sub-interface in the first chat interface, wherein each third user identifier is used to indicate a third user;
[0127] The receiving module is further configured to: receive a third input to M third user identifiers out of the N third user identifiers;
[0128] The response module is further configured to respond to the third input by creating a first temporary group chat comprising the first user, at least one second user, and M third users, where N and M are both positive integers.
[0129] Optionally, the receiving module is further configured to receive a fourth input that synchronizes the second chat information in the first chat interface to the first temporary group chat;
[0130] The response module is used to respond to the fourth input by displaying the first group chat sub-interface containing the second chat information in the first chat interface.
[0131] Optionally, if the first chat interface further includes a second temporary group chat sub-interface, the receiving module is also configured to receive a fifth input that moves the third chat information in the first group chat sub-interface to the second group chat sub-interface.
[0132] The response module is also used to respond to the fifth input by synchronously displaying the third chat information in the second group chat sub-interface.
[0133] Optionally, if the first chat interface also includes a second group chat sub-interface for a second temporary group chat, the receiving module is further configured to receive a sixth input that slides the first group chat sub-interface to the second group chat sub-interface or slides the second group chat sub-interface to the first group chat sub-interface.
[0134] The response module is further configured to respond to the sixth input by displaying a third group chat sub-interface of the third temporary group chat in the first chat interface; wherein the third temporary group chat includes: group chat users of the second temporary group chat, the first user, the second user, and the third user; and the third group chat sub-interface includes chat information in the first group chat sub-interface and the second group chat sub-interface.
[0135] Optionally, the receiving module is further configured to: receive a seventh input that shares the first group chat sub-interface with at least one fourth user;
[0136] The response module is further configured to respond to the seventh input by displaying a fourth group chat sub-interface of the fourth temporary group chat in the second chat interface of at least one of the fourth users; wherein the fourth temporary group chat includes: the first user, at least one second user, the third user, and the fourth user; and the fourth group chat sub-interface includes the chat information in the first group chat sub-interface.
[0137] In this embodiment, by forming a first temporary group chat together—a first user, at least one second user, and a third user who are not suitable for direct private communication or for forming a group chat directly—and displaying the first group chat sub-interface within the first chat interface, this approach avoids direct private communication between the first or second user and the third user while allowing all users to communicate directly within the first group chat sub-interface. This effectively avoids the cumbersome steps of forwarding chat messages and improves communication efficiency. Furthermore, when the first or second user sends a first chat message within the first chat interface, that message is automatically synchronized to the first group chat sub-interface. This ensures that only the first or second user can share the first chat message with the third user, effectively improving communication efficiency while guaranteeing information privacy and security.
[0138] The chat message processing device in this application embodiment can be an electronic device or a component of an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television set (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the device.
[0139] The chat message processing device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit it.
[0140] The group chat device provided in this application embodiment can achieve... Figures 1 to 10 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.
[0141] Optionally, Figure 12 This is a schematic diagram of the electronic device structure provided in the embodiments of this application, such as... Figure 12 As shown, this application embodiment also provides an electronic device 1200, including a processor 1201 and a memory 1202. The memory 1202 stores a program or instructions that can run on the processor 1201. When the program or instructions are executed by the processor 1201, they implement the various steps of the above-described chat information processing method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0142] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
[0143] Figure 13 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.
[0144] The electronic device 1300 includes, but is not limited to, components such as: radio frequency unit 1301, network module 1302, audio output unit 1303, input unit 1304, sensor 1305, display unit 1306, user input unit 1307, interface unit 1308, memory 1309, and processor 1310.
[0145] Those skilled in the art will understand that the electronic device 1300 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 1310 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 13 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0146] The display unit 1306 is used to display the first group chat sub-interface of the first temporary group chat in the first chat interface; the first chat interface is a chat interface between the first user and at least one second user, and the first temporary group chat includes the first user, at least one second user and a third user;
[0147] User input unit 1307 is used to receive a first input that sends a first chat message in the first chat interface;
[0148] The display unit 1306 is used to respond to the first input and display the first chat information in the first group chat sub-interface.
[0149] User input unit 1307 is used to receive a second input to the first chat interface;
[0150] The display unit 1306 is configured to respond to the second input, create a first temporary group chat, and display N third user identifiers and a first group chat sub-interface in the first chat interface, wherein each third user identifier is used to indicate a third user;
[0151] User input unit 1307 is used to respond to the second input, create a first temporary group chat, and display N third user identifiers in the first chat interface, each of the third user identifiers being used to indicate a third user;
[0152] Processor 1310 is configured to, in response to the third input, create a first temporary group chat comprising the first user, at least one second user, and M third users, where N and M are both positive integers.
[0153] User input unit 1307 is used to receive a fourth input that synchronizes the second chat information in the first chat interface to the first temporary group chat;
[0154] The display unit 1306 is configured to respond to the fourth input by displaying the first group chat sub-interface containing the second chat information in the first chat interface.
[0155] User input unit 1307 is used to receive a fifth input that moves the fourth chat information in the first group chat sub-interface to the second group chat sub-interface;
[0156] The display unit 1306 is used to respond to the fifth input and simultaneously display the fourth chat information in the second group chat sub-interface.
[0157] User input unit 1307 is used to receive a sixth input, which is to slide the first group chat sub-interface to the second group chat sub-interface or slide the second group chat sub-interface to the first group chat sub-interface.
[0158] The display unit 1306 is configured to respond to the sixth input and display a third group chat sub-interface of the third temporary group chat in the first chat interface; wherein the third temporary group chat includes: group chat users of the second temporary group chat, the first user, the second user, and the third user; the third group chat sub-interface includes chat information in the first group chat sub-interface and the second group chat sub-interface.
[0159] User input unit 1307 is used to receive a seventh input that shares the first group chat sub-interface with at least one fourth user;
[0160] The display unit 1306 is configured to respond to the seventh input by displaying a fourth group chat sub-interface of the fourth temporary group chat in the second chat interface of at least one of the fourth users; wherein the fourth temporary group chat includes: the first user, at least one second user, the third user, and the fourth user; and the fourth group chat sub-interface includes the chat information in the first group chat sub-interface.
[0161] In this embodiment, by forming a first temporary group chat together—a first user, at least one second user, and a third user who are not suitable for direct private communication or for forming a group chat directly—and displaying the first group chat sub-interface within the first chat interface, this approach avoids direct private communication between the first or second user and the third user while allowing all users to communicate directly within the first group chat sub-interface. This effectively avoids the cumbersome steps of forwarding chat messages and improves communication efficiency. Furthermore, when the first or second user sends a first chat message within the first chat interface, that message is automatically synchronized to the first group chat sub-interface. This ensures that only the first or second user can share the first chat message with the third user, effectively improving communication efficiency while guaranteeing information privacy and security.
[0162] It should be understood that, in this embodiment, the input unit 1304 may include a graphics processing unit (GPU) 13041 and a microphone 13042. The GPU 13041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 1306 may include a display panel 13061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1307 includes a touch panel 13071 and at least one of other input devices 13072. The touch panel 13071 is also called a touch screen. The touch panel 13071 may include a touch detection device and a touch controller. Other input devices 13072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.
[0163] The memory 1309 can be used to store software programs and various data. The memory 1309 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 1309 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 1309 in this embodiment includes, but is not limited to, these and any other suitable types of memory.
[0164] Processor 1310 may include one or more processing units; optionally, processor 1310 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 1310.
[0165] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described chat information processing method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0166] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0167] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0168] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0169] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described chat message processing method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0170] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0171] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0172] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A method for processing chat messages, characterized in that, include: The first sub-interface of the first temporary group chat is displayed in the first chat interface; The first chat interface is a chat interface between the first user and at least one second user. The first temporary group chat includes the first user, at least one second user, and a third user. The first temporary group chat is associated with the first chat interface, and the first group chat sub-interface of the first temporary group chat is only displayed in the first chat interface. The first group chat sub-interface that displays the first temporary group chat in the first chat interface includes: The system receives a fourth input that synchronizes the second chat information in the first chat interface to the first temporary group chat; the second chat information is the historical chat information sent by the first user and at least one second user during the chat process and displayed in the first chat interface. In response to the fourth input, the second chat information is automatically synchronized to the first temporary group chat, and the first group chat sub-interface containing the second chat information is displayed in the first chat interface. Receive the first input from the first chat interface to send the first chat message; In response to the first input, upon receiving an eighth input to synchronize the first chat information to the first temporary group chat, the first chat information is displayed in the first group chat sub-interface.
2. The chat message processing method according to claim 1, characterized in that, Before the step of displaying the first sub-interface of the first temporary group chat in the first chat interface, the following steps are also included: Receive a second input to the first chat interface; In response to the second input, a first temporary group chat is created, and N third user identifiers are displayed in the first chat interface, each of the third user identifiers indicating a third user; Receive a third input for M third user identifiers out of N third user identifiers; In response to the third input, a first temporary group chat is created, comprising the first user, at least one second user, and M third users, where N and M are both positive integers.
3. The chat message processing method according to claim 1, characterized in that, If the first chat interface also includes a second temporary group chat sub-interface, it further includes: Receive the fifth input that moves the fourth chat message in the first group chat sub-interface to the second group chat sub-interface; In response to the fifth input, the fourth chat information is simultaneously displayed in the second group chat sub-interface.
4. The chat message processing method according to claim 1, characterized in that, If the first chat interface also includes a second temporary group chat sub-interface, it further includes: The sixth input is to slide the first group chat sub-interface to the second group chat sub-interface, or to slide the second group chat sub-interface to the first group chat sub-interface. In response to the sixth input, a third group chat sub-interface of the third temporary group chat is displayed in the first chat interface; wherein, the third temporary group chat includes: the group chat users of the second temporary group chat, the first user, the second user, and the third user; the third group chat sub-interface includes the chat information in the first group chat sub-interface and the second group chat sub-interface.
5. The chat message processing method according to claim 1, characterized in that, After the steps of displaying the first sub-interface of the first temporary group chat in the first chat interface, the following are also included: Receive a seventh input that shares the first group chat sub-interface with at least one fourth user; In response to the seventh input, a fourth group chat sub-interface of the fourth temporary group chat is displayed in the second chat interface of at least one of the fourth users; wherein the fourth temporary group chat includes: the first user, at least one second user, the third user, and the fourth user; the fourth group chat sub-interface includes the chat information in the first group chat sub-interface.
6. A chat message processing device, characterized in that, include: The display module is used to display the first sub-interface of the first temporary group chat in the first chat interface; The first chat interface is a chat interface between a first user and at least one second user. The first temporary group chat includes the first user, at least one second user, and a third user. The first temporary group chat is associated with the first chat interface, and the first group chat sub-interface of the first temporary group chat is only displayed in the first chat interface. Displaying the first group chat sub-interface of the first temporary group chat in the first chat interface includes: The system receives a fourth input that synchronizes the second chat information in the first chat interface to the first temporary group chat; the second chat information is the historical chat information sent by the first user and at least one second user during the chat process and displayed in the first chat interface. In response to the fourth input, the second chat information is automatically synchronized to the first temporary group chat, and the first group chat sub-interface containing the second chat information is displayed in the first chat interface; The receiving module is used to receive the first input sent by the first chat message in the first chat interface; The response module is configured to respond to the first input and, upon receiving an eighth input requesting the synchronization of the first chat information to the first temporary group chat, display the first chat information in the first group chat sub-interface.
7. The chat message processing device according to claim 6, characterized in that, The receiving module is further configured to: receive a second input to the first chat interface; The response module is further configured to respond to the second input, create a first temporary group chat, and display N third user identifiers and a first group chat sub-interface in the first chat interface, wherein each third user identifier is used to indicate a third user; The receiving module is further configured to: receive a third input to M third user identifiers out of the N third user identifiers; The response module is further configured to respond to the third input by creating a first temporary group chat comprising the first user, at least one second user, and M third users, where N and M are both positive integers.
8. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the chat message processing method as described in any one of claims 1-5.
9. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the chat message processing method as described in any one of claims 1-5.
Citation Information
Patent Citations
Temporary group chat interface generation method and device, equipment and storage medium
CN112130950A
Network communication method and equipment
CN112187488A
Data sharing method and device, electronic equipment and medium
CN115695355A