Message forwarding method and device, computer device and storage medium

CN117544590BActive Publication Date: 2026-09-25TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210917999.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-01
Publication Date
2026-09-25
Estimated Expiration
2042-08-01

AI Technical Summary

Technical Problem

但目前向他人转发会话消息的时,可对会话消息进行任意转发,从而使得转发不受限制,导致会话消息中的消息内容容易被泄露,进而降低会话消息转发的安全性

Benefits of technology

[0051]第四方面,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现本申请实施例提供的任一种消息转发步骤。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117544590B_ABST
    Figure CN117544590B_ABST
Patent Text Reader

Abstract

The application relates to a message forwarding method and device, computer equipment, a storage medium and a computer program product. The method comprises the following steps: displaying an initial message card of a session message; in the case that the session message belongs to a service type configured to support message forwarding, determining a forwarding receiver of the session message in response to a forwarding event for the initial message card; displaying a forwarding preview card of the session message; the forwarding preview card comprises initial message content of the session message; triggering the sending of the session message to the forwarding receiver in response to a preview confirmation event for the forwarding preview card; the forwarded session message is used for distinguishing and displaying one of the initial message content or target message content according to the identity category of the forwarding receiver when the message card is displayed; wherein the initial message content filters at least one of sensitive information and target interaction controls relative to the target message content. The method can improve the security of message forwarding.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a message forwarding method, apparatus, computer device, and storage medium. Background Technology

[0002] With the development of internet technology, communication applications are widely used by users. Users of communication applications can use them to interact with information, such as instant messaging, sharing content, publishing media resources, and even shopping.

[0003] Users can forward various types of content to other users via messaging apps in the form of conversational messages, such as message cards, text, emoticons, links, and videos. However, currently, when forwarding conversational messages, they can be forwarded arbitrarily, making forwarding unrestricted. This leads to the easy leakage of message content and reduces the security of conversational message forwarding. Summary of the Invention

[0004] Therefore, it is necessary to provide a message forwarding method, apparatus, computer device, computer-readable storage medium, and computer program product that can improve forwarding security in response to the above-mentioned technical problems.

[0005] Firstly, this application provides a message forwarding method, the method comprising:

[0006] Display the initial message card for the session;

[0007] If the session message belongs to a service type configured to support message forwarding, the forwarding recipient of the session message is determined in response to a forwarding event for the initial message card.

[0008] Displays a forwarding preview card of the session message; the forwarding preview card includes the initial message content of the session message;

[0009] In response to the preview confirmation event of the forwarding preview card, the session message is sent to the forwarding recipient; the forwarded session message is used to distinguish and display either the initial message content or the target message content according to the identity category of the forwarding recipient when displayed as a message card;

[0010] The initial message content is filtered relative to the target message content, removing at least one of sensitive information and target interactive controls.

[0011] In one embodiment, the initial message content is either default message content or original message content; the step of triggering the sending of the session message to the forwarding recipient in response to the preview confirmation event of the forwarding preview card includes:

[0012] In response to a preview confirmation event for the forwarding preview card, the initial message data of the session message is obtained, and the message data of the session message is generated based on the initial message data;

[0013] Trigger the forwarding of the message data to the terminal of the forwarding recipient;

[0014] Wherein, when the service type of the session message is configured to distinguish identity display, the sent message data is used to trigger the terminal of the forwarding receiver to draw a message card including the default message content of the session message, and when the forwarding receiver belongs to the target identity category pre-configured for the service type, the default message content in the message card is updated to the target message content;

[0015] When the service type of the session message is configured to display without distinguishing identity, the sent message data is used to trigger the terminal of the forwarding recipient to draw a message card including the original message content of the session message.

[0016] In one embodiment, generating the message data of the session message based on the initial message data includes:

[0017] When the service type of the session message is configured to be displayed with distinguished identity, the default content data in the initial message data is replaced with the original content data in the initial message data to obtain the message data of the session message;

[0018] When the service type of the session message is configured to display without distinguishing identity, the initial message data is used as the message data of the session message.

[0019] Secondly, this application also provides a message forwarding device, the device comprising:

[0020] The receiver confirmation module is used to display the initial message card of the session message; when the session message belongs to a service type configured to support message forwarding, it determines the forwarding receiver of the session message in response to a forwarding event for the initial message card.

[0021] A preview module is used to display a forwarding preview card of the session message; the forwarding preview card includes the initial message content of the session message;

[0022] A forwarding response module is used to trigger the sending of the session message to the forwarding recipient in response to a preview confirmation event of the forwarding preview card; the forwarded session message is used to distinguish between the initial message content and the target message content when displayed as a message card, according to the identity category of the forwarding recipient; wherein, the initial message content is filtered relative to the target message content to at least one of sensitive information and target interactive controls.

[0023] In one embodiment, the receiver confirmation module is further configured to, in response to a trigger operation for displaying a set of operation options for the initial message card, display a set of operation options with forwarding options when the service type of the session message is configured to support message forwarding; and, in response to a selection operation for the forwarding option in the set of operation options, determine the forwarding receiver of the session message.

[0024] In one embodiment, the receiver confirmation module is further configured to, in response to a trigger operation for displaying a set of operation options for the initial message card, obtain the initial message data corresponding to the initial message card; determine whether the initial message data includes a forwarding identifier; and, if the initial message data includes a forwarding identifier, determine that the service type of the session message is configured to support message forwarding and display a set of operation options with forwarding options.

[0025] In one embodiment, the initial message card of the session message is displayed on the session interface; the session interface displays multiple initial message cards; the message forwarding device is further configured to, in response to a selection operation on the multiple initial message cards in the session interface, display multiple candidate initial message cards selected by the selection operation; in response to a trigger operation for displaying a set of operation options on the multiple candidate initial message cards, if there is a target initial message card among the multiple candidate initial message cards whose service type is configured to support message forwarding, display a set of operation options including forwarding operation items; determine the forwarding recipient of the session message; and trigger the forwarding of the target initial message card among the multiple candidate initial message cards to the terminal of the forwarding recipient.

[0026] In one embodiment, the message forwarding device is further configured to display a special reminder message when there is a restricted initial message card among the plurality of candidate initial message cards whose service type is configured to not support message forwarding.

[0027] In one embodiment, when the service type of the session message is configured for identity-differentiated display, the initial message content is the default message content; the preview module is further configured to obtain the initial message data of the session message; when the service type of the session message is configured for identity-differentiated display, the initial message data includes default content data, template data, and original content data associated with the template data; based on the default content data and template data in the initial message data, a forwarding preview card including the default message content of the session message is drawn; the default content data is filtered relative to the original content data to include at least one of sensitive information and target interactive control data.

[0028] In one embodiment, when the service type of the session message is configured to be displayed without distinguishing identity, the initial message content is the original message content; the initial message data includes template data and original content data associated with the template data; the preview module is further configured to draw a forwarding preview card including the original message content of the session message based on the original content data and template data in the initial message data.

[0029] In one embodiment, the forwarding response module is further configured to, in response to a preview confirmation event of the forwarding preview card, obtain initial message data of the session message, and generate message data of the session message based on the initial message data; trigger the forwarding of the message data to the terminal of the forwarding recipient; wherein, when the service type of the session message is configured to distinguish between identities, the sent message data is used to trigger the terminal of the forwarding recipient to draw a message card including the default message content of the session message, and if the forwarding recipient belongs to the target identity category pre-configured for the service type, update the default message content in the message card to the target message content; when the service type of the session message is configured to not distinguish between identities, the sent message data is used to trigger the terminal of the forwarding recipient to draw a message card including the original message content of the session message.

[0030] In one embodiment, the message forwarding device is further configured to forward session messages; when the service type of the session message is a service activity type, the target interactive control displayed on the message card is associated with the state of the service activity indicated by the session message; when the service activity is in an unstarted state, the displayed target interactive control is a first target interactive control indicating that the service activity has not started; when the service activity is in a started state, the displayed target interactive control is a second target interactive control for participating in the service activity; and when the service activity is in an ended state, the displayed target interactive control is a third target interactive control indicating that the service activity has ended.

[0031] Thirdly, this application also provides a computer device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps in any of the message forwarding methods provided in the embodiments of this application.

[0032] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements any of the message forwarding steps provided in the embodiments of this application.

[0033] Fifthly, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements any of the message forwarding steps provided in the embodiments of this application.

[0034] The aforementioned message forwarding method, apparatus, computer device, storage medium, and computer program product, by displaying an initial message card for a session message with a business type, can determine whether the business type corresponding to the message card is configured to support message forwarding in response to an interaction event on the message card. If configured to support message forwarding, it can determine the forwarding recipient of the session message in response to a forwarding event on the initial message card. By displaying a forwarding preview card for the session message, the initial message content of the session message can be viewed through the forwarding preview card. In response to a preview confirmation event on the forwarding preview card, a session message is sent to the forwarding recipient, triggering the terminal corresponding to the forwarding recipient to display messages differentiated according to the identity category of the forwarding recipient. Since the message content of the session messages displayed by terminals of forwarding recipients with different identity categories is different, and the displayed initial message content filters at least one of sensitive information and target interactive controls relative to the target message content, the session message can be displayed restrictively based on identity category, further reducing the probability of message content leakage in the session message and improving the security of session message forwarding.

[0035] A message forwarding method, apparatus, computer device, computer-readable storage medium, and computer program product that can improve forwarding security.

[0036] Firstly, this application provides a message forwarding method, the method comprising:

[0037] The message data received from the message forwarder; when the service type of the session message is configured for identity-differentiated display, the message data includes a message update identifier;

[0038] The message data is sent to the forwarding receiver indicated by the message forwarder; the sent message data is used to draw a message card including the initial message content;

[0039] If the message data includes a message update identifier, search for dynamic content data that matches the identity category of the forwarding recipient;

[0040] The found dynamic content data is sent to the forwarding recipient; the sent dynamic content data is used to update the message card with message content that matches the identity category of the forwarding recipient.

[0041] Secondly, this application also provides a message forwarding device, the device comprising:

[0042] The data forwarding module is used to receive message data of a session message forwarded by a message forwarder; when the service type of the session message is configured to be displayed with distinguished identity, the message data includes a message update identifier; the message data is sent to the forwarding receiver indicated by the message forwarder; the sent message data is used to draw a message card including the initial message content;

[0043] The dynamic content data acquisition module is used to search for dynamic content data that matches the identity category of the forwarding recipient when the message data includes a message update identifier;

[0044] The dynamic content data sending module is used to send the found dynamic content data to the forwarding recipient; the sent dynamic content data is used to update the message card with message content that matches the identity category of the forwarding recipient.

[0045] In one embodiment, the message forwarding device further includes a data generation module for receiving raw message data of a session message sent by the terminal of the message editor; the raw message data includes raw content data; when the service type of the session message is configured to be identity-differentiated display, a default content data and a dynamic content dataset corresponding to the session message are generated based on the raw content data; the raw message data and the default content data are combined to obtain the initial message data of the session message used to draw the initial message card.

[0046] In one embodiment, the data generation module is further configured to determine a pre-configured target default data item corresponding to the service type of the session message; and extract content data corresponding to the target default data item from the original content data to obtain default content data.

[0047] In one embodiment, the data generation module is further configured to obtain a dynamic data configuration file corresponding to the service type of the session message; the dynamic data configuration file contains dynamic data generation rules corresponding to each identity category; the original content data is edited according to the dynamic data generation rules to obtain dynamic data content corresponding to each identity category; and the dynamic content corresponding to each identity category is combined to obtain a dynamic content dataset.

[0048] In one embodiment, the dynamic content data acquisition module is further configured to receive a dynamic content data query request sent by the terminal of the forwarding recipient; extract the identity identifier of the forwarding recipient carried in the dynamic content data query request, and determine the identity category to which the forwarding recipient belongs based on the identity identifier; and filter out dynamic content data corresponding to the identity category to which the forwarding recipient belongs from the pre-generated dynamic content dataset of the session message.

[0049] In one embodiment, the dynamic content data acquisition module is further configured to determine the current time, and if the business type of the session message is a business activity type, determine the start and end time of the business activity indicated by the session message; determine the current state of the business activity based on the current time and the start and end time; and filter out dynamic content data from the pre-generated dynamic content dataset of the session message that corresponds to both the identity category of the forwarding receiver and the current state of the business activity.

[0050] Thirdly, this application also provides a computer device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps in any of the message forwarding methods provided in the embodiments of this application.

[0051] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements any of the message forwarding steps provided in the embodiments of this application.

[0052] Fifthly, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements any of the message forwarding steps provided in the embodiments of this application.

[0053] The aforementioned message forwarding method, apparatus, computer equipment, storage medium, and computer program product, by receiving message data from a session message forwarded by a message forwarder, can send the message data to a forwarding receiver indicated by the message forwarder, causing the third terminal of the forwarding receiver to draw a message card including the initial message content. By searching for dynamic content data matching the identity category of the forwarding receiver when the message data includes a message update identifier, the found dynamic content data can be sent to the forwarding receiver, causing the third terminal of the forwarding receiver to update the message card with message content matching the identity category of the forwarding receiver. Since the message content of session messages displayed by third terminals of forwarding receivers with different identity categories differs, the display of session messages can be restricted based on identity category, further reducing the probability of message content leakage in session messages and improving the security of session message forwarding. Attached Figure Description

[0054] Figure 1 This is a diagram illustrating the application environment of a message forwarding method in one embodiment.

[0055] Figure 2 This is a flowchart illustrating a message forwarding method in one embodiment;

[0056] Figure 3 This is a schematic diagram of the session interface in one embodiment;

[0057] Figure 4 This is a schematic diagram of a forwarding details card in one embodiment;

[0058] Figure 5 This is a schematic diagram of forwarding a preview card in one embodiment;

[0059] Figure 6 This is a schematic diagram illustrating the differentiated identity display of session messages in one embodiment;

[0060] Figure 7 This is a schematic diagram illustrating how session messages are displayed without distinguishing between identities in one embodiment;

[0061] Figure 8This is a schematic diagram of a set of operation options in one embodiment;

[0062] Figure 9 This is a schematic diagram illustrating a special reminder message in one embodiment;

[0063] Figure 10 This is a flowchart illustrating the message forwarding method in another embodiment;

[0064] Figure 11 This is a schematic diagram of message forwarding interaction in one embodiment;

[0065] Figure 12 This is a schematic diagram of message forwarding interaction in another embodiment;

[0066] Figure 13 This is a schematic diagram of the composition structure of message data in one embodiment;

[0067] Figure 14 This is a flowchart illustrating a message forwarding method in a specific embodiment;

[0068] Figure 15 This is a flowchart illustrating the message forwarding method in another specific embodiment;

[0069] Figure 16 This is a structural block diagram of a message forwarding device in one embodiment;

[0070] Figure 17 This is a structural block diagram of a message forwarding device in one embodiment;

[0071] Figure 18 This is an internal structural diagram of a computer device in one embodiment;

[0072] Figure 19 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0073] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0074] The message forwarding method provided in this application embodiment can be applied to, for example... Figure 1The application environment is shown. First terminal 102 communicates with server 104 via a network, and second terminal 106 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104, or it can be located in the cloud or on another server. First terminal 102 runs an instant messaging application, which can display session messages, including those displayed in message cards. The message forwarder can trigger first terminal 102 to display an operation list for the session message. If the service type corresponding to the message card is configured to support message forwarding, a forwarding option is added to the operation list to forward the target session message via server 104 to the second terminal 106 corresponding to the recipient. The message cards displayed on the second terminal 106 are different depending on the identity category of the forwarding recipient. The first terminal 102 and the second terminal 106 can be, but are not limited to, various desktop computers, laptops, smartphones, tablets, IoT devices, smart voice interaction devices, smart home appliances, in-vehicle terminals, aircraft, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, and smart in-vehicle devices. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted devices. The server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.

[0075] In one embodiment, such as Figure 2 As shown, a message forwarding method is provided, which can be applied to... Figure 1 Taking the first terminal as an example, the explanation includes the following steps:

[0076] Step 202: Display the initial message card for the session message.

[0077] In this context, a conversation refers to a method of interaction between at least two users, specifically a conversation between a user and a chatbot, a conversation between users, or a group conversation. Conversations can be conducted through instant messaging applications. Instant messaging applications are programs that can instantly send and receive internet messages. They are user-designed instant messaging (IM) applications where friends can have casual conversations and employees can have work-related conversations. Conversation messages refer to messages generated during a conversation, which can include text, emoticons, links, videos, etc. In one specific embodiment, the instant messaging application can also display conversation messages in the form of message cards.

[0078] The conversation messages have a business type, which refers to the type of business they correspond to. For example, when the business is a meeting invitation, the corresponding business type is the meeting invitation type, and the conversation message associated with the meeting invitation type is the message generated when the meeting invitation is triggered. When the business is a notification, the corresponding business type is the notification type, and the conversation message associated with the notification type is the message generated when the notification is edited. In one specific embodiment, the business type may specifically be a task approval type, meeting invitation category, schedule addition type, poll initiation type, notification type, etc.

[0079] Specifically, the first terminal runs an instant messaging application, which can display a conversation interface containing at least one conversation message. For example, see reference... Figure 3 The first terminal can display a group conversation interface, showing conversation messages sent by group members. These messages can be displayed in the form of message cards. The message cards displayed on the first terminal are called initial message cards. Figure 3 A schematic diagram of a session interface in one embodiment is shown.

[0080] In one embodiment, the third terminal corresponding to the message editor can edit the session message and send the session message to the first terminal corresponding to the message forwarder, so that the first terminal corresponding to the message forwarder can forward the received session message to the second terminal corresponding to the forwarding receiver.

[0081] In one embodiment, the third terminal corresponding to the message editor can generate a session message with a business type through a business platform in an instant messaging application. For example, the instant messaging application may display a set of platform entry points, which may include entry points for accessing corresponding business platforms. For instance, the set of platform entry points may include entry points for inviting meetings, editing notifications, initiating polls, and so on. The message sender can trigger a business platform entry point in the platform entry point set to access the corresponding business platform and generate a session message with a business type through that platform. For example, the message sender can access a notification business platform for editing notifications and edit the notification through the notification editing interface displayed on the notification business platform. The notification business platform can generate a session message of the notification type based on the notification edited in the notification editing interface. The message sender can specify the message forwarder to which the session message of the notification type should be sent and trigger the instant messaging application to send the session message of the notification type to the corresponding message forwarder, so that the message forwarder forwards the received session message of the notification type.

[0082] For example, the message sender can access a meeting service platform used for sending meeting invitations and edit the meeting invitation through the meeting editing interface displayed on the platform. The meeting service platform can then generate a session message of the meeting invitation type based on the meeting invitation edited in the meeting editing interface, and trigger the instant messaging application to send the session message of the meeting invitation type to the corresponding message forwarder.

[0083] Step 204: If the session message belongs to a service type configured to support message forwarding, determine the forwarding recipient of the session message in response to the forwarding event for the initial message card.

[0084] Specifically, the first terminal can determine whether the service type of the session message is configured to support message forwarding. When it is determined that the service type of the session message is configured to support message forwarding, the first terminal responds to the forwarding event of the session message by the message forwarder and displays a list of candidate forwarding recipients. Thus, the message forwarder can select the forwarding recipient to which the session message is to be forwarded from the displayed list of candidate forwarding recipients.

[0085] In one embodiment, before message forwarding, the forwarding attributes corresponding to each service type can be pre-configured. For example, the forwarding attribute of the meeting invitation category can be configured to support message forwarding, so that when a session message has the meeting invitation category, the first terminal displays the forwarding option for message forwarding; as another example, the forwarding attribute of the task approval category can be configured to not support message forwarding, so that when a session message has the task approval category, the first terminal does not display the forwarding option for message forwarding. It is easy to understand that the forwarding attributes of each service type can be configured according to business needs. For example, generally speaking, the information involved in task approval is more sensitive and not suitable for circulation in the session. Therefore, the forwarding attribute of the task approval category can be configured to not support message forwarding. Meeting invitations involve a large number of invitees. In order to improve the efficiency of meeting invitations, it is necessary to circulate meeting invitations in the session. Therefore, the forwarding attribute of the meeting invitation category is configured to support message forwarding.

[0086] In one embodiment, the first terminal can, in response to a trigger operation on the forwarding option, obtain the social relationship chain in the instant messaging application. The message forwarder can then select a recipient from the displayed social relationship chain to whom the conversation message is to be forwarded. The social relationship chain in the instant messaging application can be a friend relationship chain, a relationship chain built based on departmental hierarchical relationships within an enterprise or organization, or a relationship chain jointly constructed by social relationships and departmental hierarchical relationships. For example, when the instant messaging application is a team communication application, the team communication application corresponding to the message forwarder can obtain the social relationship chain and select a recipient from it. This social relationship chain may include employees of the company where the message forwarder works, friends who have joined the team communication application by scanning the QR code generated by the message forwarder in the team communication application through a regular communication application, and employees of companies that are partners of the company where the message forwarder works, etc.

[0087] In one embodiment, the message forwarder can also directly use a group in the instant messaging application as the forwarding recipient. The group can be an instant messaging group, a temporarily created discussion group, or a discussion group created based on an existing group. It is easy to understand that a group can include only team members, or it can include both team members and non-team members. Team members refer to members outside a preset team. For example, if the preset team is the company where the message forwarder is located, team members are employees of companies other than the message forwarder's company; if the preset team is a target department within the company, team members are employees of departments other than the target department, and correspondingly, team members can be employees of the target department.

[0088] Step 206: Display the forwarding preview card of the session message; the forwarding preview card includes the initial message content of the session message.

[0089] Specifically, before forwarding the session message to the receiving party, the message forwarder can preview the session message, and the first terminal can respond to the preview operation by displaying a forwarding preview card for the session message. The forwarding preview card displays the initial message content of the session message.

[0090] In one embodiment, reference Figure 4 When a forwarding recipient is identified, the first terminal displays a forwarding details card 401, which includes a forwarding preview element 402. The forwarding recipient triggers the first terminal to display the forwarding preview card through this element. The forwarding details card also displays the number of identified forwarding recipients 403 and a send control 404, which allows the session message to be forwarded to the recipient. Figure 4 A schematic diagram of a forwarding details card is shown in one embodiment.

