CN110531916A - Handle the method and electronic equipment of unread message - Google Patents

Handle the method and electronic equipment of unread message Download PDF

Info

Publication number
CN110531916A
CN110531916A CN201910779708.4A CN201910779708A CN110531916A CN 110531916 A CN110531916 A CN 110531916A CN 201910779708 A CN201910779708 A CN 201910779708A CN 110531916 A CN110531916 A CN 110531916A
Authority
CN
China
Prior art keywords
parameter
unread message
sliding
application program
electronic device
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
Application number
CN201910779708.4A
Other languages
Chinese (zh)
Inventor
陈冰玉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910779708.4A priority Critical patent/CN110531916A/en
Publication of CN110531916A publication Critical patent/CN110531916A/en
Priority to PCT/CN2020/100496 priority patent/WO2021031718A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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/04817Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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/0485Scrolling or panning

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)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of methods and electronic equipment for handling unread message, this method comprises: receiving slip event on an electronic device;Obtain the first parameter and the second parameter of slip event, wherein the first parameter is sliding trace, and the second parameter includes following at least one: sliding duration, sliding distance and sliding force;If the second parameter, which meets default unread message, handles trigger condition, according to the first parameter, the selection target application program from the application program to be processed of electronic equipment, wherein application program to be processed is the application program there are unread message;Default unread message processing operation is executed to destination application.As it can be seen that electronic device user need to only carry out simple slide on an electronic device in the embodiment of the present invention, so that it may which realization handles the unread message for having installed application program in the electronic equipment, operates fairly simple, quick, time saving.

Description

Method for processing unread message and electronic equipment
Technical Field
The present invention relates to the field of message processing technologies, and in particular, to a method for processing an unread message and an electronic device.
Background
With the development of mobile internet technology, the types of application programs are more and more, the functions are more and more abundant, and more application programs are installed in electronic equipment. Currently, for an application installed in an electronic device, if there is an unread message for the application, an unread message corner mark is displayed on an icon of the application to remind a user.
In the prior art, if unread messages of an application program are to be processed, a user needs to click an icon of the application program, enter an unread message reading interface of the application program, and process the unread messages in the interface one by one, so that the operation process is complex and the time consumption is long.
Disclosure of Invention
The embodiment of the invention provides a method for processing unread messages and electronic equipment, and aims to solve the technical problems that the unread messages are more complicated to process and time-consuming in the prior art.
To solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a method for processing an unread message, where the method includes:
receiving a swipe event on an electronic device;
acquiring a first parameter and a second parameter of the sliding event, wherein the first parameter is a sliding track, and the second parameter comprises at least one of the following parameters: sliding time length, sliding distance and sliding force;
if the second parameter meets a preset unread message processing triggering condition, selecting a target application program from application programs to be processed of the electronic equipment according to the first parameter, wherein the application program to be processed is an application program with unread messages;
and executing preset unread message processing operation on the target application program.
Optionally, as an embodiment, the method further includes:
and if the second parameter reaches a preset parameter threshold value, determining that the second parameter meets the preset unread message processing triggering condition.
Optionally, as an embodiment, the selecting, according to the first parameter, a target application from pending applications of the electronic device includes:
converting the sliding track into a target shape, and determining an application program to be processed in a coverage area of the target shape as a target application program; or,
and determining the application program to be processed, through which the sliding track passes, as a target application program.
Optionally, as an embodiment, the preset unread message processing operation includes at least one of:
the method comprises the following steps of operation for permanently clearing the unread message corner marks on the application icons, operation for temporarily hiding the unread message corner marks on the application icons and operation for uniformly replying the unread messages.
Optionally, as an embodiment, the second parameter includes a sliding force; the executing of the preset unread message processing operation on the target application program comprises:
selecting target unread message processing operation matched with the sliding force from preset unread message processing operation, wherein different sliding forces correspond to different unread message processing operations;
and executing the target unread message processing operation on the target application program.
In a second aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
a receiving unit for receiving a slide event on an electronic device;
an obtaining unit, configured to obtain a first parameter and a second parameter of the sliding event, where the first parameter is a sliding trajectory, and the second parameter includes at least one of the following: sliding time length, sliding distance and sliding force;
the selecting unit is used for selecting a target application program from the application programs to be processed of the electronic equipment according to the first parameter under the condition that the second parameter meets a preset unread message processing triggering condition, wherein the application program to be processed is an application program with unread messages;
and the processing unit is used for executing preset unread message processing operation on the target application program.
Optionally, as an embodiment, the electronic device further includes:
and the determining unit is used for determining that the second parameter meets the preset unread message processing triggering condition under the condition that the second parameter reaches a preset parameter threshold value.
Optionally, as an embodiment, the selecting unit includes:
the first determining subunit is used for converting the sliding track into a target shape and determining an application program to be processed in a coverage area of the target shape as a target application program; or,
and the second determining subunit is used for determining the application program to be processed, through which the sliding track passes, as the target application program.
Optionally, as an embodiment, the preset unread message processing operation includes at least one of:
the method comprises the following steps of operation for permanently clearing the unread message corner marks on the application icons, operation for temporarily hiding the unread message corner marks on the application icons and operation for uniformly replying the unread messages.
Optionally, as an embodiment, the second parameter includes a sliding force; the processing unit includes:
the selection subunit is used for selecting target unread message processing operation matched with the sliding force from preset unread message processing operation, wherein different sliding forces correspond to different unread message processing operations;
and the processing subunit is used for executing the target unread message processing operation on the target application program.
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 in the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the method for processing an unread message.
In a fourth aspect, an 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 the steps of the method for processing an unread message.
In the embodiment of the invention, a user of the electronic equipment can be supported to input a sliding event on an interface of the electronic equipment, the electronic equipment acquires a first parameter and a second parameter of the sliding event after receiving the sliding event, and if the second parameter meets a preset unread message processing triggering condition, a target application program is selected from application programs to be processed of the mobile terminal according to the first parameter, and a preset unread message processing operation is executed on the target application program. Compared with the prior art, in the embodiment of the invention, the electronic equipment user can process the unread message of the installed application program in the electronic equipment only by performing simple sliding operation on the electronic equipment, and the operation is simple, quick and time-saving.
Drawings
FIG. 1 is a flow diagram of a method of processing unread messages, of one embodiment of the present invention;
FIG. 2 is a diagram of an application scenario of a method of processing an unread message according to an embodiment of the present invention;
FIG. 3 is a diagram of an application scenario of a method of processing an unread message according to another embodiment of the present invention;
FIG. 4 is a diagram of an application scenario of a method of processing an unread message according to another embodiment of the present invention;
FIG. 5 is a block diagram of the structure of an electronic device of one embodiment of the invention;
fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments 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.
With the rapid development of application programs and the popularization of electronic devices, more and more application programs are installed in the electronic devices. Currently, for an application installed in an electronic device, if an unread message exists in the application, an unread message corner mark is displayed on a desktop icon of the application to remind a user of the electronic device. In the prior art, an electronic device user can process unread messages of an application program only after clicking an application program icon to enter the application program, and the operation is complex and the time consumption is long.
In order to solve the above technical problem, embodiments of the present invention provide a method for processing an unread message and an electronic device.
First, a method for processing an unread message according to an embodiment of the present invention is described below.
It should be noted that the method provided by the embodiment of the present invention is applicable to an electronic device, and in practical application, the electronic device may include: smart phones, tablet computers, smart watches, and the like, which are not limited in the embodiments of the present invention.
Fig. 1 is a flowchart of a method for processing an unread message according to an embodiment of the present invention, which may include the following steps, as shown in fig. 1: step 101, step 102, step 103 and step 104, wherein,
in step 101, a swipe event on an electronic device is received.
In the embodiment of the invention, the electronic equipment user can be supported to trigger the sliding events at two sides of the edge of the screen of the electronic equipment, the electronic equipment user can also be supported to trigger the sliding events on the virtual keys of the electronic equipment, and the electronic equipment user can also be supported to trigger the sliding events on the desktop (operation interface) of the electronic equipment.
In this embodiment of the present invention, when a user of an electronic device triggers a sliding event on two sides of a screen edge of the electronic device, the sliding event may include: the user of the electronic equipment performs the operation event of sliding upwards or downwards on two sides of the edge of the screen of the electronic equipment.
In this embodiment of the present invention, when a user of an electronic device triggers a sliding event on a virtual key of the electronic device, the sliding event may include: the user of the electronic equipment performs an operation event of sliding upwards or downwards on the virtual key of the electronic equipment.
In this embodiment of the present invention, when a user of an electronic device triggers a sliding event on a desktop (operation interface) of the electronic device, the sliding event may include: the electronic equipment user performs operation events of path sliding such as straight lines, curves or circles on the desktop of the electronic equipment.
In step 102, a first parameter and a second parameter of a sliding event are obtained, wherein the first parameter is a sliding track, and the second parameter includes at least one of the following: length of time, distance and degree of slide.
In the embodiment of the present invention, the second parameter may be a sliding duration, or may be a sliding distance, or may be a sliding force, or may be a sliding duration and a sliding distance, or may be a sliding duration and a sliding force, or may be a sliding distance and a sliding force, or may be a sliding duration, a sliding distance, and a sliding force.
In the embodiment of the present invention, corresponding thresholds may be set for different second parameters, and if the second parameter reaches the preset parameter threshold, it is determined that the second parameter meets the preset unread message processing trigger condition.
Specifically, when the second parameter is the sliding time length, if the sliding time length reaches a preset time length threshold, determining that the second parameter meets a preset unread message processing triggering condition; when the second parameter is the sliding distance, if the sliding distance reaches a preset distance threshold, determining that the second parameter meets the unread message processing triggering condition; when the second parameter is the sliding force, if the sliding force reaches a preset force threshold, determining that the second parameter meets a preset unread message processing triggering condition;
when the second parameter is the sliding time length and the sliding distance, if the sliding time length reaches a preset time length threshold value and the sliding distance reaches a preset distance threshold value, determining that the second parameter meets a preset unread message processing triggering condition; when the second parameter is the sliding time length and the sliding force, if the sliding time length reaches a preset time length threshold value and the sliding force reaches a preset force threshold value, determining that the second parameter meets a preset unread message processing triggering condition; when the second parameter is the sliding distance and the sliding force, if the sliding distance reaches a preset distance threshold and the sliding force reaches a preset force threshold, determining that the second parameter meets a preset unread message processing triggering condition;
and when the second parameter is the sliding time length, the sliding distance and the sliding force, if the sliding time length reaches a preset time length threshold value, the sliding distance reaches a preset distance threshold value and the sliding force reaches a preset force threshold value, determining that the second parameter meets a preset unread message processing triggering condition.
Therefore, in the embodiment of the present invention, corresponding thresholds may be set for different second parameters, and if the second parameter reaches the set threshold, the preset unread message processing operation is triggered, so as to avoid a misoperation.
In step 103, if the second parameter meets a preset unread message processing trigger condition, selecting a target application program from the to-be-processed application programs of the electronic device according to the first parameter, wherein the to-be-processed application program is an application program with an unread message.
In an embodiment of the present invention, the step 103 may specifically include the following steps:
and if the second parameter meets the preset unread message processing triggering condition, converting the sliding track into a target shape, and determining the application program to be processed in the coverage area of the target shape as the target application program.
In the embodiment of the invention, after the target shape is determined, the application program with the unread message in the target shape coverage area on the desktop of the electronic equipment is determined as the target application program.
For convenience of understanding, the first parameter is taken as a sliding track, the second parameter is taken as a sliding duration, and the description is described with reference to the application scenario diagram shown in fig. 2, as shown in fig. 2, the application scenario includes: electronic device 20 and electronic device user 22, a plurality of applications are displayed on desktop 21 of electronic device 20: APP1, APP2, APP3, APP4, APP5, APP6, APP7, APP8, APP9, APP10, APP11 and APP12, wherein the icons of APP1, APP3, APP5, APP7 and APP10 have unread message corner marks (i.e. there is an unread message).
When the electronic device user 22 wants to process the unread messages in APP1, APP3, and APP5, the electronic device user 22 may slide up the two sides of the screen edge of the electronic device 20 through the finger joints, triggering a slide event. The electronic device 20 obtains the sliding duration and the sliding trajectory of the sliding event, and if it is determined that the sliding duration is greater than the preset duration threshold (for example, the preset duration threshold is 2 seconds, the sliding duration is 3 seconds, and since 3 seconds are greater than 2 seconds, the sliding duration is greater than the preset duration threshold), the sliding trajectory is converted into a rectangle, a rectangular region 23 is formed, and the rectangular region 23 includes APP1, APP2, APP3, APP4, APP5, and APP 6. Since the applications in which the unread messages exist within the rectangular region 23 are APP1, APP3, and APP5, APP1, APP3, and APP5 are determined as target applications.
Therefore, in the embodiment of the invention, the user of the electronic equipment can select the target application programs in batches by sliding operation from top to bottom or from bottom to top, and the operation is simple.
In another embodiment provided by the present invention, the step 103 may specifically include the following steps:
and if the second parameter meets the preset unread message processing triggering condition, determining the application program to be processed, through which the sliding track passes, as the target application program.
In the embodiment of the invention, the sliding track can be a straight line or a curve.
For convenience of understanding, the first parameter is taken as a sliding track, and the second parameter is taken as a sliding distance, and is described with reference to the application scene diagrams shown in fig. 3 and 4.
In an application scenario, as shown in fig. 3, the application scenario includes: electronic device 30 and electronic device user 32, a plurality of applications are displayed on desktop 31 of electronic device 30: APP1, APP2, APP3, APP4, APP5, APP6, APP7, APP8, APP9, APP10, APP11 and APP12, wherein the icons of APP1, APP3, APP5, APP7 and APP10 have unread message corner marks (i.e. there is an unread message).
When the electronic device user 32 wants to process the unread messages in APP1, APP3, APP5, and APP7, the electronic device user 32 can slide on the desktop 31 of the electronic device 30 by a finger, drawing a straight line covering APP1, APP3, APP5, and APP7, and triggering a sliding event. The electronic device 30 obtains the sliding distance and the sliding track of the sliding event, and if the sliding distance is determined to be greater than the preset distance threshold, the application programs APP1, APP3, APP5 and APP7 with unread messages in the APPs 1, APP2, APP3, APP5 and APP7 through which the sliding track passes are determined as target application programs.
In another application scenario, as shown in fig. 4, the application scenario includes: electronic device 40 and electronic device user 42, a plurality of applications are displayed on desktop 41 of electronic device 40: APP1, APP2, APP3, APP4, APP5, APP6, APP7, APP8, APP9, APP10, APP11 and APP12, wherein the icons of APP1, APP3, APP5, APP7 and APP10 have unread message corner marks (i.e. there is an unread message).
When the electronic device user 42 wants to process the unread messages in APP7 and APP10, the electronic device user 42 may slide on the desktop 41 of the electronic device 40 with a finger to draw a curve covering APP7 and APP10, thereby triggering a sliding event. The electronic device 40 acquires the sliding distance and the sliding track of the sliding event, and determines the application programs APP7 and APP10 through which the sliding track passes as the target application program if the sliding distance is determined to be greater than the preset distance threshold.
Therefore, in the embodiment of the invention, the user of the electronic equipment can select the target application programs in batches by sliding the desktop of the electronic equipment in a linear or curved manner, and the operation is simple.
In step 104, a preset unread message handling operation is performed on the target application.
In the embodiment of the present invention, the preset unread message processing operation may be used to clear the unread message corner marks on the application icon, or may be used to reply to the unread message of the application, or may be used to delete the unread message of the application, and so on.
In this embodiment of the present invention, the preset unread message processing operation may include at least one of the following: the operation for permanently clearing the unread message corner marks on the application program icons, the operation for temporarily hiding the unread message corner marks on the application program icons and the operation for uniformly replying the unread messages; when the unread message corner mark is used for clearing, all unread messages in the application message page can be deleted in the background, or all unread messages in the application message page are opened, or "xxxx" and the like are uniformly replied aiming at all unread messages, for example, "good" is uniformly replied in the application message page; the operation for temporarily hiding the unread message corner marks on the application icons can be set by the user of the electronic device when the hidden unread message corner marks are revealed again.
In this embodiment of the present invention, the type of the unread message processing operation may also be selected according to the sliding strength of the sliding event, so as to meet the diversified requirements of the user, at this time, the second parameter includes the sliding strength, and the step 104 may specifically include the following steps:
selecting target unread message processing operation matched with the sliding force of the sliding event from preset unread message processing operation, wherein different sliding forces correspond to different unread message processing operations;
and executing target unread message processing operation on the target application program.
In one example, when the sliding force of the electronic device user is between level 1 and level 2 of a preset force level, the unread message corner mark of the target application program is temporarily hidden; and when the sliding force of the electronic equipment user is between level 2 and level 3 of the preset force level, permanently clearing the unread message corner mark of the target application program.
In the embodiment of the invention, in order to facilitate the electronic equipment user to control the sliding force, the sliding force of the electronic equipment user can be displayed on the screen of the electronic equipment in real time.
As can be seen from the above embodiments, in this embodiment, a user of the electronic device may be supported to input a sliding event on an interface of the electronic device, after receiving the sliding event, the electronic device obtains a first parameter and a second parameter of the sliding event, and if the second parameter meets a preset unread message processing trigger condition, a target application program is selected from the to-be-processed application programs of the mobile terminal according to the first parameter, and a preset unread message processing operation is performed on the target application program. Compared with the prior art, in the embodiment of the invention, the electronic equipment user can process the unread message of the installed application program in the electronic equipment only by performing simple sliding operation on the electronic equipment, and the operation is simple, quick and time-saving.
Fig. 5 is a block diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 5, the electronic device 500 may include: a receiving unit 501, an obtaining unit 502, a selecting unit 503 and a processing unit 504, wherein,
a receiving unit 501, configured to receive a sliding event on an electronic device;
an obtaining unit 502, configured to obtain a first parameter and a second parameter of the sliding event, where the first parameter is a sliding track, and the second parameter includes at least one of the following: sliding time length, sliding distance and sliding force;
a selecting unit 503, configured to select a target application program from the to-be-processed application programs of the electronic device according to the first parameter when the second parameter meets a preset unread message processing trigger condition, where the to-be-processed application program is an application program with an unread message;
a processing unit 504, configured to perform a preset unread message processing operation on the target application.
As can be seen from the above embodiments, in this embodiment, a user of the electronic device may be supported to input a sliding event on an interface of the electronic device, after receiving the sliding event, the electronic device obtains a first parameter and a second parameter of the sliding event, and if the second parameter meets a preset unread message processing trigger condition, a target application program is selected from the to-be-processed application programs of the mobile terminal according to the first parameter, and a preset unread message processing operation is performed on the target application program. Compared with the prior art, in the embodiment of the invention, the electronic equipment user can process the unread message of the installed application program in the electronic equipment only by performing simple sliding operation on the electronic equipment, and the operation is simple, quick and time-saving.
Optionally, as an embodiment, the electronic device 500 may further include:
and the determining unit is used for determining that the second parameter meets the preset unread message processing triggering condition under the condition that the second parameter reaches a preset parameter threshold value.
Optionally, as an embodiment, the selecting unit 503 may include:
the first determining subunit is used for converting the sliding track into a target shape and determining an application program to be processed in a coverage area of the target shape as a target application program; or,
and the second determining subunit is used for determining the application program to be processed, through which the sliding track passes, as the target application program.
Optionally, as an embodiment, the preset unread message processing operation may include at least one of:
the method comprises the following steps of operation for permanently clearing the unread message corner marks on the application icons, operation for temporarily hiding the unread message corner marks on the application icons and operation for uniformly replying the unread messages.
Optionally, as an embodiment, the second parameter includes a sliding force; the processing unit 504 may include:
the selection subunit is used for selecting target unread message processing operation matched with the sliding force from preset unread message processing operation, wherein different sliding forces correspond to different unread message processing operations;
and the processing subunit is used for executing the target unread message processing operation on the target application program.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, and as shown in fig. 6, the electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 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 610 is configured to receive a sliding event on the electronic device; acquiring a first parameter and a second parameter of the sliding event, wherein the first parameter is a sliding track, and the second parameter comprises at least one of the following parameters: sliding time length, sliding distance and sliding force; if the second parameter meets a preset unread message processing triggering condition, selecting a target application program from application programs to be processed of the electronic equipment according to the first parameter, wherein the application program to be processed is an application program with unread messages; and executing preset unread message processing operation on the target application program.
In the embodiment of the invention, a user of the electronic equipment can be supported to input a sliding event on an interface of the electronic equipment, the electronic equipment acquires a first parameter and a second parameter of the sliding event after receiving the sliding event, and if the second parameter meets a preset unread message processing triggering condition, a target application program is selected from application programs to be processed of the mobile terminal according to the first parameter, and a preset unread message processing operation is executed on the target application program. Compared with the prior art, in the embodiment of the invention, the electronic equipment user can process the unread message of the installed application program in the electronic equipment only by performing simple sliding operation on the electronic equipment, and the operation is simple, quick and time-saving.
Optionally, as an embodiment, the method further includes:
and if the second parameter reaches a preset parameter threshold value, determining that the second parameter meets the preset unread message processing triggering condition.
Optionally, as an embodiment, the selecting, according to the first parameter, a target application from pending applications of the electronic device includes:
converting the sliding track into a target shape, and determining an application program to be processed in a coverage area of the target shape as a target application program; or,
and determining the application program to be processed, through which the sliding track passes, as a target application program.
Optionally, as an embodiment, the preset unread message processing operation includes at least one of:
the method comprises the following steps of operation for permanently clearing the unread message corner marks on the application icons, operation for temporarily hiding the unread message corner marks on the application icons and operation for uniformly replying the unread messages.
Optionally, as an embodiment, the second parameter includes a sliding force; the executing of the preset unread message processing operation on the target application program comprises:
selecting target unread message processing operation matched with the sliding force from preset unread message processing operation, wherein different sliding forces correspond to different unread message processing operations;
and executing the target unread message processing operation on the target application program.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 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 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 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. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 602, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic apparatus 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image may be displayed on the display unit 606. The image processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound 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 601 in case of the phone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the electronic apparatus 600 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 605 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 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 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. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, 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 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 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 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, and this is not limited here.
The interface unit 608 is an interface for connecting an external device to the electronic apparatus 600. 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 608 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 device 600 or may be used to transmit data between the electronic device 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program 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 609 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 610 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, thereby performing overall monitoring of the electronic device. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, 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 the processor 610.
The electronic device 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 may be logically connected to the processor 610 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program, when executed by the processor 610, implements each process of the above method for processing an unread message, 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 being executed by a processor, the computer program implements each process of the above method for processing an unread message, and can achieve the same technical effect, and is not described herein again to avoid repetition. 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 the present specification, 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.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (11)

1. A method of processing unread messages, the method comprising:
receiving a swipe event on an electronic device;
acquiring a first parameter and a second parameter of the sliding event, wherein the first parameter is a sliding track, and the second parameter comprises at least one of the following parameters: sliding time length, sliding distance and sliding force;
if the second parameter meets a preset unread message processing triggering condition, selecting a target application program from application programs to be processed of the electronic equipment according to the first parameter, wherein the application program to be processed is an application program with unread messages;
and executing preset unread message processing operation on the target application program.
2. The method of claim 1, further comprising:
and if the second parameter reaches a preset parameter threshold value, determining that the second parameter meets the preset unread message processing triggering condition.
3. The method of claim 1, wherein selecting a target application from pending applications of the electronic device according to the first parameter comprises:
converting the sliding track into a target shape, and determining an application program to be processed in a coverage area of the target shape as a target application program; or,
and determining the application program to be processed, through which the sliding track passes, as a target application program.
4. The method of claim 1, wherein the predetermined unread message handling operations comprises at least one of:
the method comprises the following steps of operation for permanently clearing the unread message corner marks on the application icons, operation for temporarily hiding the unread message corner marks on the application icons and operation for uniformly replying the unread messages.
5. The method of claim 4, wherein the second parameter comprises a degree of sliding; the executing of the preset unread message processing operation on the target application program comprises:
selecting target unread message processing operation matched with the sliding force from preset unread message processing operation, wherein different sliding forces correspond to different unread message processing operations;
and executing the target unread message processing operation on the target application program.
6. An electronic device, characterized in that the electronic device comprises:
a receiving unit for receiving a slide event on an electronic device;
an obtaining unit, configured to obtain a first parameter and a second parameter of the sliding event, where the first parameter is a sliding trajectory, and the second parameter includes at least one of the following: sliding time length, sliding distance and sliding force;
the selecting unit is used for selecting a target application program from the application programs to be processed of the electronic equipment according to the first parameter under the condition that the second parameter meets a preset unread message processing triggering condition, wherein the application program to be processed is an application program with unread messages;
and the processing unit is used for executing preset unread message processing operation on the target application program.
7. The electronic device of claim 6, further comprising:
and the determining unit is used for determining that the second parameter meets the preset unread message processing triggering condition under the condition that the second parameter reaches a preset parameter threshold value.
8. The electronic device according to claim 6, wherein the selection unit includes:
the first determining subunit is used for converting the sliding track into a target shape and determining an application program to be processed in a coverage area of the target shape as a target application program; or,
and the second determining subunit is used for determining the application program to be processed, through which the sliding track passes, as the target application program.
9. The electronic device of claim 6, wherein the predetermined unread message processing operations comprise at least one of:
the method comprises the following steps of operation for permanently clearing the unread message corner marks on the application icons, operation for temporarily hiding the unread message corner marks on the application icons and operation for uniformly replying the unread messages.
10. The electronic device of claim 9, wherein the second parameter comprises a sliding force; the processing unit includes:
the selection subunit is used for selecting target unread message processing operation matched with the sliding force from preset unread message processing operation, wherein different sliding forces correspond to different unread message processing operations;
and the processing subunit is used for executing the target unread message processing operation on the target application program.
11. 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 method of processing unread messages, according to any of the claims 1 to 5.
CN201910779708.4A 2019-08-22 2019-08-22 Handle the method and electronic equipment of unread message Pending CN110531916A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910779708.4A CN110531916A (en) 2019-08-22 2019-08-22 Handle the method and electronic equipment of unread message
PCT/CN2020/100496 WO2021031718A1 (en) 2019-08-22 2020-07-06 Method for processing unread messages and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910779708.4A CN110531916A (en) 2019-08-22 2019-08-22 Handle the method and electronic equipment of unread message

Publications (1)

Publication Number Publication Date
CN110531916A true CN110531916A (en) 2019-12-03

Family

ID=68662565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910779708.4A Pending CN110531916A (en) 2019-08-22 2019-08-22 Handle the method and electronic equipment of unread message

Country Status (2)

Country Link
CN (1) CN110531916A (en)
WO (1) WO2021031718A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021031718A1 (en) * 2019-08-22 2021-02-25 维沃移动通信有限公司 Method for processing unread messages and electronic device
CN113126868A (en) * 2021-03-24 2021-07-16 维沃移动通信有限公司 Unread message identifier clearing method and device and electronic equipment

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123093A (en) * 2014-06-24 2014-10-29 小米科技有限责任公司 Information processing method and device
CN104331216A (en) * 2014-10-20 2015-02-04 天津三星通信技术研究有限公司 Method and equipment for managing application notifications in intelligent terminal
CN104657147A (en) * 2015-03-09 2015-05-27 联想(北京)有限公司 Information processing method and information processing device
CN104834520A (en) * 2015-04-17 2015-08-12 惠州Tcl移动通信有限公司 Application starting method of intelligent terminal and intelligent terminal
CN104915119A (en) * 2015-06-24 2015-09-16 努比亚技术有限公司 Regulation method and device of terminal desktop icon
CN105302373A (en) * 2015-11-09 2016-02-03 深圳市汇顶科技股份有限公司 Method and system for achieving operation of mobile terminal according to touch signals and mobile terminal
CN105487779A (en) * 2015-12-28 2016-04-13 宇龙计算机通信科技(深圳)有限公司 Application starting method and device and terminal
CN105549813A (en) * 2015-11-30 2016-05-04 东莞酷派软件技术有限公司 Mobile terminal control method and mobile terminal
CN106293480A (en) * 2016-08-23 2017-01-04 北京小米移动软件有限公司 Operation performs method and device
CN107122119A (en) * 2017-05-25 2017-09-01 网易(杭州)网络有限公司 Information processing method, device, electronic equipment and computer-readable recording medium
CN107181865A (en) * 2017-05-25 2017-09-19 努比亚技术有限公司 Processing method, terminal and the computer-readable recording medium of unread short messages
CN107623787A (en) * 2017-09-19 2018-01-23 维沃移动通信有限公司 A kind of footmark information processing method and terminal
CN109600297A (en) * 2018-11-12 2019-04-09 维沃移动通信有限公司 A kind of mark sweep-out method and terminal device
CN109725816A (en) * 2018-12-14 2019-05-07 Oppo广东移动通信有限公司 A kind of footmark sweep-out method and terminal, storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970774B (en) * 2013-01-30 2015-09-09 腾讯科技(深圳)有限公司 Notification icon method for cleaning and device
CN105446648A (en) * 2015-12-31 2016-03-30 宇龙计算机通信科技(深圳)有限公司 Processing method and apparatus for desktop notification message
CN106210297A (en) * 2016-06-30 2016-12-07 维沃移动通信有限公司 A kind of message treatment method and mobile terminal
CN108664183A (en) * 2018-04-26 2018-10-16 珠海格力电器股份有限公司 Processing method and device applying corner mark
CN110052022A (en) * 2019-04-22 2019-07-26 网易(杭州)网络有限公司 Processing method, processing unit, storage medium and the processor of message
CN110531916A (en) * 2019-08-22 2019-12-03 维沃移动通信有限公司 Handle the method and electronic equipment of unread message

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123093A (en) * 2014-06-24 2014-10-29 小米科技有限责任公司 Information processing method and device
CN104331216A (en) * 2014-10-20 2015-02-04 天津三星通信技术研究有限公司 Method and equipment for managing application notifications in intelligent terminal
CN104657147A (en) * 2015-03-09 2015-05-27 联想(北京)有限公司 Information processing method and information processing device
CN104834520A (en) * 2015-04-17 2015-08-12 惠州Tcl移动通信有限公司 Application starting method of intelligent terminal and intelligent terminal
CN104915119A (en) * 2015-06-24 2015-09-16 努比亚技术有限公司 Regulation method and device of terminal desktop icon
CN105302373A (en) * 2015-11-09 2016-02-03 深圳市汇顶科技股份有限公司 Method and system for achieving operation of mobile terminal according to touch signals and mobile terminal
CN105549813A (en) * 2015-11-30 2016-05-04 东莞酷派软件技术有限公司 Mobile terminal control method and mobile terminal
CN105487779A (en) * 2015-12-28 2016-04-13 宇龙计算机通信科技(深圳)有限公司 Application starting method and device and terminal
CN106293480A (en) * 2016-08-23 2017-01-04 北京小米移动软件有限公司 Operation performs method and device
CN107122119A (en) * 2017-05-25 2017-09-01 网易(杭州)网络有限公司 Information processing method, device, electronic equipment and computer-readable recording medium
CN107181865A (en) * 2017-05-25 2017-09-19 努比亚技术有限公司 Processing method, terminal and the computer-readable recording medium of unread short messages
CN107623787A (en) * 2017-09-19 2018-01-23 维沃移动通信有限公司 A kind of footmark information processing method and terminal
CN109600297A (en) * 2018-11-12 2019-04-09 维沃移动通信有限公司 A kind of mark sweep-out method and terminal device
CN109725816A (en) * 2018-12-14 2019-05-07 Oppo广东移动通信有限公司 A kind of footmark sweep-out method and terminal, storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021031718A1 (en) * 2019-08-22 2021-02-25 维沃移动通信有限公司 Method for processing unread messages and electronic device
CN113126868A (en) * 2021-03-24 2021-07-16 维沃移动通信有限公司 Unread message identifier clearing method and device and electronic equipment
WO2022199540A1 (en) * 2021-03-24 2022-09-29 维沃移动通信有限公司 Unread message identifier clearing method and apparatus, and electronic device

Also Published As

Publication number Publication date
WO2021031718A1 (en) 2021-02-25

Similar Documents

Publication Publication Date Title
CN108255378B (en) Display control method and mobile terminal
CN107835321B (en) Incoming call processing method and mobile terminal
CN108459797B (en) Control method of folding screen and mobile terminal
CN108491133B (en) Application program control method and terminal
CN107977132B (en) Information display method and mobile terminal
CN110995923A (en) Screen projection control method and electronic equipment
CN109078319B (en) Game interface display method and terminal
CN110830363B (en) Information sharing method and electronic equipment
CN109508136B (en) Display method of application program and mobile terminal
CN108345425B (en) Application management method and mobile terminal
CN107728923B (en) Operation processing method and mobile terminal
CN109407948B (en) Interface display method and mobile terminal
CN111163224B (en) Voice message playing method and electronic equipment
CN109408072B (en) Application program deleting method and terminal equipment
CN108287655A (en) A kind of interface display method, interface display apparatus and mobile terminal
CN108132749B (en) Image editing method and mobile terminal
CN107783747B (en) Interface display processing method and mobile terminal
CN110096203B (en) Screenshot method and mobile terminal
CN111124223A (en) Application interface switching method and electronic equipment
CN108509131B (en) Application program starting method and terminal
CN108073405B (en) Application program unloading method and mobile terminal
CN111610903A (en) Information display method and electronic equipment
WO2021031718A1 (en) Method for processing unread messages and electronic device
CN110647506B (en) Picture deleting method and terminal equipment
CN110213437B (en) Editing method and mobile terminal

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