[go: up one dir, main page]

CN106648698A - Method and device for displaying message notification and electronic equipment - Google Patents

Method and device for displaying message notification and electronic equipment Download PDF

Info

Publication number
CN106648698A
CN106648698A CN201611270327.6A CN201611270327A CN106648698A CN 106648698 A CN106648698 A CN 106648698A CN 201611270327 A CN201611270327 A CN 201611270327A CN 106648698 A CN106648698 A CN 106648698A
Authority
CN
China
Prior art keywords
notification
message notification
screen locking
displaying
intercepted
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
CN201611270327.6A
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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201611270327.6A priority Critical patent/CN106648698A/en
Publication of CN106648698A publication Critical patent/CN106648698A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading
    • 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/451Execution arrangements for user interfaces

Landscapes

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

Abstract

The embodiment of the invention discloses a method and a device for displaying message notifications and electronic equipment, relates to an information display technology, and can improve the information display efficiency. The method for displaying the message notification comprises the following steps: the message notification received by the notification bar of the interception system is classified according to a preset classification strategy; judging whether the electronic equipment is in a screen locking state; if the electronic equipment is in the screen unlocking state, displaying the intercepted message notification in the system notification bar according to a classification result; and if the electronic equipment is in a screen locking state, displaying the intercepted message notification in a screen locking interface according to a classification result. The invention is suitable for classified display message notification.

Description

Method and device for displaying message notification and electronic equipment
Technical Field
The present invention relates to information display technologies, and in particular, to a method and an apparatus for displaying a message notification, and an electronic device.
Background
With the rapid development of mobile internet, for example, the third Generation mobile communication technology (3G, 3rd-Generation), the fourth Generation mobile communication technology (4G, 4th-Generation) and Wireless Fidelity (WIFI), electronic devices such as smart mobile phones, personal digital assistants, palm computers and notebook computers are increasingly used.
In order to meet the ever-increasing business requirements and personalized requirements of users, more and more application programs are installed in electronic equipment, and various application programs need to push information to users at regular or irregular time in order to achieve different business purposes, for example, value-added business information pushed by business promotion application programs and WeChat, short message, audio and video and the like sent by users through social application programs.
However, in the information display method, the notification bar displays the message notifications according to the received time sequence, and at present, due to the explosive increase of the information amount, the electronic device may receive hundreds of pieces of information one day, which causes the information display to be disordered, and the information display efficiency and the display quality to be low. For example, for short messages sent by the same user in different time periods, if the user needs to reply based on the short messages sent by the user for a plurality of times, or inquires the historical short messages sent by the user so as to understand the requirements of the user, the whole notification bar needs to be traversed, so that the operation difficulty of the user is greatly increased, the processing time of the user on the received information is prolonged, the service experience of the user is reduced, and the information display efficiency and the display quality are low.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for displaying a message notification, and an electronic device, which can improve information display efficiency and information display quality, so as to solve the problem of low information display efficiency and display quality caused by displaying message notifications according to a receiving time sequence in the existing method for displaying a message notification.
In a first aspect, an embodiment of the present invention provides a method for displaying a message notification, including:
the message notification received by the notification bar of the interception system is classified according to a preset classification strategy;
judging whether the electronic equipment is in a screen locking state;
if the electronic equipment is in the screen unlocking state, displaying the intercepted message notification in the system notification bar according to a classification result;
and if the electronic equipment is in a screen locking state, displaying the intercepted message notification in a screen locking interface according to a classification result.
With reference to the first aspect, in a first implementation manner of the first aspect, classifying the intercepted message notification according to a preset classification policy includes:
judging whether the intercepted message notification is a junk notification;
if the intercepted message notification is a spam notification, the displaying the intercepted message notification in the system notification bar according to the classification result comprises: displaying the spam notification in a preset notification of the system notification bar;
if the intercepted message notification is a spam notification, the displaying the intercepted message notification in the screen locking interface according to the classification result comprises: and displaying the junk notice in a junk notice card in the screen locking interface.
With reference to the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the determining whether the intercepted message notification is a spam notification includes:
judging whether the intercepted message notification is a message notification sent by a preset application program or not;
and if the intercepted message notification is the message notification sent by a preset application program, determining that the intercepted message notification is a junk notification.
With reference to the first aspect, in a third implementation manner of the first aspect, after the displaying the intercepted message notification in the screen locking interface according to the classification result, the displaying includes:
and after monitoring that the user performs preset operation in the screen locking interface, entering a notification bar management page in a screen locking state.
With reference to the third embodiment of the first aspect, in a fourth embodiment of the first aspect, the method further comprises:
and receiving a message notification processing instruction from a notification bar management page of the screen locking state, and processing the message notification in the screen locking interface according to the message notification processing instruction.
With reference to the fourth implementation manner of the first aspect, in a fifth implementation manner of the first aspect, the receiving a message notification processing instruction from the notification bar management page in the lock screen state, and processing a message notification in the lock screen interface according to the message notification processing instruction includes:
if the message notification processing instruction is generated by triggering a one-key clearing control button in the notification bar management page by a user, deleting all message notifications in the screen locking interface;
if the message notification processing instruction is generated by a clearing control button for triggering the message notification in the notification bar management page by a user, deleting the message notification in the screen locking interface;
and if the message notification processing instruction is generated by a shortcut reply control button for triggering the message notification in the notification bar management page by the user, receiving reply content input by the user in the notification bar management page, and replying the message notification according to the reply content.
With reference to the fifth implementation manner of the first aspect, in a sixth implementation manner of the first aspect, the replying the message notification according to the reply content includes:
calling a system interface to send the reply content to an application program corresponding to the message notification;
or,
copying the reply content to a system clipboard, pasting the reply content in the system clipboard to an input box of an application program corresponding to the message notification by using a simulated click technology, clicking a sending key of the input box by using the simulated click technology, and sending the reply content to the application program corresponding to the message notification.
In a second aspect, an embodiment of the present invention provides an apparatus for displaying a message notification, including: a classification module, a judgment module, a first display module and a second display module, wherein,
the classification module is used for intercepting the message notifications received by the system notification bar and classifying the intercepted message notifications according to a preset classification strategy;
the judging module is used for judging whether the electronic equipment is in a screen locking state;
the first display module is used for displaying the intercepted message notification in the system notification bar according to a classification result if the electronic equipment is in an unlocked state;
and the second display module is used for displaying the intercepted message notification in a screen locking interface according to a classification result if the electronic equipment is in a screen locking state.
With reference to the second aspect, in a first implementation manner of the second aspect, the classification module is specifically configured to intercept a message notification received by a system notification bar, and determine whether the intercepted message notification is a spam notification;
the first display module is specifically configured to display the junk notification in a preset notification of the system notification bar if the electronic device is in an unlocked state and the intercepted message notification is the junk notification;
the second display module is specifically configured to display the spam notification in a spam notification card in the screen locking interface if the electronic device is in a screen locking state and the intercepted message notification is a spam notification.
With reference to the first implementation manner of the second aspect, in a second implementation manner of the second aspect, the classification module includes:
an interception unit for intercepting the message notification received by the system notification bar
The first judging unit is used for judging whether the intercepted message notification is the message notification sent by a preset application program or not, and if the intercepted message notification is the message notification sent by the preset application program, determining that the intercepted message notification is a junk notification.
With reference to the second aspect, in a third embodiment of the second aspect, the apparatus further comprises:
and the monitoring module is used for monitoring that the user enters a notification bar management page in a screen locking state after carrying out preset operation in the screen locking interface.
With reference to the third embodiment of the second aspect, in a fourth embodiment of the second aspect, the apparatus further comprises:
and the instruction processing module is used for receiving a message notification processing instruction from the notification bar management page of the screen locking state and processing the message notification in the screen locking interface according to the message notification processing instruction.
With reference to the fourth implementation manner of the second aspect, in a fifth implementation manner of the second aspect, the instruction processing module includes:
the receiving unit is used for receiving a message notification processing instruction from a notification bar management page of the screen locking state;
the first processing unit is used for deleting all message notifications in the screen locking interface if the message notification processing instruction is generated by triggering a one-key clearing control button in the notification bar management page by a user;
the second processing unit is used for deleting the message notification in the screen locking interface if the message notification processing instruction is generated by a clearing control button for triggering the message notification in the notification bar management page by a user;
and the third processing unit is used for receiving reply contents input by a user in the notification bar management page and replying the message notification according to the reply contents if the message notification processing instruction is generated by a shortcut reply control button for triggering the message notification in the notification bar management page by the user.
With reference to the fifth implementation manner of the second aspect, in a sixth implementation manner of the second aspect, the third processing unit includes:
the first receiving subunit is used for receiving reply content input by a user in the notification bar management page;
the reply subunit is used for calling a system interface to send the reply content to an application program corresponding to the message notification;
or,
and the reply subunit is used for copying the reply content to a system clipboard, pasting the reply content in the system clipboard to an input box of the application program corresponding to the message notification by using a simulated click technology, clicking a sending key of the input box by using the simulated click technology, and sending the reply content to the application program corresponding to the message notification.
In a third aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing the following operations:
the message notification received by the notification bar of the interception system is classified according to a preset classification strategy;
judging whether the electronic equipment is in a screen locking state;
if the electronic equipment is in the screen unlocking state, displaying the intercepted message notification in the system notification bar according to a classification result;
and if the electronic equipment is in a screen locking state, displaying the intercepted message notification in a screen locking interface according to a classification result.
In a fourth aspect, an embodiment of the present invention further provides a storage medium, configured to store an application program, where the application program is configured to execute the method for presenting a message notification provided in the embodiment of the present invention.
In a fifth aspect, an embodiment of the present invention further provides an application program, configured to execute the method for displaying a message notification provided in the embodiment of the present invention.
According to the method, the device and the electronic equipment for displaying the message notifications, the message notifications received by the notification bar of the interception system are classified according to the preset classification strategy; judging whether the electronic equipment is in a screen locking state; if the electronic equipment is in the screen unlocking state, displaying the intercepted message notification in the system notification bar according to a classification result; if the electronic equipment is in the screen locking state, the intercepted message notifications are displayed according to the classification results in the screen locking interface, so that the information display efficiency and the information display quality can be improved, and the problem that the information display efficiency and the display quality are low due to the fact that the message notifications are displayed according to the receiving time sequence in the existing method for displaying the message notifications is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for notifying a message according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a message notification apparatus according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an embodiment of an electronic device according to the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. 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.
Example one
Fig. 1 is a flowchart illustrating a method for notifying a message according to an embodiment of the present invention, as shown in fig. 1, the method of this embodiment may include:
step 101, intercepting a message notification received by a system notification bar, and classifying the intercepted message notification according to a preset classification strategy;
in this embodiment, as an optional embodiment, classifying the intercepted message notification may be: the intercepted message notifications are classified as spam notifications and application message notifications.
In this embodiment, as an optional embodiment, classifying the intercepted message notification according to a preset classification policy includes:
judging whether the intercepted message notification is a junk notification;
in this embodiment, as an optional embodiment, the determining whether the intercepted message notification is a spam notification includes:
judging whether the intercepted message notification is a message notification sent by a preset application program or not;
and if the intercepted message notification is the message notification sent by a preset application program, determining that the intercepted message notification is a junk notification.
In this embodiment, as an optional embodiment, a user may set whether information sent by a specific application is spam, and a common default setting is that information sent by a social application is not spam.
In addition, in this embodiment, the determining whether the intercepted message notification is a spam notification may further include: judging whether the intercepted message notification contains a preset junk notification keyword, and if the intercepted message notification contains the preset junk notification keyword, determining that the intercepted message notification is the junk notification.
In this embodiment, as an optional embodiment, classifying the received information according to a preset classification policy may further include:
acquiring an application program identifier corresponding to the intercepted message notification;
and querying a preset mapping relation set of the application program identifier and the classification to obtain the obtained classification of the application program identifier mapping.
In this embodiment, the mapping relationship set of the application identifier and the classification may be set according to actual needs, for example, all the applications may be classified into: the system comprises a first classification, a second classification, a third classification and the like, wherein each classification comprises one or more application program identifiers, and the application program identifiers are different among different classifications. Wherein, the first category includes applications that are important to the user, for example, applications such as WeChat and QQ; the second category includes applications that are of secondary importance to the user, such as news, shopping, and the like; the third category includes applications that are not important to the user, such as games, value added service promotions, advertising, and the like. For another example, all the applications can be classified into: white list classification, gray list classification, black list classification, and the like.
In this embodiment, the application identifier includes but is not limited to: application name, application ID, application version number, etc.
In this embodiment, as an optional embodiment, before classifying the intercepted message notification according to a preset classification policy, the method further includes:
and acquiring the use permission of a notification bar of the operating system of the electronic equipment to intercept the message notification received by the system notification bar.
In this embodiment, as an optional embodiment, each classification may further include one or more sub-classifications, for example, for the first classification, including: WeChat subclass, QQ subclass, etc. As another optional embodiment, for the WeChat sub-classification and the QQ sub-classification, the sending information may be subdivided again according to the user information, for example, each sending information user corresponds to a secondary sub-classification, which is not limited in this embodiment. In this way, in the subsequent process, the information sent by the same user can be integrated into the same sub notification bar for displaying.
Step 102, judging whether the electronic equipment is in a screen locking state;
103, if the electronic equipment is in an unlocked state, displaying the intercepted message notification in the system notification bar according to a classification result;
and 104, if the electronic equipment is in a screen locking state, displaying the intercepted message notification in a screen locking interface according to a classification result.
In this embodiment, as an optional embodiment, if the intercepted message notification is a spam notification, the displaying the intercepted message notification in the system notification bar according to the classification result includes: displaying the spam notification in a preset notification of the system notification bar;
in this embodiment, as an optional embodiment, if the intercepted message notification is a spam notification, the displaying the intercepted message notification in the lock screen interface according to the classification result includes: and displaying the junk notice in a junk notice card in the screen locking interface.
In this embodiment, after the message notification received by the system notification bar is intercepted, if it is determined that the message notification is a spam notification and the electronic device is in an unlocked state, the spam notification is uniformly merged into one notification of the notification bar; and if the message notification is judged to be the junk notification and the electronic equipment is in the screen locking state, combining the message notification into a junk notification card of the screen locking interface so as to inform a user that the junk notification is intercepted at the moment.
In this embodiment, after intercepting a message notification received by a system notification bar, if it is determined that the message notification is an application message notification and the electronic device is in an unlocked state, displaying the application message notification in the system notification bar; and if the message notification is judged to be the application message notification and the electronic equipment is in the screen locking state, displaying the application message notification in a corresponding application message notification card of the screen locking interface so as to inform a user that the application message notification exists at the moment.
In this embodiment, as an optional embodiment, after displaying the intercepted message notification according to the classification result in the screen locking interface, the displaying includes:
and after monitoring that the user performs preset operation in the screen locking interface, entering a notification bar management page in a screen locking state.
In this embodiment, as an optional embodiment, the preset operation may be sliding the message notification card, clicking a preset button, and the like.
In this embodiment, a user may enter the notification bar management page by sliding the spam notification card or the application message notification card on the lock screen interface, and at this time, the electronic device is still in the lock screen state, and the electronic device is not unlocked.
In this embodiment, as an optional embodiment, the method further includes:
and receiving a message notification processing instruction from a notification bar management page of the screen locking state, and processing the message notification in the screen locking interface according to the message notification processing instruction.
In this embodiment, as an optional embodiment, the receiving a message notification processing instruction from a notification bar management page of the lock screen state, and processing a message notification in the lock screen interface according to the message notification processing instruction includes:
if the message notification processing instruction is generated by triggering a one-key clearing control button in the notification bar management page by a user, deleting all message notifications in the screen locking interface;
in this embodiment, the spam notification and the application message notification can be divided into two pages in the notification bar management page, and the user can select one-key batch clear of the spam notification or application message notification.
If the message notification processing instruction is generated by a clearing control button for triggering the message notification in the notification bar management page by a user, deleting the message notification in the screen locking interface;
and if the message notification processing instruction is generated by a shortcut reply control button for triggering the message notification in the notification bar management page by the user, receiving reply content input by the user in the notification bar management page, and replying the message notification according to the reply content.
In this embodiment, as an optional embodiment, processing the message notification in the lock screen interface according to the message notification processing instruction may further include entering an application program corresponding to the message notification card if the message notification processing instruction triggers generation of the message notification card in the notification bar management page for the user.
In this embodiment, as an optional embodiment, the replying the message notification according to the reply content includes:
calling a system interface to send the reply content to an application program corresponding to the message notification;
or,
copying the reply content to a system clipboard, pasting the reply content in the system clipboard to an input box of an application program corresponding to the message notification by using a simulated click technology, clicking a sending key of the input box by using the simulated click technology, and sending the reply content to the application program corresponding to the message notification.
In this embodiment, when the message notification processing instruction is generated by a shortcut reply control button for triggering a message notification in the notification bar management page by a user, it may be determined first whether the current operating system environment supports the application program to directly call the system interface for a reply, and if so, directly call the system interface for a reply; otherwise, the information input by the user is copied to the system clipboard, and then the information input by the user in the clipboard is pasted to the input box of the application program by using the simulated click function of the system, and the click is simulated to send the information in the input box.
The method for displaying the message notification in the embodiment intercepts the message notification received by a system notification bar, and classifies the intercepted message notification according to a preset classification strategy; judging whether the electronic equipment is in a screen locking state; if the electronic equipment is in the screen unlocking state, displaying the intercepted message notification in the system notification bar according to a classification result; and if the electronic equipment is in a screen locking state, displaying the intercepted message notification in a screen locking interface according to a classification result. Therefore, the received information is classified and integrated, so that messy notification bars of the user can be effectively avoided, the operation difficulty of the user is greatly reduced when the user browses the information or replies the information, the processing time of the user to the received information is shortened, and the information display efficiency and the display quality are improved. Meanwhile, the user can delete all the information in a unified way in the notification bar page, or delete the appointed single information, and can also directly click to enter the application program corresponding to the information; and moreover, the user is supported to directly and quickly reply on the notification bar management page in real time, and the service experience of the user is effectively enhanced.
Example two
Fig. 2 is a schematic structural diagram of a device for displaying message notification according to a second embodiment of the present invention, and as shown in fig. 2, the device according to this embodiment may include: a classification module 21, a judgment module 22, a first display module 23 and a second display module 24, wherein,
the classification module 21 is configured to intercept the message notifications received by the system notification bar, and classify the intercepted message notifications according to a preset classification policy;
the judging module 22 is used for judging whether the electronic equipment is in a screen locking state;
the first display module 23 is configured to display the intercepted message notification in the system notification bar according to a classification result if the electronic device is in an unlocked state;
and the second display module 24 is configured to display the intercepted message notification according to the classification result in a screen locking interface if the electronic device is in a screen locking state.
In the foregoing specific embodiment of the apparatus for presenting a message notification, optionally, the classifying the intercepted message notification includes: the intercepted message notifications are classified as spam notifications and application message notifications.
In a specific embodiment of the foregoing device for displaying a message notification, optionally, the classification module 21 is specifically configured to intercept a message notification received by a system notification bar, and determine whether the intercepted message notification is a spam notification;
the first display module 23 is specifically configured to display the spam notification in a preset notification in the system notification bar if the electronic device is in an unlocked state and the intercepted message notification is a spam notification;
the second display module 24 is specifically configured to display the spam notification in a spam notification card in the screen lock interface if the electronic device is in a screen lock state and the intercepted message notification is a spam notification.
In the foregoing specific embodiment of the apparatus for presenting a message notification, optionally, the classification module 21 includes:
an interception unit for intercepting the message notification received by the system notification bar
The first judging unit is used for judging whether the intercepted message notification is the message notification sent by a preset application program or not, and if the intercepted message notification is the message notification sent by the preset application program, determining that the intercepted message notification is a junk notification.
In addition, in this embodiment, the first determining unit may be further configured to determine whether the intercepted message notification includes a preset spam notification keyword, and if the intercepted message notification includes the preset spam notification keyword, determine that the intercepted message notification is a spam notification.
In the foregoing specific embodiment of the apparatus for presenting a message notification, optionally, the apparatus further includes:
and the monitoring module is used for monitoring that the user enters a notification bar management page in a screen locking state after carrying out preset operation in the screen locking interface.
In a specific embodiment of the foregoing device for displaying a message notification, optionally, the preset operation may be sliding a message notification card, clicking a preset button, and the like.
In the foregoing specific embodiment of the apparatus for presenting a message notification, optionally, the apparatus further includes:
and the instruction processing module is used for receiving a message notification processing instruction from the notification bar management page of the screen locking state and processing the message notification in the screen locking interface according to the message notification processing instruction.
In a specific embodiment of the foregoing apparatus for displaying a message notification, optionally, the instruction processing module includes:
the receiving unit is used for receiving a message notification processing instruction from a notification bar management page of the screen locking state;
the first processing unit is used for deleting all message notifications in the screen locking interface if the message notification processing instruction is generated by triggering a one-key clearing control button in the notification bar management page by a user;
the second processing unit is used for deleting the message notification in the screen locking interface if the message notification processing instruction is generated by a clearing control button for triggering the message notification in the notification bar management page by a user;
and the third processing unit is used for receiving reply contents input by a user in the notification bar management page and replying the message notification according to the reply contents if the message notification processing instruction is generated by a shortcut reply control button for triggering the message notification in the notification bar management page by the user.
In this embodiment, as an optional embodiment, the instruction processing module may further include:
and the fourth processing unit is used for entering an application program corresponding to the message notification card if the message notification processing instruction triggers generation of the message notification card in the notification bar management page for the user.
In a specific embodiment of the foregoing apparatus for presenting a message notification, optionally, the third processing unit includes:
the first receiving subunit is used for receiving reply content input by a user in the notification bar management page;
the reply subunit is used for calling a system interface to send the reply content to an application program corresponding to the message notification;
or,
and the reply subunit is used for copying the reply content to a system clipboard, pasting the reply content in the system clipboard to an input box of the application program corresponding to the message notification by using a simulated click technology, clicking a sending key of the input box by using the simulated click technology, and sending the reply content to the application program corresponding to the message notification.
The apparatus of this embodiment may be used to implement the technical solution of the method embodiment shown in fig. 1, and the implementation principle and the technical effect are similar, which are not described herein again.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments.
In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof.
In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
The embodiment of the invention also provides electronic equipment, and the electronic equipment comprises the device in any one of the embodiments.
Fig. 3 is a schematic structural diagram of an embodiment of an electronic device of the present invention, which can implement the processes of the embodiments shown in fig. 1-2 of the present invention, and as shown in fig. 3, the electronic device may include: the device comprises a shell 31, a processor 32, a memory 33, a circuit board 34 and a power circuit 35, wherein the circuit board 34 is arranged inside a space enclosed by the shell 31, and the processor 32 and the memory 33 are arranged on the circuit board 34; a power supply circuit 35 for supplying power to each circuit or device of the electronic apparatus; the memory 33 is used for storing executable program codes; the processor 32 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 33, for performing the following operations:
the message notification received by the notification bar of the interception system is classified according to a preset classification strategy;
judging whether the electronic equipment is in a screen locking state;
if the electronic equipment is in the screen unlocking state, displaying the intercepted message notification in the system notification bar according to a classification result;
and if the electronic equipment is in a screen locking state, displaying the intercepted message notification in a screen locking interface according to a classification result.
The specific execution process of the above steps by the processor 32 and the steps further executed by the processor 32 by running the executable program code may refer to the description of the embodiment shown in fig. 1-2 of the present invention, and are not described herein again.
The electronic device exists in a variety of forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. This type of device comprises: audio, video players (e.g., ipods), handheld game consoles, electronic books, and smart toys and portable car navigation devices.
(4) A server: the device for providing the computing service comprises a processor, a hard disk, a memory, a system bus and the like, and the server is similar to a general computer architecture, but has higher requirements on processing capacity, stability, reliability, safety, expandability, manageability and the like because of the need of providing high-reliability service.
(5) And other electronic equipment with data interaction function.
The embodiment of the invention also provides a storage medium for storing the application program, and the application program is used for executing the method for displaying the message notification provided by the embodiment of the invention.
The embodiment of the invention also provides an application program used for executing the method for displaying the message notification provided by the embodiment of the invention.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
For convenience of description, the above devices are described separately in terms of functional division into various units/modules. Of course, the functionality of the units/modules may be implemented in one or more software and/or hardware implementations of the invention.
The above description of the embodiments will make clear to those skilled in the art that the present invention can be implemented
The invention can be implemented by means of software plus a necessary general-purpose hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for presenting a message notification, comprising:
the message notification received by the notification bar of the interception system is classified according to a preset classification strategy;
judging whether the electronic equipment is in a screen locking state;
if the electronic equipment is in the screen unlocking state, displaying the intercepted message notification in the system notification bar according to a classification result;
and if the electronic equipment is in a screen locking state, displaying the intercepted message notification in a screen locking interface according to a classification result.
2. The method of claim 1, wherein classifying the intercepted message notification according to a preset classification policy comprises:
judging whether the intercepted message notification is a junk notification;
if the intercepted message notification is a spam notification, the displaying the intercepted message notification in the system notification bar according to the classification result comprises: displaying the spam notification in a preset notification of the system notification bar;
if the intercepted message notification is a spam notification, the displaying the intercepted message notification in the screen locking interface according to the classification result comprises: and displaying the junk notice in a junk notice card in the screen locking interface.
3. The method of claim 2, wherein said determining whether the intercepted message notification is a spam notification comprises:
judging whether the intercepted message notification is a message notification sent by a preset application program or not;
and if the intercepted message notification is the message notification sent by a preset application program, determining that the intercepted message notification is a junk notification.
4. The method of claim 1, wherein displaying the intercepted message notification in a lock screen interface according to the classification result comprises:
and after monitoring that the user performs preset operation in the screen locking interface, entering a notification bar management page in a screen locking state.
5. The method of presenting a message notification as recited in claim 4, further comprising:
and receiving a message notification processing instruction from a notification bar management page of the screen locking state, and processing the message notification in the screen locking interface according to the message notification processing instruction.
6. An apparatus for presenting message notifications, comprising: a classification module, a judgment module, a first display module and a second display module, wherein,
the classification module is used for intercepting the message notifications received by the system notification bar and classifying the intercepted message notifications according to a preset classification strategy;
the judging module is used for judging whether the electronic equipment is in a screen locking state;
the first display module is used for displaying the intercepted message notification in the system notification bar according to a classification result if the electronic equipment is in an unlocked state;
and the second display module is used for displaying the intercepted message notification in a screen locking interface according to a classification result if the electronic equipment is in a screen locking state.
7. The apparatus for displaying a message notification as claimed in claim 6, wherein the classification module is specifically configured to intercept a message notification received by a system notification bar, and determine whether the intercepted message notification is a spam notification;
the first display module is specifically configured to display the junk notification in a preset notification of the system notification bar if the electronic device is in an unlocked state and the intercepted message notification is the junk notification;
the second display module is specifically configured to display the spam notification in a spam notification card in the screen locking interface if the electronic device is in a screen locking state and the intercepted message notification is a spam notification.
8. The apparatus for presenting message notifications as recited in claim 7, wherein said classification module comprises:
an interception unit for intercepting the message notification received by the system notification bar
The first judging unit is used for judging whether the intercepted message notification is the message notification sent by a preset application program or not, and if the intercepted message notification is the message notification sent by the preset application program, determining that the intercepted message notification is a junk notification.
9. The apparatus for presenting a message notification as recited in claim 6, further comprising:
and the monitoring module is used for monitoring that the user enters a notification bar management page in a screen locking state after carrying out preset operation in the screen locking interface.
10. An electronic device, characterized in that the electronic device comprises: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing the following operations:
the message notification received by the notification bar of the interception system is classified according to a preset classification strategy;
judging whether the electronic equipment is in a screen locking state;
if the electronic equipment is in the screen unlocking state, displaying the intercepted message notification in the system notification bar according to a classification result;
and if the electronic equipment is in a screen locking state, displaying the intercepted message notification in a screen locking interface according to a classification result.
CN201611270327.6A 2016-12-29 2016-12-29 Method and device for displaying message notification and electronic equipment Pending CN106648698A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611270327.6A CN106648698A (en) 2016-12-29 2016-12-29 Method and device for displaying message notification and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611270327.6A CN106648698A (en) 2016-12-29 2016-12-29 Method and device for displaying message notification and electronic equipment

Publications (1)

Publication Number Publication Date
CN106648698A true CN106648698A (en) 2017-05-10

Family

ID=58838601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611270327.6A Pending CN106648698A (en) 2016-12-29 2016-12-29 Method and device for displaying message notification and electronic equipment

Country Status (1)

Country Link
CN (1) CN106648698A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277246A (en) * 2017-06-16 2017-10-20 珠海格力电器股份有限公司 Information reminding method and device and electronic equipment
CN107295099A (en) * 2017-07-21 2017-10-24 北京小米移动软件有限公司 PUSH message processing method, device and storage medium
CN107301099A (en) * 2017-06-28 2017-10-27 北京金山安全软件有限公司 Method and device for processing screen locking interface message and electronic equipment
CN108388342A (en) * 2018-02-11 2018-08-10 广东欧珀移动通信有限公司 Electronic device, apparatus control method and Related product
CN109408156A (en) * 2018-11-07 2019-03-01 四川长虹电器股份有限公司 A kind of method that a key deletes all both for reminding of new message in APP
CN109842716A (en) * 2017-11-27 2019-06-04 中移(杭州)信息技术有限公司 A kind of application message processing method and terminal device
CN110162350A (en) * 2019-05-27 2019-08-23 天津卓漫科技有限公司 Display methods, device, server and the storage medium of notification bar information
CN112000418A (en) * 2020-10-29 2020-11-27 广州市玄武无线科技股份有限公司 Method and system for receiving extensible message classification display by mobile terminal
CN114741143A (en) * 2022-03-18 2022-07-12 维沃移动通信有限公司 Notification display method and electronic equipment
CN116048832A (en) * 2022-08-31 2023-05-02 荣耀终端有限公司 Batch clearing method and device for notifications

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333852A (en) * 2014-01-23 2015-02-04 广州三星通信技术研究有限公司 Processing method and system of status of message
CN105243326A (en) * 2015-09-29 2016-01-13 北京金山安全软件有限公司 Display method and device of screen locking interface and electronic equipment
CN105487760A (en) * 2015-12-15 2016-04-13 北京金山安全软件有限公司 Method and device for displaying message and electronic equipment
CN105677328A (en) * 2015-12-30 2016-06-15 北京金山安全软件有限公司 Method and device for displaying information and electronic equipment
CN105847549A (en) * 2016-03-24 2016-08-10 北京金山安全软件有限公司 Message processing method and device
CN105975314A (en) * 2016-05-18 2016-09-28 珠海市魅族科技有限公司 Information processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333852A (en) * 2014-01-23 2015-02-04 广州三星通信技术研究有限公司 Processing method and system of status of message
CN105243326A (en) * 2015-09-29 2016-01-13 北京金山安全软件有限公司 Display method and device of screen locking interface and electronic equipment
CN105487760A (en) * 2015-12-15 2016-04-13 北京金山安全软件有限公司 Method and device for displaying message and electronic equipment
CN105677328A (en) * 2015-12-30 2016-06-15 北京金山安全软件有限公司 Method and device for displaying information and electronic equipment
CN105847549A (en) * 2016-03-24 2016-08-10 北京金山安全软件有限公司 Message processing method and device
CN105975314A (en) * 2016-05-18 2016-09-28 珠海市魅族科技有限公司 Information processing method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
电脑报合订本编委会主编: "《电脑报 2014合订本 下册》", 31 January 2015, 重庆出版社 *
黄宇健,刘宏韬编著: "《Android项目开发范例大全》", 31 August 2012, 中国铁道出版社 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277246B (en) * 2017-06-16 2018-12-28 珠海格力电器股份有限公司 Information reminding method and device and electronic equipment
CN107277246A (en) * 2017-06-16 2017-10-20 珠海格力电器股份有限公司 Information reminding method and device and electronic equipment
CN107301099A (en) * 2017-06-28 2017-10-27 北京金山安全软件有限公司 Method and device for processing screen locking interface message and electronic equipment
WO2019000820A1 (en) * 2017-06-28 2019-01-03 北京金山安全软件有限公司 Method, device for processing message in screen locking interface and electronic equipment
CN107295099A (en) * 2017-07-21 2017-10-24 北京小米移动软件有限公司 PUSH message processing method, device and storage medium
CN109842716A (en) * 2017-11-27 2019-06-04 中移(杭州)信息技术有限公司 A kind of application message processing method and terminal device
CN108388342A (en) * 2018-02-11 2018-08-10 广东欧珀移动通信有限公司 Electronic device, apparatus control method and Related product
CN109408156A (en) * 2018-11-07 2019-03-01 四川长虹电器股份有限公司 A kind of method that a key deletes all both for reminding of new message in APP
CN110162350A (en) * 2019-05-27 2019-08-23 天津卓漫科技有限公司 Display methods, device, server and the storage medium of notification bar information
CN112000418A (en) * 2020-10-29 2020-11-27 广州市玄武无线科技股份有限公司 Method and system for receiving extensible message classification display by mobile terminal
CN114741143A (en) * 2022-03-18 2022-07-12 维沃移动通信有限公司 Notification display method and electronic equipment
CN114741143B (en) * 2022-03-18 2024-03-26 维沃移动通信有限公司 Notification display method and electronic equipment
CN116048832A (en) * 2022-08-31 2023-05-02 荣耀终端有限公司 Batch clearing method and device for notifications
CN116048832B (en) * 2022-08-31 2023-11-03 荣耀终端有限公司 A notification batch clearing method and device

Similar Documents

Publication Publication Date Title
CN106648698A (en) Method and device for displaying message notification and electronic equipment
US20160357616A1 (en) Application management method and application management apparatus
JP2020504865A (en) Application data processing method, apparatus, and storage medium
CN110035004B (en) User name card sharing method, friend adding method and related device
CN104965580A (en) Method and apparatus for displaying unread messages
US20190253378A1 (en) Instant messaging method and device
CN104737161A (en) Person-based information aggregation
CN110059273B (en) Method for displaying rich media on mobile terminal and mobile terminal
CN105141496A (en) Instant communication message playback method and device
US20170346769A1 (en) Performing actions based on determined intent of messages
CN105487747A (en) Information display method and device and electronic equipment
CN106155789B (en) Application freezing method and mobile terminal
CN109947408B (en) Message pushing method and device, storage medium and electronic equipment
CN111596971B (en) Application cleaning method and device, storage medium and electronic equipment
CN104426944A (en) Method and device for information feedback, and terminal
CN103049511A (en) Method and client for displaying microblog interest list and microblog contents
CN111641554B (en) A message processing method, device and computer-readable storage medium
CN107835235A (en) Message push method and device
CN112947807A (en) Display method and device and electronic equipment
CN109542878B (en) List creation method and device
CN104092596A (en) Music user group management method, device and system
CN105376719A (en) Information pushing method and device
CN109547335B (en) Session message processing method and device
CN110703974B (en) Message interaction method, device and storage medium
US20240364556A1 (en) Method, apparatus, device and medium for adding group members

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170510

RJ01 Rejection of invention patent application after publication