[go: up one dir, main page]

CN107835235A - Message push method and device - Google Patents

Message push method and device Download PDF

Info

Publication number
CN107835235A
CN107835235A CN201711028917.2A CN201711028917A CN107835235A CN 107835235 A CN107835235 A CN 107835235A CN 201711028917 A CN201711028917 A CN 201711028917A CN 107835235 A CN107835235 A CN 107835235A
Authority
CN
China
Prior art keywords
push message
application
application program
push
mobile terminal
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
CN201711028917.2A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711028917.2A priority Critical patent/CN107835235A/en
Publication of CN107835235A publication Critical patent/CN107835235A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/75Indicating network or usage conditions on the user display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a message pushing method and a device, comprising the following steps: receiving a push message from an application server in the foreground operation process of a game application program, wherein the application server is an application server corresponding to an application program of the mobile terminal except for the foreground operation application program; detecting whether the push message comprises preset character information or not; and when the push message is detected to comprise the preset character information, displaying the push message in a preset area of a display screen of the mobile terminal. The embodiment of the invention is beneficial to realizing the accuracy of message pushing and reducing the interference of the pushing message to foreground game application.

Description

消息推送方法及装置Message push method and device

技术领域technical field

本发明涉及移动终端技术领域,具体涉及一种消息推送方法及装置。The present invention relates to the technical field of mobile terminals, in particular to a message pushing method and device.

背景技术Background technique

随着智能手机的快速发展,手机成为人们手中的必需品,越来越多的应用被安装在用户手机中,如阅读类应用、支付类应用、游戏类应用、音乐类应用等,其中,游戏类应用是必不可少的应用类型之一。With the rapid development of smart phones, mobile phones have become a necessity in people's hands, and more and more applications are installed in users' mobile phones, such as reading applications, payment applications, game applications, music applications, etc. Among them, game applications App is one of the essential app types.

目前,由于游戏类应用多为对战类应用,人们对游戏类应用的性能需求越来越高,然而,在游戏类应用运行过程中,会存在多个后台应用程序,智能手机会在接收到这些后台应用程序的推送消息后在前台显示,以致干扰用户的对战视角。At present, since game applications are mostly combat applications, people have higher and higher performance requirements for game applications. However, during the running of game applications, there will be multiple background applications. The push message of the background application is displayed in the foreground, so as to interfere with the user's battle perspective.

发明内容Contents of the invention

本申请实施例提供了消息推送方法及装置,可以实现游戏应用程序运行中的推送消息免打扰设置,以及提升应用程序设置的便捷性。The embodiment of the present application provides a message push method and device, which can realize the do-not-disturb setting of the push message during the running of the game application program, and improve the convenience of the application program setting.

第一方面,本申请实施例提供一种消息推送方法,所述方法包括:In the first aspect, the embodiment of the present application provides a message push method, the method comprising:

在游戏应用程序前台运行过程中,接收来自应用服务器的推送消息,所述应用服务器为移动终端的除前台运行的应用程序之外的应用程序对应的应用服务器;During the running process of the game application program in the foreground, a push message from an application server is received, and the application server is an application server corresponding to an application program other than the application program running in the foreground of the mobile terminal;

检测所述推送消息是否包括预设字符信息;Detecting whether the push message includes preset character information;

当检测到所述推送消息中包括所述预设字符信息时,在所述移动终端显示屏的预设区域显示所述推送消息。When it is detected that the push message includes the preset character information, the push message is displayed in a preset area of the display screen of the mobile terminal.

第二方面,本申请实施例提供一种消息推送装置,包括接收单元、检测单元和推送单元,其中,In the second aspect, the embodiment of the present application provides a message push device, including a receiving unit, a detection unit, and a push unit, wherein,

所述接收单元,用于在游戏应用程序前台运行过程中,接收来自应用服务器的推送消息,所述应用服务器为移动终端的除前台运行的应用程序之外的应用程序对应的应用服务器;The receiving unit is configured to receive a push message from an application server during the running of the game application program in the foreground, and the application server is an application server corresponding to an application program other than the application program running in the foreground of the mobile terminal;

所述检测单元,用于检测所述接收单元接收到的所述推送消息是否包括预设字符信息;The detecting unit is configured to detect whether the push message received by the receiving unit includes preset character information;

所述推送单元,用于当所述检测单元检测到所述推送消息中包括所述预设字符信息时,在所述移动终端显示屏的预设区域显示所述推送消息。The push unit is configured to display the push message in a preset area of the display screen of the mobile terminal when the detection unit detects that the push message includes the preset character information.

第三方面,本申请实施例提供一种移动终端,包括处理器、存储器以及程序,其中,所述程序被存储在所述存储器中,所述处理器调用所述程序以执行本申请实施例第一方面任一方法中的步骤的指令。In a third aspect, an embodiment of the present application provides a mobile terminal, including a processor, a memory, and a program, wherein the program is stored in the memory, and the processor invokes the program to execute the first embodiment of the present application. In one aspect instructions for steps in any method.

第四方面,本申请实施例提供了一种计算机可读存储介质,其中,所述计算机可读存储介质存储有程序,其中,所述程序使得计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。In a fourth aspect, the embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a program, wherein the program enables the computer to execute any method according to the first aspect of the embodiment of the present application Some or all of the steps described in .

第五方面,本申请实施例提供了一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable the computer to execute the Part or all of the steps described in any method of the first aspect of the application embodiment. The computer program product may be a software installation package.

可以看出,本申请实施例中,移动终端首先在游戏应用程序前台运行过程中,接收来自应用服务器的推送消息,所述应用服务器为移动终端的除前台运行的应用程序之外的应用程序对应的应用服务器,其次,检测所述推送消息是否包括预设字符信息,最后,当检测到所述推送消息中包括所述预设字符信息时,在所述移动终端显示屏的预设区域显示所述推送消息。可见,移动终端在确认了推送消息中包括预设字符信息后再进行推送消息的前台显示,而不是显示过多的推送消息,即可以避免用户错过重要推送消息,也可以降低推送消息对前台游戏应用的干扰,有利于提升消息推送的准确性。It can be seen that in the embodiment of the present application, the mobile terminal first receives a push message from the application server during the running of the game application program in the foreground, and the application server corresponds to the application program of the mobile terminal other than the application program running in the foreground. secondly, detect whether the push message includes preset character information, and finally, when it is detected that the push message includes the preset character information, display the preset area on the display screen of the mobile terminal to push the message. It can be seen that after confirming that the push message includes preset character information, the mobile terminal displays the push message in the foreground instead of displaying too many push messages, which can prevent the user from missing important push messages and reduce the impact of push messages on the foreground game. Application interference is beneficial to improve the accuracy of message push.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1A是本发明实施例公开的一种消息推送方法的流程示意图;FIG. 1A is a schematic flow diagram of a message push method disclosed in an embodiment of the present invention;

图1B是本申请实施例公开的一种白名单设置界面的示意图;FIG. 1B is a schematic diagram of a whitelist setting interface disclosed in the embodiment of the present application;

图2是本发明实施例公开的另一种消息推送方法的流程示意图;Fig. 2 is a schematic flow chart of another message pushing method disclosed in the embodiment of the present invention;

图3是本发明实施例公开的另一种消息推送方法的流程示意图;Fig. 3 is a schematic flowchart of another method for pushing messages disclosed in an embodiment of the present invention;

图4是本发明实施例公开的一种移动终端的结构示意图;FIG. 4 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present invention;

图5是本发明实施例公开的一种移动终端的功能单元组成框图;FIG. 5 is a block diagram of functional units of a mobile terminal disclosed in an embodiment of the present invention;

图6是本发明实施例公开的一种智能手机的结构示意图。Fig. 6 is a schematic structural diagram of a smart phone disclosed by an embodiment of the present invention.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or devices.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present invention. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.

本发明实施例所涉及到的移动终端可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminaldevice)等等。为方便描述,上面提到的设备统称为移动终端。下面对本发明实施例进行详细介绍。The mobile terminals involved in the embodiments of the present invention may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems, as well as various forms of user equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device) and so on. For convenience of description, the devices mentioned above are collectively referred to as mobile terminals. The following describes the embodiments of the present invention in detail.

请参阅图1A,图1A是本发明实施例提供了一种消息推送方法的流程示意图,如图所示,本消息推送方法包括:Please refer to FIG. 1A. FIG. 1A is a schematic flowchart of a message push method provided by an embodiment of the present invention. As shown in the figure, the message push method includes:

S101,移动终端在游戏应用程序前台运行过程中,接收来自应用服务器的推送消息,所述应用服务器为移动终端的除前台运行的应用程序之外的应用程序对应的应用服务器;S101, the mobile terminal receives a push message from an application server while the game application program is running in the foreground, and the application server is an application server corresponding to an application program of the mobile terminal other than the application program running in the foreground;

其中,所述游戏应用程序前台运行表示所述移动终端的触控显示屏当前显示的应用为该游戏应用程序,即用户当前操作控制的应用程序为该游戏应用程序。Wherein, the game application program running in the foreground indicates that the application currently displayed on the touch screen of the mobile terminal is the game application program, that is, the application program currently operated and controlled by the user is the game application program.

其中,所述游戏应用程序可以为任意一个游戏类应用程序。Wherein, the game application program may be any game application program.

其中,所述移动终端的每个应用程序都连接着关联的应用服务器,所述应用服务器会给应用程序发送推送消息,由所述移动终端接收。Wherein, each application program of the mobile terminal is connected to an associated application server, and the application server sends a push message to the application program, which is received by the mobile terminal.

S102,所述移动终端检测所述推送消息是否包括预设字符信息;S102. The mobile terminal detects whether the push message includes preset character information;

其中,所述预设字符信息可以是包括预设关键词信息或者预设数字信息,所述预设关键词可以是“重要”,“速回”,“紧急”等,所述预设数字可以是三位数以上的数字,例如验证码,金钱数额等。Wherein, the preset character information may include preset keyword information or preset number information, and the preset keyword may be "important", "quick return", "urgent", etc., and the preset number may be It is a number with more than three digits, such as verification code, money amount, etc.

其中,检测所述推送消息是否包括预设字符信息的具体实现方式可以是检测所述推送消息中是否包括预设关键词和预设数字。Wherein, a specific implementation manner of detecting whether the push message includes preset character information may be detecting whether the push message includes preset keywords and preset numbers.

S103,所述移动终端当检测到所述推送消息中包括所述预设字符信息时,在所述移动终端显示屏的预设区域显示所述推送消息。S103. When the mobile terminal detects that the push message includes the preset character information, display the push message in a preset area of the display screen of the mobile terminal.

其中,所述预设区域可以为动态区域,即所述预设区域不是固定不变的,所述预设区域可以根据所述游戏应用程序当前的显示界面实时变更,变更为不影响用户操作观看的区域,例如,当前游戏应用程序的运行场景为对战场景,而对战场景的位置为显示屏的左上角,那么该预设区域则可以设置为显示屏的右上角。Wherein, the preset area can be a dynamic area, that is, the preset area is not fixed, and the preset area can be changed in real time according to the current display interface of the game application program so as not to affect the user's operation and viewing. For example, if the running scene of the current game application is a battle scene, and the position of the battle scene is the upper left corner of the display screen, then the preset area can be set as the upper right corner of the display screen.

其中,所述检测到所述推送消息中包括所述预设字符信息为检测到所述推送消息中包括任意一个所述预设字符信息。Wherein, the detecting that the push message includes the preset character information is detecting that the push message includes any one of the preset character information.

可以看出,本发明实施例中,移动终端首先在游戏应用程序前台运行过程中,接收来自应用服务器的推送消息,所述应用服务器为移动终端的除前台运行的应用程序之外的应用程序对应的应用服务器,其次,检测所述推送消息是否包括预设字符信息,最后,当检测到所述推送消息中包括所述预设字符信息时,在所述移动终端显示屏的预设区域显示所述推送消息。可见,移动终端在确认了推送消息中包括预设字符信息后再进行推送消息的前台显示,而不是显示过多的推送消息,即可以避免用户错过重要推送消息,也可以降低推送消息对前台游戏应用的干扰,有利于提升消息推送的准确性。It can be seen that in the embodiment of the present invention, the mobile terminal first receives a push message from the application server during the running of the game application program in the foreground, and the application server is the corresponding application program of the mobile terminal other than the application program running in the foreground. secondly, detect whether the push message includes preset character information, and finally, when it is detected that the push message includes the preset character information, display the preset area on the display screen of the mobile terminal to push the message. It can be seen that after confirming that the push message includes preset character information, the mobile terminal displays the push message in the foreground instead of displaying too many push messages, which can prevent the user from missing important push messages and reduce the impact of push messages on the foreground game. Application interference is beneficial to improve the accuracy of message push.

在一个可能的示例中,所述检测所述推送消息是否包括预设字符信息,包括:In a possible example, the detecting whether the push message includes preset character information includes:

确定所述推送消息对应的目标应用程序;determining the target application program corresponding to the push message;

判断所述目标应用程序是否为所述游戏应用程序对应的白名单中的应用程序;Judging whether the target application program is an application program in the white list corresponding to the game application program;

当判断出所述目标应用程序为所述白名单中的应用程序时,检测所述推送消息是否包括所述预设字符信息。When it is determined that the target application program is an application program in the white list, it is detected whether the push message includes the preset character information.

其中,确定所述推送消息对应的目标应用程序的具体是现实方式为确定发送所述推送消息的应用服务器,根据所述应用服务器确定关联的所述目标应用程序。Wherein, a specific practical manner of determining the target application program corresponding to the push message is to determine the application server sending the push message, and determine the associated target application program according to the application server.

其中,每个游戏应用程序对应一个白名单,所述白名单为所述游戏应用程序前台运行过程中允许将应用程序关联的推送消息推送至前台显示的应用程序名单,所述白名单中包括由用户设置的白名单应用程序,也包括由系统设置的白名单应用程序。Wherein, each game application corresponds to a white list, and the white list is a list of applications that are allowed to push push messages associated with the application to the foreground display during the foreground running process of the game application, and the white list includes The whitelist applications set by the user also include the whitelist applications set by the system.

其中,若判断出所述目标应用程序不是所述白名单中的应用程序时,不将所述推送消息推送至前台显示。Wherein, if it is determined that the target application program is not an application program in the white list, the push message is not pushed to the foreground for display.

可见,本示例中,移动终端首先确定推送消息关联的目标应用程序是否为白名单中的应用程序,当确定了所述目标应用程序为白名单中的应用程序以后,检测所述推送消息中是否包括预设字符信息,而不仅仅只是判断推送消息中是否包含预设字符信息,增加了白名单的约束条件,符合用户的需求,有利于进一步降低推送消息对前台应用程序的干扰。It can be seen that in this example, the mobile terminal first determines whether the target application program associated with the push message is an application program in the white list, and after determining that the target application program is an application program in the white list, detects whether the target application program in the push message is Including preset character information, not just judging whether the push message contains preset character information, increases the constraints of the white list, meets the needs of users, and helps to further reduce the interference of push messages on foreground applications.

在一个可能的示例中,所述检测所述推送消息是否包括预设字符信息,包括:In a possible example, the detecting whether the push message includes preset character information includes:

确定所述推送消息对应的目标应用程序;determining the target application program corresponding to the push message;

判断所述目标应用程序是否为所述游戏应用程序对应的白名单中的应用程序;Judging whether the target application program is an application program in the white list corresponding to the game application program;

当判断出所述目标应用程序不是所述白名单中的应用程序时,检测所述推送消息是否包括所述预设字符信息。When it is determined that the target application program is not an application program in the white list, it is detected whether the push message includes the preset character information.

其中,当判断出所述目标应用程序是所述白名单中的应用程序时,不需要检测所述推送消息是否包括预设字符信息,直接推送所述推送消息至前台显示。Wherein, when it is determined that the target application program is an application program in the white list, there is no need to detect whether the push message includes preset character information, and the push message is directly pushed to the foreground for display.

可见,本示例中,移动终端首先确定推送消息关联的目标应用程序是否为白名单中的应用程序,当确定了所述目标应用程序不是白名单中的应用程序以后,检测所述推送消息中是否包括预设字符信息,而不仅仅只是判断目标应用程序不是白名单中的应用程序以后便不在前台显示该推送消息,有利于避免错失重要消息的情况,提升了消息推送的准确性。It can be seen that in this example, the mobile terminal first determines whether the target application program associated with the push message is an application program in the white list, and after determining that the target application program is not an application program in the white list, detects whether the target application program in the push message is Including preset character information, instead of just judging that the target application is not an application in the white list, the push message will not be displayed in the foreground, which is beneficial to avoid missing important messages and improves the accuracy of message push.

在一个可能的示例中,所述检测所述推送消息是否包括预设字符信息之后,所述方法还包括:In a possible example, after detecting whether the push message includes preset character information, the method further includes:

当检测到所述推送消息中不包括所述预设字符信息时,拒绝前台显示所述推送消息;When it is detected that the preset character information is not included in the push message, refusing to display the push message at the foreground;

当检测到所述游戏应用程序退出前台运行时,在所述移动终端显示屏的所述预设区域显示所述推送消息。When it is detected that the game application exits the foreground operation, the push message is displayed in the preset area of the display screen of the mobile terminal.

其中,所述检测到所述游戏应用程序退出前台运行,为检测到退出所述游戏应用程序的触控操作。Wherein, the detecting that the game application exits the foreground operation is detecting a touch operation for exiting the game application.

可见,本示例中,移动终端在拒绝前台显示推送消息以后,且检测到游戏应用程序退出前台运行时,在预设区域显示所述推送消息,及时提醒用户查看该推送消息,有利于提升移动终端消息推送的及时性,避免用户错失任何一条推送消息。It can be seen that in this example, after the mobile terminal refuses to display the push message in the foreground, and detects that the game application exits the foreground, the push message is displayed in the preset area, and the user is reminded to check the push message in time, which is conducive to improving the performance of the mobile terminal. The timeliness of message push prevents users from missing any push message.

在一个可能的示例中,所述方法还包括:In a possible example, the method also includes:

当检测到针对所述白名单设置界面的触发操作时,显示所述设置界面,所述设置界面中包括多个应用程序的应用图标集合,每个所述应用图标上显示影响因子,所述影响因子用于指示对应的应用程序对所述游戏应用程序的影响;When a trigger operation for the whitelist setting interface is detected, the setting interface is displayed, the setting interface includes a collection of application icons of multiple application programs, each of the application icons displays an influence factor, and the influence factor is displayed on each application icon. The factor is used to indicate the impact of the corresponding application on the game application;

接收根据所述影响因子确定的针对所述多个应用程序的第一设置指令;receiving first setting instructions for the plurality of application programs determined according to the impact factors;

将所述第一设置指令中指示的应用程序加入黑名单。adding the application program indicated in the first setting instruction to a blacklist.

其中,所述白名单设置界面可以如图1B所示,用户可以将需要设置为黑名单的应用程序拖动至显示屏下方区域,点击确认加入黑名单后,由移动终端将对应的应用程序加入黑名单,所述影响因子为对应的应用程序对所述游戏应用程度在系统资源占用方面的影响,所述影响因子大则表示对所述游戏应用程序的影响大,所述影响因子小则表示对所述游戏应用程序的影响小,所述影响因子可以为技术人员根据经验参数预设置的,或者可以是所述移动终端根据历史使用数据得到的,在此不作唯一限定。Wherein, the whitelist setting interface can be as shown in Figure 1B, the user can drag the application program that needs to be set as the blacklist to the area below the display screen, and after clicking Confirm to add the blacklist, the corresponding application program will be added by the mobile terminal. Blacklist, the impact factor is the impact of the corresponding application program on the game application level in terms of system resource occupation, the greater the impact factor, the greater the impact on the game application, and the smaller the impact factor is The impact on the game application is small, and the impact factor may be preset by a technician based on empirical parameters, or may be obtained by the mobile terminal based on historical usage data, which is not uniquely limited here.

其中,所述第一设置指令可以是语音设置指令,或者可以是按压设置指令,或者可以是相关拖动操作的设置指令等,在此不作唯一限定。Wherein, the first setting instruction may be a voice setting instruction, or may be a pressing setting instruction, or may be a setting instruction related to a drag operation, etc., and is not limited herein.

其中,所述第一设置指令中包括相应的应用程序的应用名称标识,所述移动终端根据所述应用名称标识确定需要加入所述黑名单的应用程序。Wherein, the first setting instruction includes the application name identifier of the corresponding application program, and the mobile terminal determines the application program that needs to be added to the blacklist according to the application name identifier.

可见,本示例中,移动终端在白名单设置界面显示多个应用程序的应用图标集合,并在每个应用图标上显示对应的应用程序的影响因子供用户参考,有利于提升白名单的准确性,进而提升消息推送的准确性。It can be seen that in this example, the mobile terminal displays a collection of application icons of multiple applications on the whitelist setting interface, and displays the impact factor of the corresponding application on each application icon for user reference, which is conducive to improving the accuracy of the whitelist , thereby improving the accuracy of message push.

在这个可能的示例中,所述将所述第一设置指令中指示的应用程序加入黑名单之后,所述方法还包括:In this possible example, after adding the application indicated in the first setting instruction to the blacklist, the method further includes:

获取所述白名单中符合预设类型的应用程序中的联系人信息;Obtaining contact information in the application in the whitelist that meets the preset type;

接收针对所述联系人信息的第二设置指令,所述第二设置指令用于指示所述联系人的推送消息等级;receiving a second setting instruction for the contact information, where the second setting instruction is used to indicate the push message level of the contact;

根据所述第二设置指令设置对应联系人的所述推送消息等级。The push message level of the corresponding contact is set according to the second setting instruction.

其中,所述预设类型为交互类型,即包含联系人信息的应用类型,例如“电话”、“信息”、“联系人”等应用。Wherein, the preset type is an interactive type, that is, an application type including contact information, such as applications such as "telephone", "message", and "contact".

其中,所述第二设置指令可以是语音设置指令,或者可以是相关拖动操作的设置指令等,在此不作唯一限定。Wherein, the second setting instruction may be a voice setting instruction, or may be a setting instruction related to a drag operation, etc., which is not limited herein.

其中,所述第二设置指令中包括相应的联系人标识,所述移动终端根据所述联系人标识确定需要对应联系人的推送消息等级。Wherein, the second setting instruction includes a corresponding contact identifier, and the mobile terminal determines a push message level that requires a corresponding contact according to the contact identifier.

其中,所述推送消息等级可以分为高级,中级,和低级等,也可以分为一级、二级、三级等,一级高于二级高于三级,例如,可以将父母设置为一级,朋友设置为二级,长时间不联系的人设置为三级等。Wherein, the push message level can be divided into high level, medium level, and low level, etc., and can also be divided into level one, level two, level three, etc., and level one is higher than level two and level three is higher than level three. For example, parents can be set as Level 1, friends are set to level 2, people who have not been in touch for a long time are set to level 3, etc.

其中,所述联系人的推送消息等级也可以由移动终端根据历史使用信息进行设置,例如,将联系人根据联系的频率进行推送消息等级设置等。Wherein, the push message level of the contact may also be set by the mobile terminal according to historical usage information, for example, setting the push message level of the contact according to the contact frequency.

可见,本示例中,移动终端在设置了黑白名单之后,将白名单中符合预设类型的应用程序中的联系人进行推送消息等级的分类,而不是将所有的白名单均分为一个类别,有利于进一步的提升推送消息的标准,降低无用消息推送的概率。It can be seen that in this example, after setting the black and white lists, the mobile terminal will classify the contacts in the application programs that meet the preset types in the white list, instead of dividing all the white lists into one category. It is conducive to further improving the standard of push messages and reducing the probability of useless message pushes.

在一个可能的示例中,所述当判断出所述目标应用程序为所述白名单中的应用程序时,检测所述推送消息是否包括所述预设字符信息,包括:In a possible example, when it is determined that the target application program is an application program in the white list, detecting whether the push message includes the preset character information includes:

当判断出所述目标应用程序属于所述白名单中的应用程序,且所述目标应用程序属于所述预设类型时,确定所述游戏应用程序的所述推送消息等级;When it is determined that the target application program belongs to the application programs in the white list, and the target application program belongs to the preset type, determine the push message level of the game application program;

获取发送所述推送消息的联系人的所述推送消息等级;Acquiring the push message level of the contact who sent the push message;

当所述联系人的所述推送消息等级高于或者等于所述游戏应用程序的所述推送消息等级时,检测所述推送消息中是否包括所述预设字符信息。When the push message level of the contact is higher than or equal to the push message level of the game application, it is detected whether the preset character information is included in the push message.

其中,所述游戏应用程序的推送消息等级由用户预设置。Wherein, the push message level of the game application is preset by the user.

其中,当所述联系人的所述推送消息等级低于所述游戏应用程序的所述推送消息等级时,不将所述推送消息推送至前台显示。Wherein, when the level of the push message of the contact is lower than the level of the push message of the game application, the push message is not pushed to the foreground for display.

可见,本示例中,移动终端在确定了目标应用程序为白名单中的应用程序时,首先确定游戏应用程序的消息推送等级和联系人的消息推送等级,当联系人的消息推送等级满足推送条件时,再进行预设字符信息的检测,避免了应用程序属于白名单,但是联系人的推送消息较低的时候也进行消息推送浪费系统资源的情况,有利于进一步降低推送消息对游戏应用程序的干扰。It can be seen that in this example, when the mobile terminal determines that the target application is an application in the white list, it first determines the message push level of the game application and the message push level of the contact, and when the message push level of the contact meets the push condition When the default character information is detected, it avoids the situation that the application belongs to the white list, but when the push message of the contact is low, the message push wastes system resources, which is conducive to further reducing the impact of the push message on the game application. interference.

与所述图1A所示的实施例一致的,请参阅图2,图2是本发明实施例提供的另一种消息推送方法的流程示意图,如图所示,本消息推送方法包括:Consistent with the embodiment shown in FIG. 1A, please refer to FIG. 2. FIG. 2 is a schematic flowchart of another message push method provided by an embodiment of the present invention. As shown in the figure, this message push method includes:

S201,移动终端当检测到针对白名单设置界面的触发操作时,显示所述设置界面,所述设置界面中包括多个应用程序的应用图标集合;S201. When the mobile terminal detects a trigger operation on the whitelist setting interface, display the setting interface, where the setting interface includes a set of application icons of multiple application programs;

其中,每个所述应用图标上显示影响因子,所述影响因子用于指示对应的应用程序对所述游戏应用程序的影响。Wherein, an influence factor is displayed on each application icon, and the influence factor is used to indicate the influence of the corresponding application program on the game application program.

S202,所述移动终端接收根据影响因子确定的针对所述多个应用程序的第一设置指令;S202. The mobile terminal receives first setting instructions for the multiple application programs determined according to the influence factors;

S203,所述移动终端将所述第一设置指令中指示的应用程序加入黑名单;S203. The mobile terminal adds the application program indicated in the first setting instruction to a blacklist;

S204,所述移动终端获取所述白名单中符合预设类型的应用程序中的联系人信息;S204, the mobile terminal acquires contact information in the application programs that meet the preset type in the white list;

S205,所述移动终端接收针对所述联系人信息的第二设置指令;S205. The mobile terminal receives a second setting instruction for the contact information;

其中,所述第二设置指令用于指示所述联系人的推送消息等级。Wherein, the second setting instruction is used to indicate the push message level of the contact.

S206,所述移动终端根据所述第二设置指令设置对应联系人的所述推送消息等级;S206. The mobile terminal sets the push message level of the corresponding contact according to the second setting instruction;

S207,所述移动终端在游戏应用程序前台运行过程中,接收来自应用服务器的推送消息;S207, the mobile terminal receives a push message from the application server during the running of the game application program in the foreground;

其中,所述应用服务器为移动终端的除前台运行的应用程序之外的应用程序对应的应用服务器。Wherein, the application server is an application server corresponding to an application program of the mobile terminal other than the application program running in the foreground.

S208,所述移动终端确定所述推送消息对应的目标应用程序;S208. The mobile terminal determines a target application program corresponding to the push message;

S209,所述移动终端判断所述目标应用程序是否为所述游戏应用程序对应的白名单中的应用程序;S209, the mobile terminal judges whether the target application program is an application program in the white list corresponding to the game application program;

S210,所述移动终端当判断出所述目标应用程序属于所述白名单中的应用程序,且所述目标应用程序属于所述预设类型时,确定所述游戏应用程序的所述推送消息等级;S210, when the mobile terminal determines that the target application program belongs to the application programs in the white list, and the target application program belongs to the preset type, determine the push message level of the game application program ;

S211,所述移动终端获取发送所述推送消息的联系人的所述推送消息等级;S211. The mobile terminal acquires the push message level of the contact who sent the push message;

S212,所述移动终端当所述联系人的所述推送消息等级高于或者等于所述游戏应用程序的所述推送消息等级时,检测所述推送消息中是否包括预设字符信息;S212. When the push message level of the contact is higher than or equal to the push message level of the game application, the mobile terminal detects whether preset character information is included in the push message;

S213,所述移动终端当检测到所述推送消息中包括所述预设字符信息时,在所述移动终端显示屏的预设区域显示所述推送消息。S213. When the mobile terminal detects that the preset character information is included in the push message, display the push message in a preset area of the display screen of the mobile terminal.

可以看出,本发明实施例中,移动终端首先在游戏应用程序前台运行过程中,接收来自应用服务器的推送消息,所述应用服务器为移动终端的除前台运行的应用程序之外的应用程序对应的应用服务器,其次,检测所述推送消息是否包括预设字符信息,最后,当检测到所述推送消息中包括所述预设字符信息时,在所述移动终端显示屏的预设区域显示所述推送消息。可见,移动终端在确认了推送消息中包括预设字符信息后再进行推送消息的前台显示,而不是显示过多的推送消息,即可以避免用户错过重要推送消息,也可以降低推送消息对前台游戏应用的干扰,有利于提升消息推送的准确性。It can be seen that in the embodiment of the present invention, the mobile terminal first receives a push message from the application server during the running of the game application program in the foreground, and the application server is the corresponding application program of the mobile terminal other than the application program running in the foreground. secondly, detect whether the push message includes preset character information, and finally, when it is detected that the push message includes the preset character information, display the preset area on the display screen of the mobile terminal to push the message. It can be seen that after confirming that the push message includes preset character information, the mobile terminal displays the push message in the foreground instead of displaying too many push messages, which can prevent the user from missing important push messages and reduce the impact of push messages on the foreground game. Application interference is beneficial to improve the accuracy of message push.

此外,移动终端在白名单设置界面显示多个应用程序的应用图标集合,并在每个应用图标上显示对应的应用程序的影响因子供用户参考,有利于提升白名单的准确性,进而提升消息推送的准确性,并在设置了黑白名单之后,将白名单中符合预设类型的应用程序中的联系人进行推送消息等级的分类,而不是将所有的白名单均分为一个类别,有利于进一步的提升推送消息的标准,降低无用消息推送的概率。In addition, the mobile terminal displays a set of application icons of multiple applications on the whitelist setting interface, and displays the impact factor of the corresponding application on each application icon for user reference, which is conducive to improving the accuracy of the whitelist, thereby improving the information. The accuracy of the push, and after setting the black and white lists, classify the contacts in the application that meet the preset types in the white list, instead of dividing all the white lists into one category, which is beneficial Further improve the standard of push messages and reduce the probability of useless message pushes.

此外,移动终端首先确定推送消息关联的目标应用程序是否为白名单中的应用程序,当确定了所述目标应用程序为白名单中的应用程序以后,检测所述推送消息中是否包括预设字符信息,而不仅仅只是判断推送消息中是否包含预设字符信息,增加了白名单的约束条件,符合用户的需求,有利于进一步降低推送消息对前台应用程序的干扰,而且,在确定了目标应用程序为白名单中的应用程序时,首先确定游戏应用程序的消息推送等级和联系人的消息推送等级,当联系人的消息推送等级满足推送条件时,再进行预设字符信息的检测,避免了应用程序属于白名单,但是联系人的推送消息较低的时候也进行消息推送浪费系统资源的情况,有利于进一步降低推送消息对游戏应用程序的干扰。In addition, the mobile terminal first determines whether the target application program associated with the push message is an application program in the white list, and after determining that the target application program is an application program in the white list, detects whether the push message includes preset characters Information, instead of just judging whether the push message contains preset character information, it increases the constraints of the whitelist, meets the needs of users, and helps to further reduce the interference of push messages on the foreground application. Moreover, after determining the target application When the program is an application in the white list, first determine the message push level of the game application and the message push level of the contact, and when the message push level of the contact meets the push condition, the detection of the preset character information is performed, avoiding The application belongs to the white list, but when the push message of the contact is low, it wastes system resources by pushing the message, which is beneficial to further reduce the interference of the push message to the game application.

与所述图1A所示的实施例一致的,请参阅图3,图3是本发明实施例提供的另一种消息推送方法的流程示意图,如图所示,本消息推送方法包括:Consistent with the embodiment shown in FIG. 1A, please refer to FIG. 3. FIG. 3 is a schematic flowchart of another message push method provided by an embodiment of the present invention. As shown in the figure, this message push method includes:

S301,移动终端在游戏应用程序前台运行过程中,接收来自应用服务器的推送消息;S301. The mobile terminal receives a push message from the application server while the game application program is running in the foreground;

其中,所述应用服务器为移动终端的除前台运行的应用程序之外的应用程序对应的应用服务器。Wherein, the application server is an application server corresponding to an application program of the mobile terminal other than the application program running in the foreground.

S302,所述移动终端确定所述推送消息对应的目标应用程序;S302. The mobile terminal determines a target application program corresponding to the push message;

S303,所述移动终端判断所述目标应用程序是否为所述游戏应用程序对应的白名单中的应用程序;S303, the mobile terminal judges whether the target application program is an application program in the white list corresponding to the game application program;

S304,所述移动终端当判断出所述目标应用程序不是所述白名单中的应用程序时,检测所述推送消息是否包括预设字符信息;S304. When the mobile terminal determines that the target application program is not an application program in the white list, detect whether the push message includes preset character information;

S305,所述移动终端当检测到所述推送消息中包括所述预设字符信息时,在所述移动终端显示屏的预设区域显示所述推送消息。S305. When the mobile terminal detects that the push message includes the preset character information, display the push message in a preset area of the display screen of the mobile terminal.

其中,当检测到所述推送消息中不包括所述预设字符信息时,拒绝前台显示所述推送消息;当检测到所述游戏应用程序退出前台运行时,在所述移动终端显示屏的所述预设区域显示所述推送消息。Wherein, when it is detected that the push message does not include the preset character information, the foreground is refused to display the push message; The push message is displayed in the preset area.

可以看出,本发明实施例中,移动终端首先在游戏应用程序前台运行过程中,接收来自应用服务器的推送消息,所述应用服务器为移动终端的除前台运行的应用程序之外的应用程序对应的应用服务器,其次,检测所述推送消息是否包括预设字符信息,最后,当检测到所述推送消息中包括所述预设字符信息时,在所述移动终端显示屏的预设区域显示所述推送消息。可见,移动终端在确认了推送消息中包括预设字符信息后再进行推送消息的前台显示,而不是显示过多的推送消息,即可以避免用户错过重要推送消息,也可以降低推送消息对前台游戏应用的干扰,有利于提升消息推送的准确性。It can be seen that in the embodiment of the present invention, the mobile terminal first receives a push message from the application server during the running of the game application program in the foreground, and the application server is the corresponding application program of the mobile terminal other than the application program running in the foreground. secondly, detect whether the push message includes preset character information, and finally, when it is detected that the push message includes the preset character information, display the preset area on the display screen of the mobile terminal to push the message. It can be seen that after confirming that the push message includes preset character information, the mobile terminal displays the push message in the foreground instead of displaying too many push messages, which can prevent the user from missing important push messages and reduce the impact of push messages on the foreground game. Application interference is beneficial to improve the accuracy of message push.

此外,移动终端首先确定推送消息关联的目标应用程序是否为白名单中的应用程序,当确定了所述目标应用程序不是白名单中的应用程序以后,检测所述推送消息中是否包括预设字符信息,而不仅仅只是判断目标应用程序不是白名单中的应用程序以后便不在前台显示该推送消息,有利于避免错失重要消息的情况,提升了消息推送的准确性。In addition, the mobile terminal first determines whether the target application program associated with the push message is an application program in the white list, and after determining that the target application program is not an application program in the white list, detects whether the push message includes preset characters information, instead of just judging that the target application is not an application in the white list, the push message will not be displayed in the foreground, which will help avoid missing important messages and improve the accuracy of message push.

与所述图1A、图2、图3所示的实施例一致的,请参阅图4,图4是本申请实施例提供的一种移动终端的结构示意图,该移动终端运行有一个或多个应用程序和操作系统,如图所示,该移动终端包括处理器、存储器、通信接口以及一个或多个程序,其中,所述一个或多个程序不同于所述一个或多个应用程序,且所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行以下步骤的指令;Consistent with the embodiments shown in FIG. 1A, FIG. 2, and FIG. 3, please refer to FIG. 4. FIG. 4 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present application. Application program and operating system, as shown in the figure, the mobile terminal includes a processor, a memory, a communication interface and one or more programs, wherein the one or more programs are different from the one or more application programs, and The one or more programs are stored in the memory and configured to be executed by the processor, the programs including instructions for performing the following steps;

在游戏应用程序前台运行过程中,接收来自应用服务器的推送消息,所述应用服务器为移动终端的除前台运行的应用程序之外的应用程序对应的应用服务器;During the running process of the game application program in the foreground, a push message from an application server is received, and the application server is an application server corresponding to an application program other than the application program running in the foreground of the mobile terminal;

检测所述推送消息是否包括预设字符信息;Detecting whether the push message includes preset character information;

当检测到所述推送消息中包括所述预设字符信息时,在所述移动终端显示屏的预设区域显示所述推送消息。When it is detected that the push message includes the preset character information, the push message is displayed in a preset area of the display screen of the mobile terminal.

可以看出,本申请实施例中,移动终端首先在游戏应用程序前台运行过程中,接收来自应用服务器的推送消息,所述应用服务器为移动终端的除前台运行的应用程序之外的应用程序对应的应用服务器,其次,检测所述推送消息是否包括预设字符信息,最后,当检测到所述推送消息中包括所述预设字符信息时,在所述移动终端显示屏的预设区域显示所述推送消息。可见,移动终端在确认了推送消息中包括预设字符信息后再进行推送消息的前台显示,而不是显示过多的推送消息,即可以避免用户错过重要推送消息,也可以降低推送消息对前台游戏应用的干扰,有利于提升消息推送的准确性。It can be seen that in the embodiment of the present application, the mobile terminal first receives a push message from the application server during the running of the game application program in the foreground, and the application server corresponds to the application program of the mobile terminal other than the application program running in the foreground. secondly, detect whether the push message includes preset character information, and finally, when it is detected that the push message includes the preset character information, display the preset area on the display screen of the mobile terminal to push the message. It can be seen that after confirming that the push message includes preset character information, the mobile terminal displays the push message in the foreground instead of displaying too many push messages, which can prevent the user from missing important push messages and reduce the impact of push messages on the foreground game. Application interference is beneficial to improve the accuracy of message push.

在一个可能的示例中,在所述检测所述推送消息是否包括预设字符信息方面,所述程序中的指令具体用于执行以下操作:确定所述推送消息对应的目标应用程序;以及用于判断所述目标应用程序是否为所述游戏应用程序对应的白名单中的应用程序;以及用于当判断出所述目标应用程序为所述白名单中的应用程序时,检测所述推送消息是否包括所述预设字符信息。In a possible example, in terms of detecting whether the push message includes preset character information, the instructions in the program are specifically used to perform the following operations: determine the target application program corresponding to the push message; and judging whether the target application program is an application program in the white list corresponding to the game application program; and for detecting whether the push message is Including the preset character information.

在一个可能的示例中,在所述检测所述推送消息是否包括预设字符信息方面,所述程序中的指令具体用于执行以下操作:确定所述推送消息对应的目标应用程序;以及用于判断所述目标应用程序是否为所述游戏应用程序对应的白名单中的应用程序;以及用于当判断出所述目标应用程序不是所述白名单中的应用程序时,检测所述推送消息是否包括所述预设字符信息。In a possible example, in terms of detecting whether the push message includes preset character information, the instructions in the program are specifically used to perform the following operations: determine the target application program corresponding to the push message; and judging whether the target application program is an application program in the white list corresponding to the game application program; and used for detecting whether the push message is Including the preset character information.

在一个可能的示例中,所述程序还包括用于执行以下步骤的指令:所述检测所述推送消息是否包括预设字符信息之后,当检测到所述推送消息中不包括所述预设字符信息时,拒绝前台显示所述推送消息;以及当检测到所述游戏应用程序退出前台运行时,在所述移动终端显示屏的所述预设区域显示所述推送消息。In a possible example, the program further includes instructions for performing the following steps: after detecting whether the push message includes preset character information, when it is detected that the push message does not include the preset character information information, denying the push message to be displayed in the foreground; and displaying the push message in the preset area of the display screen of the mobile terminal when it is detected that the game application exits the foreground.

在一个可能的示例中,所述程序还包括用于执行以下步骤的指令:当检测到针对所述白名单设置界面的触发操作时,显示所述设置界面,所述设置界面中包括多个应用程序的应用图标集合,每个所述应用图标上显示影响因子,所述影响因子用于指示对应的应用程序对所述游戏应用程序的影响;以及接收根据所述影响因子确定的针对所述多个应用程序的第一设置指令;以及将所述第一设置指令中指示的应用程序加入黑名单。In a possible example, the program further includes an instruction for performing the following steps: when a trigger operation on the whitelist setting interface is detected, display the setting interface, and the setting interface includes a plurality of applications A collection of application icons of the program, each of the application icons displays an impact factor, the impact factor is used to indicate the impact of the corresponding application program on the game application program; a first setting instruction of an application; and adding the application indicated in the first setting instruction to a blacklist.

在这个可能的示例中,所述程序还包括用于执行以下步骤的指令:所述将所述第一设置指令中指示的应用程序加入黑名单之后,获取所述白名单中符合预设类型的应用程序中的联系人信息;以及接收针对所述联系人信息的第二设置指令,所述第二设置指令用于指示所述联系人的推送消息等级;以及根据所述第二设置指令设置对应联系人的所述推送消息等级。In this possible example, the program further includes an instruction for performing the following steps: after adding the application program indicated in the first setting instruction to the blacklist, obtain the application program in the whitelist that meets the preset type Contact information in the application program; and receiving a second setting instruction for the contact information, the second setting instruction is used to indicate the push message level of the contact; and setting the corresponding The push message rating of the contact.

在一个可能的示例中,在所述当判断出所述目标应用程序为所述白名单中的应用程序时,检测所述推送消息是否包括所述预设字符信息,所述程序中的指令具体用于执行以下操作:当判断出所述目标应用程序属于所述白名单中的应用程序,且所述目标应用程序属于所述预设类型时,确定所述游戏应用程序的所述推送消息等级;以及用于获取发送所述推送消息的联系人的所述推送消息等级;以及用于当所述联系人的所述推送消息等级高于或者等于所述游戏应用程序的所述推送消息等级时,检测所述推送消息中是否包括所述预设字符信息。In a possible example, when it is determined that the target application program is an application program in the white list, it is detected whether the push message includes the preset character information, and the instructions in the program specifically For performing the following operations: when it is determined that the target application program belongs to the application programs in the white list, and the target application program belongs to the preset type, determine the push message level of the game application program ; and for obtaining the push message level of the contact person who sent the push message; and for when the push message level of the contact person is higher than or equal to the push message level of the game application , detecting whether the preset character information is included in the push message.

上述实施例主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,移动终端为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing embodiments mainly introduce the solutions of the embodiments of the present application from the perspective of executing a process on the method side. It can be understood that, in order to realize the above functions, the mobile terminal includes hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that the present application can be implemented in the form of hardware or a combination of hardware and computer software in combination with the units and algorithm steps of each example described in the embodiments disclosed herein. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.

本申请实施例可以根据所述方法示例对移动终端进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。所述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiments of the present application may divide the mobile terminal into functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated units can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation.

下面为本申请装置实施例,本申请装置实施例用于执行本申请方法实施例所实现的方法。如图5所示,本申请实施例提供一种消息推送装置,该消息推送装置可以包括接收单元501、检测单元502和推送单元503,其中,The following are the device embodiments of the present application, and the device embodiments of the present application are used to implement the methods implemented by the method embodiments of the present application. As shown in FIG. 5, an embodiment of the present application provides a message push device, which may include a receiving unit 501, a detection unit 502, and a push unit 503, wherein,

所述接收单元501,用于在游戏应用程序前台运行过程中,接收来自应用服务器的推送消息,所述应用服务器为移动终端的除前台运行的应用程序之外的应用程序对应的应用服务器;The receiving unit 501 is configured to receive a push message from an application server during the running of the game application program in the foreground, and the application server is an application server corresponding to an application program other than the application program running in the foreground of the mobile terminal;

所述检测单元502,用于检测所述接收单元501接收到的所述推送消息是否包括预设字符信息;The detecting unit 502 is configured to detect whether the push message received by the receiving unit 501 includes preset character information;

所述推送单元503,用于当所述检测单元502检测到所述推送消息中包括所述预设字符信息时,在所述移动终端显示屏的预设区域显示所述推送消息。The push unit 503 is configured to display the push message in a preset area of the display screen of the mobile terminal when the detection unit 502 detects that the push message includes the preset character information.

可以看出,本申请实施例中,移动终端首先在游戏应用程序前台运行过程中,接收来自应用服务器的推送消息,所述应用服务器为移动终端的除前台运行的应用程序之外的应用程序对应的应用服务器,其次,检测所述推送消息是否包括预设字符信息,最后,当检测到所述推送消息中包括所述预设字符信息时,在所述移动终端显示屏的预设区域显示所述推送消息。可见,移动终端在确认了推送消息中包括预设字符信息后再进行推送消息的前台显示,而不是显示过多的推送消息,即可以避免用户错过重要推送消息,也可以降低推送消息对前台游戏应用的干扰,有利于提升消息推送的准确性。It can be seen that in the embodiment of the present application, the mobile terminal first receives a push message from the application server during the running of the game application program in the foreground, and the application server corresponds to the application program of the mobile terminal other than the application program running in the foreground. secondly, detect whether the push message includes preset character information, and finally, when it is detected that the push message includes the preset character information, display the preset area on the display screen of the mobile terminal to push the message. It can be seen that after confirming that the push message includes preset character information, the mobile terminal displays the push message in the foreground instead of displaying too many push messages, which can prevent the user from missing important push messages and reduce the impact of push messages on the foreground game. Application interference is beneficial to improve the accuracy of message push.

在一个可能的示例中,在所述检测所述推送消息是否包括预设字符信息方面,所述检测单元502还用于:确定所述推送消息对应的目标应用程序;以及用于判断所述目标应用程序是否为所述游戏应用程序对应的白名单中的应用程序;以及用于当判断出所述目标应用程序为所述白名单中的应用程序时,检测所述推送消息是否包括所述预设字符信息。In a possible example, in terms of detecting whether the push message includes preset character information, the detection unit 502 is further configured to: determine the target application program corresponding to the push message; Whether the application program is an application program in the white list corresponding to the game application program; and when it is determined that the target application program is an application program in the white list, detect whether the push message includes the preset Set character information.

在一个可能的示例中,在所述检测所述推送消息是否包括预设字符信息方面,所述检测单元502还用于:确定所述推送消息对应的目标应用程序;以及用于判断所述目标应用程序是否为所述游戏应用程序对应的白名单中的应用程序;以及用于当判断出所述目标应用程序不是所述白名单中的应用程序时,检测所述推送消息是否包括所述预设字符信息。In a possible example, in terms of detecting whether the push message includes preset character information, the detection unit 502 is further configured to: determine the target application program corresponding to the push message; Whether the application program is an application program in the white list corresponding to the game application program; and used for detecting whether the push message includes the preset Set character information.

在一个可能的示例中,所述推送单元503还用于:所述检测单元502检测所述推送消息是否包括预设字符信息之后,当检测到所述推送消息中不包括所述预设字符信息时,拒绝前台显示所述推送消息;以及用于当检测到所述游戏应用程序退出前台运行时,在所述移动终端显示屏的所述预设区域显示所述推送消息。In a possible example, the push unit 503 is further configured to: after the detection unit 502 detects whether the push message includes preset character information, when it is detected that the push message does not include the preset character information , denying the push message to be displayed in the foreground; and displaying the push message in the preset area of the display screen of the mobile terminal when it is detected that the game application exits the foreground operation.

在一个可能的示例中,所述消息推送装置还包括显示单元,设置单元,其中,所述显示单元,用于当检测到针对所述白名单设置界面的触发操作时,显示所述设置界面,所述设置界面中包括多个应用程序的应用图标集合,每个所述应用图标上显示影响因子,所述影响因子用于指示对应的应用程序对所述游戏应用程序的影响;In a possible example, the message push device further includes a display unit and a setting unit, wherein the display unit is configured to display the setting interface when a trigger operation on the whitelist setting interface is detected, The setting interface includes a set of application icons of multiple applications, and each of the application icons displays an influence factor, and the influence factor is used to indicate the influence of the corresponding application on the game application;

所述接收单元501还用于,接收根据所述影响因子确定的针对所述多个应用程序的第一设置指令;The receiving unit 501 is further configured to receive first setting instructions for the multiple application programs determined according to the impact factor;

所述设置单元,用于将所述第一设置指令中指示的应用程序加入黑名单。The setting unit is configured to add the application program indicated in the first setting instruction to a blacklist.

在这个可能的示例中,所述消息推送装置还包括获取单元,其中,In this possible example, the message push device further includes an acquisition unit, wherein,

所述获取单元,用于获取所述白名单中符合预设类型的应用程序中的联系人信息;The acquiring unit is configured to acquire the contact information in the application program in the white list that meets the preset type;

所述接收单元501还用于,接收针对所述联系人信息的第二设置指令,所述第二设置指令用于指示所述联系人的推送消息等级;The receiving unit 501 is further configured to receive a second setting instruction for the contact information, the second setting instruction is used to indicate the push message level of the contact;

所述设置单元还用于,根据所述第二设置指令设置对应联系人的所述推送消息等级。The setting unit is further configured to set the push message level of the corresponding contact according to the second setting instruction.

在一个可能的示例中,在所述当判断出所述目标应用程序为所述白名单中的应用程序时,检测所述推送消息是否包括所述预设字符信息方面,所述检测单元具体用于:当判断出所述目标应用程序属于所述白名单中的应用程序,且所述目标应用程序属于所述预设类型时,确定所述游戏应用程序的所述推送消息等级;以及用于获取发送所述推送消息的联系人的所述推送消息等级;以及用于当所述联系人的所述推送消息等级高于或者等于所述游戏应用程序的所述推送消息等级时,检测所述推送消息中是否包括所述预设字符信息。In a possible example, when it is determined that the target application program is an application program in the white list, detecting whether the push message includes the preset character information, the detection unit specifically uses In: when it is determined that the target application program belongs to the application program in the white list, and the target application program belongs to the preset type, determine the push message level of the game application program; and for acquiring the push message level of the contact who sent the push message; and detecting the push message level of the contact when the push message level of the contact is higher than or equal to the push message level of the game application Whether the preset character information is included in the push message.

需要注意的是,本申请装置实施例所描述的消息推送装置是以功能单元的形式呈现。这里所使用的术语“单元”应当理解为尽可能最宽的含义,用于实现各个“单元”所描述功能的对象例如可以是集成电路ASIC,单个电路,用于执行一个或多个软件或固件程序的处理器(共享的、专用的或芯片组)和存储器,组合逻辑电路,和/或提供实现上述功能的其他合适的组件。It should be noted that the message push device described in the device embodiment of the present application is presented in the form of a functional unit. The term "unit" used here should be understood as the broadest meaning possible. The object used to realize the functions described by each "unit" can be, for example, an integrated circuit ASIC, a single circuit, used to execute one or more software or firmware Processors (shared, dedicated, or chipsets) and memories of programs, combinational logic circuits, and/or other suitable components that provide the functions described above.

具体来说,上述接收单元501和推送单元503可以是移动终端的通信接口,上述检测单元502可以是移动终端的处理器。Specifically, the receiving unit 501 and the pushing unit 503 may be a communication interface of the mobile terminal, and the detecting unit 502 may be a processor of the mobile terminal.

请参阅图6,图6是本申请实施例提供了一种智能手机600的结构示意图,所述智能手机600包括:壳体610、触控显示屏620、主板630、电池640和副板650,主板630上设置有前置摄像头631、处理器632、存储器633、电源管理芯片634等,副板上设置有振子651、一体音腔652、VOOC闪充接口653和指纹识别模组654。Please refer to FIG. 6 . FIG. 6 is a schematic structural diagram of a smart phone 600 provided by an embodiment of the present application. The smart phone 600 includes: a housing 610 , a touch screen 620 , a main board 630 , a battery 640 and a sub-board 650 , The main board 630 is provided with a front camera 631 , processor 632 , memory 633 , power management chip 634 , etc., and the sub-board is provided with a vibrator 651 , an integrated sound chamber 652 , a VOOC flash charging interface 653 and a fingerprint recognition module 654 .

其中,该智能手机上运行有操作系统和游戏应用程序,具体执行以下操作:在游戏应用程序前台运行过程中,接收来自应用服务器的推送消息,所述应用服务器为移动终端的除前台运行的应用程序之外的应用程序对应的应用服务器;检测所述推送消息是否包括预设字符信息;当检测到所述推送消息中包括所述预设字符信息时,在所述移动终端显示屏的预设区域显示所述推送消息。Wherein, the smart phone runs an operating system and a game application program, and specifically performs the following operations: during the running process of the game application program in the foreground, receives a push message from an application server, and the application server is an application running in the foreground of the mobile terminal. The application server corresponding to the application program outside the program; detecting whether the push message includes preset character information; when it is detected that the push message includes the preset character information, the preset on the display screen of the mobile terminal area displays the push message.

所述处理器632是智能手机的控制中心,利用各种接口和线路连接整个智能手机的各个部分,通过运行或执行存储在存储器633内的软件程序和/或模块,以及调用存储在存储器633内的数据,执行智能手机的各种功能和处理数据,从而对智能手机进行整体监控。可选的,处理器632可包括一个或多个处理单元;优选的,处理器632可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,所述调制解调处理器也可以不集成到处理器632中。该处理器632例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable GateArray,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。The processor 632 is the control center of the smart phone, and uses various interfaces and lines to connect various parts of the whole smart phone. data, perform various functions of the smartphone and process data, thereby monitoring the smartphone as a whole. Optionally, the processor 632 may include one or more processing units; preferably, the processor 632 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the modem processor may not be integrated into the processor 632 . The processor 632 can be, for example, a central processing unit (Central Processing Unit, CPU), a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC), field programmable Gate array (Field Programmable GateArray, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor may also be a combination of computing functions, for example, a combination of one or more microprocessors, a combination of DSP and a microprocessor, and so on.

所述存储器633可用于存储软件程序以及模块,处理器632通过运行存储在存储器633的软件程序以及模块,从而执行智能手机的各种功能应用以及数据处理。存储器633可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据智能手机的使用所创建的数据等。此外,存储器633可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。该存储器633例如可以是随机存取存储器(RandomAccess Memory,RAM)、闪存、只读存储器(Read Only Memory,ROM)、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、电可擦可编程只读存储器(ElectricallyEPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质。The memory 633 can be used to store software programs and modules, and the processor 632 executes various functional applications and data processing of the smart phone by running the software programs and modules stored in the memory 633 . The memory 633 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function, etc.; the data storage area may store data created according to the use of the smartphone, and the like. In addition, the memory 633 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices. The memory 633 can be, for example, random access memory (Random Access Memory, RAM), flash memory, read only memory (Read Only Memory, ROM), erasable programmable read only memory (Erasable Programmable ROM, EPROM), electrically erasable Programming read-only memory (Electrically EPROM, EEPROM), registers, hard disk, removable hard disk, CD-ROM, or any other form of storage medium known in the art.

本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任何一种消息推送方法的部分或全部步骤,上述计算机包括移动终端。An embodiment of the present invention also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables the computer to execute any part of the message push method described in the above method embodiments or all the steps, the above-mentioned computer includes a mobile terminal.

本发明实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任何一种消息推送方法的部分或全部步骤,上述计算机包括移动终端。An embodiment of the present invention also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the method described in the above method embodiments. Part or all of the steps of any message push method, the above-mentioned computer includes a mobile terminal.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of software function unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the essence of 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 memory. Several instructions are included to make a computer device (which may be a personal computer, server or network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present invention. The above-mentioned memory includes: various media capable of storing program codes such as USB flash drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, abbreviated: ROM), random access device (English: Random Access Memory, abbreviated: RAM), magnetic disk or optical disk, etc.

以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The embodiments of the present invention have been described in detail above, and specific examples have been used in this paper to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only used to help understand the method and core idea of the present invention; at the same time, for Those skilled in the art will have changes in the specific implementation and scope of application according to the idea of the present invention. In summary, the contents of this specification should not be construed as limiting the present invention.

Claims (10)

  1. A kind of 1. information push method, it is characterised in that including:
    During game application front stage operation, the PUSH message from application server, the application server are received For application server corresponding to the application program in addition to the application program of front stage operation of mobile terminal;
    Detect whether the PUSH message includes preset characters information;
    When detecting that the PUSH message includes the preset characters information, in the preset areas of the mobile terminal display screen Domain shows the PUSH message.
  2. 2. according to the method for claim 1, it is characterised in that whether the detection PUSH message includes preset characters Information, including:
    Determine destination application corresponding to the PUSH message;
    Judge whether the destination application is application program in white list corresponding to the game application;
    When it is the application program in the white list to judge the destination application, detect whether the PUSH message wraps Include the preset characters information.
  3. 3. according to the method for claim 1, it is characterised in that whether the detection PUSH message includes preset characters Information, including:
    Determine destination application corresponding to the PUSH message;
    Judge whether the destination application is application program in white list corresponding to the game application;
    When it is not the application program in the white list to judge the destination application, whether the PUSH message is detected Including the preset characters information.
  4. 4. according to the method described in claim any one of 1-3, it is characterised in that whether the detection PUSH message includes After preset characters information, methods described also includes:
    When detect do not include the preset characters information in the PUSH message when, refusal foreground show the PUSH message;
    When detecting that the game application exits front stage operation, in the predeterminable area of the mobile terminal display screen Show the PUSH message.
  5. 5. according to the method described in claim any one of 1-4, it is characterised in that methods described also includes:
    When detecting the trigger action for white list setting interface, the setting interface, the setting interface are shown Include the application icon set of multiple application programs, factor of influence, the factor of influence are shown on each application icon For indicating corresponding influence of the application program to the game application;
    Receive and instruction is set for the first of the multiple application program according to what the factor of influence determined;
    The application program indicated in instruction is set to add blacklist by described first.
  6. 6. according to the method for claim 5, it is characterised in that described that the application journey indicated in instruction is set described first Sequence is added after blacklist, and methods described also includes:
    Obtain the associated person information met in the white list in the application program of preset kind;
    Receive and instruction is set for the second of the associated person information, described second sets instruction to be used to indicate the contact person's PUSH message grade;
    According to the described second PUSH message grade for setting instruction setting corresponding relationship people.
  7. 7. the method according to claim 2 or 6, it is characterised in that described the destination application to be judged for institute When stating the application program in white list, detect whether the PUSH message includes the preset characters information, including:
    When the application program judged the destination application and belonged in the white list, and the destination application belongs to During the preset kind, the PUSH message grade of the game application is determined;
    Obtain the PUSH message grade for the contact person for sending the PUSH message;
    When the PUSH message grade of the contact person is greater than the PUSH message of the game application Whether during grade, detecting in the PUSH message includes the preset characters information.
  8. A kind of 8. message pusher, it is characterised in that including receiving unit, detection unit and push unit, wherein,
    The receiving unit, disappear for during game application front stage operation, receiving the push from application server Breath, the application server are application service corresponding to the application program in addition to the application program of front stage operation of mobile terminal Device;
    The detection unit, whether include preset characters letter for detecting the PUSH message that the receiving unit receives Breath;
    The push unit, for detecting that the PUSH message includes the preset characters information when the detection unit When, show the PUSH message in the predeterminable area of the mobile terminal display screen.
  9. A kind of 9. mobile terminal, it is characterised in that including:Processor, memory, and one or more programs;It is one Or multiple programs are stored in the memory, and it is configured to by the computing device, described program includes being used for Perform the instruction of the step in the method as described by claim any one of 1-7.
  10. A kind of 10. computer-readable recording medium, it is characterised in that the computer program for electronic data interchange is stored, its In, the computer program causes computer to perform the method as described in claim any one of 1-7, and the computer includes moving Dynamic terminal.
CN201711028917.2A 2017-10-27 2017-10-27 Message push method and device Pending CN107835235A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711028917.2A CN107835235A (en) 2017-10-27 2017-10-27 Message push method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711028917.2A CN107835235A (en) 2017-10-27 2017-10-27 Message push method and device

Publications (1)

Publication Number Publication Date
CN107835235A true CN107835235A (en) 2018-03-23

Family

ID=61649975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711028917.2A Pending CN107835235A (en) 2017-10-27 2017-10-27 Message push method and device

Country Status (1)

Country Link
CN (1) CN107835235A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108683806A (en) * 2018-04-28 2018-10-19 努比亚技术有限公司 A kind of anti-method, mobile terminal and computer readable storage medium bothered
CN109195153A (en) * 2018-08-01 2019-01-11 Oppo广东移动通信有限公司 Data processing method, device, electronic equipment and computer readable storage medium
CN110278329A (en) * 2019-06-19 2019-09-24 维沃移动通信有限公司 A kind of management method and mobile terminal of notification message
CN111163152A (en) * 2019-12-26 2020-05-15 中国平安人寿保险股份有限公司 Information pushing method and device
CN111736931A (en) * 2019-03-25 2020-10-02 青岛海信移动通信技术股份有限公司 The interception method and terminal of the display interface of the application
CN111741060A (en) * 2020-05-08 2020-10-02 广州三七互娱科技有限公司 Message pushing method and device, computer equipment and storage medium
CN114741210A (en) * 2020-12-23 2022-07-12 成都鼎桥通信技术有限公司 Multi-system notification message processing method, device, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546641A (en) * 2013-10-29 2014-01-29 广东欧珀移动通信有限公司 Mobile terminal notification bar message filtering method and device
CN104539672A (en) * 2014-12-19 2015-04-22 南京工业大学 Mobile application program message pushing agent system based on cloud computing
US20170126875A1 (en) * 2015-10-29 2017-05-04 Alibaba Group Holding Limited Method, system, and device for process triggering
CN106657591A (en) * 2016-10-19 2017-05-10 福建中金在线信息科技有限公司 Display method and device for push messages of application programs

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103546641A (en) * 2013-10-29 2014-01-29 广东欧珀移动通信有限公司 Mobile terminal notification bar message filtering method and device
CN104539672A (en) * 2014-12-19 2015-04-22 南京工业大学 Mobile application program message pushing agent system based on cloud computing
US20170126875A1 (en) * 2015-10-29 2017-05-04 Alibaba Group Holding Limited Method, system, and device for process triggering
CN106657591A (en) * 2016-10-19 2017-05-10 福建中金在线信息科技有限公司 Display method and device for push messages of application programs

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108683806A (en) * 2018-04-28 2018-10-19 努比亚技术有限公司 A kind of anti-method, mobile terminal and computer readable storage medium bothered
CN108683806B (en) * 2018-04-28 2021-06-15 努比亚技术有限公司 Anti-disturbing method, mobile terminal and computer readable storage medium
CN109195153A (en) * 2018-08-01 2019-01-11 Oppo广东移动通信有限公司 Data processing method, device, electronic equipment and computer readable storage medium
CN109195153B (en) * 2018-08-01 2021-09-28 Oppo广东移动通信有限公司 Data processing method and device, electronic equipment and computer readable storage medium
CN111736931A (en) * 2019-03-25 2020-10-02 青岛海信移动通信技术股份有限公司 The interception method and terminal of the display interface of the application
CN110278329A (en) * 2019-06-19 2019-09-24 维沃移动通信有限公司 A kind of management method and mobile terminal of notification message
CN111163152A (en) * 2019-12-26 2020-05-15 中国平安人寿保险股份有限公司 Information pushing method and device
CN111163152B (en) * 2019-12-26 2023-08-08 中国平安人寿保险股份有限公司 Information pushing method and device
CN111741060A (en) * 2020-05-08 2020-10-02 广州三七互娱科技有限公司 Message pushing method and device, computer equipment and storage medium
CN111741060B (en) * 2020-05-08 2023-12-12 广州三七互娱科技有限公司 Message pushing method, device, computer equipment and storage medium
CN114741210A (en) * 2020-12-23 2022-07-12 成都鼎桥通信技术有限公司 Multi-system notification message processing method, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN107835235A (en) Message push method and device
CN107861814B (en) Resource allocation method and equipment
CN107635078B (en) Game control method and device
WO2016134630A1 (en) Method and device for recognizing malicious call
CN106227585B (en) Application program starting method, device and equipment
CN107797868B (en) Resource adjusting method and device
CN107894920A (en) Resource allocation method and Related product
CN106155789B (en) Application freezing method and mobile terminal
CN107832141A (en) Application program running control method and device
CN107995099A (en) Friend recommendation method and device
CN106648698A (en) Method and device for displaying message notification and electronic equipment
CN108536480B (en) Input method configuration method and related products
CN108196814A (en) voice input method and related product
CN107832111A (en) Game application control method and device
CN107613091A (en) A kind of method and terminal for establishing communication
CN108388458A (en) Message processing method and related products
CN108259674A (en) Electronic equipment, information pushing method and related product
CN106227483B (en) Display control method and mobile terminal
CN105005489B (en) A kind of the starting method and terminal device of terminal device
CN108227953A (en) Character input method and related product
CN107833055A (en) Comment processing method and device
CN107890667A (en) Game application program control method and device
CN107071810A (en) Processing method, mobile terminal and base station that data cube computation disconnects
CN110771113B (en) Brush terminal detection method and device
CN107864275B (en) Application setting method and device, mobile terminal and computer readable storage medium

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: 20180323

RJ01 Rejection of invention patent application after publication