CN112286608B - Message forwarding method and device, computer equipment and storage medium - Google Patents

Message forwarding method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN112286608B
CN112286608B CN202011169019.0A CN202011169019A CN112286608B CN 112286608 B CN112286608 B CN 112286608B CN 202011169019 A CN202011169019 A CN 202011169019A CN 112286608 B CN112286608 B CN 112286608B
Authority
CN
China
Prior art keywords
session
message
forwarded
target
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011169019.0A
Other languages
Chinese (zh)
Other versions
CN112286608A (en
Inventor
黄铁鸣
赵禹
顾华阳
林莉
李斌
文孝木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202011169019.0A priority Critical patent/CN112286608B/en
Publication of CN112286608A publication Critical patent/CN112286608A/en
Application granted granted Critical
Publication of CN112286608B publication Critical patent/CN112286608B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Abstract

The application relates to a message forwarding method, a message forwarding device, computer equipment and a storage medium. The method can carry out secondary confirmation on the forwarded content when the message is forwarded, avoids mistakenly sending the message, improves the safety of the message and protects the privacy of a user, and comprises the following steps: determining a message to be forwarded; displaying a forwarding confirmation interface containing a target session identifier and a message to be forwarded preview area; responding to the viewing operation aiming at the message to be forwarded previewing area, and displaying a content detail page corresponding to the message to be forwarded; and responding to the triggered forwarding operation, and sending the message to be forwarded to the target session corresponding to the target session identifier.

Description

Message forwarding method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a message forwarding method and apparatus, a computer device, and a storage medium.
Background
With the development of internet technology, social applications are widely used by users, and users using the social applications can interact information by using the social applications, for example, users can communicate instantly, share content, publish media resources, even shop, and the like through the social applications.
A user may forward a wide variety of content, such as text, emotions, links, and video, etc., in the form of a conversational message to other users through a social application. However, the current way to forward a message to others is to directly forward the message to another person after the message to be forwarded is selected and a forwarding object is selected. According to the forwarding mode, a user can easily send messages by mistake in the operation process, great inconvenience is caused to the user, and information leakage is easily caused.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a message forwarding method, an apparatus, a computer device, and a storage medium, which can improve the security of a message in the forwarding process.
A method of message forwarding, the method comprising:
determining a message to be forwarded;
displaying a forwarding confirmation interface containing a target session identifier and a message to be forwarded preview area;
responding to the viewing operation aiming at the message to be forwarded preview area, and displaying a content detail page corresponding to the message to be forwarded;
and responding to the triggered forwarding operation, and sending the message to be forwarded to the target session corresponding to the target session identifier.
In one embodiment, the determining the message to be forwarded comprises:
displaying a media resource browsing interface, wherein the media resource browsing interface comprises published media resources;
acquiring media resource forwarding operation triggered in the media resource browsing interface;
and responding to the media resource forwarding operation, and taking the link corresponding to the media resource as a message to be forwarded.
In one embodiment, the determining the message to be forwarded comprises:
displaying a session interface of a current session, wherein the session interface comprises session information of the current session;
and acquiring the session message selected from the session interface of the current session as the message to be forwarded.
In an embodiment, the acquiring the session message selected from the session interface of the current session as the message to be forwarded includes:
acquiring a session message forwarding operation triggered in the session interface of the current session;
and responding to the session message forwarding operation, and taking the session message as a message to be forwarded.
In one embodiment, after the determining that the message is to be forwarded, the method further comprises:
displaying a target selection interface, wherein the target selection interface comprises a historical conversation list;
acquiring sessions selected from the historical session list;
and taking the selected session as a target session.
In one embodiment, after the determining that the message is to be forwarded, the method further comprises:
displaying a target selection interface, wherein the target selection interface comprises a session creation control;
acquiring a trigger operation aiming at the session creation control;
displaying a session object list according to the triggering operation;
acquiring a session object selected from the session object list;
and the selected session object is used for indicating that a target session corresponding to the session object is created when the triggered forwarding operation is acquired.
In one embodiment, the message content of the message to be forwarded is a picture, and the displaying the content detail page corresponding to the message to be forwarded includes:
acquiring image data corresponding to the picture;
and rendering and displaying a content detail page comprising the picture according to the image data.
In one embodiment, the message content of the message to be forwarded is a picture, and the displaying the content detail page corresponding to the message to be forwarded includes:
acquiring image data corresponding to the picture;
and rendering and displaying a content detail page comprising the picture according to the image data.
In one embodiment, the message content of the message to be forwarded is a video, and the displaying the content detail page corresponding to the message to be forwarded includes:
acquiring video data corresponding to the video;
and rendering and displaying a content detail page comprising the playing picture of the video according to the video data.
In one embodiment, the method further comprises:
and when the viewing operation aiming at the target session identifier is acquired in the forwarding confirmation interface, displaying a session detail page, wherein the session detail page is used for displaying the session message of the target session.
In one embodiment, the displaying the session detail page includes:
acquiring a session message of the target session according to the target session identifier;
and rendering and displaying a session detail page according to the session message of the target session.
In one embodiment, the method further comprises:
acquiring a sliding operation triggered in the session detail page;
and scrolling and displaying the session message of the target session in the session detail page according to the sliding operation.
In one embodiment, the target session is a group session, the forwarding confirmation interface further includes a group avatar of the group session, and the method further includes:
and when the viewing operation aiming at the group head portrait is acquired in the forwarding confirmation interface, displaying a member detail page, wherein the member detail page is used for displaying the conversation members of the group conversation.
In one embodiment, after the sending the message to be forwarded to the target session corresponding to the target session identifier, the method further includes:
skipping from the forwarding confirmation interface back to the session interface of the current session; or
And jumping back to the session interface of the target session from the forwarding confirmation interface.
In one embodiment, the method further comprises:
acquiring session information of the target session and attribute information of the target session;
determining the matching degree between the message to be forwarded and the target session according to the session message of the target session, the attribute information and the message content of the message to be forwarded;
and displaying the matching degree in the forwarding confirmation interface.
A message forwarding apparatus, the apparatus comprising:
the determining module is used for determining the message to be forwarded;
the first display module is used for displaying a forwarding confirmation interface containing a target session identifier and a message to be forwarded preview area;
the second display module is used for responding to the viewing operation aiming at the preview area of the message to be forwarded and displaying a content detail page corresponding to the message to be forwarded;
and the sending module is used for responding to the triggered forwarding operation and sending the message to be forwarded to the target session corresponding to the target session identifier.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
determining a message to be forwarded;
displaying a forwarding confirmation interface containing a target session identifier and a message to be forwarded preview area;
responding to the viewing operation aiming at the message to be forwarded preview area, and displaying a content detail page corresponding to the message to be forwarded;
and responding to the triggered forwarding operation, and sending the message to be forwarded to the target session corresponding to the target session identifier.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
determining a message to be forwarded;
displaying a forwarding confirmation interface containing a target session identifier and a message to be forwarded preview area;
responding to the viewing operation aiming at the message to be forwarded preview area, and displaying a content detail page corresponding to the message to be forwarded;
and responding to the triggered forwarding operation, and sending the message to be forwarded to the target session corresponding to the target session identifier.
After determining the message to be forwarded, the message forwarding method, the message forwarding device, the computer device and the storage medium display a forwarding confirmation interface, where the forwarding confirmation interface includes a target session identifier of a target session to which the message to be forwarded is to be forwarded and a message preview area to be forwarded, a user can not only confirm a forwarding object according to the target session identifier, but also further view content details of the message to be forwarded according to the message preview area to be forwarded, that is, when obtaining a viewing operation of the message preview area to be forwarded in the forwarding confirmation interface, a content detail page corresponding to the message to be forwarded is displayed, the user can perform secondary confirmation on message content of the message to be forwarded through the content page, and after confirmation, the message to be forwarded can be sent to the target session through a triggered forwarding operation, so as to reduce the probability of message missending by the user, and the safety of the message to be forwarded is improved.
Drawings
FIG. 1 is a diagram of an application environment of a message forwarding method in one embodiment;
FIG. 2 is a flow diagram illustrating a message forwarding method according to an embodiment;
FIG. 3 is a schematic diagram of a forward acknowledgement interface in one embodiment;
FIG. 4 is a diagram of a content detail page in one embodiment;
FIG. 5 is a schematic diagram of a content detail page in another embodiment;
FIG. 6 is a schematic diagram of a content detail page in yet another embodiment;
FIG. 7 is a diagram of a member details page in one embodiment;
fig. 8 is a flowchart illustrating a message forwarding method in a specific embodiment;
FIG. 9 is a timing diagram illustrating forwarding of a message to a single chat session in one embodiment;
FIG. 10 is a timing diagram illustrating the forwarding of messages to a group session in one embodiment;
FIG. 11 is a block diagram of a message forwarding apparatus in one embodiment;
FIG. 12 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The message forwarding method provided by the application can be applied to the application environment shown in fig. 1. The terminals 102 may communicate with each other through the server 104, and the terminals 102 and the server 104 may be directly or indirectly connected through wired or wireless communication. Specifically, the terminal 102 may determine a message to be forwarded; displaying a forwarding confirmation interface containing a target session identifier and a message to be forwarded preview area; responding to the viewing operation aiming at the message to be forwarded previewing area, and displaying a content detail page corresponding to the message to be forwarded; and responding to the triggered forwarding operation, and sending the message to be forwarded to the target session corresponding to the target session identifier.
Optionally, the first terminal used by the first user forwards the message to be forwarded to the second terminal used by the second user through the message forwarding method, specifically, the first terminal may send the message to be forwarded to the server, and then send the message to the second terminal through the server, after sending the message to be forwarded, the first terminal may further display a session interface for performing a session with the second user, that is, a session interface of a target session, and display the forwarded message in the session interface of the target session. Optionally, the second terminal used by the second user receives the message to be forwarded, displays a session interface for performing a session with the first user through the second terminal, and displays the message forwarded by the first terminal in the session interface.
The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud services, a cloud database, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content distribution services, and big data and artificial intelligence platforms. The terminal may be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and the like. The terminal 102 and the server 104 may be directly or indirectly connected through wired or wireless communication, and the application is not limited thereto.
In one embodiment, the terminal 102 runs a social application, which is an application for performing network social interaction based on a social network, and the social application generally has a contact search function and an instant messaging function, and may further have a User Generated Content (UGC) sharing function and a UGC comment function. The Social application may be an instant messaging application or an SNS (Social Network Sites) application, or the like. The message forwarding method provided by the embodiment of the application can be executed through a social application running on the terminal.
In an embodiment, as shown in fig. 2, a message forwarding method is provided, which is described by taking the application of the method to the terminal in fig. 1 as an example, and includes the following steps:
step 202, determining a message to be forwarded.
The message to be forwarded is the message to be forwarded to the target session, and the message to be forwarded is sent to the target session in the form of the session message, so that the message to be forwarded is transmitted to the session object corresponding to the target session. For example, a first user may open a session with a second user through a social application running in a first terminal, forward a message to the second user through the session, and when the communication status of the second user is online, the message may be pushed to a second terminal used by the second user as an online message, and when the communication status of the second user is offline, the message may be pushed to the second terminal used by the second user as an offline message. Similarly, the first terminal may also receive, through a conversation with the second user, a message sent by the second user through a social application running on the second terminal.
The message content of the message to be forwarded may be various, specifically, the message content of the message to be forwarded may be a text, a symbol, a static expression, a dynamic expression, a video content or a link, and the link may be a link shared within a social application or a link shared from another application; the link may be a link for locating a media resource, and may be used to open a corresponding media resource browse page; the link may also be a link for locating an online shopping page, which may be used to open the corresponding online shopping page, and a link for locating a download page, which may be used to open the corresponding download page.
Specifically, various message contents displayed on the terminal can be transferred between users in the form of session messages through the session, for example, various contents displayed in a social application running on the terminal can be transferred between users in the form of session messages, and links of various pages displayed by a shopping application running on the terminal can also be sent to a target session in the form of session messages through the session.
In one embodiment, the message to be forwarded may be a session message in a session interface, for example, a link including a media resource in the session interface, which may be directly forwarded to the target session as a session message in the session interface, and for example, a video in the session interface, which may be forwarded to the target session as a session message.
Specifically, step 202, determining a message to be forwarded, includes: displaying a session interface of the current session, wherein the session interface comprises session information of the current session; and acquiring the session message selected from the session interface of the current session as the message to be forwarded.
The current session is a session between the current user and a session object, and the current user can forward session messages in the current session to a target session. The current session may be a single chat session or a group session. Specifically, after entering the current session, the terminal displays a session interface of the current session, where the session interface includes at least one piece of session information of the current session, and a user can browse session messages in the current session by sliding the session interface and select messages to be forwarded to a target session from the current session.
In one embodiment, the obtaining of the session message selected from the session interface of the current session as the message to be forwarded includes: acquiring a session message forwarding operation triggered in a session interface of a current session; and responding to the session message forwarding operation, and taking the session message as a message to be forwarded.
The session message forwarding operation may be at least one of a click operation, a double click operation, a long press operation, and the like for the session message in the session interface. For example, after the terminal obtains a long-press operation for the session message to be forwarded, which is triggered in the session interface by the user, an operation menu popup for the session message is displayed, the operation menu popup includes a plurality of operations for the session message, including but not limited to a forwarding operation, a copying operation, a collecting operation, a deleting operation, a referring operation, a multi-selection operation, and the like, and when the user selects the forwarding operation, the terminal takes the session message as the message to be forwarded.
In practical applications, the current user may forward one or more session messages in the current session to the target session. The terminal can also acquire that the user selects a plurality of session messages from the session interface, and the plurality of session messages are merged and forwarded to the target session. For example, after the terminal obtains a long-press operation triggered in the session interface by the user for the session message to be forwarded, an operation menu popup for the session message is displayed, after the user selects a multi-selection operation in the operation menu popup, all session message lists in the session interface are displayed, and after the user selects a plurality of session messages from the session message lists, the terminal can combine and forward the selected plurality of session messages.
In one embodiment, the message to be forwarded may be a link generated from a media resource. When the current user wants to forward the browsed media resource to the target session, the link of the media resource can be sent to the target session as a waiting message. For example, the terminal may display a media resource browsing interface, obtain a corresponding link according to a forwarding operation triggered by the user in the media resource browsing interface, and forward the link to the target session, where the media resource is generally various user-generated contents, such as news, articles, music, videos, and the like.
Specifically, step 202, determining the message to be forwarded, may include: displaying a media resource browsing interface, wherein the media resource browsing interface comprises published media resources; acquiring media resource forwarding operation triggered in a media resource browsing interface; and responding to the forwarding operation of the media resource, and taking the link corresponding to the media resource as a message to be forwarded.
The terminal may display a media asset browsing interface including published media assets, and the media assets may be articles including at least one of pictures, videos, or music. The media resource browsing interface also comprises a control for forwarding the media resource, a user can trigger the forwarding operation of the media resource by clicking the control, and when the terminal acquires the forwarding operation, the link corresponding to the media resource is used as a message to be forwarded.
In one embodiment, the media resource link may also be generated by the first application, and the media resource link is sent to the target session in the second application as the message to be forwarded according to the operation of the user.
In one embodiment, the media asset browsing interface is displayed after the user clicks on the link to the media asset. Optionally, as mentioned above, the link may be a link in a session, for example, after the current user clicks the link displayed in the session interface of a certain session, the terminal displays a browsing interface of the media resource corresponding to the link, and the current user may trigger a forwarding operation in the browsing interface, so as to forward the link corresponding to the media resource to the target session in the form of a session message. Optionally, the link may also be a link posted in a social circle of the social application, after the current user clicks the link displayed in the social circle, the terminal displays a browsing interface of the media resource corresponding to the link, and the current user may trigger a forwarding operation in the browsing interface, so that the link corresponding to the media resource is forwarded to the target session in the form of a session message. In one embodiment, the media resource browsing interface may also be displayed after the user clicks on a title of a media resource published by a public account, which is an account used for publishing the media resource in the social application, and may be, for example, a public number, a subscription number, a video number, and the like. After a user clicks the title of a media resource published by a public account, a terminal displays a browsing interface of the media resource published by the public account, and the current user can trigger forwarding operation in the browsing interface, so that a link corresponding to the media resource is forwarded to a target session in the form of a session message.
In one embodiment, the message to be forwarded may be generated by a link to an online shopping interface. When the current user wants to forward the browsed shopping page to the target session, the link of the shopping page can be sent to the target session as a message to be forwarded. For example, the terminal may display an online shopping interface, and obtain a corresponding link according to a forwarding operation triggered by the user in the online shopping interface and forward the link to the target session.
In a specific application scenario, a user can open an online shopping application, the online shopping application displays a commodity information interface, and a link corresponding to the commodity information interface is forwarded to a target session in a social application according to a forwarding operation triggered by the user.
Step 204, displaying a forwarding confirmation interface containing the target session identifier and the message to be forwarded preview area.
The target session is a session to which a session message is to be forwarded, and the target session may be a session between a current user and any one session object. The target session may be a current session, a session in a history session list, or a temporarily created session with a new session object. For example, when the session message to be forwarded is a session message obtained from the current session, the current user may forward the session message to a session with another session object and may also forward the session message to the current session. For another example, if the message to be forwarded is generated according to the content in the social circle or the public account, the current user may forward the message to be forwarded as a session message to a session with any one of the session objects. The target session identifier is an identifier corresponding to the target session, and may be represented by a session avatar or a session name of the target session.
The message to be forwarded previewing area is an area for previewing the message to be forwarded, and previewing content of the message to be forwarded can be displayed through the area, for example, if the message to be forwarded is a picture, a corresponding thumbnail can be displayed through the area; if the message to be forwarded is a link, the title of the page corresponding to the link can be displayed through the area; if the message to be forwarded is a video, the video cover can be displayed through the area. Therefore, the user can confirm the message to be forwarded through the preview area, and the wrong message is prevented from being forwarded.
And sending the message to be forwarded to the target session, wherein the target session to which the message is to be forwarded needs to be determined.
In some embodiments, the target session may be determined through the forwarding confirmation interface, for example, a user may input a session identifier of the target session in the forwarding confirmation interface, so as to determine the corresponding target session, and for example, a session list or a session object list may be pulled up according to a trigger operation of the user in the forwarding confirmation interface, so as to facilitate the user to select the corresponding target session.
In other embodiments, the target session may be determined before the forwarding confirmation interface is displayed, for example, before step 204, a step of determining a target session corresponding to the message to be forwarded may be further included. Specifically, after determining the message to be forwarded, the terminal may determine, according to the session object of the current user, a session to be forwarded with any one session object, as a target session.
In one embodiment, determining a target session corresponding to a message to be forwarded includes: displaying a target selection interface, wherein the target selection interface comprises a historical conversation list; acquiring sessions selected from a historical session list; and taking the selected conversation as a target conversation to be forwarded to the message to be forwarded.
The target selection interface is used for selecting a target session, and the current user can determine the target session corresponding to the message to be forwarded according to the target selection interface. After the message to be forwarded is acquired, the terminal can display a target selection interface, and the target selection interface can be displayed in a popup mode. In this embodiment, each session in the history session list is that the current user has already performed session interaction with the session object, and optionally, each session in the history session list may be sorted according to the session time. The terminal can display a target selection interface comprising a history conversation list, acquire any conversation selected by a user in the history conversation list, and take the selected conversation as a target conversation. In this way, the current user can quickly send the selected message to be forwarded directly to any one session in the generated historical session list.
In one embodiment, determining a target session corresponding to a message to be forwarded includes: displaying a target selection interface, wherein the target selection interface comprises a session creation control; acquiring a trigger operation aiming at a session creation control; displaying a session object list according to a trigger operation; and acquiring a session object selected from the session object list, wherein the selected session object is used for indicating that a target session corresponding to the session object is created when the forwarding operation aiming at the message to be forwarded is acquired, and forwarding the message to be forwarded to the target session corresponding to the session object.
In this embodiment, the target selection interface includes a session creation control, which is a control for creating a new session. When the current user needs to forward the message to be forwarded to a new session object, the session object list formed by all the session objects can be obtained through the session creation control, and one session object is selected from the session object list, so that the message to be forwarded is forwarded to the session with the selected session object. When the user confirms to forward the message, the terminal creates a session with the selected session object and displays the forwarded message in a session interface with the selected session object.
In a specific application scenario, after a terminal acquires a long-press operation which is triggered by a user in a session interface of a current session and aims at a session message to be forwarded, an operation menu popup window aiming at the session message is displayed, and after the user clicks the forwarding operation in the operation menu popup window, the terminal takes the session message as the message to be forwarded and displays a target selection interface in a semitransparent mode on the current session interface.
The terminal can display the forwarding confirmation interface according to the message to be forwarded after the target session to be forwarded is determined according to the operation of the user, so that the user can confirm the message to be forwarded again, and the message is prevented from being sent by mistake.
Fig. 3 is a schematic diagram illustrating a forwarding confirmation interface in one embodiment. Referring to fig. 3, in the interface, a target session identifier 302 of a target session to be forwarded is displayed at the upper part of the forwarding confirmation interface 30, a message to be forwarded preview area 304 is displayed at the middle part of the forwarding confirmation interface 30, and a cancel button 306 for directly forwarding a message and a send button 308 for canceling a forwarded message are displayed at the bottom part of the forwarding confirmation interface 30.
In the embodiment of the application, the forwarding confirmation interface comprises the message to be forwarded preview area, so that a user can confirm the content of the message to be forwarded through the forwarding confirmation interface, and the message is prevented from being sent by mistake. The message to be forwarded in the forwarding confirmation interface can be further confirmed according to the viewing operation of the user, for example, the user can perform secondary confirmation on the content of the message to be forwarded by clicking the message to be forwarded preview area in the forwarding confirmation interface.
And step 206, responding to the viewing operation aiming at the preview area of the message to be forwarded, and displaying a content detail page corresponding to the message to be forwarded.
The viewing operation is an operation triggered in the forwarding confirmation interface and directed to the message to be forwarded preview area, and may be a single machine operation, a double-click operation, or a sliding operation, etc. directed to the message to be forwarded preview area. The content detail page is an interface for displaying the message content of the message to be forwarded, that is, the content detail page can display the content detail of the message to be forwarded to the user.
Specifically, when the terminal obtains the viewing operation for the preview area of the message to be forwarded in the displayed forwarding confirmation interface, a content detail page for displaying the message content of the message to be forwarded may be displayed, for example, the content detail page may be entered from the forwarding confirmation interface, and the content detail page is rendered and displayed according to the message content of the message to be forwarded.
In one embodiment, the message content of the message to be forwarded is a picture, and the content detail page is displayed, including: acquiring image data corresponding to the picture; and rendering and displaying a content detail page comprising pictures according to the image data.
In this embodiment, the message to be forwarded is a picture message, the message content of the message to be forwarded is a picture, and the terminal may acquire image data corresponding to the picture and render and display a content detail page corresponding to the session message according to the image data.
FIG. 4 is a diagram illustrating a content detail page that is displayed in one embodiment. Referring to fig. 4, the message to be forwarded is a picture message, a preview area of the message to be forwarded is shown in the forwarding confirmation interface 40, the thumbnail 402 of the picture is included in the preview area, after the user clicks the thumbnail 402, the content detail page 42 is displayed according to the image data of the picture in the picture message, and the picture can be displayed in the content detail page 42 in an enlarged manner.
In one embodiment, the message content of the message to be forwarded is a link, and the content detail page is displayed, including: acquiring page data corresponding to the link; and rendering and displaying the page corresponding to the link in the content detail page according to the page data.
In this embodiment, the message to be forwarded is a link message, the message content of the message to be forwarded is a link, and the terminal may obtain page data corresponding to the link and render and display a content detail page corresponding to the message to be forwarded according to the page data.
FIG. 5 is a diagram illustrating a content detail page that is displayed in one embodiment. Referring to fig. 5, the forwarding confirmation interface 50 includes a preview area of the message to be forwarded, in which a link message 502 is displayed, and after the user clicks the link message 502, the content detail page 52 is displayed according to the page data of the link in the link message 502, and a page corresponding to the link may be opened in the content detail page 52.
In one embodiment, the message content of the message to be forwarded is a video, and the content detail page is displayed, including: acquiring video data corresponding to a video; and rendering and displaying a content detail page of a playing picture comprising the video according to the video data.
In this embodiment, the message to be forwarded is a video message, the message content of the message to be forwarded is a video, the terminal may obtain video data corresponding to the video, render and display a content detail page corresponding to the message to be forwarded according to the video data, display a playing picture of the video in the content detail page, display a control for controlling the video to be played in the content detail page, such as a pause button, a forward play button, a backward play button, and further include a drag bar for controlling the video playing progress.
In one embodiment, the message forwarding method further comprises the steps of: and when the viewing operation aiming at the target session identifier is acquired in the forwarding confirmation interface, displaying a session detail page, wherein the session detail page is used for displaying the session message of the target session.
The viewing operation is an operation triggered in the forwarding confirmation interface and directed to the target session identifier, and may be a single-click operation, a double-click operation, or a sliding operation directed to the target session identifier, or the like. The session detail page is an interface for presenting session messages of the target session, that is, historical session messages of the target session can be presented to the user through the session detail page.
Specifically, when the terminal obtains the viewing operation for the target session identifier in the displayed forwarding confirmation interface, the session detail page for displaying the session message of the target session may be displayed, for example, the terminal may enter the session detail page from the forwarding confirmation interface, and render and display the session detail page according to the session message of the target session. The session message of the target session is the session message generated when the current user interacts with the session object of the target session. The session messages of the target session may be updated in real-time.
In this embodiment, the user may enter the session detail page from the forwarding confirmation interface according to the target session identifier displayed in the forwarding confirmation interface, so as to check the session content of the target session, further determine whether to forward the currently selected message to be forwarded to the target session, and avoid missending the message to be forwarded to other sessions.
In one embodiment, a session detail page is displayed, comprising: acquiring a session message of a target session according to the target session identifier; and rendering and displaying a session detail page according to the session message of the target session.
In this embodiment, after a user determines a target session through a target selection interface, a terminal obtains a target session identifier of the target session, transmits the target session identifier to a forwarding confirmation interface, transmits the session identifier to a session detail page through the forwarding confirmation interface, obtains a session message of the target session from a message database according to the session identifier when rendering and displaying the session detail page, and renders and displays the session detail page according to the obtained session message.
In one embodiment, the message forwarding method further comprises the steps of: acquiring a sliding operation triggered in a session detail page; and scrolling and displaying the conversation message of the target conversation in the conversation detail page according to the sliding operation.
In this embodiment, after the terminal displays the session detail page, the terminal obtains the sliding operation triggered by the user in the page, so as to scroll and display the session message of the target session, and the user can view the latest session message in the page and also view the previous session message.
Fig. 6 is a diagram illustrating a session details page in one embodiment. Referring to fig. 6, a target session identifier 602 is displayed on the upper portion of the forwarding confirmation interface 60, and a preview content 604 of the message to be forwarded is displayed in a message to be forwarded preview area in the middle portion of the forwarding confirmation interface 60. After the user triggers the viewing operation of the session identifier 602, the forwarding confirmation interface 60 enters the session detail page 62, and the session detail page 62 is rendered and displayed according to the historical session messages of the target session. The terminal may also scroll through the historical conversation messages of the target conversation in accordance with the user's swipe action in the conversation details page 62.
In one embodiment, the target session is a group session, the forwarding confirmation interface further includes a group avatar of the group session, and the message forwarding method further includes: and when the viewing operation aiming at the group head portrait is acquired in the forwarding confirmation interface, displaying a member detail page, wherein the member detail page is used for displaying the conversation members of the group conversation.
The viewing operation is an operation of a group avatar for a group session triggered in the forwarding confirmation interface, and may be a single-click operation, a double-click operation, or a sliding operation for the group avatar. The member details page is an interface for presenting session members of the group session, i.e., session members of the group session can be presented to the user through the member details page.
Specifically, when the terminal obtains the viewing operation of the group avatar for the group session in the displayed forwarding confirmation interface, the terminal may obtain the user information of the session member belonging to the group session, such as the name or avatar of the session member, according to the session identifier of the group session, and display a member detail page according to the obtained user information of the session member, thereby displaying the session member of the group session. For example, a member details page may be entered from the forward confirmation interface and rendered and displayed according to the session members of the target group session.
Optionally, the forwarding confirmation interface may further include a group name of the group session, and the terminal may display a session detail page of the group session when acquiring the viewing operation triggered by the user for the group name. Or, conversely, the terminal may display the session detail page according to the viewing operation for the group avatar triggered by the user, and display the member detail page according to the viewing operation for the group name triggered by the user. In one embodiment, after displaying the session details page of the group session, the member details page of the group session may be entered from the session details page to show the session members of the group session.
FIG. 7 is a diagram illustrating a display of a member details page in one embodiment. Referring to fig. 7, a group avatar 702 and a group name 704 of a group session to be forwarded are displayed on the upper portion of the forwarding confirmation interface 70. After the user triggers the viewing operation of the group avatar 702, the forwarding confirmation interface 70 enters the member details page 72, and the member details page 72 is rendered and displayed according to the member name of the group member. After the user has triggered the viewing operation of the group name 704, the session detail page 74 is entered from the forwarding confirmation interface 70, and the session detail page 72 is rendered and displayed according to the historical session messages of the group session. The user may also trigger a view operation for the members of the conversation in the conversation details page 74, from the conversation details page 74 to the member details page 72.
In this embodiment, the user may enter the member detail page from the forwarding confirmation interface according to the group avatar shown in the forwarding confirmation interface, so as to check the members of the group session, further confirm whether to forward the currently selected session message to the group session, and avoid missending the session message to other sessions.
And step 208, responding to the triggered forwarding operation, and sending the message to be forwarded to the target session corresponding to the target session identifier.
In practical application, the terminal may obtain a forwarding operation triggered by a user in a forwarding confirmation interface, and send the message to be forwarded to the target session according to the forwarding operation, for example, a sending control for sending the message to be forwarded may be set in the forwarding confirmation interface, and the user sends the message to be forwarded to the target session by triggering an operation for the sending control. The terminal may also obtain a forwarding operation triggered in the content detail page, the session detail page, or the member detail page, and send the message to be forwarded to the target session according to the forwarding operation, that is, a sending control for sending the message to be forwarded may also be set in the content detail page, the session detail page, or the member detail page.
In one embodiment, the message to be forwarded is a session message selected from the current session, and then, after sending the message to be forwarded to the target session, the terminal returns to display the session interface of the current session, that is, the session interface where the selected session message is located. If the sending control is set in the forwarding confirmation interface, the session interface of the current session can be jumped back from the forwarding confirmation interface, and if the sending control is set in the content detail page, the session detail page or the member detail page, the session interface of the current session can be jumped back from the content detail page, the session detail page or the member detail page.
In an embodiment, the terminal may also return to the session interface displaying the target session, that is, the session interface of the session to which the message to be forwarded is forwarded, after sending the message to be forwarded to the target session. In one embodiment, if the send control is set in the forward validation interface, the session interface of the target session may be jumped back from the forward validation interface, and if the send control is set in the content details page, the session details page, or the member details page, the session interface of the target session may be jumped back from these pages.
In an embodiment, the message forwarding method may further include: acquiring session information of a target session and attribute information of the target session; determining the matching degree between the message to be forwarded and the target session according to the session message, the attribute information and the message content of the message to be forwarded of the target session; and displaying the matching degree in a forwarding confirmation interface.
The attribute information of the target session is information that can represent the characteristics of the target session. When the target session is a group session, the attribute information of the target session may include at least one of a session name of the target session, names of session members, the number of session members, a time when the target session is created, advertisement content of the target session, and the like. When the target session is a single chat session, the attribute information of the target session may include at least one of a session name of the target session, a time when a session object of the target session adds a friend relationship with the user, user information of the session object, and the like, where the user information includes a user gender, a user name, a user tag, a user region, and the like.
Specifically, in order to facilitate the user to determine whether the message to be forwarded is suitable for being forwarded to the target session, the terminal may determine a matching degree between the message to be forwarded and the target session according to the session message of the target session, the attribute information, and the content of the message to be forwarded, and display the matching degree in the forwarding determination interface, so that the user may determine whether the message to be forwarded is suitable for being forwarded to the target session according to the matching degree. The matching degree may be a numerical value, and the larger the numerical value is, the more suitable the message to be forwarded is for forwarding, or may be a prompt content such as "may forward" or "forward with caution".
The degree of matching may be determined based on a machine learning algorithm. For example, by using a machine learning algorithm, the session message of the target session can be forwarded as a vector, the attribute information of the target session can be converted into a vector, the message to be forwarded can be converted into a vector according to the preset feature dimension, and a matching degree can be determined based on the vectors. The preset feature dimension may be a message type, a message source, and the like of the message to be forwarded.
In this embodiment, the matching degree between the message to be forwarded and the target session is displayed in the forwarding confirmation interface, so that the user can be further helped to determine whether to forward the message to the target session, and the risk of missending the message is reduced.
As shown in fig. 8, in a specific embodiment, the message forwarding method includes the following steps:
step 802, displaying a session interface of the current session.
Step 804, obtaining the session message selected from the session interface of the current session.
Step 806, obtaining the forwarding operation for the session message triggered in the session interface of the current session.
Step 808, in response to the forwarding operation, the session message is taken as a message to be forwarded.
Step 810, displaying a target selection interface.
Step 812, the session selected from the target selection interface is obtained.
Step 814, the selected session is taken as the target session.
Step 816, displaying a forwarding confirmation interface including the message preview area to be forwarded, the session nickname of the target session and the session avatar.
8181, when the target session is a single chat session, acquiring a session message of the single chat session when a viewing operation aiming at a session nickname or a session head portrait is acquired in a forwarding confirmation interface; rendering and displaying a session detail page according to session information of the single chat session; acquiring a sliding operation triggered in a session detail page; and scrolling and displaying the session message of the single chat session in the session detail page according to the sliding operation.
In step 8201, when the viewing operation for the preview area of the message to be forwarded is acquired in the forwarding confirmation interface, a content detail page for displaying the message content of the message to be forwarded is displayed.
8182, when the target session is a group session, acquiring a session message of the group session when the viewing operation aiming at the nickname of the session is acquired in the forwarding confirmation interface; rendering and displaying a conversation detail page according to the conversation message of the group conversation; acquiring a sliding operation triggered in a session detail page; and scrolling and displaying the conversation messages of the group conversation in the conversation detail page according to the sliding operation.
In step 8202, when the viewing operation for the conversation avatar is acquired in the forwarding confirmation interface, a member detail page for displaying the conversation members of the group conversation is displayed.
Step 822, when the viewing operation for the preview area of the message to be forwarded is acquired in the forwarding confirmation interface, displaying a content detail page for displaying the message content of the message to be forwarded.
Step 824, when the forwarding operation for the message to be forwarded is acquired in the forwarding confirmation interface, sending the message to be forwarded to the target session.
Step 826 returns to displaying the session interface for the current session.
In practical application, when the message to be forwarded is sent to a single chat session, namely after a target session is selected as a certain single chat session, a forwarding confirmation interface is popped up, the head portrait and the name of the single chat session to be forwarded are displayed on the upper portion of the forwarding confirmation interface, and a message to be forwarded preview area is displayed in the middle of the forwarding confirmation interface. The user can click the name or the head portrait of the single chat session, enter a session detail page to view the session message of the single chat session, can scroll and display the session message according to the sliding operation of the user, click back and return to a forwarding confirmation interface. The user can click the preview area of the message to be forwarded displayed in the middle to enter the content detail page corresponding to the message to be forwarded so as to view the message content of the message to be forwarded, when the message to be forwarded is a picture message, the picture can be displayed in an enlarged manner, when the message to be forwarded is a link message, the page corresponding to the link can be opened, and when the message to be forwarded is a video message, the video can be played.
Fig. 9 is a timing diagram illustrating the sending of a message to a single chat session in one embodiment. Referring to fig. 9, the sequence diagram describes the process of sending messages to a single chat session, with each interface as the subject. In the conversation interface of the current conversation, the user can press the conversation message in the message list for a long time as the message to be forwarded, and the message content of the conversation message can be pictures, links, videos or the like. And after the session message is acquired, popping up a target selection interface, transmitting the session message to the target selection interface, transmitting the session message transmitted to the target selection interface to a content display component, and rendering and displaying a content detail page by the content display component according to the message content of the session message. And after the single chat session selected in the target selection interface of the user is acquired, acquiring a session identifier of the single chat session and transmitting the session identifier to the session display component, requesting a corresponding session message from the message database by the session display component according to the session identifier, and rendering and displaying a session detail page of the single chat session according to the returned session message after the corresponding session message is returned by the message database. And when the user confirms the forwarding content and the forwarding target in the target selection interface, returning to the session interface of the current session.
In practical application, when a message to be forwarded is sent to a group session, namely after a target session is selected as a certain group session, a forwarding confirmation interface is popped up, a head image and a name of the group session to be forwarded are displayed on the upper portion of the forwarding confirmation interface, and a message to be forwarded preview area is displayed in the middle of the forwarding confirmation interface. The user can click the name of the group session, enter a session detail page to view the session message of the group session, can scroll and display the session message according to the sliding operation of the user, click back and return to a forwarding confirmation interface. The user can click on the head portrait of the group session, enter a member detail page to view the session members of the group session, and click back to a forwarding confirmation interface. The user can click the preview area of the message to be forwarded displayed in the middle part and enter a content detail page to view the message content of the message to be forwarded, when the message to be forwarded is a picture message, the picture can be displayed in an enlarged mode, when the message to be forwarded is a link message, a page corresponding to the link can be opened, and when the message to be forwarded is a video message, a video can be played.
Fig. 10 is a timing diagram illustrating the sending of messages to a group session according to an embodiment. Referring to fig. 10, the timing diagram describes the process of sending messages to a group session, with each interface as the main body. In the conversation interface of the current conversation, the user can press the conversation message in the message list for a long time as the message to be forwarded, and the message content of the conversation message can be pictures, links, videos or the like. And after the session message is acquired, popping up a target selection interface, transmitting the session message to the target selection interface, popping up a forwarding confirmation interface after a user selects a certain group session from the target selection interface, transmitting the session message and the session identifier of the group session to the forwarding confirmation interface, transmitting the session message to a content display component from the forwarding confirmation interface, and rendering and displaying a content detail page by the content display component according to the message content of the session message. In addition, the conversation identification is transmitted to the conversation display component from the forwarding confirmation interface, the conversation display component requests the corresponding conversation information from the information database according to the conversation identification, and after the corresponding conversation information is returned by the information database, the conversation detail page of the group conversation is rendered and displayed according to the returned conversation information. The member data acquired according to the session identification is also transmitted to a session detail page from the forwarding confirmation interface and then transmitted to a member display component from the session detail page, and the member display component renders and displays the member detail page according to the member data, namely, the member detail page can be entered from the session detail page. The member data acquired according to the session identification can also be directly transmitted to the member display component from the forwarding confirmation interface, and the member detail page is rendered and displayed through the display component according to the member data, that is, the member detail page can be directly entered from the forwarding confirmation interface. And when the user confirms the forwarding content and the forwarding target in the target selection interface, returning to the session interface of the current session.
It can be understood that the message forwarding method provided by the embodiment of the present application may be applied to an instant messaging application, and the instant messaging application may be used by an individual or a group.
In the message forwarding method, after the message to be forwarded is determined, a forwarding confirmation interface is displayed, the forwarding confirmation interface comprises a target session identifier of a target session to which the message to be forwarded is to be forwarded and a message to be forwarded preview area, a user can not only confirm a forwarding object according to the target session identifier, but also further view the content details of the message to be forwarded according to the message to be forwarded preview area, namely when the view operation of the message to be forwarded preview area is acquired in the forwarding confirmation interface, and displaying a content detail page corresponding to the message to be forwarded, wherein the user can perform secondary confirmation on the message content of the message to be forwarded through the content detail page, and after the confirmation, the message to be forwarded can be sent to the target session through the triggered forwarding operation, so that the probability of the message being mistakenly sent by the user is reduced, and the safety of the message to be forwarded is improved.
It should be understood that, although the steps in the flowcharts of fig. 2 and 8 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 2 and 8 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the steps or stages in other steps.
In one embodiment, as shown in fig. 11, a message forwarding apparatus 1100 is provided, which may be a part of a terminal by using a software module or a hardware module, or a combination of the two modules, and specifically includes: a determination module 1102, a first display module 1104, a second display module 1106, and a sending module 1108, wherein:
a determining module 1102, configured to obtain a session message to be forwarded;
a first display module 1104, configured to display a forwarding confirmation interface that includes a target session identifier and a message to be forwarded preview area;
a second display module 1106, configured to respond to a viewing operation for the preview area of the message to be forwarded, and display a content detail page corresponding to the message to be forwarded;
the sending module 1108 sends the message to be forwarded to the target session corresponding to the target session identifier in response to the triggered forwarding operation.
In one embodiment, the determining module 1102 is further configured to display a media resource browsing interface, where the media resource browsing interface includes published media resources; acquiring media resource forwarding operation triggered in the media resource browsing interface; and responding to the media resource forwarding operation, and taking the link corresponding to the media resource as a message to be forwarded.
In one embodiment, the determining module 1102 is further configured to display a session interface of the current session, where the session interface includes session messages of the current session; and acquiring the session message selected from the session interface of the current session as the message to be forwarded.
In one embodiment, the determining module 1102 is further configured to obtain a session message forwarding operation triggered in a session interface of a current session; and responding to the session message forwarding operation, and taking the session message as a message to be forwarded.
In one embodiment, the message forwarding apparatus further comprises a target selection module for displaying a target selection interface, the target selection interface comprising a history session list; acquiring sessions selected from a historical session list; and taking the selected session as a target session.
In one embodiment, the target selection module is further configured to display a target selection interface, the target selection interface including a session creation control; acquiring a trigger operation aiming at a session creation control; displaying a session object list according to a trigger operation; acquiring a session object selected from a session object list; and the selected session object is used for indicating that a target session corresponding to the session object is created when the triggered forwarding operation is acquired.
In one embodiment, the message content of the message to be forwarded is a picture, and the second display module 1106 is further configured to obtain image data corresponding to the picture; and rendering and displaying a content detail page comprising pictures according to the image data.
In one embodiment, the message content of the message to be forwarded is a link, and the second display module 1106 is further configured to obtain page data corresponding to the link; and rendering and displaying the page corresponding to the link in the content detail page according to the page data.
In one embodiment, the message content of the message to be forwarded is a video, and the second display module 1106 is further configured to obtain video data corresponding to the video; and rendering and displaying a content detail page of a playing picture comprising the video according to the video data.
In an embodiment, the message forwarding apparatus further includes a third display module, configured to display a session detail page when the viewing operation for the target session identifier is acquired in the forwarding confirmation interface, where the session detail page is used to display the session message of the target session.
In one embodiment, the third display module is further configured to obtain a session message of the target session according to the session identifier of the target session; and rendering and displaying a session detail page according to the session message of the target session.
In one embodiment, the third display module is further configured to acquire a sliding operation triggered in the session detail page; and scrolling and displaying the conversation message of the target conversation in the conversation detail page according to the sliding operation.
In an embodiment, the target session is a group session, the forwarding confirmation interface further includes a group avatar of the group session, and the message forwarding apparatus further includes a fourth display module, configured to display a member detail page when the viewing operation for the group avatar is acquired in the forwarding confirmation interface, where the member detail page is used to show session members of the group session.
In one embodiment, the message forwarding apparatus further comprises a returning module, configured to jump back to the session interface of the current session from the forwarding confirmation interface; or jump back to the session interface of the target session from the forward validation interface.
The message forwarding apparatus 1100 displays a forwarding confirmation interface after determining a message to be forwarded, the forwarding confirmation interface comprises a target session identifier of a target session to which the message to be forwarded is to be forwarded and a message to be forwarded preview area, a user can not only confirm the forwarding object according to the target session identifier, but also further view the content details of the message to be forwarded according to the message to be forwarded preview area, that is, when the view operation of the message to be forwarded preview area is acquired in the forwarding confirmation interface, and displaying a content detail page corresponding to the message to be forwarded, wherein the user can perform secondary confirmation on the message content of the message to be forwarded through the content detail page, and after the confirmation, the message to be forwarded can be sent to the target session through the triggered forwarding operation, so that the probability of the message being mistakenly sent by the user is reduced, and the safety of the message to be forwarded is improved.
For specific limitations of the message forwarding apparatus 1100, reference may be made to the above limitations of the message forwarding method, which is not described herein again. The respective modules in the message forwarding apparatus 1100 described above may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 12. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a message forwarding method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 12 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is further provided, which includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the above method embodiments when executing the computer program.
In an embodiment, a computer-readable storage medium is provided, in which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned method embodiments.
In one embodiment, a computer program product or computer program is provided that includes computer instructions stored in a computer-readable storage medium. The computer instructions are read by a processor of a computer device from a computer-readable storage medium, and the computer instructions are executed by the processor to cause the computer device to perform the steps in the above-mentioned method embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. 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), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (27)

1. A method of message forwarding, the method comprising:
determining a message to be forwarded;
displaying a forwarding confirmation interface containing a target session identifier and a message to be forwarded preview area;
responding to the viewing operation aiming at the message to be forwarded preview area, and displaying a content detail page corresponding to the message to be forwarded;
responding to the viewing operation aiming at the target session identifier, and displaying a session detail page of the target session corresponding to the target session identifier;
and responding to the triggered forwarding operation, and sending the message to be forwarded to the target session.
2. The method of claim 1, wherein the determining the message to be forwarded comprises:
displaying a media resource browsing interface, wherein the media resource browsing interface comprises published media resources;
acquiring media resource forwarding operation triggered in the media resource browsing interface;
and responding to the media resource forwarding operation, and taking the link corresponding to the media resource as a message to be forwarded.
3. The method of claim 1, wherein the determining the message to be forwarded comprises:
displaying a session interface of a current session, wherein the session interface comprises session information of the current session;
and acquiring the session message selected from the session interface of the current session as the message to be forwarded.
4. The method according to claim 3, wherein the obtaining the session message selected from the session interface of the current session as the message to be forwarded comprises:
acquiring a session message forwarding operation triggered in the session interface of the current session;
and responding to the session message forwarding operation, and taking the session message as a message to be forwarded.
5. The method of claim 1, wherein after the determining the message to be forwarded, the method further comprises:
displaying a target selection interface, wherein the target selection interface comprises a historical conversation list;
acquiring sessions selected from the historical session list;
and taking the selected session as a target session.
6. The method of claim 1, wherein after the determining the message to be forwarded, the method further comprises:
displaying a target selection interface, wherein the target selection interface comprises a session creation control;
acquiring a trigger operation aiming at the session creation control;
displaying a session object list according to the triggering operation;
acquiring a session object selected from the session object list;
and the selected session object is used for indicating that a target session corresponding to the session object is created when the triggered forwarding operation is acquired.
7. The method according to claim 1, wherein the message content of the message to be forwarded is a picture, and the displaying the content detail page corresponding to the message to be forwarded comprises:
acquiring image data corresponding to the picture;
and rendering and displaying a content detail page comprising the picture according to the image data.
8. The method according to claim 1, wherein the message content of the message to be forwarded is a link, and the displaying the content detail page corresponding to the message to be forwarded comprises:
acquiring page data corresponding to the link;
and rendering and displaying the page corresponding to the link in the content detail page according to the page data.
9. The method according to claim 1, wherein the message content of the message to be forwarded is a video, and the displaying the content detail page corresponding to the message to be forwarded comprises:
acquiring video data corresponding to the video;
and rendering and displaying a content detail page comprising the playing picture of the video according to the video data.
10. The method of claim 1, wherein displaying a session detail page for the target session corresponding to the target session identifier comprises:
acquiring a session message of the target session according to the target session identifier;
and rendering and displaying a session detail page according to the session message of the target session.
11. The method of claim 1, further comprising:
acquiring a sliding operation triggered in the session detail page;
and scrolling and displaying the session message of the target session in the session detail page according to the sliding operation.
12. The method of claim 1, wherein the target session is a group session, and wherein the forwarding confirmation interface further comprises a group avatar of the group session, and wherein the method further comprises:
when the viewing operation aiming at the group head portrait is acquired in the forwarding confirmation interface, then
And displaying a member detail page, wherein the member detail page is used for displaying the session members of the group session.
13. The method according to any one of claims 1 to 12, further comprising:
acquiring session information of the target session and attribute information of the target session;
determining the matching degree between the message to be forwarded and the target session according to the session message of the target session, the attribute information and the message content of the message to be forwarded;
and displaying the matching degree in the forwarding confirmation interface.
14. A message forwarding apparatus, the apparatus comprising:
the determining module is used for determining the message to be forwarded;
the first display module is used for displaying a forwarding confirmation interface containing a target session identifier and a message to be forwarded preview area;
the second display module is used for responding to the viewing operation aiming at the preview area of the message to be forwarded and displaying a content detail page corresponding to the message to be forwarded;
the third display module is used for responding to the viewing operation aiming at the target session identifier and displaying a session detail page of the target session corresponding to the target session identifier;
and the sending module is used for responding to the triggered forwarding operation and sending the message to be forwarded to the target session.
15. The apparatus of claim 14, wherein the determining module is further configured to display a media asset browsing interface, the media asset browsing interface including published media assets; acquiring media resource forwarding operation triggered in the media resource browsing interface; and responding to the media resource forwarding operation, and taking the link corresponding to the media resource as a message to be forwarded.
16. The apparatus of claim 14, wherein the determining module is further configured to display a session interface of a current session, and the session interface includes session messages of the current session; and acquiring the session message selected from the session interface of the current session as the message to be forwarded.
17. The apparatus according to claim 16, wherein the determining module is further configured to obtain a session message forwarding operation triggered in a session interface of the current session; and responding to the session message forwarding operation, and taking the session message as a message to be forwarded.
18. The apparatus of claim 17, further comprising a target selection module to display a target selection interface, the target selection interface comprising a list of historical sessions; acquiring sessions selected from the historical session list; and taking the selected session as a target session.
19. The apparatus of claim 14, further comprising a target selection module to display a target selection interface, the target selection interface comprising a session creation control; acquiring a trigger operation aiming at the session creation control; displaying a session object list according to the triggering operation; acquiring a session object selected from the session object list; and the selected session object is used for indicating that a target session corresponding to the session object is created when the triggered forwarding operation is acquired.
20. The apparatus according to claim 14, wherein the message content of the message to be forwarded is a picture, and the second display module is further configured to obtain image data corresponding to the picture; and rendering and displaying a content detail page comprising the picture according to the image data.
21. The apparatus according to claim 14, wherein the message content of the message to be forwarded is a link, and the second display module is further configured to obtain page data corresponding to the link; and rendering and displaying the page corresponding to the link in the content detail page according to the page data.
22. The apparatus according to claim 14, wherein the message content of the message to be forwarded is a video, and the second display module is further configured to obtain video data corresponding to the video; and rendering and displaying a content detail page comprising the playing picture of the video according to the video data.
23. The apparatus according to claim 14, wherein the third display module is further configured to obtain a session message of the target session according to the target session identifier; and rendering and displaying a session detail page according to the session message of the target session.
24. The apparatus according to claim 14, wherein the third display module is further configured to obtain a sliding operation triggered in the session detail page; and scrolling and displaying the session message of the target session in the session detail page according to the sliding operation.
25. The apparatus according to claim 14, wherein the target session is a group session, the forwarding confirmation interface further includes a group avatar of the group session, and the apparatus further includes a fourth display module, configured to display a member details page when a viewing operation for the group avatar is acquired in the forwarding confirmation interface, where the member details page is used to show session members of the group session.
26. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any one of claims 1 to 13 when executing the computer program.
27. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 13.
CN202011169019.0A 2020-10-28 2020-10-28 Message forwarding method and device, computer equipment and storage medium Active CN112286608B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011169019.0A CN112286608B (en) 2020-10-28 2020-10-28 Message forwarding method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011169019.0A CN112286608B (en) 2020-10-28 2020-10-28 Message forwarding method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112286608A CN112286608A (en) 2021-01-29
CN112286608B true CN112286608B (en) 2022-03-18

Family

ID=74374103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011169019.0A Active CN112286608B (en) 2020-10-28 2020-10-28 Message forwarding method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112286608B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115344180A (en) * 2021-05-13 2022-11-15 腾讯科技(深圳)有限公司 Multimedia data processing method, device, equipment and computer readable storage medium
CN113411251B (en) * 2021-06-16 2022-08-02 维沃移动通信(杭州)有限公司 Multi-message distribution method and device, electronic equipment and readable storage medium
CN113360238A (en) * 2021-06-29 2021-09-07 维沃移动通信有限公司 Message processing method and device, electronic equipment and storage medium
CN115017428A (en) * 2021-08-27 2022-09-06 北京字跳网络技术有限公司 Information display method, device, system and storage medium
CN115022269A (en) * 2021-12-30 2022-09-06 北京字跳网络技术有限公司 Message processing method, device, equipment and medium
CN114500432A (en) * 2022-02-25 2022-05-13 维沃移动通信有限公司 Session message transceiving method and device, electronic equipment and readable storage medium
CN114827068A (en) * 2022-04-11 2022-07-29 维沃移动通信有限公司 Message sending method and device, electronic equipment and readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859324A (en) * 2005-12-31 2006-11-08 华为技术有限公司 Method and system for realizing information repeat
CN101227427A (en) * 2007-12-27 2008-07-23 腾讯科技(深圳)有限公司 Method and system for information interaction
CN102984676A (en) * 2012-11-29 2013-03-20 华为终端有限公司 Method and terminal for processing message session
CN104378513A (en) * 2014-12-16 2015-02-25 北京奇虎科技有限公司 Message forwarding method, message communication client and mobile terminal
CN104618217A (en) * 2014-03-24 2015-05-13 腾讯科技(北京)有限公司 Method, terminal, server and system for sharing resource
CN105049317A (en) * 2015-05-21 2015-11-11 腾讯科技(深圳)有限公司 Message forwarding method and apparatus
CN105991410A (en) * 2015-02-12 2016-10-05 深圳积友聚乐科技有限公司 Method and system for acquiring message
CN107948048A (en) * 2017-10-31 2018-04-20 阿里巴巴集团控股有限公司 Forward the method, apparatus and electronic equipment of chat message
CN111158838A (en) * 2019-12-31 2020-05-15 联想(北京)有限公司 Information processing method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657686B (en) * 2015-11-04 2019-12-06 华为终端有限公司 short message forwarding method and terminal
TWI647609B (en) * 2017-04-14 2019-01-11 緯創資通股份有限公司 Instant messaging method, system and electronic device and server
CN107959616A (en) * 2017-11-24 2018-04-24 珠海市魅族科技有限公司 Method, apparatus, computer installation and the storage medium of message forwarding
CN108111397B (en) * 2017-12-15 2020-08-04 北京小米移动软件有限公司 Method and device for processing forwarding notification message

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859324A (en) * 2005-12-31 2006-11-08 华为技术有限公司 Method and system for realizing information repeat
CN101227427A (en) * 2007-12-27 2008-07-23 腾讯科技(深圳)有限公司 Method and system for information interaction
CN102984676A (en) * 2012-11-29 2013-03-20 华为终端有限公司 Method and terminal for processing message session
CN104618217A (en) * 2014-03-24 2015-05-13 腾讯科技(北京)有限公司 Method, terminal, server and system for sharing resource
CN104378513A (en) * 2014-12-16 2015-02-25 北京奇虎科技有限公司 Message forwarding method, message communication client and mobile terminal
CN105991410A (en) * 2015-02-12 2016-10-05 深圳积友聚乐科技有限公司 Method and system for acquiring message
CN105049317A (en) * 2015-05-21 2015-11-11 腾讯科技(深圳)有限公司 Message forwarding method and apparatus
CN107948048A (en) * 2017-10-31 2018-04-20 阿里巴巴集团控股有限公司 Forward the method, apparatus and electronic equipment of chat message
CN111158838A (en) * 2019-12-31 2020-05-15 联想(北京)有限公司 Information processing method and device

Also Published As

Publication number Publication date
CN112286608A (en) 2021-01-29

Similar Documents

Publication Publication Date Title
CN112286608B (en) Message forwarding method and device, computer equipment and storage medium
US20200363949A1 (en) Advanced keyboard based search
US11012753B2 (en) Computerized system and method for determining media based on selected motion video inputs
US10845949B2 (en) Continuity of experience card for index
KR102230342B1 (en) Selecting content items for presentation to a social networking system user in a newsfeed
US10789658B1 (en) Merged recommendations of real estate listings
US9916329B2 (en) Selecting images associated with content received from a social networking system user
US20150356093A1 (en) Methods and systems relating to ratings
KR20130136401A (en) Providing feedback via a social network from a media distribution platform
CN112269917A (en) Media resource display method, device, equipment, system and storage medium
KR20210129633A (en) Systems, methods and data structures that enable users to post comments electronically
US11790024B2 (en) Content presentation
CN113056735A (en) Dynamic link preview generation
US11094100B1 (en) Compound animation in content items
US10148602B2 (en) Enhancing messaging application functionality
CN113158094B (en) Information sharing method and device and electronic equipment
US20170046740A1 (en) Methods and systems relating to click-through advertising
US10891030B1 (en) Compound animation showing user interactions
US11734733B2 (en) Conversational mapping of web items for mediated group decisions
US20230034924A1 (en) Object account grouping method and apparatus
CN114791838A (en) Application display method and device, computer equipment and storage medium
CN113296855A (en) Session content collection processing method and device, computer equipment and storage medium
CN115550298A (en) Content sharing method and device, electronic equipment, storage medium and program product
CN115840613A (en) Information display method and device and electronic equipment
CN116431947A (en) Multimedia processing method, apparatus, device, medium and computer program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40037413

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant