Notification message processing method, electronic equipment and storage medium

By responding to notification messages on a smart device, determining whether the application is a key application, and performing anti-harassment processing, the harassment problem caused by application notification messages to users is solved, and the convenience and security of the device are improved.

CN119853956APending Publication Date: 2025-04-18江西天珑通讯科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411793930.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

Application notification messages on smart devices harass users, especially the elderly and children. It is difficult to close notification messages and lacks network security awareness. It is easy to induce network routines due to notification messages from bad applications.

Method used

By responding to the received notification message, determine the application that sent the notification message and determine whether the application is a key application. If it is a key application, anti-harassment processing is carried out, including obtaining the frequency of notification sending and detecting the message content, determining whether there are harassment keywords, and closing the notification function of the application if necessary.

Benefits of technology

It reduces the harassment of users by notification messages, reduces the risk of users falling into network routines due to notification messages, and improves the simplicity and convenience of using smart devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119853956A_ABST
    Figure CN119853956A_ABST
Patent Text Reader

Abstract

The invention discloses a notification message processing method, electronic equipment and a storage medium, and the notification message processing method comprises the steps: responding to a received notification message, and determining an application program which sends the notification message; judging whether the application program is a key application program or not; and when the application program is a key application program, carrying out anti-harassment processing on the application program. By means of the mode, harassment caused by the notification message to the user can be reduced, the situation that the user falls into various network routines due to the notification message is reduced, and using conciseness and convenience of the intelligent device are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent interaction, and in particular to a notification message processing method, an electronic device and a storage medium. Background Art

[0002] With the development of technology, the functions of smart devices are becoming more and more diversified, and there are more and more applications installed on smart devices, which leads to an endless stream of notification messages from various applications.

[0003] App notifications bring a lot of convenience to people, but many harassing notifications, such as advertising information and even fraudulent information, also make people very distressed. Especially the elderly and children, who not only do not know how to turn off notifications, but also lack network security awareness, and are easily induced into various network routines by notifications from bad apps. Summary of the invention

[0004] The present invention provides a notification message processing method, electronic device and storage medium to solve the problem of harassment to users by notification messages of application programs.

[0005] To solve the above technical problems, the present invention provides a method for processing notification messages, including: in response to receiving a notification message, determining an application that sends the notification message; judging whether the application is a key application; and when the application is a key application, performing anti-harassment processing on the application.

[0006] Among them, judging whether the application is a key application includes: judging whether the application belongs to a whitelist application; when the application does not belong to a whitelist application, judging whether the application is being used; when the application is not being used, determining that the application is a key application; when the application belongs to a whitelist application, or the application is being used, determining that the application is not a key application.

[0007] Among them, when the application is a key application, anti-harassment processing is performed on the application, including: when the application is a key application, obtaining the notification sending frequency of the application and detecting the message content of the notification message; based on the notification sending frequency of the application and the message content of the notification message, anti-harassment processing is performed on the application.

[0008] Among them, based on the notification sending frequency of the application and the message content of the notification message, anti-harassment processing is performed on the application, including: determining whether the notification sending frequency of the application exceeds the preset frequency; when the notification sending frequency of the application exceeds the preset frequency, detecting whether there are harassment keywords in the message content of the notification message; when there are harassment keywords in the notification message, determining that the notification message is a harassment notification message, and performing anti-harassment processing on the application.

[0009] Among them, anti-harassment processing is performed on the application, including: displaying a pop-up window for closing the notification function of the application to receive a closing instruction of the notification function of the application, and closing the notification function of the application.

[0010] Among them, based on the notification sending frequency of the application and the message content of the notification message, anti-harassment processing is performed on the application, and it also includes: when the notification sending frequency of the application does not exceed the preset frequency, or there is no harassment keyword in the notification message, determining that the notification message is not a harassment notification message; when the notification message is not a harassment notification message, displaying the notification message.

[0011] Among them, anti-harassment processing for applications also includes: in response to a download operation of other applications generated after receiving a click instruction of a notification message, pausing the download operation, and displaying a pop-up window to close the download operation to receive a closing instruction of the download operation and close the download operation.

[0012] In which, in response to receiving a click instruction of the notification message, a page jump operation is generated, and an interception pop-up window for the page jump operation is displayed to receive the interception instruction of the page jump operation and intercept the page jump operation.

[0013] To solve the above technical problems, the present invention further provides an electronic device, which includes: a memory and a processor coupled to each other, and the processor is used to execute program instructions stored in the memory to implement any of the above notification message processing methods.

[0014] In order to solve the above technical problems, the present invention further provides a computer-readable storage medium, which stores program data, and the program data can be executed to implement any of the notification message processing methods described above.

[0015] The beneficial effects of the present invention are as follows: different from the prior art, the present invention determines the application that sends the notification message in response to receiving the notification message; judges whether the application is a key application; when the application is a key application, performs anti-harassment processing on the application, thereby reducing the harassment caused by the notification message to the user, reducing the occurrence of users falling into various network routines due to notification messages, and improving the simplicity and convenience of using smart devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a flowchart of an embodiment of a method for processing a notification message provided by the present invention;

[0017] Figure 2 It is a flowchart of another embodiment of the method for processing a notification message provided by the present invention;

[0018] Figure 3 is a structural schematic diagram of an embodiment of an electronic device provided by the present invention;

[0019] Figure 4 It is a structural schematic diagram of an embodiment of a computer-readable storage medium provided by the present invention. DETAILED DESCRIPTION

[0020] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0021] See also Figure 1 , Figure 1 It is a flowchart of an embodiment of a method for processing notification messages provided by the present invention.

[0022] Step S11: In response to receiving the notification message, determining the application that sends the notification message.

[0023] This embodiment can be applied to a variety of smart devices, including but not limited to mobile phones, tablets, smart watches, smart homes, etc.

[0024] When the smart device receives the notification message, it first determines the application that sent the notification message, that is, determines the source application of the notification message.

[0025] In a specific application scenario, the application sending the notification message can be determined by the application mark on the notification message, or the application sending the notification message can be determined by the data transmission direction of the notification message.

[0026] Step S12: Determine whether the application is a key application.

[0027] Key applications are applications that need to be monitored and are likely to send harassing messages.

[0028] In a specific application scenario, the key application can be determined by monitoring the content of the past notification messages of each application. If a certain application has sent multiple harassment notification messages in the past, the application is determined to be a key application. In a specific application scenario, the blocking of notification messages of each application by other smart devices can be obtained. If the notification messages of a certain application are blocked by a large number of other smart devices, the application is determined to be a key application. The specific method for determining the key application is not limited here.

[0029] When the application is not the focus application, the notification information of the application can be received normally.

[0030] Step S13: When the application is a key application, anti-disturbance processing is performed on the application.

[0031] In a specific application scenario, anti-harassment processing can be to shield notification messages of key applications. In a specific application scenario, anti-harassment processing can be to perform targeted detection on notification messages of key applications, so as to filter and display notification messages based on specific circumstances. In a specific application scenario, anti-harassment processing can also be to display a pop-up window to close the notification function of the application to the user, so as to receive the shutdown instruction of the notification function of the application and close the notification function of the application. The specific processing means for anti-harassment are not limited here.

[0032] Through the above steps, the notification message processing method of this embodiment determines the application that sends the notification message in response to receiving the notification message; determines whether the application is a key application; when the application is a key application, performs anti-harassment processing on the application, thereby reducing the harassment caused by notification messages to users, reducing the occurrence of users falling into various network routines due to notification messages, and improving the simplicity and convenience of using smart devices.

[0033] See also Figure 2 , Figure 2 It is a flowchart of another embodiment of the method for processing notification messages provided by the present invention.

[0034] Step S21: In response to receiving a notification message, determining an application that sends the notification message.

[0035] This step is the same as step S11 in the aforementioned embodiment, please refer to the above text and will not be described again.

[0036] Step S22: Determine whether the application belongs to the whitelist application; when the application does not belong to the whitelist application, determine whether the application is being used; when the application is not being used, determine that the application is a key application.

[0037] Whitelist applications are commonly used and regular applications on the market, privacy applications, or certain applications specified by users. Whitelist applications do not need to be processed for anti-harassment.

[0038] When the application does not belong to the whitelist application, it is further determined whether the application is being used; when the application is not being used, the application is determined to be a key application.

[0039] When a non-whitelist application sends a notification message to a user during a period when the application is not in use, the non-whitelist application is listed as a key application for anti-harassment processing.

[0040] When the application belongs to the whitelist application, or the application is being used when sending the notification message, it is determined that the application is not the focus application.

[0041] Step S23: When the application is a key application, the notification sending frequency of the application is obtained and the message content of the notification message is detected.

[0042] The smart device monitors the notification sending frequency of each application during operation. When an application is determined to be a key application, the notification sending frequency of the application is obtained, and the specific message content of the notification message is obtained.

