Session information sending method and apparatus, and electronic device and storage medium
By displaying the recommendation information in the input area of the session interface and responding to the information sending operation, sending the associated target session information, solving the problem of single content recommendation methods in the existing technology, and realizing a richer recommendation method and higher recommendation method and higher User experience.
Patent Information
- Application Number
- PCT/CN2024/099892
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-07-25
- Filing Date
- 2024-06-18
- Publication Date
- 2025-01-30
AI Technical Summary
In the prior art, the recommendation method of information reply content is relatively single, lacking diversity and improvement of user experience.
By displaying recommendation information in the input area of the session interface, and in response to the user's information sending operation, the target session information associated with the recommendation information is sent.
It enriches the recommendation method of session information, simplifies the process of viewing the recommended information and the process of sending information, and improves the user experience.
Smart Images

Figure CN2024099892_30012025_PF_FP_ABST
Abstract
Description
Method, device, electronic device and storage medium for sending session information
[0001] This application claims priority to Chinese Patent Application No. 202310922541.9 filed on July 25, 2023, and the contents of the above-mentioned Chinese patent application disclosure are hereby incorporated by reference in their entirety as a part of this application. Technical Field
[0002] Embodiments of the present disclosure relate to a method, device, electronic device, and storage medium for sending session information. Background Art
[0003] In some platforms, information reply content can be recommended to users based on the user's trigger operation, so that users can reply to the message. However, the method of recommending information reply content is relatively simple.
[0004] Summary of the Invention
[0005] Embodiments of the present disclosure provide a method, apparatus, electronic device, and storage medium for sending session information to enrich the method of recommending session information.
[0006] In a first aspect, an embodiment of the present disclosure provides a method for sending session information, including:
[0007] In response to a display operation on the conversation interface, display the conversation interface and present recommended information in an input area of the conversation interface, wherein the input area is an area for the current user to input conversation information, and the recommended information is conversation information recommended for sending;
[0008] In response to an information sending operation, target session information is sent, the target session information being associated with the recommended information displayed in the input area.
[0009] In a second aspect, an embodiment of the present disclosure further provides a device for sending session information, including:
[0010] an interface display module, configured to display the conversation interface in response to a display operation on the conversation interface, and present recommended information in an input area of the conversation interface, wherein the input area is an area for the current user to input conversation information, and the recommended information is conversation information recommended for sending;
[0011] The information sending module is configured to send target session information in response to an information sending operation, where the target session information is associated with the recommended information displayed in the input area.
[0012] In a third aspect, an embodiment of the present disclosure further provides an electronic device, including:
[0013] one or more processors;
[0014] a memory for storing one or more programs,
[0015] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for sending session information as described in the embodiment of the present disclosure.
[0016] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for sending session information as described in an embodiment of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.
[0018] FIG1 is a flow chart of a method for sending session information provided by an embodiment of the present disclosure;
[0019] FIG2 is a schematic diagram showing a display of recommendation information provided by an embodiment of the present disclosure;
[0020] FIG3 is a schematic diagram showing a display of a recommendation control provided by an embodiment of the present disclosure;
[0021] FIG4 is a flow chart of another method for sending session information provided by an embodiment of the present disclosure;
[0022] FIG5 is a schematic diagram showing information content in a selected state provided by an embodiment of the present disclosure;
[0023] FIG6 is a schematic diagram showing information content in an editing state provided by an embodiment of the present disclosure;
[0024] FIG7 is a structural block diagram of a device for sending session information provided by an embodiment of the present disclosure;
[0025] FIG8 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0027] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0028] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "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," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0029] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0030] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0031] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0032] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0033] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the operation requested will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.
[0034] As an optional but non-limiting implementation, in response to receiving a user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0035] It is understandable that the above notification and user authorization process are merely illustrative and do not limit the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0036] FIG1 is a flow chart of a method for sending session information provided by an embodiment of the present disclosure. The method can be executed by a device for sending session information, wherein the device can be implemented by software and / or hardware and can be configured in an electronic device, for example, a mobile phone or tablet computer. The method for sending session information provided by an embodiment of the present disclosure is suitable for scenarios where sendable session information is recommended to users, and is particularly suitable for scenarios where sendable session information is recommended to users in an input box of a session interface. As shown in FIG1 , the method for sending session information provided by this embodiment may include:
[0037] S101. In response to a display operation on a conversation interface, the conversation interface is displayed, and recommended information is presented in an input area of the conversation interface, wherein the input area is an area for a current user to input conversation information, and the recommended information is conversation information recommended for sending.
[0038] The display operation can be a trigger operation for instructing the display of a conversation interface. The conversation interface can be an interface for viewing and sending conversation information. It can be a single-person conversation interface between the current user and another user, or a group conversation interface. The following description uses a single-person conversation interface as an example. The conversation interface can include an input area, which can be considered an area for the current user to enter conversation information, such as an input box. Recommended information can be conversation information recommended to the current user for reference, editing, or sending. In other words, it can include text and / or images.
[0039] Specifically, when a display operation for a conversation interface is received, the conversation interface can be displayed, and the recommended conversation information sent by the current user can be displayed in the input area 20 of the conversation interface, such as displaying recommended information 21 in the input area 20 of the conversation interface, as shown in Figure 2.
[0040] In this embodiment, the recommended information is displayed in the input area of the conversation interface. In other words, the input area can simultaneously support the display of recommended information and conversation information input by the user, so that the user can complete the viewing of recommended information and the input of conversation information within the input area. Compared with the technical solution of displaying recommended information outside the input area, it can enrich the recommendation method of conversation information and the function of the input area, and simplify the time spent by users on viewing recommended information and sending information.
[0041] In addition, as shown in FIG2 , the conversation interface may further include an information area 22 , which may be used to display conversation information received and sent by the current user. Thus, when the conversation interface is displayed, the conversation information received and / or sent by the current user may be displayed in the information area 22 of the conversation interface.
[0042] In this embodiment, when the conversation interface is displayed, regardless of whether there is conversation information in the conversation interface that requires the current user to reply, recommended information is displayed in the input area of the conversation interface. For example, when there is conversation information that requires the current user to reply, recommended information for replying to the conversation information is displayed; when there is no conversation information that requires the current user to reply, recommended conversation information actively sent by the current user is displayed.
[0043] In this embodiment, when displaying a conversation interface, the user may also consider whether there are conversation messages in the conversation interface that require a reply from the current user. Only when there are conversation messages in the conversation interface that require a reply from the current user is recommended information displayed in the input area of the conversation interface, allowing the current user to refer to or use the recommended information to reply to one or more conversation messages in the conversation interface that require a reply. Optionally, displaying recommended information in the input area of the conversation interface includes: if there are conversation messages in the conversation interface that require a reply, displaying recommended information in the input area of the conversation interface that is used to reply to at least a portion of the conversation messages that require a reply.
[0044] The pending conversation messages can be considered to be conversation messages to be replied to by the current user, such as newly received conversation messages after the last conversation message sent by the current user in the conversation interface, and there can be one or more of them. In this case, the recommended information can be information for replying to one or more pending conversation messages, and can be determined based on the information content of the one or more pending conversation messages.
[0045] In some embodiments, the recommended information displayed in the input area is supported for switching. In this case, optionally, after the recommended information is displayed in the input area of the conversation interface, the method further includes: switching the current recommended information displayed in the input area when a preset switching condition is met, wherein the preset switching condition includes at least one of a change in at least part of the conversation information to be replied to, a change in the characters input in the input area, and a receipt of a recommended information switching operation.
[0046] The current recommended information can be understood as the recommended information currently displayed in the input area. The preset switching condition can be a preset condition for switching the current recommended information. For example, the preset switching condition can include a change in one or more conversation messages to be replied to, a change in the characters entered in the input area, and / or a recommended information switching operation being received. The recommended information switching operation can be a triggering operation for instructing to switch the recommended information displayed in the input area, such as an operation of triggering a switching control displayed in the input area.
[0047] In the above embodiment, when the current condition meets the preset switching condition, the current recommended information displayed in the input area can be switched to enrich the recommended information displayed in the input area and meet the user's demand for viewing different recommended information.
[0048] Regarding the situation where the current recommended information displayed in the input area is switched when at least part of the conversation information to be replied to changes, illustratively, when it is detected that the current user performs a recommendation operation on a certain conversation information in the information area of the conversation interface, the current recommended information displayed in the input area can be switched to recommended information for the conversation information, such as switched to recommended information for replying to the conversation information; and / or, when it is detected that there is newly received conversation information in the information area of the conversation interface, recommended information can be determined based on at least one piece of conversation information to be replied to including the newly received conversation information, and the current recommended information displayed in the input area can be switched to the determined recommended information.
[0049] For example, as shown in Figure 3 (using triggering session information 4 as an example), when it is detected that the current user has triggered a session information displayed in the session interface, a recommendation control 30 corresponding to the session information can be displayed, allowing the current user to perform a recommendation operation on the session information. Thus, when it is detected that the current user has triggered the recommendation control 30, the current recommendation information displayed in the input area 20 can be switched to the recommendation information corresponding to the session information. The session information and recommendation control can be triggered in any manner. For example, the session information and / or recommendation control can be triggered by clicking or long pressing, or by moving an input indicator to its corresponding display area. The input indicator can be, for example, a cursor.
[0050] For another example, recommended information for the most recently received session information after the current user sent the last session information in the session interface can be displayed in the input area of the session interface; thus, when the most recently received session information of the current user changes, such as when new session information is received in the session interface, the current recommended information displayed in the input area can be switched.
[0051] Regarding the case where the current recommended information displayed in the input area is switched when the characters entered in the input area change, exemplarily, the input area may include a first sub-area and a second sub-area, the first sub-area being used to display the recommended information, and the second sub-area being used to display the characters entered by the current user. When the second sub-area of the input area contains characters entered by the current user through character input, for example, when the second sub-area of the input area contains characters entered by the current user through the keyboard, if the characters are not entered for the purpose of editing the recommended information, the recommended information associated with the characters entered by the user may be displayed in the first sub-area of the input area; thus, when the characters entered in the second sub-area of the input area change, the recommended information may be re-determined based on the changed characters, and the current recommended information displayed in the first sub-area may be switched to the re-determined recommended information, so that the user can send session information associated with the switched recommended information.
[0052] Regarding the case where the current recommended information displayed in the input area is switched upon receiving a recommendation information switching operation, illustratively, when a recommendation information switching operation is received, the recommended information displayed in the input area can be switched according to a preset rule. As shown in Figure 2, assuming that recommendation information A for session information 5 is displayed in the input area before the switch, when the recommendation information switching operation is received, the current recommended information in the input area can be switched to another recommended information for session information 5 (e.g., recommendation information B for session information 5); or, the current recommended information in the input area can be switched to recommended information for another session information, for example, switching the current recommended information in the input area to recommended information for a certain session information adjacent to session information 5 (e.g., session information 4) received by the current user. Specific settings can be made as needed.
[0053] In this embodiment, the execution method of the recommended information switching operation can be flexibly set. For example, the recommended information switching operation can act on the recommended information switching control 23 (as shown in Figure 2), and the recommended information switching control 23 can be displayed when the recommended information 21 is displayed in the input area 20.
[0054] Among them, the display location of the recommendation information switching control is not limited. Exemplarily, the recommendation information switching control can be displayed within the input area. In this case, optionally, displaying the recommended information in the input area of the conversation interface includes: displaying the recommended information and the recommendation information switching control in the input area of the conversation interface, and the recommendation information switching control is used to trigger the execution of the recommendation information switching operation.
[0055] S102: In response to the information sending operation, send target session information, where the target session information is associated with the recommended information displayed in the input area.
[0056] In this embodiment, when an information sending operation is received, target conversation information associated with the recommended information displayed in the input area may be sent.
[0057] The message sending operation may be a triggering operation for sending session information associated with the recommended information displayed in the input area, such as triggering a send control displayed in a session interface or triggering a key on a keyboard for instructing to send a message. The target session information may be the session information sent as instructed by the message sending operation. The target session information is associated with the recommended information displayed in the input area. For example, the target session information may include at least a portion of the current recommended information, information obtained by editing the recommended information displayed in the input area, or information entered into the input area through character input.
[0058] The method for sending conversation information provided in this embodiment displays the conversation interface in response to a display operation on the conversation interface and displays recommended information in the input area of the conversation interface. The input area is an area for the current user to enter conversation information, and the recommended information is conversation information recommended for sending. In response to a message sending operation, target conversation information associated with the recommended information displayed in the input area is sent. This embodiment utilizes the above-mentioned technical solution to display recommended information in the input area of the conversation interface, enriching the method for recommending conversation information and the functionality of the input area, thereby reducing the time users spend viewing recommended information and sending information.
[0059] FIG4 is a flow chart of another method for sending session information provided by an embodiment of the present disclosure. The solution in this embodiment can be combined with one or more optional solutions in the above embodiments. Optionally, the sending of target session information in response to the information sending operation includes at least one of the following: in response to the first information sending operation, the current recommended information displayed in the input area is used as the target session information, and the target session information is sent; in response to the second information sending operation, at least part of the information content of the current recommended information displayed in the input area is used as the target information content of the target session information, and the target session information is sent; in response to the third information sending operation, the information content edited based on the recommended information is used as the target information content of the target session information, and the target session information is sent.
[0060] Accordingly, as shown in FIG4 , the method for sending session information provided in this embodiment may include:
[0061] S201. In response to a display operation on a conversation interface, the conversation interface is displayed, and recommended information is presented in an input area of the conversation interface, and at least one of S202-S204 is executed, wherein the input area is an area for the current user to input conversation information, and the recommended information is conversation information recommended for sending.
[0062] S202: In response to a first information sending operation, use the current recommended information displayed in the input area as target session information, and send the target session information.
[0063] The first information sending operation may be a triggering operation for instructing to send the current recommended information displayed in the input area, such as an operation for triggering the first sending control for instructing to send the current recommended information or other triggering operations.
[0064] For example, as shown in FIG2 , when recommended information is displayed in the input area 20 of the conversation interface, a first send control 24 may be further displayed, such as by further displaying the first send control 24 in the input area. Thus, when it is detected that the current user has triggered the first send control 24, it can be determined that a first message sending operation has been received. In response to the first message sending operation, the current recommended information displayed in the input area 20 is sent, such as by using the current recommended information displayed in the input area 20 as the target conversation information and sending the target conversation information. This simplifies the operations required for the user to send conversation information.
[0065] S203: In response to the second information sending operation, use at least part of the information content of the current recommended information displayed in the input area as target information content of target session information, and send the target session information.
[0066] The second message sending operation may be a triggering operation for instructing the user to use at least a portion of the recommended information currently displayed in the input area as the target session information content and to send the target session information. The second message sending operation and the first message sending operation may be triggered by different operations, and the execution method of the second message sending operation is not limited. The target information content may be considered to be the target session information content.
[0067] Specifically, when the second information sending operation is received, at least part of the information content of the current recommended information displayed in the input area can be used as the target information content of the target session information, and the target session information can be sent.
[0068] In this embodiment, the method for determining the at least part of the information content included in the target conversation information can be flexibly set. For example, the at least part of the information content can be determined according to a preset determination rule, such as using the mth to nth sentence segments in the current recommended information as the information content included in the target conversation information, and / or using the sentence segments with high frequency in the current recommended information as the information content included in the target conversation information, etc. m and n are positive integers, and m≤n.
[0069] In some embodiments, before the method of taking at least part of the information content of the current recommended information displayed in the input area as the target information content of the target session information in response to the second information sending operation and sending the target session information, it also includes: in response to a content selection operation for the current recommended information, displaying the information content corresponding to the content selection operation as a selected state; taking at least part of the information content of the current recommended information displayed in the input area as the target information content of the target session information and sending the target session information includes: taking the information content of the current recommended information in a selected state as the target information content of the target session information and sending the target session information.
[0070] The content selection operation may be considered as a triggering operation for selecting the information content of the current recommended information, such as a triggering operation for selecting at least a portion of the information content of the current recommended information.
[0071] In the above embodiment, the information content selected by the user in the current recommended information can be used as the target information content of the target session information, so as to further enrich the sending method of the session information and meet the user's demand for sending part of the content in the recommended information.
[0072] Specifically, as shown in FIG5 , when a content selection operation is received by the current user, the information content selected by the user in the current recommended information (i.e., the information content corresponding to the content selection operation) may be displayed as selected, and a second send control 50 for instructing to send the selected information content and a first copy control 51 for instructing to input the selected information content into the second sub-area of the input area 20 may be further displayed. Thus, when it is detected that the current user has triggered the second send control 50, it can be determined that the second information sending operation has been received, and the information content in the current recommended information that is in the selected state may be used as the information content of the target session information, and the target session information may be sent.
[0073] S204: In response to the third information sending operation, use the information content edited based on the recommended information as the target information content of the target session information, and send the target session information.
[0074] Among them, the third information sending operation can be a trigger operation for instructing to send information content edited based on the recommended information, such as the operation of the third sending control displayed in the triggering session interface or other trigger operations with the same function.
[0075] In this embodiment, the current user can edit information based on the recommended information and can perform a third information sending operation after the editing is completed; thus, when the current application receives the third information sending operation of the current user, such as when it is detected that the current user triggers the third sending control 24 in the session interface (as shown in Figure 2), the information content edited by the current user based on the recommended information can be used as the target information content of the target session information, and the target session information can be sent.
[0076] In some embodiments, before responding to the third information sending operation, using the information content edited based on the recommended information as the target information content of the target session information, and sending the target session information, it also includes: responding to an editing operation on the current recommended information, switching at least part of the information content in the current recommended information from a non-editing state to an editing state, wherein the information content in the editing state supports editing by the current user.
[0077] In the above embodiment, the user is supported to switch at least part of the information content in the current recommended information from a non-editable state to an editable state, so that the user can edit the target conversation information he wants to send based on the current recommended information, further enriching the sending method of the target conversation information.
[0078] The editing operation may be a triggering operation for instructing to switch at least part of the information content of the current recommended information from a non-editable state to an editable state. The specific execution method of the editing operation is not limited. The editing state can be considered as a state that supports user editing, and the non-editing state can be considered as a state that does not support user editing.
[0079] For example, when the current recommended information is initially displayed, the current recommended information may be displayed in a non-editing state. When an editing operation for the current recommended information is received, at least part of the information content of the current recommended information may be switched from a non-editing state to an editing state.
[0080] In the above-described embodiment, the method for switching information content from a non-editable state to an editable state is not limited. For example, at least a portion of the information content within the current recommended information can be switched from a non-editable state to an editable state, with the display position of the current recommended information and at least the portion of the information content remaining unchanged before and after the switch. In this case, upon receiving a third send operation from the current user, the edited information content can be used as the target session information content, and the target session information can be sent; alternatively, the edited current recommended information can be used as the target session information, and the target session information can be sent.
[0081] Alternatively, the at least partial information content may be input into a sub-area of the input area for editing by the current user. Optionally, displaying the recommended information in the input area of the conversation interface includes: displaying the recommended information in a first sub-area of the input area; and switching at least a portion of the current recommended information from a non-editable state to an editable state includes: inputting at least a portion of the current recommended information into a second sub-area of the input area and canceling the display of the current recommended information.
[0082] The first sub-area may be a sub-area in the input area for displaying recommended information, and the second sub-area may be a sub-area in the input area for the user to enter session information. The first sub-area and the second sub-area may be different sub-areas of the input area, and the first sub-area and the second sub-area may or may not overlap, which can be specifically configured as needed. For example, the first sub-area may be located within the second sub-area; or, when recommended information is displayed in the first sub-area, the first sub-area and the second sub-area may not overlap. When the recommended information in the first sub-area switches from a displayed state to a non-displayed state, that is, when the first sub-area switches from displaying recommended information to not displaying recommended information, the size of the second sub-area may be increased. After the size of the second sub-area is increased, the first sub-area and the second sub-area may overlap, such as the first sub-area may be located within the second sub-area.
[0083] For example, as shown in FIG2 (taking the example of first sub-area 26 being located within second sub-area 27), the input area 20 of the conversation interface may include a first sub-area 26 and a second sub-area 27, and recommended information 21 may be displayed in the first sub-area 26 of input area 20. Therefore, when an edit operation is received from the current user for the recommended information 21 currently displayed in the first sub-area 26, at least a portion of the recommended information may be entered into the second sub-area 27 of input area 20, and the recommended information 21 displayed in the first sub-area 26 may be further removed, as shown in FIG6 (taking the example of entering the entire recommended information 21 into the second sub-area 27). This switches the at least portion of the information from a non-editable state to an editable state, allowing the current user to edit the at least portion of the information in the second sub-area 27.
[0084] It can be understood that when the current user receives an editing operation for the recommended information 21 currently displayed in the first sub-area 26, and at least part of the information content of the recommended information is input into the second sub-area 27 of the input area 20, the recommended information 21 displayed in the first sub-area 26 can also be kept displayed, which can be set specifically as needed.
[0085] In the above embodiment, the method for determining the at least part of the information content that is switched to the editable state is not limited. For example, the editable content and non-editable content in each piece of recommended information can be pre-marked; thus, when an edit operation is received for the current recommended information, the editable content in the current recommended information can be switched from the non-editable state to the editable state.
[0086] Alternatively, upon receiving an edit operation for the currently recommended information, based on the edit operation, the selected information content in the currently recommended information or the entire information content of the currently recommended information may be switched from a non-editable state to an editable state. Optionally, inputting at least a portion of the information content of the currently recommended information into the second sub-area of the input area may include: inputting the information content of the currently recommended information into the second sub-area of the input area; or inputting the selected information content of the currently recommended information into the second sub-area of the input area.
[0087] For example, as shown in FIG2 , when recommended information is displayed in the first sub-area 26 of the input area 20, a second copy control 28 may be further displayed for allowing the current user to perform an editing operation on the entire information content of the recommended information. Therefore, when it is detected that the current user has triggered the second copy control 28, the entire information content of the recommended information currently displayed in the first sub-area 26 can be input into the second sub-area 27 of the input area 20, as shown in FIG6 .
[0088] Alternatively, as shown in FIG5 , when at least information content in the recommended information currently displayed in the first sub-region 26 is displayed as selected based on the current user's content selection operation on the recommended information, a first copy control 51 can be further displayed for allowing the current user to perform an editing operation on the selected information content. Thus, when it is detected that the current user has triggered the first copy control 51, the selected information content in the recommended information currently displayed in the first sub-region 26 can be input into the second sub-region 27 of the input area 20.
[0089] The method for sending session information provided in this embodiment supports users to use different sending operations to send different session information based on the recommended information displayed in the input area, which can further enrich the sending methods of session information and meet the different session information sending needs of users.
[0090] FIG7 is a block diagram of a device for sending session information provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can be configured in an electronic device, typically a mobile phone or tablet computer. The device can recommend sendable session information to the user by executing a method for sending session information, such as recommending sendable session information to the user in an input box of a session interface. As shown in FIG7 , the device for sending session information provided by this embodiment may include: an interface display module 701 and an information sending module 702, wherein:
[0091] An interface display module 701 is configured to, in response to a display operation on the conversation interface, display the conversation interface and present recommended information in an input area of the conversation interface, wherein the input area is an area for the current user to input conversation information, and the recommended information is conversation information recommended for sending;
[0092] The information sending module 702 is configured to send target session information in response to an information sending operation, where the target session information is associated with the recommended information displayed in the input area.
[0093] The apparatus for sending conversation information provided in this embodiment displays the conversation interface via an interface display module in response to a display operation on the conversation interface, and displays recommended information in the input area of the conversation interface. The input area is an area for the current user to enter conversation information, and the recommended information is conversation information recommended for sending. Furthermore, the apparatus for sending conversation information, via an information sending module, sends target conversation information associated with the recommended information displayed in the input area in response to a message sending operation. This embodiment utilizes the above-described technical solution to display recommended information in the input area of the conversation interface, enriching the method for recommending conversation information and the functionality of the input area, thereby simplifying the time users spend viewing recommended information and sending information.
[0094] In the above solution, the interface display module 701 may be configured to: if there is conversation information to be replied in the conversation interface, display recommended information for replying at least part of the conversation information to be replied in the input area of the conversation interface.
[0095] Furthermore, the session information sending device provided in this embodiment may also include: an information switching module, which is used to switch the current recommended information displayed in the input area after the recommended information is displayed in the input area of the session interface when a preset switching condition is met. The preset switching condition includes at least one of a change in at least part of the session information to be replied, a change in the characters input in the input area, and a receipt of a recommended information switching operation.
[0096] In the above solution, the interface display module 701 may be configured to: display the recommended information and the recommended information switching control in the input area of the conversation interface, wherein the recommended information switching control is configured to trigger the recommended information switching operation.
[0097] In the above scheme, the information sending module 702 may include at least one of the following: a first sending unit, used to respond to a first information sending operation, use the current recommended information displayed in the input area as target session information, and send the target session information; a second sending unit, used to respond to a second information sending operation, use at least part of the information content of the current recommended information displayed in the input area as target information content of the target session information, and send the target session information; a third sending unit, used to respond to a third information sending operation, use the information content edited based on the recommended information as the target information content of the target session information, and send the target session information.
[0098] Furthermore, the session information sending device provided in this embodiment may also include: a content selection module, which is used to, in response to the content selection operation for the current recommended information, use at least part of the information content of the current recommended information displayed in the input area as the target information content of the target session information in response to the second information sending operation, and before sending the target session information, display the information content corresponding to the content selection operation as a selected state; the second sending unit can be used to: use the information content of the current recommended information in a selected state as the target information content of the target session information, and send the target session information.
[0099] Furthermore, the session information sending device provided in this embodiment may also include: a state switching module, which is used to switch at least part of the information content in the current recommended information from a non-editing state to an editing state in response to an editing operation on the current recommended information before using the information content edited based on the recommended information as the target information content of the target session information in response to the third information sending operation and sending the target session information, wherein the information content in the editing state supports editing by the current user.
[0100] In the above scheme, the interface display module 701 can be used to: display recommended information in the first sub-area of the input area; the state switching module can be used to: input at least part of the information content of the current recommended information into the second sub-area of the input area, and cancel the display of the current recommended information.
[0101] In the above solution, the state switching module can be used to: input the information content of the current recommended information into the second sub-area of the input area; or input the information content in the selected state in the current recommended information into the second sub-area of the input area.
[0102] The apparatus for sending session information provided in the embodiments of the present disclosure can execute the method for sending session information provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of executing the method for sending session information. For technical details not fully described in this embodiment, please refer to the method for sending session information provided in any embodiment of the present disclosure.
[0103] Reference is now made to FIG8 , which illustrates a schematic diagram of the structure of an electronic device (e.g., a terminal device) 800 suitable for implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device illustrated in FIG8 is merely an example and should not limit the functionality or scope of use of the embodiments of the present disclosure.
[0104] As shown in Figure 8, the electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. Various programs and data required for the operation of the electronic device 800 are also stored in the RAM 803. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0105] Typically, the following devices may be connected to the I / O interface 805: an input device 806 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although FIG8 shows the electronic device 800 with various devices, it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.
[0106] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 809, or installed from the storage device 808, or installed from the ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0107] It should be noted that 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 two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, 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, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0108] In some embodiments, the client and server can communicate using any currently known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or later developed network.
[0109] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0110] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: in response to a display operation on the conversation interface, displays the conversation interface and displays recommended information in an input area of the conversation interface, wherein the input area is an area for the current user to input conversation information, and the recommended information is conversation information recommended for sending; in response to an information sending operation, sends target conversation information, and the target conversation information is associated with the recommended information displayed in the input area.
[0111] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0112] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0113] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a module does not, in some cases, limit the unit itself.
[0114] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0115] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0116] According to one or more embodiments of the present disclosure, a method for sending session information is provided, including:
[0117] In response to a display operation on the conversation interface, display the conversation interface and present recommended information in an input area of the conversation interface, wherein the input area is an area for the current user to input conversation information, and the recommended information is conversation information recommended for sending;
[0118] In response to an information sending operation, target session information is sent, the target session information being associated with the recommended information displayed in the input area.
[0119] According to one or more embodiments of the present disclosure, displaying recommendation information in the input area of the conversation interface includes:
[0120] If there is conversation information to be replied in the conversation interface, recommended information for replying at least part of the conversation information to be replied is displayed in the input area of the conversation interface.
[0121] According to one or more embodiments of the present disclosure, after the recommendation information is displayed in the input area of the conversation interface, the method further includes:
[0122] When a preset switching condition is met, the current recommended information displayed in the input area is switched, and the preset switching condition includes at least one of a change in at least part of the conversation information to be replied, a change in the characters input in the input area, and a reception of a recommended information switching operation.
[0123] According to one or more embodiments of the present disclosure, displaying recommendation information in the input area of the conversation interface includes:
[0124] The recommended information and the recommended information switching control are displayed in the input area of the conversation interface, and the recommended information switching control is used to trigger the recommended information switching operation.
[0125] According to one or more embodiments of the present disclosure, sending the target session information in response to the information sending operation includes at least one of the following:
[0126] In response to a first information sending operation, taking the current recommended information displayed in the input area as target session information, and sending the target session information;
[0127] In response to a second information sending operation, using at least a portion of the information content of the current recommended information displayed in the input area as target information content of target conversation information, and sending the target conversation information;
[0128] In response to the third information sending operation, the information content edited based on the recommended information is used as the target information content of the target session information, and the target session information is sent.
[0129] According to one or more embodiments of the present disclosure, before, in response to the second information sending operation, using at least part of the information content of the current recommended information displayed in the input area as target information content of target session information and sending the target session information, the method further includes:
[0130] In response to a content selection operation on the current recommended information, displaying the information content corresponding to the content selection operation as a selected state;
[0131] The step of using at least a portion of the information content of the current recommended information displayed in the input area as target information content of target session information and sending the target session information includes:
[0132] The information content of the currently recommended information that is in a selected state is used as the target information content of the target session information, and the target session information is sent.
[0133] According to one or more embodiments of the present disclosure, before, in response to the third information sending operation, using the information content edited based on the recommended information as the target information content of the target session information and sending the target session information, the method further includes:
[0134] In response to an editing operation on the current recommended information, at least part of the information content in the current recommended information is switched from a non-editing state to an editing state, wherein the information content in the editing state supports editing by the current user.
[0135] According to one or more embodiments of the present disclosure, displaying recommendation information in the input area of the conversation interface includes:
[0136] Displaying recommended information in a first sub-area of the input area;
[0137] Switching at least part of the information content of the current recommended information from a non-editing state to an editing state includes:
[0138] Input at least part of the information content of the current recommended information into the second sub-area of the input area, and cancel the display of the current recommended information.
[0139] According to one or more embodiments of the present disclosure, inputting at least part of the information content of the current recommended information into the second sub-area of the input area includes:
[0140] Input the information content of the current recommended information into the second sub-area of the input area; or
[0141] Input the selected information content in the current recommended information into the second sub-area of the input area.
[0142] According to one or more embodiments of the present disclosure, a device for sending session information is provided, including:
[0143] an interface display module, configured to display the conversation interface in response to a display operation on the conversation interface, and present recommended information in an input area of the conversation interface, wherein the input area is an area for the current user to input conversation information, and the recommended information is conversation information recommended for sending;
[0144] The information sending module is configured to send target session information in response to an information sending operation, where the target session information is associated with the recommended information displayed in the input area.
[0145] According to one or more embodiments of the present disclosure, there is provided an electronic device, including:
[0146] one or more processors;
[0147] a memory for storing one or more programs,
[0148] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for sending session information as described in any one of the embodiments of the present disclosure.
[0149] According to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method for sending session information as described in any one of Examples 1-9 is implemented.
[0150] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0151] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0152] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A method for sending session information, comprising: In response to a display operation on a conversation interface, the conversation interface is displayed, and recommended information is displayed in an input area of the conversation interface, wherein the input area is an area for a current user to input conversation information, and the recommended information is conversation information recommended to be sent; In response to the information sending operation, target session information is sent, wherein the target session information is associated with the recommended information displayed in the input area.
2. The sending method according to claim 1, wherein: The displaying of the recommendation information in the input area of the conversation interface includes: In response to the presence of conversation information to be replied in the conversation interface, recommended information for replying at least part of the conversation information to be replied is displayed in an input area of the conversation interface.
3. The sending method according to claim 1 or 2, wherein: After the recommended information is displayed in the input area of the conversation interface, the method further includes: When a preset switching condition is met, the current recommended information displayed in the input area is switched, wherein the preset switching condition includes at least one of a change in at least part of the conversation information to be replied to, a change in the characters input in the input area, and a reception of a recommended information switching operation.
4. The sending method according to any one of claims 1 to 3, wherein: The displaying of the recommendation information in the input area of the conversation interface includes: The recommended information and the recommended information switching control are displayed in the input area of the conversation interface, wherein the recommended information switching control is used to trigger the execution of the recommended information switching operation.
5. The sending method according to any one of claims 1 to 4, wherein: The sending of the target session information in response to the information sending operation includes at least one of the following: In response to a first information sending operation, taking the current recommended information displayed in the input area as target session information, and sending the target session information; In response to a second information sending operation, taking at least part of the information content of the current recommended information displayed in the input area as target information content of target session information, and sending the target session information; In response to the third information sending operation, the information content edited based on the recommended information is used as the target information content of the target session information, and the target session information is sent.
6. The sending method according to claim 5, wherein: Before the step of responding to the second information sending operation, taking at least part of the information content of the current recommended information displayed in the input area as the target information content of the target session information, and sending the target session information, the step further includes: In response to a content selection operation on the current recommended information, displaying the information content corresponding to the content selection operation as a selected state; The step of taking at least part of the information content of the current recommended information displayed in the input area as the target information content of the target session information and sending the target session information includes: The information content of the currently recommended information in the selected state is used as the target information content of the target session information, and the target session information is sent.
7. The sending method according to claim 5, wherein: Before the step of responding to the third information sending operation, using the information content edited based on the recommended information as the target information content of the target session information, and sending the target session information, the step further includes: In response to an editing operation on the current recommended information, at least part of the information content in the current recommended information is switched from a non-editing state to an editing state, wherein the information content in the editing state supports editing by the current user.
8. The sending method according to claim 7, wherein: The displaying of the recommendation information in the input area of the conversation interface includes: Displaying recommended information in a first sub-area of the input area; The step of switching at least part of the information content of the current recommended information from a non-editing state to an editing state includes: Input at least part of the information content of the current recommended information into the second sub-area of the input area, and cancel the display of the current recommended information.
9. The sending method according to claim 8, wherein: The step of inputting at least part of the information content of the current recommended information into the second sub-area of the input area comprises: Inputting the information content of the current recommended information into the second sub-area of the input area; or The information content in the currently recommended information that is selected is input into the second sub-area of the input area.
10. A device for sending session information, comprising: The interface display module is configured to display the session interface in response to a display operation on the session interface. interface, and displaying the recommended information in the input area of the session interface, wherein the input area is an area for the current user to input session information, and the recommended information is the session information recommended to be sent; The information sending module is configured to send target session information in response to an information sending operation, wherein the target session information is associated with the recommended information displayed in the input area.
11. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for sending session information according to any one of claims 1 to 9.
12. A computer-readable storage medium, wherein: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for sending session information according to any one of claims 1 to 9 when executed.
Citation Information
Patent Citations
Information processing method and device, terminal equipment and medium
CN112748828A
Response message generation method and device, electronic equipment and storage medium
CN113794623A
Message sending control method and device
CN114615220A
Method for recommending verbal skill and method and system for recommending verbal skill interaction
CN114996417A
Display control method and apparatus, and electronic device and storage medium
WO2023083205A1