[0091] In one embodiment, reference Figure 5 , Figure 5 A schematic diagram of a forwarding preview card in one embodiment is shown. The forwarding preview card 501 may display the initial message content of the session message. The initial message content can be considered safe message content, as it does not involve at least one of sensitive information or preset target interactive controls. By previewing the session message before forwarding, the initial message content of the session message can be viewed through the displayed forwarding preview card. Based on the viewed content, the message content of the session message seen by the forwarding recipient can be understood, and if it is determined that the message content seen by the forwarding recipient involves the disclosure of sensitive information, the forwarding of the session message can be canceled in a timely manner.

[0092] In one embodiment, the message forwarder can selectively preview the initial message content or the target message content. For example, the message forwarder can choose to preview a forwarding preview card with the initial message content or a forwarding preview card with the target message content as needed, or trigger the first terminal to simultaneously display a forwarding preview card with the initial message content and a forwarding preview card with the target message content.

[0093] Step 208: In response to the preview confirmation event of the forwarding preview card, a session message is sent to the forwarding recipient; the forwarded session message is used to distinguish between displaying a default message content or a target message content according to the identity category of the forwarding recipient when displayed as a message card; wherein, the default message content filters at least one of sensitive information and target interactive controls relative to the target message content.

[0094] Specifically, when the message forwarder confirms that the previewed session message is correct, it triggers a preview confirmation event. The first terminal then responds to this event by forwarding the preview card and forwarding the session message to the receiving terminal. The content of the message card displayed by the receiving terminal varies depending on its identity category. For example, a receiving terminal with the first identity category may display a message card with the initial message content, while a receiving terminal with the second identity category may display a message card with the target message content. The initial message content is filtered to include at least one of sensitive information and target interactive controls relative to the target message content. Sensitive information refers to information related to session security or data leakage, such as session member IDs, phone numbers, photos, etc.

[0095] In one embodiment, the service type of the session message can be configured to display messages with or without distinguishing identities. When the service type of the session message is configured to display messages without distinguishing identities, it can be assumed that each forwarding recipient corresponds to the same identity category. For example, the identity category of all forwarding recipients can be assumed to be the default identity category, so that the second terminal of the forwarding recipient with the default identity category displays a message card with the initial message content. When the service type of the session message is configured to display messages with distinguishing identities, the identity category of the forwarding recipient can be determined according to the identity identifier of the forwarding recipient, so that the initial message content or the target message content can be selected to be displayed based on the identity category of the forwarding recipient.

[0096] In one embodiment, the initial message content is either the default message content or the original message content. In response to a preview confirmation event for the forwarding preview card, a session message is sent to the forwarding recipient, including: in response to a preview confirmation event for the forwarding preview card, obtaining message data for the session message, and triggering the forwarding of the message data to the terminal of the forwarding recipient; wherein, when the service type of the session message is configured for identity-differentiated display, the sent message data is used to trigger the terminal of the forwarding recipient to draw a message card including the default message content of the session message, and if the forwarding recipient belongs to the target identity category pre-configured for the service type, the default message content in the message card is updated to the target message content; when the service type of the session message is configured for non-identity-differentiated display, the sent message data is used to trigger the terminal of the forwarding recipient to draw a message card including the original message content of the session message.

[0097] The initial message content can be either the default message content drawn based on default content data, or the original message content drawn based on original content data. Default content data can be some or all of the data extracted from the original content data according to preset data extraction rules. Original content data refers to the most original content data generated by the business platform when the message editor obtains the session message. At this time, the server can store this original content data and, if the business category of the session message is configured for identity-based display, extract the corresponding data from the original content data according to preset data extraction rules to obtain the default content data.

[0098] Specifically, the service category of a session message can be configured to be displayed with or without distinguishing between identities. When the service category of a session message is configured for distinguishing between identities, then the session message of that service category can be considered an interactive dynamic message card; for example, it could be... Figure 6The meeting invitation card 601 in the example. Interactive dynamic message cards may involve information security issues; therefore, it can be assumed that session messages that differentiate between business categories may contain sensitive information or target interactive control data.

[0099] When the business category of a conversation message is configured for identity-based display, during the process of the third terminal corresponding to the message editor editing and generating the conversation message through the business platform, the server can also generate default content data and dynamic content datasets for the conversation message based on the original content data obtained from the editing. The dynamic content dataset includes dynamic content data corresponding to different target identity categories. When the first terminal forwards the conversation message, the server can forward the default content data to the second terminal of the forwarding recipient. The second terminal then draws a message card with the default message content based on the received default content data. The second terminal can also query the server for dynamic content data corresponding to the identity of the forwarding recipient. If dynamic content data is found, the forwarding recipient can be considered to belong to the target identity category pre-configured for the business type of the conversation message. At this time, the server returns the dynamic content data to the second terminal, which updates the default message content to the target message content based on the received dynamic content data. For example, the second terminal can display message card 602 with the target message content. If no dynamic content data is found, it can be assumed that the forwarding recipient does not belong to the target identity category pre-configured for the service type of the session message. The second terminal continues to display message cards with default message content. For example, the second terminal can display message card 603 with target message content.

[0100] If the business category of a session message is configured to display messages regardless of identity, then the session messages for that business category can be considered as purely display-type static message cards, for example, they could be... Figure 7 Notification card 701 in the context of this example. Purely display-type static message cards generally do not involve information security issues. Therefore, it can be assumed that session messages of business categories that do not distinguish between identities generally do not include sensitive information or target interactive control data. During the process of the message editor generating session messages with business categories configured to not distinguish between identities through the business platform, since session messages of business categories that do not distinguish between identities generally do not include sensitive information or target interactive control data, the original content data obtained through the business platform will also not include sensitive information or target interactive control data. Thus, the server can directly store the original content data without needing to generate additional default content data and dynamic content datasets.

[0101] When the first terminal forwards session messages with the service category configured to be displayed regardless of identity, the server can forward the original content data to the second terminal, which then draws a message card with the original message content based on the received original content data. For example, refer to... Figure 7 The second terminal draws a message card 702 with the original message content. It is easily understood that since the service type of the session message is configured to display without distinguishing identity, the content of the message card displayed by the second terminal corresponding to each forwarding receiver is consistent. In one embodiment, when the service type of the session message is configured to display without distinguishing identity, the initial message card of the session message displayed by the first terminal of the message forwarder is consistent with the message card of the session message displayed by the second terminal of the message forwarder. For example, refer to... Figure 7 Message card 701 is identical to message card 702. Figure 7 A schematic diagram is shown in one embodiment where session messages are displayed without distinguishing between identities.

[0102] In one embodiment, when the business category of the conversation message is configured to distinguish between identities, the second terminal can display the message based on the identity of the forwarding recipient. The identity can be freely categorized according to requirements. For example, if the forwarding recipient is an employee of the company that sent the message, the identity of the forwarding recipient can be determined as an employee; if the forwarding recipient is a friend of the message sender, the identity of the forwarding recipient can be determined as a friend; if the forwarding recipient is an employee of a company that collaborates with the company that sent the message, the identity of the forwarding recipient can be determined as an employee outside the company. Furthermore, company employees can be further subdivided to obtain more detailed identities. For example, company employees can be subdivided according to department to obtain identities with departmental identifiers. For instance, if the forwarding recipient is an employee of the company that sent the message and is an employee of department A, the identity of the forwarding recipient can be determined as company employee - department A.

[0103] In one embodiment, viewing permissions for each identity under the service type of the session message can be pre-configured. When an identity has viewing permissions, it is considered to belong to the target identity category. When an identity does not have viewing permissions, it is considered not to belong to the target identity category. Thus, the second terminal determines the correspondence between the identity and the target identity category based on the configured mapping between viewing permissions and identities, and determines whether to display the default message content or the target message content based on this mapping. For example, for session messages of the meeting invitation category, it can be pre-configured that company employees have permission to view session messages of the meeting invitation category, while friends and employees outside the company do not. When the forwarding recipient is a company employee, the forwarding recipient is considered to belong to the target identity category, and the second terminal corresponding to this forwarding recipient can display the full version of the session message, i.e., display the default message content or the target message content. Figure 6 The message card 602 shown has the target message content. When the forwarding recipient is an employee outside the company, it can be assumed that the forwarding recipient does not belong to the target identity category. The second terminal corresponding to the forwarding recipient can display a session message that has been filtered to include at least one of sensitive information and interactive controls, that is, it can display messages such as... Figure 6 Message card 603 has a default message content, which improves the security of message forwarding. Figure 6 A schematic diagram illustrating the differentiated identity display of session messages in one embodiment is shown.

[0104] In one embodiment, sensitive information in a message card with default message content can be displayed in an encrypted manner, for example, by directly displaying "*". Compared to a message card with target message content, a message card with default message content also hides the target interactive control, for example, referring to... Figure 6 The message card 602 with the target message content can display the target interactive control 604, while the message card 603 with the default message content does not display the target interactive control 604.

[0105] It is easy to understand that the message forwarder can also forward conversation messages that are not displayed in the form of message cards in the same way as described above, such as forwarding text-based conversation messages.

[0106] In the aforementioned message forwarding method, by displaying an initial message card for a session message with a business type, the system can determine whether the business type corresponding to the message card is configured to support message forwarding in response to an interaction event with the message card. If configured to support message forwarding, the system can determine the forwarding recipient of the session message in response to a forwarding event with the initial message card. By displaying a forwarding preview card for the session message, the system can view the initial message content of the session message. In response to a preview confirmation event with the forwarding preview card, the system triggers the sending of a session message to the forwarding recipient, thereby triggering the terminal corresponding to the forwarding recipient to display messages differentiated according to the recipient's identity category. Since the message content of the session messages displayed by terminals with different identity categories differs, the system can restrict the display of session messages based on identity category, further reducing the probability of message content leakage and improving the security of session message forwarding.

[0107] In one embodiment, when the session message belongs to a service type configured to support message forwarding, in response to a forwarding event for the initial message card, determining the forwarding recipient of the session message includes: in response to a triggering operation for displaying a set of operation options for the initial message card, when the service type of the session message is configured to support message forwarding, displaying a set of operation options with forwarding options; and in response to a selection operation for a forwarding option in the set of operation options, determining the forwarding recipient of the session message.

[0108] Specifically, the message forwarder can choose whether to forward the initial message card. When the message forwarder intends to forward the initial message card, it can trigger an operation on the set of display operation options for the initial message card. The first terminal can then respond to this trigger operation and determine whether the service type of the session message displayed in the form of the initial message card is configured to support message forwarding. When the first terminal determines that the service type of the session message is configured to support message forwarding, it can display a set of operation options including forwarding options. When the first terminal determines that the service type of the session message is configured not to support message forwarding, the set of operation options displayed by the first terminal will not include forwarding options. The message forwarder can trigger the first terminal to display a list of candidate forwarding recipients by selecting a forwarding option from the set of operation options. For example, the message forwarder can trigger the first terminal to display a list of candidate forwarding recipients by clicking a forwarding option in the set of operation options. The number of forwarding recipients can be one or more.

[0109] In one embodiment, the message forwarder can trigger an interaction event for the initial message card by long-pressing or clicking the initial message card. When the first terminal determines that the message forwarder has long-pressed or clicked the initial message card, the first terminal can display the following: Figure 8 The set of operation options 801 without the added forwarding option is shown, or the set of operation options 802 with the added forwarding option is shown. Figure 8 A schematic diagram of the set of operation options in one embodiment is shown.

[0110] In one embodiment, if the set of operation options includes a forwarding option, the session message can be determined to be a session message that supports forwarding. If the set of operation options does not include a forwarding option, the session message can be determined to be a session message that does not support forwarding.

[0111] In the above embodiments, since the forwarding option for message forwarding is only displayed when the service type of the session message is configured to support message forwarding, restricted forwarding of session messages is achieved, reducing the probability of message content in session messages being leaked and improving the security of session message forwarding.

[0112] In one embodiment, in response to a trigger operation for displaying a set of operation options for an initial message card, when the service type of the session message is configured to support message forwarding, displaying a set of operation options with forwarding options includes: in response to a trigger operation for displaying a set of operation options for an initial message card, obtaining initial message data corresponding to the initial message card; determining whether the initial message data includes a forwarding identifier; and if the initial message data includes a forwarding identifier, determining that the service type of the session message is configured to support message forwarding, and displaying a set of operation options with forwarding options.

[0113] Specifically, when the service type of a session message is configured to support message forwarding, upon receiving the original message data of a session message with a forwarding service type generated by the service platform, the server can add a forwarding identifier to the original message data of the session message to obtain the initial message data of the session message. This initial message data is then sent to the first terminal, causing the first terminal to display the initial message card. When the message forwarder triggers a trigger operation for displaying the set of operation options on the initial message card, the first terminal can obtain the initial message data and determine whether it includes forwarding identifier data. If a forwarding identifier is found, it is determined that the service type of the session message is configured to support message forwarding, and thus the first terminal displays the set of operation options including forwarding options.

[0114] The message data includes template data and content data. Template data is used to draw the template for the message card, and content data is used to draw the text and other content within the message card template. This results in a finished message card. For example, the template data can be used to draw the frame of the message card, and the content data can be used to draw the text, controls, etc., within the frame. Specifically, the content data can be divided into raw content data for drawing the original message content, default content data for drawing the default message content, and dynamic content data for drawing the target message content.

[0115] In this embodiment, since the service type of the session message can be directly determined by the forwarding identifier to support message forwarding, the determination efficiency is greatly improved.

[0116] In one embodiment, the initial message card of the session message is displayed on the session interface; multiple initial message cards are displayed in the session interface; in response to a trigger operation for displaying a set of operation options for the initial message card, when the service type of the session message is configured to support message forwarding, a set of operation options with forwarding options is displayed, including: in response to a selection operation for multiple initial message cards in the session interface, displaying multiple candidate initial message cards selected by the selection operation; in response to a trigger operation for displaying a set of operation options for multiple candidate initial message cards, when there is a target initial message card among the multiple candidate initial message cards whose service type is configured to support message forwarding, displaying a set of operation options including forwarding operation items; triggering the sending of a session message to the forwarding receiver includes: triggering the forwarding of the target initial message card among the multiple candidate initial message cards to the terminal of the forwarding receiver. Specifically, the message forwarder can select multiple session messages for forwarding at once, so that the first terminal can respond to the selection operation for multiple initial message cards displayed in the session interface and display multiple candidate initial message cards selected by the selection operation. For example, refer to Figure 9The message forwarder can select initial message cards sent by members 2 to 4. The first terminal then uses the selected initial message card as a candidate initial message card. It's easy to understand that one session message can correspond to one initial message card, or multiple initial message cards. For example, for session message A, the terminal can display it as a single initial message card, or it can split the content of session message A into multiple sub-session messages and display the initial message card corresponding to each sub-session message. The message forwarder can trigger an operation to display a set of operation options for multiple candidate initial message cards. For example, the message forwarder can long-press or right-click a candidate initial message card to trigger the first terminal to display the set of operation options. If there is a target initial message card among the multiple candidate initial message cards whose service type is configured to support message forwarding, the first terminal displays a set of operation options including forwarding operation items; if there is no target initial message card among the multiple candidate initial message cards whose service type is configured to support message forwarding, the first terminal displays a set of operation options that does not include forwarding operation items.

[0117] Furthermore, the message forwarder can forward multiple candidate initial message cards via forwarding operation items. For example, the message forwarder can click the forwarding operation item to display a list of candidate forwarding recipients on the first terminal. The message forwarder can select a forwarding recipient from the list, and upon confirming the recipient, the first terminal displays a forwarding details card. Multiple candidate initial message cards are then forwarded via the forwarding confirmation control in the details card. During the forwarding process of candidate initial message cards one by one, the first terminal filters out restricted initial message cards whose service type is configured to not support message forwarding, and only forwards target initial message cards whose service type is configured to support message forwarding.

[0118] In this embodiment, by configuring only the target initial message card that supports message forwarding among the multiple candidate initial message cards for service types, the probability of forwarding non-forwardable candidate initial message cards can be reduced, thereby further improving the security of session message forwarding.

[0119] In one embodiment, before triggering the sending of a session message to the forwarding recipient, the method further includes: displaying a special reminder message if, among multiple candidate initial message cards, there is a restricted initial message card whose service type is configured to not support message forwarding.

[0120] Specifically, before forwarding the target initial message card from multiple candidate initial message cards, if there are restricted initial message cards among the multiple candidate initial message cards that do not support message forwarding, the first terminal can also display a special reminder message to remind the message forwarder that there are restricted initial message cards that do not support message forwarding among the multiple candidate initial message cards selected by the message forwarder. For example, refer to Figure 9 The first terminal can display a special reminder message 901 in the form of a pop-up window. Figure 9 A schematic diagram illustrating a special reminder message in one embodiment is shown.

[0121] In one embodiment, the first terminal may also send a special reminder message via phone vibration, text message, voice broadcast, or other means. The message content of the special reminder message may also include a card identifier for the initial message card that does not support message forwarding. For example, the text message may display that the initial message card sent by member 2 is a restricted initial message card, which does not support forwarding.

[0122] In the above embodiments, by displaying a special reminder message, the message forwarder can be reminded whether there are any restricted initial message cards that do not support message forwarding among the multiple candidate initial message cards selected by the message forwarder, thus improving the user experience.

[0123] In one embodiment, when the service type of the session message is configured for identity-differentiated display, the initial message content is the default message content; displaying a forwarding preview card of the session message includes: obtaining the initial message data of the session message; when the service type of the session message is configured for identity-differentiated display, the initial message data includes default content data, template data, and original content data associated with the template data; drawing a forwarding preview card including the default message content of the session message based on the default content data and template data in the initial message data; the default content data filters at least one of sensitive information and target interactive control data relative to the original content data.

[0124] Specifically, when the service type of the session message is configured for identity-based display, the initial message content is the default message content. The initial message data of the session message received by the first terminal also includes default content data, template data, and original content data associated with the template data. When it is necessary to display a forwarding preview card for a session message whose service type is configured for identity-based display, the first terminal can obtain the initial message data of the session message and determine whether default content data, template data, and original content data associated with the template data exist in the initial message data. If it is determined that the initial message data contains default content data, template data, and original content data associated with the template data, the first terminal replaces the original content data with the default content data and draws a forwarding preview card with default message content using the default content data and template data. For example, drawing... Figure 6 The aforementioned forwarding preview card 605. In one embodiment, the preview card 605 may be identical to the message card 603 displayed on the second terminal of a forwarding recipient that does not belong to the target identity category.

[0125] In one embodiment, when the service type of the session message is configured for identity-differentiated display, the initial message data may include default content data and template data, but not the original content data. The first terminal can directly draw a forwarding preview card with default message content based on the initial message data.

[0126] In the above embodiments, by displaying a forwarding preview card of the default message content when the service type of the session message is configured to be displayed with distinguished identity, the message forwarder can confirm the message content viewed by the forwarding receiver that does not belong to the pre-configured target identity category through the displayed forwarding preview card. When it is determined that the forwarding receiver that does not belong to the pre-configured target identity category can still view sensitive information or target interactive controls, the forwarding of the session message is paused, thereby improving session security.

[0127] In one embodiment, when the service type of the session message is configured to be displayed without distinguishing identity, the initial message content is the original message content; the initial message data includes template data and original content data associated with the template data; the method further includes: drawing a forwarding preview card including the original message content of the session message based on the original content data and template data in the initial message data.

[0128] Specifically, when the service type of the conversation message is configured to display without distinguishing identities, the initial message data does not include default content data. Therefore, the first terminal can directly draw a forwarding preview card containing the original message content of the conversation message using the original content data and template data in the initial message data. For example, refer to... Figure 7 The first terminal can draw a forwarding preview card 703 including the original message content. In one embodiment, refer to Figure 7 The forwarding preview card 703 can be identical to the message card 702 displayed on the receiving terminal. That is, when the service type of the session message is configured to display without distinguishing identities, the first terminal draws the forwarding preview card using the original content data and template data, and the second terminal also draws the message card for the forwarded received session message using the original content data and template data.

[0129] In a straightforward manner, when the service type of the session message is configured for identity-based display, the first terminal draws a forwarding preview card containing the default message content of the session message using default content data and template data. If the forwarding recipient belongs to the target identity category pre-configured for the service type, the second terminal draws a message card containing the target message content of the session message using dynamic content data and template data. If the forwarding recipient does not belong to the target identity category pre-configured for the service type, the second terminal draws a message card containing the default message content of the session message using default content data and template data. When the service type of the session message is configured for identity-indiscriminate display, the first terminal draws a forwarding preview card containing the original message content of the session message using original content data and template data; the second terminal of the forwarding recipient draws a message card containing the original message content of the session message using original content data and template data.

[0130] When the business type of a conversation message is configured for identity-based display, the initial message content is the default message content. A message card with the default message content of the conversation message is drawn using default content data and template data. Compared to a message card with the target message content of the conversation message drawn using dynamic content data and template data, this filters out at least one of sensitive information and target interactive controls. This improves the security of the message card display. When the business type of a conversation message is configured for non-identity-based display, the initial message content is the original message content drawn using the original content data. Since the original content data itself does not include at least one of sensitive information and target interactive control data when the business type of the conversation message is configured for non-identity-based display, the original message content drawn using the original content data also does not include at least one of sensitive information and target interactive controls.

[0131] In the above embodiments, by displaying a forwarding preview card containing the original message content of the conversation message when the service type of the conversation message is configured to be displayed without distinguishing identity, the message forwarder can confirm the most original message content.

[0132] In one embodiment, when the business type of the session message is a business activity type, the target interactive control displayed on the message card is associated with the state of the business activity indicated by the session message; when the business activity is in an unstarted state, the displayed target interactive control is a first target interactive control used to indicate that the business activity has not started; when the business activity is in a started state, the displayed target interactive control is a second target interactive control used to participate in the business activity; and when the business activity is in an ended state, the displayed target interactive control is a third target interactive control used to indicate that the business activity has ended.

[0133] In addition to differentiating message cards by identity category, the system can also differentiate message cards by the status of business activities. When a business activity is an activity, its business type is the business activity type. An activity refers to an action taken for a specific purpose, such as a meeting, vote, or task approval. When a conversation message is a meeting invitation card edited by the message editor through the meeting editing platform, the business type of that conversation message is the business activity type, and this business type can be configured to support message forwarding and differentiated display by identity.

[0134] Specifically, when the business type of the session message is a business activity type, the target interactive control in the message card displayed on the second terminal is associated with the state of the business activity indicated by the session message. For example, the second terminal can choose to display a first target interactive control, a second target interactive control, or a third target interactive control, etc. The first target interactive control indicates that the business activity has not started, the second target interactive control indicates that the business activity is in a started state, and the third target interactive control indicates that the business activity has ended. In one embodiment, the second terminal may also display the same target interactive control, but the triggering state of the target interactive control is associated with the state of the business activity indicated by the session message. For example, when the business activity is in a not started state, the displayed target interactive control is in a non-touchable state; when the business activity is in a started state, the displayed target interactive control is in a touchable state, and the forwarding recipient can participate in the business activity through this target interactive control; when the business activity is in a ended state, the displayed target interactive control may also be in a non-touchable state.

[0135] In this embodiment, by displaying different target interactive controls in different states, the diversity of interactive control display can be increased, thereby improving the user experience.

[0136] In one embodiment, such as Figure 10 As shown, a message forwarding method is provided, which can be applied to... Figure 1 Taking the server in the example, the following steps are included:

[0137] Step 1002: Receive message data of the session message forwarded by the message forwarder; if the service type of the session message is configured to be displayed with distinguished identity, the message data includes a message update identifier.

[0138] Specifically, when the first terminal forwards a session message, it can first send the message data to the server. The server receives the message data of the session message forwarded by the message forwarder, and if the service type of the session message is configured to be displayed with distinguished identity, the message data includes a message update identifier.

[0139] Step 1004: Send message data to the forwarding receiver indicated by the message forwarder; the sent message data is used to draw a message card including the initial message content.

[0140] Specifically, when the server receives message data sent by the first terminal, the server can forward the message data to the forwarding receiver indicated by the message forwarder. The forwarding receiver can then draw a message card containing the initial message content of the session message based on the received message data. For example, if the session message's business category is to be displayed with distinguished identity categories, the second terminal of the forwarding receiver draws a message card with default message content based on the default content data in the message data; if the session message's business category is to be displayed without distinguished identity categories, the second terminal of the forwarding receiver draws a message card with the original message content based on the original content data in the message data.

[0141] Step 1006: If the message data includes a message update identifier, find dynamic content data that matches the identity category of the forwarding recipient.

[0142] Specifically, if the message data includes a message update identifier, it can be assumed that the service type of the session message is configured to be displayed with distinguished identities. In this case, the server searches for dynamic content data that matches the identity category of the forwarding recipient from the pre-generated dynamic content dataset corresponding to the session message.

[0143] Step 1008: Send dynamic content data to the forwarding recipient; the sent dynamic content data is used to update the message card with message content that matches the identity category of the forwarding recipient.

[0144] Specifically, when dynamic content data matching the identity category of the forwarding recipient is found, the server sends the found dynamic content data to the second terminal of the forwarding recipient, so that the second terminal updates the message card with message content matching the identity category of the forwarding recipient based on the received dynamic content data. For example, the message card with the default message content of the session message is updated to the message card with the target message content of the session message. In one embodiment, when no dynamic content data matching the identity category of the forwarding recipient is found, the second terminal corresponding to the forwarding recipient keeps displaying the message card with the default message content unchanged.

[0145] In one embodiment, reference Figure 11 , Figure 11 This diagram illustrates an interaction diagram of message forwarding in one embodiment. When a message editor edits a session message through a business platform, the business platform generates the original message data of the session message and sends it to the server. When the service type of the session message is configured to support message forwarding and distinguish between identities, the server can generate default content data and dynamic content datasets based on the original content data in the original message data. The server then packages the default content data, the original content data, and the template data in the original message data to obtain the initial message data of the session message, and adds a forwarding identifier and a message update identifier to the initial message data. Further, the server sends the initial message data to a first terminal, causing the first terminal to replace the original content data with the default content data in the initial message data, and generate an initial message card with default message content based on the default content data and the template data.

[0146] Furthermore, when the received initial message data includes a message update identifier, the first terminal obtains the identity identifier of the message forwarder and sends it to the server. The server then determines the identity of the message forwarder based on the identity identifier, determines the identity category of the message forwarder based on the correspondence between identities and identity categories, and searches for dynamic content data matching that identity category from a pre-generated dynamic content dataset. The found dynamic content data is then returned to the first terminal. The first terminal updates the initial message card with default message content based on the received dynamic content data, resulting in an initial message card with the target message content.

[0147] Furthermore, when the message forwarder triggers the forwarding of the session message, the second terminal can replace the original content data with the default content data in the initial message data to obtain the session message data, and send the session message data to the server so that the server can forward the message data to the third terminal of the forwarding recipient. The third terminal draws a message card with default content data based on the received message data. When the message data includes a message update identifier, the third terminal obtains the identity identifier of the forwarding recipient and sends the identity identifier to the server so that the server can determine the identity category of the message forwarder based on the identity identifier, and search for dynamic content data that matches the identity category from the pre-generated dynamic content dataset, and return the found dynamic content data to the third terminal. The third terminal updates the message card with default message content based on the received dynamic content data to obtain a message card with target content data.

[0148] In one embodiment, reference Figure 12 When a message editor edits a session message through the business platform, the platform generates the raw message data and sends it to the server. If the session message's business type is configured to support message forwarding but not distinguish between identities, the server directly adds a forwarding identifier to the raw message data to obtain the initial message data, which is then sent to the first terminal. When a message forwarder forwards the session message, the first terminal can send this initial message data as the session message data to the server, which then forwards the session message data to the receiving terminal. Figure 12 This diagram illustrates the message forwarding interaction in one embodiment. It is readily understood that when the forwarding receiver continues to forward the received session messages forwarded by the first terminal, the forwarding receiver also becomes the message forwarder, thus forwarding session messages in the manner described above.

[0149] In the aforementioned message forwarding method, by receiving the message data of the session message forwarded by the message forwarder, the message data can be sent to the forwarding receiver indicated by the message forwarder, so that the third terminal of the forwarding receiver can draw a message card including the initial message content. If the message data includes a message update identifier, dynamic content data matching the identity category of the forwarding receiver can be searched, and the found dynamic content data can be sent to the forwarding receiver, so that the third terminal of the forwarding receiver can update the message card with message content matching the identity category of the forwarding receiver. Since the message content of the session messages displayed by the third terminals of forwarding receivers with different identity categories is different, the session messages can be displayed restrictively based on the identity category, further reducing the probability of message content leakage in the session messages and improving the security of session message forwarding.

[0150] In one embodiment, before receiving the message data of the session message forwarded by the message forwarder, the method further includes: receiving the original message data of the session message sent by the terminal of the message editor; generating default content data and dynamic content dataset corresponding to the session message when the service type of the session message is configured to be displayed with distinguished identity; and combining the original message data and the default content data to obtain the initial message data of the session message used to draw the initial message card.

[0151] Specifically, when the business type of the session message is configured to be displayed with distinguished identity, the server can generate default content data and dynamic content dataset, and package the original message data, default content data and template data to obtain the initial message data.

[0152] In one embodiment, the server may also package the dynamic content dataset, default content data, and template data to obtain initial message data, so that the first terminal can search for dynamic content data matching the identity category locally. The first terminal may also forward this initial message data as message data to the second terminal, so that the second terminal can search for dynamic content data matching the identity category locally.

[0153] In one embodiment, generating default content data corresponding to the target session message includes: determining a pre-configured target default data item corresponding to the service type of the session message; and extracting content data corresponding to the target default data item from the original content data to obtain the default content data.

[0154] Specifically, when default content data needs to be generated, the server can obtain pre-configured target default data items that match the business type of the session message. Then, it can extract the corresponding content data from the original message data of the session message using these target default data items to obtain the default content data. For example, when the business type is a meeting invitation, the target default data items can be configured as "Attendees" and "Meeting Time". The original content data in the original message data of a session message with a meeting invitation type may include "Attendees: Person A, Person B", "Meeting Time: Time C", and "Meeting Location: Location D". Therefore, the server can extract "Attendees: Person A, Person B" and "Meeting Time: Time C" from the original content data and use them as the default content data.

[0155] In one embodiment, reference Figure 13 The terminal can render message cards using template data and content data. This application innovatively adds a forwarding flag and a default data item. The forwarding flag records the forwarding identifier, and the default data item records the default content data. Figure 13 A schematic diagram of the composition structure of message data in one embodiment is shown.

[0156] In the above embodiments, since the default data item is a configurable data item, it can be configured according to business needs, so that the default content data obtained based on the configured default data item can be information security data, thereby improving the security of message forwarding.

[0157] In one embodiment, the process of generating a dynamic content dataset includes: obtaining a dynamic data configuration file corresponding to the business type of the session message; the dynamic data configuration file contains dynamic data generation rules corresponding to each identity category; editing the original content data according to the dynamic data generation rules to obtain dynamic data content corresponding to each identity category; and combining the dynamic data content corresponding to each identity category to obtain a dynamic content dataset.

[0158] Specifically, dynamic data configuration files corresponding to each business type can be pre-configured. These configuration files contain the generation rules for dynamic content data of different identity categories. For example, the dynamic configuration file might specify that the generation rule for dynamic content data of the target identity category is to use the original content data as the dynamic content data, while the generation rule for dynamic content data of non-target identity categories is to use the default content data as the dynamic content data. Then, when the original content data in the original message data is obtained, the server can edit the original content data according to the dynamic data generation rules to obtain the dynamic data content corresponding to each identity category. The dynamic content dataset is then obtained by combining the dynamic data content corresponding to each identity category. In other words, besides target and non-target identity categories, the target identity category can be further subdivided into first target identity category, second target identity category, etc., and different dynamic content data generation rules can be set for the first target identity category and the second target identity category according to requirements.

[0159] In one embodiment, when it is necessary to allow some session messages to circulate within a team while others can circulate freely—that is, simultaneously within the team or outside the team including external contacts—the dynamic data configuration file can also record the team scope corresponding to the target identity category. For example, for the meeting invitation category, employees of Company A can be designated as having the target identity category, while employees outside of Company A can be designated as having non-target identity categories. Thus, the dynamic data configuration file can record "Target Identity Category - Employees of Company A". When more granular segmentation is required, the dynamic data configuration file can also record the team scope corresponding to more detailed target identity categories. For example, it can be set to "First Target Identity Category - Employees of Department B within Company A".

[0160] In one embodiment, for non-target identity categories, the server may not generate dynamic data generation rules, so that the server does not subsequently generate dynamic content data corresponding to non-target identity categories.

[0161] In one embodiment, the dynamic data generation rules can be associated not only with identity categories but also with the state of business activities. That is, dynamic content datasets associated with both identity categories and the state of business activities can be generated through dynamic data generation rules. For the same business category, different dynamic data generation rules can be set for different identity categories and different states. For example, for the meeting invitation category, a dynamic data generation rule can be set up to generate a dynamic data generation rule for the target identity category and the meeting not started state: the original content data is used as the dynamic content data, and the target interactive control data in the dynamic content data is replaced with the first target interactive control data, so that the first target interactive control to indicate that the business activity has not started can be drawn based on the first target interactive control data; a dynamic data generation rule can be set up to generate a dynamic data generation rule for the target identity category and the meeting started state: the original content data is used as the dynamic content data, and the target interactive control data in the dynamic content data is replaced with the second target interactive control data, so that the first target interactive control to enter the meeting can be drawn based on the second target interactive control data; a dynamic data generation rule can be set up to generate a dynamic data generation rule for the target identity category and the meeting ended state: the original content data is used as the dynamic content data, and the target interactive control data in the dynamic content data is replaced with the third target interactive control data, so that the third target interactive control to indicate that the business activity has ended can be drawn based on the third target interactive control data.

[0162] In the above embodiments, by generating a dynamic content dataset that is associated with both the identity category and the state of the business activity, subsequent displays can be differentiated not only based on the identity category of the forwarding and receiving object, but also based on the current state of the business activity, thus greatly improving the diversity of the display.

[0163] In one embodiment, finding dynamic content data that matches the identity category of the forwarding recipient includes: receiving a dynamic content data query request sent by the terminal of the forwarding recipient; extracting the identity identifier of the forwarding recipient carried in the dynamic content data query request, and determining the identity category to which the forwarding recipient belongs based on the identity identifier; and filtering out dynamic content data corresponding to the identity category to which the forwarding recipient belongs from a pre-generated dynamic content dataset of session messages.

[0164] Specifically, in the case of differentiated identity display, the second terminal can obtain the identity identifier of the local forwarding recipient and generate a dynamic content data query request based on the identity identifier. This request is then sent to the server, allowing the server to determine the identity category of the forwarding recipient based on the identity identifier. For example, it might determine whether the forwarding recipient is a member of a team or not, and based on this, whether the recipient belongs to the target identity category. The server then searches for dynamic content data matching the identity category of the forwarding recipient from a pre-generated dynamic content dataset. For instance, if the recipient belongs to the target identity category, the server searches for the corresponding dynamic content data and returns it to the second terminal.

[0165] In this embodiment, since dynamic content data is stored on the server, dynamic content data matching the identity category is only sent to the corresponding terminal when a dynamic content data query request is received. This ensures that only dynamic content data matching one's own identity category can be received, while dynamic content data that does not match one's own identity category cannot be obtained, thereby reducing the probability of dynamic content data leakage and improving the security of dynamic content data.

[0166] In one embodiment, the method further includes: determining the current time, and if the business type of the session message is a business activity type, determining the start and end times of the business activity indicated by the session message; determining the current state of the business activity based on the current time and the start and end times; and filtering dynamic content data corresponding to the identity category of the forwarding recipient from the pre-generated dynamic content dataset of the session message, including: filtering dynamic content data corresponding to both the identity category of the forwarding recipient and the current state of the business activity from the pre-generated dynamic content dataset of the session message.

[0167] Specifically, when dynamic content data is related to both identity category and the status of business activities, upon receiving a dynamic content data query request from a second terminal, the server can determine the current time and, based on the start and end times of the business activity indicated by the session message, determine the current status of the business activity. For example, if the business category is a meeting invitation, the business activity indicated by a meeting message with the meeting invitation category is a meeting, and the server can determine the current status of the meeting based on the start and end times set for that meeting. Furthermore, the server can filter dynamic content data from a pre-generated dataset of dynamic content related to session messages that corresponds to both the identity category and the current status of the business activity of the forwarding recipient, and send the filtered dynamic content data to the second terminal, enabling the second terminal to draw a message card with the target message content.

[0168] In this embodiment, by acquiring dynamic content data that corresponds to both the identity category and the current state, the terminal can distinguish between identity and state when displaying message cards, thereby improving the diversity of message card display.

[0169] In one specific embodiment, reference is made to Figure 14 The message forwarding method includes the following steps:

[0170] S1402, the first terminal displays the initial message card of the session message; responds to the trigger operation for displaying the set of operation options for the initial message card, and obtains the initial message data corresponding to the initial message card.

[0171] S1404, the first terminal determines whether the initial message data includes a forwarding identifier; if the initial message data includes a forwarding identifier, it determines that the service type of the session message is configured to support message forwarding, and displays a set of operation options including forwarding options.

[0172] S1406, the first terminal responds to the selection operation for the forwarding option in the set of operation options and determines the forwarding recipient of the session message.

[0173] S1408, the first terminal obtains the initial message data of the session message; when the service type of the session message is configured to be displayed with distinguished identity, the initial message data includes default content data, template data and original content data associated with the template data.

[0174] S1410, the first terminal draws a forwarding preview card including the default message content of the session message based on the default content data and template data in the initial message data; the default content data filters at least one of sensitive information and target interactive control data relative to the original content data.

[0175] S1412, the first terminal responds to the preview confirmation event of the forwarding preview card, obtains the initial message data of the session message, and generates the message data of the session message based on the initial message data.

[0176] S1414, the first terminal triggers the forwarding of message data to the receiving terminal; wherein, when the service type of the session message is configured to distinguish identity display, the sent message data is used to trigger the receiving terminal to draw a message card including the default message content of the session message, and if the receiving terminal belongs to the target identity category pre-configured for the service type, the default message content in the message card is updated to the target message content; when the service type of the session message is configured to not distinguish identity display, the sent message data is used to trigger the receiving terminal to draw a message card including the original message content of the session message; the initial message content is filtered relative to the target message content to include at least one of sensitive information and target interactive controls.

[0177] S1416, the second terminal receives a session message forwarded by the first terminal. If the service type of the session message is a service activity type and the identity category of the forwarding recipient is a preset target identity category, the target interactive control displayed on the message card is associated with the status of the service activity indicated by the session message. If the service activity is in an unstarted state, the displayed target interactive control is a first target interactive control used to indicate that the service activity has not started. If the service activity is in a started state, the displayed target interactive control is a second target interactive control used to participate in the service activity. If the service activity is in an ended state, the displayed target interactive control is a third target interactive control used to indicate that the service activity has ended.

[0178] In this embodiment, since the message content of the session messages displayed by the terminals of forwarding recipients with different identity categories is different, the session messages can be displayed in a restricted manner based on the identity category, which further reduces the probability of the message content in the session messages being leaked and improves the security of session message forwarding.

[0179] In one specific embodiment, reference is made to Figure 15 The message forwarding method includes the following steps:

[0180] S1502, the server receives the raw message data of the session message sent by the terminal editing the message; the raw message data includes the raw content data.

[0181] S1504, when the service type of the session message is configured to be displayed with distinguished identity, the server determines the pre-configured target default data item corresponding to the service type of the session message; extracts the content data corresponding to the target default data item from the original content data to obtain the default content data.

[0182] S1506, when the business type of the session message is configured to be displayed with distinguished identities, the server obtains the dynamic data configuration file corresponding to the business type of the session message; the dynamic data configuration file contains the dynamic data generation rules corresponding to each identity category; the original content data is edited according to the dynamic data generation rules to obtain the dynamic data content corresponding to each identity category; the dynamic content dataset is obtained by combining the dynamic data content corresponding to each identity category.

[0183] S1508, the server combines the original message data and the default content data to obtain the initial message data for the session message used to draw the initial message card.

[0184] S1510, the server receives message data of a session message forwarded by the message forwarder; sends the message data to the forwarding receiver indicated by the message forwarder; the sent message data is used to draw a message card including the initial message content.

[0185] S1512, the server receives a dynamic content data query request sent by the forwarding receiver's terminal. The dynamic content data query request is sent through the forwarding receiver's second terminal when the message data includes a message update identifier.

[0186] S1514, the server determines the current time and, if the business type of the session message is a business activity type, determines the start and end times of the business activity indicated by the session message; based on the current time and the start and end times, determines the current state of the business activity.

[0187] S1516, The server extracts the identity identifier of the forwarding recipient carried in the dynamic content data query request, and determines the identity category to which the forwarding recipient belongs based on the identity identifier.

[0188] S1518, the server filters out dynamic content data from the pre-generated dynamic content dataset of session messages that corresponds to the identity category of the forwarding recipient and the current state of the business activity.

[0189] S1520, the server sends the found dynamic content data to the forwarding receiver; the sent dynamic content data is used to update the message card with message content that matches the identity category of the forwarding receiver.

[0190] In this embodiment, since the message content of the session messages displayed by the terminals of forwarding recipients with different identity categories is different, the session messages can be displayed in a restricted manner based on the identity category, which further reduces the probability of the message content in the session messages being leaked and improves the security of session message forwarding.

[0191] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0192] This application also provides an application scenario in which the above-described message forwarding method is applied. Specifically, the message forwarding method is applied in this scenario as follows:

[0193] When a meeting initiator creates a meeting through a meeting service platform and enters the meeting time, location, and invited participants (the invited participants can be some or all), the meeting service platform generates a session message for meeting invitations based on the information entered by the meeting initiator and sends the session message to the invited participants' terminals, that is, to the first terminal of the message forwarder. At this time, the first terminal can display the session message in the form of a message card. The message forwarder can selectively forward the session message as needed. For example, when the meeting participants change from a preset specific group to all company members, the message forwarder can forward the session message. Or, if the message forwarder believes that the meeting needs the participation of participants not invited by the meeting initiator, the message forwarder can also forward the session message. When the message forwarder forwards the session message, the message forwarder can select the forwarding recipient and trigger the first terminal to forward the session message to the second terminal corresponding to the forwarding recipient. The second terminal determines the identity category of the forwarding recipient and displays the message content according to the identity category. For example, when the recipient of the forwarded message is an employee outside the company, and the meeting service is pre-set with sensitive information that the employee outside the company is not allowed to view the meeting invitation or click on the target interactive control used to enter the meeting, the second terminal displays a message card with the initial message content of the meeting invitation; when the recipient of the forwarded message is an employee within the company, the second terminal displays a message card with the target message content of the meeting invitation.

[0194] This application also provides another application scenario in which the above-described message forwarding method is applied.

[0195] Specifically, the message forwarding method is applied in this application scenario as follows:

[0196] When a notification initiator creates a notification through the notification service platform and enters notification details, the platform generates a session message based on the information entered and sends it to the terminal of the notification recipient—that is, to the first terminal of the message forwarder. The first terminal can then display the session message as a message card. The message forwarder can selectively forward the session message as needed; for example, when a wider notification is required, the forwarder can forward the received session message. When forwarding the session message, the forwarder can select the recipient and trigger the first terminal to forward the message to the second terminal corresponding to that recipient. When the notification service is pre-configured to display messages without distinguishing between identities, the second terminal can display the received session message, and the message content displayed is consistent with that displayed on the first terminal.

[0197] The above application scenarios are merely illustrative and should not be construed as being limited to these scenarios. It is readily understood that, in addition to forwarding conversation messages displayed as message cards, the above message forwarding method can also be used to forward text, emoticons, links, videos, and so on within a conversation.

[0198] Based on the same inventive concept, this application also provides a message forwarding apparatus for implementing the message forwarding method described above. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, the specific limitations in one or more message forwarding apparatus embodiments provided below can be found in the limitations of the message forwarding method described above, and will not be repeated here.

[0199] In one embodiment, such as Figure 16 As shown, a message forwarding device 1600 is provided, including: a receiver confirmation module 1602, a preview module 1604, and a forwarding response module 1606, wherein:

[0200] The receiver confirmation module 1602 is used to display the initial message card of the session message; when the session message belongs to a service type configured to support message forwarding, it determines the forwarding receiver of the session message in response to the forwarding event of the initial message card.

[0201] The preview module 1604 is used to display the forwarding preview card of the session message; the forwarding preview card includes the initial message content of the session message;

[0202] The forwarding response module 1606 is used to trigger the sending of a session message to the forwarding recipient in response to the preview confirmation event of the forwarding preview card; the forwarded session message is used to distinguish between the initial message content or the target message content when displayed as a message card, according to the identity category of the forwarding recipient; wherein, the initial message content is filtered to include at least one of sensitive information and target interactive controls relative to the target message content.

[0203] In one embodiment, the receiver confirmation module 1602 is further configured to, in response to a trigger operation for displaying a set of operation options for the initial message card, display a set of operation options with forwarding options when the service type of the session message is configured to support message forwarding; and, in response to a selection operation for a forwarding option in the set of operation options, determine the forwarding receiver of the session message.

[0204] In one embodiment, the receiver confirmation module 1602 is further configured to, in response to a trigger operation for displaying a set of operation options for an initial message card, obtain the initial message data corresponding to the initial message card; determine whether the initial message data includes a forwarding identifier; and, if the initial message data includes a forwarding identifier, determine that the service type of the session message is configured to support message forwarding and display a set of operation options with forwarding options.

[0205] In one embodiment, the initial message card of the session message is displayed on the session interface; multiple initial message cards are displayed in the session interface; the message forwarding device 1600 is further configured to, in response to a selection operation on multiple initial message cards in the session interface, display multiple candidate initial message cards selected by the selection operation; in response to a trigger operation for displaying a set of operation options on multiple candidate initial message cards, if there is a target initial message card among the multiple candidate initial message cards whose service type is configured to support message forwarding, display a set of operation options including forwarding operation items; determine the forwarding recipient of the session message; and trigger the forwarding of the target initial message card among the multiple candidate initial message cards to the terminal of the forwarding recipient.

[0206] In one embodiment, the message forwarding device 1600 is also configured to display a special reminder message when there is a restricted initial message card among multiple candidate initial message cards whose service type is configured to not support message forwarding.

[0207] In one embodiment, when the service type of the session message is configured for identity-differentiated display, the initial message content is the default message content; the preview module 1604 is further configured to obtain the initial message data of the session message; when the service type of the session message is configured for identity-differentiated display, the initial message data includes default content data, template data, and original content data associated with the template data; based on the default content data and template data in the initial message data, a forwarding preview card including the default message content of the session message is drawn; the default content data is filtered relative to the original content data to remove at least one of sensitive information and target interactive control data.

[0208] In one embodiment, when the service type of the session message is configured to be displayed without distinguishing identity, the initial message content is the original message content; the initial message data includes template data and original content data associated with the template data; the preview module 1604 is also used to draw a forwarding preview card including the original message content of the session message based on the original content data and template data in the initial message data.

[0209] In one embodiment, the forwarding response module 1606 is further configured to, in response to a preview confirmation event of the forwarding preview card, obtain the initial message data of the session message and generate the message data of the session message based on the initial message data; trigger the forwarding of the message data to the terminal of the forwarding recipient; wherein, when the service type of the session message is configured to distinguish identity display, the sent message data is used to trigger the terminal of the forwarding recipient to draw a message card including the default message content of the session message, and if the forwarding recipient belongs to the target identity category pre-configured for the service type, update the default message content in the message card to the target message content; when the service type of the session message is configured to not distinguish identity display, the sent message data is used to trigger the terminal of the forwarding recipient to draw a message card including the original message content of the session message.

[0210] In one embodiment, the message forwarding device 1600 is further configured to forward session messages; when the service type of the session message is a service activity type, the target interactive control displayed on the message card is associated with the state of the service activity indicated by the session message; when the service activity is in an unstarted state, the displayed target interactive control is a first target interactive control indicating that the service activity has not started; when the service activity is in a started state, the displayed target interactive control is a second target interactive control for participating in the service activity; and when the service activity is in an ended state, the displayed target interactive control is a third target interactive control indicating that the service activity has ended.

[0211] In one embodiment, such as Figure 17As shown, a message forwarding device 1700 is provided, including: a data forwarding module 1702, a dynamic content data acquisition module 1704, and a dynamic content data sending module 1706, wherein:

[0212] The data forwarding module 1702 is used to receive message data of a session message forwarded by the message forwarder; when the service type of the session message is configured to be displayed with distinguished identity, the message data includes a message update identifier; send the message data to the forwarding receiver indicated by the message forwarder; the sent message data is used to draw a message card including the initial message content;

[0213] The dynamic content data acquisition module 1704 is used to find dynamic content data that matches the identity category of the forwarding recipient when the message data includes a message update identifier.

[0214] The dynamic content data sending module 1706 is used to send the found dynamic content data to the forwarding receiver; the sent dynamic content data is used to update the message card with message content that matches the identity category of the forwarding receiver.

[0215] In one embodiment, the message forwarding device 1700 further includes a data generation module 1708, which is used to receive the original message data of the session message sent by the terminal of the message editor; the original message data includes original content data; when the service type of the session message is configured to be displayed with distinguished identity, the module generates default content data and dynamic content dataset corresponding to the session message based on the original content data; and combines the original message data and the default content data to obtain the initial message data of the session message used to draw the initial message card.

[0216] In one embodiment, the data generation module 1708 is further configured to determine a pre-configured target default data item corresponding to the service type of the session message; and extract content data corresponding to the target default data item from the original content data to obtain default content data.

[0217] In one embodiment, the data generation module 1708 is further configured to obtain a dynamic data configuration file corresponding to the business type of the session message; the dynamic data configuration file contains dynamic data generation rules corresponding to each identity category; the original content data is edited according to the dynamic data generation rules to obtain dynamic data content corresponding to each identity category; and the dynamic content corresponding to each identity category is combined to obtain a dynamic content dataset.

[0218] In one embodiment, the dynamic content data acquisition module 1704 is further configured to receive a dynamic content data query request sent by the terminal of the forwarding receiver; extract the identity identifier of the forwarding receiver carried in the dynamic content data query request, and determine the identity category to which the forwarding receiver belongs based on the identity identifier; and filter out the dynamic content data corresponding to the identity category to which the forwarding receiver belongs from the pre-generated dynamic content dataset of the session message.

[0219] In one embodiment, the dynamic content data acquisition module 1704 is further configured to determine the current time, and if the business type of the session message is a business activity type, determine the start and end time of the business activity indicated by the session message; determine the current state of the business activity based on the current time and the start and end time; and filter out dynamic content data from the pre-generated dynamic content dataset of the session message that corresponds to both the identity category of the forwarding receiver and the current state of the business activity.

[0220] Each module in the aforementioned message forwarding device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.

[0221] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 18 As shown, this computer device includes a processor, memory, input / output interfaces (I / O), and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores message forwarding data. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements a message forwarding method.

[0222] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 19As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements a message forwarding method. The display unit of the computer device is used to form a visually visible image. It can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0223] Those skilled in the art will understand that Figures 18-19 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0224] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.

[0225] In one embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0226] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, causing the computer device to perform the steps in the above method embodiments.

[0227] It should be noted that the user information (including but not limited to user device information, user personal information, meeting information, notification information, message content, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0228] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0229] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0230] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A message forwarding method, characterized in that, The method includes: Display the initial message card for the session; If the session message belongs to a service type configured to support message forwarding, the forwarding recipient of the session message is determined in response to the forwarding event for the initial message card. Displays a forwarding preview card of the session message; the forwarding preview card includes the initial message content of the session message; In response to the preview confirmation event of the forwarding preview card, the session message is sent to the forwarding recipient; the forwarded session message is used to distinguish and display either the initial message content or the target message content according to the identity category of the forwarding recipient when displayed as a message card; The initial message content is filtered relative to the target message content, filtering out at least one of sensitive information and target interactive controls; The initial message content is either the default message content or the original message content; the step of triggering the sending of the session message to the forwarding recipient in response to the preview confirmation event of the forwarding preview card includes: In response to a preview confirmation event for the forwarding preview card, the initial message data of the session message is obtained, and the message data of the session message is generated based on the initial message data; Trigger the forwarding of the message data to the terminal of the forwarding recipient; Wherein, when the service type of the session message is configured to distinguish identity display, the sent message data is used to trigger the terminal of the forwarding receiver to draw a message card including the default message content of the session message, and when the forwarding receiver belongs to the target identity category pre-configured for the service type, the default message content in the message card is updated to the target message content; When the service type of the session message is configured to display without distinguishing identity, the sent message data is used to trigger the terminal of the forwarding recipient to draw a message card including the original message content of the session message.

2. The method according to claim 1, characterized in that, When the session message belongs to a service type configured to support message forwarding, in response to a forwarding event for the initial message card, determining the forwarding recipient of the session message includes: In response to a trigger operation for displaying a set of operation options for the initial message card, if the service type of the session message is configured to support message forwarding, a set of operation options with forwarding options is displayed. In response to the selection operation of the forwarding option in the set of operation options, the forwarding recipient of the session message is determined.

3. The method according to claim 2, characterized in that, The trigger operation for displaying a set of operation options in response to the initial message card, when the service type of the session message is configured to support message forwarding, includes the following set of operation options with forwarding options: In response to a trigger operation for displaying a set of operation options for the initial message card, the initial message data corresponding to the initial message card is obtained; Determine whether the initial message data includes a forwarding identifier; If the initial message data includes a forwarding identifier, the service type of the session message is determined to be configured to support message forwarding, and a set of operation options with forwarding options is displayed.

4. The method according to claim 2, characterized in that, The initial message card of the session is displayed on the session interface; the session interface displays multiple initial message cards; The trigger operation for displaying a set of operation options in response to the initial message card, when the service type of the session message is configured to support message forwarding, displays a set of operation options with forwarding options, including: In response to a selection operation on multiple initial message cards in the session interface, multiple candidate initial message cards selected by the selection operation are displayed; In response to a triggering operation for displaying a set of operation options for the plurality of candidate initial message cards, if there is a target initial message card among the plurality of candidate initial message cards whose service type is configured to support message forwarding, a set of operation options including forwarding operation items is displayed. The triggering of sending the session message to the forwarding receiver includes: Trigger the forwarding of the target initial message card from the plurality of candidate initial message cards to the terminal of the forwarding receiver.

5. The method according to claim 4, characterized in that, Before triggering the sending of the session message to the forwarding receiver, the method further includes: If, among the multiple candidate initial message cards, there is a restricted initial message card whose service type is configured to not support message forwarding, a special reminder message will be displayed.

6. The method according to claim 1, characterized in that, When the service type of the session message is configured to be displayed with distinguished identity, the initial message content is the default message content; The forwarding preview card that displays the session messages includes: Obtain the initial message data of the session message; when the service type of the session message is configured to be displayed with distinguished identity, the initial message data includes default content data, template data and original content data associated with the template data; Based on the default content data and template data in the initial message data, a forwarding preview card including the default message content of the session message is drawn; the default content data is filtered relative to the original content data to include at least one of sensitive information and target interactive control data.

7. The method according to claim 6, characterized in that, When the service type of the session message is configured to display without distinguishing identity, the initial message content is the original message content; The initial message data includes template data and original content data associated with the template data; the method further includes: Based on the original content data and template data in the initial message data, a forwarding preview card including the original message content of the session message is drawn.

8. The method according to claim 1, characterized in that, The term "session" refers to a conversation between at least two users.

9. The method according to claim 1, characterized in that, When the business type of the session message is a business activity type, the target interactive control displayed on the message card is associated with the status of the business activity indicated by the session message; when the business activity is in a non-started state, the displayed target interactive control is a first target interactive control used to indicate that the business activity has not started; when the business activity is in a started state, the displayed target interactive control is a second target interactive control used to participate in the business activity; when the business activity is in a ended state, the displayed target interactive control is a third target interactive control used to indicate that the business activity has ended.

10. A message forwarding method, characterized in that, The method further includes: Message data received from a message forwarder; when the service type of the session message is configured for identity-differentiated display, the message data includes a message update identifier; the message data is generated by the message forwarder in response to a preview confirmation event of the forwarding preview card of the session message, obtaining the initial message data of the session message, and based on the initial message data. The message data is sent to the forwarding receiver indicated by the message forwarder; the sent message data is used to draw a message card including the initial message content; when the service type of the session message is configured to distinguish between identities, the initial message content is the default message content; when the service type of the session message is configured to display without distinguishing between identities, the initial message content is the original message content. If the message data includes a message update identifier, search for dynamic content data that matches the identity category of the forwarding recipient; The found dynamic content data is sent to the forwarding recipient; the sent dynamic content data is used to update the message card with message content that matches the identity category of the forwarding recipient; if the forwarding recipient belongs to the target identity category pre-configured for the service type, the message content that matches the identity category of the forwarding recipient is a message card with the target message content of the session message; the initial message content is filtered relative to the target message content to filter at least one of sensitive information and target interactive controls.

11. The method according to claim 10, characterized in that, Before the message data of the session message forwarded by the receiving message forwarder, the method further includes: The original message data of the session message sent by the terminal that edits the message; the original message data includes the original content data; When the service type of the session message is configured to be displayed with distinguished identity, default content data and dynamic content dataset corresponding to the session message are generated based on the original content data. By combining the original message data and the default content data, the initial message data of the session message used to draw the initial message card is obtained.

12. The method according to claim 11, characterized in that, The step of generating default content data and dynamic content datasets corresponding to the session messages based on the original content data includes: Determine the pre-configured target default data item corresponding to the service type of the session message; The default content data is obtained by extracting the content data corresponding to the target default data item from the original content data.

13. The method according to claim 12, characterized in that, The generation process of the dynamic content dataset includes: Obtain a dynamic data configuration file corresponding to the service type of the session message; the dynamic data configuration file contains the dynamic data generation rules corresponding to each identity category; The original content data is edited according to the dynamic data generation rules to obtain the dynamic data content corresponding to each identity category; By combining the dynamic data content corresponding to each identity category, a dynamic content dataset is obtained.

14. The method according to claim 11, characterized in that, The process of finding dynamic content data that matches the identity category of the forwarding recipient includes: Receive dynamic content data query requests sent by the terminal of the forwarding receiver; Extract the identity identifier of the forwarding recipient carried in the dynamic content data query request, and determine the identity category to which the forwarding recipient belongs based on the identity identifier; Dynamic content data corresponding to the identity category of the forwarding recipient is filtered from the pre-generated dynamic content dataset of the session messages.

15. The method according to claim 14, characterized in that, The method further includes: Determine the current time, and if the service type of the session message is a service activity type, determine the start and end times of the service activity indicated by the session message; The current state of the business activity is determined based on the current time and the start and end times; The step of filtering dynamic content data corresponding to the identity category of the forwarding recipient from the pre-generated dynamic content dataset of the session messages includes: From the pre-generated dynamic content dataset of the session messages, dynamic content data that corresponds to both the identity category of the forwarding recipient and the current state of the business activity is selected.

16. A message forwarding device, characterized in that, The device includes: The receiver confirmation module is used to display the initial message card of the session message; when the session message belongs to a service type configured to support message forwarding, it determines the forwarding receiver of the session message in response to a forwarding event for the initial message card. A preview module is used to display a forwarding preview card of the session message; the forwarding preview card includes the initial message content of the session message; A forwarding response module is used to trigger the sending of the session message to the forwarding recipient in response to a preview confirmation event of the forwarding preview card; the forwarded session message is used to display either the initial message content or the target message content according to the identity category of the forwarding recipient when displayed as a message card; wherein, the initial message content is filtered relative to the target message content to at least one of sensitive information and target interactive controls; the initial message content is either the default message content or the original message content; The forwarding response module is further configured to, in response to a preview confirmation event of the forwarding preview card, obtain the initial message data of the session message, and generate the message data of the session message based on the initial message data; trigger the forwarding of the message data to the terminal of the forwarding recipient; wherein, when the service type of the session message is configured to distinguish between identities, the sent message data is used to trigger the terminal of the forwarding recipient to draw a message card including the default message content of the session message, and if the forwarding recipient belongs to the target identity category pre-configured for the service type, update the default message content in the message card to the target message content; when the service type of the session message is configured to not distinguish between identities, the sent message data is used to trigger the terminal of the forwarding recipient to draw a message card including the original message content of the session message.

17. The apparatus according to claim 16, characterized in that, The receiver confirmation module is also configured to respond to a trigger operation for displaying a set of operation options for the initial message card, and to display a set of operation options with forwarding options when the service type of the session message is configured to support message forwarding. In response to the selection operation of the forwarding option in the set of operation options, the forwarding recipient of the session message is determined.

18. The apparatus according to claim 17, characterized in that, The receiver confirmation module is further configured to, in response to a trigger operation for displaying a set of operation options for the initial message card, obtain the initial message data corresponding to the initial message card; determine whether the initial message data includes a forwarding identifier; and, if the initial message data includes a forwarding identifier, determine that the service type of the session message is configured to support message forwarding and display a set of operation options with forwarding options.

19. The apparatus according to claim 17, characterized in that, The initial message card of the session message is displayed on the session interface; multiple initial message cards are displayed in the session interface; the message forwarding device is also used to respond to a selection operation on multiple initial message cards in the session interface and display multiple candidate initial message cards selected by the selection operation. In response to a trigger operation for displaying a set of operation options for the plurality of candidate initial message cards, if there is a target initial message card among the plurality of candidate initial message cards whose service type is configured to support message forwarding, a set of operation options including forwarding operation items is displayed; and the target initial message card among the plurality of candidate initial message cards is triggered to be forwarded to the terminal of the forwarding recipient.

20. The apparatus according to claim 19, characterized in that, The message forwarding device is also used to display a special reminder message when there is a restricted initial message card among the plurality of candidate initial message cards whose service type is configured to not support message forwarding.

21. The apparatus according to claim 16, characterized in that, When the service type of the session message is configured to be displayed with distinguished identities, the initial message content is the default message content; the preview module is also used to obtain the initial message data of the session message; when the service type of the session message is configured to be displayed with distinguished identities, the initial message data includes default content data, template data and original content data associated with the template data; Based on the default content data and template data in the initial message data, draw a forwarding preview card that includes the default message content of the session message; The default content data, relative to the original content data, filters out at least one of sensitive information and target interactive control data.

22. The apparatus according to claim 21, characterized in that, When the service type of the session message is configured to be displayed without distinguishing identity, the initial message content is the original message content; the initial message data includes template data and original content data associated with the template data; the preview module is also used to draw a forwarding preview card including the original message content of the session message based on the original content data and template data in the initial message data.

23. The apparatus according to claim 16, characterized in that, When the business type of the session message is a business activity type, the target interactive control displayed on the message card is associated with the status of the business activity indicated by the session message; when the business activity is in a non-started state, the displayed target interactive control is a first target interactive control used to indicate that the business activity has not started; when the business activity is in a started state, the displayed target interactive control is a second target interactive control used to participate in the business activity; when the business activity is in a ended state, the displayed target interactive control is a third target interactive control used to indicate that the business activity has ended.

24. A message forwarding device, characterized in that, The device includes: A data forwarding module is used to receive message data of a session message forwarded by a message forwarder; when the service type of the session message is configured for identity-based display, the message data includes a message update identifier; the message data is sent to the forwarding receiver indicated by the message forwarder; the sent message data is used to draw a message card including initial message content; the message data is generated by the message forwarder in response to a preview confirmation event of the forwarding preview card of the session message, obtaining the initial message data of the session message, and based on the initial message data; when the service type of the session message is configured for identity-based display, the initial message content is the default message content; when the service type of the session message is configured for non-identity-based display, the initial message content is the original message content. The dynamic content data acquisition module is used to search for dynamic content data that matches the identity category of the forwarding recipient when the message data includes a message update identifier; A dynamic content data sending module is used to send the found dynamic content data to the forwarding recipient; the sent dynamic content data is used to update the message card with message content that matches the identity category of the forwarding recipient; when the forwarding recipient belongs to the target identity category pre-configured for the service type, the message content that matches the identity category of the forwarding recipient is a message card with the target message content of the session message; the initial message content is filtered relative to the target message content to include at least one of sensitive information and target interactive controls.

25. The apparatus according to claim 24, characterized in that, The message forwarding device further includes a data generation module for receiving raw message data of a session message sent by the terminal of the message editor; the raw message data includes raw content data; when the service type of the session message is configured to be identity-distinguished display, a default content data and a dynamic content dataset corresponding to the session message are generated based on the raw content data; the raw message data and the default content data are combined to obtain the initial message data of the session message used to draw the initial message card.

26. The apparatus according to claim 25, characterized in that, The data generation module is further configured to determine a pre-configured target default data item corresponding to the service type of the session message; and to extract content data corresponding to the target default data item from the original content data to obtain default content data.

27. The apparatus according to claim 25, characterized in that, The data generation module is also used to obtain a dynamic data configuration file corresponding to the business type of the session message; the dynamic data configuration file contains dynamic data generation rules corresponding to each identity category; the original content data is edited according to the dynamic data generation rules to obtain dynamic data content corresponding to each identity category; By combining the dynamic data content corresponding to each identity category, a dynamic content dataset is obtained.

28. The apparatus according to claim 24, characterized in that, The dynamic content data acquisition module is also used to receive a dynamic content data query request sent by the terminal of the forwarding recipient; extract the identity identifier of the forwarding recipient carried in the dynamic content data query request; and determine the identity category to which the forwarding recipient belongs based on the identity identifier. Dynamic content data corresponding to the identity category of the forwarding recipient is filtered from the pre-generated dynamic content dataset of the session messages.

29. The apparatus according to claim 28, characterized in that, The dynamic content data acquisition module is also used to determine the current time, and, if the business type of the session message is a business activity type, to determine the start and end time of the business activity indicated by the session message; The current state of the business activity is determined based on the current time and the start and end times; From the pre-generated dynamic content dataset of the session messages, dynamic content data that corresponds to both the identity category of the forwarding recipient and the current state of the business activity is selected.

30. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 9 or 10 to 15.

31. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 9 or 10 to 15.

32. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program performs the steps of the method according to any one of claims 1 to 9 or 10 to 15.

Citation Information

Patent Citations

  • Group message processing method and device and server

    CN110120908A

  • Information processing method and device based on group alliance and computer equipment

    CN113014472A