[0043] Step S24: Based on the notification sending frequency of the application and the message content of the notification message, anti-harassment processing is performed on the application.

[0044] Whether the notification message is a harassment notification message is determined based on the notification sending frequency of the application and the message content of the notification message.

[0045] In a specific application scenario, determine whether the notification sending frequency of the application exceeds the preset frequency; when the notification sending frequency of the application exceeds the preset frequency, detect whether there are harassment keywords in the message content of the notification message; when there are harassment keywords in the notification message, determine that the notification message is a harassment notification message. The preset frequency can be 1 time / day, 2 times / day, etc., which is set based on actual needs. Harassment keywords are related words and phrases such as advertising promotion, application jump, application download, and product payment. For example: "full reduction", "download", "shopping", "payment", "recharge", etc., which are set based on actual conditions and are not limited here.

[0046] When the notification sending frequency of the application is high and the message content of the notification message sent by the application involves harassment keywords, it is determined that the notification information of the application is harassment notification information.

[0047] When the notification message is a harassing notification message, a pop-up window for closing the notification function of the application is displayed to receive the closing instruction of the notification function of the application and close the notification function of the application. When it is determined that the application will send harassing notification information to the user, a pop-up window is popped up to let the user choose whether to close the notification function of the application. The current notification message can be blocked or displayed for the user to judge the necessity of closing the application.

[0048] In a specific application scenario, when the notification sending frequency of the application does not exceed the preset frequency, or there is no harassment keyword in the notification message, it is determined that the notification message is not a harassment notification message; when the notification message is not a harassment notification message, the notification message is displayed, and anti-harassment processing is not performed on the application.

[0049] Step S25: In response to a download operation of other applications being generated after receiving a click instruction of the notification message, the download operation is paused, and a pop-up window for closing the download operation is displayed to receive a closing instruction for the download operation and close the download operation.

[0050] If after the notification message is displayed, when the user clicks on the notification message, the smart terminal generates a download operation of other applications, the download operation is immediately suspended, and a pop-up window for closing the download operation is displayed to receive a download operation closing instruction and close the download operation; if after the download operation closing pop-up window is displayed, no download operation closing instruction is received within the preset time, the download continues. The preset time can be set based on actual needs, such as 10 seconds, 20 seconds, or 30 seconds.

[0051] The display of the notification message includes normal display or display after anti-disturbance processing.

[0052] When the user downloads other applications after clicking on the notification information, this action may be maliciously induced by the notification information and may not be the user's intention. Therefore, the download is paused and a pop-up window is displayed to remind the user that the application is trying to download other applications, and to determine whether the activity needs to be blocked to reduce the forced or malicious installation of other applications, reduce users' traffic consumption and risk of being deceived.

[0053] Step S26: In response to a page jump operation being generated after receiving a click instruction of the notification message, a page jump operation interception pop-up window is displayed to receive an interception instruction of the page jump operation and intercept the page jump operation.

[0054] If the notification message is displayed and the user clicks on the notification message, the smart terminal generates a page jump operation, immediately suspends the page jump operation, and displays an interception pop-up window for the page jump operation to receive the interception instruction of the page jump operation and intercept the page jump operation; if the interception pop-up window is displayed and no interception instruction of the page jump operation is received within the preset time, the page jump operation continues. The preset time can be set based on actual needs, such as 10 seconds, 20 seconds or 30 seconds.

[0055] The display of the notification message includes normal display or display after anti-disturbance processing.

[0056] When the user clicks on a notification message and then redirects the page, this action may be maliciously induced by the notification message and may not be the user's intention. Therefore, the page redirection operation is paused, and a pop-up window is displayed to remind the user that the application is trying to redirect the page and to determine whether the activity needs to be blocked in order to reduce malicious page redirections, reduce user traffic consumption and the risk of being deceived.

[0057] Through the above steps, the notification message processing method of this embodiment can perform anti-harassment processing on notification messages of applications with high notification sending frequency and whose message content involves harassment keywords, thereby effectively reducing the interference of spam messages on users. And the anti-harassment processing is specifically to close the pop-up window by displaying the notification function of the application to receive the closing instruction of the notification function of the application, and close the notification function of the application, thereby simplifying the notification closing function and facilitating the needs of specific groups such as the elderly and children. And this embodiment can also intercept page jumps and application downloads after accidentally clicking on the notification information, reduce the user's traffic consumption and the risk of being deceived, reduce the harassment caused by notification messages to users, reduce the occurrence of users falling into various network routines due to notification messages, and improve the simplicity and convenience of using smart devices.

[0058] Based on the same inventive concept, the present invention also proposes an electronic device, which can be executed to implement the notification message processing method of any of the above embodiments, see Figure 4 , Figure 3 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. The electronic device includes a processor 31 and a memory 32 .

[0059] The processor 31 is used to execute the program instructions stored in the memory 32 to implement the steps of any of the above notification message processing methods. In a specific implementation scenario, the electronic device may include but is not limited to: a microcomputer, a server, and in addition, the electronic device may also include a mobile device such as a laptop computer and a tablet computer, which is not limited here.

[0060] Specifically, the processor 31 is used to control itself and the memory 32 to implement the steps of any of the above embodiments. The processor 31 can also be called a CPU (Central Processing Unit). The processor 31 may be an integrated circuit chip with signal processing capabilities. The processor 31 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 31 can be implemented by an integrated circuit chip.

[0061] The above solution can reduce the harassment caused by notification messages to users, reduce the occurrence of users falling into various network routines due to notification messages, and improve the simplicity and convenience of using smart devices.

[0062] Based on the same inventive concept, the present invention also proposes a computer-readable storage medium, see Figure 4 , Figure 4 4 is a schematic diagram of a computer-readable storage medium according to an embodiment of the present invention. The computer-readable storage medium 40 stores at least one program data 41, and the program data 41 is used to implement any of the above methods. In one embodiment, the computer-readable storage medium 40 includes: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0063] In the several embodiments provided by the present invention, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0064] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0065] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0066] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium.

[0067] The above are only implementation modes of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for processing a notification message, characterized in that: include: In response to receiving the notification message, determining an application that sent the notification message; Determining whether the application is a key application; When the application is a key application, anti-harassment processing is performed on the application.

2. The method for processing a notification message according to claim 1, characterized in that: The determining whether the application is a key application includes: Determining whether the application is a whitelist application; When the application does not belong to the whitelist application, determining whether the application is being used; when the application is not being used, determining the application as a key application; When the application belongs to a whitelist application, or the application is being used, it is determined that the application is not a focus application.

3. The method for processing a notification message according to claim 1 or 2, characterized in that: When the application is a key application, anti-harassment processing is performed on the application, including: When the application is a key application, obtaining a notification sending frequency of the application and detecting a message content of the notification message; Based on the notification sending frequency of the application and the message content of the notification message, anti-harassment processing is performed on the application.

4. The method for processing a notification message according to claim 3, characterized in that: The anti-harassment processing of the application based on the notification sending frequency of the application and the message content of the notification message includes: Determining whether the notification sending frequency of the application exceeds a preset frequency; When the notification sending frequency of the application exceeds a preset frequency, detecting whether there is a harassment keyword in the message content of the notification message; When the harassment keyword exists in the notification message, it is determined that the notification message is a harassment notification message, and anti-harassment processing is performed on the application.

5. The method for processing a notification message according to claim 4, characterized in that: The anti-harassment processing of the application includes: A pop-up window for closing the notification function of the application is displayed to receive a closing instruction for the notification function of the application, and to close the notification function of the application.

6. The method for processing a notification message according to claim 4, characterized in that: The anti-harassment processing of the application based on the notification sending frequency of the application and the message content of the notification message also includes: When the notification sending frequency of the application does not exceed the preset frequency, or the harassment keyword does not exist in the notification message, determining that the notification message is not the harassment notification message; When the notification message is not a harassment notification message, the notification message is displayed.

7. The method for processing a notification message according to claim 2, characterized in that: The anti-harassment processing of the application further includes: In response to a download operation of other applications being generated after receiving a click instruction of the notification message, the download operation is paused, and a pop-up window for closing the download operation is displayed to receive a closing instruction for the download operation and close the download operation.

8. The method for processing a notification message according to claim 2 or 7, characterized in that: The anti-harassment processing of the application further includes: In response to a page jump operation being generated after receiving a click instruction of the notification message, an interception pop-up window of the page jump operation is displayed to receive an interception instruction of the page jump operation and intercept the page jump operation.

9. An electronic device, characterized in that: The electronic device comprises: a memory and a processor coupled to each other, wherein the processor is used to execute program instructions stored in the memory to implement the notification message processing method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program data, and the program data can be executed to implement the notification message processing method according to any one of claims 1 to 8.