Session information processing method and apparatus, electronic device, and medium
Patent Information
- Application Number
- CN202311468841.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-06
- Publication Date
- 2026-11-03
- Estimated Expiration
- 2043-11-06
AI Technical Summary
在聊天会话中,用户无法同时浏览文件或网页链接信息和回复消息,导致操作过程复杂。
In the chat session interface, by receiving user input, the information content of a document or webpage link is displayed in the message display window or its layer below, allowing users to browse and reply to messages simultaneously.
It allows users to reply to messages while browsing files or web links without interrupting the user interface, simplifying the operation process.
Smart Images

Figure CN117453333B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of information processing technology, and specifically relates to a conversation information processing method, apparatus, electronic device and medium. Background Technology
[0002] In practical applications on mobile devices, chat functionality is a frequently used feature. Social applications not only support sending text and voice messages, but also files and web links, enabling richer content communication and information transmission. Currently, if contact A sends a file to contact B, and contact B receives a file notification and clicks on the notification to view the file's details, it's impossible for contact B to simultaneously browse the file and chat, making the process of viewing and replying to messages cumbersome. Summary of the Invention
[0003] The purpose of this application is to provide a method, apparatus, electronic device, and medium for processing conversation information, in order to solve the problem of the complexity of the user's reply message operation process.
[0004] In a first aspect, embodiments of this application provide a session information processing method, including:
[0005] Receive the user’s first input on the first message in the first session interface, the first message including a document or webpage link;
[0006] In response to the first input, the information content corresponding to the document or webpage link is displayed at a first position on the first session interface;
[0007] The first position includes at least one of the following:
[0008] The message display window where the first message is located;
[0009] The layer below the layer containing the first message.
[0010] Secondly, embodiments of this application provide a session information processing apparatus, including:
[0011] The first receiving module is used to receive the user's first input on the first message in the first session interface, the first message including a document or web page link;
[0012] The first response module is used to respond to the first input and display the information content corresponding to the document or webpage link at a first position in the first session interface.
[0013] The first position includes at least one of the following:
[0014] The message display window where the first message is located;
[0015] The layer below the layer containing the first message.
[0016] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method described in the first aspect.
[0017] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.
[0018] Fifthly, embodiments of this application also provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.
[0019] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.
[0020] In embodiments of this application, when an electronic device receives a user's first input on a first message within a first conversation interface, it can display the information content of the first message in the message display window where the first message is located, or it can display the information content of the first message in the lower layer of the layer where the first message is located. This allows the user to reply to the message while browsing the information content of the first message, without interrupting any operation interface, making the process of replying to the message simple and quick. Attached Figure Description
[0021] Figure 1 This is a flowchart illustrating the session information processing method according to an embodiment of this application;
[0022] Figure 2 This is a schematic diagram of the first message received in an embodiment of this application;
[0023] Figure 3a and Figure 3b This is a schematic diagram illustrating the display of session information content in a display window in an embodiment of this application;
[0024] Figure 4 This is a schematic diagram illustrating the combined browsing of multiple files in an embodiment of this application;
[0025] Figure 5This is a schematic diagram of displaying part of the information content of the first position in the bubble box in an embodiment of this application;
[0026] Figure 6a and Figure 6b This is an operational diagram illustrating the display of a new message in the information content of the first position in an embodiment of this application;
[0027] Figure 7 This is a schematic diagram of the second function icon in the embodiments of this application;
[0028] Figure 8 This is a schematic diagram illustrating the forwarding of chat logs and information content displayed in the first position together in an embodiment of this application;
[0029] Figure 9a and Figure 9b This is a schematic diagram of the bidirectional positioning operation between the information content displayed at the first position and the session information in the embodiments of this application;
[0030] Figure 10 This is a schematic diagram of the structure of the session information processing device according to an embodiment of this application;
[0031] Figure 11 This is one of the structural schematic diagrams of the electronic device according to an embodiment of this application;
[0032] Figure 12 This is a second schematic diagram of the structure of the electronic device according to an embodiment of this application. Detailed Implementation
[0033] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0034] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0035] The session information processing method, apparatus, electronic device, and medium provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.
[0036] like Figure 1 As shown in the figure, this application provides a session information processing method applied to an electronic device, the method comprising:
[0037] Step 101: Receive the user's first input on the first message in the first session interface, where the first message includes a document or webpage link.
[0038] In this embodiment, the first conversation interface is the conversation interface between the user of the electronic device and other contacts. The first message is conversation information sent or received by the user and other contacts within the first conversation interface, such as... Figure 2 As shown. The first message can be a document, a web link, etc.
[0039] The first input can be a user's click operation on the first message. For example, if the first message is a document sent by the other party's contact, the first input is the user's operation of clicking the document to view the full document content; or, for another example, if the first message is a webpage link sent by the other party's contact, the first input is the user's operation of clicking the webpage link to view the full webpage content.
[0040] Step 102: In response to the first input, display the information content corresponding to the document or webpage link at the first position of the first session interface;
[0041] The first position includes at least one of the following:
[0042] The message display window where the first message is located;
[0043] The layer below the layer containing the first message.
[0044] In this embodiment, after receiving the user's first input, the electronic device displays the specific content of the first message at a first location. The first location can be the message display window where the first message is located, and the message display window can be a display window formed by expanding the bubble frame of the first message. For example... Figure 2As shown, a user and contact Zhang San are chatting. Zhang San sends a file (which could be a document, web link, etc.), and the file information is displayed in the chat window. The user wants to view the file content, but Zhang San is also sending messages, so the chat needs to continue. The user can long-press the file message and then drag it downwards (in this case, the long-press and downward drag operations are the first input). This expands the file message's pop-up into a suitable display window, and the system automatically opens and displays the file content within that window. Figure 3a and Figure 3b As shown. The display window shows the specific content of the file message without obscuring the display of other messages. Users can quickly find important messages and reply to them normally, avoiding missing messages due to excessive reading time on documents or web pages.
[0045] The first position can also be the layer above the background image of the first session interface and the layer below the layer where the first message is located. For example... Figure 2 As shown, a user and contact Zhang San are chatting. Zhang San sends a file (which could be a document, a web link, etc.), and this file information is displayed in the chat window. The user wants to view the file's content, but Zhang San is also sending messages, so the chat needs to continue. The user can double-click the file message bubble (in this case, the double-click operation is the first input) to expand and display the file message's content in the background image area of the current first conversation interface. The displayed file message content is located below the bubble and will not obscure the messages sent by the contact. Therefore, the user can quickly find important messages and reply normally, avoiding the time spent reading long screenshots and missing messages.
[0046] In embodiments of this application, when an electronic device receives a user's first input on a first message within a first conversation interface, it can display the information content of a document or webpage link in the message display window for the first message, or it can display the information content of a document or webpage link in the layer below the layer where the first message is located. This allows the user to reply to messages while browsing document or webpage link information, without interrupting any operation interface, making the process of replying to messages simple and quick.
[0047] As an optional embodiment, the first message includes first session information and second session information;
[0048] The first input from the user to the first message in the first session interface includes: receiving the user's mobile input to the first session information, wherein the destination of the mobile input is the location of the second session information.
[0049] The step of displaying the information content corresponding to the document or webpage link at a first position on the first session interface includes: displaying the information content of the first session information and the information content of the second session information in the message display window where the second session information is located.
[0050] This embodiment can handle multiple conversation messages. When multiple conversation messages are sent or received within the first conversation interface, they can be displayed simultaneously in the first position, allowing for simultaneous reading of multiple files. For example, during a chat with contact Zhang San, Zhang San sends multiple file messages. These file messages are related in content, such as file 1 and file 2 needing to be viewed together. The user can then use gestures to drag the multiple file messages together, allowing for combined browsing of the files. This process is as follows: Figure 4 As shown in the image. This method allows users to browse multiple conversations simultaneously without affecting their ability to reply to messages, improving file browsing speed and user experience.
[0051] As an optional embodiment, when the information content corresponding to the document or webpage link is displayed at a first position on the first session interface, the method further includes:
[0052] A portion of the information content of the first message is displayed in the message display window of the first message.
[0053] In this embodiment, a portion of the first message's content can also be displayed in the message display window of the first message. For example, when a user is browsing file information in a display window or background image formed by expanding a bubble, and wants to chat with a contact named Zhang San when browsing to a certain point in the file's progress, the user can select a section of content and display it in the bubble, at which point the display at the target location will be exited. Figure 5 As shown.
[0054] Optionally, the method further includes:
[0055] Receives a user's selection operation on the first information content in the information content corresponding to the document or webpage link;
[0056] When the first information content is selected, receive the user's second input on the first information content;
[0057] In response to the second input, a first function icon is displayed; a third input from the user regarding the first function icon is received; in response to the third input, the second information content is displayed in the bubble box of the target session information; or,
[0058] In response to the second input, the first information content is displayed in the message display window where the first message is located. The portion of the information content is displayed in a floating state; a fourth input from the user is received regarding the floating portion of the information content; in response to the fourth input, the portion of the information content is displayed in the bubble box of the target session information.
[0059] In this embodiment, the first information content may be a portion of the information content corresponding to the document or webpage link. The user can select a portion of the content at the current browsing progress point, and perform a second input (such as long press, double-click, etc.) on the selected content, causing a first function icon to appear near the selected content. This first function icon may be, for example, "displayed in a message bubble." The user then performs a third input (such as a click) on this first function icon, and the selected portion of the content is then displayed in... Figure 2 The file message display window shown.
[0060] Alternatively, after a user selects a portion of content, that portion is displayed in a floating state. The user can drag this floating portion, and the current screen will return to the chat session window, where the user can drag the floating portion to... Figure 2 The file message display window shown.
[0061] This embodiment displays the progress of the information content being viewed by the user in the message display window of the conversation information, allowing the user to discuss with the other party based on this part of the content, and not forget the progress of the message browsing.
[0062] Optionally, the method further includes: receiving a user's sliding input to the message display window where the first message is located; and scrolling the information content corresponding to the document or webpage link within the message display window based on the direction of the sliding input.
[0063] In this embodiment, if a user wants to continue browsing the file content from where they left off during a chat with another contact, they can... Figure 5 By swiping up or down in the file message display window, you can navigate through the file content, moving it forward or backward.
[0064] As an optional embodiment, when the information content corresponding to the document or webpage link is displayed at a first position on the first session interface, the method further includes:
[0065] Upon receiving the second message, receive the user's fourth input regarding the second message;
[0066] In response to the fourth input, it is determined whether the information content of the second message is related to the information content of the first message; if they are related, the information content of the second message is added to the information content corresponding to the displayed document or webpage link.
[0067] In this embodiment, the second message can be a newly received conversation message within the current first conversation interface. Upon receiving the second message, the user can perform a fourth input (e.g., a movement operation) on it. The electronic device identifies the specific information content of the second message and determines whether it is related to the information content of the first message. This relatedness includes, for example, having a preset number of identical words, characters, or semantics. If the information content of the second message is determined to be related to the information content of the first message, the information content of the second message can be added to the currently displayed document or webpage link interface. This allows multiple related information to be displayed simultaneously in the current document or webpage link interface, enabling the user to read newly received conversation information without exiting the document or webpage link, avoiding missing important information and shortening information browsing time.
[0068] Optionally, if the information content of the second message is unrelated to the information content of the first message, the user can choose whether to browse the second message. If the user needs to browse the second message immediately, they can click on the message notification pop-up of the second message to display the message content of the second message on the upper layer of the current interface.
[0069] Optionally, adding the information content of the second message to the information content corresponding to the displayed document or webpage link includes:
[0070] Determine the associated position of the information content of the second message within the information content corresponding to the document or webpage link; replace the information content at the associated position with the information content of the second message; or, add and display the information content of the second message and the contact avatar corresponding to the second message at the associated position.
[0071] In this embodiment, the second message can be a new message sent by the other party's contact while the user is browsing the information content of the first message. If the user does not want to exit the current browsing page while browsing a file through the message display window of the first message or the background image of the conversation interface, the message sent by the other party's contact can be displayed in the currently viewed file. For example, if the file is in document format, such as a meeting minutes document, and the content of the document needs to be confirmed, the user receives a message notification from the other party's contact while browsing the document in full screen. The user triggers the dragging of the message notification into the document using a gesture (in this case, the dragging operation is the fourth input). At this time, the electronic device can parse the message content corresponding to the message notification, determine whether it is related to the current document based on the message content, and if it is related, find the content association point and insert the message content into the content association point in the form of overwriting and replacement, or add the display of message content and contact avatar separately at the content association point. This process is as follows. Figure 6a and Figure 6b As shown.
[0072] Optionally, the terminal can extract keywords from the information content of the second message, search for keywords in the information content corresponding to the document or webpage link, and determine the position of the word that is the same as the keyword as the associated position.
[0073] In this embodiment, users can simultaneously browse other received session information in a document or webpage link interface, and the other session information is displayed in the associated location, enabling users to browse multiple related contents in a short time without switching interfaces. This helps to speed up the understanding of information, avoid missing important information, and shorten the information browsing time.
[0074] As an optional embodiment, when the information content corresponding to the document or webpage link is displayed at a first position on the first session interface, the method further includes:
[0075] The second function icon is displayed in the first session interface;
[0076] Receive the user's eighth input for the second function icon;
[0077] In response to the eighth input, the information content corresponding to the document or webpage link is displayed in a scrolling manner at the first position.
[0078] In this embodiment, the second function icon can be a button that enables "up" and "down" functions. The eighth input can be a click operation on the second function icon. The user clicks the second function icon to scroll the information content of the first message upwards or downwards. Taking the information content of the first message displayed below the layer containing the first message as an example, when a user opens a document and previews its content in full-screen mode within a chat scenario, in order to simultaneously view the content progress and message replies, the user can also long-press within the document. The program detects that the user is viewing a file during a chat, and therefore displays the option "as chat content background." After the user clicks this option, the document content at the current progress point is set as the background of the chat session window and displayed below the message display window of the first message. To avoid conflict between the displayed content and the scrolling of the chat message list, "up" and "down" buttons are displayed on the first session interface. Figure 7 As shown. Users can scroll up and down the background information displayed in the chat by clicking the "up" and "down" buttons.
[0079] As an optional embodiment, when the information content corresponding to the document or webpage link is displayed at a first position on the first session interface, the method further includes:
[0080] Detect whether the information content displayed at the first position is obscured by the session information of the first session interface; if it is obscured, adjust the layout of the information content corresponding to the document or webpage link.
[0081] In this embodiment, after the information content of the first message is displayed in the first position, in order to prevent the chat message display window from obscuring the information content in the first position and to avoid affecting the user's browsing of the information content, the electronic device can detect whether there is information content in the position where the chat message display window appears. If so, the layout of the information content displayed in the first position is adjusted, for example, by leaving a space in that position, indenting it, or displaying it on a new line. Optionally, if a new message is received, the electronic device also triggers this detection to determine whether the new message will obscure the information content in the first position. If it does, adjustments are made, and the adjusted layout is re-displayed in the first position. Optionally, in this embodiment, the first position is the layer below the layer where the message display window is located.
[0082] As an optional embodiment, when the information content corresponding to the document or webpage link is displayed at a first position on the first session interface, the method further includes:
[0083] Receive a fifth input from the user regarding a third message, wherein the third message is a message within the first session interface; in response to the fifth input, display the information content corresponding to the document or webpage link in editable mode;
[0084] The system receives a user's selection of a second piece of information from the information content corresponding to a document or webpage link; in response to the selection, the system sends the third message and the second piece of information to the first user.
[0085] In this embodiment, the third message can be any information within the first session interface other than the first message. When a user wants to forward the third message and the information content displayed in the first position to another user, they can make a fifth input on the third message. Optionally, at this time, a third function icon is displayed on the first session interface, and the information content displayed in the first position is displayed in editable mode. The third function icon can be a forwarding icon.
[0086] The second information content may be a portion of the information content corresponding to the document or webpage link. When the information content displayed in the first position is in editable mode, the user can select the portion of the information content they wish to forward, and thus forward the third message and the selected portion of the information content together to another user.
[0087] For example, when a user selects to forward chat history, they might find that the chat history is related to the information displayed in the first position, and they need to forward both of the displayed information to their contact. Therefore, after the user enters chat history forwarding mode, the electronic device detects that the first message is currently displayed in the first position, and then makes the displayed information also selectable. The user can choose to forward both the chat history and the information displayed in the first position together. This process is as follows: Figure 8 As shown.
[0088] As an optional embodiment, when the information content corresponding to the document or webpage link is displayed at a first position on the first session interface, the method further includes:
[0089] Receive the user's sixth input for the fourth message of the first session interface;
[0090] In response to the sixth input, obtain the first keyword selected by the user;
[0091] Determine whether the first keyword is related to the first message;
[0092] If a connection exists, the information content corresponding to the document or webpage link will be redirected to the location associated with the first keyword.
[0093] In this embodiment, the user can also achieve bidirectional positioning between the session information and the information content displayed at the first location. The fourth message can be other session information within the first session interface besides the first message. The sixth input can be a long press and selection operation, a double-click and selection operation. The user selects a first keyword in the fourth message through the sixth input, and determines whether the information content currently displayed at the first location is relevant based on the first keyword. Optionally, if the first keyword is relevant to the first message, a jump icon can be displayed, and the user can jump to the next information content by operating the jump icon.
[0094] For example, if a portion of the chat message is related to the content of a document displayed at the top, and the user needs to quickly locate the relevant paragraph or sentence in the document based on keywords from the chat message, the user can select keywords from the chat message. The electronic device will then detect whether the keywords are related to the already loaded document content. If there is a connection, the corresponding option "Jump to document location XX" will appear. Clicking this option will allow the user to jump to the desired document content. Figure 9a As shown.
[0095] As another optional embodiment, when the information content corresponding to the document or webpage link is displayed at a first position in the first session interface, the method further includes:
[0096] Receive a seventh input from the user regarding the information content corresponding to the document or webpage link; in response to the seventh input, obtain the second keyword selected by the user;
[0097] Search the first conversation interface for historical conversation information associated with the second keyword; if it exists, jump the first conversation interface to the location of the historical conversation information associated with the second keyword.
[0098] In this embodiment, the user can also achieve bidirectional positioning between the information content displayed in the first position and the conversation information. The seventh input can be a long press and selection operation, or a double-click and selection operation. The user selects a second keyword in the information content currently displayed in the first position through the seventh input, and determines whether there is related conversation information in the current first conversation interface based on the second keyword. Optionally, if there is conversation information related to the second keyword in the first conversation interface, a jump icon can be displayed, and the user can jump to the conversation content by operating the jump icon.
[0099] For example, if the content of the document displayed in the first position is related to part of the chat history message, and the user needs to quickly locate the historical chat message based on keywords in the document content, the user can select keywords in the document content. The electronic device will detect whether the keywords are related to the historical chat messages in the current conversation interface. If there is a relationship, the corresponding option "Jump to XX position in the chat history" will appear. The user can click on this option to jump to the chat history message. Figure 9b As shown.
[0100] As an optional embodiment, the step of displaying the information content corresponding to the document or webpage link at a first position on the first session interface in response to the first input includes:
[0101] In response to the first input, the information content of the first message is identified;
[0102] When the first session interface is a session interface between a user and a second user, extract the information content related to the second user from the information content of the first session information;
[0103] Information related to the second user is displayed at the first location.
[0104] In this embodiment, when the information displayed at the first position is related to multiple contacts, such as when the first message is a document about meeting minutes, the document content displayed at the first position can change according to different contacts. When the electronic device receives the first input, it can identify the contact corresponding to the currently opened conversation interface and determine whether the information content of the first message is related to the current contact. If related, only the information content related to the current contact at the first position is displayed.
[0105] For example, if a meeting minutes document contains the speaking records of contacts A, B, and C, then after displaying the document content first, the chat window between the user and contact A will only show contact A's speaking records, the chat window between the user and contact B will only show contact B's speaking records, and the chat window between the user and contact C will only show contact C's speaking records. This implementation method reduces the content displayed in the chat window, making it more intuitive.
[0106] Alternatively, if a user receives a message from contact A while browsing a file and needs to switch to contact A's interface, the content related to contact A can be extracted from the file and displayed as the first element in the conversation with contact A. Modifications made to the file across multiple contacts' conversations can be summarized to obtain the complete revised document.
[0107] This application embodiment enables users to simultaneously browse documents or web links during chat, making the process of browsing information and replying to messages convenient and simple. This application embodiment also provides some interactions when the information content of the conversation is displayed in the first position, such as sending chat background and contact information, forwarding chat background and chat history, and location services, thus possessing certain practical and innovative value.
[0108] In embodiments of this application, when an electronic device receives a user's first input on a first message within a first conversation interface, it can display the information content of the first message in the message display window where the first message is located, or it can display the information content of the first message in the lower layer of the layer where the first message is located. This allows the user to reply to the message while browsing the information content of the first message, without interrupting any operation interface, making the process of replying to the message simple and quick.
[0109] The session information processing method provided in this application can be executed by a session information processing device. This application uses the execution of the session information processing method by a session information processing device as an example to illustrate the session information processing device provided in this application.
[0110] like Figure 10 As shown, this application embodiment also provides a session information processing device 1000, applied to an electronic device, including:
[0111] The first receiving module 1010 is used to receive the user's first input on the first message in the first session interface, the first message including a document or a webpage link.
[0112] The first response module 1020 is used to respond to the first input and display the information content corresponding to the document or webpage link at a first position in the first session interface.
[0113] The first position includes at least one of the following:
[0114] The message display window where the first message is located;
[0115] The layer below the layer containing the first message.
[0116] Optionally, the first message includes first session information and second session information;
[0117] The first receiving module is specifically used for:
[0118] Receive user's mobile input on the first session information, wherein the destination location of the mobile input is the location of the second session information;
[0119] The first response module is specifically used for:
[0120] The message display window containing the second session information displays the information content of the first session information and the information content of the second session information.
[0121] Optionally, the device further includes:
[0122] The second receiving module is used to receive the user's selection operation on the first information content in the information content corresponding to the document or webpage link;
[0123] The third receiving module is used to receive a second input from the user on the first information content when the first information content is selected;
[0124] A second response module is configured to, in response to the second input, display a first function icon; receive a third input from the user regarding the first function icon; and, in response to the third input, display the first information content in the message display window where the first message is located; or,
[0125] In response to the second input, the first information content is displayed in the message display window where the first message is located.
[0126] Optionally, the device further includes:
[0127] The fourth receiving module is used to receive the user's sliding input to the message display window where the first message is located;
[0128] The first display module is used to scroll and display the information content corresponding to the document or webpage link within the message display window based on the direction of the sliding input.
[0129] Optionally, the device further includes:
[0130] The fifth receiving module is used to receive a fourth input from the user regarding the second message when the second message is received;
[0131] The third response module is used to respond to the fourth input and identify whether the information content of the second message is related to the information content of the first message;
[0132] The second display module is used to add the information content of the second message to the information content corresponding to the displayed document or webpage link if relevant.
[0133] Optionally, the third display module is specifically used for:
[0134] Determine the associated position of the information content of the second message within the information content corresponding to the document or webpage link;
[0135] Replace the information content of the associated location with the information content of the second message; or, add the information content of the second message and the contact avatar corresponding to the second message to the associated location.
[0136] Optionally, the device further includes:
[0137] The detection module is used to detect whether the information content displayed at the first position is obscured by the session information of the first session interface;
[0138] The first processing module is used to adjust the layout of the information content corresponding to the document or webpage link if it is obscured.
[0139] Optionally, the device further includes:
[0140] The sixth receiving module is used to receive the user's fifth input on the third message, which is a message within the first session interface;
[0141] The fourth response module is used to respond to the fifth input by displaying the information content corresponding to the document or webpage link in an editable mode;
[0142] The seventh receiving module is used to receive the user's selection operation of the second information content in the information content corresponding to the document or web page link;
[0143] The fifth response module is used to send the third message and the second information content to the first user in response to the selection operation.
[0144] Optionally, the device further includes:
[0145] The eighth receiving module is used to receive the sixth input from the user on the fourth message of the first session interface;
[0146] The sixth response module is used to respond to the sixth input and obtain the first keyword selected by the user;
[0147] The determining module is used to determine whether the first keyword is associated with the first message;
[0148] The second processing module is used to redirect the information content corresponding to the document or webpage link to the location associated with the first keyword if an association exists.
[0149] Optionally, the device further includes:
[0150] The ninth receiving module is used to receive the user's seventh input regarding the information content corresponding to the document or webpage link;
[0151] The sixth response module is used to respond to the seventh input and obtain the second keyword selected by the user;
[0152] The third processing module is used to search whether there is historical session information associated with the second keyword in the first session interface;
[0153] The fourth processing module is used to, if present, redirect the first session interface to the location of the historical session information associated with the second keyword.
[0154] Optionally, the first response module is specifically used for:
[0155] In response to the first input, the information content of the first message is identified;
[0156] When the first conversation interface is a conversation interface between a user and a second user, extract the information content related to the second user from the information content of the first message;
[0157] Information related to the second user is displayed at the first location.
[0158] In embodiments of this application, when an electronic device receives a user's first input on a first message within a first conversation interface, it can display the information content of the first message in the message display window where the first message is located, or it can display the information content of the first message in the lower layer of the layer where the first message is located. This allows the user to reply to the message while browsing the information content of the first message, without interrupting any operation interface, making the process of replying to the message simple and quick.
[0159] The session information processing device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the device.
[0160] The session information processing device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.
[0161] The session information processing device provided in this application embodiment can achieve... Figure 1 To avoid repetition, the various processes implemented in the method embodiment shown in Figure 9 will not be described again here.
[0162] Optional, such as Figure 11 As shown, this application embodiment also provides an electronic device 1100, including a processor 1101, a memory 1102, and a program or instructions stored in the memory 1102 and executable on the processor 1101. When the program or instructions are executed by the processor 1101, they implement the various processes of the above-described session information processing method embodiment and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0163] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
[0164] Figure 12 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.
[0165] The electronic device 1200 includes, but is not limited to, components such as: radio frequency unit 1201, network module 1202, audio output unit 1203, input unit 1204, sensor 1205, display unit 1206, user input unit 1207, interface unit 1208, memory 1209, and processor 1210.
[0166] Those skilled in the art will understand that the electronic device 1200 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 1210 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 12 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0167] The user input unit 1207 is used to receive a user's first input on a first message in the first session interface, wherein the first message includes a document or a webpage link.
[0168] The display unit 1206 is configured to: in response to the first input, display the information content corresponding to the document or webpage link at a first position in the first session interface;
[0169] The first position includes at least one of the following:
[0170] The message display window where the first message is located;
[0171] The layer below the layer containing the first message.
[0172] Optionally, the first message includes first session information and second session information;
[0173] The user input unit 1207 is specifically used to: receive mobile input from the user on the first session information, wherein the destination of the mobile input is the location of the second session information;
[0174] The display unit 1206 is specifically used to display the information content of the first session information and the information content of the second session information in the message display window where the second session information is located.
[0175] Optionally, the user input unit 1207 is specifically used for:
[0176] Receives a user's selection operation on the first information content in the information content corresponding to the document or webpage link; if the first information content is selected, receives a second input from the user on the first information content;
[0177] The display unit 1206 is specifically configured to: display a first function icon in response to the second input; receive a third input from the user regarding the first function icon; and display the first information content in the message display window where the first message is located in response to the third input; or,
[0178] In response to the second input, the first information content is displayed in the message display window where the first message is located.
[0179] Optionally, the user input unit 1207 is further configured to: receive sliding input from the user into the message display window where the first message is located;
[0180] The display unit 1206 is specifically used to: scroll and display the information content corresponding to the document or webpage link in the message display window based on the direction of the sliding input.
[0181] Optionally, the user input unit 1207 is further configured to: receive a fourth input from the user regarding the second message upon receiving the second message;
[0182] The processor 1210 is configured to: in response to the fourth input, identify whether the information content of the second message is related to the information content of the first message;
[0183] If relevant, the information content of the second message will be added to the information content corresponding to the displayed document or webpage link.
[0184] Optionally, the processor 1210 is specifically used for:
[0185] Determine the associated position of the information content of the second message within the information content corresponding to the document or webpage link;
[0186] Replace the information content of the associated location with the information content of the second message; or, add the information content of the second message and the contact avatar corresponding to the second message to the associated location.
[0187] Optionally, the processor 1210 is used for:
[0188] Detect whether the information content displayed at the first position is obscured by the session information of the first session interface;
[0189] If obscured, the layout of the information content corresponding to the document or webpage link will be adjusted.
[0190] Optionally, the user input unit 1207 is configured to: receive a fifth input from the user regarding a third message, wherein the third message is a message within the first session interface;
[0191] The display unit 1206 is configured to: in response to the fifth input, display the information content corresponding to the document or webpage link in an editable mode;
[0192] The user input unit 1207 is also used to: receive a user's selection operation on the second information content in the information content corresponding to a document or webpage link;
[0193] The radio frequency unit 1201 is used to: in response to the selection operation, send the third message and the second information content to the first user.
[0194] Optionally, the user input unit 1207 is further configured to: receive a sixth input from the user regarding the fourth message of the first session interface;
[0195] The processor 1210 is configured to: in response to the sixth input, acquire the first keyword selected by the user; and determine whether the first keyword is associated with the first message;
[0196] The display unit 1206 is used to: if there is an association, jump the information content corresponding to the document or webpage link to the position associated with the first keyword.
[0197] Optionally, the user input unit 1207 is further configured to: receive a seventh input from the user regarding the information content corresponding to the document or webpage link;
[0198] The processor 1210 is configured to: in response to the seventh input, obtain the second keyword selected by the user; and search the first session interface for historical session information associated with the second keyword.
[0199] The display unit 1206 is used to: if present, jump the first session interface to the location of the historical session information associated with the second keyword.
[0200] Optionally, the processor 1210 is further configured to: in response to the first input, identify the information content of the first message; and, when the first session interface is a session interface between a user and a second user, extract information content related to the second user from the information content of the first message.
[0201] The display unit 1206 is used to display information content related to the second user at the first position.
[0202] In embodiments of this application, when an electronic device receives a user's first input on a first message within a first conversation interface, it can display the information content of the first message in the message display window where the first message is located, or it can display the information content of the first message in the lower layer of the layer where the first message is located. This allows the user to reply to the message while browsing the information content of the first message, without interrupting any operation interface, making the process of replying to the message simple and quick.
[0203] It should be understood that, in this embodiment, the input unit 1204 may include a graphics processing unit (GPU) 12041 and a microphone 12042. The GPU 12041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 1206 may include a display panel 12061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1207 includes a touch panel 12071 and at least one of other input devices 12072. The touch panel 12071 is also called a touch screen. The touch panel 12071 may include a touch detection device and a touch controller. Other input devices 12072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.
[0204] The memory 1209 can be used to store software programs and various data. The memory 1209 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 1209 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 1209 in this embodiment includes, but is not limited to, these and any other suitable types of memory.
[0205] Processor 1210 may include one or more processing units; optionally, processor 1210 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 1210.
[0206] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described session information processing method embodiments and achieve the same technical effects. To avoid repetition, they will not be described again here.
[0207] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0208] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described session information processing method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0209] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0210] This application provides a computer program product that is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described session information processing method embodiments, and can achieve the same technical effects. To avoid repetition, it will not be described again here.
[0211] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0212] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
Claims
1. A method for processing conversational information, characterized in that, include: Receive the user’s first input on the first message in the first session interface, the first message including a document or webpage link; In response to the first input, the information content corresponding to the document or webpage link is displayed at a first position on the first session interface; The first position includes at least one of the following: The message display window where the first message is located; The layer below the layer containing the first message; The method further includes: Receives a user's selection operation on the first information content in the information content corresponding to the document or webpage link; When the first information content is selected, receive the user's second input on the first information content; In response to the second input, a first function icon is displayed; a third input from the user regarding the first function icon is received; in response to the third input, the first information content is displayed in the message display window where the first message is located; or, In response to the second input, the first information content is displayed in the message display window where the first message is located.
2. The method according to claim 1, characterized in that, The first message includes first session information and second session information; The receiving of the user's first input on the first message within the first session interface includes: Receive user's mobile input on the first session information, wherein the destination location of the mobile input is the location of the second session information; Displaying the information content corresponding to the document or webpage link at a first position on the first session interface includes: The message display window containing the second session information displays the information content of the first session information and the information content of the second session information.
3. The method according to claim 1, characterized in that, The method further includes: Receive user swipe input on the message display window where the first message is located; Based on the direction of the swipe input, the information content corresponding to the document or webpage link is scrolled and displayed within the message display window.
4. The method according to claim 1, characterized in that, When the information content corresponding to the document or webpage link is displayed at a first position in the first session interface, the method further includes: Upon receiving the second message, receive the user's fourth input regarding the second message; In response to the fourth input, it is determined whether the information content of the second message is related to the information content of the first message; If relevant, the information content of the second message will be added to the information content corresponding to the displayed document or webpage link.
5. The method according to claim 4, characterized in that, Adding the information content of the second message to the information content corresponding to the displayed document or webpage link includes: Determine the associated position of the information content of the second message within the information content corresponding to the document or webpage link; Replace the information content of the associated location with the information content of the second message; or, add the information content of the second message and the contact avatar corresponding to the second message to the associated location.
6. The method according to claim 1, characterized in that, When the information content corresponding to the document or webpage link is displayed at a first position in the first session interface, the method further includes: Detect whether the information content displayed at the first position is obscured by the session information of the first session interface; If obscured, the layout of the information content corresponding to the document or webpage link will be adjusted.
7. The method according to claim 1, characterized in that, When the information content corresponding to the document or webpage link is displayed at a first position in the first session interface, the method further includes: Receive a fifth input from the user regarding a third message, wherein the third message is a message within the first session interface; In response to the fifth input, the information content corresponding to the document or webpage link is displayed in editable mode; Receive user selection of the second information content in the information content corresponding to a document or webpage link; In response to the selection operation, the third message and the second information content are sent to the first user.
8. The method according to claim 1, characterized in that, When the information content corresponding to the document or webpage link is displayed at a first position in the first session interface, the method further includes: Receive the user's sixth input for the fourth message of the first session interface; In response to the sixth input, obtain the first keyword selected by the user; Determine whether the first keyword is related to the first message; If a connection exists, the information content corresponding to the document or webpage link will be redirected to the location associated with the first keyword.
9. The method according to claim 1, characterized in that, When the information content corresponding to the document or webpage link is displayed at a first position in the first session interface, the method further includes: Receive the user's seventh input regarding the information content corresponding to the document or webpage link; In response to the seventh input, obtain the second keyword selected by the user; Search the first session interface to see if there is any historical session information associated with the second keyword; If it exists, the first session interface will be redirected to the location of the historical session information associated with the second keyword.
10. The method according to claim 1, characterized in that, The step of displaying the information content corresponding to the document or webpage link at a first position in response to the first input includes: In response to the first input, the information content of the first message is identified; When the first conversation interface is a conversation interface between a user and a second user, extract the information content related to the second user from the information content of the first message; Information related to the second user is displayed at the first location.
11. A conversation information processing device, characterized in that, include: The first receiving module is used to receive the user's first input on the first message in the first session interface, the first message including a document or web page link; The first response module is used to respond to the first input and display the information content corresponding to the document or webpage link at a first position in the first session interface. The first position includes at least one of the following: The message display window where the first message is located; The layer below the layer containing the first message; The second receiving module is used to receive the user's selection operation on the first information content in the information content corresponding to the document or webpage link; The third receiving module is used to receive a second input from the user on the first information content when the first information content is selected; A second response module is configured to, in response to the second input, display a first function icon; receive a third input from the user regarding the first function icon; and, in response to the third input, display the first information content in the message display window where the first message is located; or, In response to the second input, the first information content is displayed in the message display window where the first message is located.
12. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the session information processing method as described in any one of claims 1-10.
13. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the session information processing method as described in any one of claims 1-10.
Citation Information
Patent Citations
Message display method, device, electronic equipment and storage medium
CN110445706A
Message processing method and device, electronic equipment and storage medium
CN113360238A
Information display method, device and system and storage medium
CN115017428A
Method and device for presenting session message, medium and program product
CN115061985A
