CN108418878B - Notification message pushing method and device, readable storage medium and electronic equipment - Google Patents

Notification message pushing method and device, readable storage medium and electronic equipment Download PDF

Info

Publication number
CN108418878B
CN108418878B CN201810157037.3A CN201810157037A CN108418878B CN 108418878 B CN108418878 B CN 108418878B CN 201810157037 A CN201810157037 A CN 201810157037A CN 108418878 B CN108418878 B CN 108418878B
Authority
CN
China
Prior art keywords
application program
determining
application
electronic device
pushing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810157037.3A
Other languages
Chinese (zh)
Other versions
CN108418878A (en
Inventor
姜国刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810157037.3A priority Critical patent/CN108418878B/en
Publication of CN108418878A publication Critical patent/CN108418878A/en
Application granted granted Critical
Publication of CN108418878B publication Critical patent/CN108418878B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The disclosure relates to a method and a device for pushing a notification message, a readable storage medium and an electronic device; the pushing method can comprise the steps of determining the network type of the current access network of the electronic equipment; determining an application program with push notification authority based on the network type; and when the notification message of the application program is received, pushing the notification message through the application program. According to the method and the device, different application programs with the notification pushing permission can be determined according to the difference between the network types of the electronic equipment currently accessed to the network, so that a user can manage the pushing of the notification message based on different network types conveniently, and the user experience is improved.

Description

Notification message pushing method and device, readable storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a notification message pushing method and apparatus, a readable storage medium, and an electronic device.
Background
Currently, a user may set a notification authority for an installed application of an electronic device, so as to authorize a target application, so that when the electronic device receives a notification message, if the application corresponding to the notification message has the notification authority, the notification message is pushed to the user, and if the application corresponding to the notification message does not have the notification authority, the notification message is not pushed.
Disclosure of Invention
The present disclosure provides a notification message pushing method and apparatus, a readable storage medium, and an electronic device, to solve the deficiencies in the related art.
According to a first aspect of the embodiments of the present disclosure, a notification message pushing method is provided, which includes
Determining the network type of the current access network of the electronic equipment;
determining an application program with push notification authority based on the network type;
and when the notification message of the application program is received, pushing the notification message through the application program.
Optionally, the determining, according to the network type, the application program having the push notification authority includes:
determining a switch state of a push notification authority from an application program installed on the electronic equipment based on the network type;
counting the application programs of which the switch states are in the opening states;
and determining the application program with the switch state in the opening state as the application program with the push notification authority.
Optionally, the determining, from the application installed on the electronic device, a switch state of the push notification authority includes:
counting user authorization states corresponding to application programs installed on the electronic equipment;
and determining the on-off state of the application program installed on the electronic equipment about the push notification authority based on the user authorization state.
Optionally, the determining, from the application installed on the electronic device, a switch state of the push notification authority includes:
determining a program category of an application installed by the electronic equipment;
and determining the on-off state of the push notification authority according to the corresponding relation between the program type and the network type.
Optionally, the program type is determined by the electronic device according to an application field corresponding to each application program; alternatively, the first and second electrodes may be,
the program category is determined by the electronic device according to user predefinitions.
Optionally, before the step of determining the network type of the network to which the electronic device currently accesses, the method further includes:
and monitoring the trigger operation aiming at the preset key of the electronic equipment so as to determine the network type of the current access network of the electronic equipment when the preset key is in a trigger state.
According to a second aspect of the embodiments of the present disclosure, there is provided a push device for notification messages, including:
the first determination module is configured to determine a network type of a network which is currently accessed by the electronic equipment;
a second determination module configured to determine an application program having a push notification authority based on the network type determined by the first determination module;
a push module configured to push the notification message through the application determined by the second determination module when the notification message of the application is received.
Optionally, the first determining module includes:
the first determining submodule is configured to determine the on-off state of the push notification authority from an application program installed on the electronic equipment based on the network type;
the counting submodule is configured to count the application programs of which the switch states are determined to be in the opening states by the first determining submodule;
a second determination submodule configured to determine the application program of which the switch state is in the on state as an application program having a push notification authority.
Optionally, the first determining sub-module includes:
the statistical unit is configured to count user authorization states corresponding to the application programs installed on the electronic equipment;
a first determination unit configured to determine a switch state of an application installed on the electronic device with respect to a push notification authority based on the user authorization state counted by the counting unit.
Optionally, the first determining sub-module includes:
a second determination unit configured to determine a program category of an application installed by the electronic device;
a third determining unit configured to determine a switch state regarding a push notification authority according to a correspondence between the program category determined by the second determining unit and the network type.
Optionally, the program type is determined by the electronic device according to an application field corresponding to each application program; alternatively, the first and second electrodes may be,
the program category is determined by the electronic device according to user predefinitions.
Optionally, the method further includes:
the monitoring module is configured to monitor a trigger operation of a preset key of the electronic device, so as to determine a network type of a current access network of the electronic device when the preset key is in a trigger state.
According to a third aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method according to any one of the above.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the steps of the method according to any of the above embodiments.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the embodiment, different application programs with push notification permission can be determined according to the difference between the network types of the electronic equipment currently accessed to the network, so that a user can manage the push of the notification message based on different network types, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a notification message pushing method according to an exemplary embodiment.
Fig. 2 is a second application scenario diagram illustrating a notification message pushing method according to an exemplary embodiment.
Fig. 3 is a third application scenario diagram illustrating a notification message pushing method according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating another notification message pushing method according to an example embodiment.
Fig. 5 is a third application scenario diagram illustrating a notification message pushing method according to an exemplary embodiment.
Fig. 6 is a fourth application scenario diagram illustrating a notification message pushing method according to an exemplary embodiment.
Fig. 7-11 are block diagrams illustrating a notification message pushing device according to an example embodiment.
Fig. 12 is a block diagram illustrating an apparatus for pushing notification messages according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Fig. 1 illustrates a notification message push method according to an example embodiment. As shown in fig. 1, the pushing method may include the following steps:
in step 101, a network type of a current access network of the electronic device is determined.
In this embodiment, the network type may include a wireless local area network, such as a wifi network, and the network type may also include a data network, such as a 3G signal or a 4G signal, which is not limited by this disclosure.
In step 102, an application program with push notification authority is determined based on the network type.
In this embodiment, the corresponding application program with the push notification permission may be determined according to the network type of the current access network of the electronic device, so that a user may manage pushing of the notification message based on different network types. The application may be a set of third-party applications installed on the electronic device and an operating system default configuration application, and the application having the push notification authority may be one or more of the set, which is not limited in this disclosure.
For example, the electronic device may determine, based on the network type, a switch state regarding the push notification permission from among applications installed on the electronic device, and count the applications with the switch state in the on state, so as to determine the applications with the switch state in the on state as the applications with the push notification permission in the current network type.
Specifically, in an embodiment, the authorization status of the user corresponding to the application installed on the electronic device may be counted, and the switching status of the application installed on the electronic device with respect to the push notification permission may be determined based on the authorization status of the user, so that the user may make the application with the push notification permission according to the need of the user, which is beneficial to resource optimization of the electronic device.
In another embodiment, the program type of the application installed in the electronic device may be determined, and the switch state of the notification permission for pushing may be determined according to the correspondence between the program type and the network type, so that the electronic device may actively identify the application capable of notification, and the pushing process may be simplified. The program category may be determined by the electronic device according to the application field corresponding to each application program, or the program category may be determined by the electronic device according to a user predefined definition. Of course, in the same network state, the electronic device may push the application programs in multiple program categories according to the push mode, which is not limited by the present disclosure.
In step 103, when a notification message of the application program is received, the notification message is pushed by the application program.
In this embodiment, when the electronic device receives the notification message, it may be determined whether the application program corresponding to the notification message has the push notification authority in the current network state, if so, the notification message is pushed through the application program, and if not, the notification message may be pushed after the user opens the corresponding application program.
For example, as shown in fig. 2, assuming that the network type of the electronic device currently accessing the network is a data network, when the electronic device receives a notification message corresponding to the "mijie" application program as shown in fig. 2, it may be determined that the electronic device is currently in a data network state, and further it may be determined whether the "mijie" application program has a push notification authority in the data network state, if so, the notification message is pushed by the "mijie" application program, otherwise, the notification message is not pushed.
For another example, as shown in fig. 3, assuming that the network type of the electronic device currently accessing the network is a wireless local area network, when the electronic device receives a notification message corresponding to the "millet video" application program shown in fig. 3, it may be determined that the electronic device is currently in the wireless local area network state, and further may determine whether the "millet video" application program has a push notification authority in the wireless local area network state, if so, the notification message is pushed through the "millet video" application program, otherwise, the notification message is not pushed.
On the basis of the above embodiment, the triggering operation of the user on the preset key of the electronic device may be monitored, so that when the preset key is in a triggering state, the network type of the current access network of the electronic device is determined, so that the user may determine whether to determine to push different notification messages according to different network types.
According to the embodiment, different application programs with push notification permission can be determined according to the difference between the network types of the electronic equipment currently accessed to the network, so that a user can manage the push of the notification message based on different network types, and the user experience is improved.
In order to describe the technical solution of the present disclosure in detail, a specific implementation flow of the notification message pushing method will be described below by taking an electronic device as a mobile phone as an example. As shown in fig. 4, the notification message pushing method may include the steps of:
in step 401, it is determined whether a preset button on a function page of the mobile phone is in a triggered state.
In this embodiment, when the preset button is in the triggered state, step 404 is executed, and when the preset button is not in the triggered state, step 403 is executed.
The function page may be a page that any user can authorize. For example, when the user triggers the "setup" application on the desktop of the mobile phone, the function page as shown in the left schematic diagram of fig. 5 may be entered, if the user needs to manage the received notification message, the "notification management" button as shown in the left schematic diagram of fig. 5 may be triggered, so as to enter the management page for the notification message, and the preset button may be any virtual key displayed on the management page of the notification message, for example, the "network detection" virtual button as shown in the right schematic diagram of fig. 5, or the like. Of course, the management page of the notification message may also be opened by other application programs or other operation procedures of the user, and other characters may also be marked on the virtual key to indicate the user to perform setting, which is not limited in this disclosure.
In step 404, the network type of the network to which the handset 100 is currently accessing is determined.
In this embodiment, the network type may include a wireless local area network, such as a wifi network, and the network type may also include a data network, such as a 3G signal or a 4G signal, which is not limited by this disclosure.
In step 403, it is determined that the mobile phone is in the data network, and the application program with the push notification authority is authorized by the user.
In this embodiment, the user can authorize the push notification authority of each installed application on the authorization management page of the mobile phone. For example, as shown in fig. 6, the user may enable the cell phone to push upon receiving a notification message corresponding to the "m chat" application by triggering a virtual button corresponding to the "m chat" setting to indicate that the user has authorized the "m chat" application.
It should be noted that: when the preset button is not in the trigger state in step 401, the mobile phone in this embodiment proceeds to step 403 to determine whether to push the notification message according to the authorization state of the user, so as to save traffic for the user; of course, in other cases, the mobile phone may also go to step 404, which is not limited by this disclosure.
In step 404, the determined application authorized by the user is determined to have push notification permissions.
In this embodiment, still taking the embodiment shown in fig. 6 as an example, when the user authorizes the "chat" application to push the notification message right, if the mobile phone receives the notification message corresponding to the "chat" application in the data network state, the notification message can be pushed through the "chat" application, so that the user can view the notification message in the notification bar of the mobile phone conveniently.
In step 405, when the network type is a wireless local area network, a video application is determined.
In this embodiment, the video application may include any APP that can be used to play video or used for live broadcasting, for example, "Tencent video", "express", and the like, which is not limited by this disclosure.
In step 406, the video class application is determined to have push notification permissions.
In this embodiment, when the mobile phone is in the wireless network connection state, the user does not need to worry about the use condition of the data traffic, so that the video application program can be executed through the mobile phone. Of course, only the video application is taken as an example for explanation, and it is certainly possible to determine other large-flow applications as having the push notification right when the mobile phone is connected to the wireless local area network; alternatively, all the applications installed in the mobile phone may be considered to have the push notification authority, which is not limited by the present disclosure.
In an embodiment, the video application program may be a set obtained by classifying the mobile phone according to the application field of the installed application program; in another embodiment, the video-class application may be a collection of user-predetermined applications, which is not limited by this disclosure. Of course, only the video application is described as an example, and other types of applications, such as a music application, a game application, and the like, may be included. Also, when the program category is predefined to be determined by the user, it may also include application programs of different application fields.
It should be noted that: the mobile phone 100 is based on the current network type, and it may also be a set of applications authorized by the user and video applications, as a set of applications with push notification authority in the installed applications under the current network type. Of course, as to whether each application has the push notification authority, many other embodiments are possible, and the disclosure is not repeated herein.
In the above embodiments, the mobile phone may determine, after receiving the notification message, the application program having the push notification permission, and then perform push when the application program corresponding to the notification message has the push notification permission, otherwise, not perform push; or, the mobile phone may also determine a set of applications having a notification pushing authority in advance, so that, subsequently, when notifying a message, it is only necessary to determine whether the application corresponding to the notification message is in the set, and if so, the notification message is pushed through the corresponding application, otherwise, the notification message is not pushed.
Corresponding to the foregoing embodiment of the push method of the notification message, the present disclosure also provides an embodiment of a push apparatus of the notification message.
Fig. 7 is a block diagram illustrating a push device for notification messages according to an example embodiment. Referring to fig. 7, the push apparatus 200 may include a first determining sub-module 701, a second determining sub-module 702, and a push module 703; wherein:
a first determining module 701 configured to determine a network type of a current access network of the electronic device;
a second determining module 702 configured to determine an application program having a push notification authority based on the network type determined by the first determining module;
a pushing module 703 configured to, upon receiving the notification message of the application program, push the notification message through the application program determined by the second determining module.
As shown in fig. 8, fig. 8 is a block diagram of another push apparatus for notification messages according to an exemplary embodiment, where on the basis of the foregoing embodiment shown in fig. 7, the first determining module 701 may include a first determining sub-module 7011, a statistics sub-module 7012, and a second determining sub-module 7013; wherein:
a first determining sub-module 7011 configured to determine, based on the network type, a switch state regarding a push notification permission from an application installed on the electronic device;
a statistics submodule 7012 configured to count the application program of which the switch state is determined by the first determination submodule to be in the on state;
a second determining sub-module 7013 configured to determine the application program whose switch state is in the on state as an application program having a push notification authority.
As shown in fig. 9, fig. 9 is a block diagram of another push apparatus for notification messages according to an exemplary embodiment, where on the basis of the foregoing embodiment shown in fig. 8, the first determining sub-module 7011 may include a statistical unit 7011A and a first determining unit 7011B; wherein:
a counting unit 7011A configured to count a user authorization state corresponding to an application installed on the electronic device;
a first determining unit 7011B, configured to determine, based on the user authorization status counted by the counting unit, a switch status of an application installed on the electronic device with respect to a push notification authority.
As shown in fig. 10, fig. 10 is a block diagram of another push apparatus for notification messages according to an exemplary embodiment, where on the basis of the foregoing embodiment shown in fig. 8, the first determining sub-module 7011 may include a second determining unit 7011C and a third determining unit 7011D; wherein:
a second determining unit 7011C configured to determine a program category of an application installed by the electronic device;
a third determining unit 7011D, configured to determine, according to the correspondence between the program category determined by the second determining unit and the network type, a switch state regarding the push notification permission.
As shown in fig. 11, fig. 11 is a block diagram of another notification message pushing apparatus according to an exemplary embodiment, which is based on any one of the foregoing embodiments shown in fig. 7 to fig. 8, and may further include a monitoring module 704; wherein:
a monitoring module 704 configured to monitor a trigger operation for a preset key of the electronic device, so as to determine a network type of a network currently accessed by the electronic device when the preset key is in a trigger state.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Correspondingly, the present disclosure also provides an information display device, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: determining the network type of the current access network of the electronic equipment; determining an application program with push notification authority based on the network type; and when the notification message of the application program is received, pushing the notification message through the application program.
Accordingly, the present disclosure also provides a terminal comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured for execution by the one or more processors to include instructions for: determining the network type of the current access network of the electronic equipment; determining an application program with push notification authority based on the network type; and when the notification message of the application program is received, pushing the notification message through the application program.
Fig. 12 is a block diagram illustrating an apparatus 1200 for notification message push according to an example embodiment. For example, the apparatus 1200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 12, the apparatus 1200 may include one or more of the following components: processing component 1202, memory 1204, power component 1206, multimedia component 1208, audio component 1210, input/output (I/O) interface 1212, sensor component 1214, and communications component 1216.
The processing component 1202 generally controls overall operation of the apparatus 1200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1202 may include one or more processors 1220 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1202 can include one or more modules that facilitate interaction between the processing component 1202 and other components. For example, the processing component 1202 can include a multimedia module to facilitate interaction between the multimedia component 1208 and the processing component 1202.
The memory 1204 is configured to store various types of data to support operation at the apparatus 1200. Examples of such data include instructions for any application or method operating on the device 1200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1204 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A power supply component 1206 provides power to the various components of the device 1200. Power components 1206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for apparatus 1200.
The multimedia components 1208 include a screen that provides an output interface between the device 1200 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1208 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 1200 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Audio component 1210 is configured to output and/or input audio signals. For example, audio component 1210 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1200 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1204 or transmitted via the communication component 1216. In some embodiments, audio assembly 1210 further includes a speaker for outputting audio signals.
The I/O interface 1212 provides an interface between the processing component 1202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1214 includes one or more sensors for providing various aspects of state assessment for the apparatus 1200. For example, the sensor assembly 1214 may detect an open/closed state of the apparatus 1200, the relative positioning of the components, such as a display and keypad of the apparatus 1200, the sensor assembly 1214 may also detect a change in the position of the apparatus 1200 or a component of the apparatus 1200, the presence or absence of user contact with the apparatus 1200, orientation or acceleration/deceleration of the apparatus 1200, and a change in the temperature of the apparatus 1200. The sensor assembly 1214 may include a proximity sensor configured to detect the presence of a nearby object in the absence of any physical contact. The sensor assembly 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communications component 1216 is configured to facilitate communications between the apparatus 1200 and other devices in a wired or wireless manner. The apparatus 1200 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1216 receives the broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1216 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as memory 1204 comprising instructions, executable by processor 1220 of apparatus 1200 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (14)

1. A method for pushing a notification message is applied to an electronic device, and comprises the following steps:
determining the network type of the current access network of the electronic equipment;
determining an application program with push notification authority and an application program without the notification authority based on the network type, wherein the application program is a set of a third-party application program and an operating system default configuration application program installed on the electronic equipment;
when a notification message of the application program with the push notification authority is received, pushing the notification message through the application program; and when receiving the notification message of the application program without the push notification authority, pushing after the user opens the application program without the push notification authority.
2. The push method according to claim 1, wherein the determining an application having a push notification authority according to the network type includes:
determining a switch state of a push notification authority from an application program installed on the electronic equipment based on the network type;
counting the application programs of which the switch states are in the opening states;
and determining the application program with the switch state in the opening state as the application program with the push notification authority.
3. The pushing method according to claim 2, wherein the determining a switch status regarding the push notification authority from an application installed on the electronic device comprises:
counting user authorization states corresponding to application programs installed on the electronic equipment;
and determining the switch state of the installed application program of the electronic equipment about the push notification authority based on the user authorization state.
4. The pushing method according to claim 2, wherein the determining a switch status regarding the push notification authority from an application installed on the electronic device comprises:
determining a program category of an application installed by the electronic equipment;
and determining the on-off state of the push notification authority according to the corresponding relation between the program type and the network type.
5. The pushing method according to claim 4, wherein the program category is determined by the electronic device according to an application domain corresponding to each application program; alternatively, the first and second electrodes may be,
the program category is determined by the electronic device according to user predefinitions.
6. The push method of claim 1, wherein the step of determining the network type of the current access network of the electronic device is preceded by the method further comprising:
and monitoring the trigger operation aiming at the preset key of the electronic equipment so as to determine the network type of the current access network of the electronic equipment when the preset key is in a trigger state.
7. A push device of a notification message is applied to an electronic device, and comprises:
the first determination module is configured to determine a network type of a network which is currently accessed by the electronic equipment;
the second determination module is configured to determine an application program with push notification authority and an application program without notification authority based on the network type determined by the first determination module, wherein the application program is a set of a third-party application program and an operating system default configuration application program installed on the electronic device;
the pushing module is configured to push the notification message through the application program with the push notification authority determined by the second determining module when the notification message of the application program is received; and when receiving the notification message of the application program without the push notification authority, pushing after the user opens the application program without the push notification authority.
8. The pushing apparatus as claimed in claim 7, wherein the first determining module comprises:
the first determining submodule is configured to determine the on-off state of the push notification authority from an application program installed on the electronic equipment based on the network type;
the counting submodule is configured to count the application programs of which the switch states are determined to be in the opening states by the first determining submodule;
a second determination submodule configured to determine the application program of which the switch state is in the on state as an application program having a push notification authority.
9. The pushing device of claim 8, wherein the first determining submodule comprises:
the statistical unit is configured to count user authorization states corresponding to the application programs installed on the electronic equipment;
a first determination unit configured to determine a switch state of an application installed on the electronic device with respect to a push notification authority based on the user authorization state counted by the counting unit.
10. The pushing device of claim 8, wherein the first determining submodule comprises:
a second determination unit configured to determine a program category of an application installed by the electronic device;
a third determining unit configured to determine a switch state regarding a push notification authority according to a correspondence between the program category determined by the second determining unit and the network type.
11. The pushing apparatus as claimed in claim 10, wherein the program category is determined by the electronic device according to an application domain corresponding to each application program; alternatively, the first and second electrodes may be,
the program category is determined by the electronic device according to user predefinitions.
12. The pushing device of claim 7, further comprising:
the monitoring module is configured to monitor a trigger operation of a preset key of the electronic device, so as to determine a network type of a current access network of the electronic device when the preset key is in a trigger state.
13. A computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, carry out the steps of the method according to any one of claims 1-6.
14. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the steps of the method according to any one of claims 1-6.
CN201810157037.3A 2018-02-24 2018-02-24 Notification message pushing method and device, readable storage medium and electronic equipment Active CN108418878B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810157037.3A CN108418878B (en) 2018-02-24 2018-02-24 Notification message pushing method and device, readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810157037.3A CN108418878B (en) 2018-02-24 2018-02-24 Notification message pushing method and device, readable storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN108418878A CN108418878A (en) 2018-08-17
CN108418878B true CN108418878B (en) 2021-09-14

Family

ID=63128926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810157037.3A Active CN108418878B (en) 2018-02-24 2018-02-24 Notification message pushing method and device, readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN108418878B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111797381A (en) * 2019-04-09 2020-10-20 Oppo广东移动通信有限公司 Authority management method and device of application program, storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102892089A (en) * 2012-09-25 2013-01-23 中国联合网络通信集团有限公司 Message pushing method, device and system
CN103685330A (en) * 2012-08-31 2014-03-26 腾讯科技(深圳)有限公司 Data transmission method and data transmission device
CN104461510A (en) * 2014-11-12 2015-03-25 小米科技有限责任公司 Notification message displaying method and device
CN104506649A (en) * 2014-12-31 2015-04-08 小米科技有限责任公司 Push method and device for notification message
CN104954408A (en) * 2014-03-31 2015-09-30 中国电信股份有限公司 Information push method based on mobile terminal state and system thereof
CN107306281A (en) * 2016-04-20 2017-10-31 斑马网络技术有限公司 Method for pushing, device and the equipment of message

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103648057A (en) * 2013-11-07 2014-03-19 康佳集团股份有限公司 Method and system for message management based on intelligent television
US9325654B2 (en) * 2014-02-28 2016-04-26 Aol Inc. Systems and methods for optimizing message notification timing based on electronic content consumption associated with a geographic location
MY195503A (en) * 2014-05-26 2023-01-27 Huawei Tech Co Ltd Traffic Control Method and Apparatus
US11477602B2 (en) * 2014-06-10 2022-10-18 Verizon Patent And Licensing Inc. Systems and methods for optimizing and refining message notification timing
CN105677719B (en) * 2015-12-29 2019-05-21 小米科技有限责任公司 The management method and device of application program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685330A (en) * 2012-08-31 2014-03-26 腾讯科技(深圳)有限公司 Data transmission method and data transmission device
CN102892089A (en) * 2012-09-25 2013-01-23 中国联合网络通信集团有限公司 Message pushing method, device and system
CN104954408A (en) * 2014-03-31 2015-09-30 中国电信股份有限公司 Information push method based on mobile terminal state and system thereof
CN104461510A (en) * 2014-11-12 2015-03-25 小米科技有限责任公司 Notification message displaying method and device
CN104506649A (en) * 2014-12-31 2015-04-08 小米科技有限责任公司 Push method and device for notification message
CN107306281A (en) * 2016-04-20 2017-10-31 斑马网络技术有限公司 Method for pushing, device and the equipment of message

Also Published As

Publication number Publication date
CN108418878A (en) 2018-08-17

Similar Documents

Publication Publication Date Title
CN106961526B (en) Notification message display method and device and electronic equipment
EP3188066B1 (en) A method and an apparatus for managing an application
US9588805B2 (en) Method and terminal device for controlling background application
EP3151117B1 (en) Method and device for delaying information broadcasting
EP3113466A1 (en) Method and device for warning
CN106790043B (en) Method and device for sending message in live broadcast application
US20170034336A1 (en) Event prompting method and device
EP3435349A1 (en) Method and apparatus for processing network failure
CN107071862B (en) Account number binding method and device and intelligent equipment
CN110262692B (en) Touch screen scanning method, device and medium
CN109413157B (en) Message shielding method and device
CN107132983B (en) Split-screen window operation method and device
US10263925B2 (en) Method, device and medium for sending message
CN106412884B (en) WIFI connection management method and device
CN105227426B (en) Application interface switching method and device and terminal equipment
CN107656616B (en) Input interface display method and device and electronic equipment
CN105786561B (en) Method and device for calling process
CN108418878B (en) Notification message pushing method and device, readable storage medium and electronic equipment
CN105657676B (en) Information reminding method and device
CN105553772B (en) Flow monitoring method and device
CN106919302B (en) Operation control method and device of mobile terminal
CN106060104B (en) Application management method and device
CN114430370B (en) Method, device, equipment and storage medium for determining network slice
CN109067959B (en) Address book management method and device
CN107621990B (en) Control method and device of terminal key and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant