Message processing method, device, electronic device and medium
By displaying the target session interface in message processing, receiving user input and sending reference messages, the problem of inflexible references in the existing technology is solved, flexible processing and differentiated requirements of file content are realized, and user experience is improved.
Patent Information
- Application Number
- CN202211158095.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-22
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2042-09-22
AI Technical Summary
Existing message processing technology cannot meet the differentiated needs of users, references are not flexible enough, and cannot effectively handle multiple types of file content.
By displaying the target session interface, it receives user input, and responds to the input by sending reference messages, including the file content of the target file, providing reference processing of the entire or partial file content, and supporting file disassembly, classification, grouping, and the addition of annotation information.
It improves the flexibility of message reference processing, meets the differentiated needs of different users, and provides a convenient means to select and reference file content.
Smart Images

Figure CN115622969B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of information processing technology, and specifically relates to a message processing method, device, electronic device and readable storage medium. Background Art
[0002] Currently, more and more messages are exchanged, and the types of messages are also increasing, such as text, pictures, voice, files, etc. As a basic tool for communication, messages are becoming more and more important to human life. They are not only helpful for life, but can also be further used in work. Especially when working at the terminal, the demand for file processing is also increasing.
[0003] Currently, the only way to quote a message is to simply quote it directly, which makes the message quote processing inflexible and cannot meet the differentiated needs of users. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a message processing method, device, electronic device and readable storage medium, which can solve the problem that references in existing messages are not flexible enough.
[0005] In a first aspect, an embodiment of the present application provides a message processing method, the method comprising:
[0006] Displaying a target session interface, wherein the target session interface includes a target file;
[0007] Receiving a first input from a user in the target conversation interface;
[0008] In response to the first input, a reference message is sent to a target contact, the reference message including the file content of the target file.
[0009] In a second aspect, an embodiment of the present application provides a message processing device, the device comprising:
[0010] A display module, configured to display a target session interface, wherein the target session interface includes a target file;
[0011] A receiving module, configured to receive a first input from a user in the target conversation interface;
[0012] The sending module is configured to send a reference message to a target contact in response to the first input, wherein the reference message includes the file content of the target file.
[0013] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0014] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0015] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0016] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
[0017] In an embodiment of the present application, a target conversation interface is displayed, the target conversation interface includes a target file; a first input of a user in the target conversation interface is received; and in response to the first input, a reference message is sent to a target contact, the reference message includes the file content of the target file. Thus, in message processing of a social application, a convenient means can be provided for users to perform targeted reference processing on the entire or partial file content of the target file displayed on the conversation interface according to their own needs, thereby improving the flexibility of message reference processing and meeting the differentiated needs of different users. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a flowchart of the message processing method of an embodiment of the present application.
[0019] Figures 2 to 7 It is a schematic diagram of a single-file user interface of the message processing method of an embodiment of the present application.
[0020] Figures 8 to 11 It is a schematic diagram of a multi-file user interface of the message processing method of an embodiment of the present application.
[0021] Fig.12 It is a structural block diagram of the message processing device of an embodiment of the present application.
[0022] Fig.13 It is a structural block diagram of an electronic device according to an embodiment of the present application.
[0023] Fig.14 It is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0025] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0026] The message processing method, device, electronic device and readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
[0027] Figure 1 Schematic diagram of the message processing method of the embodiment of the present application. Figure 1 As shown, the message processing method of the embodiment of the present application includes the following steps 102 to 106.
[0028] Step 102: display a target session interface, wherein the target session interface includes a target file.
[0029] In one embodiment, the target session interface is a reference interface corresponding to the target file, and the reference interface displays the file content of the target file, and the file content includes at least one of the following: title, paragraph, picture, table, text. In the reference interface, the user can select the file content in the target file and make a reference.
[0030] In another embodiment, the target conversation interface is a common conversation interface, which may be a one-to-one user conversation interface or a group chat conversation interface. The target file may be a file corresponding to a received message or a sent message displayed in the common conversation interface, which may be a single file or multiple files.
[0031] In the case where the target conversation interface is a common conversation interface, optionally, after displaying the target conversation interface, the method further includes: receiving a second input from a user regarding the target file; and in response to the second input, displaying a reference interface corresponding to file content of the target file, wherein the file content includes at least one of the following: a title, a paragraph, a picture, a table, and text.
[0032] The second input is used to trigger the display of an interface for referencing the file content of the target file, so that the user can select and reference the file content in the target file on the reference interface.
[0033] refer to Figure 2 For example, the target file 10 displayed in the ordinary conversation interface is "A test method". The current user inputs, for example, by pressing, clicking or sliding the file, so that a pop-up box 20 is displayed to remind the user to choose whether to start the file reference mode. The file reference mode means that based on the user's needs, the file content can be selected in the ordinary conversation interface for the target file, so as to reference the selected file content as the subsequent message content. For example, the file includes various file contents such as text paragraphs, pictures, tables, etc. The user can select one or some file contents from the file for reference according to the needs of message sending. After the user selects to click the confirmation control, the reference interface corresponding to the target file will be displayed.
[0034] The target file may be a file received by the current user from other users in a common conversation interface, a file sent by the current user to other users, or a file added by the current user in the process of editing a message to be sent.
[0035] If the target file is a file that the current user has sent to other users, or a file that the current user has received, the box 20 can be popped up by pressing or clicking the file displayed on the conversation interface; if the target file is a file in the message to be sent edited by the current user, the box 20 can be popped up by pressing the send button. If the user selects the confirmation control, the message containing the file will not be sent first, and will be sent after executing subsequent steps.
[0036] As described above, the target file may include a single file or multiple files. After the reference interface is displayed in step 102, it means that the reference mode has been turned on for the target file.
[0037] When the target file includes a single file, the common conversation interface can receive the user's input on the target file displayed on the common conversation interface, disassemble and classify the target file, obtain different types of file contents of the target file, and display them on the reference interface.
[0038] The content of a file is usually presented in the form of titles, paragraphs, pictures, tables, text, etc. When the target file is in reference mode, the different types of file content of the target file are split and the reference interface after the split and classification is presented. The reference interface can present all types of file content of the file, or it can present all types of file content of the file in the form of a directory or index on the reference interface.
[0039] like Figure 2 As shown, Figure 2 After the file 10 is disassembled and classified, the reference interface 32 presents the split paragraph contents "Test Guide", "1 Test Structure", "1.1 Special Test", "2.1 Test Library", etc. in the form of index, and presents the split picture contents "Picture 1", "Picture 2", "Picture 3", "Picture 4". The "Test Guide" presented in the form of index means the contents of the corresponding paragraph of the "Test Guide" in the file 10, and the "Picture 1" presented in the form of index means the picture contents corresponding to the "Picture 1" in the file 10.
[0040] The reference interface can be displayed at a preset position of the common conversation interface. Optionally, the reference page of the target file is displayed in a message input box of the target conversation interface; or, the target conversation interface includes a floating window, and the reference page of the target file is displayed in the floating window.
[0041] Here, the target conversation interface is a common conversation interface. Figure 3 As shown, the reference interface 32 is displayed in the message input box of the common conversation interface. Figure 4 As shown, the reference interface 34 is displayed on the ordinary conversation interface in the form of a floating frame.
[0042] Optionally, the target file includes at least two files, and after displaying the target session interface, the method further includes: receiving a third input from a user regarding the at least two files; in response to the third input, grouping the at least two files according to at least one of the names and contents of the at least two files, and displaying reference pages corresponding to the file contents of the grouped at least two files, wherein the file contents include at least one of the following: a title, a paragraph, a picture, a table, and text.
[0043] In the case where the target session interface includes multiple files, the files can be first grouped according to the file names of different files. For example, the relationship between different files or the type of files can be determined through the file names, and thus the files can be grouped according to the file names, thereby typeset the multiple files displayed on the target session interface.
[0044] The relationship between different files can also be determined based on the content of different files. For example, if the content of the first file is work and the content of the second file is a plan, the two files have a certain relationship and can be grouped and displayed on the target session interface.
[0045] refer to Figure 8 For example, the target session interface displays multiple files including file 10 "a test method", file 12 "a stress test" and file 14 "an operation method". The current user can, for example, input one of the files by pressing, clicking or sliding, so that a box for prompting the user to select whether to start the file reference mode pops up. After the user selects three files and clicks OK, the group display interface 22 corresponding to the three files will be displayed.
[0046] When grouping files by name, for example, file 10 "A test method", file 12 "A stress test" and file 14 "A running method", according to business needs, basic tests are usually performed first, then running, and then stress testing. Therefore, file 10 "A test method" and file 14 "A running method" can be grouped together in one category, and file 12 "A stress test" can be grouped in another category, and file 12 "A stress test" can be placed below files 10 and 14 for comparison.
[0047] When grouping files according to their contents, if the content of the first paragraph of file 10 "A test method" is related to the content of the second paragraph of file 12 "A stress test", then file 10 and file 12 can be grouped together. Based on the grouping, the reference interface corresponding to the multiple files after the corresponding grouping is displayed. The reference interface corresponding to each file can refer to the above Figure 3 and Figure 4 The embodiments of the present invention will not be described in detail here.
[0048] In one embodiment, the reference interface can also be displayed according to a preset reference mode, and the preset reference mode includes sequential independent reference or combined reference. Sequential independent reference means that after multiple files turn on the reference mode, each file independently performs a content reference operation, which is similar to the file content reference operation of the above single file. Combined reference means that after multiple files turn on the reference mode, multiple files can be combined together for file content reference, so that it is easy to reference and use files with some connection between them.
[0049] like Fig. 9 As shown, when the user selects the sequential independent reference mode, the corresponding reference interface 36, 38 can be displayed below each file, such as Fig.10The display mode of the reference interfaces 36 and 38 may be consistent with the above-mentioned reference interfaces 32 and 34.
[0050] When the user selects the combined citation mode, the corresponding citation interface will display the combined paragraphs, pictures, titles, and texts on the citation interface.
[0051] In this way, the different needs of users can be met.
[0052] Whether it is a single file or at least two files, after or before the files are disassembled and classified to obtain different types of file contents corresponding to the files, the user can be provided with some file content screening processing for the target file, allowing the user to select specific file content that needs to be displayed in the reference interface, thereby facilitating the user's use of the file content.
[0053] Optionally, displaying a reference interface corresponding to the file content further includes: receiving a fourth input from the user; and displaying a reference interface corresponding to the target file content on the target session interface in response to the fourth input, wherein the file content includes the target file content.
[0054] like Fig.11 As shown, after the user selects to confirm the start file reference, a pop-up box 72 may be displayed to further allow the user to select which target file content (including at least one of the title, paragraph, picture, table, and text) in the target file to reference. Fig.11 At least one of the contents of the file name, the contents of the picture, and the contents of the paragraph of the file "A Test Method" can be selected. At the same time, when selecting a paragraph, the user can slide and select below. Thus, the content of the target file selected by the user can be displayed on the reference interface.
[0055] Step 104: Receive a first input from the user in the target conversation interface.
[0056] When the target conversation interface is a reference interface, the first input includes an operation for generating and sending a reference message including the file content in the target file.
[0057] The user can perform input operations such as clicking on the target conversation interface to select the file content in the target file displayed on the reference interface, and based on the selected file content, generate a reference message containing the file content.
[0058] In this way, the user selects corresponding file content in the target file for citation through the displayed citation interface of the target file, thereby generating a corresponding citation message.
[0059] Step 106: In response to the first input, a reference message is sent to a target contact, wherein the reference message includes the file content of the target file.
[0060] In this step, after generating a reference message including the file content of the target file, the reference message may be sent to the target contact by receiving a user input, such as the user clicking a send message control.
[0061] In the case where the target file includes at least two files, after displaying a reference interface corresponding to the file contents of the at least two grouped files, optionally, sending a reference message to the first contact in response to the first input includes: sending a reference message to the first contact in response to the first input, the file content of the reference message being associated with the grouping of the at least two files.
[0062] Optionally, before sending the reference message to the target contact, it also includes: while displaying the file content including the target file, receiving a fifth input from the user regarding the file content; in response to the fifth input, generating annotation information of the file content; sending the reference message to the target contact includes: sending the reference message including the file content and the annotation information to the target contact.
[0063] In this embodiment, the user can further add annotation information to the file content in the reference message, and generate new reference information based on the file content and its annotation information, and then send it to the target contact. After the user adds annotation information to the file content in the target file, the annotation message can be reversely saved and synchronized to the local target file when sending.
[0064] like Figure 5 As shown, the file content in the target file is the content corresponding to the “test guide” 50 , and the user's annotation information is the text content 52 additionally added to the file content “test guide” 50 in the dotted part.
[0065] For a private chat session interface, the target contact may be the user's peer user. For a group chat session interface, the target contact may be all users of the group chat, or a specific user selected by the user. Optionally, the first input includes a first sub-input and a second sub-input, and in response to the first input, sending a reference message to the target contact includes: in response to the first sub-input, determining a first contact corresponding to the first reference message and a second contact corresponding to the second reference message; in response to the second sub-input, sending the first reference message to the first contact, and sending the second reference message to the second contact; wherein the reference message includes the first reference message and the second reference message, and the target contact includes the first contact and the second contact.
[0066] When the target session interface is a group chat session interface, after generating a reference message including the file content in the target file, multiple contacts in the group chat session can be input in a message input box of the group chat session interface according to user input.
[0067] like Figure 6 As shown, the user can first select the paragraph content corresponding to "Test Guide" in the reference interface with the cursor 40 to generate a reference message 1 containing the paragraph content corresponding to "Test Guide". Then, in the message input box 42, by inputting "@Someone 1Someone 2", the target contact to receive the reference message 1 is determined.
[0068] In one embodiment, the user can send multiple different file contents to different target contacts through one input.
[0069] For example, after selecting to send the quoted message 1 to person 1 and person 2, the user can continue to move the cursor 40 to the position corresponding to "Picture 1" to generate a quoted message 2 containing the picture content corresponding to "Picture 1". Then continue to input "person 3 and person 4" in the message input box 42 to determine the contact person who will receive the quoted message 2. That is, an association relationship is established between the file content corresponding to the cursor position and the contact person who selects to receive the quoted message containing the file content.
[0070] In this way, after clicking the send control, the reference message 1 can be sent to person 1 and person 2, and the reference message 2 can be sent to person 3 and person 4 at the same time.
[0071] In the case where the sent reference message includes the file content of the target file and the annotation information of user A, the interface of the corresponding reference message received by the target contact is as follows: Figure 7 As shown, including a new message prompt box, for example, the conversation interface will display the reference message including the file content "Test Guide" of user A and the reply processing content of user A to the file content, and provide a box 82 for the user to choose whether to view the new message. If the user clicks the "Enter View" control, the detailed message content can be seen, including the entire content of the corresponding paragraph of "Test Guide".
[0072] Similarly, the user may also receive feedback messages from the target contact. Optionally, before or after sending the reference message to the target contact, the process further includes: upon receiving a feedback message from the target contact on the file content in the target file, updating the target file based on the feedback message.
[0073] In this way, the user can update and save the local target file according to the feedback information returned by the contact.
[0074] In an embodiment of the present application, a target conversation interface is displayed, the target conversation interface includes a target file; a first input of a user in the target conversation interface is received; and in response to the first input, a reference message is sent to a target contact, the reference message includes the file content of the target file. Thus, in message processing of a social application, a convenient means can be provided for users to perform targeted reference processing on the entire or partial file content of the target file displayed on the conversation interface according to their own needs, thereby improving the flexibility of message reference processing and meeting the differentiated needs of different users.
[0075] The message processing method provided in the embodiment of the present application can be executed by a message processing device. In the embodiment of the present application, the message processing device provided in the embodiment of the present application is described by taking the message processing method executed by the message processing device as an example.
[0076] like Fig.12 As shown, the embodiment of the present application provides a message processing device 800, including:
[0077] A display module 820, configured to display a target session interface, wherein the target session interface includes a target file;
[0078] A receiving module 840 is used to receive a first input from a user in the target conversation interface;
[0079] The sending module 860 is configured to send a reference message to a target contact in response to the first input, wherein the reference message includes the file content of the target file.
[0080] In an embodiment of the present application, a target conversation interface is displayed, the target conversation interface includes a target file; a first input of a user in the target conversation interface is received; and in response to the first input, a reference message is sent to a target contact, the reference message includes the file content of the target file. Thus, in message processing of a social application, a convenient means can be provided for users to perform targeted reference processing on the entire or partial file content of the target file displayed on the conversation interface according to their own needs, thereby improving the flexibility of message reference processing and meeting the differentiated needs of different users.
[0081] Optionally, it also includes: a second receiving module, used to receive a second input from the user on the target file after displaying the target session interface; a second display module, used to display a reference interface corresponding to the file content of the target file in response to the second input, wherein the file content includes at least one of the following: title, paragraph, picture, table, text.
[0082] Optionally, the target file includes at least two files, and the device further includes: a third receiving module, used to receive a third input from the user on the at least two files after displaying the target session interface; a third display module, used to group the at least two files according to at least one of the names and contents of the at least two files in response to the third input, and display a reference interface corresponding to the file contents of the at least two files after grouping, wherein the file content includes at least one of the following: title, paragraph, picture, table, text.
[0083] Optionally, the sending module is specifically configured to: in response to the first input, send a reference message to the first contact, wherein the reference content of the reference message is associated with the grouping of the at least two files.
[0084] Optionally, it also includes: a fourth receiving module, used to receive a fourth input from a user; a fourth display module, used to display a reference page corresponding to the target file content on the target session interface in response to the fourth input, wherein the file content includes the target file content.
[0085] Optionally, the display module is specifically configured to: display a reference interface of the target file in a message input box of the target conversation interface; or, the target conversation interface includes a floating window, and a reference page of the target file is displayed in the floating window.
[0086] Optionally, the first input includes a first sub-input and a second sub-input, and the sending module is specifically used to: in response to the first sub-input, determine a first contact corresponding to the first reference message and a second contact corresponding to the second reference message; in response to the second sub-input, send the first reference message to the first contact, and send the second reference message to the second contact; wherein the reference message includes the first reference message and the second reference message, and the target contact includes the first contact and the second contact.
[0087] Optionally, it also includes: a fifth receiving module, which is used to receive the user's fifth input on the file content when the file content including the target file is displayed before sending the reference message to the target contact; and a generating module, which is used to generate annotation information of the reference content in response to the fifth input.
[0088] Optionally, the sending module is specifically used to: send a reference message including the reference content and the annotation information to a target contact.
[0089] Optionally, it further includes: an updating module, which is used to update the target file based on the feedback message received from the target contact regarding the file content in the target file before or after the reference message is sent to the target contact.
[0090] The message processing device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtualreality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a personal computer (personal computer, PC), etc., which is not specifically limited in the embodiment of the present application.
[0091] The message processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0092] The message processing device provided in the embodiment of the present application can realize Figures 1 to 11 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0093] Optional, such as Fig.13 As shown, an embodiment of the present application also provides an electronic device 900, including a processor 940 and a memory 920, wherein the memory 920 stores programs or instructions that can be executed on the processor 940, and when the program or instructions are executed by the processor 940, the various steps of the above-mentioned message processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.
[0094] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0095] Fig.14 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0096] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.
[0097] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.14 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0098] The display unit 1006 is used to display a target session interface, wherein the target session interface includes a target file;
[0099] A user input unit 1007, configured to receive a first input from a user in the target conversation interface;
[0100] The processor 1010 is configured to send a reference message to a target contact in response to the first input, where the reference message includes the file content of the target file.
[0101] In an embodiment of the present application, a target conversation interface is displayed, the target conversation interface includes a target file; a first input of a user in the target conversation interface is received; and in response to the first input, a reference message is sent to a target contact, the reference message includes the file content of the target file. Thus, in message processing of a social application, a convenient means can be provided for users to perform targeted reference processing on the entire or partial file content of the target file displayed on the conversation interface according to their own needs, thereby improving the flexibility of message reference processing and meeting the differentiated needs of different users.
[0102] Optionally, the user input unit 1007 is further configured to: receive a second input of the user on the target file after displaying the target conversation interface;
[0103] The display unit 1006 is further configured to display a reference interface corresponding to the file content of the target file in response to the second input, wherein the file content includes at least one of the following: a title, a paragraph, a picture, a table, and text.
[0104] Optionally, the target file includes at least two files, and the user input unit 1007 is further used to: receive a third input from the user on the at least two files after displaying the target session interface; the display unit 1006 is further used to, in response to the third input, group the at least two files according to at least one of the names and contents of the at least two files, and display a reference interface corresponding to the file contents of the grouped at least two files, wherein the file content includes at least one of the following: title, paragraph, picture, table, text.
[0105] Optionally, the processor 1010 is specifically configured to: in response to the first input, send a reference message to the first contact, wherein reference content of the reference message is associated with the grouping of the at least two files.
[0106] Optionally, the user input unit 1007 is further used to receive a fourth input from the user; the display unit 1006 is further used to display a reference page corresponding to the target file content on the target session interface in response to the fourth input, wherein the file content includes the target file content.
[0107] Optionally, the display unit 1006 is specifically configured to: display a reference interface of the target file in a message input box of the target conversation interface; or, the target conversation interface includes a floating window, and a reference page of the target file is displayed in the floating window.
[0108] Optionally, the first input includes a first sub-input and a second sub-input, and the processor 1010 is specifically used to: in response to the first sub-input, determine a first contact corresponding to the first reference message and a second contact corresponding to the second reference message; in response to the second sub-input, send the first reference message to the first contact, and send the second reference message to the second contact; wherein the reference message includes the first reference message and the second reference message, and the target contact includes the first contact and the second contact.
[0109] Optionally, the user input unit 1007 is also used to receive a fifth input from the user on the file content before sending the reference message to the target contact, while displaying the file content including the target file; the processor 1010 is also used to generate annotation information for the reference content in response to the fifth input.
[0110] Optionally, the processor 1010 is specifically configured to: send a reference message including the reference content and the annotation information to a target contact.
[0111] Optionally, the processor 1010 is further configured to, before or after sending the reference message to the target contact, upon receiving a feedback message from the target contact regarding the file content in the target file, update the target file based on the feedback message.
[0112] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0113] The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0114] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1010.
[0115] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned message processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0116] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0117] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned message processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0118] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0119] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned message processing method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0120] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0121] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0122] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A message processing method, characterized in that: include: Displaying a target session interface, wherein the target session interface includes a target file; Receiving a first input from a user in the target conversation interface; In response to the first input, sending a reference message to a target contact, the reference message including the file content of the target file; The target file includes at least two files, and after displaying the target session interface, the following further includes: receiving a third input of the at least two files by a user; In response to the third input, the at least two files are grouped according to at least one of the names and contents of the at least two files, and a reference interface corresponding to the file contents of the at least two files after the grouping is displayed, wherein the file contents include at least one of the following: a title, a paragraph, a picture, a table, and text; The sending of the reference message to the first contact in response to the first input includes: In response to the first input, sending a reference message to a first contact, wherein the file content of the reference message is associated with the grouping of the at least two files; The grouping of the at least two files according to at least one of the names and contents of the at least two files comprises: grouping the at least two files into one group based on the names of the at least two files according to business needs; or At least two files having contents associated therebetween are grouped together from among the at least two files.
2. The method according to claim 1, characterized in that After displaying the target conversation interface, the method further includes: receiving a second input of the target file from a user; In response to the second input, a reference interface corresponding to the file content of the target file is displayed, where the file content includes at least one of the following: a title, a paragraph, a picture, a table, and text.
3. The method according to claim 1 or 2, characterized in that: The reference interface corresponding to the display file content also includes: receiving a fourth input from the user; In response to the fourth input, a reference interface corresponding to the target file content is displayed on the target session interface, and the file content includes the target file content.
4. The method according to claim 1, characterized in that: include: Displaying the reference interface of the target file in the message input box of the target session interface; or, The target session interface includes a floating window, and a reference interface of the target file is displayed in the floating window.
5. The method according to claim 1, characterized in that The first input includes a first sub-input and a second sub-input, and in response to the first input, sending a reference message to a target contact includes: In response to the first sub-input, determining a first contact corresponding to the first reference message and a second contact corresponding to the second reference message; In response to the second sub-input, sending the first reference message to the first contact, and sending the second reference message to the second contact; The reference message includes the first reference message and the second reference message, and the target contact includes the first contact and the second contact.
6. The method according to claim 1 or 5, characterized in that: Before sending the reference message to the target contact, the method further includes: In a case where the file content including the target file is displayed, receiving a fifth input of the user on the file content; In response to the fifth input, generating annotation information of the file content; The sending of the reference message to the target contact comprises: Sending a reference message including the file content and the annotation information to a target contact.
7. The method according to claim 1, characterized in that After sending the reference message to the target contact, the method further includes: In a case where a feedback message including the target contact's response to the file content in the target file is received, the target file is updated based on the feedback message.
8. A message processing device, characterized in that: include: A display module, configured to display a target session interface, wherein the target session interface includes a target file; A receiving module, configured to receive a first input from a user in the target conversation interface; A sending module, configured to send a reference message to a target contact in response to the first input, wherein the reference message includes the file content of the target file; The target file includes at least two files. The user input unit is further used to: receive a third input of the at least two files from the user after displaying the target conversation interface; The display unit is further configured to, in response to the third input, group the at least two files according to at least one of the names and contents of the at least two files, and display a reference interface corresponding to the file contents of the at least two files after the grouping, wherein the file contents include at least one of the following: a title, a paragraph, a picture, a table, and text; In the sending module, in response to the first input, sending the reference message to the first contact includes: In response to the first input, sending a reference message to a first contact, wherein the file content of the reference message is associated with the grouping of the at least two files; In the display unit, grouping the at least two files according to at least one of the names and contents of the at least two files comprises: grouping the at least two files into one group based on the names of the at least two files according to business needs; or At least two files having contents associated therebetween are grouped together from among the at least two files.
9. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the message processing method according to any one of claims 1 to 7 are implemented.
