Message processing method and device, terminal, server and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2022-01-07
- Publication Date
- 2026-08-07
AI Technical Summary
[0003]但是,这种进入群组会话界面的方式,需要用户先在群组列表中找到待打开的群组会话,然后,再对待打开的群组会话进行打开操作,才能触发终端显示群组会话的会话界面,以进入群组会话界面,操作流程复杂
[0073]通过响应于对目标会话中该第一会话消息的打开操作,通过会话记录界面来展示第一会话消息转发的目标群组会话的会话消息,由于会话记录界面中的调整选项提供跳转至目标群组会话的功能,从而响应于对该会话记录界面中跳转选项的选择操作,显示目标群组会话的界面,从而一键实现界面的跳转,简化了进入群组会话的界面的操作流程,且便于用户参与到群组会话中的讨论,能够提高群组会话的参与率。
Smart Images

Figure CN116455855B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of network technology, and in particular to a message processing method, apparatus, terminal, server, and storage medium. Background Technology
[0002] Current social applications support group chat functionality. Users log in to the application via their devices, and upon login, the device displays a list of the user's groups, including all the group chats the user has joined. Users can open any group chat in the list, triggering the device to display the group chat interface, allowing them to engage in a group chat with other members of that group.
[0003] However, this method of entering the group conversation interface requires the user to first find the group conversation to be opened in the group list, and then open the group conversation to trigger the terminal to display the group conversation interface, making the operation process complicated. Summary of the Invention
[0004] This application provides a message processing method, apparatus, terminal, server, and storage medium, which simplifies the operation process of entering a group session interface. The technical solution is as follows:
[0005] Firstly, a message processing method is provided, the method comprising:
[0006] In the target session's session interface, a first session message is displayed, which includes at least one second session message from the target group session;
[0007] In response to the opening operation of the first session message, a session record interface is displayed. The session record interface displays a jump option and at least one second session message of the target group session. The jump option is used to provide the function of jumping to the target group session.
[0008] In response to the selection of the jump option in the session record interface, the interface of the target group session is displayed.
[0009] Secondly, a message processing method is provided, the method comprising:
[0010] In response to a forwarding operation of at least one second session message for the target group session, the message forwarding interface is displayed;
[0011] In response to the sending confirmation operation of the message forwarding interface, a first session message is sent in the target session. The first session message includes at least one second session message of the target group session and the group information of the target group session.
[0012] Thirdly, a message processing method is provided, the method comprising:
[0013] Receive a confirmation request, the confirmation request being used to confirm whether the first object has joined the target group session based on the second object's session message forwarding behavior;
[0014] From the group joining behavior information of at least one object, query the target group joining behavior information of the first object to obtain the query result. The group joining behavior information of one object is used to indicate that the object joins a group session based on the session message forwarding behavior of another object. The target group joining information is used to indicate that the first object joins the target group session based on the session message forwarding behavior of the second object.
[0015] A confirmation response is sent based on the query result. The confirmation response is used to instruct the first object to join the target group session based on the second object's session message forwarding behavior.
[0016] Fourthly, a message processing apparatus is provided, the apparatus comprising:
[0017] The first display module is used to display a first session message in the session interface of the target session, wherein the first session message includes at least one second session message of the target group session;
[0018] The second display module is used to display a session record interface in response to the opening operation of the first session message. The session record interface displays a jump option and at least one second session message of the target group session. The jump option is used to provide the function of jumping to the target group session.
[0019] The third display module is used to display the interface of the target group session in response to the selection operation of the jump option in the session record interface.
[0020] In one possible implementation, the jump option is further configured to provide a function to recommend the target group session; the third display module is further configured to:
[0021] If the first object of the target session has not joined the target group session, the group joining interface of the target group session is displayed. The group joining interface includes a joining option, which is used to provide the function of joining the target group session.
[0022] In response to the selection of the join option in the group join interface, join the target group session.
[0023] In one possible implementation, the third display module is further configured to:
[0024] In response to the operation of opening the target group session, the session messages of the target group session are displayed in the group session interface, starting from the target session message in the at least one second session message.
[0025] In one possible implementation, the device further includes:
[0026] The sending module is used to send a confirmation request to the server in response to the operation of opening the target group session. The confirmation request is used to confirm whether the first object has joined the target group session based on the session message forwarding behavior of the second object.
[0027] The receiving module is also used to receive a confirmation response from the server, the confirmation response being used to instruct the first object to join the target group session based on the second object's session message forwarding behavior;
[0028] The third display module is further configured to, based on the confirmation response, execute the step of displaying the session message of the target group session in the group session interface, starting from the target session message in the at least one second session message.
[0029] In one possible implementation, the third display module is further configured to:
[0030] In response to the operation of opening the target group session, if the target group joining behavior information of the first object is stored, the step of displaying the session message of the target group session in the group session interface, starting from the target session message in the at least one second session message;
[0031] The target group joining behavior information is used to instruct the first object to join the target group session based on the second object's session message forwarding behavior.
[0032] In one possible implementation, the third display module is further configured to:
[0033] If the first object of the target session has joined the target group session, the group session interface of the target group session is displayed.
[0034] In one possible implementation, the third display module is further configured to:
[0035] In the group session interface, the session messages of the target group session are displayed, starting from the target session message in the at least one second session message.
[0036] In one possible implementation, the third display module is further configured to:
[0037] The at least one second session message is displayed separately from the third session message of the target group session, wherein the third session message is the session message in the target group session other than the at least one second session message.
[0038] In one possible implementation, the third display module is further configured to:
[0039] The first background color is used to display the area where at least one second session message is located in the group session interface;
[0040] The area where the third session message is located in the group session interface is displayed using a second background color.
[0041] In one possible implementation, the device further includes:
[0042] The acquisition module is used to acquire the group account of at least one group session that the first object has joined;
[0043] If the group account of the at least one group session includes the group account of the target group session, then the first object of the target session has been added to the target group session;
[0044] If the group account of the at least one group session does not include the group account of the target group session, then the first object has not joined the target group session.
[0045] In one possible implementation, the group account of the target group session is located in the first group information field of the first session message.
[0046] In one possible implementation, if the first session message includes a first target identifier or a second target identifier, the first target identifier is used to indicate that the first object has joined the target group session, and the second target identifier is used to indicate that the first object has not joined the target group session.
[0047] In one possible implementation, the redirection option is further configured to indicate that the at least one second session message belongs to the target group session; the third display module is further configured to:
[0048] On the jump option, a first prompt message is displayed, which is used to indicate that the at least one second session message belongs to the target group session.
[0049] In one possible implementation, the first session message further includes the session name of the target group session; the apparatus further includes:
[0050] The generation module is used to generate the first prompt information based on the session name of the target group session.
[0051] In one possible implementation, the session name of the target group session is located in the second group information field of the first session message.
[0052] In one possible implementation, the first prompt message is also used to indicate whether the first object has already entered the target group session.
[0053] In one possible implementation, the session record interface also displays a second prompt message, which is used to indicate the number of third objects in the target group session, wherein the third object is an associated object of the first object in the target session.
[0054] In one possible implementation, the session record interface further displays a prompt option, which is used to display the second prompt information and provide the function of viewing the third object; the device further includes:
[0055] The fourth display module is used to display the associated object interface in response to the selection operation of the prompt option in the session record interface, wherein the associated object interface displays the third object in the target group session.
[0056] Fifthly, a message processing apparatus is provided, the apparatus comprising:
[0057] The display module is used to display the message forwarding interface in response to a forwarding operation of at least one second session message of the target group session;
[0058] The sending module is configured to, in response to a sending confirmation operation of the message forwarding interface, send a first session message in the target session. The first session message includes at least one second session message of the target group session and group information of the target group session.
[0059] In one possible implementation, the message forwarding interface displays a group information option, which is used to enable the function of carrying group information of the target group session, and the sending module is used to:
[0060] When the group information option is enabled, in response to the send confirmation operation of the message forwarding interface, the first session message is sent in the target session.
[0061] In one possible implementation, the group information includes the group account of the target group session;
[0062] Alternatively, the group information may include the group account and the session name of the target group session.
[0063] In one possible implementation, the group account is located in the first group information field of the first session message, and the session name is located in the second group information field of the first session message.
[0064] Sixthly, a message processing apparatus is provided, the apparatus comprising:
[0065] The receiving module is used to receive confirmation requests, which are used to confirm whether the first object has joined the target group session based on the second object's session message forwarding behavior;
[0066] The query module is used to query the target group joining behavior information of the first object from the group joining behavior information of at least one object, and obtain the query result. The group joining behavior information of one object is used to indicate that the object joins a group session based on the session message forwarding behavior of another object. The target group joining behavior information is used to indicate that the first object joins the target group session based on the session message forwarding behavior of the second object.
[0067] The sending module is used to send a confirmation response based on the query result. The confirmation response is used to instruct the first object to join the target group session based on the second object's session message forwarding behavior.
[0068] In a seventh aspect, a terminal is provided, the terminal including one or more processors and one or more memories, the one or more memories storing at least one computer program, the at least one computer program being loaded and executed by the one or more processors to implement the message processing method as described in the first aspect or any possible implementation of the first aspect.
[0069] Eighthly, a terminal is provided, the terminal including one or more processors and one or more memories, the one or more memories storing at least one computer program, the at least one computer program being loaded and executed by the one or more processors to implement the message processing method as described in the second aspect or any possible implementation of the second aspect.
[0070] In a ninth aspect, a server is provided, the server including one or more processors and one or more memories, the one or more memories storing at least one computer program, the at least one computer program being loaded and executed by the one or more processors to implement the message processing method as described in the third aspect above.
[0071] In a tenth aspect, a computer-readable storage medium is provided, wherein at least one computer program is stored therein, the at least one computer program being loaded and executed by a processor to implement a message processing method as described in any of the possible implementations above.
[0072] Eleventhly, a computer program product is provided, comprising one or more computer programs stored in a computer-readable storage medium. One or more processors of an electronic device are capable of reading the one or more program codes from the computer-readable storage medium, and the one or more processors execute the one or more computer programs, enabling the electronic device to perform the message processing method of any of the above possible embodiments. The electronic device includes a terminal or a server.
[0073] In response to the opening operation of the first session message in the target session, the session message of the target group session forwarded by the first session message is displayed through the session record interface. Since the adjustment options in the session record interface provide the function of jumping to the target group session, the interface of the target group session is displayed in response to the selection operation of the jump option in the session record interface, thereby realizing the interface jump with one click, simplifying the operation process of entering the group session interface, and making it easier for users to participate in the discussion in the group session, which can improve the participation rate of the group session. Attached Figure Description
[0074] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0075] Figure 1 This is a schematic diagram of a conversation system provided in an embodiment of this application;
[0076] Figure 2 This is a flowchart of a message processing method provided in an embodiment of this application;
[0077] Figure 3 This is a flowchart of a message processing method provided in an embodiment of this application;
[0078] Figure 4 This is a flowchart of a message processing method provided in an embodiment of this application;
[0079] Figure 5 This is a schematic diagram of a message forwarding interface provided in an embodiment of this application;
[0080] Figure 6 This is a schematic diagram of a message forwarding interface provided in an embodiment of this application;
[0081] Figure 7 This is a schematic diagram of a session recording interface provided in an embodiment of this application;
[0082] Figure 8 This is a schematic diagram of a session recording interface provided in an embodiment of this application;
[0083] Figure 9 This is a schematic diagram of a session recording interface provided in an embodiment of this application;
[0084] Figure 10 This is a schematic diagram of a session recording interface provided in an embodiment of this application;
[0085] Figure 11 This is a schematic diagram of a group chat interface provided in an embodiment of this application;
[0086] Figure 12 This is a schematic diagram of a group chat interface provided in an embodiment of this application;
[0087] Figure 13 This is a flowchart of a message processing method provided in an embodiment of this application;
[0088] Figure 14 This is a schematic diagram of a group joining interface provided in an embodiment of this application;
[0089] Figure 15 This is a schematic diagram of a group joining interface provided in an embodiment of this application;
[0090] Figure 16 This is a flowchart illustrating a message processing method provided in an embodiment of this application;
[0091] Figure 17 This is a schematic diagram of the structure of a message processing device provided in an embodiment of this application;
[0092] Figure 18 This is a schematic diagram of the structure of a message processing device provided in an embodiment of this application;
[0093] Figure 19 This is a schematic diagram of the structure of a message processing device provided in an embodiment of this application;
[0094] Figure 20 This is a schematic diagram of the structure of a terminal provided in an embodiment of this application;
[0095] Figure 21 This is a schematic diagram of the structure of a server provided in an embodiment of this application. Detailed Implementation
[0096] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0097] In this application, the terms "first," "second," etc., are used to distinguish identical or similar items that have essentially the same function. It should be understood that there is no logical or temporal dependency between "first," "second," and "nth," nor does it limit the quantity or execution order. It should also be understood that although the following description uses the terms "first," "second," etc., to describe various elements, these elements should not be limited by the terms.
[0098] These terms are simply used to distinguish one element from another. For example, without departing from the various examples, the first element can be referred to as the second element, and similarly, the second element can be referred to as the first element. Both the first and second elements can be elements, and in some cases, they can be separate and distinct elements.
[0099] "At least one" means one or more elements. For example, at least one element can be one element, two elements, three elements, or any integer number of elements greater than or equal to one. "At least two" means two or more elements. For example, at least two elements can be two elements, three elements, or any integer number of elements greater than or equal to two.
[0100] Figure 1 This is a schematic diagram of a conversation system provided in an embodiment of this application. See also... Figure 1 The session system 100 includes multiple terminals 101 and a server 102, which are directly or indirectly connected to the server 102 via wired or wireless communication.
[0101] The plurality of terminals 101 includes at least one of smartphones, tablets, smart speakers, smartwatches, laptops, smart handheld devices, smart in-vehicle devices, portable gaming devices, or desktop computers, and the types of the plurality of terminals 101 are not limited thereto.
[0102] Server 102 includes at least one of the following: a single server, multiple servers, a cloud computing platform, or a virtualization center. Optionally, server 102 may be an independent physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.
[0103] The session system 100 is an IM (Instant Messaging) system. Each terminal 101 in the session system 100 runs a target application that supports sessions. Users log in to the target application on the terminal 101 using their respective user accounts and engage in sessions with other users through the target application. During the sessions, instant communication is conducted through session messages. The server 102 is used to provide background services for the target application.
[0104] The target application can be a social application, content consumption application, audio / video application, or payment application that supports conversations. This application embodiment does not limit the type of target application. A conversation is an interactive mode that uses a network (such as the Internet, IoT, or LAN) as the communication medium. The user accounts participating in the conversation are the objects of the conversation, i.e., the conversation participants or members. A conversation requires at least two objects (i.e., conversation participants). Each object's conversation messages are synchronized in real-time by the server 102 to the terminal 101 logged into by each object, thereby achieving instant communication between objects. Based on the number of participating objects, conversations can be divided into one-to-one conversations and group conversations. A one-to-one conversation is a conversation between two objects, which can be a private message conversation or a non-private message conversation, etc. A group conversation is a conversation jointly conducted by multiple objects forming a group, such as a group chat.
[0105] For a group session, the corresponding objects within the group are also called group members. All group members can publish session messages within the group session, and the server 102 synchronizes these messages to the terminals 101 of each group member. The session messages published by group members include, but are not limited to, text messages, image messages, voice messages, and emoticons. The content of the session messages can include product recommendations, product discount information, current activities of group members (such as playing games together, spectating games, watching live streams, etc.), and other chat content from group members. This embodiment of the application does not specifically limit the content of the session messages.
[0106] During the session, all terminals participating in the session can process session messages. The message processing method on the terminal side is described below with reference to the attached diagram:
[0107] Figure 2 This is a flowchart of a message processing method provided in an embodiment of this application. See also... Figure 2 This method is executed by the first terminal.
[0108] 201. The first terminal displays a first session message in the session interface of the target session, the first session message carrying at least one second session message of the target group session.
[0109] The target session includes a first object and a second object. The first object is the user account of the first user logging into the target application, and it can act as the receiver of first session messages within the target session. Any terminal running the target application logged into by the first object is referred to as the first terminal. For the first terminal, the first object is the local object in the target session, and the second object is the peer object in the target session. The second object can act as the sender of first session messages, and it is the user account of the second user logging into the target application.
[0110] The target session is either a one-to-one session between the first object and the second object, or a group session. When the target session is a group session, it corresponds to a group, in which all objects except the second object are referred to as the first object.
[0111] The target group session refers to a group session within a target group to which the second object belongs. This target group can be any group the second object has joined, and the second object can be a member of any group within that target group. It is understood that the second object has joined the target group session and has the authority to forward session messages from that target group session. The at least one second session message is a session message from the second object forwarded from the second object to the first object, i.e., a forwarding message.
[0112] The first session message is a session message sent from a second object in the target session to a first object, i.e., a session message that includes forwarded messages. This first session message is used to instruct, based on at least one second session message, to recommend the target group session to the first object.
[0113] When the first terminal runs the target application, it logs into the target application through the first object. After logging in, the first terminal initiates a session with other objects through the target application. For example, after logging in, the first terminal displays the main interface of the target application, which shows the first object's friend list and group list. The friend list includes the first object's various friend accounts, each friend account is associated with the first object, and each friend account is also an associated object of the first object; this friend list can also be called an association list. The group list includes the group accounts of the various groups that the first object has joined, and each group account indicates a group. Both friend accounts and group accounts in the friend list can be used as session objects. When the first user initiates a session with any object in the friend list or group list, the first terminal responds by displaying a session interface. The first user enters session information in this session interface, and the first terminal synchronizes the first user's session information with the terminal associated with that object through the server in the form of a session message, thereby realizing a session between the first object and that object.
[0114] 202. In response to the opening operation of the first session message, the first terminal displays a session record interface, which displays a jump option and at least one second session message of the target group session. The jump option is used to provide the function of jumping to the target group session.
[0115] In this step 202 and the following embodiments, the opening operation includes any one of the user's click operation, swipe operation and voice command. Here, this application does not limit the opening operation.
[0116] In step 202, taking a click operation as an example, the first user clicks on the first session message in the target session, and after the first terminal detects the click operation on the first session message, it displays the recommended interface of the target group session.
[0117] In step 202, taking the voice command as an example, if the voice content is the voice command "Open Messages", when the first terminal displays the conversation interface of the target conversation, the first user inputs the voice command through the voice assistant. After the first terminal recognizes the voice command, it displays the recommended interface of the target group conversation.
[0118] 203. The first terminal responds to the selection of the jump option in the session record interface and displays the interface of the target group session.
[0119] The interface of the target group session includes either the group session interface or the group join interface, which provides the function of joining the target group session.
[0120] The selection operation involved in step 203 and the following embodiments includes any one of the user's click operation, swipe operation and voice command. Here, the embodiments of this application do not limit the opening operation.
[0121] In step 203, taking a click operation as an example, the first user clicks the "Join" option in the session record interface. After detecting the click operation on the "Join" option, the first terminal displays the interface of the target group session.
[0122] In step 203, taking the voice command "jump" as an example, the first user inputs the voice command through a voice assistant. After the first terminal recognizes the voice command, it displays the interface of the target group conversation.
[0123] The method provided in this application embodiment, in response to the opening operation of the first session message in the target session, displays the session message of the target group session forwarded by the first session message through the session record interface. Since the adjustment options in the session record interface provide the function of jumping to the target group session, in response to the selection operation of the jump option in the session record interface, the interface of the target group session is displayed, thereby realizing the interface jump with one click, simplifying the operation process of entering the group session interface, and making it easier for users to join the group and participate in the discussion in the group session, which can improve the participation rate of the group session.
[0124] Figure 2 This description of the message processing method uses the message receiving end (i.e., the first terminal) as an example. To further illustrate the message sending end's process of handling the message session, please refer to [link / reference needed]. Figure 3 The flowchart shown is a message processing method provided in an embodiment of this application, which is executed by a second terminal.
[0125] 301. In response to the forwarding operation of at least one second session message of the target group session, the second terminal displays the message forwarding interface.
[0126] The second terminal is any terminal running the target application logged into by the second object. The at least one second session message is a session message selected by the second user from multiple session messages in the target group session, to be forwarded to the first object.
[0127] In one possible implementation, the at least one second session message is a session message arbitrarily selected by the second user from multiple session messages in the target group session; that is, the at least one second session message is any at least one session message in the target group session.
[0128] In another possible implementation, the at least one second session message is a session message related to the preferences of the first object in the target group session predicted by the second user; that is, the at least one second session message is a session message related to the preferences of the first object in the target group session.
[0129] 302. In response to the sending confirmation operation of the message forwarding interface, the second terminal sends a first session message in the target session. The first session message includes at least one second session message of the target group session and the group information of the target group session.
[0130] The confirmation operation is used to confirm the sending of at least one second session message. The group information includes the group account of the target group session. Alternatively, the group session information includes the group account and session name of the target group session. The group account indicates the group corresponding to the target group session. The session name indicates the target group session and is associated with the group account of the target group session. In some embodiments, the group account and session name of the target group session are the same; in this case, the group information includes either the group account or the session name of the target group session.
[0131] The second terminal uses a target communication protocol to transmit the first session message, wherein the target communication protocol is the communication protocol used to transmit session messages in the session system.
[0132] A session message conforming to the target communication protocol includes a session information field and a session message field. The session information field stores the recipient and sender information of the session message. Taking the first session message as an example, the recipient information of the first session message is a first object, and the sender information of the first session message is a second object. The session message field stores the session information of the session message, which is the information sent by the sender of the session message to the recipient. Taking the first session message as an example, the session information of the first session message is at least one second session message.
[0133] Session messages conforming to the target communication protocol also include a group information field, which stores group information for the group session to which the forwarded message belongs. Taking the first session message as an example, the group information for the target group session is located in the group information field of that first session message.
[0134] In one possible implementation, the group information field includes a first group information field and a second group information field. The first group information field stores the group account of the group session to which the forwarded message resides, and the second group information field stores the session name of the group session to which the forwarded message resides. Taking the first session message as an example, the group account of the target group session is located in the first group information field of the first session message, and the session name of the target group session is located in the second group information field of the first session message.
[0135] The group information field is a field specified by the target communication protocol or an extended field within the target communication protocol. In one possible implementation, the session message conforming to the target communication protocol also includes a reserved field used to store information required by the service according to business needs; this reserved field serves as the group information field. In another possible implementation, a group information field is added to the session message conforming to the target communication protocol, and this group information field serves as an extended field.
[0136] In another possible implementation, the group information includes, in addition to the group account or group session of the target group session, other information about the target group session, such as at least one of the group members, the group member categories, the QR code, and the brief description of the target group session. When the group information includes other information about the target group session, the length of the group information field is expanded accordingly to store more group information.
[0137] It should be noted that since the first session message is sent from the second object to the first object, for the second terminal, the second object is the object of the local end in the target session, while the first object is the object of the peer end in the target session.
[0138] The method provided in this application embodiment involves a second terminal displaying a message forwarding interface in response to a forwarding operation of at least one second session message of a target group session. In response to a sending confirmation operation of the message forwarding interface, a first session message is sent in the target session. Since the first session message includes at least one second session message of the target group session and the group information of the target group session, when the first terminal opens the first session message, it can display a jump option associated with the target group session in the session record interface based on the group session message. The user can then jump to the interface of the target group session through the jump option, thereby achieving one-click interface jump, simplifying the operation process of entering the group session interface, and facilitating user participation in the discussion in the group session, which can improve the participation rate of the group session.
[0139] In one possible implementation, both the first object and the second object are group members in the target group session. The second object can redirect the first object from its session with the second object to the target group session by forwarding session messages. For further explanation of the interaction process between the first and second terminals, see [link to relevant documentation]. Figure 4 The flowchart shown is a message processing method provided in an embodiment of this application.
[0140] 401. In response to the forwarding operation of at least one second session message of the target group session, the second terminal displays the message forwarding interface.
[0141] The forwarding operation is used to instruct the forwarding of at least one second session message to a first object. The first object is at least one, and any first object is either an associated object of the second object, or a group account of a group session that the second object has joined, excluding the target group session.
[0142] The forwarding operation includes multiple operations, such as triggering the forwarding option associated with the target group session interface, selecting at least one second session message, and selecting the first object.
[0143] In the target group session, the second terminal displays the session interface of the target group session, which displays multiple session messages. The second user performs a forwarding operation on at least one of the multiple session messages to select the session message to be forwarded; this at least one session message is also the at least one second session message selected by the second user for forwarding. After the forwarding operation is completed, the second terminal responds to the forwarding operation on the at least one second session message by displaying the message forwarding interface.
[0144] For example, the second user performs a processing selection operation on the conversation interface of the target group conversation. This processing selection operation is used to provide the function of performing at least one processing operation on the conversation messages of the conversation interface. The processing selection operation includes voice commands, gesture commands (such as continuously pressing a conversation message in the conversation interface for a preset duration), etc.
[0145] In response to the processing selection operation of the session interface, the second terminal displays a processing selection interface, which displays a forwarding option to provide the function of forwarding session messages of the target group session.
[0146] The second user selects a forwarding option in the processing selection interface. In response to the selection of the forwarding option, the second terminal displays a message selection interface. The message selection interface displays multiple session messages of the target group session and forwarding method options. The forwarding method options are used to provide at least one forwarding method for forwarding session messages.
[0147] The second user selects at least one session message from the message selection interface. In response to this selection, the second terminal identifies the at least one session message as a message to be forwarded; this at least one session message is also referred to as a second session message. The second user then selects a forwarding method option. In response, the second terminal displays a forwarding method selection interface, which includes a merge forwarding option and a message-by-message forwarding option. The merge forwarding option provides a merged forwarding method, and the message-by-message forwarding option provides a message-by-message forwarding method. The merge forwarding method forwards all at least one second session message together, while the message-by-message forwarding method forwards the at least one second session message sequentially.
[0148] The second user selects either the merge forwarding option or the item-by-item forwarding option. In response, the second terminal displays an object selection interface. This interface includes at least one of the following: the second object's friend list, group list, and recent conversation list. The second object's friend list includes all the friend accounts associated with the second object. The second object's group list includes the conversation names corresponding to the groups the second object belongs to. The recent conversation list includes at least one fourth object, each of whom has participated in the same conversation with the second object within a first time period prior to the current moment; that is, they are the second object's most recent chat partners.
[0149] The second user selects at least one object from at least one list in the object selection interface. In response to the selection of the at least one object, the second terminal uses the at least one object as at least one first object to receive a message. At this time, the forwarding operation of at least one second session message of the target group session is completed. In response to the completion of the selection of at least one second object, the second terminal displays the message forwarding interface.
[0150] See Figure 5 and Figure 6The schematic diagrams shown below illustrate a message forwarding interface according to embodiments of this application. Both message forwarding interfaces 500 and 600 include a target object display area 51, a message display option 52, a group information option 53, a note box 54, a cancel option 55, and a send option 56. The target object display area 51 displays at least one first object selected by the second user, or displays the avatar of at least one first object, or displays both at least one first object and its avatar. The message display option 52 displays at least one second conversation message selected by the second user, indicating the forwarding method of the at least one second conversation message. The group information option 53 enables group information carrying the target group conversation. The note box 54 stores note information for the second object. Optionally, the note box 54 also displays input prompt information, prompting the second object to enter note information in the note box 54, for example, the input prompt information is the text message "Enter a message". The cancel option 55 cancels the sending of the at least one second conversation message. The send option 56 confirms the sending of the at least one second conversation message.
[0151] Taking a target group session named "xxx group" as an example, where a second user selects conversation messages from objects A and B within "xxx group" as the second conversation messages to be forwarded, and chooses the merge forwarding method to forward the conversation messages, if the second user selects object C as the first object, after object C is selected, the second terminal displays the message forwarding interface 500, and the target object display area 51 displays the avatar of object C. If the second user selects objects C, D, and E from "xxx group" as the first objects, after the selection of objects C, D, and E is completed, the second terminal displays the message forwarding interface 600, and the target object display area 51 within the message forwarding interface 600 displays the avatars of objects C, D, and E. Furthermore, if the second user selects an avatar of an object within the target object display area 51, the second terminal responds to the selection operation by displaying the conversation interface between the second user and that object.
[0152] Message display option 52 instructs that the group session's session records be forwarded in a merged forwarding manner. If the second user selects message display option 52, the second terminal responds by displaying the session messages of object A and object B selected by the second user from the target group session.
[0153] 402. In response to the sending confirmation operation of the message forwarding interface, the second terminal sends a first session message to the server in the target session. The first session message includes at least one second session message of the target group session and the group information of the target group session.
[0154] In one possible implementation, the message forwarding interface includes sending options (such as...). Figure 5 As shown, the second user selects a send option in the message forwarding interface to confirm the send operation. Correspondingly, the second terminal, in response to the selection of the send option in the message forwarding interface, sends a first session message to the server in the target session.
[0155] When forwarding group session messages, the second user can also enable the function of carrying group information, instructing the second terminal to carry the group messages of the target group session in the first session message. Enabling the function of carrying group information can be achieved through a group information option, which can be displayed on the message forwarding interface or on a display interface other than the message forwarding interface. This application embodiment does not limit the display location of the group information option.
[0156] Here, taking the example of displaying group information options in the message forwarding interface, step 402 is described as follows:
[0157] When the group information option is enabled, the second terminal responds to the send confirmation operation of the message forwarding interface by sending the first session message in the target session.
[0158] For example, in response to the enabling operation of the group information option in the message forwarding interface and the sending confirmation operation of the message forwarding interface, the second terminal sends a first session message to the server in the target session. The enabling operation includes a sliding operation, such as sliding the group information option to the function-enabled position. The enabling operation can also be a clicking operation, such as clicking the group information option to select the function provided by the group information option. This embodiment of the application does not limit the enabling operation.
[0159] If the second user selects multiple first objects, a target session needs to be established between the second object and each first object. Accordingly, there are multiple target sessions, each including a second object and a first object, and each target session is a session between the second object and a first object. For ease of understanding, this application embodiment uses a single first object as an example for description.
[0160] In one possible implementation, the second user enables the group information option in the message forwarding interface. In response, the second terminal obtains the group information of the target group, encapsulates the at least one second session message and the obtained group information using the data format of the session message specified by the target communication protocol, obtains the first session message, and sends the first session message to the server. Through the group message included in the first session message, the server and the first terminal are notified that the session message forwarded by the second object originates from the target group session, thereby achieving the function of recommending the target group session.
[0161] Still with Figure 5 Taking the message forwarding interface 500 as an example, if a second user wants to invite the first object to join the target group session while forwarding session messages between object A and object B, they can slide the group information option 53 to the enabled position to trigger the second terminal to enable the function of carrying group information of the target group session. If the second object slides the group information option 53 to the disabled position, the second terminal will disable the function of carrying group information of the target group session. Then, the second user selects the sending option 56 to confirm the sending of at least one second session message. In response to the selection of sending option 56, if the function of carrying group information of the target group session is enabled, the second terminal generates a first session message including the group information of the target group session; otherwise, it generates a first session message excluding the group information of the target group session. Then, the second terminal sends the generated first session message to the server.
[0162] In one possible implementation, the first session message further includes a target identifier, which indicates whether the first object has joined the target group session. The target identifier may include a first target identifier or a second target identifier, whereby the first target identifier indicates that the first object has joined the target group session, and the second target identifier indicates that the first object has not joined the target group session.
[0163] For example, in response to the selection of a sending option in the message forwarding interface, the second terminal obtains each group member of the target group session. If the group members of the target group session include the first object, it means that the first object has joined the target group session, and the second terminal adds a first target identifier to the first session message. If the group members of the target group session do not include the first object, it means that the first object has not joined the target group session, and the second terminal adds a second target identifier to the first session message and sends a first session message including either the first target identifier or the second target identifier to the server.
[0164] It is understood that "the first object has joined the target group session" means that the first object has joined the target group corresponding to the target group session, and "the first object has not joined the target group session" means that the first object has not joined the target group corresponding to the target group session.
[0165] 403. The server receives the first session message from the second terminal.
[0166] 404. The server sends the first session message to the first terminal.
[0167] Upon receiving the first session message, the server retrieves the object information of the first object, which is the recipient, from the first session message. The server then queries whether the first object is logged in, where being logged in means that the first object has logged into the target application, and not being logged in means that the first object has not logged into the target application.
[0168] If the first object is logged in, the server sends the first session message to the first terminal associated with the first object. If the first object is not logged in, the server temporarily stores the first session message. When the first object logs into the application through the first terminal, the server then sends the first session message to the first terminal.
[0169] The server can send the first session message using any of the methods 1-3 below.
[0170] Method 1: The server sends the received first session message to the first terminal.
[0171] Method 2: If the received first session message includes group information of the target group session, the server adds a third object from the group session to the first session message and then sends a first session message including the third object to the first terminal.
[0172] The third object is the associated object of the first object in the target group session.
[0173] For example, the server obtains each group member of the target group session, and based on the associated objects recorded in the association list of the first object, queries the associated objects (i.e., the third objects) of the first object in the target group session from the group members of the target group session, and adds the queried associated objects to the first session message, so that the associated objects of the first object in the target group session can be prompted through the first session message.
[0174] Method 3: If the received first session message includes group information of the target group session but does not include the target identifier, the server adds the target identifier to the first session message and then sends a first session message including the target identifier to the first terminal.
[0175] The process of the server adding the target identifier to the first session message is the same as the process of the second terminal adding the target identifier to the first session message in step 403. Therefore, the process of the server adding the target identifier to the first session message will not be described again in this embodiment of the application.
[0176] 405. The first terminal receives the first session message and displays the first session message in the session interface of the target session.
[0177] When the first terminal receives the first session message, it retrieves the object information of the second object, which is the sender, from the first session message. If the first terminal is currently in a target session with the second object, it displays a session interface with the target session, and displays the first session message in the session interface of the target session.
[0178] If the first terminal is not currently in a target session with the second object, and the first object has enabled the message notification function of the target application, then the first terminal displays a viewing prompt message to prompt the user to view the first session message of the second object. If the first user opens the viewing prompt message, the first terminal responds by creating a session interface for the target session, displaying the session interface, and showing the first session message in the session interface.
[0179] If the first terminal is not currently in a target session with the second object, and the first object has not enabled the message notification function of the target application, when a selection operation of the second object in the first object's associated list is detected, the first terminal creates a session interface for the target session, displays the session interface for the target session, and displays the first session message in the session interface.
[0180] 406. In response to the opening operation of the first session message, the first terminal displays a session record interface, which displays a jump option and at least one second session message of the target group session. The jump option is used to provide the function of jumping to the target group session.
[0181] The operation of opening the first session message includes clicking the message box of the first session message. For example, when a first user clicks the message box of the first session message in the session interface of the target session, the first terminal responds to the click operation by displaying the session record interface.
[0182] by Figure 7 The schematic diagram shown in this application embodiment illustrates a session recording interface. Figure 7As shown, the conversation record interface 700 includes a jump option 701, a message display area 702, and a return option 703. The message display area 702 is used to display at least one second conversation message from the target group conversation. Taking the target group conversation name as "xxx group" and the conversation messages of object A and object B in "xxx group" as the second conversation messages as an example, the message display area 702 displays the conversation message "xxxx" for object A and the conversation message "yyyy" for object B.
[0183] The return option 703 is used to provide the function of returning to the target session. If the first user selects the return option 703, the first terminal responds to the selection operation of the return option 703 by closing the session record interface 700 and displaying the session interface of the target session.
[0184] In one possible implementation, the redirect option is also used to indicate that the at least one second session message belongs to the target group session. For example, the first terminal obtains the session name of the target group session from the second group information field of the first session message, and generates the first prompt message based on the session name of the target group session. Then, the first terminal displays the first prompt message on the redirect option, wherein the first prompt message is used to indicate that the at least one second session message belongs to the target group session. Still using... Figure 7 For example, the first prompt message displayed on the redirect option 701 is: "From xxx group".
[0185] In another possible implementation, the first terminal generates a first prompt message based on whether the first object has joined the target group session. This first prompt message further indicates whether the first object has joined the target group session. Optionally, the first prompt message includes a first target prompt message or a second target prompt message, wherein the first target prompt message indicates that the at least one second session message belongs to the target group session and that the first object has joined the target group session, and the second target prompt message indicates that the at least one second session message belongs to the target group session and that the first object has not joined the target group session.
[0186] For example, if the first session message includes a first target identifier, then the first object has joined the target group session, and the first terminal generates a first target prompt message, which is displayed on the jump option. If the first session message includes a second target identifier, then the first object has not joined the target group session, and the first terminal generates a second target prompt message, which is displayed on the jump option. The first terminal can determine whether the first object has joined the target group session based on the target identifier included in the first session message, and then generate corresponding prompt messages, which are displayed in the session history interface to indicate whether the object has joined the target group.
[0187] For example, if the first session message does not include a target identifier, the first terminal obtains the group accounts of at least one group session that the first object has joined. If the group accounts of the at least one group session include the group account of the target group session, then the first object of the target session has joined the target group session, and the first terminal generates a first target prompt message and displays the first target prompt message on the jump option. If the group accounts of the at least one group session do not include the group account of the target group session, then the first object of the target session has not joined the target group session, and the first terminal generates a second target prompt message and displays the second target prompt message on the jump option.
[0188] See Figure 8 The diagram shown is a schematic representation of a session recording interface provided in an embodiment of this application. Figure 8 The conversation history interfaces 8A and 8B are similar to those of conversation history interface 700, both including a jump option 701, a message display area 702, and a return option 703. As shown in conversation history interface 8A, if the first object has joined the target group conversation, the first terminal displays the first target prompt message on jump option 701: "From 'xxx group' and you have joined the group." As shown in conversation history interface 8B, if the first object has not joined the target group conversation, the first terminal displays the second target prompt message on jump option 701: "From 'xxx group' and you have not joined the group."
[0189] In one possible implementation, the session history interface also displays a second prompt message indicating the number of third objects in the target group session. Optionally, the session history interface also displays a prompt option that displays the second prompt message and provides the ability to view the third object in the target group session. By displaying the second prompt message on the prompt option, the user is prompted to navigate to the target group session's interface by being alerted to the associated objects of the first object in the target group session.
[0190] For example, if the first session message includes a third object in the target group session, the first terminal counts the number of third objects in the target session group, generates a second prompt message based on the number of third objects in the target session group, and displays the second prompt message on the prompt option.
[0191] See Figure 9 The diagram shown is a schematic representation of a session recording interface provided in an embodiment of this application. Figure 9As shown, the conversation history interface 900 is similar to the conversation history interface 700, both including a jump option 701, a message display area 702, and a return option 703. However, the conversation history interface 900 also includes a prompt option 704, which displays a second prompt message: You have 3 friends in the group. When the first user selects the prompt option 704, the first terminal responds by displaying a viewing interface 9A, which shows the avatars of the three third objects (S1, S2, and S3) in the target group conversation.
[0192] In another possible implementation, the session log interface does not include prompt options; the second prompt message and the third object in the target group session are both displayed in the session log interface. For example... Figure 10 The diagram shown is a schematic of a conversation record interface provided in an embodiment of this application. The conversation record interface 1000 is similar to the conversation record interface 700, both including a jump option 701, a message display area 702, and a return option 703. However, the conversation record interface 1000 also includes a prompt area 705, which displays a second prompt message: You have 3 friends in the group, and also displays the avatars of 3 third objects (S1, S2, and S3) in the target group conversation.
[0193] 407. In response to the selection of the jump option in the session record interface, if the first object of the target session has joined the target group session, the first terminal displays the group session interface of the target group session.
[0194] In one possible implementation, if the first session message includes a first target identifier, then the first object has joined the target group session, and the first terminal displays the group session interface of the target group session to realize the jump from the target session to the target group session, and also to realize the jump from the session record interface to the group session interface.
[0195] In one possible implementation, if the first session message does not include a target identifier, the first terminal obtains the group account of at least one group session that the first object has joined. If the group account of the at least one group session includes the group account of the target group session, then the first object of the target session has joined the target group session. The first terminal displays the group session interface of the target group session to realize the jump from the target session to the target group session, and also to realize the jump from the session record interface to the group session interface.
[0196] Before displaying the group session interface of the target group session, the first terminal establishes the group session interface of the target group session and displays the currently established group session interface. In one possible implementation, if the group session interface of the target group session is stored locally, the first terminal updates the locally stored group session interface of the target group session to the currently established group session interface and displays the currently established group session interface.
[0197] Taking a group session as an AIO (All In One) session as an example, the first terminal creates a new AIO session interface based on the group account of the target group session. The currently created AIO session interface is pushed in the navigation controller of the AIO session. In the View Did Appear function, the view controllers of the navigation controller are set to delete the previously stored AIO session interface and jump to the currently created AIO session interface.
[0198] When the first terminal displays the group session interface of the target group session, it displays the session messages of the target group session in the group session interface.
[0199] The first terminal displays the session messages of the target group session in the group session interface using either method A or B below.
[0200] Method A: In the group chat interface, the first terminal locates the latest chat message of the target group chat to display the chat message of the target group chat.
[0201] The latest session message is the session message with the most recent publication time in the target group session. The first terminal locally stores multiple session messages of the target group session and attribute information for each session message. The attribute information for each session message includes the publication time and message identifier. The publication time of each session message refers to the time when the session message was published in the target group session, and the index of the session message is used to indicate the session message.
[0202] The multiple session messages of the target group session and the attribute information of each session message stored locally by the first terminal are either actively pushed by the server or actively requested by the first terminal from the server.
[0203] For example, when the first object logs into the target application on the first terminal, if the first object has joined the target group session and has enabled the message push service of the target group session, whenever any member of the target group session publishes a session message in the target group session, the server sends the session message published by that member and the attribute information of the session message to the first terminal associated with the first object. When the first terminal receives the session message and the attribute information of the session message, it stores the session message and the attribute information of the session message locally.
[0204] For example, after a first object logs into the target application on a first terminal, if the first object has joined the target group session and has enabled the Do Not Disturb service for the target group session, the first terminal, in response to each opening operation of the group session interface, sends a message retrieval request to the server. This message retrieval request is used to retrieve the session messages of the target group session. When the server receives the message retrieval request, it sends at least one session message following the fourth session message of the target group session, along with the attribute information of that at least one session message, to the first terminal. Correspondingly, the first terminal receives at least one session message following the fourth session message, along with the attribute information of that at least one session message, from the server. The fourth session message is the last session message of the target group session previously sent to the first terminal.
[0205] For multiple session messages of the target group session stored locally on the first terminal, the first terminal sorts the multiple session messages of the target group session according to the order of publication time to obtain a session message sequence. The last session message in the session message sequence is the latest session message of the target group session. The first terminal retrieves at least one session message preceding the latest session message and the latest session message from the session message sequence, and displays at least one session message preceding the latest session message and the latest session message in the group session interface according to the order in the session message sequence.
[0206] It should be noted that each time a session message from the target group session is received, the first terminal adds the newly received session message to the session message sequence according to the order of publication time, without needing to reorder it.
[0207] Method B: In the group conversation interface, the first terminal locates the target conversation message in the at least one second conversation message to display the conversation message of the target group conversation.
[0208] The target session message is the session message with the earliest publication time among the at least one second session message.
[0209] In one possible implementation, the first session message includes a message identifier for the target session message. The first terminal queries the attribute information of multiple session messages of the target group session stored locally for the message identifier of the target session message. If the attribute information of any session message contains the message identifier of the target session message, then that session message is the target session message. The first terminal retrieves the target session message from the session message sequence of the target group session. If the session message sequence includes a fifth session message after the target session message, the first terminal also retrieves at least one fifth session message after the target session message from the session message sequence. This fifth session message is a session message of the target group session whose publication time is later than the target session message.
[0210] If the attribute information of the multiple session messages does not include the message identifier of the target session message, the first terminal sends a target message retrieval request to the server. The target message retrieval request includes the message identifier of the target session message and the group account of the target group session.
[0211] When the server receives the request to retrieve the target message, it queries the target session message of the target group session based on the message identifier of the target session message, and sends the retrieved target session message and its attribute information to the first terminal. Correspondingly, the first terminal receives the first target session message and its attribute information from the server.
[0212] If the target group session's session messages also include a fifth session message, the server further sends at least one fifth session message of the target group session and the attribute information of the at least one fifth session message to the first terminal. Accordingly, the first terminal receives the at least one fifth session message and the attribute information of the fifth session message from the server.
[0213] When the target session message is obtained, or when the target session message and at least one fifth session message are obtained, the first terminal displays the session message of the target group session in the group session interface, starting from the target session message in the at least one second session message, thereby achieving the purpose of locating the target session message for display.
[0214] See Figure 11The diagram shown illustrates a group conversation interface provided in this application embodiment. In response to a selection operation of jump option 701 in the conversation record interface, a first terminal displays a group conversation interface 1100 for "xxx group". In the group conversation interface 1100, with the conversation message of object A as the target conversation message, and starting from the conversation message of object A, conversation messages of objects A, F, B, and G are displayed sequentially. The conversation messages of objects F, B, and G are all the fifth conversation messages in the target group conversation of "xxx group". If the first user performs a pull-down or pull-up operation on the group conversation interface 1100, the first terminal responds by pulling down or pulling up the group conversation interface 1100, displaying the conversation messages before the conversation message of object A or after the conversation message of object G in the target group conversation. This allows the first user to accurately obtain the context information of at least one second conversation message in the target group conversation, enabling the first user to participate in the discussion and thereby increasing the participation rate in the group conversation.
[0215] In other embodiments, the first terminal can also obtain at least one sixth session message from the target group session from a local machine or a server, and display the session messages of the target group session in the group session interface of the target group session with the first session message of the at least one sixth session message as a point. The sixth session message is the session message in the target group session that precedes and is adjacent to the target session message.
[0216] See Figure 12 The diagram shown is a schematic of a group conversation interface provided in this application embodiment. In response to selecting the jump option 701 in the conversation record interface, the first terminal displays a group conversation interface 1200 for "xxx group". In the group conversation interface 1200, the conversation message of object H is displayed as the sixth conversation message, and starting from the conversation message of object H, the conversation messages of objects H, A, F, B, and G are displayed sequentially. This allows the first user to accurately obtain the context information of at least one second conversation message in the target group conversation, enabling the first user to participate in the discussion and thus increasing the participation rate in the group conversation. Of course, if the first user performs a pull-down or pull-up operation on the group conversation interface 1200, the first terminal responds by pulling down or pulling up the group conversation interface 1200, displaying the conversation messages before the conversation message of object H or after the conversation message of object G in the target group conversation.
[0217] For either method A or method B above, when the first terminal displays the session messages of the target group session, it can also distinguish the display of the at least one second session message from the third session message of the target group session. The third session message is the session message in the target group session other than the at least one second session message.
[0218] In one possible implementation, the first terminal uses a first background color to display the area containing the at least one second session message in the group session interface; and uses a second background color to display the area containing the third session message in the group session interface. The second and first background colors are different to distinguish the second and third session messages, thus alerting the user to forwarded messages from the second object in the target group session, allowing the user to intuitively understand the forwarded messages in the group session. Here, this application embodiment does not specifically limit the first and second background colors.
[0219] Taking the session record interface 1100 as an example, the session messages of objects A and B are the second session messages, while objects F and G are the third session messages. The first terminal uses the first background color to display the area where the session messages of objects A and B are located, and uses the first background color to display the area where the session messages of objects F and G are located.
[0220] Taking the conversation record interface 1200 as an example, the conversation messages of objects A and B are the second conversation messages, while objects F, G and H are the third conversation messages. The first terminal uses the first background color to display the area where the conversation messages of objects A and B are located, and uses the first background color to display the area where the conversation messages of objects F, G and H are located.
[0221] The method provided in this application, in response to an open operation of the first session message in the target session, displays the session messages of the target group session forwarded by the first session message through a session history interface. Since the adjustment options in the session history interface provide a function to jump to the target group session, the interface of the target group session is displayed in response to the selection of the jump option in the session history interface, thereby achieving one-click interface jump, simplifying the operation process of entering the group session interface, and facilitating user participation in the group session discussion, thus improving the group session participation rate. Furthermore, when jumping to the group session interface, the forwarded message can be located and the session messages of the group session can be displayed, so that users can accurately obtain the context information of the forwarded message in the group session, facilitating user participation in the discussion, thereby further improving the group session participation rate.
[0222] In one possible implementation, the first object is not a group member of the target group session, while the second object is a group member of the target group session. The second object can also cause the first object to switch from its session with the second object to the target group session by forwarding session messages. To further illustrate the interaction process between the first and second terminals, see [link to relevant documentation]. Figure 13 The flowchart shown is a message processing method provided in an embodiment of this application.
[0223] 1301. In response to the forwarding operation of at least one second session message of the target group session, the second terminal displays the message forwarding interface.
[0224] The process shown in step 1301 is the same as the process shown in step 401 above. Therefore, in this embodiment of the application, step 1301 will not be described again.
[0225] 1302. In response to the sending confirmation operation of the message forwarding interface, the second terminal sends a first session message to the server in the target session. The first session message includes at least one second session message of the target group session and the group information of the target group session.
[0226] The process shown in step 1302 is the same as the process shown in step 402 above. Therefore, in this embodiment of the application, step 1302 will not be described again.
[0227] 1303. The server receives the first session message from the second terminal.
[0228] 1304. The server sends the first session message to the first terminal.
[0229] In one possible implementation, the process shown in step 1304 is the same as the process shown in step 404 above. Here, in this embodiment of the application, step 1304 will not be described again.
[0230] In another possible implementation, if the first object has not joined the target group session, the server obtains the application prompt information for the target group session, adds the application prompt information to the first session message, and sends the first session message including the application prompt information to the first terminal.
[0231] The application prompt message for the target group session includes at least one message, each prompting you to provide one piece of application information required to join the target group session. For example, the prompt message may include at least one of the following: providing referrer information, providing applicant information, or providing an answer to a target question. The referrer information refers to the person recommending the target group, the applicant information refers to the person requesting to join the target group session, and the target question is a question set by the administrator of the target group session that requires answers to join. The administrator is a group member with administrative privileges within the target group session.
[0232] 1305. The first terminal receives the first session message and displays the first session message in the session interface of the target session.
[0233] The process shown in step 1305 is the same as the process shown in step 405 above. Therefore, in this embodiment of the application, step 1305 will not be described again.
[0234] 1306. In response to the opening operation of the first session message, the first terminal displays a session record interface, which displays a jump option and at least one second session message of the target group session. The jump option is used to provide the function of jumping to the target group session.
[0235] The process shown in step 1306 is the same as the process shown in step 406 above. Therefore, in this embodiment of the application, step 1306 will not be described again.
[0236] 1307. In response to the selection operation of the jump option in the session record interface, if the first object of the target session has not joined the target group session, the first terminal displays the group join interface of the target group session, which includes a join option to provide the function of joining the target group session.
[0237] The group joining interface also includes group information for the target group session, such as at least one of the following: group account, group avatar, group members, group member avatars, and group member category information.
[0238] See Figure 14 The diagram shown is a schematic representation of a group joining interface provided in an embodiment of this application. Figure 14 As shown, the group joining interface 1400 includes a joining option 1401 and an information display area 1402. The information display area 1402 displays the target group's account "123", the group name "xxx group", member classification information: the number of group members is 25, the male-to-female ratio of group members is 40% and 60% respectively, and the group administrator, etc. The group administrator is a group member with the authority to manage the target group's session.
[0239] In one possible implementation, if the first session message includes at least one request prompt for the target group session, the group joining interface also displays the at least one request prompt and an input box corresponding to each request prompt. The input box corresponding to each request prompt is used to input the request information required by each request prompt. The first terminal can obtain the request prompt for the target group session from the first session message and display the request prompt on the group joining interface. Therefore, when a user requests to join the target group session, the first terminal does not need to request the request prompt from the server, improving the efficiency of joining the group session and saving the first terminal's resource consumption.
[0240] See Figure 15 The diagram shown is a schematic representation of a group joining interface provided in an embodiment of this application. Figure 15 As shown, the group joining interface 1500 includes a joining option 1401 and an information input area 1403. The information input area 1403 displays application prompts 1-3 and an input box corresponding to each application prompt. The application prompts 1-3 are respectively providing recommender information, providing applicant information, and providing the answer to the target question.
[0241] It should be noted that the group joining interface 1500 may or may not include the information display area 1402. In this application embodiment, there is no limitation on whether the group joining interface 1500 includes the information display area 1402.
[0242] 1308. The first terminal responds to the selection of the join option in the join interface of the group and joins the target group session.
[0243] The first user selects the join option, and the first terminal responds to the selection by joining the target group session. The process includes the following steps 1381-1384.
[0244] Step 1381: In response to the selection of the join option, the first terminal sends a join request to the server. The join request is used to instruct the first object to join the target group session.
[0245] The join request carries the identifier of the first object and the identifier of the target group session.
[0246] If the group joining interface also displays at least one application prompt message and an input box corresponding to each application prompt message, the first user enters the corresponding application information in the input box corresponding to each application prompt message. Taking the group joining interface 1500 as an example, the application information entered by the first user in the input box corresponding to application prompt message 1 is the recommender information: the second object; the application information entered in the input box corresponding to application prompt message 2 is the applicant information: the name of the first object; and the application information entered in the input box corresponding to application prompt message 3 is the answer to the target question: tttt.
[0247] In response to the selection of the joining option, the first terminal generates the joining request based on at least one application information of the first object in the group joining interface, wherein the joining request also carries the at least one application information.
[0248] Step 1382: The server receives the join request.
[0249] Step 1383: If the target conditions for the first object to join the target group session have been met, then the server adds the first object to the target group session.
[0250] The target conditions include at least one of the following: the number of group members in the target group session is less than a threshold, the administrator agrees to the requesting object joining the target group session, and at least one of the application information of the first object is verified. The requesting object is the object that requests to join the target group session.
[0251] In one possible implementation, for any of the at least one target conditions, if the target condition is that the number of group members in the target group session is less than a number threshold, then the server obtains the number of group members in the target group session. If the obtained number of group members is less than the number threshold, it means that the group members in the target group session are not yet full, and the first object joins the target group session. This target condition is satisfied; otherwise, this target condition is not satisfied.
[0252] If any of the target conditions is that the administrator agrees to the requesting object joining the target group session, the server forwards the join request to the third terminal associated with the administrator. If the user corresponding to the administrator agrees to the first object joining the target group session, the third terminal confirms the join request, triggering the third terminal to send a join confirmation response to the server. When the server receives the join confirmation response, any of the target conditions for the first object joining the target group session are met. If the server does not receive the join confirmation response, any of the target conditions for the first object joining the target group session are not met. The join confirmation response is used to instruct the administrator to agree to the first object joining the target group session.
[0253] If any of the target conditions is that at least one application information of the first object passes verification, and if the join request includes at least one application information of the first object, then the server obtains at least one application information of the first object from the join request. If the join request does not include at least one application information of the first object, then the server sends an application information retrieval request to the first terminal, which carries at least one application prompt information for the target group session. After receiving the application information request, the first terminal displays an application information input interface, which displays at least one application prompt information for the target group session and an input box corresponding to each application prompt information. The first user enters the corresponding application information in the input box corresponding to each application prompt information. After the input is completed, the first terminal returns at least one application information of the first object to the server. After obtaining at least one application information of the first object, the server verifies the at least one application information. If all at least one application information passes verification, then any target condition for the first object to join the target group session is met; otherwise, any target condition for the first object to join the target group session is not met.
[0254] The server adds the first object to the target group session when at least one of the target conditions for joining the first object is met. For example, the server stores the first object in the group member information of the target group session, which includes all objects in the target group session. The server also adds the group account of the target group session to the first object's group session list.
[0255] After the first object is added to the target group session, the server stores the target group joining behavior information of the first object. This target group joining behavior information is used to instruct the first object to join the target group session based on the session message forwarding behavior of the second object. Optionally, the target group joining behavior information includes the first object, the group account of the target group session, the message identifier of the at least one second session message, and the target group joining identifier. The target group joining identifier is used to instruct the first object to join the target group session based on the session message forwarding behavior of the second object.
[0256] Step 1384: The server synchronizes the group member information of the target group session with the group members of the target group session, and synchronizes the updated group session list of the first object with the first terminal, and the first terminal displays the updated group session list of the first object.
[0257] When the first terminal displays the updated list of group sessions for the first object, it means that the first object has been added to the target group session.
[0258] In one possible implementation, after the first object joins the target group session, the first terminal stores the target group joining behavior information of the first object.
[0259] 1309. In response to the opening operation of the target group session, the first terminal displays the session message of the target group session in the group session interface, starting from the target session message in the at least one second session message.
[0260] The operation of opening the target group session includes selecting the target group session from the group session list of the first object, or selecting the group entry prompt information displayed on the first terminal, wherein the group entry prompt information is used to indicate that the first object has joined the target group session.
[0261] When a first user opens a session in the target group, the first terminal responds by displaying the session interface of the target group session.
[0262] In one possible implementation, when displaying the session interface of the target group session, the first terminal locates the latest session message of the target group session to display the session message of the target group session. For example, method A described above.
[0263] In another possible implementation, when displaying the session interface of the target group session, the first terminal starts from the target session message in the at least one second session message and displays the session message of the target group session to achieve message location.
[0264] For example, in response to an operation to open a target group session, the first terminal queries the stored group-joining behavior information of the first object from at least one group-joining behavior information of the first object. This at least one group-joining behavior information of the first object indicates that the first object has joined a group session based on a session message forwarding behavior of another object. If the target group-joining behavior information of the first object can be found, it indicates that the first object joined the target group session based on a session message forwarding behavior of a second object. The first terminal then displays the session messages of the target group session, starting with the target session message in the at least one second session message. Alternatively, if the target group-joining behavior information of the first object can be found and this opening operation is the first opening operation for the target group session, the first terminal displays the session messages of the target group session, starting with the target session message in the at least one second session message.
[0265] For example, in response to opening a target group session, a first terminal sends a confirmation request to the server. This confirmation request confirms whether the first object has joined the target group session based on the second object's session message forwarding behavior. Upon receiving the confirmation request, the server queries the target group joining behavior information of the first object from at least one stored group joining behavior information of the first object, and generates a confirmation response based on the query result. This confirmation response instructs the first object to join the target group session based on the second object's session message forwarding behavior.
[0266] For example, if the target group joining behavior information of the first object is found, the server generates an acknowledgment response and sends it to the first terminal, which then receives the acknowledgment response. If the target group joining behavior information of the first object is not found, the server generates a denial response and sends it to the first terminal, which then receives the denial response. The denial response indicates that the first object did not join the target group session based on the second object's session message forwarding behavior.
[0267] For the first terminal, if a denial response is received, it means that the first object did not join the target group session based on the second object's session message forwarding behavior. Therefore, there is no need to locate the forwarded session message. The first terminal then displays the session cancellation of the target group session starting from the latest session message of the target group session.
[0268] If a confirmation response is received, it indicates that the first object joined the target group session based on the second object's session message forwarding behavior. The forwarded session messages can then be located so that the user can view them. The first terminal then displays the session messages of the target group session, starting from the target session message in at least one of the second session messages. Alternatively, if the confirmation response is received and this opening operation is the first opening operation for the target group session, the first terminal displays the session messages of the target group session, starting from the target session message in at least one of the second session messages.
[0269] Before displaying the target group session's session messages in the group session interface, starting from the target session message in at least one second session message, the first terminal first obtains the target session message and the session messages following the target session message in the target group session.
[0270] For example, the first terminal sends a target message retrieval request to the server. This request includes the message identifier of the target session message and the group account of the target group session, in order to retrieve the target session message, session messages following the target session message, or session messages preceding the target session message from the server. This process is described in step 407 above, and will not be repeated here in this embodiment.
[0271] After obtaining the target session message, the session message following the target session message, or the session message preceding the target session message from the server, the first terminal displays the session message of the target group session in the group session interface, starting from the target session message in at least one second session message, or starting from the session message preceding the target session message, thereby achieving the purpose of locating and displaying the target session message.
[0272] When the first terminal displays the session messages of the target group session in the group session interface of the target group session, it can also distinguish and display at least one second session message and a third session message of the target group session. This process is described in step 407 above, and will not be repeated here in the embodiments of this application.
[0273] The method provided in this application, in response to an open operation of the first session message in the target session, displays the session messages of the target group session forwarded by the first session message through the session history interface. Since the adjustment options in the session history interface provide a function to jump to the target group session, in response to the selection of the jump option in the session history interface, if the first object has not joined the target group session, the group joining interface of the target group session is displayed, thereby achieving one-click interface jumping and simplifying the operation process of entering the group session interface. Furthermore, it allows users to join the target group session with one click through the group joining interface, facilitating user participation in the group session discussion and increasing the group session participation rate. Moreover, when jumping to the group session interface, the forwarded message can be located and the session messages of the group session can be displayed, allowing users to accurately obtain the context information of the forwarded message in the group session, facilitating user participation in the discussion, and further improving the group session participation rate.
[0274] To further explain Figure 4 and Figure 13 For the message processing method shown, please refer to [link / reference]. Figure 16 The diagram shown is a flowchart illustrating a message processing method provided in an embodiment of this application. Figure 16As shown, User A logs into the target application on a second terminal using a second object. In the group session interface of the target group session, User A selects a session message to forward and forwards it to User B within the target session. During forwarding, if User A has enabled the feature to carry group information, the second terminal obtains the group information of the target group session and packages the group information and the forwarded session message into a first session message. If User A has not enabled the feature to carry group information, the second terminal packages the forwarded session message into the first session message. The second terminal sends the packaged first session message to the server. The server notifies the first terminal logged into by User B of the first session message from the second terminal. User B opens the first session message, triggering the first terminal to display the session history interface, allowing User B to view the forwarded message in the first session message. If the first session message does not include the group information of the target group session, the first terminal does not display a jump option in the session history interface. If the first session message includes group information for the target group session, the first terminal also displays a jump option in the session history interface, allowing user B to select the jump option to trigger the first terminal to jump to the target group session interface. For example, based on the group information, the first terminal determines whether user B is a group member. If user B is a group member, the first terminal jumps to the target group session interface, where users can view and locate forwarded messages, distinguishing between forwarded and unforwarded messages. If B is not a group member, the first terminal jumps to the target group session's group joining interface, allowing user B to apply to join the target group session.
[0275] It is understood that in this application, data related to user information, conversation messages, etc. are involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, including message forwarding, etc., and the collection, use and processing of related data must comply with the relevant laws and regulations and national standards of the country.
[0276] Figure 17 This is a schematic diagram of the structure of a message processing device provided in an embodiment of this application. See also... Figure 17 The device 1700 includes:
[0277] The first display module 1701 is used to display a first session message in the session interface of the target session, wherein the first session message includes at least one second session message of the target group session;
[0278] The second display module 1702 is used to display a session record interface in response to the opening operation of the first session message. The session record interface displays a jump option and at least one second session message of the target group session. The jump option is used to provide the function of jumping to the target group session.
[0279] The third display module 1703 is used to display the interface of the target group session in response to the selection operation of the jump option in the session record interface.
[0280] In one possible implementation, the jump option is further configured to provide a function to recommend the target group session; the third display module 1703 is further configured to:
[0281] If the first object of the target session has not joined the target group session, the group joining interface of the target group session is displayed. The group joining interface includes a joining option, which is used to provide the function of joining the target group session.
[0282] In response to the selection of the join option in the group join interface, join the target group session.
[0283] In one possible implementation, the third display module 1703 is further configured to:
[0284] In response to the operation of opening the target group session, the session messages of the target group session are displayed in the group session interface, starting from the target session message in the at least one second session message.
[0285] In one possible implementation, the device 1700 further includes:
[0286] The sending module is used to send a confirmation request to the server in response to the operation of opening the target group session. The confirmation request is used to confirm whether the first object has joined the target group session based on the session message forwarding behavior of the second object.
[0287] The receiving module is also used to receive a confirmation response from the server, the confirmation response being used to instruct the first object to join the target group session based on the second object's session message forwarding behavior;
[0288] The third display module 1703 is further configured to, based on the confirmation response, execute the step of displaying the session message of the target group session in the group session interface, starting from the target session message in the at least one second session message.
[0289] In one possible implementation, the third display module 1703 is further configured to:
[0290] In response to the operation of opening the target group session, if the target group joining behavior information of the first object is stored, the step of displaying the session message of the target group session in the group session interface, starting from the target session message in the at least one second session message;
[0291] The target group joining behavior information is used to instruct the first object to join the target group session based on the second object's session message forwarding behavior.
[0292] In one possible implementation, the third display module 1703 is further configured to:
[0293] If the first object of the target session has joined the target group session, the group session interface of the target group session is displayed.
[0294] In one possible implementation, the third display module 1703 is further configured to:
[0295] In the group session interface, the session messages of the target group session are displayed, starting from the target session message in the at least one second session message.
[0296] In one possible implementation, the third display module 1703 is further configured to:
[0297] The at least one second session message is displayed separately from the third session message of the target group session, wherein the third session message is the session message in the target group session other than the at least one second session message.
[0298] In one possible implementation, the third display module 1703 is further configured to:
[0299] The first background color is used to display the area where at least one second session message is located in the group session interface;
[0300] The area where the third session message is located in the group session interface is displayed using a second background color.
[0301] In one possible implementation, the device 1700 further includes:
[0302] The acquisition module is used to acquire the group account of at least one group session that the first object has joined;
[0303] If the group account of the at least one group session includes the group account of the target group session, then the first object of the target session has been added to the target group session;
[0304] If the group account of the at least one group session does not include the group account of the target group session, then the first object has not joined the target group session.
[0305] In one possible implementation, the group account of the target group session is located in the first group information field of the first session message.
[0306] In one possible implementation, if the first session message includes a first target identifier or a second target identifier, the first target identifier is used to indicate that the first object has joined the target group session, and the second target identifier is used to indicate that the first object has not joined the target group session.
[0307] In one possible implementation, the jump option is further configured to indicate that the at least one second session message belongs to the target group session; the third display module 1703 is further configured to:
[0308] On the jump option, a first prompt message is displayed, which is used to indicate that the at least one second session message belongs to the target group session.
[0309] In one possible implementation, the first session message further includes the session name of the target group session; the device 1700 further includes:
[0310] The generation module is used to generate the first prompt information based on the session name of the target group session.
[0311] In one possible implementation, the session name of the target group session is located in the second group information field of the first session message.
[0312] In one possible implementation, the first prompt message is also used to indicate whether the first object has already entered the target group session.
[0313] In one possible implementation, the session record interface also displays a second prompt message, which is used to indicate the number of third objects in the target group session, wherein the third object is an associated object of the first object in the target session.
[0314] In one possible implementation, the session record interface further displays a prompt option, which is used to display the second prompt information and provide the function of viewing the third object; the device 1700 further includes:
[0315] The fourth display module is used to display the associated object interface in response to the selection operation of the prompt option in the session record interface, wherein the associated object interface displays the third object in the target group session.
[0316] All of the above-mentioned optional technical solutions can be combined in any way to form optional embodiments of this disclosure, and will not be described in detail here.
[0317] Figure 18 This is a schematic diagram of the structure of a message processing device provided in an embodiment of this application. See also... Figure 18 The device 1800 includes:
[0318] Display module 1801 is used to display a message forwarding interface in response to a forwarding operation of at least one second session message of a target group session;
[0319] The sending module 1802 is used to send a first session message in the target session in response to a sending confirmation operation of the message forwarding interface. The first session message includes at least one second session message of the target group session and group information of the target group session.
[0320] In one possible implementation, the message forwarding interface displays a group information option, which is used to enable the function of carrying group information of the target group session. The sending module 1802 is used to:
[0321] When the group information option is enabled, in response to the send confirmation operation of the message forwarding interface, the first session message is sent in the target session.
[0322] In one possible implementation, the group information includes the group account of the target group session;
[0323] Alternatively, the group information may include the group account and the session name of the target group session.
[0324] In one possible implementation, the group account is located in the first group information field of the first session message, and the session name is located in the second group information field of the first session message.
[0325] All of the above-mentioned optional technical solutions can be combined in any way to form optional embodiments of this disclosure, and will not be described in detail here.
[0326] Figure 19 This is a schematic diagram of the structure of a message processing device provided in an embodiment of this application. See also... Figure 19 The device 1900 includes:
[0327] The receiving module 1901 is used to receive an acknowledgment request, which is used to confirm whether the first object has joined the target group session based on the session message forwarding behavior of the second object;
[0328] Query module 1902 is used to query the target group joining behavior information of the first object from the group joining behavior information of at least one object, and obtain the query result. The group joining behavior information of one object is used to indicate that the object joins a group session based on the session message forwarding behavior of another object. The target group joining behavior information is used to indicate that the first object joins the target group session based on the session message forwarding behavior of the second object.
[0329] The sending module 1903 is used to send a confirmation response based on the query result. The confirmation response is used to instruct the first object to join the target group session based on the second object's session message forwarding behavior.
[0330] It should be noted that the message processing devices (such as message processing devices 1700, 1800, or 1900) provided in the above embodiments are only illustrated by the division of the above functional modules when processing session messages. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the message processing device can be divided into different functional modules to complete all or part of the functions described above. In addition, the message processing method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the message processing method embodiments, which will not be repeated here.
[0331] Figure 20 This illustration shows a schematic diagram of a terminal provided in an exemplary embodiment of this application. The terminal 2000 can be configured as either the first terminal or the second terminal described above. The terminal 2000 can be a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The terminal 2000 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.
[0332] Typically, terminal 2000 includes a processor 2001 and a memory 2002.
[0333] Processor 2001 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 2001 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 2001 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 2001 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the screen. In some embodiments, processor 2001 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0334] The memory 2002 may include one or more computer-readable storage media, which may be non-transitory. The memory 2002 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 2002 are used to store at least one program code (i.e., a computer program) for execution by the processor 2001 to implement the message processing method provided in the method embodiments of this application.
[0335] In some embodiments, the terminal 2000 may also optionally include a peripheral device interface 2003 and at least one peripheral device. The processor 2001, memory 2002, and peripheral device interface 2003 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 2003 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: radio frequency circuitry 2004, display screen 2005, camera assembly 2006, audio circuitry 2007, and power supply 2008.
[0336] Peripheral device interface 2003 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 2001 and memory 2002. In some embodiments, processor 2001, memory 2002 and peripheral device interface 2003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 2001, memory 2002 and peripheral device interface 2003 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0337] The radio frequency (RF) circuit 2004 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 2004 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 2004 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 2004 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 2004 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: metropolitan area networks (MANs), various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks (WLANs), and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 2004 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0338] Display screen 2005 is used to display a UI (User Interface). This UI may include graphics, text, icons, video, and any combination thereof. When display screen 2005 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 2001 for processing. In this case, display screen 2005 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 2005, which serves as the front panel of terminal 2000; in other embodiments, there may be at least two display screens, respectively disposed on different surfaces of terminal 2000 or in a folded design; in still other embodiments, display screen 2005 may be a flexible display screen, disposed on a curved or folded surface of terminal 2000. Furthermore, display screen 2005 may also be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 2005 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0339] The camera assembly 2006 is used to acquire images or videos. Optionally, the camera assembly 2006 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 2006 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.
[0340] The audio circuit 2007 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting them into electrical signals that are input to the processor 2001 for processing, or to the radio frequency circuit 2004 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned at a different location on the terminal 2000. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 2001 or the radio frequency circuit 2004 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 2007 may also include a headphone jack.
[0341] The power supply 2008 is used to power the various components in the terminal 2000. The power supply 2008 can be AC power, DC power, a disposable battery, or a rechargeable battery. When the power supply 2008 includes a rechargeable battery, the rechargeable battery can support wired or wireless charging. The rechargeable battery can also be used to support fast charging technology.
[0342] In some embodiments, the terminal 2000 further includes one or more sensors 2010. The one or more sensors 2010 include, but are not limited to: an acceleration sensor 2011, a gyroscope sensor 2012, a pressure sensor 2013, an optical sensor 2014, and a proximity sensor 2015.
[0343] Accelerometer 2011 can detect the magnitude of acceleration along the three coordinate axes of a coordinate system established by terminal 2000. For example, accelerometer 2011 can be used to detect the components of gravitational acceleration along the three coordinate axes. Processor 2001 can control touchscreen 2005 to display the user interface in landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 2011. Accelerometer 2011 can also be used for games or for acquiring user motion data.
[0344] The gyroscope sensor 2012 can detect the orientation and rotation angle of the terminal 2000. The gyroscope sensor 2012, in conjunction with the accelerometer sensor 2011, can collect the user's 3D movements on the terminal 2000. Based on the data collected by the gyroscope sensor 2012, the processor 2001 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.
[0345] The pressure sensor 2013 can be installed on the side bezel of the terminal 2000 and / or on the lower layer of the touch display screen 2005. When the pressure sensor 2013 is installed on the side bezel of the terminal 2000, it can detect the user's grip signal on the terminal 2000, and the processor 2001 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 2013. When the pressure sensor 2013 is installed on the lower layer of the touch display screen 2005, the processor 2001 can control the operable controls on the UI interface based on the user's pressure operation on the touch display screen 2005. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0346] An optical sensor 2014 is used to collect ambient light intensity. In one embodiment, a processor 2001 can control the display brightness of a touch screen 2005 based on the ambient light intensity collected by the optical sensor 2014. Specifically, when the ambient light intensity is high, the display brightness of the touch screen 2005 is increased; when the ambient light intensity is low, the display brightness of the touch screen 2005 is decreased. In another embodiment, the processor 2001 can also dynamically adjust the shooting parameters of a camera assembly 2006 based on the ambient light intensity collected by the optical sensor 2014.
[0347] The proximity sensor 2015, also known as a distance sensor, is typically installed on the front panel of the terminal 2000. The proximity sensor 2015 is used to detect the distance between the user and the front of the terminal 2000. In one embodiment, when the proximity sensor 2015 detects that the distance between the user and the front of the terminal 2000 is gradually decreasing, the processor 2001 controls the touchscreen display 2005 to switch from a screen-on state to a screen-off state; when the proximity sensor 2015 detects that the distance between the user and the front of the terminal 2000 is gradually increasing, the processor 2001 controls the touchscreen display 2005 to switch from a screen-off state to a screen-on state.
[0348] Those skilled in the art will understand that Figure 20 The structure shown does not constitute a limitation on the terminal 2000, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0349] Figure 21This is a schematic diagram of a server structure provided in an embodiment of this application. The server 2100 can vary significantly due to different configurations or performance. It may include one or more processors 2101 and one or more memories 2102. The memories 2102 store at least one piece of program code (i.e., a computer program), which is loaded and executed by the processors 2101 to implement the methods provided in the above-described method embodiments. Of course, the server 2100 may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The server 2100 may also include other components for implementing device functions, which will not be elaborated upon here.
[0350] In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including program code (i.e., a computer program) that can be executed by a processor in a terminal to perform the message processing method described in the embodiments below. For example, the computer-readable storage medium may be ROM (Read-Only Memory), RAM (Random Access Memory), CD-ROM (Compact Disc Read-Only Memory), magnetic tape, floppy disk, and optical data storage device, etc.
[0351] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by hardware related to program instructions. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0352] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A message processing method, characterized in that, The method includes: Receive a first session message obtained based on the initial first session message; the initial first session message sent by the terminal where the second object is located carries at least one second session message of the target group session in the target application; The first session message is displayed in the session interface of the target session of the target application; In response to the opening operation of the first session message, a session record interface is displayed, which displays a jump option and the at least one second session message; In response to the selection of the jump option, if it is determined that the first object of the target session has not joined the target group session, the group joining interface of the target group session is displayed, and in response to the selection of the joining option in the group joining interface, the target group session is joined. After the first object joins the target group session, in response to the opening operation of the target group session, a confirmation request is sent to the server. The confirmation request is used to confirm whether the first object has joined the target group session based on the session message forwarding behavior of the second object. The server receives a confirmation response, which is generated by the server after querying the target group joining behavior information of the first object from at least one group joining behavior information of the first object stored in the database. The confirmation response is used to instruct the first object to join the target group session based on the session message forwarding behavior of the second object. Based on the confirmation response, the message location and display step is performed: in the group session interface of the target group session, the target session message with the earliest publication time among the at least one second session message is located, and the session message of the target group session is displayed with the target session message as the starting point, or with the first session message among the at least one sixth session message in the target group session that is before the target session message and adjacent to the target session message as the starting point.
2. The method according to claim 1, characterized in that, The method further includes: In response to the selection of the jump option in the session record interface, if the first object of the target session has joined the target group session, the group session interface of the target group session is displayed.
3. The method according to any one of claims 1-2, characterized in that, The session message displaying the target group session includes: The at least one second session message is displayed separately from the third session message of the target group session, wherein the third session message is the session message in the target group session other than the at least one second session message.
4. The method according to claim 3, characterized in that, The step of distinguishing and displaying the at least one second session message from the third session message of the target group session includes: The first background color is used to display the area where at least one second session message is located in the group session interface; The area where the third session message is located in the group session interface is displayed using a second background color.
5. The method according to any one of claims 1-2 and 4, characterized in that, The first session message also includes the group account of the target group session; the method further includes: Obtain the group account of at least one group session that the first object has joined; If the group account of the at least one group session includes the group account of the target group session, then the first object of the target session has been added to the target group session; If the group account of the at least one group session does not include the group account of the target group session, then the first object has not joined the target group session.
6. The method according to any one of claims 1-2 and 4, characterized in that, The redirection option is also used to indicate that the at least one second session message belongs to the target group session; the method further includes: On the jump option, a first prompt message is displayed, which is used to indicate that the at least one second session message belongs to the target group session.
7. The method according to claim 6, characterized in that, The first session message also includes the session name of the target group session; the method further includes: The first prompt message is generated based on the session name of the target group session.
8. A message processing method, characterized in that, The method includes: Send a first session message based on the initial first session message to the first terminal where the first object is located; the initial first session message sent by the terminal where the second object is located carries at least one second session message of the target group session in the target application; The first terminal is configured to: display the first session message in the session interface of the target session of the target application, and display a session record interface in response to the opening operation of the first session message, wherein the session record interface displays a jump option and the at least one second session message; The system receives a join request sent by the first terminal. The join request is sent by the first terminal in response to the selection operation of the join option in the group join interface of the target group session. The group join interface is displayed when the first terminal responds to the selection operation of the jump option and determines that the first object has not joined the target group session. Based on the join request, the first object is added to the target group session; After the first object joins the target group session, a confirmation request is received. The confirmation request is sent by the first terminal in response to the opening operation of the target group session. The confirmation request is used to confirm whether the first object has joined the target group session based on the session message forwarding behavior of the second object. From the group joining behavior information of at least one object, query the target group joining behavior information of the first object to obtain the query result. The group joining behavior information of one object is used to indicate that the object joins a group session based on the session message forwarding behavior of another object. The target group joining information is used to indicate that the first object joins the target group session based on the session message forwarding behavior of the second object. Based on the query result, a confirmation response is sent to the first terminal. The confirmation response is used to instruct the first object to join the target group session based on the second object's session message forwarding behavior. The first terminal is used to perform a message location and display step based on the confirmation response: in the group session interface of the target group session, locate the target session message with the earliest publication time among the at least one second session message, and display the session message of the target group session starting from the target session message among the at least one second session message, or starting from the first session message among the at least one sixth session message in the target group session that is before the target session message and adjacent to the target session message.
9. A message processing device, characterized in that, The device includes: Modules used to perform the following steps: receiving a first session message based on an initial first session message; the initial first session message sent by the terminal where the second object is located carries at least one second session message of the target group session in the target application; The first display module is used to display the first session message in the session interface of the target session of the target application; The second display module is used to display a session record interface in response to the opening operation of the first session message. The session record interface displays a jump option and the at least one second session message. The third display module is used for: In response to the selection of the jump option, if it is determined that the first object of the target session has not joined the target group session, the group joining interface of the target group session is displayed, and in response to the selection of the joining option in the group joining interface, the target group session is joined. After the first object joins the target group session, in response to the opening operation of the target group session, a confirmation request is sent to the server. The confirmation request is used to confirm whether the first object has joined the target group session based on the session message forwarding behavior of the second object. The server receives a confirmation response, which is generated by the server after querying the target group joining behavior information of the first object from at least one group joining behavior information of the first object stored in the database. The confirmation response is used to instruct the first object to join the target group session based on the session message forwarding behavior of the second object. Based on the confirmation response, the message location and display step is performed: in the group session interface of the target group session, the target session message with the earliest publication time among the at least one second session message is located, and the session message of the target group session is displayed with the target session message as the starting point, or with the first session message among the at least one sixth session message in the target group session that is before the target session message and adjacent to the target session message as the starting point.
10. The apparatus according to claim 9, characterized in that, The third display module is also used for: In response to the selection of the jump option in the session record interface, if the first object of the target session has joined the target group session, the group session interface of the target group session is displayed.
11. The apparatus according to any one of claims 9-10, characterized in that, The third display module is also used for: The at least one second session message is displayed separately from the third session message of the target group session, wherein the third session message is the session message in the target group session other than the at least one second session message.
12. The apparatus according to claim 11, characterized in that, The third display module is also used for: The first background color is used to display the area where at least one second session message is located in the group session interface; The area where the third session message is located in the group session interface is displayed using a second background color.
13. The apparatus according to any one of claims 9-10, 12, characterized in that, The first session message also includes the group account of the target group session; the device further includes: The acquisition module is used to acquire the group account of at least one group session that the first object has joined; If the group account of the at least one group session includes the group account of the target group session, then the first object of the target session has been added to the target group session; If the group account of the at least one group session does not include the group account of the target group session, then the first object has not joined the target group session.
14. The apparatus according to any one of claims 9-10, 12, characterized in that, The jump option is also used to indicate that the at least one second session message belongs to the target group session; the third display module is also used to: On the jump option, a first prompt message is displayed, which is used to indicate that the at least one second session message belongs to the target group session.
15. The apparatus according to claim 14, characterized in that, The first session message also includes the session name of the target group session; the device further includes: The generation module is used to generate the first prompt information based on the session name of the target group session.
16. A message processing apparatus, characterized in that, The device includes: A module for performing the following steps: sending a first session message determined based on an initial first session message to a first terminal where the first object is located; the initial first session message sent by the terminal where the second object is located carries at least one second session message of the target group session in the target application; The first terminal is configured to: display the first session message in the session interface of the target session of the target application, and display a session record interface in response to the opening operation of the first session message, wherein the session record interface displays a jump option and the at least one second session message; A module for performing the following steps: receiving a join request sent by the first terminal, the join request being sent by the first terminal in response to a selection operation of the join option in the group join interface of the target group session, the group join interface being displayed by the first terminal in response to a selection operation of the jump option and after determining that the first object has not joined the target group session; and adding the first object to the target group session according to the join request; The receiving module is configured to receive a confirmation request after the first object joins the target group session. The confirmation request is sent by the first terminal in response to the opening operation of the target group session. The confirmation request is used to confirm whether the first object joined the target group session based on the session message forwarding behavior of the second object. The query module is used to query the target group joining behavior information of the first object from the group joining behavior information of at least one object, and obtain the query result. The group joining behavior information of one object is used to indicate that the object joins a group session based on the session message forwarding behavior of another object. The target group joining behavior information is used to indicate that the first object joins the target group session based on the session message forwarding behavior of the second object. The sending module is used to send a confirmation response to the first terminal based on the query result. The confirmation response is used to instruct the first object to join the target group session based on the session message forwarding behavior of the second object. The first terminal is used to perform a message location and display step based on the confirmation response: in the group session interface of the target group session, locate the target session message with the earliest publication time among the at least one second session message, and display the session message of the target group session starting from the target session message among the at least one second session message, or starting from the first session message among the at least one sixth session message in the target group session that is before the target session message and adjacent to the target session message.
17. A terminal, characterized in that, The terminal includes a processor and a memory, the memory storing at least one computer program, which is loaded and executed by the processor to implement the message processing method according to any one of claims 1 to 7.
18. A server, characterized in that, The server includes a processor and a memory, the memory storing at least one computer program, which is loaded and executed by the processor to implement the message processing method of claim 8.
19. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store at least one computer program, which is loaded and executed by a processor to implement the message processing method according to any one of claims 1 to 8.
20. A computer program product, characterized in that, The computer program product includes at least one computer program, which is loaded and executed by a processor to implement the message processing method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Method for converting contents of group chat into topic discussion, server, terminal, and system
CN107770037A
Information processing method and device, equipment and storage medium
CN113746722A
Group session recommendation method and device, terminal and computer readable storage medium
CN113986086A