Session information sending method and device, electronic equipment and storage medium
By displaying recommendation information in the input area of the session interface and sending associated target session information, the problem of single recommendation method for information reply content in the prior art is solved, and diversified recommendation of session information and simplification of user operations is achieved.
Patent Information
- Application Number
- CN202310922541.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-25
- Publication Date
- 2025-02-07
AI Technical Summary
In the prior art, the recommendation method of information reply content is relatively single, and there is a lack of rich recommendation methods for session information, which leads to inefficiency of users when viewing and sending information.
By displaying recommendation information in the input area of the session interface and sending target session information associated with the recommendation information displayed in the input area in response to the information sending operation, diversified recommendation of session information and simplifying user operations are achieved.
It enriches the recommendation method of session information and the functions of input areas, and simplifies the time it takes for users to view recommended information and send information.
Smart Images

Figure CN119396961A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular, to a method, device, electronic device, and storage medium for sending session information. Background Art
[0002] 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 information. However, the recommendation method of information reply content is relatively simple. Summary of the invention
[0003] The embodiments of the present disclosure provide a method, device, electronic device, and storage medium for sending session information to enrich the recommendation method of session information.
[0004] In a first aspect, an embodiment of the present disclosure provides a method for sending session information, including:
[0005] 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;
[0006] In response to the information sending operation, target session information is sent, the target session information being associated with the recommended information displayed in the input area.
[0007] In a second aspect, an embodiment of the present disclosure further provides a device for sending session information, including:
[0008] an interface display module, configured to display the conversation interface in response to a display operation on the conversation interface, and present the 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 the conversation information recommended to be sent;
[0009] The information sending module is used to send target session information in response to the information sending operation, wherein the target session information is associated with the recommended information displayed in the input area.
[0010] In a third aspect, an embodiment of the present disclosure further provides an electronic device, including:
[0011] one or more processors;
[0012] a memory for storing one or more programs,
[0013] 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.
[0014] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method for sending session information as described in the embodiment of the present disclosure is implemented.
[0015] The method, device, electronic device and storage medium for sending session information provided by the embodiments of the present disclosure display the session interface in response to a display operation on the session interface, and display 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 session information recommended to be sent; in response to the information sending operation, the target session information associated with the recommended information displayed in the input area is sent. The embodiments of the present disclosure utilize the above technical solution to display recommended information in the input area of the session interface, which can enrich the recommendation method of session information and the function of the input area, and simplify the time spent by the user to view recommended information and send information. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0017] Figure 1 A flowchart of a method for sending session information provided by an embodiment of the present disclosure;
[0018] Figure 2 A schematic diagram of displaying recommendation information provided by an embodiment of the present disclosure;
[0019] Figure 3 A display schematic diagram of a recommendation control provided in an embodiment of the present disclosure;
[0020] Figure 4 A flowchart of another method for sending session information provided by an embodiment of the present disclosure;
[0021] Figure 5 A schematic diagram of displaying information content in a selected state provided by an embodiment of the present disclosure;
[0022] Figure 6 A schematic diagram of displaying information content in an editing state provided by an embodiment of the present disclosure;
[0023] Figure 7 A structural block diagram of a device for sending session information provided by an embodiment of the present disclosure;
[0024] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0025] Embodiments of the present disclosure will be described in more detail below 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 being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0026] 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.
[0027] The term "including" and its variations used herein are open inclusions, 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"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0028] It should be noted that the concepts such as "first" and "second" mentioned in the present 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.
[0029] It should be noted that the modifications of "one" and "plurality" 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, it should be understood as "one or more".
[0030] 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.
[0031] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present 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.
[0032] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0033] As an optional but non-limiting implementation, in response to receiving an active request from the user, 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. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0034] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0035] Figure 1 A flowchart of a method for sending session information provided in 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, typically a mobile phone or a tablet computer. The method for sending session information provided in 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. Figure 1 As shown, the method for sending session information provided in this embodiment may include:
[0036] 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 to be sent.
[0037] The display operation may be a trigger operation for instructing to display a conversation interface. The conversation interface may be an interface for viewing and sending conversation information, which may be a single-person conversation interface between the current user and another user, or a group conversation interface. The following description takes the conversation interface as a single-person conversation interface as an example. The conversation interface may include an input area, which may be considered as an area for the current user to input conversation information, such as an input box. The recommended information may be a conversation information recommended to be sent by the current user, in other words, the conversation information recommended to the current user for reference, editing or sending by the current user, and the recommended information may include text and / or pictures.
[0038] Specifically, when a display operation for a conversation interface is received, the conversation interface may be displayed, and the conversation information sent by the current user may be recommended in the input area 20 of the conversation interface, such as displaying the recommended information 21 in the input area 20 of the conversation interface. Figure 2 shown.
[0039] 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 the recommended information and the input of the conversation information within the input area. Compared with the technical solution of displaying the recommended information outside the input area, it can enrich the recommendation method of the conversation information and the function of the input area, and simplify the time spent by the user on viewing the recommended information and sending the information.
[0040] In addition, if Figure 2 As shown, 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.
[0041] In this embodiment, when the conversation interface is displayed, it is possible to display recommended information in the input area of the conversation interface regardless of whether there is conversation information that requires the current user to reply in 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, conversation information that is recommended to be actively sent by the current user is displayed.
[0042] In this embodiment, when displaying the conversation interface, it may also be considered whether there is conversation information in the conversation interface that needs to be replied by the current user. Only when there is conversation information in the conversation interface that needs to be replied by the current user, the recommended information is displayed in the input area of the conversation interface, so that the current user can refer to or reply to one or more conversation information in the conversation interface that needs to be replied through the recommended information. At this time, optionally, the displaying of the recommended information in the input area of the conversation interface includes: if there is conversation information to be replied in the conversation interface, the recommended information for replying at least part of the conversation information to be replied is displayed in the input area of the conversation interface.
[0043] The conversation information to be replied can be considered as the conversation information to be replied by the current user, such as the newly received conversation information after the last conversation information sent by the current user in the conversation interface, and the number of the conversation information can be one or more. At this time, the recommended information can be information used to reply to one or more conversation information to be replied, and it can be determined based on the information content of the one or more conversation information to be replied.
[0044] In some implementations, the recommended information displayed in the input area is supported to be switched. In this case, optionally, 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, switching the current recommended information displayed in the input area, 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.
[0045] 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 changes in one or more conversation information to be replied, changes in the characters input in the input area, and / or receiving a recommended information switching operation. The recommended information switching operation can be a triggering operation for indicating switching the recommended information displayed in the input area, such as an operation of triggering a switching control displayed in the input area.
[0046] In the above implementation, 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 need to view different recommended information.
[0047] Regarding the case where the current recommended information displayed in the input area is switched when at least part of the conversation information to be replied has changed, exemplarily, 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 including the newly received conversation information, and the current recommended information displayed in the input area can be switched to the determined recommended information.
[0048] For example, Figure 3As shown (taking triggering session information 4 as an example in the figure), when it is detected that the current user triggers a certain session information displayed in the session interface, a recommendation control 30 corresponding to the session information can be displayed, so that the current user can perform a recommendation operation on the session information; thus, when it is detected that the current user triggers 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 triggering method of the session information and the recommendation control is not limited, for example, the session information and / or the recommendation control can be triggered by clicking or long pressing, or by moving the input indicator to its corresponding display area. The input indicator can be, for example, a cursor.
[0049] For another example, the 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.
[0050] Regarding the case where the current recommended information displayed in the input area is switched when the characters input 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 input by the current user. When there are characters input by the current user through character input in the second sub-area of the input area, for example, when there are characters input by the current user through the keyboard in the second sub-area of the input area, if the characters are not input for editing the recommended information, the recommended information associated with the characters input by the user may be displayed in the first sub-area of the input area; thus, when the characters input in the second sub-area of the input area change, the recommended information may be redetermined based on the changed characters, and the current recommended information displayed in the first sub-area may be switched to the redetermined recommended information, so that the user may send session information associated with the switched recommended information.
[0051] For the case where the current recommended information displayed in the input area is switched upon receiving the recommended information switching operation, illustratively, when the recommended information switching operation is received, the recommended information displayed in the input area may be switched according to a preset rule. Figure 2As shown, assuming that recommended information A for session information 5 is displayed in the input area before switching, when a recommended information switching operation is received, the current recommended information in the input area can be switched to another recommended information for session information 5 (such as recommended 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, the current recommended information in the input area can be switched to recommended information of a certain session information (such as session information 4) adjacent to session information 5 and received by the current user. The specific settings can be made as needed.
[0052] In this embodiment, the execution mode 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 (such as Figure 2 As shown), the recommended information switching control 23 can be displayed when the recommended information 21 is displayed in the input area 20.
[0053] Among them, the display position of the recommendation information switching control is not limited. Exemplarily, the recommendation information switching control can be displayed in the input area. At this time, optionally, the display of recommended information in the input area of the session interface includes: displaying recommended information and a recommended information switching control in the input area of the session interface, and the recommended information switching control is used to trigger the execution of the recommended information switching operation.
[0054] 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.
[0055] In this embodiment, when an information sending operation is received, target session information associated with the recommended information displayed in the input area may be sent.
[0056] The information 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 in a keyboard for indicating sending a message. The target session information may be the session information sent as indicated by the information sending operation. The target session information is associated with the recommended information displayed in the input area, for example, the information content of the target session information may be at least part of the information content in the current recommended information, obtained by editing the information content of the recommended information displayed in the input area, or input into the input area by character input.
[0057] The method for sending session information provided in this embodiment displays the session interface in response to a display operation on the session interface, and displays 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 session information recommended to be sent; in response to the information sending operation, the target session information associated with the recommended information displayed in the input area is sent. This embodiment utilizes the above technical solution to display recommended information in the input area of the session interface, which can enrich the recommendation method of session information and the function of the input area, and simplify the time spent by the user to view recommended information and send information.
[0058] Figure 4 A flowchart of another method for sending session information provided for an embodiment of the present disclosure. The scheme in this embodiment can be combined with one or more optional schemes in the above-mentioned embodiments. Optionally, the sending of target session information in response to an 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 the 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 the target information content of the target session information, and sending the target session information; in response to a third information sending operation, taking 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.
[0059] Correspondingly, such as Figure 4 As shown, the method for sending session information provided in this embodiment may include:
[0060] S201. 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, 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 to be sent.
[0061] 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.
[0062] The first information sending operation may be a trigger operation for instructing to send the current recommended information displayed in the input area, such as an operation for triggering a first sending control for instructing to send the current recommended information or other trigger operations.
[0063] For example, Figure 2As shown, when the recommended information is displayed in the input area 20 of the conversation interface, the first sending control 24 may be further displayed, such as further displaying the first sending control 24 in the input area. Thus, when it is detected that the current user triggers the first sending control 24, it may be determined that the first information sending operation is received, and in response to the first information sending operation, the current recommended information displayed in the input area 20 is sent, such as taking 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.
[0064] 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.
[0065] The second information sending operation may be a trigger operation for indicating that at least part of the information content of the current recommended information displayed in the input area is used as the information content of the target session information and sending the target session information. The second information sending operation and the first information sending operation may be different trigger operations, and the execution method of the second information sending operation is not limited. The target information content may be considered as the information content of the target session information.
[0066] 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.
[0067] In this embodiment, the determination method of the at least part of the information content included in the target session information can be flexibly set, such as determining the at least part of the information content according to a preset determination rule, such as using the m-nth sentence fragments in the current recommended information as the information content included in the target session information, and / or using the sentence fragments with a high sending frequency in the current recommended information as the information content included in the target session information, etc. Wherein, m and n are positive integers, m≤n.
[0068] In some embodiments, before the method 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, it also includes: responding 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.
[0069] The content selection operation may be considered as a trigger operation for selecting the information content of the current recommended information, such as a trigger operation for selecting at least part of the information content of the current recommended information.
[0070] In the above implementation, 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.
[0071] Specifically, Figure 5 As shown, when the content selection operation of the current user is received, the information content selected by the user in the current recommended information (i.e., the information content corresponding to the content selection operation) can be displayed as a selected state, and a second send control 50 for indicating that the selected information content is sent and a first copy control 51 for indicating that the selected information content is input into the second sub-area of the input area 20 can be further displayed. Thus, when it is detected that the current user triggers the second send control 50, it can be determined that the second information sending operation is received, and the information content in the current recommended information in the selected state is used as the information content of the target session information, and the target session information is sent.
[0072] S204: 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.
[0073] The third information sending operation may be a trigger operation for instructing to send information content edited based on the recommended information, such as an operation for triggering the third sending control displayed in the conversation interface or other trigger operations with the same function.
[0074] In this embodiment, the current user can edit information based on the recommended information, and can perform the 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 (such as Figure 2 As shown), 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 is sent.
[0075] 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 the 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.
[0076] In the above implementation, 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 that he wants to send based on the current recommended information, further enriching the sending method of the target conversation information.
[0077] The editing operation may be a trigger operation for instructing to switch at least part of the information content in the current recommended information from a non-editing state to an editing state, and the specific execution method of the editing operation is not limited. The editing state may be considered as a state that supports the user to edit, and the non-editing state may be considered as a state that does not support the user to edit.
[0078] Exemplarily, 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.
[0079] In the above implementation, the method of switching the information content from the non-editing state to the editing state is not limited. For example, in the current recommended information, at least part of the information content in the current recommended information can be switched from the non-editing state to the editing state, and the display position of the current recommended information and the at least part of the information content remains unchanged before and after the switching. At this time, when the third sending operation of the current user is received, the edited information content in the editing state can be used as the information content of the target session information, and the target session information can be sent; or the edited current recommended information can be used as the target session information, and the target session information can be sent.
[0080] Alternatively, the at least part of the information content may be input into a sub-area of the input area for editing by the current user. At this time, optionally, displaying the recommended information in the input area of the conversation interface includes: displaying the recommended information in the first sub-area of the input area; switching the at least part of the information content of the current recommended information from a non-editing state to an editing state includes: inputting at least part of the information content of the current recommended information into the second sub-area of the input area, and canceling the display of the current recommended information.
[0081] The first sub-region may be a sub-region in the input region for displaying recommended information, and the second sub-region may be a sub-region in the input region for the user to input session information. The first sub-region and the second sub-region may be different sub-regions of the input region, and the first sub-region and the second sub-region may or may not have overlapping areas, which may be specifically set as needed. Exemplarily, the first sub-region may be located within the second sub-region; or, when recommended information is displayed in the first sub-region, the first sub-region and the second sub-region may not have overlapping areas, and when the recommended information in the first sub-region is switched from a displayed state to a non-displayed state, that is, when the first sub-region is switched from displaying recommended information to not displaying recommended information, the size of the second sub-region may be increased, and after the size of the second sub-region is increased, the first sub-region and the second sub-region may have overlapping areas, such as the first sub-region may be located within the second sub-region.
[0082] For example, Figure 2 As shown in the figure (the figure takes the first sub-area 26 being located within the second sub-area 27 as an example), the input area 20 of the conversation interface may include the first sub-area 26 and the second sub-area 27, and the recommended information 21 may be displayed in the first sub-area 26 of the input area 20. Thus, when an editing operation of the current user for the recommended information 21 currently displayed in the first sub-area 26 is received, at least part of the information content of the recommended information may be input into the second sub-area 27 of the input area 20, and the recommended information 21 displayed in the first sub-area 26 may be further canceled, as shown in FIG. Figure 6 As shown (the figure takes the input of all the information content of the recommended information 21 into the second sub-area 27 as an example), the at least part of the information content is switched from a non-editing state to an editing state, so that the current user can edit the at least part of the information content in the second sub-area 27.
[0083] It can be understood that when an editing operation of the current user is received for the recommended information 21 currently displayed in the first sub-area 26, and at least part of the information content in 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.
[0084] In the above implementation, the method for determining the at least part of the information content that is switched to the editing state is not limited. For example, the editable content and the non-editable content in each recommended information can be marked in advance; thus, when an editing operation for the current recommended information is received, the editable content in the current recommended information can be switched from the non-editing state to the editing state.
[0085] Alternatively, when an edit operation for the current recommended information is received, based on the edit operation, the information content in the current recommended information that is in a selected state or the entire information content of the current recommended information is switched from a non-editing state to an editing state. At this time, optionally, inputting at least part of the information content of the current recommended information into the second sub-area of the input area includes: inputting the information content of the current recommended information into the second sub-area of the input area; or inputting the information content in the current recommended information that is in a selected state into the second sub-area of the input area.
[0086] For example, Figure 2 As shown in FIG. 2 , when the recommended information is displayed in the first sub-area 26 of the input area 20, a second copy control 28 for the current user to perform an editing operation on the entire information content of the recommended information can be further displayed. Thus, when it is detected that the current user triggers 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 FIG. Figure 6 shown.
[0087] Or, if Figure 5 As shown, when at least information content in the recommended information currently displayed in the first sub-area 26 is displayed as a selected state based on the content selection operation of the current user on the recommended information currently displayed in the first sub-area 26, a first copy control 51 for the current user to perform an editing operation on the selected information content can be further displayed. Therefore, when it is detected that the current user triggers the first copy control 51, the information content in the selected state in 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.
[0088] The method for sending session information provided in this embodiment supports the user 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 requirements of users.
[0089] Figure 7 This is a structural 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 a tablet computer, and can recommend sendable session information to a user by executing a method for sending session information, such as recommending sendable session information to a user in an input box of a session interface. Figure 7 As shown, the apparatus for sending session information provided in this embodiment may include: an interface display module 701 and an information sending module 702, wherein:
[0090] The interface display module 701 is used to display the session interface in response to a display operation on the session interface, and to display the recommended information in an 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 session information recommended to be sent;
[0091] The information sending module 702 is used to send target session information in response to the information sending operation, where the target session information is associated with the recommended information displayed in the input area.
[0092] The apparatus for sending session information provided in this embodiment displays the session interface in response to a display operation on the session interface through the interface display module, and displays 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 session information recommended to be sent; and sends the target session information associated with the recommended information displayed in the input area in response to the information sending operation through the information sending module. This embodiment utilizes the above technical solution to display recommended information in the input area of the session interface, which can enrich the recommendation method of session information and the function of the input area, and simplify the time spent by the user to view recommended information and send information.
[0093] In the above solution, the interface display module 701 may be used 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.
[0094] Furthermore, the apparatus for sending session information 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 of the session interface after the recommended information is displayed in the input area, when a preset switching condition is met, and 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 receiving a recommended information switching operation.
[0095] In the above solution, the interface display module 701 can be used to: display the recommended information and the recommended information switching control in the input area of the conversation interface, and the recommended information switching control is used to trigger the recommended information switching operation.
[0096] 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 the 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 the 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.
[0097] Furthermore, the apparatus for sending session information provided in this embodiment may also include: a content selection module for, 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 before 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; the second sending unit may be used to: take 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.
[0098] 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.
[0099] 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.
[0100] In the above scheme, 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 current recommended information that is in a selected state into the second sub-area of the input area.
[0101] 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 described in detail in this embodiment, please refer to the method for sending session information provided in any embodiment of the present disclosure.
[0102] Reference below Figure 8 , which shows a schematic diagram of the structure of an electronic device (e.g., terminal device) 800 suitable for implementing the 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, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0103] like Figure 8 As shown, 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. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. 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.
[0104] Typically, the following devices may be connected to the I / O interface 805: input devices 806 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 808 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 8 The electronic device 800 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0105] 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 contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 809, or installed from a storage device 808, or installed from a 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 executed.
[0106] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, 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 containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit 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 of the above.
[0107] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may 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 future developed network.
[0108] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0109] 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 to be sent; 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.
[0110] 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 separate software package, partially on the user's computer and partially on a remote computer, or entirely on a 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).
[0111] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0112] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a module does not, in some cases, constitute a limitation on the unit itself.
[0113] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, 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.
[0114] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may 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 may 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.
[0115] According to one or more embodiments of the present disclosure, Example 1 provides a method for sending session information, including:
[0116] 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;
[0117] In response to the information sending operation, target session information is sent, the target session information being associated with the recommended information displayed in the input area.
[0118] According to one or more embodiments of the present disclosure, Example 2 is a method according to Example 1, wherein displaying recommendation information in an input area of the conversation interface includes:
[0119] 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.
[0120] According to one or more embodiments of the present disclosure, Example 3 is a method according to Example 2, and after the recommendation information is displayed in the input area of the conversation interface, further comprising:
[0121] 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 to, a change in the characters input in the input area, and a reception of a recommended information switching operation.
[0122] According to one or more embodiments of the present disclosure, Example 4 is the method according to Example 3, wherein displaying the recommendation information in the input area of the conversation interface includes:
[0123] 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 execution of the recommended information switching operation.
[0124] According to one or more embodiments of the present disclosure, Example 5 is a method according to any one of Examples 1-4, wherein in response to the information sending operation, sending the target session information includes at least one of the following:
[0125] 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;
[0126] 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;
[0127] 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.
[0128] According to one or more embodiments of the present disclosure, Example 6 is the method according to Example 5, and before the method 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, further includes:
[0129] 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;
[0130] 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:
[0131] 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.
[0132] According to one or more embodiments of the present disclosure, Example 7 is the method according to Example 5, and 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:
[0133] 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.
[0134] According to one or more embodiments of the present disclosure, Example 8 is the method according to Example 7, wherein displaying the recommendation information in the input area of the conversation interface includes:
[0135] Displaying recommended information in a first sub-area of the input area;
[0136] 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:
[0137] 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.
[0138] According to one or more embodiments of the present disclosure, Example 9 is the method according to Example 8, wherein inputting at least part of the information content of the current recommended information into the second sub-area of the input area includes:
[0139] Inputting the information content of the current recommended information into the second sub-area of the input area; or
[0140] The information content in the currently recommended information that is selected is input into the second sub-area of the input area.
[0141] According to one or more embodiments of the present disclosure, Example 10 provides a device for sending session information, including:
[0142] an interface display module, configured to display the conversation interface in response to a display operation on the conversation interface, and present the 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 the conversation information recommended to be sent;
[0143] The information sending module is used to send target session information in response to the information sending operation, wherein the target session information is associated with the recommended information displayed in the input area.
[0144] According to one or more embodiments of the present disclosure, Example 11 provides an electronic device, including:
[0145] one or more processors;
[0146] a memory for storing one or more programs,
[0147] 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 Examples 1-9.
[0148] According to one or more embodiments of the present disclosure, Example 12 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 any one of Examples 1-9.
[0149] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. 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 a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0150] 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 are 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.
[0151] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A method for sending session information, characterized in that: 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, the target session information being associated with the recommended information displayed in the input area.
2. The method according to claim 1, characterized in that The displaying of the recommendation information in the input area of the conversation interface includes: 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.
3. The method according to claim 2, characterized in that 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, and 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 method according to claim 3, characterized in that 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, and the recommended information switching control is used to trigger the execution of the recommended information switching operation.
5. The method according to any one of claims 1 to 4, characterized in that: 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 method according to claim 5, characterized in that 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 method according to claim 5, characterized in that 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 method according to claim 7, characterized in that 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 method according to claim 8, characterized in that 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, characterized in that: an interface display module, configured to display the conversation interface in response to a display operation on the conversation interface, and present the 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 the conversation information recommended to be sent; The information sending module is used to send target session information in response to the information sending operation, wherein the target session information is associated with the recommended information displayed in the input area.
11. An electronic device, characterized in that: include: 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, characterized in that: 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.