CN111258476B - Message processing method and electronic equipment - Google Patents
Message processing method and electronic equipment Download PDFInfo
- Publication number
- CN111258476B CN111258476B CN202010103707.0A CN202010103707A CN111258476B CN 111258476 B CN111258476 B CN 111258476B CN 202010103707 A CN202010103707 A CN 202010103707A CN 111258476 B CN111258476 B CN 111258476B
- Authority
- CN
- China
- Prior art keywords
- message
- application
- electronic device
- priority
- icon
- 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.)
- Active
Links
Images
Classifications
-
- 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/0485—Scrolling or panning
-
- 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/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a message processing method and electronic equipment; the message processing method comprises the following steps: generating a message icon based on a first message in case the first message is received; displaying a target function option of a first application under the condition that the message icon is moved to a position area associated with the first application; and executing the corresponding target function on the first message when a first operation aiming at the target function option is received. The technical scheme provided by the invention solves the problem that the existing electronic equipment has poor message processing capability.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a message processing method and an electronic device.
Background
With the development of communication technology, more and more applications are installed on electronic devices, and the electronic devices often receive various messages sent by application background servers. At present, for a message received by an electronic device, a text notification is usually displayed, and the message is clicked to perform checking or deleting operation, so that the problems that the message notification is not intuitive enough and the message processing capability is poor exist.
Disclosure of Invention
The embodiment of the invention provides a message processing method and electronic equipment, and aims to solve the problems that the existing electronic equipment is not intuitive enough in message notification and poor in message processing capability.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a message processing method, which is applied to an electronic device, and the method includes:
generating a message icon based on a first message in case the first message is received;
displaying a target function option of a first application under the condition that the message icon is moved to a position area associated with the first application;
and executing the corresponding target function on the first message when a first operation aiming at the target function option is received.
In a second aspect, an embodiment of the present invention further provides an electronic device, including:
the generating module is used for generating a message icon based on a first message under the condition that the first message is received;
the display module is used for displaying a target function option of the first application under the condition that the message icon is moved to a position area associated with the first application;
and the execution module is used for executing the corresponding target function on the first message under the condition of receiving the first operation aiming at the target function option.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when executed by the processor, the electronic device implements the steps of the message processing method according to the first aspect.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the message processing method as described in the first aspect.
According to the technical scheme provided by the embodiment of the invention, the electronic equipment generates the message icon based on the received first message, displays the target function option of the first application when the message icon moves to the position area associated with the first application, and executes the target function on the first message when the first operation aiming at the target function option is received. Therefore, the message icon is generated according to the message notification, the type and the content of the message are more intuitively informed, and the target function is executed on the message through the target function option of the application, so that the processing of the message by the electronic equipment is not limited to viewing and deleting any more, the target function can be executed on the message without opening the message by a user, and the processing capacity of the electronic equipment on the message is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a message processing method according to an embodiment of the present invention;
FIG. 2 is a schematic view of a display interface of an electronic device to which the message processing method provided in FIG. 1 is applied;
FIG. 3 is another schematic view of a display interface of an electronic device to which the message processing method provided in FIG. 1 is applied;
FIG. 4 is a block diagram of an electronic device according to an embodiment of the present invention;
fig. 5 is a block diagram of another electronic device provided in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a message processing method according to an embodiment of the present invention, where the message processing method is applied to an electronic device. As shown in fig. 1, the message processing method includes the following steps:
It should be noted that the first message may refer to a short message received by the electronic device, a chat message of social software, a push message of an application, and the like. In the embodiment of the present invention, a push message using the first message as an application will be specifically described as an example.
In this step, when receiving the first message, the electronic device may generate a corresponding message icon based on the first message, for example, the message icon may be an application icon of an application corresponding to the first message, and then the user may quickly know which application the first message corresponds to through the message icon without checking message content.
In this embodiment of the present invention, the step 101 may include:
under the condition of receiving a first message, acquiring the message content and/or the message type of the first message;
and generating a message icon based on the message content and/or the message type.
In this embodiment, when the electronic device receives the first message, the electronic device may generate a message icon based on the message content of the first message. For example, if the message content of the first message includes a picture or a video, the picture or the video may be parsed into a message icon, for example, the picture is used as the message icon. Therefore, the user does not need to open the first message to check, and can quickly acquire the message content contained in the first message through the message icon, so that the user operation is facilitated, and the user use experience of the electronic equipment is improved.
Alternatively, the electronic device may generate the message icon based on the message type of the first message when the first message is received. The message type may refer to a type of an application corresponding to the first message, the type of the application may include a video type, a chat type, a reading type, a game type, a shopping type, and the like, and different types of applications may correspond to different message icons. For example, the first message is a push message corresponding to a game-class application, and the electronic device may generate a message icon with a gamepad pattern according to a message type of the first message.
Alternatively, the message icon may be generated according to the message content and the message type of the first message. For example, referring to fig. 2, when the message content of the first message includes words such as "game", "hand game", and the like, the message type of the first message is a game-like message, and a message icon with a game handle pattern may be generated; when the message content of the first message includes words such as "sports", "basketball", etc., the message content may be a message icon for generating a basketball pattern. It should be noted that the classification of the message types and the specific form of the message icon may also be in other manners, which are not described herein.
Therefore, when the electronic equipment receives the first message, the message icon can be generated based on the first message, so that the message is graphical, the display of the electronic equipment on the message is more vivid and concise, the type and the content of the message can be more intuitively informed, a user can conveniently and quickly capture the message, the electronic equipment can simultaneously display more messages, and the processing capacity of the electronic equipment on the message is improved.
Optionally, the first message is a push message of a second application, and the step 101 may further include:
acquiring the priority of the second application in the applications included in the electronic equipment under the condition of receiving the first message;
generating a message icon based on the first message and the priority, wherein a display parameter of the message icon is associated with the priority.
For example, the first message is a push message of the second application, and when the push message of the second application (that is, the first message) is received, the priority of the second application in the application included in the electronic device is acquired, and then the message icon is generated based on the first message and the priority. The display parameter of the message icon may refer to a size, a display brightness, a display color, and the like of the message icon. For example, the higher the priority, the larger the size of the message icon; alternatively, the higher the priority, the more conspicuous the display color of the message icon.
Therefore, when push messages of different applications are received, message icons corresponding to the different applications are generated, and based on the display parameters of the message icons, a user can conveniently and quickly know which push message corresponding to the message icon can be processed preferentially.
Wherein the priority of the second application may be determined based on an operation parameter of a user, and the obtaining the priority of the second application in the applications included in the electronic device in the case of receiving the first message may further include:
acquiring an operation parameter aiming at a second message, and determining the priority of the second application in the application included in the electronic equipment according to the operation parameter; wherein the second message is a push message of the second application.
It is to be understood that the second message is a push message received by the electronic device before receiving the first message, and the electronic device may determine the priority of the second application by obtaining the operating parameters for the second message.
It can be understood that the user may have different operations on the push messages of different applications, for example, the push messages that the user is interested in are viewed by the user immediately, or the operations such as saving and forwarding are performed; if it is a push message that is not of interest to the user, the user may not view or delete it directly. Optionally, the operation parameter may refer to a duration of the second message viewed by the user, whether the user views the second message, whether the user deletes the second message, and the like.
As a specific implementation manner, the obtaining an operation parameter for the second message, and determining, according to the operation parameter, a priority of the second application in an application included in the electronic device specifically includes:
acquiring first time of receiving a second message and second time of checking the second message;
determining a priority of the second application among applications included in the electronic device based on a time difference between the first time and the second time.
That is to say, the electronic device records a first time when the second message is received and a second time when the second message is viewed, calculates a time difference between the first time and the second time, and further determines a priority of the second application corresponding to the second message in the applications included in the electronic device.
It can be understood that, if the time difference is larger, it indicates that the interest of the user in the second application corresponding to the second message is lower, the priority corresponding to the second application is lower; if the time difference is smaller, the user's interest in the second application corresponding to the second message is higher, and the priority corresponding to the second application is higher.
The second application may refer to any application installed on the electronic device. The electronic device can also determine the priority of different applications by acquiring the operating parameters of the push messages of different applications. In addition, the second message may refer to all push messages received by the electronic device before the first message and corresponding to the same application, or a push message within a certain time period; the electronic device may average the operating parameters of the push messages to determine the priority of the application.
In the embodiment of the invention, when the electronic equipment receives the first message, the message icon is generated based on the first message and can be hidden, and when the preset operation is received, the message icon is displayed on the desktop of the electronic equipment. For example, when a sliding operation from right to left is received, wherein the sliding operation is performed by a user on a desktop, the message icon is displayed in the right area of the desktop.
It should be noted that all the push messages of an application may correspond to the same message icon, or one push message may correspond to one message icon. It can be understood that, the electronic device may have a plurality of message icons, the plurality of message icons may be displayed in a preset message frame, the message frame is hidden, and when a preset operation is received, the message frame is displayed on the desktop of the electronic device, and the message icons are displayed in the message frame, so as to facilitate the operation of the message icons by the user. Therefore, the electronic equipment can display the message icon through preset operation when the message icon needs to be viewed or operated, and hide the message icon when the message icon is not needed, so that a display interface of a desktop cannot be occupied.
Or, after the electronic device generates the message icon based on the first message, the message icon may also be displayed in a preset area of the desktop, for example, the message icon may be displayed on the top of the desktop, so that the user may directly move the message icon on the desktop without performing a preset operation, thereby further simplifying an operation flow of the user.
And 102, under the condition that the message icon is moved to a position area associated with the first application, displaying a target function option of the first application.
It should be noted that the first application may be any application installed on the electronic device. For example, the first application is application a, and the first message may be a push message of application B, or may also be a push message of application a. In addition, the first application may be the same application as the second application or may be a different application.
The location area associated with the first application may be within a preset area range of a first application icon corresponding to the first application. For example, when the message icon moves to the first application icon or moves to overlap with the first application icon (as shown in fig. 3), the electronic device displays the target function option of the first application. The target function option may refer to a menu bar on which a plurality of target function trigger buttons are displayed.
Optionally, the step 102 may specifically be:
starting the first application under the condition that the message icon is moved to a position area associated with the first application;
and acquiring a target function option which can execute operation on the first message in the first application, and displaying the target function option.
For example, when the electronic device receives a preset operation, a message frame including a plurality of message icons is displayed, when an operation that a user presses a message icon a for a long time is received, the message frame disappears and a desktop is displayed, the user can drag the message icon a to overlap with a first application icon, the electronic device starts the first application, obtains a target function option capable of operating the first message (i.e., a message corresponding to the message icon a) in the first application, and displays the target function option. For example, the function options of the first application include sharing, editing, forwarding, listening to a song, playing a video, and calling a phone number, the first message is a discount push message corresponding to the shopping application, the message does not relate to a video, an audio, and a phone number, and then a target function option capable of performing an operation on the first message in the function options of the first application is sharing, editing, and forwarding.
And 103, executing a corresponding target function on the first message under the condition that a first operation aiming at the target function option is received.
And the target function corresponds to any one of the target function options. It is understood that the target function option may be an operation button that triggers the electronic device to execute a target function.
For example, the target function option displayed by the electronic device includes sharing, editing and forwarding, and when a single-click operation of a user on the target function option of "forwarding" is received, the electronic device forwards the first message. Alternatively, the electronic device may forward the first message to a particular contact.
Or when receiving the single-click operation of the user on the target function option of forwarding, displaying the contact list, receiving the selection operation of the user on the contact list to determine the target contact, and forwarding the first message to the target contact.
In addition, the electronic equipment can also uniformly process the same functions of different applications. For example, when the electronic device receives a selection operation of the user on a target function option of "share", applications a and B capable of executing a sharing function are displayed, and the user can share the first message to the applications a and/or B through the selection operation.
Therefore, the related operation is executed on the message icon corresponding to the first message, so that the operations such as forwarding, sharing and the like of the first message can be quickly realized without opening the first message by a user, the processing performance of the electronic equipment on the message is improved, the processing efficiency of the message is improved, and the operation of the user is simplified. In addition, compared with the existing method which only can check and delete the message, the scheme provided by the embodiment enriches the message processing mode.
According to the technical scheme provided by the embodiment of the invention, the electronic equipment generates the message icon based on the received first message, displays the target function option of the first application when the message icon moves to the position area associated with the first application, and executes the corresponding target function on the first message when the first operation aiming at the target function option is received. Therefore, the message icon is generated according to the message notification, the type and the content of the message are more intuitively informed, and the target function is executed on the message through the target function option of the application, so that the processing of the message by the electronic equipment is not limited to viewing and deleting any more, the target function can be executed on the message without opening the message by a user, and the processing capacity of the electronic equipment on the message is improved.
Referring to fig. 4, fig. 4 is a structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 4, the electronic device 400 includes:
a generating module 401, configured to, in a case that a first message is received, generate a message icon based on the first message;
a display module 402, configured to display a target function option of a first application when the message icon is moved to a location area associated with the first application;
an executing module 403, configured to, in a case that a first operation for the target function option is received, execute a corresponding target function on the first message.
Optionally, the generating module 401 is further configured to:
under the condition of receiving a first message, acquiring the message content and/or the message type of the first message;
and generating a message icon based on the message content and/or the message type.
Optionally, the first message is a push message of a second application, and the generating module 401 is further configured to:
acquiring the priority of the second application in the applications included in the electronic equipment under the condition of receiving the first message;
generating a message icon based on the first message and the priority, wherein a display parameter of the message icon is associated with the priority.
Optionally, the electronic device 400 further includes:
a determining module, configured to obtain an operation parameter for a second message, and determine, according to the operation parameter, a priority of the second application in applications included in the electronic device;
wherein the second message and the first message are push messages of the second application.
Optionally, the determining module is further configured to:
acquiring first time of receiving a second message and second time of checking the second message;
determining a priority of the second application among applications included in the electronic device based on a time difference between the first time and the second time.
It should be noted that the electronic device 400 can implement the processes of the above-mentioned message processing method embodiment, and can achieve the same technical effect, and for avoiding repetition, details are not described here again.
In this embodiment of the present invention, the electronic device 400 generates a message icon based on the received first message, displays a target function option of the first application when the message icon moves to a location area associated with the first application, and executes a corresponding target function on the first message when a first operation for the target function option is received. In this way, the message icon is generated according to the message notification, the type and the content of the message are more intuitively informed, and the target function is executed on the message through the target function option of the application, so that the processing of the message by the electronic device 400 is no longer limited to viewing and deleting, the target function can be executed on the message without opening the message by a user, and the processing capacity of the electronic device 400 on the message is improved.
Referring to fig. 5, fig. 5 is a structural diagram of another electronic device for implementing the embodiment of the present invention, and the electronic device 500 can implement each process of the message processing method embodiment described in fig. 1 and achieve the same technical effect. As shown in fig. 5, the electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 510 is configured to, in a case that a first message is received, generate a message icon based on the first message;
displaying a target function option of a first application under the condition that the message icon is moved to a position area associated with the first application;
and executing the corresponding target function on the first message when a first operation aiming at the target function option is received.
Wherein, the processor 510 is further configured to:
under the condition of receiving a first message, acquiring the message content and/or the message type of the first message;
and generating a message icon based on the message content and/or the message type.
Wherein the first message is a push message of a second application, and the processor 510 is further configured to:
acquiring the priority of the second application in the applications included in the electronic equipment under the condition of receiving the first message;
generating a message icon based on the first message and the priority, wherein a display parameter of the message icon is associated with the priority.
Wherein, the processor 510 is further configured to:
acquiring an operation parameter aiming at a second message, and determining the priority of the second application in the application included in the electronic equipment according to the operation parameter;
wherein the second message and the first message are push messages of the second application.
Wherein, the processor 510 is further configured to:
acquiring first time of receiving a second message and second time of checking the second message;
determining a priority of the second application among applications included in the electronic device based on a time difference between the first time and the second time.
In this embodiment of the present invention, the electronic device 500 generates a message icon based on the received first message, displays a target function option of the first application when the message icon moves to a location area associated with the first application, and executes a corresponding target function on the first message when a first operation for the target function option is received. In this way, the message icon is generated according to the message notification, the type and the content of the message are more intuitively informed, and the target function is executed on the message through the target function option of the application, so that the processing of the message by the electronic device 500 is no longer limited to viewing and deleting, the target function can be executed on the message without opening the message by a user, and the processing capability of the electronic device 500 on the message is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The electronic device 500 provides the user with wireless broadband internet access via the network module 502, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic apparatus 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still image or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphics processor 5041 may be stored in the memory 509 (or other computer-readable storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The electronic device 500 also includes at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5051 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5051 and/or a backlight when the electronic device 500 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5051, and the Display panel 5051 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device 500. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, a touch panel 5071 may be overlaid on the display panel 5051, and when the touch panel 5071 detects a touch operation thereon or thereabout, the touch panel is transmitted to the processor 510 to determine the type of touch event, and then the processor 510 provides a corresponding visual output on the display panel 5051 according to the type of touch event. Although in fig. 5, the touch panel 5071 and the display panel 5051 are implemented as two separate components to implement the input and output functions of the electronic device 500, in some embodiments, the touch panel 5071 and the display panel 5051 may be integrated to implement the input and output functions of the electronic device 500, and are not limited herein.
The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, applications required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the electronic device 500, connects various parts of the whole electronic device 500 by using various interfaces and lines, and performs various functions of the electronic device 500 and processes data by running or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device 500. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The electronic device 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In addition, the electronic device 500 includes some functional modules that are not shown, and are not described in detail herein.
Optionally, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the above message processing method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned message processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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 an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A message processing method applied to an electronic device is characterized by comprising the following steps:
generating a message icon based on a first message in case the first message is received;
displaying a target function option of a first application under the condition that the message icon is moved to a position area associated with the first application;
executing a corresponding target function on the first message under the condition that a first operation aiming at the target function option is received;
the generating a message icon based on the first message when the first message is received specifically includes:
under the condition of receiving a first message, acquiring the message content and/or the message type of the first message;
and generating a message icon based on the message content and/or the message type.
2. The method according to claim 1, wherein the first message is a push message of a second application, and the generating a message icon based on the first message when the first message is received specifically includes:
acquiring the priority of the second application in the applications included in the electronic equipment under the condition of receiving the first message;
generating a message icon based on the first message and the priority, wherein a display parameter of the message icon is associated with the priority.
3. The method of claim 2, wherein, prior to obtaining the priority of the second application in the applications included in the electronic device in the case of receiving the first message, the method further comprises:
acquiring an operation parameter aiming at a second message, and determining the priority of the second application in the application included in the electronic equipment according to the operation parameter;
wherein the second message is a push message of the second application.
4. The method according to claim 3, wherein the obtaining of the operation parameter for the second message and the determining of the priority of the second application in the application included in the electronic device according to the operation parameter are specifically:
acquiring first time of receiving a second message and second time of checking the second message;
determining a priority of the second application among applications included in the electronic device based on a time difference between the first time and the second time.
5. An electronic device, comprising:
the generating module is used for generating a message icon based on a first message under the condition that the first message is received;
the display module is used for displaying a target function option of the first application under the condition that the message icon is moved to a position area associated with the first application;
the execution module is used for executing a corresponding target function on the first message under the condition that a first operation aiming at the target function option is received;
the generation module is further to:
under the condition of receiving a first message, acquiring the message content and/or the message type of the first message;
and generating a message icon based on the message content and/or the message type.
6. The electronic device of claim 5, wherein the first message is a push message for a second application, and wherein the generation module is further configured to:
acquiring the priority of the second application in the applications included in the electronic equipment under the condition of receiving the first message;
generating a message icon based on the first message and the priority, wherein a display parameter of the message icon is associated with the priority.
7. The electronic device of claim 6, further comprising:
a determining module, configured to obtain an operation parameter for a second message, and determine, according to the operation parameter, a priority of the second application in applications included in the electronic device;
wherein the second message is a push message of the second application.
8. The electronic device of claim 7, wherein the determination module is further configured to:
acquiring first time of receiving a second message and second time of checking the second message;
determining a priority of the second application among applications included in the electronic device based on a time difference between the first time and the second time.
9. An electronic device, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the message processing method according to any one of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the message processing method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010103707.0A CN111258476B (en) | 2020-02-20 | 2020-02-20 | Message processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010103707.0A CN111258476B (en) | 2020-02-20 | 2020-02-20 | Message processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111258476A CN111258476A (en) | 2020-06-09 |
CN111258476B true CN111258476B (en) | 2021-07-27 |
Family
ID=70952930
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010103707.0A Active CN111258476B (en) | 2020-02-20 | 2020-02-20 | Message processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111258476B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113660506A (en) * | 2021-08-31 | 2021-11-16 | 五八同城信息技术有限公司 | Information display method and device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103853433A (en) * | 2014-04-01 | 2014-06-11 | 联想(北京)有限公司 | Notification message promoting method and device |
CN105871398A (en) * | 2016-05-31 | 2016-08-17 | 努比亚技术有限公司 | Information display method and mobile terminal |
CN108446058A (en) * | 2018-03-12 | 2018-08-24 | 维沃移动通信有限公司 | A kind of operating method and mobile terminal of mobile terminal |
CN108540645A (en) * | 2018-03-12 | 2018-09-14 | 维沃移动通信有限公司 | A kind of operating method and mobile terminal of mobile terminal |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8621386B2 (en) * | 2010-07-19 | 2013-12-31 | Verizon Patent And Licensing Inc. | File management and transfer using user interface icons associated with applications |
CN102478986B (en) * | 2010-11-30 | 2014-06-18 | 汉王科技股份有限公司 | Portable electronic equipment and information sharing method thereof |
KR102110457B1 (en) * | 2013-04-19 | 2020-05-13 | 삼성전자주식회사 | Device and method for displaying missed message in terminal |
CN105955569A (en) * | 2016-04-25 | 2016-09-21 | 乐视控股(北京)有限公司 | File sharing method and apparatus |
CN108024219A (en) * | 2017-11-30 | 2018-05-11 | 陈小初 | A kind of method and device that short message sending is quickly given to frequent contact person |
CN109343755B (en) * | 2018-09-21 | 2020-09-29 | 维沃移动通信有限公司 | File processing method and terminal equipment |
CN109491964B (en) * | 2018-11-16 | 2021-12-24 | 维沃移动通信有限公司 | File sharing method and terminal |
-
2020
- 2020-02-20 CN CN202010103707.0A patent/CN111258476B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103853433A (en) * | 2014-04-01 | 2014-06-11 | 联想(北京)有限公司 | Notification message promoting method and device |
CN105871398A (en) * | 2016-05-31 | 2016-08-17 | 努比亚技术有限公司 | Information display method and mobile terminal |
CN108446058A (en) * | 2018-03-12 | 2018-08-24 | 维沃移动通信有限公司 | A kind of operating method and mobile terminal of mobile terminal |
CN108540645A (en) * | 2018-03-12 | 2018-09-14 | 维沃移动通信有限公司 | A kind of operating method and mobile terminal of mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN111258476A (en) | 2020-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108255378B (en) | Display control method and mobile terminal | |
CN107977132B (en) | Information display method and mobile terminal | |
CN109078319B (en) | Game interface display method and terminal | |
CN109101147B (en) | Message notification display method and terminal | |
CN110109593B (en) | Screen capturing method and terminal equipment | |
CN111666009B (en) | Interface display method and electronic equipment | |
CN109525874B (en) | Screen capturing method and terminal equipment | |
CN110830363B (en) | Information sharing method and electronic equipment | |
CN109857297B (en) | Information processing method and terminal equipment | |
CN109407948B (en) | Interface display method and mobile terminal | |
CN107728923B (en) | Operation processing method and mobile terminal | |
CN108958593B (en) | Method for determining communication object and mobile terminal | |
CN110752981B (en) | Information control method and electronic equipment | |
CN109189303B (en) | Text editing method and mobile terminal | |
CN108600089B (en) | Expression image display method and terminal equipment | |
CN111163224B (en) | Voice message playing method and electronic equipment | |
CN110413363B (en) | Screenshot method and terminal equipment | |
CN109271262B (en) | Display method and terminal | |
CN111124706A (en) | Application program sharing method and electronic equipment | |
CN108093137B (en) | Dialing method and mobile terminal | |
CN108196781B (en) | Interface display method and mobile terminal | |
CN110851219A (en) | Information processing method and electronic equipment | |
CN111061404A (en) | Control method and first electronic device | |
CN108388459B (en) | Message display processing method and mobile terminal | |
CN111694497B (en) | Page combination method and electronic equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |