CN108182024B - Unread message processing method and device - Google Patents

Unread message processing method and device Download PDF

Info

Publication number
CN108182024B
CN108182024B CN201711440909.9A CN201711440909A CN108182024B CN 108182024 B CN108182024 B CN 108182024B CN 201711440909 A CN201711440909 A CN 201711440909A CN 108182024 B CN108182024 B CN 108182024B
Authority
CN
China
Prior art keywords
application program
elimination
unread
key
instruction
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
Application number
CN201711440909.9A
Other languages
Chinese (zh)
Other versions
CN108182024A (en
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.)
Shanghai Chuanying Information Technology Co Ltd
Original Assignee
Shanghai Chuanying Information Technology 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 Shanghai Chuanying Information Technology Co Ltd filed Critical Shanghai Chuanying Information Technology Co Ltd
Priority to CN201711440909.9A priority Critical patent/CN108182024B/en
Publication of CN108182024A publication Critical patent/CN108182024A/en
Application granted granted Critical
Publication of CN108182024B publication Critical patent/CN108182024B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/0482Interaction with lists of selectable items, e.g. menus
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method and a device for processing unread messages, wherein the method comprises the following steps: obtaining an unread message processing instruction, wherein the unread message processing instruction is used for indicating that unread marks of all unread messages in at least one application program are eliminated; judging whether each application program is provided with a one-key elimination function or not according to the unread message processing instruction; if a first application program in the application programs has a one-key elimination function, sending a first elimination instruction to the first application program, wherein the first elimination instruction is used for indicating the first application program to eliminate unread marks of all unread messages in the first application program; and if the one-key elimination function is not set in a second application program in the application programs, sending a second elimination instruction to the elimination toolkit, wherein the second elimination instruction is used for indicating the elimination toolkit to eliminate the unread marks of all the unread messages in the second application program. The invention performs one-key processing on the unread message reminding identifier on the application program through the one-key elimination function, thereby improving the user experience.

Description

Unread message processing method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for processing an unread message.
Background
With the popularization of intelligent terminals and the intelligent development of application programs, the types of application programs installed on the terminals are more and more. If the application program on the terminal has the unread message, the user is reminded through the message reminding identifier on the operation interface of the terminal, for example: if unread messages exist in the WeChat, bubble marks appear on the upper right corner of the WeChat application program icon on the operation interface of the terminal, and the number of the unread messages is displayed in the bubbles.
In the prior art, a user needs to click to enter an application program for eliminating an unread message reminding identifier on an application program icon, and for the application program with a one-key unread message reminding identifier eliminating function, the user needs to find the position of the one-key eliminating function and click the one-key eliminating identifier; for an application program which is not provided with a function of eliminating the unread message reminding identification by one key, a user needs to check a message list, enter an unread message reading interface for checking, then return to the message list, and after checking all unread messages, the unread message reminding identification of the application program on a terminal operation interface disappears.
In the prior art, the unread message processing mode is complex to operate, a large amount of time is wasted in cleaning the unread message in the application program, and the user experience is poor.
Disclosure of Invention
The invention provides a method and a device for processing unread messages, which are used for performing one-key processing on an unread message reminding identifier in an application program on a terminal operation interface through a one-key elimination function, so that the time for processing the unread messages by a user is reduced, and the user experience is improved.
A first aspect of the present invention provides a method for processing an unread message, including: obtaining an unread message processing instruction, wherein the unread message processing instruction is used for indicating that unread marks of all unread messages in at least one application program are eliminated;
judging whether each application program is provided with a one-key elimination function or not according to the unread message processing instruction;
if a first application program in the at least one application program has a one-key elimination function, sending a first elimination instruction to the first application program, wherein the first elimination instruction is used for indicating the first application program to eliminate unread marks of all unread messages in the first application program;
if the one-key elimination function is not set in a second application program of the at least one application program, sending a second elimination instruction to the elimination toolkit, wherein the second elimination instruction is used for indicating the elimination toolkit to eliminate the unread marks of all the unread messages in the second application program.
A second aspect of the present invention provides an apparatus for processing an unread message, the apparatus comprising:
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring an unread message processing instruction which is used for indicating that unread marks of all unread messages in at least one application program are eliminated;
the judging module is used for judging whether each application program is provided with a one-key elimination function or not according to the unread message processing instruction;
a first sending module, configured to send a first cancellation instruction to a first application program when a first application program of the at least one application program has set a one-key cancellation function, where the first cancellation instruction is used to instruct the first application program to cancel unread marks of all unread messages in the first application program;
a second sending module, configured to send a second elimination instruction to the elimination toolkit when a second application program of the at least one application program does not set a one-key elimination function, where the second elimination instruction is used to instruct the elimination toolkit to eliminate unread tags of all unread messages in the second application program.
A third aspect of the present invention provides a terminal device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executes the computer-executable instructions stored in the memory, so that the terminal device executes the method for processing the unread message.
A fourth aspect of the present invention provides a computer-readable storage medium having stored thereon computer-executable instructions, which, when executed by a processor, implement the above-mentioned method of unread message processing.
The invention provides a method and a device for processing unread messages, which are used for acquiring an unread message processing instruction, wherein the unread message processing instruction is used for indicating to eliminate unread marks of all unread messages in at least one application program; judging whether the application program is provided with a function of eliminating the unread message icon by one key, and sending a first elimination instruction to the first application program for the first application program with the one key elimination function, wherein the first elimination instruction is used for indicating the first application program to eliminate the unread marks of all the unread messages in the first application program; and for a second application program which is not configured with the one-key elimination function, sending a second elimination instruction to the elimination tool package, wherein the second elimination instruction is used for instructing the elimination tool package to eliminate the unread marks of all the unread messages in the second application program. According to the invention, the unread messages in the first application program with the one-key elimination function and the second application program without the one-key elimination function are subjected to one-key processing, so that the time for processing the unread messages by a user is reduced, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a first flowchart illustrating a method for processing an unread message according to the present invention;
FIG. 2A is a first flowchart illustrating a process of obtaining an unread message according to the present invention;
FIG. 2B is a first schematic view of a user interface corresponding to FIG. 2A;
FIG. 3A is a schematic flow chart of a process instruction for obtaining an unread message according to the present invention;
FIG. 3B is a second schematic view of the user interface corresponding to FIG. 3A;
FIG. 4 is a third schematic view of a user interface provided by the present invention;
FIG. 5 is a flowchart illustrating a second method for processing an unread message according to the present invention;
FIG. 6 is a schematic structural diagram of an apparatus for processing unread messages according to the present invention;
fig. 7 is a schematic diagram of a terminal device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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, but 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.
The terms of the present invention are explained:
a terminal: the mobile terminal can be a mobile terminal, and the fixed terminal can also be a fixed terminal. The mobile terminal includes, but is not limited to, a mobile device having an operating display screen and application software installed therein, such as a mobile phone, a Personal Digital Assistant (PDA), a tablet computer, a portable device (e.g., a laptop computer, a pocket computer, or a handheld computer). Fixed terminals include, but are not limited to, door entry, smart phone, console, etc. fixed devices having installed application software and having an operating display. The present invention is not limited to the form of the terminal.
Unread flag of application unread message: and displaying icons of all the application programs on the terminal operation interface, if unread messages exist in the application programs, displaying unread message bubbles at the upper right corner of the icons of the application programs, displaying the number of the unread messages in the bubbles, and when the number of the unread messages is greater than the preset number, representing by using three continuous points.
One-key elimination function: the application program is provided with a one-key elimination function and a one-key elimination icon, and the user can eliminate the unread message reminding identifier of the application program by clicking the one-key elimination icon.
Fig. 1 is a first schematic flow chart of a method for processing an unread message according to the present invention, where an execution subject of the method flow shown in fig. 1 may be a separately configured unread message processing device or a terminal. In the following embodiment, the detailed description of the method is performed by taking a terminal as an example, and as shown in fig. 1, the unread message processing method provided by this embodiment includes:
s101, an unread message processing instruction is obtained, wherein the unread message processing instruction is used for indicating that unread marks of all unread messages in at least one application program are eliminated.
The operation interface of the terminal displays various application program icons, and the terminal has instant communication application programs, such as: QQ, WeChat, etc.; shopping applications, such as: taobao, Mei Tuo, etc. Various information sent by a contact person or an application program system is generally available in various application programs, if a user cannot read the information in time, an unread message reminding mark can be displayed on the upper right corner of an icon of the application program on an operation interface of the terminal, and the manner for processing the unread message by the user in the prior art is complex and tedious.
In the method for processing an unread message provided by this embodiment, the terminal may obtain an unread message processing instruction, where the unread message processing instruction is used to instruct to remove unread marks of all unread messages in at least one application program. When a user needs to process the unread message reminding identification on the application program, the terminal can acquire an unread message processing instruction by clicking an unread message processing icon displayed on a terminal operation interface; the terminal can also be preset to perform unread message processing reminding, such as: the terminal can be set to process and remind the unread messages of the user every preset number of days, and can also be set to remind the user when the unread messages of each application program reach the preset number; specifically, the unread message processing reminder can be displayed on an operation interface of the terminal, and the user operates the reminder display to enable the terminal to obtain the unread message processing instruction.
S102, obtaining the unread message processing instruction, and judging whether each application program has set a one-key elimination function.
After the terminal acquires the unread message processing instruction, whether a one-key elimination function is set in each application program is judged according to the instruction. The specific method for judging whether each application program has the one-key elimination function can be that the terminal detects icons contained in each application program, judges whether each application program has the one-key elimination icon, and judges that the application program has the one-key elimination function if the application program contains the one-key elimination icon; or, a list may be preset in the terminal, where the list includes icons of commonly used application programs, versions of the application programs, and function information corresponding to the application programs, and the function information is a set of functions of each application program, such as: may include instant messaging functionality, one-key-wipe functionality, video functionality, and the like. The terminal judges whether each application program installed on the terminal has set a one-key elimination function or not through the list; the terminal may also mark the application program with the one-key elimination function in advance, for example, the application program with the one-key elimination function has a large icon display on an operation interface of the terminal, or may set other marks different from the application program without the one-key elimination function, and the terminal may determine whether each application program has the one-key elimination function through the marks.
S103, if the first application program in the at least one application program has the one-key elimination function, sending a first elimination instruction to the first application program, wherein the first elimination instruction is used for indicating the first application program to eliminate the unread marks of all the unread messages in the first application program.
And the terminal judges that a first application program in the application programs has set a one-key elimination function, and sends a first elimination instruction to the first application program, wherein the first application program can be one or more. And the first application program eliminates the unread marks of all the unread messages in the first application program by utilizing the one-key elimination function of the first application program according to the first elimination instruction. After the first application program eliminates all the unread messages in the first application program, an elimination result can be sent to the terminal, and the elimination result can comprise the identification of the first application program and the number of the eliminated unread messages. The identifier of the first application may be a name, an icon, or the like of the first application, and the identifier of the first application is used for distinguishing each application in the first application.
And S104, if the one-key elimination function is not set in the second application program in the at least one application program, sending a second elimination instruction to the elimination toolkit, wherein the second elimination instruction is used for indicating the elimination toolkit to eliminate the unread marks of all the unread messages in the second application program.
And the terminal judges that a second application program in the application programs does not set the one-key elimination function, and then sends a second elimination instruction to an elimination tool package configured by the terminal, wherein the number of the second application programs can be one or more. And after receiving the second elimination instruction, the elimination toolkit eliminates the unread marks of all the unread messages in the second application program. After the cancellation toolkit cancels all the unread messages in the second application, a cancellation result may be sent to the terminal, which may include the identification of the second application and the number of pieces of the unread messages to cancel. The identifier of the second application program may be set in the same manner as the identifier of the first application program, and is not described herein again.
In the method for processing an unread message according to this embodiment, by determining whether the application program has configured a function of removing an icon of the unread message by one key, a first removal instruction is sent to the first application program for the first application program configured with the function of removing by one key, where the first removal instruction is used to instruct the first application program to remove unread marks of all unread messages in the first application program; and for a second application program which is not configured with the one-key elimination function, sending a second elimination instruction to the elimination tool package, wherein the second elimination instruction is used for instructing the elimination tool package to eliminate the unread marks of all the unread messages in the second application program. According to the embodiment, the unread messages in the first application program with the one-key elimination function and the second application program without the one-key elimination function are subjected to one-key processing, so that the time for processing the unread messages by a user is shortened, and the user experience is improved.
A process of acquiring an unread message processing instruction by a terminal is described in detail below with reference to fig. 2A to 4, where fig. 2A is a first schematic flow diagram of acquiring an unread message processing instruction provided by the present invention, and fig. 2B is a first schematic diagram of a user interface corresponding to fig. 2A; fig. 3A is a schematic view of a process flow of obtaining an unread message processing instruction according to the present invention, and fig. 3B is a schematic view of a user interface corresponding to fig. 3A; fig. 4 is a schematic diagram of a third user interface provided by the present invention.
As shown in fig. 2A-2B, the method for obtaining the unread message processing instruction according to this embodiment may include:
s201, displaying an application program list to a user, wherein the application program list displays the identifications of all application programs and selection items corresponding to the application programs.
The method comprises the steps that a list of all application programs installed on a terminal can be displayed to a user on an operation interface of the terminal, identifiers of all application programs and selection items corresponding to all application programs are displayed in the application program list, and the identifiers of the application programs can be application program names, icons or other identifiers which can be distinguished from other application programs; the selection items of each application program can be graphic representations such as circles, squares or triangles; the selection items of the application programs may be placed in the same row as the icons of the application programs, may be placed on the right side of the application programs, or may be placed above or below the application programs. Fig. 2B is a schematic diagram of a user interface performed by taking an icon of an application as an example, and placing the square-shaped selection item corresponding to the application on the right side of the application.
S202, according to the selection operation of the user on the selection item of at least one application program, an unread message processing instruction is obtained.
The user can select one or more application programs needing one-key elimination, one or more application programs can be selected, a selection item corresponding to the application program is clicked, after the selection item is selected, marks such as number matching or shadow appear in the selection item to indicate that the application program corresponding to the selection item needs one-key elimination of the unread message reminding mark, after the user completes the selection of the selection item of the application program needing one-key elimination, a 'confirmation' mark is further displayed on an operation interface of the terminal, the user clicks the confirmation mark, the terminal obtains an unread message processing instruction according to the selection operation of the user on the selection item of at least one application program, and then the unread message processing method in the embodiment is used for carrying out one-key elimination on the selected application program. In the embodiment, the user can freely select the application program for one-key processing, so that the user experience is improved.
As shown in fig. 3A-3B, the method for obtaining the unread message processing instruction according to this embodiment may further include:
and S301, displaying a one-key removal icon to the user, wherein the one-key removal icon is used for removing the unread marks of all unread messages of all application programs.
The one-key eliminating icon can be displayed to a user on the operation interface of the terminal, the one-key eliminating icon can be arranged at any position of the operation interface of the terminal, and words such as 'one-key processing' and the like are displayed on the icon, so that the icon is convenient to distinguish from icons of other application programs. The one-key removal icon may be in any shape such as a circle or a square, and the position, the arrangement shape, and the size of the one-key removal icon are not particularly limited in this embodiment. Fig. 3B is a schematic diagram of a user interface in which the one-key-removal icon is located at a lower center position of the terminal operation interface and the icon is performed in a circle.
S302, according to the operation of the user on the one-key eliminating icon, an unread message processing instruction is obtained.
And clicking the one-key eliminating icon by the user, operating the one-key eliminating icon by the user to acquire an unread message processing instruction, and further performing the one-key eliminating operation on the application program installed on the terminal by using the unread message processing method in the embodiment. The operation that clicking is wanted to be performed on the selection of the application program is avoided, and the time for processing the unread message by the user is saved.
As can be appreciated by those skilled in the art, in conjunction with the embodiments in fig. 2A-3B, the application list and the one-key removal icon are displayed to the user on the terminal operation interface at the same time, as shown in fig. 4, different users may operate according to their own preferences or habits, thereby improving user experience.
The foregoing embodiment describes a method for processing an unread message of an application installed on a terminal, but in an actual application process, a user may install a new application on the terminal, fig. 5 is a flowchart illustrating a method for processing an unread message according to the present invention, and the following method is also applicable to the above method, as shown in fig. 5, where the method for processing an unread message in an application newly installed on a terminal is described in detail below with reference to fig. 5, and the method for processing an unread message may specifically include:
s401, acquiring a third application program with a one-key elimination function set in a preset time period before the current time point.
The current time point is the time when the user performs one-key elimination operation, and the preset time period before the current time point can be preset by the user or can be set by the terminal in a user-defined manner; the terminal acquires a third application program with a one-key elimination function in a preset time period before the current time point, the third application program is a new application program installed on the terminal by a user in the preset time period before the current time point, and the terminal acquires the third application program and comprises the name, the icon, the function information and the like of the third application program.
S402, determining whether the third application is in the elimination setting list.
The terminal may be preset with an elimination list, where the elimination list stores identifiers of common application programs configured with a one-key elimination function, and the identifiers of the application programs are the same as the setting manner in the above embodiment, and are not described herein again. The terminal acquires information such as the name, the icon and the function information of the third application program, and judges whether the third application program is in the elimination setting list according to the identifier of the third application program.
S403, if yes, the operation is terminated.
S404, if not, the identifier of the third application program is added to the elimination setting list.
After a user operates a selection item or a one-key elimination icon of an application program which needs to be subjected to one-key elimination operation, the terminal can acquire an unread message processing instruction, and the unread message processing instruction also carries an identifier of at least one application program. The terminal judges whether each application program has set a one-key elimination function according to the identifier of the application program in the unread message processing instruction, and the specific mode can be as follows:
s405, a cancellation setting list is obtained, and the cancellation setting list stores the identification of the application program configured with the one-key cancellation function.
The terminal may be preset with an elimination list, where the elimination list stores identifiers of common application programs configured with a one-key elimination function, and the identifiers of the application programs are the same as the setting manner in the above embodiment, and are not described herein again.
S406, it is determined whether the identifier of each application is in the erasure setting list.
And the terminal compares the identifier of each application program with the identifier of the application program with the set one-key elimination function stored in the elimination setting list to judge whether the third application program is in the elimination setting list or not.
S407, if yes, determining the application program to be the first application program with the one-key elimination function.
S408, if not, determining that the application program is a second application program without the one-key elimination function. Those skilled in the art may think that the above steps are not performed for an application program that is newly installed within a preset time period before the current time point and is not configured with a one-key elimination function, and those skilled in the art may think that for the newly installed application program, it is necessary to determine whether the newly installed application program is configured with a one-key elimination function, and the determination method may be as shown in the above embodiments, and is not described herein again.
And judging the application program selected by the user to perform one-key elimination operation or all the application programs installed on the terminal at the terminal according to the elimination setting list, and dividing the application program required to perform one-key elimination operation into a first application program and a second application program.
And for the first application program, the terminal sends a first elimination instruction to the first application program, the first application program eliminates the unread marks of all unread messages in the first application program according to the first elimination instruction, the first application program sends an elimination processing result to the terminal after the unread marks of all unread messages are processed, the elimination processing result comprises the identification of the processed first application program and the number of the processed unread messages in the first application program, and the elimination processing result can be displayed on an operation interface of the terminal.
For the second application program, the terminal outputs a one-key cancellation function authorization request for allowing the cancellation kit to process the unread marks of all unread messages in the second application program because the one-key cancellation function is not configured in the second application program. Specifically, an authorization option may be displayed to the user on the terminal operation interface to remind the user whether to allow the elimination toolkit to process the unread messages in the second application, and the terminal performs an action of processing or not processing the unread message tags in the second application according to the operation of the user on the authorization option.
When the user determines the authorization, the terminal obtains an authorization response input by the user, wherein the authorization response is used for indicating that the unread marks of all the unread messages in the second application program are allowed to be processed through the elimination tool kit. And after the terminal obtains the user authorization, sending a second elimination instruction to the elimination tool package, and eliminating the unread marks of all the unread messages in the second application program by the elimination tool package according to the second elimination instruction. Specifically, after the elimination toolkit eliminates the unread marks of the unread messages in the second application program, an elimination processing result is sent to the terminal, the elimination processing result includes the identifier of the processed second application program and the number of the unread messages processed in the second application program, and the elimination processing result can be displayed on the operation interface of the terminal.
In this embodiment, the application program installed on the terminal in the preset time period before the current time point is determined, and the identifier of the third application program configured with the one-key cancellation function is added to the cancellation setting list, so that when the user performs the one-key cancellation operation after the current time point, the terminal determines the application program according to the updated cancellation setting list, and the accuracy of the determination result is enhanced. And before the application program which is not configured with the one-key elimination function utilizes the elimination toolkit of the terminal, authorization operation is carried out, so that the safety of one-key elimination operation is ensured, and the user experience is improved.
Fig. 6 is a schematic structural diagram of an unread message processing apparatus according to the present invention, where the unread message processing apparatus is configured to execute the method for processing an unread message provided in the foregoing embodiment, and as shown in fig. 6, the unread message processing apparatus 50 includes: the device comprises an acquisition module 51, a judgment module 52, a first sending module 53 and a second sending module 54.
The obtaining module 51 is configured to obtain an unread message processing instruction, where the unread message processing instruction is used to indicate that an unread flag of all unread messages in at least one application is removed.
The determining module 52 is configured to determine whether the one-key erasing function has been set in each application according to the unread message processing instruction.
The first sending module 53 is configured to send a first cancellation instruction to the first application program when the first application program in the at least one application program has set the one-key cancellation function, where the first cancellation instruction is used to instruct the first application program to cancel the unread marks of all the unread messages in the first application program.
A second sending module 54, configured to send a second elimination instruction to the elimination toolkit when the one-key elimination function is not set by a second application program of the at least one application program, where the second elimination instruction is used to instruct the elimination toolkit to eliminate the unread flags of all the unread messages in the second application program.
The apparatus for processing an unread message according to the embodiment shown in fig. 6 can be correspondingly used to execute the steps of the method for processing an unread message according to the above-mentioned embodiment shown in fig. 1, and the implementation principle and the technical effect are similar, which are not described herein again.
On the basis of the above embodiment, the device 50 for processing unread messages further includes: and a display module 55.
The display module 55 is configured to display an application list to the user, where the application list displays identifiers of all applications and options corresponding to the applications.
The obtaining module 51 is specifically configured to obtain the unread message processing instruction according to a selection operation of a user on a selection item of at least one application program.
Specifically, the display module 55 is further configured to display a one-touch remove icon to the user, where the one-touch remove icon is used to remove the unread marks of all the unread messages of all the applications.
The obtaining module 51 is specifically configured to obtain the unread message processing instruction according to the operation of the user on the one-key removal icon.
The terminal can be preset with a cancellation setting list, and the cancellation setting list stores the identification of the application program configured with the one-key cancellation function. The obtaining module 51 is further specifically configured to obtain a third application program for which the one-key elimination function has been set in a preset time period before the current time point.
The determining module 52 is specifically configured to determine whether the third application program list is in the elimination setting list; and if not, adding the identifier of the third application program into the elimination setting list.
The determining module 52 is further specifically configured to determine whether the identifier of each application is in the elimination setting list; if yes, determining the application program to be a first application program with a one-key elimination function; and if not, determining that the application program is a second application program without the one-key elimination function.
Further, the device 50 for processing unread messages further includes: a receiving module 56.
The receiving module 56 is configured to receive a cancellation processing result sent by each application program, where the cancellation processing result includes the number of unread messages processed.
On the basis of the above embodiment, the device 50 for processing unread messages further includes: and an output module 57.
The output module 57 is configured to output a one-key cancellation function authorization request before sending the second cancellation instruction to the cancellation kit, where the one-key cancellation function authorization request is used to allow the cancellation kit to process the unread tags of all the unread messages in the second application.
The obtaining module 51 is further specifically configured to obtain an authorization response input by the user, where the authorization response is used to indicate that the unread tags of all the unread messages in the second application are allowed to be processed through the elimination toolkit.
Fig. 7 is a schematic diagram of a terminal device provided in the present invention, and as shown in fig. 7, the terminal device 60 includes: a memory 61 and at least one processor 62.
A memory 61 for storing program instructions.
The processor 62 is configured to implement the method for processing the unread message in this embodiment when the program instructions are executed, and the specific implementation principle may refer to the foregoing embodiment, which is not described herein again.
The terminal may also include an input/output interface 63.
The input/output interface 63 may include a separate output interface and input interface, or may be an integrated interface that integrates input and output. The output interface is used for outputting data, the input interface is used for acquiring input data, the output data is a general name output in the method embodiment, and the input data is a general name input in the method embodiment.
The present invention also provides a readable storage medium, in which an execution instruction is stored, and when at least one processor of the terminal executes the execution instruction, when the computer execution instruction is executed by the processor, the method for processing the unread message in the above embodiments is implemented.
The present invention also provides a program product comprising execution instructions stored in a readable storage medium. The at least one processor of the terminal may read the execution instruction from the readable storage medium, and the execution of the execution instruction by the at least one processor causes the terminal to implement the method for processing the unread message provided by the various embodiments described above.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the foregoing embodiments of the network device or the terminal device, it should be understood that the Processor may be a Central Processing Unit (CPU), or may be other general-purpose processors, Digital Signal Processors (DSP), Application Specific Integrated Circuits (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor, or in a combination of the hardware and software modules in the processor.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A method for processing unread messages, comprising:
obtaining an unread message processing instruction, wherein the unread message processing instruction is used for indicating that unread marks of all unread messages in at least one application program are eliminated;
judging whether each application program is provided with a one-key elimination function or not according to the unread message processing instruction;
if a first application program in the at least one application program has a one-key elimination function, sending a first elimination instruction to the first application program, wherein the first elimination instruction is used for indicating the first application program to eliminate unread marks of all unread messages in the first application program;
if a second application program in the at least one application program is not provided with a one-key elimination function, sending a second elimination instruction to an elimination toolkit, wherein the second elimination instruction is used for indicating the elimination toolkit to eliminate the unread marks of all the unread messages in the second application program;
the unread message processing instruction also carries an identifier of the at least one application program; the determining whether the application programs have set a one-key elimination function includes:
acquiring a cancellation setting list, wherein the cancellation setting list stores an identifier of an application program configured with a one-key cancellation function;
judging whether the identifier of each application program is in the elimination setting list or not;
if so, determining that the application program is a first application program with a one-key elimination function; and/or
If not, determining that the application program is a second application program without a one-key elimination function;
the method further includes, before the determining whether the identifier of each of the application programs is in the elimination setting list:
acquiring a third application program with a one-key elimination function set in a preset time period before the current time point;
judging whether the third application program is in the elimination setting list or not;
and if not, adding the identifier of the third application program into the elimination setting list.
2. The method of claim 1, wherein obtaining the unread message processing instructions comprises:
displaying an application program list to a user, wherein the application program list is displayed with identifications of all application programs and selection items corresponding to all the application programs;
and acquiring the unread message processing instruction according to the selection operation of the user on the selection item of at least one application program.
3. The method of claim 1, wherein obtaining the unread message processing instructions comprises:
displaying a one-key removal icon to a user, wherein the one-key removal icon is used for removing unread marks of all unread messages of all application programs;
and acquiring the unread message processing instruction according to the operation of the user on the one-key eliminating icon.
4. The method of claim 1, further comprising:
and receiving a cancellation processing result sent by each application program, wherein the cancellation processing result comprises the number of the unread messages to be processed.
5. The method of claim 1, wherein prior to said sending a second cancellation instruction to the cancellation kit, the method further comprises:
outputting a one-key cancellation function authorization request, wherein the one-key cancellation function authorization request is used for allowing the cancellation toolkit to process unread marks of all unread messages in the second application program;
and obtaining an authorization response input by a user, wherein the authorization response is used for indicating that the unread marks of all the unread messages in the second application program are allowed to be processed through the elimination toolkit.
6. An apparatus for processing unread messages, comprising: an obtaining module, configured to obtain an unread message processing instruction, where the unread message processing instruction is used to instruct to eliminate unread marks of all unread messages in at least one application;
the judging module is used for judging whether each application program is provided with a one-key elimination function or not according to the unread message processing instruction;
a first sending module, configured to send a first elimination instruction to a first application program when a first application program of the at least one application program has set a one-key elimination function, where the first elimination instruction is used to instruct the first application program to eliminate unread marks of all unread messages in the first application program;
a second sending module, configured to send a second elimination instruction to an elimination toolkit when a second application program of the at least one application program does not set a one-key elimination function, where the second elimination instruction is used to instruct the elimination toolkit to eliminate unread tags of all unread messages in the second application program;
wherein the content of the first and second substances,
the acquiring module is specifically configured to acquire an elimination setting list, where an identifier of an application program configured with a one-key elimination function is stored in the elimination setting list;
the judging module is specifically configured to judge whether an identifier of each application program is in the elimination setting list;
if so, determining that the application program is a first application program with a one-key elimination function; and/or
If not, determining that the application program is a second application program without a one-key elimination function;
the acquisition module is specifically further used for acquiring a third application program with a one-key elimination function set in a preset time period before the current time point;
the judging module is specifically configured to judge whether the third application program list is in the elimination setting list; and if not, adding the identifier of the third application program into the elimination setting list.
7. A terminal device, comprising: at least one processor and memory;
the memory stores computer-executable instructions;
the at least one processor executing the computer-executable instructions stored by the memory causes the terminal device to perform the method of any of claims 1 to 5.
8. A computer-readable storage medium having computer-executable instructions stored thereon which, when executed by a processor, implement the method of any one of claims 1-5.
CN201711440909.9A 2017-12-27 2017-12-27 Unread message processing method and device Active CN108182024B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711440909.9A CN108182024B (en) 2017-12-27 2017-12-27 Unread message processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711440909.9A CN108182024B (en) 2017-12-27 2017-12-27 Unread message processing method and device

Publications (2)

Publication Number Publication Date
CN108182024A CN108182024A (en) 2018-06-19
CN108182024B true CN108182024B (en) 2021-05-04

Family

ID=62547510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711440909.9A Active CN108182024B (en) 2017-12-27 2017-12-27 Unread message processing method and device

Country Status (1)

Country Link
CN (1) CN108182024B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920235A (en) * 2018-06-27 2018-11-30 努比亚技术有限公司 Non- read flag control method, mobile terminal and computer readable storage medium
CN110162234A (en) * 2019-04-15 2019-08-23 维沃移动通信有限公司 A kind of application control method and terminal device
CN110599750A (en) * 2019-09-06 2019-12-20 广东宝莱特医用科技股份有限公司 One-key alarm clearing method
CN111083039B (en) * 2019-11-20 2022-01-25 北京达佳互联信息技术有限公司 Message unread mark processing method and device, storage medium and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970774A (en) * 2013-01-30 2014-08-06 腾讯科技(深圳)有限公司 Notice icon clearing method and device
CN105468364A (en) * 2015-11-19 2016-04-06 北京奇虎科技有限公司 Processing method for notification messages of application programs and mobile terminal
CN105573584A (en) * 2015-12-15 2016-05-11 上海斐讯数据通信技术有限公司 Method for clearing unread message reminding buoy and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI609342B (en) * 2015-01-30 2017-12-21 三竹資訊股份有限公司 System and method of an enterprise mobile message

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970774A (en) * 2013-01-30 2014-08-06 腾讯科技(深圳)有限公司 Notice icon clearing method and device
CN105468364A (en) * 2015-11-19 2016-04-06 北京奇虎科技有限公司 Processing method for notification messages of application programs and mobile terminal
CN105573584A (en) * 2015-12-15 2016-05-11 上海斐讯数据通信技术有限公司 Method for clearing unread message reminding buoy and mobile terminal

Also Published As

Publication number Publication date
CN108182024A (en) 2018-06-19

Similar Documents

Publication Publication Date Title
CN108182024B (en) Unread message processing method and device
CN107786730B (en) Task management method and terminal
US11889014B2 (en) Method and apparatus for processing contact information using a wireless terminal
US9323416B2 (en) Managing linked contact records containing information from multiple source records
CN106445292B (en) Method and system for managing application programs in different body modes
US20100042949A1 (en) Menu management system and method
CN108604152B (en) Unread message prompting method and terminal
CN107872494B (en) Message pushing method and device
CN105988837B (en) Application program installation method and device
CN114827914B (en) Short message processing method and device and electronic equipment
CN104636142B (en) A kind of information processing method and electronic equipment
CN102984343B (en) Information cuing method, device and mobile terminal
CN104978180B (en) Unprocessed event prompting method and device and mobile terminal
CN111182156B (en) Application prompt message processing method and device on mobile terminal
CN105068726A (en) Information processing method and terminal
CN105376719A (en) Information pushing method and device
CN107291472B (en) Processing method and device for message reminding of application program
CN102256004A (en) Information processing method and electronic terminal
CN111766993B (en) Information display method and device, electronic equipment and readable storage medium
CN112929254A (en) Message processing method and device and electronic equipment
CN105611514A (en) Short message service subscription cancellation method and mobile terminal
CN107743151B (en) Content pushing method and device, mobile terminal and server
CN112596883B (en) Application switching method and device, storage medium and electronic equipment
CN109600738A (en) Updating method of user information, device, equipment and storage medium
CN112230819B (en) Information processing method, information processing apparatus, storage medium, and electronic device

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