WO2022222794A1 - 交互方法、装置和电子设备 - Google Patents

交互方法、装置和电子设备 Download PDF

Info

Publication number
WO2022222794A1
WO2022222794A1 PCT/CN2022/086378 CN2022086378W WO2022222794A1 WO 2022222794 A1 WO2022222794 A1 WO 2022222794A1 CN 2022086378 W CN2022086378 W CN 2022086378W WO 2022222794 A1 WO2022222794 A1 WO 2022222794A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
messages
target
information
target message
Prior art date
Application number
PCT/CN2022/086378
Other languages
English (en)
French (fr)
Inventor
余洁
Original Assignee
北京字跳网络技术有限公司
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 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Priority to EP22790903.3A priority Critical patent/EP4311200A1/en
Priority to JP2023564089A priority patent/JP2024516599A/ja
Publication of WO2022222794A1 publication Critical patent/WO2022222794A1/zh
Priority to US18/381,763 priority patent/US20240048515A1/en

Links

Images

Classifications

    • 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/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • 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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • 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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • 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/06Message adaptation to terminal or network requirements
    • H04L51/066Format adaptation, e.g. format conversion or compression
    • 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/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads

Definitions

  • the present disclosure relates to the field of Internet technologies, and in particular, to an interaction method, apparatus, and electronic device.
  • users can actively send information to the other party, or receive the information actively sent by the other party, and reply to the information sent by the other party.
  • Embodiments of the present disclosure provide an interaction method, apparatus, and electronic device.
  • an embodiment of the present disclosure provides an interaction method, the method includes: on an interaction information display page, receiving an interaction request for processing a target message; in response to determining that the interaction request is processing multiple messages , determining at least one associated message of the target message, and processing the target message and the at least one associated message according to the processing mode indicated by the interaction request.
  • an embodiment of the present disclosure provides an interaction method, the method includes: receiving a message processing operation, and when a message displayed on a page satisfies a preset condition, displaying a preset message processing control; the preset condition includes: The number of messages currently displayed on the page is greater than the preset number, and/or the currently selected message has a reply relationship with other messages; according to the triggering of the message processing control, the selected multiple messages are determined; the selected multiple messages The messages include a preset number of messages, or messages that have a reply relationship with the currently selected message; for the selected multiple messages, the processing indicated by the message processing operation is performed.
  • an embodiment of the present disclosure provides an interaction apparatus, including: a first receiving unit, configured to receive an interaction request for forwarding a target message on an interaction information display page; a forwarding unit, configured to respond to determining the The interaction request is to process multiple messages, determine at least one associated message of the target message, and process the target message and the at least one associated message according to the processing mode indicated by the interaction request.
  • an embodiment of the present disclosure provides an interaction device, including: a second receiving unit, configured to receive a message processing operation, and display a preset message processing control when a message displayed on a page satisfies a preset condition; the The preset conditions include: the number of messages currently displayed on the page is greater than the preset number, and/or the currently selected message has a reply relationship with other messages; the determining unit is configured to determine the selected message according to the triggering of the message processing control
  • the selected multiple messages include a preset number of messages or messages that have a reply relationship with the currently selected message; an execution unit is configured to execute the message processing operation instruction on the selected multiple messages processing.
  • embodiments of the present disclosure provide an electronic device, including: one or more processors; and a storage device for storing one or more programs, when the one or more programs are stored by the one or more programs Each processor executes, so that the one or more processors implement the interaction method as described in the first aspect, or implement the interaction method as described in the second aspect.
  • embodiments of the present disclosure provide a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, implements the steps of the interaction method described in the first aspect, or implements the second aspect. the steps of the interaction method.
  • an interaction request for forwarding a target message is received in an interaction information display page; in response to determining that the interaction request is to forward multiple messages, determining the interaction request At least one associated message of the target message, forwarding the target message and the at least one associated message, realizes forwarding the target message and the at least one associated message according to a forwarding interaction request.
  • This solution can automatically determine the related messages of the target message. Automatically forwarding the target message together with the associated message can reduce the forwarding operation that the user needs to forward multiple associated messages and improve the user experience.
  • FIG. 1 is a flowchart of some embodiments of an interaction method according to the present disclosure
  • FIG. 2 is a flowchart of further embodiments of an interaction method according to the present disclosure
  • FIG. 3 is a schematic diagram of some application scenarios of the interaction method provided by the present disclosure.
  • FIG. 6 is a schematic structural diagram of an embodiment of an interaction apparatus according to the present disclosure.
  • FIG. 7 is a schematic structural diagram of an embodiment of an interaction apparatus according to the present disclosure.
  • FIG. 8 is an exemplary system architecture in which the interaction method of an embodiment of the present disclosure may be applied.
  • FIG. 9 is a schematic diagram of a basic structure of an electronic device provided according to an embodiment of the present disclosure.
  • the term “including” and variations thereof are open-ended inclusions, ie, "including but not limited to”.
  • the term “based on” is “based at least in part on.”
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; the term “some embodiments” means “at least some embodiments”. Relevant definitions of other terms will be given in the description below.
  • FIG. 1 shows a flow of an embodiment of an interaction method according to the present disclosure, and takes message forwarding as an example for an exemplary introduction.
  • the interaction method includes the following steps:
  • Step 101 On the interactive information display page, receive an interactive request for forwarding the target message.
  • the interactive information display page here may be a display page of interactive information between users displayed in the instant messaging tool. It can also be an interactive information display page displayed in a browser.
  • the target message here can be any message in the interaction information.
  • An interaction request for forwarding the target message may be sent to the execution subject executing the interaction method.
  • the user may perform a preset information forwarding operation on the target message, so as to send the above-mentioned interaction request to the above-mentioned execution.
  • the above-mentioned preset information forwarding operations may be various information forwarding operations. For example, after the user right-clicks on the target message, the information forwarding option is displayed; the user performs a selection operation on the information forwarding option.
  • the above information forwarding options may include options indicating forwarding of a single message, or may include options indicating forwarding of multiple messages.
  • the interaction request is forwarding a single message.
  • the interaction request is to forward multiple messages.
  • Step 102 in response to determining that the interaction request is to forward multiple messages, determine at least one associated message of the target message, and forward the target message and the at least one associated message.
  • At least one associated message associated with the target message in the interaction information may be determined through various methods.
  • the above-mentioned associated message may be, for example, a message having a reply relationship with the above-mentioned target message.
  • the above step 102 includes the following sub-step 1021: in response to determining that the interaction request is to forward multiple messages, determine at least one association of the target message according to the reply relationship between the messages information.
  • the execution body of the interaction method forwards multiple messages according to the determined interaction request, and can retrieve multiple candidate messages that have a reply relationship between the messages in the page; Multiple associated messages with a reply relationship between them.
  • it may be determined in real time or periodically whether a reply relationship exists between the sent message and the target message.
  • the above at least one associated message includes an initial message to which the target message replies.
  • the initial message may be determined to be a related message of the target message according to the reply relationship in which the target message replies to the above-mentioned initial message.
  • the at least one associated message includes a reply message for replying to the target message.
  • the reply message may be determined as a related message of the target message according to the reply relationship of the reply to the target message.
  • the execution body of the interaction method or other electronic devices that are communicatively connected to the execution body may pre-store each message in the page, and also pre-store the reply relationship between each message.
  • sub-step 1021 may include the following step: determining at least one associated message of the target message based on a pre-stored reply relationship.
  • the above-mentioned pre-stored reply relationship is obtained based on the following steps: according to a message reply operation, a reply relationship between messages is determined, and the reply relationship includes a direct reply relationship and/or an indirect reply relationship.
  • the relationship between the current replying message replied by the replying operation and the replying message is a replying relationship.
  • the replied message is a historical reply message of another message, it is determined that the current reply message and the another message are in an indirect reply relationship.
  • the reply relationship between the messages may be stored.
  • the above-mentioned reply relationship may be stored in the storage space of the above-mentioned executive body, or the above-mentioned reply relationship may be stored in another electronic device that has established a communication connection with the above-mentioned executive body.
  • At least one associated message of the target message may be determined from the reply relationship pre-stored in the above-mentioned executive body or in other electronic devices that are communicatively connected to the above-mentioned executive body.
  • the multiple messages displayed on the page are stored in a message list.
  • each message corresponds to a first message identifier and a second message identifier; the first message identifier of a message is used to indicate the message, and the second message identifier is used to indicate the reply to the message.
  • the first message identifier of the message; and the determining at least one associated message of the target message according to the reply relationship between the messages includes: in the message list, determining according to the respective second message identifiers of the multiple messages At least one associated message that has a direct reply or indirect reply relationship with the target message.
  • the foregoing execution subject may perform the following search operations in the foregoing message list:
  • the direct reply message and the indirect reply message for replying to the target message are determined.
  • a direct reply message and an indirect reply message for replying to the target message may be determined according to the first message identification information of the target message, and the first message identification and second message identification information of other messages.
  • the first message identifier of the second associated message is determined, and then the third other message whose second message identifier points to the first message identifier of the second associated message is searched in the message list, and the third other message is determined to be the same as the target message.
  • the second indirect reply relation's third associated message In this way, loop until all indirect reply messages that indirectly reply to the target message are retrieved.
  • the directly replied message to which the target message directly replies, and the target message may be determined according to the second message identification information of the target message, and the second message identification information and the first message identification information of other messages The indirectly replied message to which the indirect reply was made.
  • the message indicated by the second message identifier of the target message is determined as the directly replied message.
  • the message indicated by the second message identifier of the direct reply message is determined as the first indirect reply message.
  • At least one associated message of the target message is a message belonging to the same topic as the target message.
  • Different users can interact with messages on the same topic.
  • one message in the interaction messages of the topic is used as the target message
  • other messages corresponding to the message interaction of the topic can be used as at least one associated message of the target message.
  • the above-mentioned multiple messages of the same topic including the target message may be displayed on a topic message page or a related page of the topic message page.
  • other messages involved in the topic message page can be used as associated messages of the target message.
  • the target message and the at least one associated message may be forwarded to the target user indicated by the interaction request.
  • an interaction request for forwarding a target message is received on an interaction information display page; according to the interaction request, at least one associated message of the target message is determined, and the target message is forwarded.
  • the message and the at least one associated message realize forwarding the target message and the at least one associated message according to a forwarding interaction request.
  • this solution can automatically determine the associated message of the target message. Automatically forwarding the target message together with the associated message can reduce the forwarding operation that the user needs to forward multiple associated messages and improve the user experience.
  • FIG. 2 shows a flowchart of another embodiment of the interaction method according to the present disclosure.
  • the interaction method includes the following steps:
  • Step 201 On the interactive information display page, receive an interactive request sent by a user's triggering operation on the forwarding control, where the interactive request is used to forward the target message.
  • a forwarding control corresponding to the target message may be displayed on the above interaction information display page.
  • the above forwarding control is used to instruct to forward multiple messages. For example, after the user performs a triggering operation on the forwarding control, the message corresponding to the forwarding control can be forwarded.
  • the user may perform a triggering operation on the above-mentioned forwarding control, thereby sending an interaction request for forwarding the target message to the execution subject executing the interaction method.
  • the above-mentioned page further includes other messages other than the target message and the associated message of the target message.
  • the forwarding control is set at the associated position of the target message and/or the associated message of the target message.
  • the associated position here can be, for example, the upper, lower, left, and right positions of the message, preferably the right side or the upper right and lower right positions of the message, or the upper left or lower left position of the message according to user settings.
  • the above-mentioned associated message may be a reply message of the target message, and the display area of the associated message may include at least part of the target message.
  • the above-mentioned forwarding may be set at the associated position of the display area of the associated message.
  • the above-mentioned forwarding control may be displayed in response to detecting a preset trigger operation performed by the user on the target message and/or a message associated with the target message.
  • the preset trigger operation here may, for example, include but not limited to click, touch, and other trigger operations.
  • the interactive information display page 30 in FIG. 3 may include multiple messages A, B, B-3, and C, where B and B-3 may be associated messages.
  • B can be the target message.
  • the first display area 31 is the display area of the associated message B-3 of the target message B. Part of the target message may be displayed in the first display area.
  • the forwarding control 32 can set the right side of the target message B. It can also be arranged on the right side of the first display area 31 . When the user performs a triggering operation on the forwarding control, an interactive request for forwarding the target message can be triggered.
  • the interaction information display page includes an associated information detail display interface.
  • the forwarding control is displayed in the first preset area of the associated information details display interface.
  • the above-mentioned related information details display interface displays the detailed information of the target message and at least one related message of the target message.
  • the above-mentioned related information details display interface is opened based on the following steps: based on the user performing a first preset operation on the preset identifier corresponding to the target message or the related message in the first information interaction interface, the related information details page is displayed.
  • the preset identifier here may include, for example, an identifier used to indicate that the target message has a reply message. Or the identifier used to indicate that the associated message is the reply message of the target message.
  • the first preset operation includes, but is not limited to, clicking, touching, and the like.
  • the forwarding control is displayed in the first preset area of the details display interface.
  • the above-mentioned forwarding control can be displayed in the detail display interface.
  • the above-mentioned first preset area may be any preset area. For example, details are displayed at the top of the page.
  • the interaction information display page 40 in FIG. 4 may be a detail display page, and the interaction information display page 40 may include B, B-1, B-2, and B-3. Wherein, B, B-1, B-2, and B-3 may be associated messages. B can be the target message.
  • the above-mentioned forwarding control 41 is displayed on the upper right top of the interactive information display page 40 . When the user performs a triggering operation on the forwarding control 41, the interaction request can be issued.
  • Step 202 Determine at least one associated message of the target message according to the interaction request, and forward the target message and the at least one associated message.
  • various methods for determining associated messages may be used to determine at least one associated message of the target message.
  • step 202 For the description of determining at least one associated message of the target message in the foregoing step 202, reference may be made to the relevant description in step 102 of the embodiment shown in FIG. 1 , and details are not repeated here.
  • the above-mentioned target message and the above-mentioned at least one associated message may be forwarded to the target user indicated by the interaction request. It can be understood that the target user may not be limited to one user.
  • the method provided by this embodiment highlights the step of displaying the forwarding control on the interaction information display page, which simplifies the user's operation of forwarding the target message and at least one associated message.
  • step 102 in the embodiment shown in FIG. 1 and step 202 in the embodiment shown in FIG. 2 further include the following steps:
  • Identification information is determined based on the target message and the at least one associated message, where the identification information is used to indicate attribute information of the target message and the at least one associated message.
  • the above-mentioned identification information facilitates the identification and management of the above-mentioned forwarded target message and the at least one associated message.
  • the above-mentioned identification information may be displayed on the client terminal of the recipient user of the forwarded target message and at least one associated message of the target message. It is convenient for the receiving user to quickly understand the forwarded message.
  • the attribute information includes the target message and dialog user information and/or dialog topic information of the dialog in which the associated message is located.
  • the above dialogue information includes at least one of the following: sender and/or receiver information of the target message; sender information and/or receiver information of the associated information; when the dialogue is a group chat, the group chat name information.
  • the above-mentioned dialogue topic information may include predetermined message characters in the target message and the associated message, for example, may be characters of an initial message in multiple messages with a reply relationship, in other words, the multiple messages are all directed to the initial message.
  • a direct or indirect reply to a message making it easier for users to understand the topics discussed by multiple messages that have a reply relationship.
  • setting identification information for the forwarded target message and at least one associated message facilitates the receiving user to quickly understand the forwarded message on the one hand, and also facilitates the management of the forwarded message on the other hand.
  • the target message and the at least one associated message include at least one first message to be processed to be format-converted.
  • the above-mentioned first message to be processed may include, for example, but not limited to, a schedule card, a card message, a red envelope, a general calendar service, a video call message, and the like.
  • step 102 in the embodiment shown in FIG. 1 and step 202 in the embodiment shown in FIG. 2 further include the following steps:
  • the format of the first message to be processed is converted according to a preset format conversion rule.
  • the target message or the first to-be-processed message in the to-be-processed message can be format-converted first, and then the message is processed. Forward.
  • the red envelope message may be processed into a preset number of fields.
  • the preset number of fields includes text fields for characterizing the letter is a red envelope message. Fields other than the above text fields can use preset symbols.
  • the format-converted first message to be processed can be forwarded.
  • the first to-be-processed message requiring format conversion is format-converted, it is forwarded together with the target message and other messages in the at least one associated message, so as to maintain the integrity of the message.
  • the format of the first message to be processed is converted and then forwarded, which can reduce the amount of forwarded data.
  • the at least one associated message includes at least one non-forwardable second target message.
  • a non-forwardable message may be, for example, a message that was retracted by the user who sent the message.
  • step 102 in the embodiment shown in FIG. 1 and step 202 in the embodiment shown in FIG. 2 further include the following steps: forwarding other messages except the second target message.
  • non-forwardable messages in the target message and at least one associated message of the target message are filtered out.
  • the forwarded messages are all valid messages.
  • FIG. 5 shows a flowchart of an embodiment of an interaction method according to the present disclosure.
  • the interaction method includes the following steps:
  • Step 501 receiving a message processing operation, and displaying a preset message processing control when the message displayed on the page satisfies a preset condition;
  • the preset condition includes: the number of messages currently displayed on the page is greater than the preset number, and/ Or the currently selected message has a reply relationship with another message.
  • Step 502 according to the triggering of the message processing control, determine the selected multiple messages; the selected multiple messages include a preset number of messages or messages that have a reply relationship with the currently selected message.
  • the above message processing operations may include, but are not limited to, selection operations, forwarding operations, and the like.
  • the execution body that executes the above interaction method can receive the message processing operation performed by the user on the page, and determine whether the message displayed on the page satisfies the preset condition. That is, when the information selection operation performed by the user on the page is received, it can be determined whether the number of messages currently displayed on the page is greater than the preset number. If the number of currently displayed messages is greater than the preset number, it is determined that the messages displayed on the page satisfy the preset condition. Or, when an information selection operation performed by the user on the page is received, it can be determined whether the currently selected message on the page has a reply relationship with other messages.
  • the currently selected message on the page has a reply relationship with other messages, it is determined that the message displayed on the page satisfies the preset condition. Or, when receiving the information selection operation performed by the user on the page, it can be determined whether the number of messages currently displayed on the page is greater than the preset number, and whether the currently selected message has a reply relationship with other messages. If it is determined that the number of messages currently displayed on the page is greater than the preset number, the currently selected message has a reply relationship with other messages, and it is determined that the message displayed on the page satisfies the preset condition.
  • the preset number of bars here can be any integer greater than 1. For example, it can be 5, 10, etc.
  • the above preset number of bars can be set according to specific application scenarios, and is not limited this time.
  • the preset message processing control can be displayed.
  • the above-mentioned preset message processing controls can be used to select multiple messages.
  • the triggering of the message processing control may include, for example, operations such as clicking, dragging and scrolling performed on the message processing control.
  • Multiple messages can be selected at the same time according to a single trigger performed on the message handling control.
  • the above triggering of the message processing control may include performing a drag-and-scroll operation on the message processing control.
  • the above step 502 may include: in response to the number of messages selected based on the triggering of the message processing control being greater than the preset number, starting from the message corresponding to the trigger start time as the starting message, determining the preset number of messages. number of messages, as the plurality of messages selected by the triggering of the message processing control.
  • the preset number of messages determined from the message corresponding to the trigger start time, as the plurality of messages selected by the triggering of the message processing control includes: starting from the triggering The message corresponding to the starting moment starts to select a preset number of messages according to the selection sequence indicated by the trigger operation performed on the message processing control.
  • the trigger start time is the time from when the trigger operation is detected.
  • the preset number of messages can be determined from the message corresponding to the trigger start time, and the preset number of messages may be selected according to the selection sequence indicated by the trigger operation performed on the message processing control.
  • the selection sequence indicated by the triggering operation performed on the message processing control may include: starting from the start message in an order from front to back according to the message receiving time, or starting from the starting message according to the message receiving time from the back to the previous order.
  • the preset number of messages can be determined automatically starting from the message corresponding to the start time of the trigger operation as the trigger for the message processing control. Selected multiple messages.
  • the above interaction method further includes: displaying prompt information for prompting that the number of messages involved in the triggering of the message processing control exceeds a preset number.
  • the above interaction method further includes: displaying a message direct control on the page, where the message direct control is used to highlight the selected multiple The last message in the message.
  • trigger operations such as clicking and touching can be performed on the message direct control.
  • the message displayed on the current page can be adjusted to display the last message selected by the above information selection operation and the messages adjacent to the last message. And highlight the last message above the messages selected by the above message selection operation.
  • the highlighting can for example set the background color of the last message to be different from the background color of the other messages.
  • Step 503 Perform the processing indicated by the message processing operation on the selected multiple messages.
  • the processing indicated by the message processing operation may be performed on the selected plurality of messages.
  • the message processing operation may be an information selection operation, and the processing indicated by the message processing operation here is to select a plurality of messages to be selected.
  • the message processing operation may be a forwarding operation, and the processing indicated by the message processing operation here is forwarding the selected multiple messages.
  • a preset message processing control by receiving a message processing operation, when the message displayed on the page meets a preset condition, a preset message processing control is displayed;
  • the preset condition includes: the number of messages currently displayed on the page is greater than The preset number, and/or the currently selected message has a reply relationship with other messages; according to the triggering of the message processing control, the selected multiple messages are determined; the selected multiple messages include the preset number of messages, Or a message that has a reply relationship with the currently selected message; for the selected multiple messages, the processing indicated by the message processing operation is performed, so that if a message processing operation is received, the message displayed according to the message on the page meets the preset condition.
  • Preset message processing controls select multiple messages, and perform the processing indicated by the message processing operation on multiple messages, so that when the above processing is performed on multiple messages, there is no need to select each message, which simplifies the user's operation and saves the user. The time to do the above processing for multiple messages.
  • the present disclosure provides an embodiment of an interaction apparatus, which corresponds to the method embodiment shown in FIG. 1 , and the apparatus can be specifically applied in various electronic devices.
  • the interaction apparatus in this embodiment includes: a first receiving unit 601 and a forwarding unit 602 .
  • the first receiving unit 601 is configured to receive an interaction request for forwarding the target message on the interaction information display page;
  • the forwarding unit 602 is configured to, in response to determining that the interaction request is to forward multiple messages, determine the at least one associated message of the target message, and forward the target message and the at least one associated message.
  • the specific processing of the first receiving unit 601 and the forwarding unit 602 of the interaction device and the technical effects brought about by them may refer to the relevant descriptions of step 101 and step 102 in the corresponding embodiment of FIG. Repeat.
  • the first receiving unit 601 is further configured to receive the interaction request sent by a user triggering a forwarding control; the forwarding control corresponds to the target message; wherein the forwarding control Used to forward multiple messages.
  • the page includes other messages other than the target message and the associated message of the target message, and the forwarding control is set in the target message and/or the target message at the associated location of the associated message.
  • the interaction information display page includes an associated information detail display interface, and the forwarding control is displayed in a first preset area of the detail display interface; the associated information detail display interface displays the The target message and the detailed information of the at least one associated message; wherein the associated information details display interface is opened based on the following steps: based on the user performing a first pre-prediction on the preset identifier corresponding to the target message or the associated message in the first information interaction interface. Set the operation to display the related information details page.
  • the forwarding unit 602 is further configured to: determine identification information based on the target message and the at least one association message, where the identification information is used to indicate the target message and the at least one association message Attribute information for the message.
  • the attribute information includes the target message and dialog user information and/or dialog topic information of the dialog in which the associated message is located.
  • the dialog user information includes at least one of the following: sender information and/or receiver information of the target message; sender information and/or receiver information of the associated information;
  • sender information and/or receiver information of the associated information When the conversation is a group chat, the name information of the group chat; the conversation topic information includes predetermined message characters in the target message and the associated message.
  • the target message and the at least one associated message include at least one first to-be-processed message to be format-converted; and the forwarding unit 602 is further configured to: according to the interaction request, according to a predetermined A format conversion rule is set to convert the format of the first message to be processed; when forwarding the target message and the at least one associated message, the format-converted first message to be processed is forwarded.
  • the at least one associated message includes at least one second target message that cannot be forwarded; and the forwarding unit 602 is further configured to: forward other messages except the second target message.
  • the forwarding unit 602 is further configured to: in response to determining that the interaction request is to forward multiple messages, determine at least one associated message of the target message according to the reply relationship between the messages; The at least one associated message includes a message having a reply relationship with the target message.
  • the forwarding unit 602 is further configured to: determine at least one associated message of the target message based on a pre-stored reply relationship, wherein the pre-stored reply relationship is obtained based on the following steps: replying to an operation according to a message , and determine a reply relationship between messages, where the reply relationship includes a direct reply relationship and/or an indirect reply relationship.
  • multiple messages displayed on the page are stored in a message list, and in the message list, each message corresponds to a first message identifier and a second message identifier;
  • the first message identifier is used to indicate the message, and the second message identifier is used to indicate the first message identifier of the message replied by the message;
  • the forwarding unit 602 is further configured to: in the message list, according to multiple messages
  • the respective second message identifiers determine at least one associated message that has a direct reply or indirect reply relationship with the target message.
  • the forwarding unit 602 is further configured to: according to the first message identification information of the target message, and the first message identification information and the second message identification information of other messages, determining a direct reply message and an indirect reply message to reply to the target message; and/or
  • the second message identification information of the target message and the second message identification information and the first message identification information of other messages, determining the directly replied message to which the target message directly replies, and the indirectly replied message to which the target message is indirectly replying.
  • a plurality of pieces of information in the related information details display interface are information that has a direct reply and/or an indirect reply with the target information.
  • At least one associated message of the target message includes a message belonging to the same topic as the target message.
  • the present disclosure provides an embodiment of an interaction apparatus.
  • the apparatus embodiment corresponds to the method embodiment shown in FIG. 5 , and the apparatus can be specifically applied in various electronic devices.
  • the interaction apparatus in this embodiment includes: a second receiving unit 701 , a determining unit 702 and an executing unit 703 .
  • the second receiving unit 701 is configured to receive a message processing operation, and display a preset message processing control when the message displayed on the page satisfies a preset condition; the preset condition includes: the number of messages currently displayed on the page is greater than The preset number, and/or the currently selected message has a reply relationship with other messages;
  • the determining unit 702 is configured to determine the selected multiple messages according to the triggering of the message processing control; the selected multiple messages include preset Set the number of messages, or messages that have a reply relationship with the currently selected message;
  • the executing unit 703 is configured to execute the processing indicated by the message processing operation on the selected multiple messages.
  • the specific processing of the second receiving unit 701 , the determining unit 702 , and the forwarding unit 703 of the interaction device and the technical effects brought about by them may refer to step 501 , step 502 and step 503 in the corresponding embodiment of FIG. 5 , respectively. The related descriptions are not repeated here.
  • the determining unit 702 is further configured to: in response to that the number of messages selected based on the triggering of the message processing control is greater than the preset number, corresponding to the trigger start time
  • the preset number of messages determined by the message start of the message is used as a plurality of messages selected by the triggering of the message processing control; and the interaction device further includes a first display unit (not shown in the figure).
  • the first display unit is configured to: display prompt information for prompting that the number of messages involved in the triggering of the message processing control exceeds a preset number.
  • the interaction apparatus further includes a second display unit (not shown in the figure).
  • the second display unit is configured to: display a message direct control on the page, where the message direct control is used to highlight the last message of the selected multiple messages in the current page according to a trigger operation of the user.
  • FIG. 8 illustrates an exemplary system architecture in which the interaction method of an embodiment of the present disclosure may be applied.
  • the system architecture may include terminal devices 801 , 802 , and 803 , a network 804 , and a server 805 .
  • the network 804 is a medium used to provide a communication link between the terminal devices 801 , 802 , 803 and the server 805 .
  • Network 804 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
  • the terminal devices 801, 802, and 803 can interact with the server 805 through the network 804 to receive or send messages and the like.
  • Various client applications may be installed on the terminal devices 801 , 802 and 803 , such as web browser applications, search applications, and news information applications.
  • the client applications in the terminal devices 801, 802, and 803 can receive the user's instruction, and complete corresponding functions according to the user's instruction, such as adding corresponding information to the information according to the user's instruction.
  • the terminal devices 801, 802, and 803 may be hardware or software.
  • the terminal devices 801, 802, and 803 can be various electronic devices that have a display screen and support web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Compression Standard Audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4) Players, Laptops and Desktops, etc.
  • the terminal devices 801, 802, and 803 are software, they can be installed in the electronic devices listed above. It can be implemented as a plurality of software or software modules (eg, software or software modules for providing distributed services), or can be implemented as a single software or software module. There is no specific limitation here.
  • the server 805 may be a server that provides various services, such as receiving an information forwarding request sent by the terminal device 801, and forwarding the information indicated by the information forwarding request to the terminal devices 802 and 803 indicated by the information forwarding request.
  • the interaction method provided by the embodiment of the present disclosure may be executed by a terminal device, and correspondingly, the interaction apparatus may be set in the terminal devices 801 , 802 , and 803 .
  • terminal devices, networks and servers in FIG. 8 are merely illustrative. There can be any number of terminal devices, networks and servers according to implementation needs.
  • FIG. 9 shows a schematic structural diagram of an electronic device (eg, the terminal device or the server in FIG. 8 ) suitable for implementing an embodiment of the present disclosure.
  • Terminal devices in the embodiments of the present disclosure may include, but are not limited to, such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (eg, mobile terminals such as in-vehicle navigation terminals), etc., and stationary terminals such as digital TVs, desktop computers, and the like.
  • the electronic device shown in FIG. 9 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
  • the electronic device may include a processing device (eg, a central processing unit, a graphics processor, etc.) 901 which may be loaded into a random access memory according to a program stored in a read only memory (ROM) 902 or from a storage device 908
  • the program in the (RAM) 903 executes various appropriate operations and processes.
  • various programs and data necessary for the operation of the electronic device 900 are also stored.
  • the processing device 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904.
  • An input/output (I/O) interface 905 is also connected to bus 904 .
  • the following devices can be connected to the I/O interface 905: input devices 906 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration An output device 907 such as a computer; a storage device 908 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 909 .
  • the communication means 909 may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While FIG. 9 illustrates an electronic device having various means, it should be understood that not all of the illustrated means are required to be implemented or available. More or fewer devices may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
  • the computer program may be downloaded and installed from the network via the communication device 909, or from the storage device 908, or from the ROM 902.
  • the processing apparatus 901 the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
  • the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
  • the client and server can use any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol) to communicate, and can communicate with digital data in any form or medium Communication (eg, a communication network) interconnects.
  • HTTP HyperText Transfer Protocol
  • Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (eg, the Internet), and peer-to-peer networks (eg, ad hoc peer-to-peer networks), as well as any currently known or future development network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: in the interactive information display page, receive an interactive request for forwarding the target message; respond After determining that the interaction request is to forward multiple messages, at least one associated message of the target message is determined, and the target message and the at least one associated message are forwarded. or
  • a message processing operation is received, and when the message displayed on the page meets a preset condition, a preset message processing control is displayed; the preset condition includes: the number of messages currently displayed on the page is greater than the preset number, and/or the currently selected message
  • the message has a reply relationship with other messages; according to the triggering of the message processing control, the selected multiple messages are determined; the selected multiple messages include a preset number of messages or messages with a reply relationship with the currently selected message ; For the selected multiple messages, execute the processing indicated by the message processing operation.
  • Computer program code for performing operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and This includes conventional procedural programming languages - such as the "C" language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments of the present disclosure may be implemented in a software manner, and may also be implemented in a hardware manner. Among them, the name of the unit does not constitute a limitation of the unit itself under certain circumstances.
  • exemplary types of hardware logic components include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logical Devices (CPLDs) and more.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs Systems on Chips
  • CPLDs Complex Programmable Logical Devices
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本公开实施例公开了交互方法、装置和电子设备。该方法的一具体实施方式包括:在交互信息展示页面中,接收对目标消息进行转发的交互请求;根据所述交互请求,确定所述目标消息的至少一条关联消息,转发所述目标消息以及所述至少一条关联消息,实现了根据一个转发交互请求,转发目标消息以及至少一条关联消息。相对于用户在转发多条关联消息时,要一条条查找关联消息,再选择各条关联消息,然后转发多条关联消息的方式相比,本方案可以自动确定目标消息的关联消息,在转发时自动将目标消息与关联消息一起转发,可以减少用户需要转发多条关联消息的转发操作,改善用户体验。

Description

交互方法、装置和电子设备
相关申请的交叉引用
本申请要求于2021年04月20日提交的,申请号为202110427758.3、发明名称为“交互方法、装置和电子设备”的中国专利申请的优先权,该申请的全文通过引用结合在本申请中。
技术领域
本公开涉及互联网技术领域,尤其涉及一种交互方法、装置和电子设备。
背景技术
随着互联网技术的发展,用户可以通过互联网进行信息沟通。用户之间可以通过即时通讯工具与其他用户进行实时信息沟通。
在进行实时信息沟通时,用户可以主动向对方发送信息,也可以接收对方主动发送的信息,并对对方发送的信息进行回复。
发明内容
提供该公开内容部分以便以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。该公开内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。
本公开实施例提供了一种交互方法、装置和电子设备。
第一方面,本公开实施例提供了一种交互方法,该方法包括:在交互信息展示页面中,接收对目标消息进行处理的交互请求;响应于确定所述交互请求为对多条消息进行处理,确定所述目标消息的至少一条关联消息,按照所述交互请求指示的处理方式处理所述目标消息以及所述至少一条关联消息。
第二方面,本公开实施例提供了一种交互方法,该方法包括:接收 消息处理操作,当页面上显示的消息满足预设条件时,显示预设消息处理控件;所述预设条件包括:页面上当前显示消息的条数大于预设条数,和/或当前选中消息与其他消息具有回复关系;根据对所述消息处理控件的触发,确定被选择的多个消息;被选择的多个消息包括预设条数的消息、或者与当前选中消息具有回复关系的消息;对被选择的多个消息,执行所述消息处理操作指示的处理。
第三方面,本公开实施例提供了一种交互装置,包括:第一接收单元,用于在交互信息展示页面中,接收对目标消息进行转发的交互请求;转发单元,用于响应于确定所述交互请求为对多条消息进行处理,确定所述目标消息的至少一条关联消息,按照所述交互请求指示的处理方式处理所述目标消息以及所述至少一条关联消息。
第四方面,本公开实施例提供了一种交互装置,包括:第二接收单元,用于接收消息处理操作,当页面上显示的消息满足预设条件时,显示预设消息处理控件;所述预设条件包括:页面上当前显示消息的条数大于预设条数,和/或当前选中消息与其他消息具有回复关系;确定单元,用于根据对所述消息处理控件的触发,确定被选择的多个消息;被选择的多个消息包括预设条数的消息、或者与当前选中消息具有回复关系的消息;执行单元,用于对被选择的多个消息,执行所述消息处理操作指示的处理。
第五方面,本公开实施例提供了一种电子设备,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如第一方面所述的交互方法,或者实现如第二方面所述的交互方法。
第六方面,本公开实施例提供了一种计算机可读介质,其上存储有计算机程序,该程序被处理器执行时实现如第一方面所述的交互方法的步骤,或者实现如第二方面所述的交互方法的步骤。
本公开实施例提供的交互方法、装置和电子设备,通过在交互信息展示页面中,接收对目标消息进行转发的交互请求;响应于确定所述交互请求为对多条消息进行转发,确定所述目标消息的至少一条关联消息,转发所述目标消息以及所述至少一条关联消息,实现了根据 一个转发交互请求,转发目标消息以及至少一条关联消息。相对于用户在转发多条关系消息时,要一条条查找关联消息,再选择各条关联消息,然后转发多条关联消息的方式相比,本方案可以自动确定目标消息的关联消息,在转发时自动将目标消息与关联消息一起转发,可以减少用户需要转发多条关联消息的转发操作,改善用户体验。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1是根据本公开的交互方法的一些实施例的流程图;
图2是根据本公开的交互方法的另一些实施例的流程图;
图3是本公开提供的交互方法的一些应用场景示意图;
图4是本公开提供的交互方法的另外一些应用场景示意图;
图5是本公开提供的交互方法的一些实施例的流程图;
图6是根据本公开的交互装置的一个实施例的结构示意图;
图7是根据本公开的交互装置的一个实施例的结构示意图;
图8是本公开的一个实施例的交互方法可以应用于其中的示例性系统架构;
图9是根据本公开实施例提供的电子设备的基本结构的示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不 同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
请参考图1,其示出了根据本公开的交互方法的一个实施例的流程,以消息转发为例进行示例性介绍。如图1所示该交互方法,包括以下步骤:
步骤101,在交互信息展示页面中,接收对目标消息进行转发的交互请求。
这里的交互信息展示页面,可以是即时通讯工具中显示的用户之间交互信息的展示页面。也可以是在浏览器中显示的交互信息展示页面。
这里的目标消息可以为交互信息中的任意消息。
可以向执行交互方法的执行主体发出对目标消息进行转发的交互请求。例如用户可以对目标消息执行预设信息转发操作,从而向上述执行发出上述交互请求。
上述预设信息转发操作可以是各种信息转发操作。例如用户对所述目标消息右键点击之后,显示信息转发选择项;用户对信息转发选 择项执行的选择操作。
上述信息转发选择项可以包括指示对单条消息进行转发的选择项,也可以包括指示对多条消息进行转发的选择项。
当用户选择对单条消息进行转发的选择项时,可以确定所述交互请求为对单条消息进行转发。当用户选择对多条消息进行转发的选择项时,可以确定所述交互请求为对多条消息进行转发。
步骤102,响应于确定所述交互请求为对多条消息进行转发,确定所述目标消息的至少一条关联消息,转发所述目标消息以及所述至少一条关联消息。
在接收到上述交互请求信息之后,可以通过各种方法确定交互信息中的与目标消息关联的至少一条关联消息。
在一些可选的实现方式中,上述关联消息例如可以是与上述目标消息之间具有回复关系的消息。
在这些可选的实现方式中,上述步骤102包括如下子步骤1021:响应于确定所述交互请求为对多条消息进行转发,根据消息之间的回复关系,确定所述目标消息的至少一条关联消息。
交互方法的执行主体根据所确定的所述交互请求为对多条消息进行转发,可以检索页面中消息之间具有回复关系的多条候选消息;再从多条候选消息中确定出与目标消息之间具有回复关系的多条关联消息。
在另一实施例中,可以实时地或定期地确定发送的消息是否与目标消息之间存在回复关系。
在一些应用场景中,上述至少一条关联消息包括目标消息对其进行回复的初始消息。在这些应用场景中,可以根据目标消息对上述初始消息进行回复的回复关系,确定所述初始消息为目标消息的关联消息。
在另外一些应用场景中,上述至少一条关联消息包括对目标消息进行回复的回复消息。在这些应用场景中,可以根据对目标消息进行回复的回复关系,确定回复消息为目标消息的关联消息。
作为一种实现方式,交互方法的执行主体或者与所述执行主体实现通信连接的其他电子设备中可以预先存储页面中的各条消息,也预先存 储各条消息的之间的回复关系。
在这种实现方式中,子步骤1021可以包括如下步骤:基于预先存储的回复关系,确定所述目标消息的至少一条关联消息。
上述预先存储的回复关系基于如下步骤得到:根据消息回复操作,确定消息之间的回复关系,所述回复关系包括直接回复关系和/或间接回复关系。
也即,在检测到用户执行消息回复操作时,可以确定回复操作所回复的当前回复消息与被回复的消息之间的关系为回复关系。回复操作所引用的被回复消息与回复消息之间为直接回复关系。
若被回复的消息为另一条消息的历史回复消息,则确定当前回复消息与所述另一条消息为间接回复关系。
在根据消息回复操作确定了消息之间的回复关系之后,可以将消息之间的回复关系进行存储。可以将上述回复关系存储到上述执行主体的存储空间内,或者将上述回复关系存储到与上述执行主体建立了通信连接的其他电子设备中。
在接收到对目标消息执行上述对多条消息进行转发之后,可以从上述执行主体中或者与上述执行主体实现通信连接的其他电子设备中预先存储的回复关系,确定目标消息的至少一条关联消息。
在一些可选的实现方式中,所述页面所显示的多条消息存储在消息列表中。在所述消息列表中,每一条消息对应第一消息标识和第二消息标识;一消息的所述第一消息标识用于指示该条消息,第二消息标识用于指示该条消息所回复的消息的第一消息标识;以及所述根据消息之间的回复关系,确定所述目标消息的至少一条关联消息,包括:在所述消息列表中,根据多条消息各自的第二消息标识,确定与所述目标消息具有直接回复或间接回复关系的至少一条关联消息。
在这些可选的实现方式中,上述执行主体可以在上述消息列表中执行如下查找操作:
第一,确定对目标消息进行回复的直接回复消息和间接回复消息。
在一实施例中,可以根据目标消息的第一消息标识信息,以及其他消息的第一消息标识和第二消息标识信息,确定对所述目标消息进行回 复的直接回复消息和间接回复消息。
首先确定目标消息的第一消息标识,然后在消息列表中查找第二消息标识指向目标消息的第一消息标识的第一其他消息,将该第一其他消息确定为与目标消息具有第一直接回复关系的第一关联消息。接着,确定第一关联消息的第一消息标识,再在消息列表中查找第二消息标识指向第一关联消息的第一消息标识的第二其他消息,将第二其他消息确定为与目标消息具有第一间接回复关系的第二关联消息。然后再确定第二关联消息的第一消息标识,再在消息列表中查找第二消息标识指向第二关联消息的第一消息标识的第三其他消息,将第三其他消息确定为与目标消息具有第二间接回复关系的第三关联消息。如此,循环直至检索出所有对目标消息进行间接回复的间接回复消息。
第二,确定目标消息对其进行直接回复的被直接回复消息,和对其进行间接回复的被间接回复消息。
在一些实施例中,可以根据目标消息的第二消息标识信息,以及其他消息的第二消息标识信息和第一消息标识信息,确定目标消息对其进行直接回复的被直接回复消息,和目标消息对其进行间接回复的被间接回复消息。
具体地,将目标消息的第二消息标识所指示的消息确定为被直接回复消息。
将被直接回复消息的第二消息标识所指示的消息确定为第一被间接回复消息。
确定第一被间接回复消息的第二消息标识所指示的消息为第二被间接回复消息,如此循环直至检索出所有被目标消息进行间接回复的被间接回复消息。
在另外一种可选的实现方式中,所述目标消息的至少一条关联消息为与所述目标消息为同属于一个话题的消息。
不同用户可以针对同一个话题进行该话题的消息交互。在将该话题的交互消息中的一条消息作为目标消息时,可以将该话题的消息交互对应的其他消息作为目标消息的至少一条关联消息。
在一些应用场景中,包括目标消息的上述同一话题的多条消息可以 显示于一话题消息页面中、或者该话题消息页面的关联页面中。在这些应用场景中,可以将该话题消息页面所涉及其他消息作为目标消息的关联消息。
可以向交互请求所指示的目标用户转发所述目标消息以及所述至少一条关联消息。
本公开的上述实施例提供的交互方法,通过在交互信息展示页面中,接收对目标消息进行转发的交互请求;根据所述交互请求,确定所述目标消息的至少一条关联消息,转发所述目标消息以及所述至少一条关联消息,实现了根据一个转发交互请求,转发目标消息以及至少一条关联消息。相对于用户在转发多条关联消息时,要一条条查找关联消息,再选择各条关联消息,然后转发多条关联消息的方式相比,本方案可以自动确定目标消息的关联消息,在转发时自动将目标消息与关联消息一起转发,可以减少用户需要转发多条关联消息的转发操作,改善用户体验。
请参考图2,其示出了根据本公开的交互方法另一个实施例的流程图。如图2所示,该交互方法包括如下步骤:
步骤201,在交互信息展示页面中,接收用户对转发控件的触发操作而发出的交互请求,所述交互请求用于对目标消息进行转发。
在本实施例中,在上述交互信息展示页面中可以展示与目标消息对应的转发控件。上述转发控件用于指示对多条消息进行转发。例如用户对转发控件执行触发操作后,可以对转发控件对应的消息进行转发。
可以理解的是,上述交互信息展示页面中,还可以展示用于指示对单条消息进行转发的其他转发控件。
本实施例中,用户可以对上述转发控件执行触发操作,从而向执行交互方法的执行主体发出对目标消息进行转发的交互请求。
在一些可选的实现方式中,上述所述页面还包括除所述目标消息以及目标消息的关联消息之外的其他消息。在这些应用场景中,所述转发控件设置在所述目标消息和/或所述目标消息的关联消息的关联 位置处。
这里的关联位置例如可以为消息的上、下、左、右等位置,优选地,可以为消息的右侧或右上、右下位置,也可以根据用户设置显示在消息的左上或左下位置。
在一些应用场景中,上述关联消息可以是目标消息的回复消息,关联消息的展示区域中可以包括至少部分目标消息。上述转发可以设置在关联消息的展示区域的关联位置处。
可以理解的是,上述转发控件可以是响应于检测到用户对目标消息和/或目标消息的关联消息执行的预设触发操作后展示。
这里的预设触发操作,例如可以包括但不限于点击、触控等触发操作。
请参考图3,图3中交互信息展示页面30中,可以包括多条消息A、B、B-3、C,其中,B、B-3可以为关联的消息。B可以为目标消息。第一展示区域31为目标消息B的关联消息B-3的展示区域。第一展示区域中可以展示部分目标消息。
转发控件32可以设置目标消息B的右侧。也可以设置在第一展示区域31的右侧。当用户对转发控件执行触发操作时,可以触发对目标消息进行转发的交互请求。
在另外一些可选的实现方式中,所述交互信息展示页面包括关联信息详情展示界面。所述转发控件展示在关联信息详情展示界面的第一预设区域。
上述关联信息详情展示界面显示目标消息与目标消息的至少一条关联消息的详细信息。
上述关联信息详情展示界面基于如下步骤打开:基于用户在第一信息交互界面中对目标消息或关联消息对应的预设标识执行第一预设操作,展示所述关联信息详情页面。
这里的预设标识例如可以包括用于指示目标消息具有回复消息的标识。或者用于指示关联消息为目标消息的回复消息的标识。
第一预设操作包括但不限于点击、触控等。
作为一种实现方式,所述转发控件展示在所述详情展示界面的第 一预设区域。
在这种实现方式中,上述转发控件可以展示详情展示界面中。上述第一预设区域可以是预先设置的任意区域。例如,详情展示页面的顶部。
请参考图4,图4的交互信息展示页面40可以为详情展示页,交互信息展示页面40可以包括B、B-1、B-2、B-3。其中,B、B-1、B-2、B-3可以为关联的消息。B可以为目标消息。交互信息展示页面40的右上顶部显示上述转发控件41。当用户对上述转发控件41执行触发操作时,可以发出上述交互请求。
步骤202,根据所述交互请求,确定所述目标消息的至少一条关联消息,转发所述目标消息以及所述至少一条关联消息。
在本实施例中,可以采用各种确定关联消息的方法来确定目标消息的至少一条关联消息。
上述步骤202中确定目标消息的至少一条关联消息的说明可以参考图1所示实施例的步骤102中的相关说明,此处不赘述。
可以将上述目标消息与上述至少一条关联消息转发给交互请求指示的目标用户。可以理解的是,目标用户可以不限于一个用户。
与图1所示实施例提供的交互方法相比,本实施例提供的方法突出了在交互信息展示页面中展示转发控件的步骤,简化了用户对目标消息与至少一条关联消息进行转发的操作。
在本公开提供的交互方法的一些可选的实现方式中,图1所示实施例的步骤102和图2所示实施例的步骤202还包括如下步骤:
基于所述目标消息以及所述至少一条关联消息,确定标识信息,所述标识信息用于指示所述目标消息以及所述至少一条关联消息的属性信息。
上述标识信息便于对上述转发的目标消息与所述至少一条关联消息进行识别和管理。
上述标识信息可以显示在转发的目标消息与目标消息的至少一条关联消息的接收用户的客户端。便于接收用户快速了解转发来的上述消息。
所述属性信息包括所述目标消息以及所述关联消息所在对话的对话用户信息和/或对话主题信息。
上述对话信息包括以下至少一项:所述目标消息的发送者和/或接收者信息;所述关联信息的发送者信息和/或接收者信息;当所述对话为群聊时,群聊名称信息。
上述对话主题信息可以包括所述目标消息和所述关联消息中的预定消息字符,例如可以为具有回复关系的多条消息中的初始消息的字符,换言之,该多条消息都是针对所述初始消息的直接回复或间接回复消息,从而便于用户了解具有回复关系的多条消息所讨论的主题。
在这些可选的实现方式中,为转发的目标消息与至少一条关联消息设置标识信息,一方面便于接收用户快速了解转发来的消息,另一方面也可以便于对转发的上述消息进行管理。
在本公开提供的交互方法的一些可选的实现方式中,所述目标消息与所述至少一条关联消息中包括至少一条待格式转换的第一待处理消息。上述第一待处理消息例如可以包括但不限于日程卡片、卡片消息、红包、通用日历业务、视频通话消息等。
在这些可选的实现方式中,图1所示实施例的步骤102和图2所示实施例的步骤202还包括如下步骤:
首先,根据所述交互请求,按照预设格式转换规则转换所述第一待处理消息的格式。
由于上述第一待处理消息的格式需要转换后才可以发送,因此,在收到上述交互请求之后,可以先将目标消息或待处理消息中的第一待处理消息进行格式转换后,再进行消息转发。以第一待处理消息为红包消息为例进行说明,可以将红包消息处理为预设数量的字段。预设数量的字段包括用于表征信是红包消息的文本字段。上述文本字段之外的其他字段可以使用预设符号。
其次,在转发所述目标消息以及所述至少一条关联消息时,转发格式转换后的第一待处理消息。
这样,在转发上述目标消息以及所述至少一条关联消息时,对于第一待处理消息,可以转发格式转换后的第一待处理消息。
在这些可选的实现方式中,将需要格式转换的第一待处理消息进行格式转换后,与目标消息与所述至少一条关联消息中的其他消息一起转发,可以保持消息的完整度。另外,将第一待处理消息进行格式转换再转发,可以减少转发数据量。
在本公开提供的交互方法的一些可选的实现方式中,所述至少一条关联消息中包括至少一条不可转发的第二目标消息。不可转发的消息例如可以是被发送消息的用户撤回的消息。
在这些可选的实现方式中,图1所示实施例的步骤102和图2所示实施例的步骤202还包括如下步骤:转发除所述第二目标消息之外的其他消息。
在这些可选的实现方式中,过滤掉目标消息与目标消息的至少一个关联消息中的不可转发的消息。从而使得转发的消息都是有效消息。
请参考图5,其示出了根据本公开的交互方法一个实施例的流程图。如图5所示,该交互方法包括如下步骤:
步骤501,接收消息处理操作,当页面上显示的消息满足预设条件时,显示预设消息处理控件;所述预设条件包括:页面上当前显示消息的条数大于预设条数,和/或当前选中消息与其他消息具有回复关系。
步骤502,根据对所述消息处理控件的触发,确定被选择的多个消息;被选择的多个消息包括预设条数的消息、或者与当前选中消息具有回复关系的消息。
上述消息处理操作可以包括但不限于选择操作、转发操作等。
执行上述交互方法的执行主体,可以接收用户对页面执行的消息处理操作,确定页面上显示的消息上是否满足预设条件。也即,当接收到用户对页面执行的信息选择操作,可以确定页面上当前显示的消息的条数是否大于预设条数。若当前显示的消息的条数大于预设条数,确定页面上显示的消息满足预设条件。或者,当接收到用户对页面执行的信息选择操作,可以确定页面上当前选中消息与其他消息是否具有回复关系。若确定页面上当前选中消息与其他消息具有回复关系,确定页面上显示的消息满足预设条件。又或者,当接收到用户对页面 执行的信息选择操作,可以确定页面上当前显示的消息的条数是否大于预设条数,当前选中消息与其他消息是否具有回复关系。若确定页面上当前显示的消息的条数大于预设条数,当前选中消息与其他消息具有回复关系,确定页面上显示的消息满足预设条件。
这里的预设条数可以任意大于1的整数。例如可以是5、10、等。上述预设条数可以根据具体的应用场景进行设置,此次不进行限制。
在页面上显示的消息满足预设条件时,可以显示预设消息处理控件。在这些应用场景中,上述预设消息处理控件可以用于对多条消息进行选择。
对消息处理控件的触发例如可以包括对消息处理控件执行的点击、拖住滚动等操作。
可以根据对消息处理控件执行的一次触发,来对多条消息同时进行选择。
可选地,上述对消息处理控件的触发可以为包括对消息处理控件执行拖住滚动操作。上述步骤502可以包括:响应于基于对所述消息处理控件的触发所选择的消息的数量大于所述预设条数,从所述触发起始时刻对应的消息作为起始消息开始确定预设条数的消息,作为所述对所述消息处理控件的触发所选择的多个消息。
进一步地,所述将从所述触发起始时刻对应的消息开始确定的预设条数的消息,作为所述对所述消息处理控件的触发所选择的多个消息,包括:从所述触发起始时刻对应的消息开始按照对所述消息处理控件执行的触发操作所指示的选择顺序,选择预设条数的消息。
这里的触发起始时刻为从检测到触发操作开始发生的时刻。
从所述触发起始时刻对应的消息开始确定预设条数的消息,可以按照对所述消息处理控件执行的触发操作所指示的选择顺序,选择预设条数的消息。
这里对所述消息处理控件执行的触发操作所指示的选择顺序可以包括:从所述起始消息开始按照消息接收时间从前至后的顺序,或者从所述起始消息开始按照消息接收时间从后至前的顺序。
也即,当对消息的一次触发所涉及的消息大于预设条数时,可以 自动从触发操作的起始时刻对应的消息开始,确定预设条数的消息,作为对消息处理控件的触发所选择的多个消息。
进一步可选地,上述交互方法还包括:显示用于提示所述对所述消息处理控件的触发涉及的消息的数量超过预设条数的提示信息。
在一些可选的实现方式中,上述交互方法还包括:在所述页面中显示消息直达控件,所述消息直达控件用于根据用户的触发操作在当前页面中突出显示所述被选择的多个消息中的最后一条消息。
在这些可选的实现方式中,可以对消息直达控件执行点击、触控等触发操作。在接收到用对消息直达控件执行的上述触发操作,可以将当前页面显示的消息调整为显示被上述信息选择操作所选择的消息的最后一条消息以及该最后一条消息邻近的消息。并突出显示上述被上述信息选择操作所选择的消息的最后一条消息。突出显示例如可以为对该最后一条消息的背景色设置为与其他消息的背景色不同。
步骤503,对被选择的多个消息,执行所述消息处理操作指示的处理。
可以对上述被选择的多个消息,执行消息处理操作指示的处理。
消息处理操作可以是信息选择操作,这里的消息处理操作指示的处理为将被选择的多个消息进行选择。
消息处理操作可以是转发操作,这里的消息处理操作指示的处理为将被选择的多个消息进行转发。
本实施例提供的信息交互方法,通过接收消息处理操作,当页面上显示的消息满足预设条件时,显示预设消息处理控件;所述预设条件包括:页面上当前显示消息的条数大于预设条数,和/或当前选中消息与其他消息具有回复关系;根据对所述消息处理控件的触发,确定被选择的多个消息;被选择的多个消息包括预设条数的消息、或者与当前选中消息具有回复关系的消息;对被选择的多个消息,执行所述消息处理操作指示的处理,实现了若接收消息处理操作时,根据页面上的消息满足预设条件而显示的预设消息处理控件,选择多个消息,并对多个消息执行消息处理操作指示的处理,从而在对多条消息进行上述处理时,无需逐条消息进行选择,简化了用户的操作,节约了用 户对多条消息进行上述处理的时间。
进一步参考图6,作为对上述各图所示方法的实现,本公开提供了一种交互装置的一个实施例,该装置实施例与图1所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。
如图6所示,本实施例的交互装置包括:第一接收单元601和转发单元602。其中,第一接收单元601,用于在交互信息展示页面中,接收对目标消息进行转发的交互请求;转发单元602,用于响应于确定所述交互请求为对多条消息进行转发,确定所述目标消息的至少一条关联消息,转发所述目标消息以及所述至少一条关联消息。
在本实施例中,交互装置的第一接收单元601和转发单元602的具体处理及其所带来的技术效果可分别参考图1对应实施例中步骤101和步骤102的相关说明,在此不再赘述。
在一些可选的实现方式中,第一接收单元601进一步用于接收用户对转发控件的触发操作而发出的所述交互请求;所述转发控件与所述目标消息对应;其中,所述转发控件用于对多条消息进行转发。
在一些可选的实现方式中,所述页面包括还包括除所述目标消息以及目标消息的关联消息之外的其他消息,所述转发控件设置在所述目标消息和/或所述目标消息的关联消息的关联位置处。
在一些可选的实现方式中,所述交互信息展示页面包括关联信息详情展示界面,所述转发控件展示在所述详情展示界面的第一预设区域;所述关联信息详情展示界面显示所述目标消息以及所述至少一条关联消息的详细信息;其中所述关联信息详情展示界面基于如下步骤打开:基于用户在第一信息交互界面中对目标消息或关联消息对应的预设标识执行第一预设操作,展示所述关联信息详情页面。
在一些可选的实现方式中,转发单元602进一步用于:基于所述目标消息以及所述至少一条关联消息,确定标识信息,所述标识信息用于指示所述目标消息以及所述至少一条关联消息的属性信息。
在一些可选的实现方式中,所述属性信息包括所述目标消息以及所述关联消息所在对话的对话用户信息和/或对话主题信息。
在一些可选的实现方式中,所述对话用户信息包括以下至少一项:所述目标消息的发送者信息和/或接收者信息;所述关联信息的发送者信息和/或接收者信息;当所述对话为群聊时,群聊的名称信息;所述对话主题信息包括所述目标消息和所述关联消息中的预定消息字符。
在一些可选的实现方式中,所述目标消息与所述至少一条关联消息中包括至少一条待格式转换的第一待处理消息;以及转发单元602进一步用于:根据所述交互请求,按照预设格式转换规则转换所述第一待处理消息的格式;在转发所述目标消息以及所述至少一条关联消息时,转发格式转换后的第一待处理消息。
在一些可选的实现方式中,所述至少一条关联消息中包括至少一条不可转发的第二目标消息;以及转发单元602进一步用于:转发除所述第二目标消息之外的其他消息。
在一些可选的实现方式中,转发单元602进一步用于:响应于确定所述交互请求为对多条消息进行转发,根据消息之间的回复关系,确定所述目标消息的至少一条关联消息;所述至少一条关联消息包括与所述目标消息具有回复关系的消息。
在一些可选的实现方式中,转发单元602进一步用于:基于预先存储的回复关系,确定所述目标消息的至少一条关联消息,其中,预先存储的回复关系基于如下步骤得到:根据消息回复操作,确定消息之间的回复关系,所述回复关系包括直接回复关系和/或间接回复关系。
在一些可选的实现方式中,所述页面所显示的多条消息存储在消息列表中,在所述消息列表中,每一条消息对应第一消息标识和第二消息标识;一消息的所述第一消息标识用于指示该条消息,第二消息标识用于指示该条消息所回复的消息的第一消息标识;以及转发单元602进一步用于:在所述消息列表中,根据多条消息各自的第二消息标识,确定与所述目标消息具有直接回复或间接回复关系的至少一条关联消息。
在一些可选的实现方式中,转发单元602进一步用于:根据所述目标消息的所述第一消息标识信息,以及其他消息的所述第一消息标识信息和所述第二消息标识信息,确定对所述目标消息进行回复的直 接回复消息和间接回复消息;和/或
根据所述目标消息的所述第二消息标识信息,以及其他消息的所述第二消息标识信息和所述第一消息标识信息,确定所述目标消息对其进行直接回复的被直接回复消息,和所述目标消息对其进行间接回复的被间接回复消息。
在一些可选的实现方式中,所述关联信息详情展示界面中的多条信息为与所述目标信息之间存在直接回复和/或间接回复的信息。
在一些可选的实现方式中,所述目标消息的至少一条关联消息包括与所述目标消息同属于一个话题的消息。
进一步参考图7,作为对上述各图所示方法的实现,本公开提供了一种交互装置的一个实施例,该装置实施例与图5所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。
如图7所示,本实施例的交互装置包括:第二接收单元701、确定单元702和执行单元703。其中,第二接收单元701,用于接收消息处理操作,当页面上显示的消息满足预设条件时,显示预设消息处理控件;所述预设条件包括:页面上当前显示消息的条数大于预设条数,和/或当前选中消息与其他消息具有回复关系;确定单元702,用于根据对所述消息处理控件的触发,确定被选择的多个消息;被选择的多个消息包括预设条数的消息、或者与当前选中消息具有回复关系的消息;执行单元703,用于对被选择的多个消息,执行所述消息处理操作指示的处理。
在本实施例中,交互装置的第二接收单元701、确定单元702和转发单元703的具体处理及其所带来的技术效果可分别参考图5对应实施例中步骤501、步骤502和步骤503的相关说明,在此不再赘述。
在一些可选的实现方式中,确定单元702进一步用于:响应于基于对所述消息处理控件的触发所选择的消息的数量大于所述预设条数,将从所述触发起始时刻对应的消息开始确定的预设条数的消息,作为所述对所述消息处理控件的触发所选择的多个消息;以及交互装置还包括第一显示单元(图中未示出)。第一显示单元用于:显示用于提示 所述对所述消息处理控件的触发涉及的消息的数量超过预设条数的提示信息。
在一些可选的实现方式中,交互装置还包括第二显示单元(图中未示出)。第二显示单元用于:在所述页面中显示消息直达控件,所述消息直达控件用于根据用户的触发操作在当前页面中突出显示所述被选择的多个消息中的最后一条消息。
请参考图8,图8示出了本公开的一个实施例的交互方法可以应用于其中的示例性系统架构。
如图8所示,系统架构可以包括终端设备801、802、803,网络804,服务器805。网络804用以在终端设备801、802、803和服务器805之间提供通信链路的介质。网络804可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。
终端设备801、802、803可以通过网络804与服务器805交互,以接收或发送消息等。终端设备801、802、803上可以安装有各种客户端应用,例如网页浏览器应用、搜索类应用、新闻资讯类应用。终端设备801、802、803中的客户端应用可以接收用户的指令,并根据用户的指令完成相应的功能,例如根据用户的指令在信息中添加相应信息。
终端设备801、802、803可以是硬件,也可以是软件。当终端设备801、802、803为硬件时,可以是具有显示屏并且支持网页浏览的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、MP3播放器(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、膝上型便携计算机和台式计算机等等。当终端设备801、802、803为软件时,可以安装在上述所列举的电子设备中。其可以实现成多个软件或软件模块(例如用来提供分布式服务的软件或软件模块),也可以实现成单个软件或软件模块。在此不做具体限定。
服务器805可以是提供各种服务的服务器,例如接收终端设备801、 发送的信息转发请求,将信息转发请求所指示的信息转发给信息转发请求指示的终端设备802、803。
需要说明的是,本公开实施例所提供的交互方法可以由终端设备执行,相应地,交互装置可以设置在终端设备801、802、803中。
应该理解,图8中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。
下面参考图9,其示出了适于用来实现本公开实施例的电子设备(例如图8中的终端设备或服务器)的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图9示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图9所示,电子设备可以包括处理装置(例如中央处理器、图形处理器等)901,其可以根据存储在只读存储器(ROM)902中的程序或者从存储装置908加载到随机访问存储器(RAM)903中的程序而执行各种适当的动作和处理。在RAM 903中,还存储有电子设备900操作所需的各种程序和数据。处理装置901、ROM 902以及RAM 903通过总线904彼此相连。输入/输出(I/O)接口905也连接至总线904。
通常,以下装置可以连接至I/O接口905:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置906;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置907;包括例如磁带、硬盘等的存储装置908;以及通信装置909。通信装置909可以允许电子设备与其他设备进行无线或有线通信以交换数据。虽然图9示出了具有各种装置的电子设备,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以 被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置909从网络上被下载和安装,或者从存储装置908被安装,或者从ROM 902被安装。在该计算机程序被处理装置901执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”), 广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:在交互信息展示页面中,接收对目标消息进行转发的交互请求;响应于确定所述交互请求为对多条消息进行转发,确定所述目标消息的至少一条关联消息,转发所述目标消息以及所述至少一条关联消息。或者
接收消息处理操作,当页面上显示的消息满足预设条件时,显示预设消息处理控件;所述预设条件包括:页面上当前显示消息的条数大于预设条数,和/或当前选中消息与其他消息具有回复关系;根据对所述消息处理控件的触发,确定被选择的多个消息;被选择的多个消息包括预设条数的消息、或者与当前选中消息具有回复关系的消息;对被选择的多个消息,执行所述消息处理操作指示的处理。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实 现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (23)

  1. 一种交互方法,包括:
    在交互信息展示页面中,接收对目标消息进行处理的交互请求;
    响应于确定所述交互请求为对多条消息进行处理,确定所述目标消息的至少一条关联消息,按照所述交互请求指示的处理方式处理所述目标消息以及所述至少一条关联消息。
  2. 根据权利要求1所述的方法,其中,所述对目标消息进行处理的交互请求包括对目标消息进行转发的交互请求;以及所述在交互信息展示页面中,接收对目标消息进行处理的交互请求,包括:
    接收用户对转发控件的触发操作而发出的所述交互请求;所述转发控件与所述目标消息对应,其中,所述转发控件用于对多条消息进行转发。
  3. 根据权利要求2所述的方法,其中,所述页面还包括除所述目标消息以及目标消息的关联消息之外的其他消息,所述转发控件设置在所述目标消息的关联位置处、和/或所述目标消息的关联消息的关联位置处。
  4. 根据权利要求2所述的方法,其中,所述交互信息展示页面包括关联信息详情展示界面,所述转发控件展示在所述详情展示界面的第一预设区域;所述关联信息详情展示界面显示所述目标信息以及所述至少一条关联信息的详细信息;其中
    所述关联信息详情展示界面基于如下步骤打开:
    基于用户在第一信息交互界面中对目标消息或关联消息对应的预设标识执行第一预设操作,展示所述关联信息详情页面。
  5. 根据权利要求1所述的方法,其中,所述响应于确定所述交互请求为对多条消息进行处理,确定所述目标消息的至少一条关联消息, 按照所述交互请求指示的处理方式处理所述目标消息以及所述至少一条关联消息还包括:
    基于所述目标消息以及所述至少一条关联消息,确定标识信息,所述标识信息用于指示所述目标消息以及所述至少一条关联消息的属性信息。
  6. 根据权利要求5所述的方法,其中,所述属性信息包括所述目标消息以及所述关联消息所在对话的对话用户信息和/或对话主题信息。
  7. 根据权利要求6所述的方法,其特征在于,
    所述对话用户信息包括以下至少一项:
    所述目标消息的发送者信息和/或接收者信息;所述关联消息的发送者信息和/或接收者信息;当所述对话为群聊时,群聊的名称信息;
    所述对话主题信息包括所述目标消息和所述关联消息中的预定消息字符。
  8. 根据权利要求1所述的方法,其中,所述目标消息与所述至少一条关联消息中包括至少一条待格式转换的第一待处理消息;以及
    所述响应于确定所述交互请求为对多条消息进行处理,确定所述目标消息的至少一条关联消息,按照所述交互请求指示的处理方式处理所述目标消息以及所述至少一条关联消息,包括:
    根据所述交互请求,按照预设格式转换规则转换所述第一待处理消息的格式;
    在处理所述目标消息以及所述至少一条关联消息时,处理格式转换后的第一待处理消息。
  9. 根据权利要求1所述的方法,其中,所述至少一条关联消息中包括至少一条不可处理的第二目标消息;以及
    所述响应于确定所述交互请求为对多条消息进行处理,确定所述 目标消息的至少一条关联消息,按照所述交互请求指示的处理方式处理所述目标消息以及所述至少一条关联消息,包括:
    按照所述交互请求指示的处理方式处理除所述第二目标消息之外的其他消息。
  10. 根据权利要求1-9之一所述的方法,其中,所述响应于确定所述交互请求为对多条消息进行处理,确定所述目标消息的至少一条关联消息,按照所述交互请求指示的处理方式处理所述目标消息以及所述至少一条关联消息,包括:
    响应于确定所述交互请求为对多条消息进行处理,根据消息之间的回复关系,确定所述目标消息的至少一条关联消息;所述至少一条关联消息包括与所述目标消息具有回复关系的消息。
  11. 根据权利要求10所述的方法,其中,所述根据消息之间的回复关系,确定所述目标消息的至少一条关联消息包括:
    基于预先存储的回复关系,确定所述目标消息的至少一条关联消息,其中,预先存储的回复关系基于如下步骤得到:
    根据消息回复操作,确定消息之间的回复关系,所述回复关系包括直接回复关系和/或间接回复关系。
  12. 根据权利要求11所述的方法,其特征在于,所述页面所显示的多条消息存储在消息列表中,在所述消息列表中,每一条消息对应第一消息标识和第二消息标识;一消息的所述第一消息标识用于指示该条消息,第二消息标识用于指示该条消息所回复的消息的第一消息标识;以及
    所述根据消息之间的回复关系,确定所述目标消息的至少一条关联消息,包括:
    在所述消息列表中,根据多条消息各自的第二消息标识,确定与所述目标消息具有直接回复或间接回复关系的至少一条关联消息。
  13. 根据权利要求12所述的方法,其中,所述在所述消息列表中,根据多条消息各自的第二消息标识,确定与所述目标消息具有直接回复或间接回复关系的至少一条关联消息,包括:
    根据所述目标消息的所述第一消息标识信息,以及其他消息的所述第一消息标识信息和所述第二消息标识信息,确定对所述目标消息进行回复的直接回复消息和间接回复消息;和/或
    根据所述目标消息的所述第二消息标识信息,以及其他消息的所述第二消息标识信息和所述第一消息标识信息,确定所述目标消息对其进行直接回复的被直接回复消息,和所述目标消息对其进行间接回复的被间接回复消息。
  14. 根据权利要求4所述的方法,其中,所述关联信息详情展示界面中的多条消息为与所述目标消息之间存在直接回复和/或间接回复的消息。
  15. 根据权利要求1-9之一所述的方法,其中,
    所述目标消息的至少一条关联消息包括与所述目标消息同属于一个话题的消息。
  16. 一种交互方法,包括:
    接收消息处理操作,当页面上显示的消息满足预设条件时,显示预设消息处理控件;所述预设条件包括:页面上当前显示消息的条数大于预设条数,和/或当前选中消息与其他消息具有回复关系;
    根据对所述消息处理控件的触发,确定被选择的多个消息;被选择的多个消息包括预设条数的消息、或者与当前选中消息具有回复关系的消息;
    对被选择的多个消息,执行所述消息处理操作指示的处理。
  17. 根据权利要求16所述的方法,其中,所述根据对所述消息处理控件的触发,确定被选择的多个消息,包括:
    响应于基于对所述消息处理控件的触发所选择的消息的数量大于所述预设条数,将从所述触发起始时刻对应的消息开始确定的预设条数的消息,作为所述对所述消息处理控件的触发所选择的多个消息;以及
    所述方法还包括:
    显示用于提示所述对所述消息处理控件的触发涉及的消息的数量超过预设条数的提示信息。
  18. 根据权利要求16或17所述的方法,其中,所述方法还包括:在所述页面中显示消息直达控件,所述消息直达控件用于根据用户的触发操作在当前页面中突出显示所述被选择的多个消息中的最后一条消息。
  19. 根据权利要求17所述的方法,其中,所述触发起始时刻为检测到触发操作开始发生的时刻;以及
    所述将从所述触发起始时刻对应的消息开始确定的预设条数的消息,作为所述对所述消息处理控件的触发所选择的多个消息,包括:
    从所述触发起始时刻对应的消息开始按照对所述消息处理控件执行的触发操作所指示的选择顺序,选择预设条数的消息。
  20. 一种交互装置,包括:
    第一接收单元,用于在交互信息展示页面中,接收对目标消息进行转发的交互请求;
    转发单元,用于响应于确定所述交互请求为对多条消息进行处理,确定所述目标消息的至少一条关联消息,按照所述交互请求指示的处理方式处理所述目标消息以及所述至少一条关联消息。
  21. 一种交互装置,包括:
    第二接收单元,用于接收消息处理操作,当页面上显示的消息满足预设条件时,显示预设消息处理控件;所述预设条件包括:页面上当 前显示消息的条数大于预设条数,和/或当前选中消息与其他消息具有回复关系;
    确定单元,用于根据对所述消息处理控件的触发,确定被选择的多个消息;被选择的多个消息包括预设条数的消息、或者与当前选中消息具有回复关系的消息;
    执行单元,用于对被选择的多个消息,执行所述消息处理操作指示的处理。
  22. 一种电子设备,其特征在于,包括:
    一个或多个处理器;
    存储装置,用于存储一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-15中任一所述的方法,或者如权利要求16-19中任一所述的方法。
  23. 一种计算机可读介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1-15中任一所述的方法,或者如权利要求16-19中任一所述的方法。
PCT/CN2022/086378 2021-04-20 2022-04-12 交互方法、装置和电子设备 WO2022222794A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP22790903.3A EP4311200A1 (en) 2021-04-20 2022-04-12 Interaction method and apparatus, and electronic device
JP2023564089A JP2024516599A (ja) 2021-04-20 2022-04-12 インタラクション方法、装置、及び電子機器
US18/381,763 US20240048515A1 (en) 2021-04-20 2023-10-19 Interaction method and apparatus, and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110427758.3 2021-04-20
CN202110427758.3A CN115314456B (zh) 2021-04-20 2021-04-20 交互方法、装置和电子设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/381,763 Continuation US20240048515A1 (en) 2021-04-20 2023-10-19 Interaction method and apparatus, and electronic device

Publications (1)

Publication Number Publication Date
WO2022222794A1 true WO2022222794A1 (zh) 2022-10-27

Family

ID=83723721

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/086378 WO2022222794A1 (zh) 2021-04-20 2022-04-12 交互方法、装置和电子设备

Country Status (5)

Country Link
US (1) US20240048515A1 (zh)
EP (1) EP4311200A1 (zh)
JP (1) JP2024516599A (zh)
CN (1) CN115314456B (zh)
WO (1) WO2022222794A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180234371A1 (en) * 2017-02-10 2018-08-16 Gobitech AS Method, system and computer program product for providing interactive elements in messages
WO2018147747A1 (en) * 2017-02-10 2018-08-16 Gobitech AS Method, system and computer program product for providing interactive elements in messages
US10187486B1 (en) * 2016-03-17 2019-01-22 Google Llc Systems and methods for automatic extension of information from a first network to a second network
US20200021545A1 (en) * 2017-08-02 2020-01-16 Tencent Technology (Shenzhen) Company Limited Method, device and storage medium for interactive message in video page

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030163537A1 (en) * 2001-11-27 2003-08-28 International Business Machines Corporation Method and apparatus for handling conversation threads and message groupings as a single entity
US7412437B2 (en) * 2003-12-29 2008-08-12 International Business Machines Corporation System and method for searching and retrieving related messages
EP2434705B1 (en) * 2010-09-24 2016-04-20 BlackBerry Limited System and method for breaking up a message thread when replying or forwarding a message
US9871753B2 (en) * 2015-04-08 2018-01-16 Blackberry Limited Method, device and system for distinct forwarding of a plurality of messages selected as a group
US10554602B2 (en) * 2015-05-15 2020-02-04 Samsung Electronics Co., Ltd. User terminal apparatus, server, and control method thereof
CN105049317A (zh) * 2015-05-21 2015-11-11 腾讯科技(深圳)有限公司 消息转发方法及装置
CN108563378B (zh) * 2018-04-25 2020-06-16 维沃移动通信有限公司 一种消息管理方法及终端
CN110380955B (zh) * 2019-07-23 2022-01-28 北京字节跳动网络技术有限公司 消息处理方法、装置及电子设备
CN112311654A (zh) * 2019-07-29 2021-02-02 腾讯科技(深圳)有限公司 即时通讯消息的处理方法、装置、介质及电子设备
CN111200650B (zh) * 2019-12-30 2021-08-24 腾讯科技(深圳)有限公司 数据传输方法、装置、系统、设备及介质
CN111371677B (zh) * 2020-03-29 2023-04-07 闫文润 一种通讯方法以及计算机可读存储介质
CN113595864B (zh) * 2020-04-30 2023-04-18 北京字节跳动网络技术有限公司 一种转发邮件的方法、装置、电子设备及存储介质
CN111865760B (zh) * 2020-06-29 2022-05-03 维沃移动通信有限公司 消息显示方法及装置
CN112612391B (zh) * 2020-12-28 2022-06-10 维沃移动通信有限公司 消息处理方法、装置和电子设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10187486B1 (en) * 2016-03-17 2019-01-22 Google Llc Systems and methods for automatic extension of information from a first network to a second network
US20180234371A1 (en) * 2017-02-10 2018-08-16 Gobitech AS Method, system and computer program product for providing interactive elements in messages
WO2018147747A1 (en) * 2017-02-10 2018-08-16 Gobitech AS Method, system and computer program product for providing interactive elements in messages
US20200021545A1 (en) * 2017-08-02 2020-01-16 Tencent Technology (Shenzhen) Company Limited Method, device and storage medium for interactive message in video page

Also Published As

Publication number Publication date
CN115314456A (zh) 2022-11-08
US20240048515A1 (en) 2024-02-08
EP4311200A1 (en) 2024-01-24
CN115314456B (zh) 2023-11-28
JP2024516599A (ja) 2024-04-16

Similar Documents

Publication Publication Date Title
US11699028B2 (en) Method and apparatus for displaying online document, electronic device, and storage medium
WO2022268177A1 (zh) 信息显示方法、装置和电子设备
CN110658961B (zh) 信息显示方法、装置和电子设备
US11868707B2 (en) Information interaction method and apparatus, server, system, and storage medium
CN110658960A (zh) 消息处理方法、装置和电子设备
US11924157B2 (en) Email forwarding method and apparatus, electronic device, and storage medium
CN111596991A (zh) 交互操作执行方法、装置和电子设备
WO2022184012A1 (zh) 一种文档创建方法、装置、设备及存储介质
US20240094883A1 (en) Message selection method, apparatus and device
WO2021143317A1 (zh) 邀请链接信息处理方法、装置、电子设备及可读介质
CN111596823B (zh) 页面显示方法、装置和电子设备
JP2023522116A (ja) 情報表示方法、装置、電子デバイス及び記憶媒体
WO2024001936A1 (zh) 一种信息交互方法、装置、设备及介质
CN112256372A (zh) 信息处理方法、装置和电子设备
WO2023131263A1 (zh) 一种群成员添加方法、装置、设备及介质
WO2022184065A1 (zh) 电子文档的处理方法、装置、终端和存储介质
WO2022184037A1 (zh) 文档处理方法、装置、设备和介质
WO2022222794A1 (zh) 交互方法、装置和电子设备
CN112306596A (zh) 信息交互方法、装置和电子设备
CN111538552A (zh) 礼物面板配置方法、装置、可读介质及电子设备
CN110708425A (zh) 消息展示方法、装置和电子设备
CN112307394A (zh) 信息显示方法、装置和电子设备
WO2022228114A1 (zh) 信息交互方法、装置和电子设备
WO2022228405A1 (zh) 信息交互方法、装置和电子设备
CN115935051A (zh) 搜索结果显示方法、装置、设备、存储介质和程序产品

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22790903

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023564089

Country of ref document: JP

Ref document number: 2022790903

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022790903

Country of ref document: EP

Effective date: 20231019

NENP Non-entry into the national phase

Ref country code: DE