CN116170402A - Message processing method and related product - Google Patents

Message processing method and related product Download PDF

Info

Publication number
CN116170402A
CN116170402A CN202111410382.1A CN202111410382A CN116170402A CN 116170402 A CN116170402 A CN 116170402A CN 202111410382 A CN202111410382 A CN 202111410382A CN 116170402 A CN116170402 A CN 116170402A
Authority
CN
China
Prior art keywords
social
session
page
invitation
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111410382.1A
Other languages
Chinese (zh)
Inventor
邓爱露
邓国雄
宋睿
唐艾妮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202111410382.1A priority Critical patent/CN116170402A/en
Publication of CN116170402A publication Critical patent/CN116170402A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The application provides a message processing method and related products, wherein the message processing method comprises the following steps: displaying a session page of a first social session in the social channel; responding to the interaction invitation event in the conversation page of the first social conversation, and displaying an invitation message in the conversation page of the first social conversation; and displaying the invitation message in a conversation page of a second social conversation of the social channel, wherein the first social conversation and the second social conversation refer to any two social conversations in the communicated channel. Through the method and the device, the invitation efficiency can be improved, and the invitation process can be simplified, so that the interaction scene requirement can be met.

Description

Message processing method and related product
Technical Field
The present application relates to the field of computer technology, and in particular, to the field of social application technology, and more particularly, to a message processing method, a message processing apparatus, a computer device, a computer readable storage medium, and a computer program product.
Background
With the continued development of computer technology, social applications are rapidly evolving. In a social application, a social channel may be established for communication between users of the same interests. Social applications typically have interactive (e.g., multi-person (two or more) interaction) scene requirements, such as: a user wants to invite other users to collaboratively edit the same document, group games, listen to music together, etc. Practice discovers that the problems of tedious invitation process, low invitation efficiency and the like exist in the social application aiming at the interaction scene requirement at present, so that the interaction scene requirement cannot be met.
Disclosure of Invention
The embodiment of the application provides a message processing method, a message processing device, a computer readable storage medium and a computer program product, which can improve the invitation efficiency and simplify the invitation process so as to meet the requirement of an interaction scene.
In one aspect, an embodiment of the present application provides a message processing method, where the method includes:
displaying a session page of a first social session in the social channel;
responding to the interaction invitation event in the conversation page of the first social conversation, and displaying an invitation message in the conversation page of the first social conversation; the method comprises the steps of,
and displaying the invitation message in a conversation page of a second social conversation of the social channels, wherein the first social conversation and the second social conversation refer to any two social conversations in the communicated channels.
In one aspect, an embodiment of the present application provides a message processing method, where the method includes:
receiving an invitation request sent by a social client; the invitation request is sent by the social client when there is an interactive invitation event within a session page of a first social session in a social channel in the social client;
and generating an invitation message and sending the invitation message to the social client, wherein the invitation message is used for indicating to display the invitation message in a session page of the first social session and a session page of the second social session in the social channel.
In one aspect, an embodiment of the present application provides a message processing apparatus, including:
the display unit is used for displaying a conversation page of a first social conversation in the social channel;
the processing unit is used for responding to the interaction invitation event in the session page of the first social session and displaying an invitation message in the session page of the first social session; the method comprises the steps of,
the processing unit is further configured to display an invitation message in a session page of a second social session of the social channel, where the first social session and the second social session refer to any two social sessions in the exchanged channel.
In one aspect, an embodiment of the present application provides a message processing apparatus, including:
the receiving unit is used for receiving the invitation request sent by the social client; the invitation request is sent by the social client when there is an interactive invitation event within a session page of a first social session in a social channel in the social client;
and the processing unit is used for generating an invitation message and sending the invitation message to the social client, wherein the invitation message is used for indicating to display the invitation message in a session page of the first social session and a session page of the second social session in the social channel.
In one aspect, an embodiment of the present application provides a computer device, where the computer device includes a memory and a processor, and the memory stores a computer program, where the computer program when executed by the processor causes the processor to execute the above-mentioned message processing method.
In one aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program that, when read and executed by a processor of a computer device, causes the computer device to perform the above-described message processing method.
In one aspect, embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the above-described message processing method.
In the embodiment of the application, a conversation page of a first social conversation in a social channel can be displayed; when an interaction scene requirement exists in the first social session to generate an interaction invitation event, an invitation message can be displayed in a session page of the first social session in response to the interaction invitation event, and the invitation message is also displayed in a session page of a second social session of a social channel; the first social session and the second social session refer to any two social sessions in a social channel. According to the above-described scheme, the method and the device achieve the purpose of sending interactive invitations to all members participating in the first social session by displaying the invitation message in the session page of the first social session; in addition, the invitation message can be displayed in a session page of other social sessions (such as a second social session) in the social channel, and the purpose of sending interaction invitations to all members participating in the second social session is achieved. Through the mechanism of transmitting the interaction invitation among different social sessions, a user only needs to send the interaction invitation in any social session in the social channels, and the interaction invitation can break through the range limit of a single social session and be transmitted to other social sessions, so that the flow of the interaction invitation is simplified, the range of the interaction invitation is enlarged, more users can be attracted to respond to the interaction invitation, and the efficiency of the interaction invitation is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1a is a schematic diagram of a message processing system according to an embodiment of the present application;
FIG. 1b is an interactive schematic diagram of a message processing flow provided in an embodiment of the application;
FIG. 1c is an interactive schematic diagram of another message processing flow provided by an embodiment of the application;
fig. 2 is a flow chart of a message processing method according to an embodiment of the present application;
FIG. 3a is a schematic diagram of a conversation page of a first social conversation provided by an embodiment of the present application;
FIG. 3b is a schematic illustration of a conversation page of another first social conversation provided by embodiments of the present application;
FIG. 3c is a schematic diagram of a configuration page provided by an embodiment of the present application;
FIG. 4a is a schematic diagram of a conversation page of a second social conversation provided by embodiments of the present application;
FIG. 4b is a schematic illustration of a conversation page of another second social conversation provided by embodiments of the present application;
FIG. 4c is a schematic illustration of a conversation page of another second social conversation provided by embodiments of the present application;
FIG. 5a is a schematic diagram of a page for generating an interactive invitation event according to an embodiment of the present application;
FIG. 5b is a schematic page view of a detail page showing a target activity provided by an embodiment of the present application;
FIG. 5c is a schematic page view of another detail page showing a target activity provided by an embodiment of the present application;
FIG. 6a is a schematic diagram of a page displaying a recall control provided by an embodiment of the present application;
FIG. 6b is a schematic diagram of another page displaying a recall control provided by embodiments of the present application;
FIG. 6c is a schematic diagram of a page of a recall event provided by an embodiment of the present application;
FIG. 6d is a schematic page view of another recall event provided by embodiments of the present application;
FIG. 7a is a schematic diagram of another page for generating an interactive invitation event according to an embodiment of the present application;
FIG. 7b is a schematic diagram of a page in response to an interactive invitation event in accordance with an embodiment of the application;
FIG. 8a is a schematic diagram of another page for generating an interactive invitation event according to an embodiment of the present application;
FIG. 8b is a schematic diagram of another page provided in accordance with an embodiment of the present application in response to an interactive invitation event;
FIG. 9a is a schematic diagram of another page for generating an interactive invitation event according to an embodiment of the present application;
FIG. 9b is a schematic diagram of another page provided in accordance with an embodiment of the present application in response to an interactive invitation event;
FIG. 10a is a schematic diagram of another page for generating an interactive invitation event according to an embodiment of the present application;
FIG. 10b is a schematic diagram of another page for generating an interactive invitation event in accordance with an embodiment of the application;
FIG. 10c is a schematic diagram of another page provided in accordance with an embodiment of the present application in response to an interactive invitation event;
fig. 11 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of another message processing apparatus according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
Technical terms related to the embodiments of the present application will be described below:
1. social clients:
a social client may refer to a social APP (Application) corresponding to a server that provides local services to a user, which may include, but is not limited to: instant messaging APP, map social APP, content interaction APP, game social APP, and the like; social clients may also refer to social-enabled websites, such as social websites, forums, etc., corresponding to servers that provide local services to users.
2. Social session:
the social clients support social sessions, which may include individual sessions and group chat sessions. The individual session refers to a social session in which two users participate for information exchange between the two users. Group chat sessions refer to social sessions in which multiple (greater than two) users participate for the exchange of information between the multiple users. It should be appreciated that the social session may include a managing user and a member user, where the managing user refers to a user with management rights for the social session, and for example, the managing user may be a creator or administrator in a group chat session; the member users are users that do not have the administrative rights for the social session. The management rights of a social session may be divided into rights to manage users in the social session and rights to manage information in the social session, where the rights to manage users in the social session include, but are not limited to: (1) rights to control the number of users in a social session, such as adding new member users or deleting existing member users in a social session; (2) and the rights for managing the user rights in the users, such as assigning management rights to a member user in the social session, so that the member user is changed to the management user. Rights to manage information in a social session include, but are not limited to: (3) permissions to audit information in a social session, e.g., audit whether the format of the information in the social session meets the format requirements, whether the content meets the theme requirements, etc.; (4) rights to modify information in a social session, e.g., when a piece of information is found to be unsatisfactory, the information may be deleted in the social session; or when the content of a piece of information in a certain social channel is found not to meet the theme requirement of the social channel, the information can be changed to a social channel with another theme requirement matched with the content of the piece of information. It should be noted that, when the number of people participating in a social session exceeds a threshold number of people (e.g., 10 ten thousand), the social session may also be referred to as a super community.
3. Social channels:
a social session may contain one or more social channels, meaning space allocated for the purpose of centrally discussing a topic, that provides an operator with a standing social channel operating matrix that provides diverse interest communication services for a community of interests. Social channel types may include, but are not limited to, text types, audio-video types, live types, mixed types, and so forth. A text-type social channel may post text content within the social channel. An audio-video type social channel may post content including audio-video within the social channel. A live type of social channel may post live content within the social channel. A mixed type of social channel may allow for posting of various forms of content within the social channel, where forms may include, but are not limited to: text form, audio-video form, picture form, live broadcast form; for example, a mixed type social channel may allow posting of both literal content only information and audiovisual content only information within the social channel, as well as pictorial content only information; it also allows to distribute information containing both text content and audio-visual content, even live content, or information containing both pictures and text content, etc. Similar to a social session, a social channel may contain one or more users that may be categorized into administrative users (which may be referred to as channel administrators or channel owners) and member users (which may be referred to as member users) by rights to message processing. Message processing rights may include, but are not limited to, at least one of: creating the authority of the social channel, resolving the authority of the social channel, managing the members in the social channel, and auditing and managing the topic information in the social channel.
Unlike a common social group, each social channel can include one or more sub-channels, thereby providing different forms of communication interaction scenarios for users within the social channel; for example, the sub-channel may be a text sub-channel, a voice sub-channel, a live sub-channel, etc. A social channel manager (a social channel manager set by a social channel creator, has the authority to create, delete, edit, and manage sub-channels) can create and delete sub-channels, edit sub-channel names, manage the visible range of sub-channels, and social grouping order, etc. Also, the number of users in each sub-channel may not be limited, i.e., the number of users in a social channel may be greater than the maximum number of social groups.
4. Session page:
the conversation page refers to a page for presenting social messages in a social conversation. For example: the social session is an instant messaging session group, and the session page of the social session may be an All In One (AIO) page of the instant messaging session group, where the AIO page is used to display a message stream generated by social communication performed by each user In the instant messaging session group. And the following steps: the social session is a content interaction group such as game social contact, map social contact and the like, and the session page of the social session can be a message dynamic page, wherein the session page is used for displaying message dynamic published by a user in the content interaction group.
5. Interaction invitation and interaction invitation event:
an interactive invitation is an invitation issued based on the interaction requirements, such as: when a first user in a social channel wants to invite other users (e.g., a second user) in the social channel to participate in a target activity, the first user may request that an interactive invitation be issued for the target activity. At this point, the first user is referred to as the inviter and the second user is referred to as the invitee. Target activities may include, but are not limited to: game activity, live activity, document activity, audio activity, video activity, electronic resource allocation activity, and so forth.
An interactive invitation event refers to an event generated by requesting an interactive invitation to a target activity. For example, in the above examples, the first user may trigger a request to issue an interactive invitation for the target activity by selecting an invitation control, performing a gesture operation, etc., which when performed by the first user, results in an interactive invitation event. The interaction invitation event is used for triggering the processing flow of the interaction invitation. For example: user a wants to invite other users to play a game together (i.e., participate in a game activity), user a may generate an interactive invite event by selecting an invite control, performing a gesture operation, etc. to request an interactive invite to be issued for the game activity, and then may trigger a subsequent transmission of an invite message to other users based on the interactive invite event to invite the other users to participate in a process flow of the game activity.
6. Invite message:
an invite message refers to a message for inviting participation in a target activity. For example, in the above example, when the user B receives the invite message as the invitee, the target activity may be added through the invite message. The invite message may be a message in any format, which may include, but is not limited to: text, pictures, ark (structured message). The structured message may generally include a title, a subtitle, a picture, a skip link, and the like, and if the user clicks on the structured message, the user may skip to open a new page. In one implementation, the invitation message may be a structured message by which the relevant page of the target activity may be jumped open.
Unless specifically stated otherwise, the inviters mentioned in the subsequent embodiments of the present application refer to users who send out an interactive invitation for a target activity in a social channel, i.e. users who perform operations to generate an interactive invitation event. The invitees mentioned refer to users in the social channel that receive the invite message.
The embodiment of the application provides a message processing scheme, which can display a conversation page of a first social conversation in a social channel; when an interaction scene requirement exists in the first social session to generate an interaction invitation event, an invitation message can be displayed in a session page of the first social session in response to the interaction invitation event, and the invitation message is also displayed in a session page of a second social session of a social channel; the first social session and the second social session refer to any two social sessions in a social channel. According to the above-described scheme, the method and the device achieve the purpose of sending interactive invitations to all members participating in the first social session by displaying the invitation message in the session page of the first social session; in addition, the invitation message can be displayed in a session page of other social sessions (such as a second social session) in the social channel, and the purpose of sending interaction invitations to all members participating in the second social session is achieved. Through the mechanism of transmitting the interaction invitation among different social sessions, a user only needs to send the interaction invitation in any social session in the social channels, and the interaction invitation can break through the range limit of a single social session and be transmitted to other social sessions, so that the flow of the interaction invitation is simplified, the range of the interaction invitation is enlarged, more users can be attracted to respond to the interaction invitation, and the efficiency of the interaction invitation is improved.
Next, a related description is given to a message processing system provided in an embodiment of the present application.
Referring to fig. 1a, fig. 1a is a schematic structural diagram of a message processing system according to an embodiment of the present application. As shown in fig. 1a, the message processing system may include a plurality of terminal devices (e.g., a first terminal device 1001, a second terminal device 1002, etc.) and a server 1003, which is not limited in number herein, but may also be a plurality of servers, which is not limited in number herein.
Wherein:
terminal device refers to a device used by a user in a social channel, for example: the first terminal device 1001 in fig. 1a may be a terminal device used by a first user in a social channel and the second terminal device 1002 may be a terminal device used by a second user in the social channel. The terminal device is provided with a social client, the terminal device can include, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart sound box, a smart watch, a vehicle-mounted terminal, a smart wearable device and the like, a display device is often configured in the terminal device, the display device can be a display, a display screen, a touch screen and the like, and the touch screen can be a touch screen, a touch panel and the like. The server 1003 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDNs (Content Delivery Network, content delivery networks), basic cloud computing services such as big data and artificial intelligence platforms, and the like. Any terminal device (such as the first terminal device 1001) in the message processing system and the server 1003 may be directly or indirectly connected through a wired or wireless communication manner, and the first terminal device 1001 may perform information interaction between other terminal devices (such as the second terminal device 1002) connected to the server 1003 through the server 1003.
A related description will be given below of a message interaction procedure between the social client and the server 1003 running in the first terminal device 1001, taking the terminal device as the first terminal device 1001 as an example. It may be appreciated that the social client running in the first terminal device 1001 may present the session page of the first social session and the session page of the second social session to the user, and the server 1003 is a server of the social client, for providing technical and service support for various social interactions in the social client. In the present embodiment, interaction of social messages between the social client and the server 1003 is enabled, and the social messages may include, but are not limited to, IM (Instant Messaging ) messages, notification messages, and the like. In the subsequent embodiments of the present application, an IM message is taken as an example to describe the information interaction flow between the social client and the server 1003.
The method comprises the following steps:
1) When an interactive invitation event exists within a session page of a first social session in a social channel in a social client, the social client may generate an invitation request, which the social client sends to a server. The interaction invitation event is initiated by any user in the first social session when an interaction scene requirement for the target activity exists in a session page of the first social session; for example: when any user of the first social session wants to invite other users to listen to music together, an interactive invitation event can be initiated, and the target activity is to listen to music together; and the following steps: when any social user of the first social session wants to invite other social users to play a game together, an interactive invitation event can be initiated, and the target activity is the game together; also as follows: when any one of the social users of the first social session wants to invite other social users to watch live together, an interactive invite event may be initiated, where the target activity is to watch live together, and so on. The invitation request generated by the social client may carry an activity type of the target activity related to the interactive invitation event, where the activity type includes, but is not limited to: game activity, live activity, document activity, audio activity, video activity, electronic resource allocation activity, and so forth.
2) After receiving the invitation request sent by the social client, the server detects whether the invitation request meets the message passing condition, if the invitation request meets the message passing condition, the server generates an invitation message and invokes a message passing display service to plug the invitation message into the IM message of the social channel. The stuffing here refers to adding the invite message to the IM message queue to be sent. The message pass-through presentation service may be defined as AIO Invitation Message Server. The invite message may be defined as a broadcast type message. It should be noted that, in the subsequent embodiments of the present application, the message passing through display service and AIO Invitation Message Server are equivalent, and both refer to the message passing through display service. The invite message, invitation IM Msg and reach message mentioned are also equivalent, all three referring to the invite message. The message transparent condition refers to a condition for starting a transparent transmission mechanism, the message transparent condition may include an activity type supporting transparent transmission, the server may detect whether the activity type of the target activity carried in the invitation request is an activity type supported by the message transparent condition, if yes, the message transparent condition is satisfied, and if yes, the server may call AIO Invitation Message Server to continue the subsequent transparent transmission flow. Otherwise, if the activity type of the target activity carried in the invitation request is not the activity type supported by the message passing condition, the message passing condition is not satisfied, and the server will not call AIO Invitation Message Server, and will not start the subsequent passing flow.
3) In the IM polling period of the social channel, the server can send the IM message queue after the invitation message is blocked to the social client, and the social client analyzes the received IM message queue to obtain the blocked invitation message; the social client then performs subsequent presentation logic on the invite message (Invitation IM Msg) (e.g., displaying the invite message in a session page of a first social session, displaying the invite message in a session page of a second social session of a social channel, etc.). The social client is provided with an IM polling mechanism, a user in a social channel obtains IM messages from the server based on the IM polling mechanism, the IM polling mechanism is used for periodically sending polling requests to the server according to an IM polling period, and the server responds to the polling requests to return the IM messages to be displayed. The IM message to be displayed in the embodiment of the present application may be an IM message with the invite message (Invitation IM Msg) added. The IM polling period may be set according to the actual situation, for example, 1 hour, 5 minutes, and so on.
In one embodiment, the AIO Invitation Message Server requestor structure is as follows:
userId: inviting person id;
ChannelId: the social channel id where the inviter is located;
RoomId: sub-channel id in social channel where inviter is located;
target: touching an address;
TargetType: the touch message type.
In one embodiment, after the aioinvationessageserver is invoked, the aioinvationessageserver adds a plug Invitation IM Msg to the IM message, and the structure of the solicitation immsg message is as follows:
id: a message id;
userId: inviting person id;
avatar: inviting the head portrait of the person;
nick: a nickname of the inviter;
ChannelId: social channel id where invitees are located;
RoomId: sub-channel id in social channel where invitee is located;
target: touching an address;
TargetType: the touch message type.
Based on the system architecture shown in fig. 1a, the following description will be made with reference to fig. 1b and 1c, where the message processing procedure of the server logic, the message processing procedure of the social client logic, and the message processing procedure of the pass-through logic are respectively described. Referring specifically to fig. 1 b-1 c, fig. 1b and fig. 1c are schematic interaction diagrams of a message processing flow provided in the application embodiment.
1. The message processing process of the server logic comprises the following steps:
as previously mentioned, IM messages are primarily interacted between the social client and the server. The embodiment of the application mainly relates to the data type of a corking message in an IM read service. As shown in fig. 1 b-1 c, the interaction flow between the social client and the server can be broadly divided into an initialization phase and an IM polling phase:
1) An initialization stage:
when there is an interaction invitation event within a session page of a first social session in a social channel in a social client, for example: when any user in the first social session clicks the invitation control (such as an invitation control corresponding to playing a game together and an invitation control corresponding to listening to music together), the social client generates an invitation request and sends the invitation request to the server. After receiving the invitation request, the server responds to the invitation request, generates response data and returns the response data to the social client; the responses herein may include creating rooms for the requested target activity, allocating activity resources, and so forth. A room refers to a spatial resource used to achieve a target activity. The response data may include addresses, types, etc. associated with the target activity, such as: the response data may include an address of the game room, a type of the game room. In addition, the server determines whether the invitation request meets the message passing condition, if so, generates an invitation message, and generates a call request for calling AIO Invitation Message Server, where the call request includes the invitation message, and the call request further includes the queried invitation information (including the head portrait, nickname, etc. of the inviter) and part or all of the contents in the response data (for example, a touch address target for pointing to a room of the target activity, a touch message Type target Type for indicating an activity Type of the target activity, etc.). AIO Invitation Message Server after receiving this call request, the service will plug the invite message into the IM message for the social client to take.
2) IM polling phase: note that one AIO Invitation Message Server call can trigger an IM message with Invitation IM Msg only once for online users in the social channel; the server therefore also needs to set deduplication logic; the deduplication logic may comprise: after invocation AIO Invitation Message Server, the server can create a global variable (e.g., 84132_msg) for storing Invitation IM Msg content; in addition, the server needs to create another global variable for storing the trigger state, and the variable name may be "message id" Map (for example, 84132_map) in consideration of the performance of the server. Wherein, the global variable can be stored in a key-value form; for 84132_map, key is the user id of the invitee acquired when AIO Invitation Message Server is called; value is 0 or 1, when value is 0, it indicates that Invitation IM Msg is required to be sent; when value is 1, this indicates that Invitation IM Msg has been sent, and no further transmissions of Invitation IM Msg are required. Typically value may default to 0. Specifically, after receiving a message acquisition request sent by a social client where an invitee (for example, user id: 10086) is located in a certain IM polling period server, the server reads an IM message to be sent to the social client, and specifically may read a 84132_map [ '10086' ] field in the IM message; if the field is 0, it indicates that Invitation IM Msg is not sent to the social client and needs to be sent, an IM message with 84132_msg being plugged is returned to the social client, and the 84132_map [ '10086' ] field is set to 1. If the 84132_map [ '10086' ] field is read to be 1, this indicates that this piece Invitation IM Msg has been sent to the social client, and no further need be made.
It should be noted that, considering the service performance of the IM message, the server may set a duration threshold (for example, 1 minute), and after 1 minute, the server may automatically destroy the 84132_map variable and the 84132_msg variable, without considering that there is a user that is not touching (i.e., actively discarding the message). That is, the duration of Invitation IM Msg is the set duration threshold (e.g., 1 minute), i.e., after 1 minute, the server does not send Invitation IM Msg.
2. Message handling process for social client logic:
1) After receiving the IM message sent by the server, the social client analyzes the IM message to obtain the data structure of the Invitation IMMsg message. The preset SnakeBar component (which may be defined as an solicitation SnakeBar in the embodiments of the present application) is then exposed according to the data structure of the solicitation immsg message. Different styles can be displayed in the social client according to different message types targetType. And, the show time can be set up according to the demand customization, for example can set up to the timing cancellation show.
2) The jump address is obtained from the solicitation immsg. Wherein the jump address may be a uniform resource locator (Uniform Resource Locator, URL), and the user may jump to an H5 (fifth generation hypertext markup language, hyper Text Mark Language/HTML 5) page (e.g., a song panel displayed in a session page of the second social session, a document editing page displayed in a session page of the second social session, etc.) after clicking on the URL; the jump address may also be a schema, and after the user clicks the schema, the user may jump to any page (such as a robbery package floating layer page) in an Application (App) or other App pages (such as game pages in a game App); the jump address may also be roomId or channelId, and the user may jump to the corresponding frequent social channel or sub-channel after clicking.
3) The InvitroionSnakeBar component export method is as follows:
IsHide (): acquiring the state of the current component, which may include a show state or a hide state, for example;
call of show (type, target, channel id, duration) method: the type refers to the type of triggering the presentation, the target refers to the destination of the jump after the invitation message is clicked, the duration refers to the presentation duration, and the channel id refers to the social channel id which needs to be touched. The solicitation snakebar component needs a preset style and is preset in a data structure of an AIO page (for example, a session page of a first social session, a session page of a second social session, etc.), and the presentation area may include but is not limited to: below the Header of the AIO page, above the chat area of the AIO page, or not exposed by default, etc. When the InvitrotSnakeBar component receives the showmethod call, judging whether the channel Id is consistent with the social channel where the user is located, and triggering to display a corresponding page if the channel Id is consistent with the social channel where the user is located; if the results are consistent, the display is not triggered. Finally, when the display duration is reached or the user clicks, the corresponding page can be hidden and not displayed. It should be noted that, when the show method is called for many times, the latest called parameters are displayed and the timing is restarted.
3. Message processing procedure of message passing detection logic:
referring to fig. 1c, fig. 1c is an interaction schematic diagram of another message processing flow provided in an embodiment of the present application. As shown in fig. 1c, in the embodiment of the present application, a general service adaptation layer may be added to a server:
1) The user can actively initiate the interaction invitation (i.e. generate an interaction invitation event), or perform two or more summons (i.e. generate a summoning event) for the initiated interaction invitation, under these scenes, the server needs to provide the message transparent display service aioin visualization server mentioned in the embodiments of the present application, and trigger the transparent transmission mechanism by calling the aioin visualization server; for example, when a user can send out a recall again for a live broadcast activity related to an initiated interaction invitation, the server needs to call the AIOINVITIONMess server to generate a touch message and carry out transparent transmission; and if the user can recall the game with the initiated interaction invitation again in the game panel, the server needs to call the AIOINVITATIONMess server to generate a touch message and transmit the touch message. It can be understood that the embodiment of the application also supports the logic of automatically triggering transparent transmission, for example, when a user opens a broadcast in a live broadcast scene, the automatic triggering server calls the aioinvitationless server to generate a touch message and perform transparent transmission.
2) For the logic of active triggering of the user (for example, active initiation of an interactive invitation, and active two or more summons of the initiated interactive invitation), in the embodiment of the present application, a service interface may be further provided in the server for the social client to call for security, through which a security verification may be performed on a request generated by the active triggering of the social client, and after the security verification passes, the aioinvitationserver is called to execute a subsequent touch process.
According to the embodiment of the application, the service adaptation layer is arranged, the message transmission detection logic can be arranged in the service adaptation layer, the security verification logic can be further arranged, and the like, so that various overall required service logics can be realized through the service adaptation layer, inconvenience caused by separate processing of different interfaces is shielded, and the service adaptation layer is compatible with and meets more diversified scene requirements.
Through the message processing system provided by the embodiment of the application, the conversation page of the first social conversation in the social channel can be displayed; when an interaction scene requirement exists in the first social session to generate an interaction invitation event, an invitation message can be displayed in a session page of the first social session in response to the interaction invitation event, and the invitation message is also displayed in a session page of a second social session of a social channel; the first social session and the second social session refer to any two social sessions in a social channel. According to the above-described scheme, the method and the device achieve the purpose of sending interactive invitations to all members participating in the first social session by displaying the invitation message in the session page of the first social session; in addition, the invitation message can be displayed in a session page of other social sessions (such as a second social session) in the social channel, and the purpose of sending interaction invitations to all members participating in the second social session is achieved. Through the mechanism of transmitting the interaction invitation among different social sessions, a user only needs to send the interaction invitation in any social session in the social channels, and the interaction invitation can break through the range limit of a single social session and be transmitted to other social sessions, so that the flow of the interaction invitation is simplified, the range of the interaction invitation is enlarged, more users can be attracted to respond to the interaction invitation, and the efficiency of the interaction invitation is improved.
Next, a message processing method provided in the embodiment of the present application will be described in detail with reference to the accompanying drawings. Referring to fig. 2, fig. 2 is a flow chart of a message processing method according to an embodiment of the present application. In this embodiment, the message processing method may be performed by a computer device, which may be the terminal device 101 in the message processing system shown in fig. 1a, and the message processing method may be specifically performed by a social client in the computer device (such as the terminal device 101). As shown in fig. 2, the message processing method may include the following steps S201 to S203:
s201: a conversation page of a first social conversation in the social channel is displayed.
One or more social sessions may be included in a social channel, a first social session may refer to any one of the social channels, and the first social session may include, but is not limited to: individual sessions, group chat sessions, etc. In one possible implementation, the first social session may be a social group in a social channel, and the session page of the first social session may refer to an AIO page of the social group. For example, referring to fig. 2, as shown in page S10 shown in fig. 2, the first social session may be a social group named "owner social livestock base"; the conversation page of the first social conversation may be shown in a page S10 shown in fig. 2, where a message flow generated during the social interaction between users (such as user 1, user 2, and user 3) included in the first social conversation is displayed in the conversation page S10 of the first social conversation.
S202: responsive to an interactive invitation event within a conversation page of the first social conversation, an invitation message is displayed in the conversation page of the first social conversation.
The interaction invitation event refers to an event generated by requesting to send out an interaction invitation for a target activity; the target activities herein may include any of the following: live action, music action, document action, audio action, video action, electronic resource allocation action, and so forth.
In one possible implementation, the interactive invitation event may be an event generated by a user (inviter) performing an operation of selecting an invitation control. Specifically, an operation panel is arranged in a session page of the first social session, and the operation panel comprises one or more invitation controls; when any one of the invitation controls in the operation panel is triggered, an interactive invitation event is generated. For example, referring to fig. 3a, fig. 3a is a schematic view of a session page of a first social session according to an embodiment of the present application. As shown in fig. 3a, an operation panel 101 is provided in a session page of the first social session. Wherein, the operation panel 101 may be displayed when the operation portal 102 in the session page of the first social session is triggered; the operation panel 101 may also be directly displayed in a session page of the first social session, which is not specifically limited in the embodiment of the present application. For example, five invitation controls, respectively, an "listen together" invitation control 1011, a "look together" invitation control 1012, a "write together" invitation control 1013, a "red pack" invitation control 1014, a "play together" invitation control 1015, and the like are provided in the operation panel 101. Wherein each invitation control may correspond to an activity type, e.g., an "listen together" invitation control 1011 may correspond to a music activity type, indicating a request to issue an interactive invitation for a music activity when the "listen together" invitation control 1011 is triggered; the "together view" invitation control 1012 may be of the video activity type, indicating a request to issue an interactive invitation for a video activity when the "together view" invitation control 1012 is triggered; the "write together" invitation control 1013 may correspond to a document activity type, indicating that an interactive invitation is requested to be issued for a document activity when the "look together" invitation control 1013 is triggered; the "Red" Invitation control 1014 may correspond to an electronic resource allocation activity type, and when the "Red" invitation control 1014 is triggered, it indicates a request to issue an interactive invitation for an electronic resource allocation activity; the "play together" invitation control 1015 may correspond to a game activity type, which when triggered, indicates a request to issue an interactive invitation for a game activity. When the user clicks (e.g., single click, double click, long press, etc.) on any of the invitation controls (e.g., the "play together" invitation control 1015) in the operator panel 101, an interactive invitation event is generated.
In another possible implementation, the interactive invitation event may be an event generated by a user (inviter) performing a specific touch operation. Specifically, an operation area is arranged in a session page of the first social session; when a specific touch operation exists in the operation area, an interaction invitation event is generated. The specific touch operation comprises any one of a single click operation, a double click operation, a gesture operation and a suspension gesture. A particular touch operation may correspond to an activity type, i.e., by entering a particular touch operation in an operation area, an interactive invitation may be requested to be issued for a target activity of an activity type. For example, an "S" type gesture operation may correspond to a music activity type, and inputting the "S" type gesture operation in the operation area indicates a request to issue an interaction invitation for the music activity; the gesture operation of the W type can correspond to the video activity type, and the gesture operation of the W type is input in the operation area to indicate that the request for sending the interaction invitation to the video activity is requested; the X-shaped gesture operation can correspond to the document activity type, and the X-shaped gesture operation is input in the operation area to indicate that the request for issuing the interaction invitation for the document activity is requested; the H-shaped gesture operation can correspond to the type of the electronic resource allocation activity, and the input H-shaped gesture operation in the operation area represents a request for sending out interaction invitation for the electronic resource allocation activity; the "P" type gesture operation may correspond to a game activity type, inputting the "P" type gesture operation in the operation area indicates a request to issue an interactive invitation for a game activity, and so on. For example, referring to fig. 3b, fig. 3b is a schematic view of a session page of another first social session provided in an embodiment of the present application. As shown in fig. 3b, an operation area 3021 is provided in the session page of the first social session. The user may trigger the generation of a specific touch operation in the operation area 3021, for example, the user may draw an "S" gesture operation in the operation area 3021, and may consider that an interaction invitation event with a music activity type is generated.
In one possible implementation, displaying the invitation message in a session page of the first social session may include: the invitation message is displayed at a fixed location in a session page of the first social session. By fixed location is meant any location where the invite message is not overwhelmed by and affected by other social messages in the first social session, such as IM messages. The fixed location may include: a top location, a bottom location, or any location in a conversation page of the first social conversation. For example, referring to fig. 2, a session page of the first social session may be as shown in page S20 in fig. 2, and the invitation message 201 may be displayed at a top position in the session page S20 of the first social session. It should be noted that, the position of the invitation message 201 displayed in the session page of the first social session is a fixed position, and the invitation message 201 located in the fixed position is not submerged by and not affected by other social messages in the first social session. In this way, the invitation message displayed in the session page of the first social session may attract more users in the social channel to focus on the target activity involved in the invitation message due to the precipitation display, thereby improving the invitation efficiency.
In another possible implementation, displaying the invitation message in a session page of the first social session may further include: the invitation message is displayed in a floating window in a session page of the first social session. The invitation message displayed in the floating window may be displayed in an animated form, that is, the invitation message may be dynamically displayed in the floating window. It is to be appreciated that the floating window may be located at any position in the conversation page of the first social conversation, including, but not limited to: top position, side position, center position, bottom position, etc., as embodiments of the present application are not specifically limited. By the method, after the user joins the target activity, the user does not need to leave the current conversation page (such as the conversation page of the first social conversation), and can participate in the target activity quickly and conveniently, so that continuity of chat interaction in the current conversation page is not affected, and the efficiency of multi-thread social interaction of the user can be flexibly and efficiently improved.
S203: and displaying the invitation message in a conversation page of a second social conversation of the social channel, wherein the first social conversation and the second social conversation refer to any two social conversations in the social channel.
In one possible implementation, one or more social sessions may be included in the social channel, the second social session may refer to any one of the social channels other than the first social session, and the second social session may include, but is not limited to: individual sessions, group chat sessions, etc. For example, referring to fig. 2, as shown in fig. 2, the first social session may be "owner social animal breeding base", and the second social session may be "owner CPDD".
In another possible implementation, the second social session refers to any one of the social sessions selected within the social channel. Responding to an interaction invitation event in a session page of a first social session, displaying a configuration page, wherein the configuration page comprises an invitation range option; the invitation scope option provides a selection list, wherein the selection list comprises the identification of at least one social session except the first social session in the social channel and the identification of at least one user in the social channel; responsive to a selection operation of the identification of the social session in the selection list, determining the selected social session as an alternative social session; responsive to a selection operation of the identification of the user in the selection list, determining a corresponding social session between the inviter and the selected user as an alternative social session; the second social session refers to any of the alternative social sessions. Wherein the social session comprises: social sessions corresponding to any one of the sub-channels in the social channel, social sessions corresponding to any one of the identity groups in the social channel, and social sessions engaged by the inviter in the social channel.
For example, please refer to fig. 3c, fig. 3c is a schematic diagram of a configuration page provided in an embodiment of the present application. As shown in fig. 3c, the page S303 in fig. 3c is a schematic diagram of a session page of the first social session provided in the embodiment of the present application. Assuming that the user clicks the "red package" invitation control 3031 in the session page S303 of the first social session, an interaction invitation event is generated; in response to an interactive invitation event within a session page of the first social session, a configuration page is displayed, which may be as shown in page S304 in fig. 3c, and an invitation scope option 3041 may be included in the configuration page S304. If the user clicks on the invitation scope option 3041, a selection list may be displayed, which may include an identification of at least one social session other than the first social session in the social channels and an identification of at least one user within the social channels as shown in page S305. Specifically, the selection list has displayed therein an identification of at least one social session other than the first social session, such as social session 1, social session 2, and social session 3, provided by the dimensions of the social session. As another example, the selection list also shows an identification of at least one user within the social channels provided by the user's dimensions, such as user 1, user 2, user 3, user 4, user 5, user 6, and user 7. The user (inviter) may select an invitation scope in the selection list, i.e. the scope to which the invitee receiving the invitation message belongs. In one embodiment, a user (inviter) may select one or more social sessions in a selection list according to the dimensions of the social session; the scope of the invitation includes the selected one or more social sessions to which the invitee receiving the invitation message belongs, in other words, the user in the selected one or more social sessions is able to receive the invitation message. In another embodiment, the user (inviter) may also select one or more users in the selection list according to the user's dimensions, and the invitation scope then includes the selected one or more users, i.e. those selected one or more users are able to receive the invitation message as invitees.
In both embodiments, the selected social session may be an alternative social session, as may the corresponding social session between the selected one or more users and the inviter. The second social session mentioned in the embodiments of the present application may be any of the alternative social sessions. For example, as shown in the drawing page S305, the user (inviter) may select social session 1, social session 2, user 1, user 2, and user 3 in the page S305, and then the second social session may be any of the following: social session 1, social session 2, a social session corresponding between user 1 and the inviter, a social session corresponding between user 2 and the inviter, and a social session corresponding between user 3 and the inviter. In this way, the inviter can set the invitation scope so that targeted invitations to the corresponding users can be made.
In one possible implementation, displaying the invitation message in a session page of a second social session of the social channel may include: the invitation message is displayed at a fixed location in a session page of the second social session. Wherein, the fixed location refers to any location where the invitation message is not submerged by other social messages (such as IM messages) in the second social session and is not affected by the other social messages; the fixed location may include: a top location, a bottom location, or any location in a conversation page of the second social session. For example, referring to fig. 2, a session page of the second social session may be as shown in page S30 in fig. 2, and the invite message 301 may be displayed at a top position in the session page S30 of the second social session. It should be noted that, the position of the invitation message 201 displayed in the session page of the second social session is also a fixed position, where a fixed position means that the invitation message 301 is not submerged by and not affected by other social messages in the second social session.
In another possible implementation, displaying the invitation message in the session page of the second social session may further include: the invitation message is displayed in a floating window in a session page of the second social session. The invitation message displayed in the floating window may be displayed in an animated form, that is, the invitation message may be dynamically displayed in the floating window. It is to be appreciated that the floating window may be located at any position in the conversation page of the second social conversation, including, but not limited to: top position, side position, center position, bottom position, etc., as embodiments of the present application are not specifically limited.
It should be noted that, the display position of the invitation message in the first social session may be the same as or different from the display position of the invitation message in the second social session.
In one possible implementation, after displaying the invitation message in the session page of the second social session of the social channel, the method may further include: and if the display duration of the invitation message in the session page of the second social session reaches a threshold value, stopping displaying the invitation message in the session page of the second social session. For example, referring to fig. 4a, fig. 4a is a schematic diagram of a session page of a second social session according to an embodiment of the present application, assuming that the threshold is 10 s. As shown in the page S401 in fig. 4a, the session page S401 of the second social session displays an invitation message, and after 10S, the display of the invitation message is stopped in the session page S402 of the second social session.
In one possible implementation, duration indication information may be displayed in a session page of the second social session, the duration indication information being used to indicate a remaining display duration of the invitation message displayed in the session page of the second social session. Specifically, the duration indication information may be a progress bar, which is provided in the invitation message displayed in the session page of the second social session. Referring to fig. 4b, fig. 4b is a schematic diagram of a session page of another second social session according to an embodiment of the present application. An invitation message 403 is displayed in the session page of the second social session, duration indicating information is also displayed in the session page of the second social session, the duration indicating information is a progress bar 4031, and the progress bar 4031 is set in the invitation message 403. Or, the duration indication information may also be a clock, where the clock is displayed at any position in the session page of the second social session. Referring to fig. 4c, fig. 4c is a schematic diagram of a session page of another second social session according to an embodiment of the present application. The session page of the second social session has duration indication information displayed therein, the duration indication information is a clock 404, and the clock may be displayed in a central location in the session page of the second social session. It may be appreciated that the clock 404 may be dynamically displayed in the session page of the second social session, for example, if the remaining display duration of the invite message displayed in the session page of the second social session reaches the remaining display duration threshold (assuming 3 s), the user may be alerted by voice broadcasting, for example, the voice broadcasting alert may be: the distance invitation message disappears and 3s remain, and in this way, the user can be reminded to join in the interaction invitation event as soon as possible.
In one possible implementation, the invite message includes at least one of the following information: the identity of the inviter, descriptive information of the target activity to which the invitation relates, a join control, and user information that has joined to the target activity. Wherein, the invitee can be added into the target activity through the adding control; the descriptive information of the target activity includes at least one of: the type of activity of the target activity, the total number of users participating in the target activity, the number of users who have joined the target activity, the real-time status of the target activity; the activity type of the target activity includes any one of the following: game activity type, music activity type, video activity type, electronic resource allocation activity type, document activity type. In this way, the information such as the number of users added to the target activity, the real-time state of the target activity and the like can be displayed in the session page of the current social session, and the exposure of the interaction invitation event can be improved, so that the success rate of the target activity related to the interaction invitation event is improved.
In one possible implementation, the invitation message carries a link to a details page of the target activity. When the invite message is triggered, a detail page of the target activity may be displayed. The detail page of the target activity is set in the social client to which the social channel belongs (i.e. the detail page of the target activity can be displayed by skipping to any social channel in the social clients through the invitation message), or the detail page of the target activity is set in an application program outside the social client to which the social channel belongs (i.e. the detail page of the target activity can be displayed in other APP outside the social client by skipping to the invitation message). The detail page of the target activity is arranged in a social client to which the social channel belongs, and comprises any one of the following steps: the detail page of the target activity is arranged in a social channel (namely, the detail page of the target activity is displayed by skipping in the social channel through an invitation message), the detail page of the target activity is arranged in any sub-channel in the social channel (namely, the detail page of the target activity is displayed by skipping in the social channel through the invitation message to the corresponding sub-channel), and the detail page of the target activity is arranged in other social channels (namely, the detail page of the target activity is displayed by skipping in the other social channel through the invitation message) in the social client. For example, as shown in page S505 in fig. 5b, the invitation message carries a link to the details page of the target activity (join control 5051), and if the user (invitee) clicks the join control 5051, the details page of the target activity S506 may be displayed.
Next, for target activities of different activity types (including game activity type, music activity type, video activity type, electronic resource allocation activity type, document activity type, etc.), the embodiments of the present application describe in detail the visualization page and the related background technologies with reference to the corresponding drawings:
1. the activity type of the target activity is a game activity type:
(1) Message processing flow of the visual page:
referring to fig. 5a, fig. 5a is a schematic diagram of a page for generating an interaction invite event according to an embodiment of the present application. As shown in page S501 in fig. 5a, the user may click (e.g., click, double click, or long press, etc.) on the "play together" invitation control 5011 in the conversation page of the first social conversation, and then a game selection interface 5021 may be displayed. At least one type of game is displayed in the game selection interface 5021, for example, games such as game 1, game 2, and game 3 are displayed in the game selection interface 5021. The user may click on the selection target game (assuming game 1) in this game selection interface 5021, and then display a game team page S503. The game team page S503 displays a mode selection interface 5031 associated with the target game, the mode selection interface 5031 having at least one team mode associated with the target game displayed therein, for example, the team mode associated with the target game may include, but is not limited to: mode 1, mode 2, and mode 3. In response to a user selection operation for a target mode, the selected target mode may be used as description information of a target activity. In addition, the game team page S503 is further provided with a team control 5032, and when the user clicks the team control 5032, an interaction invitation event is generated.
In one possible implementation, the invitation message carries a link to a details page of the target activity. When the invite message is triggered, a detail page of the target activity is displayed. The detail page of the target activity is arranged in a social client to which the social channel belongs, or the detail page of the target activity is arranged in an application program outside the social client of the social channel; the detail page of the target activity is arranged in the social client to which the social channel belongs, and comprises any one of the following steps: the detail page of the target activity is arranged in the social channel, the detail page of the target activity is arranged in any sub-channel in the social channel, and the detail page of the target activity is arranged in other social channels except the social channel in the social client.
In one possible implementation manner, if the detail page of the target activity is set in an application program outside the social client to which the social channel belongs, displaying the detail page of the target activity may include: and jumping from a session page of the current social session of the social channel to the application program, and displaying a detail page of the target activity in the application program. For example, referring to fig. 5b, fig. 5b is a schematic page diagram of a detail page for displaying a target activity according to an embodiment of the present application. As shown in page S504 in fig. 5b, the page S504 may be a session page of the first social session, where the session page S504 of the first social session displays the invite message 5041. Wherein, the activity type corresponding to the interaction invitation event is a game activity type, and the invitation message 5041 may include at least one of the following information: the identity of the inviter, descriptive information of the target activity to which the invitation relates, a join control, and user information that has joined to the target activity. Specifically, the identity of the inviter may be a nickname (e.g., user 1); the descriptive information of the target activity to which the invitation relates may include, but is not limited to: the name of the target activity (e.g., diamond V), the team mode of the target activity (5V 5 match, or 5V5 rank, etc.), the status of the target activity (e.g., in team), and the user information that has been added to the target activity (e.g., 3 people have been added to the target activity, the numeral "3" is displayed). In addition, an invitation control 5042 related to the target activity may also be displayed at the identification of the inviter in the session page of the first social session, so that other users participating in the first social session may intuitively observe the inviter initiating the interactive invitation event. Of course, as shown in the page S505 in fig. 5b, the page S505 may be a session page of the second social session, and the invite message may also be displayed in the session page S505 of the second social session. Wherein the invitee may join the target activity (e.g., game 1) through a join control 5051, e.g., the user clicking on join control 5051 may display a detail page of the target activity. Referring to the page S506 shown in fig. 5b, the page S506 may be a game page (a detail page of a target activity) corresponding to the game 1, where the detail page S506 of the target activity is located in an application program other than the social client to which the social channel belongs, and then, when the user clicks the join control 5051 shown in the page S505 in fig. 5b, the user may jump from a session page of the current social session of the social channel (for example, a session page S505 of the second social session) to the application program, and display the detail page S506 of the target activity in the application program.
In another possible implementation manner, if the detail page of the target activity is set in the social client, displaying the detail page of the target activity may include: displaying a floating window in a session page of a current social session of the social channel, and displaying a detail page of the target activity in the floating window; the display area of the floating window is smaller than or equal to the area of a session page of the current social session of the social channel; the current social session of the social channel includes a first social session or a second social session. For example, referring to fig. 5c, fig. 5c is a schematic page view of another detailed page showing a target activity according to an embodiment of the present application. Assuming that the details page of the target activity (game 1) is located within the social client, then the user clicks the join control 5071 shown in page S507 in fig. 5c, a floating window 5081 may be displayed in the session page of the current social session (second social session) of the social channel, and the details page of the target activity may be displayed in the floating window 5081. By the method, after the user joins the target activity, the user does not need to leave the current conversation page (such as the conversation page of the second social conversation), and can participate in the target activity quickly and conveniently, so that continuity of chat interaction in the current conversation page is not affected, and the efficiency of multi-thread social interaction of the user can be flexibly and efficiently improved.
In one possible implementation, the invitation message is again displayed in a session page of the second social session in response to the recall event for the invitation message. Here, the recall event refers to an event generated by re-inviting a target activity which has issued an interactive invitation; embodiments of the present application may also support multiple summons for a target activity that has issued an interactive invitation. The method comprises the steps that a summoning control is arranged in a session page of a first social session, and when the summoning control is triggered, a summoning event is generated. The summoning control is arranged in an invitation message displayed in a session page of the first social session; or the summoning control is arranged in the data card of the inviter, and when the identification of the inviter in the first social session is triggered, the data card of the inviter is displayed. For example, referring to fig. 6a, fig. 6a is a schematic diagram of a page displaying a recall control according to an embodiment of the present application. As shown in fig. 6a, the page S601 refers to a session page of a first social session, and a recall control 6011 is set in the session page S601 of the first social session. If the user clicks on the summons control 6011, a summons event may be generated. For another example, referring to fig. 6b, fig. 6b is a schematic page view of another display recall control provided by embodiments of the present application. As shown in fig. 6b, in the session page S602 of the first social session, an identity (e.g. avatar) 6021 of the inviter is displayed, and when the identity 6021 of the inviter is triggered, a data card S603 of the inviter (e.g. user 1) is displayed. The detailed information about the inviter (e.g. user 1) is displayed on the data card S603 of the inviter, and the detailed information about the inviter may include, but is not limited to: age, address, number of days to join the social channel, identity tag (e.g., king) in the social channel, etc. A recall control 6031 is further provided in the data card S603 of the inviter (e.g., user 1), and if the user clicks the recall control 6031, a recall event may be generated.
In one possible implementation, the recall control is provided with a cooling time during which the recall control is in an inoperable state; the call control is operational outside of the cool down time. When the recall control is triggered in an operable state, a recall event is generated. If the target activity is summoned for the first time, the cooling time may refer to a time interval between the interactive invitation event and the summoning event. If the target activity is summoned for the nth time (n is a positive integer greater than or equal to 2), then the cooling time may refer to the time interval between two adjacent summoned events. For example, referring to fig. 6c, fig. 6c is a schematic page diagram of a recall event according to an embodiment of the present application. As shown in page S604 of FIG. 6c, when the summoning control 6041 is triggered in an operational state, a summoning event is generated and then the invitation prompt is again displayed in the session page S605 of the second social session. For another example, referring to fig. 6d, fig. 6d is a schematic page view of another recall event provided in an embodiment of the present application. If the recall control is triggered in the inoperable state, a prompt message 6061 may be displayed in a session page of the first social session, where the prompt message 6061 is used to prompt the user to generate the duration of waiting for the recall event again, for example, the prompt message 6061 may specifically be: "teammates can be called again after 3 minutes. The user needs to wait 3 minutes before generating again a recall event about the target activity and inviting again teammates.
(2) The related background technology comprises the following steps:
the initiation side: the inviter clicks the "play together" invitation control in the first social session to pull up the game list panel (i.e., game selection interface 5021), the inviter clicks an icon to select a target game (e.g., game 1), and pulls up the actionset (i.e., mode selection interface 5031) that initiates the team, wherein the structure and style of the actionset may be preset in the social client in advance. The inviter clicks the initiate team control 5032, invokes the existing service to create a game room in conjunction with the business adaptation layer in fig. 1c, and then invokes the aioinvitationless server of the IM service to send a touch-up message.
The receiving side: upon receipt of the inviting IMMsg in the IM message, the invitee may present an inviting SnakeBar component of the corresponding game for presenting an invite message (e.g., invite message 5071 shown in FIG. 5 c) in a session page of the second social session, the invite message being transmitted from the server. If the invitee clicks the join control, then the invite immsg.target, where target is the scheme corresponding to the game board, may be invoked, and the actions of the game team may be pulled in response to the scheme of the game board (as shown in page S506 of fig. 5 b).
2. The activity type of the target activity is a music activity type:
(1) Message processing flow of the visual page:
referring to fig. 7a, fig. 7a is a schematic diagram of another page for generating an interaction invite event according to an embodiment of the present application. As shown in page S701 in fig. 7a, the user may click (e.g., click, double click, or long press, etc.) on the "listen together" invitation control 7011 in the conversation page of the first social conversation, and then a song selection interface 7021 may be displayed. At least one song is displayed in the song selection interface 7021 (of course, the user may search for a corresponding song according to his own preference). Song selection interface 7021 displays songs such as song 1, song 2, song 3, song 4, and song 5. The user may click on one or more target songs in the song selection interface 7021 and then an interactive invitation event may be generated in response to the target song selected by the user. Next, an invitation message regarding the interactive invitation event may be displayed in a session page of the second social session. The session page of the second social session may be as shown in page S703 shown in fig. 7a, with an invitation message displayed in the session page S703 of the second social session, which may include, but is not limited to: the identity of the inviter (e.g., user 1's avatar), descriptive information of the target activity to which the invitation relates (e.g., the name of the song currently being played (e.g., song 1), content (e.g., XXX)), and the join control.
Next, referring to fig. 7b, fig. 7b is a schematic diagram of a page for responding to an interaction invite event according to an embodiment of the present application. The session page of the second social session may be as shown in page S704 in fig. 7b, with the invite message displayed in the session page S704 of the second social session. The invitee can click on the join control in the invite message and then display the details page of the target activity S705, which displays the list of songs 7051 that can be added to the target activity and listened to with other users. As shown in the detail page S705 of the target activity, five shared song titles, song 1, song 2, song 3, song 4, and song 5, respectively, are displayed in the song list table 7051. Meanwhile, the details page S705 of the interactive invitation event is further provided with an listen-together control 7051, and the invitee can click on the listen-together control 7052 and then add to the target activity. Further, if the detail page of the target activity is set in the social client, displaying the detail page of the target activity may include: a floating window is displayed in a session page of a current social session (e.g., a second social session) of the social channel, and a detail page of the target activity is displayed in the floating window. The display area of the floating window is smaller than or equal to the area of a session page of a current social session (such as a second social session) of the social channel. For example, after the invitee clicks the listen-together control 7052 to join the target activity, the invitee may socially interact with other users in the conversation page of the second social session, and the details page of the target activity may be displayed in the conversation page of the second social session in the form of a floating window 7061.
(2) The related background technology comprises the following steps:
the Song single panel (e.g., song list 7051 shown in fig. 7 a) shows a logic for multi-user hearing, which requires that the server newly adds an IM type (herein, the newly added IM type may be named as Song IM Msg) in the social channel, and the server needs to provide a service for reading Song IM Msg and a service for writing Song IM Msg for the social client, where the service for writing Song IM Msg may be named as Write Song IM Server.
The Song IM Msg structure is Array < User Info > (may be represented as a User information Array), and the specific structure included in the Song IM Msg structure may be:
avatar: a user head portrait;
nick: a user nickname;
channel Id: social channel id where invitees are located;
room Id: sub-channel id of social channel in which invitee is located;
the initiation side: the inviter clicks on the "listen together" invitation control in the first social session to pull up the song single panel (e.g., song list 7051 shown in fig. 7 a), and the server may itself invoke the existing service to obtain the songs (e.g., song 1, song 2, song 3, song 4, and song 5) included in the song list 7051. The invitee may obtain the Song list table 7051 through the Song IMMsg service in the IM message.
The receiving side: after the invitee receives the solicitation IMMsg in the IM message, it may expose Invitation Snake Bar components corresponding to the music. The inviting snakebar component is configured to present an invite message (e.g., invite message 7031 shown in fig. 7 a) in a session page of the second social session, where the invite message is transmitted from the server. If the invitee clicks the add control, the invitee can call up the inviting immsg.target to pull up the Song single panel, determine the invitee as a component of the Song IMMsg service, call Write Song IM Server service, and write the login state (i.e. the head portrait, nickname, etc. of the user) of the invitee into the Song IM Msg service of the IM message.
3. The activity type of the target activity is a document activity type:
(1) Message processing flow of the visual page:
referring to fig. 8a, fig. 8a is a schematic diagram of another page for generating an interaction invite event according to an embodiment of the present application. As shown in page S801 in fig. 8a, a user may click (e.g., click, double click, or long press, etc.) on "write together" invitation control 8011 in a conversation page of a first social conversation, and may then generate an interactive invitation event. According to the above description, the invitation message corresponding to the interaction invitation event may be transmitted to the session page of the second social session in the social channel for display. For example, as shown in page S802 in fig. 8a, an invitation message 8021 may be displayed in a session page S802 of the second social session. The invite message 8021 may specifically include, but is not limited to: the identity of the inviter (e.g., the avatar of user 1), descriptive information of the target activity involved in the invitation (e.g., the name of the document (e.g., the Cos activity volunteer entry)), and the joining control (e.g., the filling control).
Next, referring to fig. 8b, fig. 8b is a schematic diagram of another page responding to an interactive invitation event according to an embodiment of the present application. The session page of the second social session may be as shown in page S803 in fig. 8b, with the invite message displayed in session page S804 of the second social session. The invitee may click on a join control (e.g., fill control 8031) in the invite message and then display a detail page of the target activity S804. Further, if the detail page of the target activity is set in the social client, displaying the detail page of the target activity may include: a floating window is displayed in a session page of a current social session (e.g., a second social session) of the social channel, and a detail page of the target activity is displayed in the floating window. The display area of the floating window is smaller than or equal to the area of a session page of a current social session (such as a second social session) of the social channel. For example, after the invitee clicks the fill-out control 8031 to join the target activity, the invitee may edit the document in a session page S804 of the second social session, where a floating window is displayed in the page S804, a document editing area 8041 is displayed in the floating window, the user may edit the document in the document editing area 8041 (such as a document tap, an activity registration, etc.), for example, description information about the Cos activity volunteer registration activity (i.e., the target activity) is displayed in the document editing area 8041 as shown in the page S805, and for example, the description information may specifically be: "the weekend world Cosplay active volunteers collect the volunteers in channels-the most fun and welfare, and the like, can also know the beautiful Miss Cogo and cos Dalao synops loving. Parents who want to sign volunteers connect Dragon's to' below. Next, the user may complete the document tap, for example, input to "nikunnik" in the document editing area 8041, that is, the document tap may be completed.
(2) The related background technology comprises the following steps:
the initiation side: the inviter clicks "write together" in the first social session to invite the control to invoke the document collaboration service of the server, and then the server passes through the document id and invokes the aioinvitationessageserver service to share the touchdown message into the specified social session (e.g., the second social session).
The receiving side: after the invitee receives the inviting immsg in the IM message, the inviting snakebar component of the corresponding document may be exposed. The inviting snakebar component is configured to present an invite message (e.g., invite message 8021 shown in fig. 8 a) in a session page of the second social session, where the invite message is transmitted from the server. If the invitee clicks the add control (e.g., fill control 8031 shown in fig. 8 b), the inviter may call up the inviting immsg.target to execute the corresponding schema, and pull up the text box collaboration editing area (e.g., document editing area 8041 shown in fig. 8 b) based on the document id.
4. The activity type of the target activity is an electronic resource allocation activity type:
(1) Message processing flow of the visual page:
referring to fig. 9a, fig. 9a is a schematic diagram of another page for generating an interaction invite event according to an embodiment of the present application. As shown in page S901 in fig. 9a, a user may click (e.g., single click, double click, or long press, etc.) on the "red pack" invitation control 9011 in the conversation page of the first social conversation, and then may generate an interactive invitation event. Responding to the interaction invitation event, displaying a configuration page, wherein the configuration page comprises an invitation range option; the invitation scope option provides a selection list, wherein the selection list comprises the identification of at least one social session except the first social session in the social channel and the identification of at least one user in the social channel; responsive to a selection operation of the identification of the social session in the selection list, determining the selected social session as an alternative social session; responsive to a selection operation of the identification of the user in the selection list, determining a corresponding social session between the inviter and the selected user as an alternative social session; the second social session refers to any of the alternative social sessions. According to the foregoing description of the schematic diagram of the configuration page shown in fig. 3c, the inviter may set the invitation range of the target activity, which is not described herein. As shown in the invitation option 9021 in fig. 9a, assuming that the invitation scope set by the inviter is all sub-channels, the user in all sub-channels in the social channel in which the representative inviter is located may participate in this target activity (i.e., the robbery package activity). Then, the invitation message corresponding to the interaction invitation event can be transmitted to a session page of the second social session in the social channel for display. For example, as shown in page S903 in fig. 9a, an invitation message 9031 may be displayed in the session page S903 of the second social session. The invite message 9031 may specifically include, but is not limited to: the identity of the inviter (e.g., the avatar of user 1), descriptive information of the target activity involved in the invitation (e.g., the name of the package cover (e.g., the most expensive ticket)), and a join control (e.g., the robbery package control).
Next, referring to fig. 9b, fig. 9b is a schematic diagram of another page responding to an interactive invitation event according to an embodiment of the present application. The session page of the second social session may be as shown in page S904 in fig. 9b, with the invite message displayed in the session page S904 of the second social session. The invitee may click on a join control in the invite message (e.g., the robbery package control 9041) and then display a detail page of the target activity S905. Further, if the detail page of the target activity is set in the social client, displaying the detail page of the target activity may include: a floating window is displayed in a session page of a current social session (e.g., a second social session) of the social channel, and a detail page of the target activity is displayed in the floating window. The display area of the floating window is smaller than or equal to the area of a session page of a current social session (such as a second social session) of the social channel. The detail page S905 of the target activity is provided with an open control, for example, the invitee may participate in the robbery activity by clicking the open control.
(2) The related background technology comprises the following steps:
the initiation side: the inviter clicks a 'red package' invitation control in the first social session to call related services of the red package business process existing in the social client, and after the inviter clicks to send the red package. The server side transparently transmits the red packet id and invokes the aioinvitationessageserver service to share the touch message into a designated channel (e.g., a second social session).
The receiving side: upon receipt of the inviting immsg in the IM message, the invitee may present a corresponding red packet inviting snakebar component, where the Invitation Snake Bar component is configured to present an invite message (e.g., invite message 9031 shown in fig. 9 a) in a session page of the second social session, where the invite message is transmitted from the server. If the invitee clicks the add control (e.g. the robbery control 9041 shown in fig. 9 b), the social client where the second social session is located may call up the solicitation immsg. Target to execute the corresponding schema, and pop up the robbery float layer according to the red packet id (e.g. 9051 shown in fig. 9 b).
5. The activity type of the target activity is a video activity type:
(1) Message processing flow of the visual page:
referring to fig. 10a, fig. 10a is a schematic diagram of another page for generating an interaction invite event according to an embodiment of the present application. As shown in page S1001 in fig. 10a, assuming the first social session is a live sub-channel, the user may click (e.g., click, double click, or long press, etc.) on the session page of the first social session to "see together" the invitation control 10011 and then display a live configuration page, e.g., the live configuration page may be as shown in page S10021. The inviter may edit the live subject (e.g., entitled "cheering") and the live cover (e.g., the cover is a smiley image) in the live configuration page S1002, and so forth. In addition, the live configuration page S1002 is provided with a sharing control 10022, and if the user clicks the sharing control 10022, an interaction invitation event may be generated.
Next, referring to fig. 10b, fig. 10b is a schematic diagram of another page for generating an interaction invite event according to an embodiment of the present application. In response to an interaction invitation event generated by the user in the session page of the first social session, a live recommendation page S1003 is displayed. A recommendation list 10031 is displayed in the live recommendation page S1003, where the recommendation list 10031 includes at least one social session to be recommended (e.g., a first social session, a second social session, a third social session, etc.). Wherein the system may take a current social session (e.g., a first social session) in which the inviter is located as a first recommendation place. In response to the user selecting a social session (e.g., a second social session) in the recommendation list 10031, an invitation message 10041 is then displayed in a session page of the second social session.
Finally, referring to fig. 10c, fig. 10c is a schematic diagram of another page responding to an interactive invitation event according to an embodiment of the present application. The invitation message displayed in the session page S1005 of the second social session may include, but is not limited to: an identity of the inviter (e.g., a head portrait of user 1), descriptive information of the target activity involved in the invitation (e.g., a live title (e.g., KPL tournament live narrative)), and a joining control (e.g., a viewing control 10051). The invitee may click on the view control 10051 in the invite message and then join the target campaign and display a detail page for the target campaign. If the detail page of the target activity is set in the social client (e.g., the detail page of the target activity is set in any sub-channel in the social channel), a floating window 10061 is displayed in a session page S1006 of the current social session (e.g., the second social session) of the social channel, and the detail page of the target activity is displayed in the floating window 10061, that is, the invitee may watch live content in real time in the floating window 10061 in the session page S1006 of the second social session.
(2) The related background technology comprises the following steps:
the initiation side: the inviter clicks "see together" the invitation control to pull up the sharing panel (as shown in page S1002 of fig. 10 a) in the first social session, and the inviter clicks the sharing control 10022 to trigger the server to respond to the sharing service. The server side transparently transmits the live id and invokes the aioinvitationessageserver service to share the touch message into a specified channel (e.g., a second social session).
The receiving side: after receiving the inviting immsg service in the IM message, the invitee may present an inviting snakebar component corresponding to the live video, where the inviting snakebar component is configured to present an invite message (e.g. invite message 10041 shown in fig. 10 b) in a session page of the second social session, where the invite message is transmitted from the server. If the invitee clicks the join control (e.g., the view control 10051 shown in fig. 10 c), the social client where the second social session is located may call up the inviting immsg.target to enter the corresponding sub-channel (e.g., the second social session), and display the picture-in-picture live container in the session page of the second social session (e.g., the floating window 10061 shown in fig. 10 c).
According to the embodiment of the application, the invitation message is fixedly displayed by supporting the cross-chat window (namely, the interactive invitation in the conversation page of the first social conversation can be displayed in the conversation page of the second social conversation), so that the team requirement of users in the scenes of document collaboration, game team formation, interactive accompanying and the like is met, the exposure of the invitation message is improved, and the invitation efficiency is improved. In addition, the user does not need to leave the current session page after joining the target activity, and can participate in the target activity quickly and conveniently, so that the continuity of chat interaction in the current session page is not affected, and the efficiency of multi-thread social interaction of the user can be flexibly and efficiently improved.
It will be appreciated that in particular embodiments of the present application, data relating to user information in social channels (e.g., head portraits of inviters, nicknames, identities of invitees, etc.) may be relevant, and that when the above embodiments of the present application are applied to particular products or technologies, user permissions or consents may need to be obtained, and the collection, use, and processing of relevant data may need to comply with relevant laws and regulations and standards of relevant countries and regions.
Referring to fig. 11, fig. 11 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present application. The message processing apparatus 1100 may be applied to the corresponding terminal device of fig. 1 a. The message processing apparatus 1100 may be a computer program (including program code) running in a computer device, for example the message processing apparatus 1100 is an application software; the device can be used for executing corresponding steps in the method provided by the embodiment of the application. The message processing apparatus 1100 may include:
a display unit 1101, configured to display a session page of a first social session in a social channel;
a processing unit 1102, configured to respond to an interaction invitation event in a session page of the first social session, and display an invitation message in the session page of the first social session; the method comprises the steps of,
The processing unit 1102 is further configured to display an invitation message in a session page of a second social session of the social channel, where the first social session and the second social session refer to any two social sessions in the exchanged channel.
In one possible implementation manner, an operation panel is arranged in a session page of the first social session, and the operation panel comprises one or more invitation controls; when any one of the invitation controls in the operation panel is triggered, an interactive invitation event is generated.
In one possible implementation manner, an operation area is set in a session page of the first social session; when specific touch operation exists in the operation area, generating an interaction invitation event;
the specific touch operation comprises any one of a single click operation, a double click operation, a gesture operation and a suspension gesture.
In one possible implementation, the processing unit 1102 displays an invite message in a session page of the first social session for performing the following operations:
displaying the invitation message at a fixed location in a session page of the first social session; or alternatively, the process may be performed,
displaying the invitation message in a floating window in a session page of the first social session;
wherein, the fixed position includes: a top location, a bottom location, or any location in a conversation page of the first social conversation.
In one possible implementation, after displaying the invite message in the session page of the second social session of the social channel, the processing unit 1102 is further configured to:
and if the display duration of the invitation message in the session page of the second social session reaches a threshold value, stopping displaying the invitation message in the session page of the second social session.
In one possible implementation, the processing unit 1102 is further configured to perform the following operations:
and displaying duration indicating information in the session page of the second social session, wherein the duration indicating information is used for indicating the remaining display duration of the invitation message displayed in the session page of the second social session.
In one possible implementation, the duration indication information is a progress bar, and the progress bar is arranged in an invitation message displayed in a session page of the second social session; or alternatively, the process may be performed,
the duration indication information is a timing clock, and the timing clock is displayed at any position in a session page of the second social session.
In one possible implementation, the invite message includes at least one of the following information: the identity of the inviter, descriptive information of the target activity involved in the invitation, the joining control, and user information that has joined to the target activity;
The invitee adds into the target activity through an adding control; the descriptive information of the target activity includes at least one of: the type of activity of the target activity, the total number of users participating in the target activity, the number of users who have joined the target activity, the real-time status of the target activity;
the activity type of the target activity includes any one of the following: game activity type, music activity type, video activity type, electronic resource allocation activity type, document activity type.
In one possible implementation, the invitation message carries a link to a details page of the target activity; the processing unit 1102 is further configured to perform the following operations:
displaying a detail page of the target activity when the invite message is triggered;
the detail page of the target activity is arranged in a social client to which the social channel belongs, or the detail page of the target activity is arranged in an application program outside the social client to which the social channel belongs;
the detail page of the target activity is arranged in the social client to which the social channel belongs, and comprises any one of the following steps: the detail page of the target activity is arranged in the social channel, the detail page of the target activity is arranged in any sub-channel in the social channel, and the detail page of the target activity is arranged in other social channels except the social channel in the social client.
In one possible implementation, if the detail page of the target activity is provided in the social client, the processing unit 1102 displays the detail page of the target activity, for performing the following operations:
displaying a floating window in a session page of a current social session of the social channel, and displaying a detail page of the target activity in the floating window;
the display area of the floating window is smaller than or equal to the area of a session page of the current social session of the social channel; the current social session of the social channel includes a first social session or a second social session.
In one possible implementation, if the detail page of the target activity is set in an application program other than the social client to which the social channel belongs, the processing unit 1102 displays the detail page of the target activity, and is configured to perform the following operations:
and jumping from a session page of the current social session of the social channel to the application program, and displaying a detail page of the target activity in the application program.
In one possible implementation, the processing unit 1102 is further configured to perform the following operations:
in response to the summoning event for the invite message, the invite message is again displayed in a session page of the second social session.
In one possible implementation, a recall control is arranged in a session page of the first social session, and when the recall control is triggered, a recall event is generated;
The summoning control is arranged in an invitation message displayed in a session page of the first social session; or alternatively, the process may be performed,
the recruitment control is arranged in the data card of the inviter, and when the identity of the inviter in the first social session is triggered, the data card of the inviter is displayed.
In one possible implementation, the recall control is provided with a cooling time during which the recall control is in an inoperable state; calling the control to be in an operable state outside the cooling time;
when the recall control is triggered in an operable state, a recall event is generated.
In one possible implementation, the second social session refers to any one of the social sessions within the social channel other than the first social session; or alternatively, the process may be performed,
the second social session refers to any one of the social sessions selected within the social channel.
In one possible implementation, the second social session refers to any one of the social sessions selected within the social channel; the processing unit 1102 is further configured to perform the following operations:
responding to an interaction invitation event in a session page of a first social session, displaying a configuration page, wherein the configuration page comprises an invitation range option; the invitation scope option provides a selection list, wherein the selection list comprises the identification of at least one social session except the first social session in the social channel and the identification of at least one user in the social channel;
Responsive to a selection operation of the identification of the social session in the selection list, determining the selected social session as an alternative social session; or alternatively, the process may be performed,
responsive to a selection operation of the identification of the user in the selection list, determining a corresponding social session between the inviter and the selected user as an alternative social session;
the second social session refers to any one of the alternative social sessions; the social session includes: social sessions corresponding to any one of the sub-channels in the social channel, social sessions corresponding to any one of the identity groups in the social channel, and social sessions engaged by the inviter in the social channel.
In the embodiment of the application, a conversation page of a first social conversation in a social channel can be displayed; when an interaction scene requirement exists in the first social session to generate an interaction invitation event, an invitation message can be displayed in a session page of the first social session in response to the interaction invitation event, and the invitation message is also displayed in a session page of a second social session of a social channel; the first social session and the second social session refer to any two social sessions in a social channel. According to the above-described scheme, the method and the device achieve the purpose of sending interactive invitations to all members participating in the first social session by displaying the invitation message in the session page of the first social session; in addition, the invitation message can be displayed in a session page of other social sessions (such as a second social session) in the social channel, and the purpose of sending interaction invitations to all members participating in the second social session is achieved. Through the mechanism of transmitting the interaction invitation among different social sessions, a user only needs to send the interaction invitation in any social session in the social channels, and the interaction invitation can break through the range limit of a single social session and be transmitted to other social sessions, so that the flow of the interaction invitation is simplified, the range of the interaction invitation is enlarged, more users can be attracted to respond to the interaction invitation, and the efficiency of the interaction invitation is improved.
Referring to fig. 12, fig. 12 is a schematic structural diagram of another message processing apparatus according to an embodiment of the present application. The message processing apparatus 1200 may be applied to the corresponding server of fig. 1 a. The message processing apparatus 1200 may be a computer program (including program code) running in a computer device, for example the message processing apparatus 1200 is an application software; the device can be used for executing corresponding steps in the method provided by the embodiment of the application. The message processing apparatus 1200 may include:
a receiving unit 1201, configured to receive an invitation request sent by a social client; the invitation request is sent by the social client when there is an interactive invitation event within a session page of a first social session in a social channel in the social client;
the processing unit 1202 is configured to generate an invitation message and send the invitation message to the social client, where the invitation message is used to indicate that the invitation message is displayed in a session page of a first social session and in a session page of a second social session in a social channel.
In one possible implementation, the invite request is received through a service adaptation layer; message transparent detection logic is arranged in the service adaptation layer; the processing unit 1202 is further configured to perform the following operations:
Detecting whether the invitation request meets the message passing condition according to the message passing detection logic in the service adaptation layer;
if so, executing the generation of the invitation message.
In one possible implementation, the processing unit 1202 sends the invitation message to the social client for performing the following:
and calling a message passing display service interface and sending the invitation message to the social client.
In the embodiment of the application, a conversation page of a first social conversation in a social channel can be displayed; when an interaction scene requirement exists in the first social session to generate an interaction invitation event, an invitation message can be displayed in a session page of the first social session in response to the interaction invitation event, and the invitation message is also displayed in a session page of a second social session of a social channel; the first social session and the second social session refer to any two social sessions in a social channel. According to the above-described scheme, the method and the device achieve the purpose of sending interactive invitations to all members participating in the first social session by displaying the invitation message in the session page of the first social session; in addition, the invitation message can be displayed in a session page of other social sessions (such as a second social session) in the social channel, and the purpose of sending interaction invitations to all members participating in the second social session is achieved. Through the mechanism of transmitting the interaction invitation among different social sessions, a user only needs to send the interaction invitation in any social session in the social channels, and the interaction invitation can break through the range limit of a single social session and be transmitted to other social sessions, so that the flow of the interaction invitation is simplified, the range of the interaction invitation is enlarged, more users can be attracted to respond to the interaction invitation, and the efficiency of the interaction invitation is improved.
Referring to fig. 13, fig. 13 is a schematic structural diagram of a computer device according to an embodiment of the present application. Fig. 13 is a schematic structural diagram of a computer device according to an embodiment of the present application. The computer device 1300 is configured to perform the steps performed by the computer device in the foregoing method embodiment, where the computer device 1300 includes: one or more processors 1310; one or more input devices 1320, one or more output devices 1330, and a memory 1340. The processor 1310, input device 1320, output device 1330, and memory 1340 are connected by a bus 1350. The memory 1340 is used to store a computer program comprising program instructions that the processor 1310 uses to invoke the program instructions stored in the memory 1340 to:
displaying a session page of a first social session in the social channel;
responding to the interaction invitation event in the conversation page of the first social conversation, and displaying an invitation message in the conversation page of the first social conversation; the method comprises the steps of,
and displaying the invitation message in a conversation page of a second social conversation of the social channels, wherein the first social conversation and the second social conversation refer to any two social conversations in the communicated channels.
In one possible implementation manner, an operation panel is arranged in a session page of the first social session, and the operation panel comprises one or more invitation controls; when any one of the invitation controls in the operation panel is triggered, an interactive invitation event is generated.
In one possible implementation manner, an operation area is set in a session page of the first social session; when specific touch operation exists in the operation area, generating an interaction invitation event;
the specific touch operation comprises any one of a single click operation, a double click operation, a gesture operation and a suspension gesture.
In one possible implementation, the processor 1310 displays an invite message in a session page of the first social session for performing the following operations:
displaying the invitation message at a fixed location in a session page of the first social session; or alternatively, the process may be performed,
displaying the invitation message in a floating window in a session page of the first social session;
wherein, the fixed position includes: a top location, a bottom location, or any location in a conversation page of the first social conversation.
In one possible implementation, after displaying the invite message in the session page of the second social session of the social channel, the processor 1310 is further configured to:
And if the display duration of the invitation message in the session page of the second social session reaches a threshold value, stopping displaying the invitation message in the session page of the second social session.
In one possible implementation, the processor 1310 is further configured to:
and displaying duration indicating information in the session page of the second social session, wherein the duration indicating information is used for indicating the remaining display duration of the invitation message displayed in the session page of the second social session.
In one possible implementation, the duration indication information is a progress bar, and the progress bar is arranged in an invitation message displayed in a session page of the second social session; or alternatively, the process may be performed,
the duration indication information is a timing clock, and the timing clock is displayed at any position in a session page of the second social session.
In one possible implementation, the invite message includes at least one of the following information: the identity of the inviter, descriptive information of the target activity involved in the invitation, the joining control, and user information that has joined to the target activity;
the invitee adds into the target activity through an adding control; the descriptive information of the target activity includes at least one of: the type of activity of the target activity, the total number of users participating in the target activity, the number of users who have joined the target activity, the real-time status of the target activity;
The activity type of the target activity includes any one of the following: game activity type, music activity type, video activity type, electronic resource allocation activity type, document activity type.
In one possible implementation, the invitation message carries a link to a details page of the target activity; the processor 1310 is also configured to perform the following operations:
displaying a detail page of the target activity when the invite message is triggered;
the detail page of the target activity is arranged in a social client to which the social channel belongs, or the detail page of the target activity is arranged in an application program outside the social client to which the social channel belongs;
the detail page of the target activity is arranged in the social client to which the social channel belongs, and comprises any one of the following steps: the detail page of the target activity is arranged in the social channel, the detail page of the target activity is arranged in any sub-channel in the social channel, and the detail page of the target activity is arranged in other social channels except the social channel in the social client.
In one possible implementation, if the details page of the target activity is located in the social client, the processor 1310 displays the details page of the target activity for performing the following operations:
Displaying a floating window in a session page of a current social session of the social channel, and displaying a detail page of the target activity in the floating window;
the display area of the floating window is smaller than or equal to the area of a session page of the current social session of the social channel; the current social session of the social channel includes a first social session or a second social session.
In one possible implementation, if the details page of the target activity is provided in an application program other than the social client to which the social channel belongs, the processor 1310 displays the details page of the target activity for performing the following operations:
and jumping from a session page of the current social session of the social channel to the application program, and displaying a detail page of the target activity in the application program.
In one possible implementation, the processor 1310 is further configured to:
in response to the summoning event for the invite message, the invite message is again displayed in a session page of the second social session.
In one possible implementation, a recall control is arranged in a session page of the first social session, and when the recall control is triggered, a recall event is generated;
the summoning control is arranged in an invitation message displayed in a session page of the first social session; or alternatively, the process may be performed,
The recruitment control is arranged in the data card of the inviter, and when the identity of the inviter in the first social session is triggered, the data card of the inviter is displayed.
In one possible implementation, the recall control is provided with a cooling time during which the recall control is in an inoperable state; calling the control to be in an operable state outside the cooling time;
when the recall control is triggered in an operable state, a recall event is generated.
In one possible implementation, the second social session refers to any one of the social sessions within the social channel other than the first social session; or alternatively, the process may be performed,
the second social session refers to any one of the social sessions selected within the social channel.
In one possible implementation, the second social session refers to any one of the social sessions selected within the social channel; the processor 1310 is also configured to perform the following operations:
responding to an interaction invitation event in a session page of a first social session, displaying a configuration page, wherein the configuration page comprises an invitation range option; the invitation scope option provides a selection list, wherein the selection list comprises the identification of at least one social session except the first social session in the social channel and the identification of at least one user in the social channel;
Responsive to a selection operation of the identification of the social session in the selection list, determining the selected social session as an alternative social session; or alternatively, the process may be performed,
responsive to a selection operation of the identification of the user in the selection list, determining a corresponding social session between the inviter and the selected user as an alternative social session;
the second social session refers to any one of the alternative social sessions; the social session includes: social sessions corresponding to any one of the sub-channels in the social channel, social sessions corresponding to any one of the identity groups in the social channel, and social sessions engaged by the inviter in the social channel.
It will be appreciated that the processor 1310 is operative to invoke the program instructions stored in the memory 1340, and is also operative to perform the operations of:
receiving an invitation request sent by a social client; the invitation request is sent by the social client when there is an interactive invitation event within a session page of a first social session in a social channel in the social client;
and generating an invitation message and sending the invitation message to the social client, wherein the invitation message is used for indicating to display the invitation message in a session page of the first social session and a session page of the second social session in the social channel.
In one possible implementation, the invite request is received through a service adaptation layer; message transparent detection logic is arranged in the service adaptation layer; the processor 1310 is also configured to perform the following operations:
detecting whether the invitation request meets the message passing condition according to the message passing detection logic in the service adaptation layer;
if so, executing the generation of the invitation message.
In one possible implementation, the processor 1310 sends an invite message to the social client for performing the following:
and calling a message passing display service interface and sending the invitation message to the social client.
In the embodiment of the application, a conversation page of a first social conversation in a social channel can be displayed; when an interaction scene requirement exists in the first social session to generate an interaction invitation event, an invitation message can be displayed in a session page of the first social session in response to the interaction invitation event, and the invitation message is also displayed in a session page of a second social session of a social channel; the first social session and the second social session refer to any two social sessions in a social channel. According to the above-described scheme, the method and the device achieve the purpose of sending interactive invitations to all members participating in the first social session by displaying the invitation message in the session page of the first social session; in addition, the invitation message can be displayed in a session page of other social sessions (such as a second social session) in the social channel, and the purpose of sending interaction invitations to all members participating in the second social session is achieved. Through the mechanism of transmitting the interaction invitation among different social sessions, a user only needs to send the interaction invitation in any social session in the social channels, and the interaction invitation can break through the range limit of a single social session and be transmitted to other social sessions, so that the flow of the interaction invitation is simplified, the range of the interaction invitation is enlarged, more users can be attracted to respond to the interaction invitation, and the efficiency of the interaction invitation is improved.
Furthermore, it should be noted here that: the embodiment of the present application further provides a computer storage medium, and the computer storage medium stores a computer program, where the computer program includes program instructions, when executed by a processor, can perform the method in the corresponding embodiment, and therefore, a detailed description will not be given here. For technical details not disclosed in the embodiments of the computer storage medium related to the present application, please refer to the description of the method embodiments of the present application. As an example, the program instructions may be deployed on one computer device or executed on multiple computer devices at one site or distributed across multiple sites and interconnected by a communication network.
According to one aspect of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device can perform the method in the foregoing corresponding embodiment, and therefore, a detailed description will not be given here.
Those skilled in the art will appreciate that implementing all or part of the above-described embodiment methods may be accomplished by way of a computer program for instructing relevant hardware, where the program may be stored on a computer readable storage medium, and where the program, when executed, may comprise the embodiment flow of the above-described methods. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random-access Memory (Random Access Memory, RAM), or the like.
The foregoing disclosure is only illustrative of the preferred embodiments of the present application and is not intended to limit the scope of the claims herein, as the equivalent of the claims herein shall be construed to fall within the scope of the claims herein.

Claims (24)

1. A method of message processing comprising:
displaying a session page of a first social session in the social channel;
responding to an interaction invitation event in a session page of the first social session, and displaying an invitation message in the session page of the first social session; the method comprises the steps of,
and displaying the invitation message in a session page of a second social session of the social channel, wherein the first social session and the second social session refer to any two social sessions in the social channel.
2. The method of claim 1, wherein an operation panel is provided in a session page of the first social session, and the operation panel comprises one or more invitation controls; and when any one of the invitation controls in the operation panel is triggered, generating the interaction invitation event.
3. The method of claim 1, wherein an operation area is provided in a session page of the first social session; when a specific touch operation exists in the operation area, generating the interaction invitation event;
the specific touch operation comprises any one of a single click operation, a double click operation, a gesture operation and a suspension gesture.
4. The method of claim 1, wherein the displaying the invite message in the session page of the first social session comprises:
displaying the invitation message at a fixed location in a session page of the first social session; or alternatively, the process may be performed,
displaying the invitation message in a floating window in a session page of the first social session;
wherein the fixed position comprises: a top location, a bottom location, or any location in a conversation page of the first social session.
5. The method of claim 1, wherein after displaying the invite message in a session page of a second social session of the social channel, further comprising:
and stopping displaying the invitation message in the session page of the second social session if the display duration of the invitation message in the session page of the second social session reaches a threshold value.
6. The method of claim 5, wherein the method further comprises:
and displaying duration indicating information in a session page of the second social session, wherein the duration indicating information is used for indicating the remaining display duration of the invitation message displayed in the session page of the second social session.
7. The method of claim 6, wherein the duration indication information is a progress bar provided in the invitation message displayed in a session page of the second social session; or alternatively, the process may be performed,
the duration indication information is a timing clock, and the timing clock is displayed at any position in a session page of the second social session.
8. The method of claim 1, wherein the invite message includes at least one of: the identification of the inviter, the description information of the target activity involved in the invitation, the joining control, and the user information that has joined to the target activity;
The invitee adds into the target activity through the adding control; the description information of the target activity comprises at least one of the following: the method comprises the steps of determining the type of an activity of a target activity, the total number of users participating in the target activity, the number of users added to the target activity and the real-time state of the target activity;
the activity type of the target activity includes any one of the following: game activity type, music activity type, video activity type, electronic resource allocation activity type, document activity type.
9. The method of claim 1, wherein the invitation message carries a link to a details page of a target activity; the method further comprises the steps of:
displaying a detail page of the target activity when the invite message is triggered;
the detail page of the target activity is arranged in a social client to which the social channel belongs, or the detail page of the target activity is arranged in an application program outside the social client to which the social channel belongs;
the detail page of the target activity is arranged in a social client to which the social channel belongs, and comprises any one of the following steps: the detail page of the target activity is arranged in the social channel, the detail page of the target activity is arranged in any sub-channel in the social channel, and the detail page of the target activity is arranged in other social channels except the social channel in the social client.
10. The method of claim 9, wherein displaying the details of the target activity if the details of the target activity are provided within the social client comprises:
displaying a floating window in a session page of a current social session of the social channel, and displaying a detail page of the target activity in the floating window;
the display area of the floating window is smaller than or equal to the area of a session page of the current social session of the social channel; the current social session of the social channel includes the first social session or the second social session.
11. The method of claim 9, wherein displaying the details page of the target activity if the details page of the target activity is located in an application other than the social client to which the social channel belongs comprises:
and jumping from a session page of the current social session of the social channel to the application program, and displaying a detail page of the target activity in the application program.
12. The method of claim 1, wherein the method further comprises:
responsive to a summoning event for the invite message, the invite message is again displayed in a session page of the second social session.
13. The method of claim 12, wherein a recall control is provided in a session page of the first social session, the recall event being generated when the recall control is triggered;
the summoning control is arranged in an invitation message displayed in a session page of the first social session; or alternatively, the process may be performed,
the summoning control is arranged in a data card of the inviter, and when the identity of the inviter in the first social session is triggered, the data card of the inviter is displayed.
14. The method of claim 13, wherein the recall control is provided with a cooling time during which the recall control is in an inoperable state; the recall control is in an operable state outside the cooling time;
and when the summoning control is triggered in an operable state, generating the summoning event.
15. The method of claim 1, wherein the second social session is any one of the social sessions within the social channel other than the first social session; or alternatively, the process may be performed,
the second social session refers to any one of the selected social sessions within the social channel.
16. The method of claim 15, wherein the second social session is any one of the social sessions selected within the social channel; the method further comprises the steps of:
Responding to an interaction invitation event in a session page of the first social session, and displaying a configuration page, wherein the configuration page comprises an invitation range option; the invitation scope option provides a selection list, wherein the selection list comprises the identification of at least one social session except the first social session in the social channel and the identification of at least one user in the social channel;
responsive to a selection operation of an identification of a social session in the selection list, determining the selected social session as an alternative social session; or alternatively, the process may be performed,
responsive to a selection operation of an identification of a user in the selection list, determining a corresponding social session between an inviter and the selected user as an alternative social session;
the second social session refers to any one of the alternative social sessions; the social session includes: and the social channel comprises a social session corresponding to any sub-channel in the social channel, a social session corresponding to any identity group in the social channel, and a social session participated by the inviter in the social channel.
17. A method of message processing comprising:
receiving an invitation request sent by a social client; the invitation request is sent by the social client when an interaction invitation event exists in a session page of a first social session in a social channel in the social client;
And generating an invitation message and sending the invitation message to the social client, wherein the invitation message is used for indicating to display the invitation message in a session page of a first social session and a session page of a second social session in the social channel.
18. The method of claim 17, wherein the invite request is received through a traffic adaptation layer; message transmission detection logic is arranged in the service adaptation layer; the method further comprises the steps of:
detecting whether the invitation request meets a message passing condition according to the message passing detection logic in the service adaptation layer;
if so, executing the generation of the invitation message.
19. The method of claim 17 or 18, wherein the sending the invite message to the social client comprises:
and calling a message transparent display service interface and sending the invitation message to the social client.
20. A message processing apparatus, comprising:
the display unit is used for displaying a conversation page of a first social conversation in the social channel;
a processing unit, configured to respond to an interaction invitation event in a session page of the first social session, and display an invitation message in the session page of the first social session; the method comprises the steps of,
The processing unit is further configured to display the invitation message in a session page of a second social session of the social channel, where the first social session and the second social session refer to any two social sessions in the social channel.
21. A message processing apparatus, comprising:
the receiving unit is used for receiving the invitation request sent by the social client; the invitation request is sent by the social client when an interaction invitation event exists in a session page of a first social session in a social channel in the social client;
and the processing unit is used for generating an invitation message and sending the invitation message to the social client, wherein the invitation message is used for indicating to display the invitation message in a session page of a first social session and a session page of a second social session in the social channel.
22. A computer device, comprising: a memory device and a processor;
a memory in which one or more computer programs are stored;
a processor for loading the one or more computer programs to implement the message processing method of any of claims 1-16 or claims 17-19.
23. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program adapted to be loaded by a processor and to perform a message processing method according to any of claims 1-16 or 17-19.
24. A computer program product, characterized in that the computer program product comprises a computer program adapted to be loaded by a processor and to perform the message processing method according to any of claims 1-16 or claims 17-19.
CN202111410382.1A 2021-11-24 2021-11-24 Message processing method and related product Pending CN116170402A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111410382.1A CN116170402A (en) 2021-11-24 2021-11-24 Message processing method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111410382.1A CN116170402A (en) 2021-11-24 2021-11-24 Message processing method and related product

Publications (1)

Publication Number Publication Date
CN116170402A true CN116170402A (en) 2023-05-26

Family

ID=86420563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111410382.1A Pending CN116170402A (en) 2021-11-24 2021-11-24 Message processing method and related product

Country Status (1)

Country Link
CN (1) CN116170402A (en)

Similar Documents

Publication Publication Date Title
US20210349604A1 (en) Shared Virtual Area Communication Environment Based Apparatus and Methods
CN108184144B (en) Live broadcast method and device, storage medium and electronic equipment
US9787487B2 (en) Facilitating media streaming with social interaction
US9246917B2 (en) Live representation of users within online systems
US8892629B2 (en) System and method for displaying a virtual meeting room
CN112312153B (en) Live broadcast interaction realization method and computer readable storage medium
KR101642550B1 (en) Network system and method of operation thereof
CN113727130B (en) Message prompting method, system and device for live broadcasting room and computer equipment
CN112672179B (en) Method, device and equipment for live game
CN106576126B (en) Audio chat management equipment and method
CN114237840A (en) Resource interaction method, device, terminal and storage medium
CN114666671B (en) Live broadcast praise interaction method, device, equipment and storage medium
CN112073740A (en) Information display method, device, server and storage medium
US20110282721A1 (en) Systems and methods for providing functional advertisements
CN114449301B (en) Item sending method, item sending device, electronic equipment and computer-readable storage medium
CN114760531B (en) Team interaction method, device, system, equipment and storage medium for live broadcasting room
KR101403783B1 (en) Virtual space providing system for distinct step of application execution
CN116170402A (en) Message processing method and related product
CN104378278B (en) The method and system of micro- communication audio broadcasting are carried out in mobile terminal
CN112114920A (en) Multimedia resource display method and device
WO2015081914A1 (en) Network media information delivery and control method, device, and relevant system
CN116503039A (en) Content release method and device
CN116192785A (en) Data processing method, device, equipment and computer readable storage medium
CN106888388A (en) A kind of net cast interaction automatic identifying method and system
CN116192788A (en) Information processing method, device, equipment, medium and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40086803

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination