CN117278511A - Message processing method, device, electronic equipment and storage medium - Google Patents
Message processing method, device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN117278511A CN117278511A CN202311337821.XA CN202311337821A CN117278511A CN 117278511 A CN117278511 A CN 117278511A CN 202311337821 A CN202311337821 A CN 202311337821A CN 117278511 A CN117278511 A CN 117278511A
- Authority
- CN
- China
- Prior art keywords
- message
- input
- electronic device
- session
- control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 35
- 238000000034 method Methods 0.000 claims abstract description 73
- 238000004891 communication Methods 0.000 claims abstract description 16
- 230000004044 response Effects 0.000 claims description 21
- 230000006870 function Effects 0.000 description 11
- 230000014509 gene expression Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 6
- 101150053844 APP1 gene Proteins 0.000 description 5
- 101100189105 Homo sapiens PABPC4 gene Proteins 0.000 description 5
- 102100039424 Polyadenylate-binding protein 4 Human genes 0.000 description 5
- 238000013473 artificial intelligence Methods 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000001788 irregular Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- HSUGRBWQSSZJOP-RTWAWAEBSA-N diltiazem Chemical compound C1=CC(OC)=CC=C1[C@H]1[C@@H](OC(C)=O)C(=O)N(CCN(C)C)C2=CC=CC=C2S1 HSUGRBWQSSZJOP-RTWAWAEBSA-N 0.000 description 1
- 229960004166 diltiazem Drugs 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004886 process control Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/18—Commands or executable codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/224—Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72436—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a message processing method, a message processing device, electronic equipment and a storage medium, and belongs to the technical field of communication. The method comprises the following steps: displaying a first message control on a desktop; receiving a first input of a user to a first message control; responding to the first input, recording target content information, and sending the target content information to a contact corresponding to the first message control; wherein the target content information includes at least one of: voice information, photo information, or video information.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to a message processing method, a message processing device, electronic equipment and a storage medium.
Background
Currently, users can conduct instant messaging through electronic devices. In related art, an electronic device may communicate with other contacts in a session interface of an instant chat-like application.
However, in the case that the electronic device receives the message notification of the instant messaging application, the electronic device needs to first run the instant messaging application, open a chat interface corresponding to other contacts, and then process the message in the chat interface, so that the process of processing the message by the electronic device is tedious and time-consuming.
Disclosure of Invention
An object of an embodiment of the present application is to provide a message processing method, an apparatus, an electronic device, and a storage medium, which can improve efficiency of message processing of the electronic device.
In a first aspect, an embodiment of the present application provides a message processing method, where the message processing method includes: displaying a first message control on a desktop; receiving a first input of a user to a first message control; responding to the first input, recording target content information, and sending the target content information to a contact corresponding to the first message control; wherein the target content information includes at least one of: voice information, photo information, or video information.
In a second aspect, an embodiment of the present application provides a message processing apparatus, including: the device comprises a display module, a receiving module and a processing module. And the display module is used for displaying the first message control on the desktop. And the receiving module is used for receiving a first input of a first message control displayed by the display module by a user. And the processing module is used for responding to the first input received by the receiving module, recording the target content information and sending the target content information to the contact corresponding to the first message control. Wherein the target content information includes at least one of: voice information, photo information, or video information.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, the electronic device may display a first message control on a desktop; receiving a first input of a user to a first message control; responding to the first input, recording target content information, and sending the target content information to a contact corresponding to the first message control; wherein the target content information includes at least one of: voice information, photo information, or video information. In the scheme, the first message control displayed in the desktop can record the target content information directly based on the input of the user and send the target content information to the contact corresponding to the first message control, that is, the electronic equipment can process the message notification directly in the desktop based on the input of the user to the first message control, that is, the electronic equipment can reply the message directly in the desktop based on the first message control without running the instant messaging application corresponding to the message control, so that the efficiency of the electronic equipment for processing the message is improved.
Drawings
FIG. 1 is one of the flowcharts of a message processing method provided in an embodiment of the present application;
FIG. 2 is a second flowchart of a message processing method according to an embodiment of the present disclosure;
FIG. 3 is a schematic illustration of an example of a desktop provided in an embodiment of the present application;
FIG. 4 is a third flowchart of a message processing method according to an embodiment of the present disclosure;
FIG. 5 is a fourth flowchart of a message processing method according to an embodiment of the present application;
FIG. 6 is a diagram of an example message session interface provided by an embodiment of the present application;
FIG. 7 is a fifth flowchart of a message processing method according to an embodiment of the present application;
FIG. 8 is a schematic diagram of an example notification bar interface provided by an embodiment of the present application;
FIG. 9 is a flowchart of a message processing method according to an embodiment of the present application;
FIG. 10 is a flow chart of a message processing method according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a message processing apparatus according to an embodiment of the present application;
fig. 12 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;
fig. 13 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the objects identified by "first," "second," etc. are generally of a type and do not limit the number of objects, for example, the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The terms "at least one," "at least one," and the like in the description and in the claims of the present application mean that they encompass any one, any two, or a combination of two or more of the objects. For example, at least one of a, b, c (item) may represent: "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", wherein a, b, c may be single or plural. Similarly, the term "at least two" means two or more, and the meaning of the expression is similar to the term "at least one".
The message processing method, device, electronic equipment and storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings by means of specific embodiments and application scenarios thereof.
The message processing method, the device, the electronic equipment and the storage medium provided by the embodiment of the application can be applied to a chat scene between a user and a contact.
At present, with the development of communication technology and the popularization of electronic devices, functions of instant messaging applications in the electronic devices are becoming more and more abundant. For example, a user may chat with a contact, such as sending voice or sending text, through an instant messaging type application in an electronic device. In the related art, when a user needs to chat with a contact person, the user can start an instant chat application program in the electronic device, find out the corresponding contact person, further control the electronic device to open a chat interface corresponding to the contact person, the chat interface comprises a voice control, and the user can input the voice control by long-time pressing so that the electronic device can record voice information input by the user, and therefore the electronic device can send the voice information to the contact person after recording is completed.
However, if the electronic device receives the reply message sent by the contact, the electronic device needs to enter a chat interface in the instant chat application program to process the reply message. And after the electronic device replies the message, when the electronic device exits the chat application program, if the user needs to send the message to the contact again, the electronic device still needs to run the chat application program again and open the corresponding chat interface, so that the message processing process of the electronic device is complicated and time-consuming.
In the message processing method, the device, the electronic equipment and the storage medium, the first session component comprises N message controls, and the N message controls can correspond to different sessions, so that the electronic equipment can directly process the message notification in the desktop based on the input of the message controls by a user, namely the electronic equipment can directly reply and send the message in the desktop based on the message controls without running instant messaging applications corresponding to the message controls, and the efficiency of the electronic equipment for processing the message is improved.
The execution body of the message processing method provided in the embodiment of the present application may be a message processing apparatus, and the message processing apparatus may be an electronic device or a functional module in the electronic device. The technical solution provided in the embodiments of the present application will be described below by taking an electronic device as an example.
An embodiment of the present application provides a message processing method, and fig. 1 shows a flowchart of the message processing method provided in the embodiment of the present application. As shown in fig. 1, the message processing method provided in the embodiment of the present application may include the following steps 201 to 203.
Step 201, the electronic device displays a first message control on a desktop.
Optionally, in this embodiment of the present application, the first message control is used to reply a message sent by a contact corresponding to the first message control.
Alternatively, the first message control may be one or more.
It is understood that one contact corresponds to one first message control.
Illustratively, the contact corresponding to the first message control may be a contact in one instant messaging application or a contact in a different instant messaging application.
For example, assuming that the number of the first message controls is two, the contact corresponding to the first message control may be any contact in the instant messaging application 1; the contact corresponding to the second first message control may be any contact in the instant messaging application 2.
Optionally, in an embodiment of the present application, the first message control may include at least one of the following: the method comprises the steps of replying to a message control, a contact image identifier corresponding to a first message control, a name identifier of the contact and a message corner mark.
Illustratively, the reply message control may be a contact image identification or a contact name identification.
Optionally, in an embodiment of the present application, the electronic device may display the first message control in an arbitrary blank area in the desktop.
For example, the electronic device may display the first message control embedded in a blank area in the desktop; alternatively, the electronic device may display the first message control on a blank area in the desktop through a popup window.
Alternatively, in the embodiment of the present application, the first session component may be displayed in the desktop in the form of a control or an icon.
Illustratively, the first session component described above may be displayed on the desktop in the form of a rectangular, oblong, square, or irregular image.
In an exemplary embodiment, in a case that the first message control receives the first message, the electronic device may display a message corner mark corresponding to the first message in any area of the first message control.
Preferably, the electronic device may display the message corner mark in an edge region of the first message control.
Optionally, in the embodiment of the present application, the message corner mark may be used to indicate a message to be processed by a user.
For example, in the event that the electronic device receives the first message, the electronic device may display the first message control in a first display manner.
In this embodiment of the present application, the first display manner is used to prompt a user that a session corresponding to the first message control receives a message notification.
Illustratively, the first display manner may include at least one of: the first session control blinks, updates a display size of the first session control, highlights the first session control, and displays a notification angle in the first session control.
Optionally, in the embodiment of the present application, on the basis of displaying the first message control in the first display manner, the electronic device may further remind the user through a system alert tone.
Optionally, in the embodiment of the present application, in the case where the first message control is a message control corresponding to a different application, the electronic device may output different system alert tones for the different applications, so as to achieve an effect of reminding the user conveniently.
In this embodiment of the present application, the electronic device may display the first message control in a first display manner under the condition that the electronic device receives the first message, so as to achieve the purpose of reminding the user.
Step 202, the electronic device receives a first input from a user to the first message control.
In this embodiment of the present application, the first input is used to determine a first message control.
Alternatively, in the embodiment of the present application, the first input may be any one of the following: the user clicks the first message control to input, long-press input, slide input or preset track input, etc. Specifically, the method can be determined according to actual use requirements, and the embodiment of the application is not limited.
Optionally, in this embodiment of the present application, the first input may be an input of a reply message control in the first message control by a user; or inputting the contact image identification; or, input of a contact's name identification.
Optionally, in the embodiment of the present application, after the electronic device receives the first input of the user to the first message control, the electronic device may cancel displaying the message corner mark.
Optionally, in the embodiment of the present application, after receiving the first input of the first message control by the user, the electronic device may display, through a pop-up window, the message received by the first message control in the desktop.
And 203, the electronic equipment responds to the first input, records the target content information and sends the target content information to the contact corresponding to the first message control.
In this embodiment of the present application, the target content information includes at least one of the following: voice information, photo information, or video information.
Optionally, in the embodiment of the present application, after the electronic device responds to the first input, the electronic device may display a prompt message to prompt a user about a message reply manner. Such as a voice reply, a photo reply, or a video reply.
For example, if the user selects the voice reply mode, the electronic device may invoke the microphone module to record voice information of the user and send the voice information to the contact corresponding to the first message control.
For example, if the user selects the photo reply mode, the electronic device may jump to the gallery application program, so that the user may select a target picture from the gallery, and thus send the target picture to the contact corresponding to the first message control.
The target picture may be a moving picture or a still picture, for example.
For example, if the user selects the video reply mode, the electronic device may jump to the gallery application program, so that the user may select the target video from the gallery, and thus send the target video to the contact corresponding to the first message control.
Optionally, in the embodiment of the present application, the message reply mode may further include an expression reply mode.
The method includes that the user selects the first message control, and the electronic device displays at least one expression in a desktop through a pop-up window, so that the user can select a target expression from the at least one expression, and the target expression is sent to a contact corresponding to the first message control.
In the message processing method provided by the embodiment of the application, the electronic device can display the first message control on the desktop; receiving a first input of a user to a first message control; responding to the first input, recording target content information, and sending the target content information to a contact corresponding to the first message control; wherein the target content information includes at least one of: voice information, photo information, or video information. In the scheme, the first message control displayed in the desktop can record the target content information directly based on the input of the user and send the target content information to the contact corresponding to the first message control, that is, the electronic equipment can process the message notification directly in the desktop based on the input of the user to the first message control, that is, the electronic equipment can reply the message directly in the desktop based on the first message control without running the instant messaging application corresponding to the message control, so that the efficiency of the electronic equipment for processing the message is improved.
Optionally, in an embodiment of the present application, as shown in fig. 2 in conjunction with fig. 1, before step 202 described above, the message processing method provided in an embodiment of the present application further includes the following steps 301 and 302.
Step 301, the electronic device receives a second input from a user to the first message control.
In this embodiment of the present application, the second input is used to determine the first message control.
Alternatively, in the embodiment of the present application, the second input may be any one of the following: the user clicks the first message control to input, long-press input, slide input or preset track input, etc. Specifically, the method can be determined according to actual use requirements, and the embodiment of the application is not limited.
Alternatively, in the embodiment of the present application, the second input may be different from the input parameter of the first input.
For example, the first input may be a long press input, and the second input may be a click input.
Step 302, the electronic device plays the first message in response to the second input.
In this embodiment of the present application, the first message is related to a first contact corresponding to a first message control.
In this embodiment of the present application, the electronic device plays the first message through the microphone module through the second input.
It can be understood that the first message is sent to the electronic device by the first contact through other electronic devices, and then the electronic device can display the message identifier corresponding to the first message on the first message control, so as to prompt the user of the first message control to receive the first message.
It should be noted that, the embodiment of the present application is not limited to the execution timing of the first input and the second input. For example, the electronic device may determine to perform steps 201 through 203 based on the input parameters of the user; or steps 301 and 302 are performed. Illustratively, if the user clicks on the first message control, the first message is played. If the user presses the first message control for a long time, the first message is replied. There is no precedence relationship between the two.
Step 202b, the electronic device receives a first input of a first processing identifier in a first message control.
Alternatively, in the embodiment of the present application, the processing identifier may be one or more of
In an embodiment of the present application, the first input may be used to determine a first processing identifier from a plurality of processing identifiers.
Optionally, in the embodiment of the present application, for a processing identifier included in each message control, in a case that the processing identifier is multiple, a message processing manner corresponding to each processing identifier is different.
For example, it is assumed that one message control includes two processing identifiers, where one processing identifier corresponds to a message processing manner of playing a message, and the other processing identifier corresponds to a message processing manner of replying to the message.
Optionally, in an embodiment of the present application, the first processing identifier may be displayed in any blank area in the first message control.
Optionally, in the embodiment of the present application, the electronic device may process the first message according to a first message processing manner indicated by the first processing identifier.
In this embodiment of the present application, the first contact is a corresponding contact of a first contact identifier included in a first message control.
In this embodiment of the present application, the first processing identifier and the first message processing manner may have an association relationship, so the electronic device may determine the first message processing manner based on the first processing identifier.
For example, the association relationship between the first processing identifier and the first message processing manner may be set by the user.
In the embodiment of the application, under the condition that the first message control contains the processing identifier, the electronic device can process the message based on the message processing mode corresponding to the processing identifier, so that the flexibility of the electronic device in processing the message is improved.
Optionally, in an embodiment of the present application, the desktop of the electronic device may include the first session component.
In this embodiment of the present application, the first session component includes N message controls, where each message control in the N message controls corresponds to a contact in a session, and N is a positive integer.
Optionally, in an embodiment of the present application, the electronic device may display the first session component in any blank area in the desktop.
For example, the electronic device may display the first session component described above embedded in a blank area in the desktop; alternatively, the electronic device may display the first session component via a pop-up window on a blank area in the desktop.
Alternatively, in the embodiment of the present application, the first session component may be displayed in the desktop in the form of a control or an icon.
Illustratively, the first session component described above may be displayed on the desktop in the form of a rectangular, oblong, square, or irregular image.
Optionally, in the embodiment of the present application, the electronic device may display the N message controls in the first session component through a second display manner.
Illustratively, the second display mode may include at least one of: a text display mode, an icon display mode, a contact image display mode, a special symbol display mode and an expression display mode.
For example, the text display mode may include at least one of chinese and english.
Optionally, in an embodiment of the present application, each first message control of the N message controls may be displayed in the first session component in an icon manner.
Optionally, in an embodiment of the present application, each first message control of the N message controls may include a contact identifier.
Optionally, in an embodiment of the present application, each of the N message controls may be displayed in the first session component in the first order.
Illustratively, the first order may be any of the following: alphabetical order, order of addition of each message control, or order set by the user.
Optionally, in an embodiment of the present application, the electronic device may display the N message controls in a control area in the first session component.
Optionally, in the embodiment of the present application, in the case that N message controls cannot be displayed in the control area, the electronic device may display a part of the N message controls and then hide another part of the message controls, so that based on the input of the user, the hidden another part of the message controls is displayed.
Optionally, in an embodiment of the present application, each of the N message controls may include at least one of the following: contact identification and process identification.
The processing identifier may be a text identifier, an english identifier, or a special symbol identifier.
It is to be appreciated that the process identification described above can correspond to a process control.
The number of process identifications described above may be one or more, for example.
Illustratively, the contact identification may be at least one of: a contact avatar, a contact name, and a contact remark.
Illustratively, as shown in fig. 3, a desktop 10 of the electronic device is displayed, where the desktop 10 includes a dialing application icon, an address book application icon, a short message application icon, a map application icon, a setting application icon, an APP1 application icon, and a first session component 11, and the first session component 11 includes two message controls, namely a message control 12 and a message control 13; the message control 12 corresponds to a session between the user and "mom" in the APP1 application, denoted M in fig. 2; the message control 13 corresponds to a session of the user with "dad" in the APP1 application, denoted D in fig. 2.
Optionally, in an embodiment of the present application, the N message controls may be related to at least one instant messaging application.
Illustratively, assume that the N message controls described above include a first message control, a second message control, and a third message control; the first message control may correspond to a chat session with friend a in a first instant messaging application; the second message control may correspond to a chat session with friend B in the first instant messaging application; the third message control may correspond to a chat session with friend C in the second instant messaging application; the first instant messaging application is different from the second instant messaging application.
Optionally, in the embodiment of the present application, after the electronic device displays the first session component in the desktop, the electronic device may adjust a display position and a display size of the first session component based on an input of a user to the first session component; or delete, hide the first session component.
Optionally, in an embodiment of the present application, the electronic device receives an input to a first message control of the N message controls.
In this embodiment of the present application, the first input is used to determine a first message control from N message controls.
In this embodiment of the present application, the first message control is at least one message control of the N message controls.
Optionally, in the embodiment of the present application, the input may be a click input, a long press input, a sliding input, or a preset track input of a first message control in the N message controls by a user. Specifically, the method can be determined according to actual use requirements, and the embodiment of the application is not limited.
Optionally, in an embodiment of the present application, the first message control may be one or more.
Optionally, in the embodiment of the present application, in a case where the first message control is not displayed in the current interface in the first session component, the electronic device may update the display interface of the first session component based on the input of the user, so that the first message control may be displayed.
In one example, in the case that the first message control is not displayed in the current interface in the first session component, the user may make a slide-up input on the first session component, so that the electronic device may move the message control that is not displayed in the current interface upward and hide the message control that is displayed in the current interface, so that the electronic device may display the first message control in the current interface.
In another example, in a case where the first message control is not displayed in the current interface in the first session component, the user may drag the edge region of the first session component to cause the electronic device to update the display size of the first session component to display the first message control.
Optionally, in the embodiment of the present application, in a case where the application corresponding to the first message control receives the message, the electronic device may automatically place the first message control on top of the first session component, so that the electronic device may receive an input to the first message control.
Optionally, in the embodiment of the present application, in response to the input, the electronic device processes, according to a message processing manner corresponding to the input, a first message in a first session corresponding to the first message control.
Optionally, in an embodiment of the present application, the first message processing method includes at least one of the following: and playing the message and replying to the message.
Illustratively, the reply message includes at least one of: endorsement replies, reference replies, voice replies, or forwarding replies.
It can be understood that the first message is a message sent by the first contact through the electronic device corresponding to the first contact.
Optionally, in an embodiment of the present application, the first message may be a read-unreturned message; alternatively, the first message is an unread message.
Alternatively, in the embodiment of the present application, the first message may be a text message or a voice message.
Alternatively, in the embodiment of the present application, in the case where the first message is a text message, the electronic device may convert the text into speech, so as to play the speech.
For example, the electronic device may obtain text content in the text message, obtain audio corresponding to the text content through a first algorithm, and play the audio.
The first algorithm may be an artificial intelligence (Artificial Intelligence, AI) algorithm or a neural network algorithm, for example.
In the embodiment of the present application, under the condition that the N message controls correspond to different instant messaging applications, the electronic device may also process message notifications in different instant messaging applications through the first session component in the desktop, without the electronic device running the corresponding instant messaging applications in sequence, so that the efficiency of message processing of the electronic device is improved.
Optionally, in the embodiment of the present application, the electronic device may edit the first message control according to the first input to the first message control of the user.
Illustratively, the editing process described above includes at least one of: delete, view, and add.
For example, the electronic device may enter a long press of the first message control such that the electronic device may display a delete control around the first message control, and then the user may enter the delete control such that the electronic device deletes the delete first message control.
For example, the electronic device may perform sliding input on the first message control, so that the electronic device may display session information corresponding to the first message control through a popup window; for example, the electronic device can display the contact name and the historical chat record in the conversation corresponding to the first message control in a pop-up window.
For example, the electronic device may perform a preset track input on the first message control, so that the electronic device may display session information corresponding to the first message control, where the session information may include a chat state, and the electronic device may add the chat state to the first message control and display the chat state in the desktop based on an input of a user.
In the embodiment of the application, the electronic device can play the first message based on the input of the user to the first message control, and the instant chat application interface corresponding to the first message does not need to be opened, so that the efficiency and convenience of the electronic device for processing the message are improved.
Optionally, in an embodiment of the present application, the first message includes a text message.
Illustratively, in connection with FIG. 2, as shown in FIG. 4, the above-described step 302 may be implemented by, in particular, steps 302a and 302b described below.
Step 302a, the electronic device converts the text message into voice information in response to the second input.
In this embodiment of the present application, the electronic device may convert the text message into the voice message through the first algorithm.
Optionally, in the embodiment of the present application, the electronic device may convert all unread messages into voice information; alternatively, the electronic device may simply convert the newly received unread message into voice information. Preferably, the electronic device can convert all unread messages into voice information.
Step 302b, the electronic device plays the voice information.
In this embodiment of the present application, the electronic device may play the voice information through the microphone module.
Optionally, in the embodiment of the present application, during the process of playing the voice information by the electronic device, the electronic device may interrupt playing the voice information based on the input of the user to the first message control, and continue playing the voice information based on the input of the user to the first message control again.
For example, in the process of playing the voice information by the electronic device, an audio playing control may be displayed, and the user may input the audio playing control, so that the electronic device may interrupt playing the voice information, and after the user inputs the audio playing control again, so that the electronic device may continue playing the voice information.
Optionally, in the embodiment of the present application, before playing the voice information, the electronic device may select to play the voice, that is, play the voice information through the sound of the electronic device.
For example, the electronic device may select to play voice information in a setup application. Such as a diltiazem or a large tertiary sound.
According to the embodiment of the application, the electronic device can convert text content into voice information based on the input of the user to the first message control, and play the first message without opening an instant chat application interface corresponding to the first message, so that the efficiency and convenience of the electronic device for processing the message are improved.
Optionally, in an embodiment of the present application, as shown in fig. 5 in conjunction with fig. 1, before step 201, the message processing method provided in the embodiment of the present application further includes the following steps 401 to 403.
Step 401, the electronic device displays a session list interface of the first application.
In this embodiment of the present application, the session list interface includes at least one session.
The first application may be any one of instant messaging applications in the electronic device.
In the embodiment of the application, the electronic device may run the first application based on the input of the user to the first application icon, so as to display a session list interface of the first application.
Optionally, in an embodiment of the present application, the at least one session may include: private chat sessions and group chat sessions.
Step 402, the electronic device receives a third input from the user for the second session in the session list interface.
In this embodiment of the present application, the third input is used to determine the second session from the session list interface.
Optionally, in this embodiment of the present application, the third input may be a click input, a long press input, a drag input, or a preset track input of the user on the second session in the session list interface. Specifically, the method can be determined according to actual use conditions, and the embodiment of the application is not limited.
Alternatively, in the embodiment of the present application, the second session may be one or more.
Step 403, the electronic device generates a first message control based on the session information of the second session in response to the third input.
In this embodiment of the present application, the first message control includes contact information of a second session, and message content in the second session.
Optionally, in the embodiment of the present application, the second input may be used to display a shortcut contact start box, and then the electronic device may select the second session according to the input of the user to the shortcut contact start box, so that the electronic device may generate the first message control according to session information of the second session.
Optionally, in an embodiment of the present application, the session information may include at least one of the following: remark information of the contact corresponding to the session, chat message information, head portrait information of the contact corresponding to the session and name information of the contact corresponding to the session.
For example, as shown in fig. 6, in the case where the session list interface 14 of APP1 is displayed, the session list interface 14 includes a session corresponding to friend a, a session corresponding to dad, a session corresponding to mom, a session corresponding to friend B, and a session corresponding to friend C, and at this time, the electronic device may receive an input of the user in any area of the session list interface 14 to display the shortcut contact start box 15, and then the user may drag the shortcut contact start box 15 to the session corresponding to dad and the session corresponding to mom, so that the electronic device may generate the first message control based on the session information of the session corresponding to dad and the session corresponding to mom.
Optionally, in an embodiment of the present application, after generating the first message control, the electronic device may automatically add the first message control to the first session component.
Optionally, in the embodiment of the present application, after displaying the shortcut contact start frame, the electronic device may receive an input to the shortcut contact start frame, so as to update a display size and a display position of the shortcut contact start frame.
For example, the electronic device may update the display size of the shortcut contact start frame based on a drag input of the user to the edge region of the shortcut contact start frame; or, the electronic device may update the display position of the shortcut contact start frame based on the preset track input of the shortcut contact start frame by the user.
Optionally, in the embodiment of the present application, after the electronic device obtains the session information of the second session, the electronic device may display a "complete" control in the session list interface, where the control is used to indicate that the electronic device may generate the first message component based on the session information determined by the shortcut contact start box.
For example, after the electronic device obtains the session information through the shortcut start box, the electronic device may display a "complete" control in a lower right corner of the session list interface, and the user may click on the "complete" control to input, so that the electronic device may generate a first message component according to the session information, automatically exit the second application, and display the first message component on the desktop.
It should be noted that, for the shortcut start box, the function may be integrated in a system setting of the electronic device, and the electronic device may be started in a customized manner, including but not limited to, a pull-down menu bar opening, a double click/triple click power key, a simultaneous pressing of a power key and a volume key, or a long pressing of a physical key, etc.
Furthermore, the electronic device may perform startup according to a shortcut startup mode set by the user [ shortcut contact startup box ], and the user may be able to perform startup according to the currently running interface. For example, the APP1 interface is used to select the current contact. The selected means may be, but is not limited to, geometric shaped circles.
The selected contact may then be defined as an attribute [ shortcut contact ], and the electronic device may obtain session information that the rights automatically identify the selected contact.
In the embodiment of the application, the electronic device can generate the first message control based on the session message, so that the flexibility of the electronic device in generating the first message control is improved.
Optionally, in an embodiment of the present application, as shown in fig. 7 in conjunction with fig. 1, after the step 201, the message processing method provided in the embodiment of the present application further includes the following steps 501 to 503.
Step 501, the electronic device displays a notification bar interface.
In this embodiment of the present application, the notification bar interface includes a message identifier of the second message.
Alternatively, in the embodiment of the present application, the second message may be one or more.
Optionally, in this embodiment of the present application, the notification bar interface further includes a first identifier, where the first identifier is used to add a session corresponding to the second message to the first session component.
Optionally, in an embodiment of the present application, the first identifier may include at least one of the following: text labels, image labels, special symbol labels, etc.
Step 502, the electronic device receives a fourth input of a message identifier of the second message from a user.
In this embodiment of the present application, the fourth input is used to determine a message identifier of the second message from a plurality of message identifiers displayed in the notification bar interface.
Alternatively, the fourth input may be a click input, a long press input, a preset track input, or a slide input of the user for the message identifier of the second message. Specifically, the method can be determined according to actual use requirements, and the embodiment of the application is not limited.
Alternatively, in an embodiment of the present application, the fourth input may be an input to the first identifier.
In response to the fourth input, the electronic device adds a second message control to the desktop in step 503.
In this embodiment of the present application, the second message control corresponds to a third session to which the second message belongs.
It can be appreciated that the functions and display manners in the second message control may be identical to those of the first message control, and in order to avoid repetition, a detailed description is omitted herein.
Optionally, in the embodiment of the present application, in response to the fourth input, the electronic device may newly create a blank area in the first session component, and add a second message control in the blank area, where the second message control includes a contact identifier and a processing identifier corresponding to the second session.
Illustratively, as shown in fig. 8, a first region 17, a second region 18, a third region 19, and a fourth region 20 are displayed in a notification bar interface 16 in the electronic device; the first area 17 includes a message notification corresponding to the application 1 and a "add to one-touch voice" identifier, the second area 18 includes a message notification corresponding to the application 2 and a "add to one-touch voice" identifier, the third area 19 includes a message notification corresponding to the application 3 and a "add to one-touch voice" identifier, and the fourth area 20 includes a message notification corresponding to the application 4 and a "add to one-touch voice" identifier; the user may enter a click input on the "Add to one-touch Speech" identifier in the first area, such that the electronic device may add the corresponding session of the message notification corresponding to application 1 to the first session component.
Optionally, in the embodiment of the present application, the electronic device displays a first session component, where a first message control is displayed in the component, after the electronic device adds a second message control to the first session component, the electronic device may overlay the first message control on the second message control, where if the second message control receives the second message, the electronic device may display the second message control on the first message control; alternatively, the first message control and the second message control are displayed in the first session component.
It should be noted that, after adding the second message control, the electronic device may execute the same message processing manner as the message processing manner of the first message control based on the input of the second message control by the user.
In the embodiment of the application, the electronic device can add the message notification in the notification bar interface to the first session component, so that the flexibility of editing the first session component is improved.
Optionally, in an embodiment of the present application, as shown in fig. 9 in conjunction with fig. 1, after the step 201, the message processing method provided in the embodiment of the present application further includes the following step 601.
In step 601, when the communication connection is successfully established with other electronic devices, the electronic device performs message processing on a first message in a first session corresponding to the first message control according to a first message processing mode corresponding to the fifth input based on the fifth input of the user in the other electronic devices.
In this embodiment of the present application, the first message is related to a first contact corresponding to a first message control; the first message processing mode includes at least one of the following: and playing the first message and replying to the first message.
Optionally, in the embodiment of the present application, the fifth input may be a click input, a sliding input, a preset track input, or the like of the user on other electronic devices. Specifically, the method can be determined according to actual use conditions, and the embodiment of the application is not limited.
Optionally, in an embodiment of the present application, the other electronic device may be a wearable electronic device, for example, a smart watch; or an in-vehicle electronic device.
In the following, an in-vehicle electronic device is taken as an example, and a message processing by a user through the in-vehicle electronic device will be explained.
In this embodiment of the present application, when the electronic device is connected to the vehicle-mounted electronic device, the electronic device sets the correspondence between the first input and the physical key in the vehicle, so when the user inputs the physical key in the vehicle, the electronic device may process the message through the vehicle-mounted electronic device.
The electronic device may be connected to the vehicle electronic device via bluetooth, wireless fidelity (Wireless Fidelity, wiFi) or a wire, for example.
If the user performs click input on a physical key in the vehicle, the electronic device may play the received voice message through the vehicle-mounted electronic device, and if the user performs slide input on the physical key in the vehicle, the electronic device may record the audio output by the user through a microphone in the vehicle-mounted electronic device, and transmit the recorded audio to the electronic device through the connection channel, so that the electronic device may reply the audio to the contact.
The connection channel may be a bluetooth channel, a WIFI channel, or a wired channel, for example.
It should be noted that, the vehicle-mounted electronic device can only control the session control of the current received message notification.
Optionally, in the embodiment of the present application, the user may establish a correspondence between the first input and the physical key in the control interface of the vehicle-mounted electronic device.
Therefore, under the condition that the electronic equipment cannot be used in the environment where the user is located, the electronic equipment can also process the message in real time by other electronic equipment, and the scene of processing the message by the electronic equipment is enriched.
Optionally, in an embodiment of the present application, as shown in fig. 10 in conjunction with fig. 1, after the step 201, the message processing method provided in the embodiment of the present application further includes the following steps 701 and 702.
In step 701, the electronic device receives a sixth input from the user to the electronic device if the communication connection is successfully established with the other electronic device.
In this embodiment of the present application, the sixth input is used to determine a message processing manner.
Alternatively, in the embodiment of the present application, the sixth input may be any one of the following: click input of the electronic equipment by a user, long-press input or preset track input and the like. Alternatively, the user inputs physical keys of the electronic device or a combination of physical keys, such as a power key and an volume key. Specifically, the method can be determined according to actual use conditions, and the embodiment of the application is not limited.
Illustratively, the sixth input may be an input to the first message control.
The electronic device may record voice through the sixth input, and obtain and store audio.
In step 702, the electronic device responds to the sixth input, and processes the first message through other electronic devices according to a second message processing mode corresponding to the sixth input.
In this embodiment of the present application, the second message processing manner includes at least one of the following: and playing the second message and replying to the second message.
For example, if the message processing manner corresponding to the sixth input is a play message, the electronic device may transmit the second message to the other electronic devices according to the connection channel between the electronic device and the other electronic devices, and control the other electronic devices to play the second message.
If the message processing manner corresponding to the sixth input is a reply message, the electronic device may store the reply message, and transmit the reply message to the other electronic devices through the connection channel between the electronic device and the other electronic devices, and control the other electronic devices to reply the message.
Illustratively, the reply message may include at least one of: voice information, photo information, video information, and expressions.
In the embodiment of the application, the electronic equipment can process the message through other electronic equipment, so that the flexible message processing of the electronic equipment is improved, and the scene of the electronic equipment for processing the message is enriched.
By way of example, the message processing method provided in the present application is explained in detail below by way of specific examples. In particular, this can be achieved by the following steps 20 to 24.
Step 20, the electronic device starts a first application and displays a session list interface.
And step 21, the electronic equipment displays a shortcut contact starting frame in the conversation list interface based on the input of the user in the conversation list interface.
Step 22, the electronic device selects a shortcut contact from the session list interface based on the input of the shortcut contact start box, and automatically identifies session information corresponding to the shortcut contact, so as to generate a first session component based on the session information.
Step 23, displaying the first session component in the desktop.
And step 24, the electronic equipment processes the message corresponding to the first message control based on the input of the user to the first message control in the first session component.
It should be noted that, in the message processing method provided in the embodiment of the present application, the execution body may be a message processing apparatus, or an electronic device, or may also be a functional module or an entity in the electronic device. In the embodiment of the present application, a message processing device executes a message processing method by using a message processing device as an example, and the message processing device provided in the embodiment of the present application is described.
Fig. 11 shows a schematic diagram of a possible structure of a message processing apparatus according to an embodiment of the present application. As shown in fig. 11, the message processing apparatus 70 may include: a display module 71, a receiving module 72 and a processing module 73.
The display module 71 is configured to display a first message control on a desktop. The receiving module 72 is configured to receive a first input from a user to a first message control displayed by the display module. The processing module 73 is configured to record the target content information in response to the first input received by the receiving module, and send the target content information to the contact corresponding to the first message control; wherein the target content information includes at least one of: voice information, photo information, or video information.
In one possible implementation, the receiving module 72 is further configured to receive a second input from the user to the first message control before receiving the first input from the user to the first message control. The processing module 73 is further configured to play the first message in response to the second input received by the receiving module 72; the first message is related to a first contact corresponding to the first message control.
In one possible implementation, the first message includes a text message; the processing module 73 is specifically configured to convert the text message into voice information in response to the second input received by the receiving module 72; and plays the voice information.
In a possible implementation manner, the display module 71 is further configured to display, before displaying the first message control in the desktop, a session list interface of the first application, where the session list interface includes at least one session. The receiving module 72 is further configured to receive a third input from the user for the second session in the session list interface displayed by the display module. The processing module 73 is further configured to generate, in response to the third input received by the receiving module 72, a first message control based on the session information of the second session, where the first message control includes contact information of the second session, and message content in the second session.
In one possible implementation, the display module 71 is further configured to display a notification bar interface after displaying the first session component on the desktop, where the notification bar interface includes a message identifier of the second message. The processing module 73 is further configured to add a second message control to the desktop in response to the fourth input received by the receiving module 72, where the second message control corresponds to a third session to which the second message belongs.
In a possible implementation manner, the processing module 73 is further configured to, after the display module 71 displays the first message control in the desktop, perform, based on a fifth input of the user in the other electronic device, message processing on a first message in a first session corresponding to the first message control according to a first message processing manner corresponding to the fifth input, where the first message is related to a first contact corresponding to the first message control, where the communication connection is successfully established with the other electronic device; wherein the first message processing manner includes at least one of: and playing the first message and replying to the first message.
In a possible implementation manner, the receiving module 72 is further configured to receive, after the display module 71 displays the first message control in the desktop, a sixth input from the user to the electronic device if the communication connection is successfully established with the other electronic device. The processing module 73 is configured to respond to the sixth input received by the receiving module, and perform message processing on the first message through other electronic devices according to a second message processing manner corresponding to the sixth input; wherein the second message processing manner includes at least one of: and playing the second message and replying to the second message.
According to the message processing device, the first message control displayed in the desktop can record target content information directly based on input of a user and send the target content information to the contact corresponding to the first message control, namely, the electronic equipment can process the message notification in the desktop directly based on input of the user to the first message control, that is, the electronic equipment can reply to the message directly in the desktop based on the first message control without running instant messaging application corresponding to the message control, so that the efficiency of message processing of the electronic equipment is improved.
The message processing apparatus in the embodiments of the present application may be an electronic device, or may be a component in an electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the mobile electronic device may be a mobile phone, tablet, notebook, palmtop, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The message processing apparatus in the embodiment of the present application may be an apparatus 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 embodiments of the present application.
The message processing apparatus provided in this embodiment of the present application can implement each process implemented in the foregoing embodiment, and in order to avoid repetition, details are not repeated here.
Optionally, as shown in fig. 12, the embodiment of the present application further provides an electronic device 90, including a processor 91 and a memory 92, where a program or an instruction capable of running on the processor 91 is stored in the memory 92, and the program or the instruction implements each step of the above-mentioned message processing method embodiment when executed by the processor 91, and the steps can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 13 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 110 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 13 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The display unit 106 is configured to display the first message control on the desktop. A user input unit 107 for receiving a first input of the first message control by a user. The processor 110 is configured to record target content information in response to the first input, and send the target content information to a contact corresponding to the first message control; wherein the target content information includes at least one of: voice information, photo information, or video information.
According to the electronic device, the first message control displayed in the desktop can record target content information directly based on input of a user and send the target content information to a contact corresponding to the first message control, namely, the electronic device can process a message notification in the desktop directly based on input of the user to the first message control, that is, the electronic device can reply to the message directly in the desktop based on the first message control without running instant messaging application corresponding to the message control, so that the efficiency of message processing of the electronic device is improved.
Optionally, in this embodiment of the present application, the user input unit 107 is further configured to receive a second input of the first message control by the user before receiving the first input of the first message control by the user. The processor 110 is further configured to play the first message in response to the second input; the first message is related to a first contact corresponding to the first message control.
Optionally, in an embodiment of the present application, the first message includes a text message; the processor 110 is specifically configured to convert the text message into voice information in response to the second input; and plays the voice information.
Optionally, in this embodiment of the present application, the display unit 106 is further configured to display a session list interface of the first application, where the session list interface includes at least one session, before displaying the first message control in the desktop. The user input unit 107 is further configured to receive a third input from the user for the second session in the session list interface. The processor 110 is further configured to generate, in response to the third input, a first message control based on session information of the second session, where the first message control includes contact information of the second session, and message content in the second session.
Optionally, in this embodiment of the present application, the display unit 106 is further configured to display a notification bar interface after the first session component is displayed in the desktop, where the notification bar interface includes a message identifier of the second message. The user input unit 107 is further configured to receive a fourth input of a message identifier of the second message by the user. The processor 110 is further configured to add a second message control to the desktop in response to the fourth input, where the second message control corresponds to a third session to which the second message belongs.
Optionally, in this embodiment of the present application, after displaying the first message control in the desktop, if communication connection is successfully established with other electronic devices, based on a fifth input of the user in the other electronic devices, according to a first message processing manner corresponding to the fifth input, the processor 110 is further configured to process a message on a first message in a first session corresponding to the first message control, where the first message is related to a first contact corresponding to the first message control; wherein the first message processing manner includes at least one of: and playing the first message and replying to the first message.
Optionally, in the embodiment of the present application, the user input unit 107 is further configured to receive, after displaying the first message control in the desktop, a sixth input from the user to the electronic device if the communication connection is successfully established with the other electronic device. The processor 110 is further configured to respond to the sixth input, and perform message processing on the first message through other electronic devices according to a second message processing manner corresponding to the sixth input; wherein the second message processing manner includes at least one of: and playing the second message and replying to the second message.
The electronic device provided in the embodiment of the present application can implement each process implemented by the above method embodiment, and can achieve the same technical effects, so that repetition is avoided, and details are not repeated here.
The beneficial effects of the various implementation manners in this embodiment may be specifically referred to the beneficial effects of the corresponding implementation manners in the foregoing method embodiment, and in order to avoid repetition, the description is omitted here.
It should be appreciated that in embodiments of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 109 may include volatile memory or nonvolatile memory, or the memory 109 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 109 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implement each process of the embodiment of the method, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, implementing each process of the above method embodiment, and achieving the same technical effect, so as to avoid repetition, and not repeated here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
The embodiments of the present application provide a computer program product stored in a storage medium, where the program product is executed by at least one processor to implement the respective processes of the embodiments of the message processing method described above, and achieve the same technical effects, and are not repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.
Claims (10)
1. A method of message processing, the method comprising:
displaying a first message control on a desktop;
receiving a first input of a user to the first message control;
recording target content information in response to the first input, and sending the target content information to a contact corresponding to the first message control;
wherein the target content information includes at least one of: voice information, photo information, or video information.
2. The method of claim 1, wherein prior to receiving the first input by the user to the first message control, the method further comprises:
receiving a second input of a user to the first message control;
playing the first message in response to the second input;
wherein the first message is associated with a first contact corresponding to the first message control.
3. The method of claim 2, wherein the first message comprises a text message;
the playing the first message in response to the second input, including:
converting the text message to speech information in response to the second input;
and playing the voice information.
4. The method of claim 1, wherein prior to displaying the first message control in the desktop, the method further comprises:
displaying a session list interface of a first application, the session list interface comprising at least one session;
receiving a third input of a user for a second session in the session list interface;
and generating the first message control based on the session information of the second session in response to the third input, wherein the first message control comprises the contact information of the second session, and the message content in the second session.
5. The method of claim 1, wherein after the first session component is displayed in the desktop, the method further comprises;
displaying a notification bar interface, wherein the notification bar interface comprises a message identifier of a second message;
receiving a fourth input of a message identification of the second message by a user;
and responding to the fourth input, adding a second message control in the desktop, wherein the second message control corresponds to a third session to which the second message belongs.
6. The method of claim 1, wherein after the first message control is displayed in the desktop, the method further comprises:
Under the condition that communication connection is successfully established with other electronic equipment, carrying out message processing on a first message in a first session corresponding to the first message control according to a first message processing mode corresponding to the fifth input based on the fifth input of a user on the other electronic equipment, wherein the first message is related to a first contact corresponding to the first message control;
wherein the first message processing manner includes at least one of: and playing the first message and replying to the first message.
7. The method of claim 1, wherein after the first message control is displayed in the desktop, the method further comprises:
receiving a sixth input of the user to the electronic device if the communication connection is successfully established with the other electronic device;
responding to the sixth input, and carrying out message processing on the first message through the other electronic equipment according to a second message processing mode corresponding to the sixth input;
wherein the second message processing manner includes at least one of: and playing the second message and replying to the second message.
8. A message processing apparatus, the apparatus comprising: the device comprises a display module, a receiving module and a processing module;
The display module is used for displaying a first message control on the desktop;
the receiving module is used for receiving a first input of a first message control displayed by the display module by a user;
the processing module is used for responding to the first input received by the receiving module, recording target content information and sending the target content information to the contact corresponding to the first message control;
wherein the target content information includes at least one of: voice information, photo information, or video information.
9. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor implements the steps of the message processing method of any of claims 1 to 7.
10. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the message processing method according to any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311337821.XA CN117278511A (en) | 2023-10-16 | 2023-10-16 | Message processing method, device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311337821.XA CN117278511A (en) | 2023-10-16 | 2023-10-16 | Message processing method, device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117278511A true CN117278511A (en) | 2023-12-22 |
Family
ID=89214275
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311337821.XA Pending CN117278511A (en) | 2023-10-16 | 2023-10-16 | Message processing method, device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117278511A (en) |
-
2023
- 2023-10-16 CN CN202311337821.XA patent/CN117278511A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110134484B (en) | Message icon display method and device, terminal and storage medium | |
CN111857500B (en) | Message display method and device, electronic equipment and storage medium | |
CN111612873B (en) | GIF picture generation method and device and electronic equipment | |
CN114500432A (en) | Session message transceiving method and device, electronic equipment and readable storage medium | |
CN108600079B (en) | Chat record display method and mobile terminal | |
CN112711366A (en) | Image generation method and device and electronic equipment | |
CN115357158A (en) | Message processing method and device, electronic equipment and storage medium | |
CN113241097A (en) | Recording method, recording device, electronic equipment and readable storage medium | |
CN113342435A (en) | Expression processing method and device, computer equipment and storage medium | |
US10965629B1 (en) | Method for generating imitated mobile messages on a chat writer server | |
CN114205447B (en) | Shortcut setting method and device of electronic equipment, storage medium and electronic equipment | |
CN110908638A (en) | Operation flow creating method and electronic equipment | |
CN114327088A (en) | Message sending method, device, electronic equipment and medium | |
CN117390711A (en) | Message notification display method and device and electronic equipment | |
CN114928585B (en) | Message processing method, device, electronic equipment and readable storage medium | |
CN114827339B (en) | Message output method and device and electronic equipment | |
CN115086747A (en) | Information processing method and device, electronic equipment and readable storage medium | |
CN117278511A (en) | Message processing method, device, electronic equipment and storage medium | |
CN113141296A (en) | Message display method and device and electronic equipment | |
CN114706638B (en) | Interface display method and device, electronic equipment and medium | |
CN114401281B (en) | Communication management method, device, electronic equipment and readable storage medium | |
CN115412524B (en) | Message processing method, device, electronic equipment and medium | |
WO2022252872A1 (en) | Device control method and apparatus, electronic device, and storage medium | |
CN117742538A (en) | Message display method, device, electronic equipment and readable storage medium | |
CN117032871A (en) | Session interface display method and device, electronic equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |