WO2022052878A1 - Method for managing push message, and related apparatus - Google Patents

Method for managing push message, and related apparatus Download PDF

Info

Publication number
WO2022052878A1
WO2022052878A1 PCT/CN2021/116551 CN2021116551W WO2022052878A1 WO 2022052878 A1 WO2022052878 A1 WO 2022052878A1 CN 2021116551 W CN2021116551 W CN 2021116551W WO 2022052878 A1 WO2022052878 A1 WO 2022052878A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
push
terminal device
target application
application
Prior art date
Application number
PCT/CN2021/116551
Other languages
French (fr)
Chinese (zh)
Inventor
顾启蒙
黄文�
朱小陆
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022052878A1 publication Critical patent/WO2022052878A1/en

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/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the field of electronic technologies, and in particular, to a push message management method and related devices.
  • Manual setting means that in the notification management interface of the mobile phone, the user manually sets each application individually, which is rather cumbersome
  • automatic blocking means that the mobile phone automatically blocks messages directly according to the system settings. This method is to perform corresponding processing after the mobile phone receives the push message of the application. The mobile phone has received the push message but does not display it, which still affects the power consumption of the mobile phone.
  • the embodiments of the present application provide a push message management method and a related device, which can reduce user operations, meet real needs of users, and effectively reduce power consumption.
  • the present application provides a push message management method, the method includes: a terminal device obtains usage information of a target application in a statistical period; the terminal device sends the usage information of the target application to a push server; The terminal device receives the inquiry message sent by the push server; wherein, the inquiry message is used to inquire whether the user needs to block the push message of the target application; detect the user's first operation on the inquiry message; wherein, the The first operation is used to determine that the user needs to block the push message of the target application; the terminal device sends a confirmation message to the push server in response to the first operation; wherein the confirmation message is used to indicate the push The server prohibits sending the push message of the target application to the terminal device.
  • the push server by sending the usage information of the target application on the terminal device to the push server, the push server can make a decision on whether to send an inquiry message to the terminal device; the terminal device sends a confirmation message to the push server, so that the push server can directly Block push messages from the target app. It not only reduces user operations, but also satisfies the user's real needs by actively asking the user, and also prevents the terminal device from being frequently woken up, thereby effectively reducing the power consumption of the device.
  • the target application refers to an application with a message push function, and a push server can be used to push messages.
  • the terminal device After the terminal device detects the user's first operation on the query message, the terminal device closes the notification of the target application in the notification management interface.
  • the user's first operation for the query message is automatically synchronized to the notification management setting interface on the terminal device, so that the user can locally query the push messages of which applications are blocked, reduce user operations, and satisfy the real needs of users.
  • the usage information of the target application includes one or more of usage duration, usage times, message sending times, message clicks, ratio of message clicks to pushes, or the number of consecutively unclicked messages.
  • the usage information of the target application is designed so that the usage information of the target application can be used to determine whether the target application is an application that is not commonly used, and the terminal device uses the usage information of the target application. It is sent to the push server, so that the push server can make corresponding judgments according to the usage information of the target application, which reduces user operations, meets real needs of users, and reduces power consumption of terminal devices.
  • the usage information of the target application includes one or more of usage duration, usage times, message sending times, message clicks, ratio of message clicks to pushes, or the number of consecutively unclicked messages, It also includes the identification of the target application and the identification of the terminal device.
  • the usage information of the target application can be used to judge whether the target application is an application that is not commonly used; by introducing the identifier of the target application and the terminal The identification of the device, so that the usage information of the target application can also be used to distinguish different terminal devices and different applications. It is worth noting that the usage information of the target application can also be used as other judgment basis.
  • the terminal device sends the use information of the target application to the push server, so that the push server can make corresponding judgments according to the use information of the target application, which reduces user operations, meets real needs of users, and reduces power consumption of the terminal device.
  • the method further includes: the terminal device detects a second operation performed by the user on the notification management interface; wherein , the second operation is used to determine that the user needs to open the push message of the target application; the terminal device sends an open message to the push server in response to the second operation; wherein the open message is used to indicate The push server allows sending the push message of the target application to the terminal device.
  • the user can locally control the push server to restore the application push message, which reduces user operations and meets the user's real needs.
  • the statistical period is one of a system preset or a user setting.
  • the terminal device directly counts the usage information of the target application according to the statistical period; if the statistical period set by the user is adopted, the terminal device first obtains the statistical period input by the user, and then uses the statistical period set by the user in the statistical period set by the user. Inside, the usage information of the target application installed on the terminal device is counted, and then the usage information of the target application is sent to the push server.
  • the terminal device For example, if the user inputs a statistical period of one week, the terminal device counts the usage information of the target application within one week, and sends the usage information of the target application to the push server.
  • the terminal device can perform statistics on usage information based on a statistical period preset by the system or a statistical period set by a user. If the statistical period set by the user is adopted, the user can set it reasonably according to their own needs, and the statistical period is controllable to meet the real needs of the user.
  • an embodiment of the present application provides another push message management method, the method includes: a push server receives usage information of a target application from a terminal device; the push server, according to the usage information of the target application, Judging whether it is necessary to send an inquiry message to the terminal device; wherein, the inquiry message is used to inquire whether the user needs to block the push message of the target application; if it is determined that the inquiry message needs to be sent, the push server sends the sending an inquiry message to the terminal device; the push server receives a confirmation message from the terminal device; wherein the confirmation message is used to instruct the push server to prohibit sending the push message of the target application to the terminal device.
  • the push server by receiving the usage information of the target application from the terminal device, the push server can make a decision on whether to send an inquiry message to the terminal device;
  • the push message of the target application described above reduces user operations, meets the real needs of users, and also prevents the terminal device from being frequently woken up, thereby effectively reducing the power consumption of the terminal device.
  • the target application refers to an application with a message push function, and a push server can be used to push messages.
  • the usage information of the target application includes one or more of usage duration, usage times, message sending times, message clicks, ratio of message clicks to pushes, or the number of consecutively unclicked messages.
  • the usage information of the target application is designed so that the usage information of the target application can be used to determine whether the target application is an application that is not commonly used, and the push server receives information from the terminal.
  • the usage information of the target application of the device determines whether an inquiry message needs to be issued according to the usage information of the target application, which reduces user operations, meets real needs of users, and reduces power consumption of the terminal device.
  • the usage information of the target application includes one or more of usage duration, usage times, message sending times, message clicks, ratio of message clicks to pushes, or the number of consecutively unclicked messages, It also includes the identification of the target application and the identification of the terminal device.
  • the usage information of the target application can be used to determine whether the target application is an uncommon application; by introducing the identifier of the target application and the The identification of the terminal device enables the use information of the target application to be used to distinguish different terminal devices and different target applications. It is worth noting that the usage information of the target application can also be used as other judgment basis.
  • the push server receives the usage information of the target application from the terminal device, and makes corresponding judgments according to the usage information of the target application, which reduces user operations, meets real needs of users, and reduces power consumption of the terminal device.
  • the method further includes: according to the confirmation message, the push server adds the pre-established whitelist to the The target application is deleted; wherein, the pre-established whitelist is a set of applications that are allowed to send push messages, including the mapping relationship between the terminal device and the application.
  • the push server deletes the target application in the pre-established white list, and then executes the application according to the modified white list.
  • the list determines whether to allow the sending of push messages of the application, which reduces user operations, meets the real needs of users, and reduces the power consumption of terminal devices.
  • the method further includes: the push server receives an application from an application The push message of the server; determine whether the application corresponding to the push message is in the white list; if the application corresponding to the push message is in the white list, send the push message to the terminal device; If the application corresponding to the push message is not in the white list, the push message is not sent to the terminal device.
  • the push server decides whether to send the push message of the application to the terminal device according to whether the application corresponding to the push message is included in the whitelist, which reduces user operations and satisfies the user's reality. requirements to reduce the power consumption of terminal equipment.
  • the method further includes: the push server adds to a pre-established blacklist according to the confirmation message The target application is added; wherein, the pre-established blacklist is a set of applications prohibited from sending push messages, including the mapping relationship between the terminal device and the application.
  • the user's first operation on the query message is synchronized to the push server, and the push server adds the target application to the pre-established blacklist, and then according to the modified blacklist It is judged whether to prohibit sending push messages of the application, which reduces user operations, meets real needs of users, and reduces power consumption of terminal devices.
  • the method further includes: the push server receives data from the application server the push message; determine whether the application corresponding to the push message is in the blacklist; if the application corresponding to the push message is in the blacklist, the push message is not sent to the terminal device; If the application corresponding to the push message is not in the blacklist, the push message is sent to the terminal device.
  • the push server decides whether to send the push message of the application to the terminal device according to whether the blacklist contains the application corresponding to the push message, which reduces user operations and satisfies the user's reality. requirements to reduce the power consumption of terminal equipment.
  • the push server determines whether it is necessary to send an inquiry message to the terminal device according to the usage information of the target application, including: when one or more of the following conditions are satisfied Next, it is determined that an inquiry message needs to be sent to the terminal device:
  • the usage duration of the target application is less than or equal to the usage duration threshold; or, the usage count of the target application is less than or equal to the usage count threshold; or, the message sending count of the target application is greater than the message sending count threshold; or, the The number of message clicks of the target application is less than or equal to the threshold of the number of message clicks; or, the ratio of the message clicks to the push volume of the target application is less than or equal to the threshold of the ratio of the message clicks to the push volume; The number of clicked messages is greater than the consecutive unclicked messages threshold.
  • the push server can make a judgment based on the usage information of the target application, and when the conditions are met, send an inquiry message to the terminal device, reducing the need for User operation, meet the real needs of users, and reduce the power consumption of terminal equipment.
  • an embodiment of the present application provides a terminal device, where the terminal device includes: an acquisition module for acquiring usage information of a target application in a statistical period; a sending module for sending the usage information of the target application to a push server; a receiving module, configured to receive an inquiry message sent by the push server; wherein the inquiry message is used to inquire whether the user needs to block the push message of the target application; a detection module is used to detect the user’s response to the inquiry The first operation of the message; wherein, the first operation is used to determine that the user needs to block the push message of the target application; the sending module is further configured to, in response to the first operation, send a confirmation message to the push The server; wherein the confirmation message is used to instruct the push server to prohibit sending the push message of the target application to the terminal device.
  • Each module of the shown terminal device is specifically used to implement the method described in the first aspect.
  • an embodiment of the present application provides an apparatus, the apparatus includes: a receiving module for receiving usage information of a target application from a terminal device; a determining module for determining according to the usage information of the target application Whether it is necessary to send an inquiry message to the terminal device; wherein, the inquiry message is used to inquire whether the user needs to block the push message of the target application; the sending module is used to send the inquiry when it is determined to send the inquiry message message to the terminal device; the receiving module is further configured to receive a confirmation message from the terminal device; wherein the confirmation message is used to instruct the apparatus to prohibit sending the push of the target application to the terminal device information.
  • Each module of the shown device is specifically used to implement the method described in the second aspect.
  • the embodiments of the present application provide another apparatus, the apparatus includes: a processor, a memory, and a transceiver; the processor, the memory, and the transceiver may be connected to each other through a bus, or may be integrated together.
  • the processor is configured to read the program code stored in the memory, and execute the method described in any one of the embodiments of the first aspect.
  • the embodiments of the present application provide yet another apparatus, the apparatus includes: a processor, a memory, and a transceiver; the processor, the memory, and the transceiver may be connected to each other through a bus, or may be integrated together.
  • the processor is configured to read the program code stored in the memory, and execute the method described in any one of the embodiments of the second aspect.
  • the embodiments of the present application provide yet another apparatus, the apparatus has a function of implementing the behavior of the terminal device in the above method aspect, and includes components for performing the steps or functions described in the above method aspect.
  • the steps or functions can be implemented by software, or by hardware (eg, circuits), or by a combination of hardware and software.
  • the embodiments of the present application provide another apparatus, the apparatus has the function of implementing the push server behavior in the above method aspect, and includes components for performing the steps or functions described in the above method aspect.
  • the steps or functions can be implemented by software, or by hardware (eg, circuits), or by a combination of hardware and software.
  • an embodiment of the present application provides a non-volatile computer-readable storage medium; the computer-readable storage medium is used to store an implementation code of any method of the first aspect or the second aspect.
  • an embodiment of the present application provides a computer program product; the computer program product includes program instructions, and when the computer program product is executed by a computing device, executes any of the embodiments described in the first aspect or the second aspect.
  • the computer program product may be a software installation package, and the computer program product may be downloaded and executed on the controller to implement the method described in any embodiment of the first aspect or the second aspect.
  • the push server by sending the usage information of the target application on the terminal device to the push server, the push server can make a decision on whether to send an inquiry message to the terminal device; the push server sends an inquiry message to the terminal device to inquire Whether the user needs to block the push messages of the target application; the terminal device sends a confirmation message to the push server, so that the push server can directly block the push messages of the target application.
  • the embodiment of the present application uploads the opening message to the push server by detecting the user's operation of enabling the application notification on the terminal device, so that the user can control the push server to restore the push message of the application on the terminal device. It not only reduces user operations, but also meets the real needs of users, and can effectively reduce the power consumption of terminal equipment.
  • 1a-1e are schematic diagrams of a group of interfaces involved in the manual setting method provided by the embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a software architecture provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of an interface provided by an embodiment of the present application.
  • 5a-5c are schematic diagrams of a method for establishing an application list according to an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a method for managing push messages according to an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of another push message management method provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a device provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of an apparatus provided by an embodiment of the present application.
  • Manual setting means that in the notification management interface of the terminal device, the user manually sets each application individually; automatic shielding means that the terminal device directly and automatically blocks messages according to the system settings, and the user cannot choose.
  • the manual setting mode is adopted, the operation process of the terminal device by the user can be exemplarily referred to as FIG. 1a , FIG. 1b , FIG. 1c , FIG. 1d , and FIG. 1e .
  • the terminal device displays an application menu interface 10, wherein the application menu interface 10 includes a setting control 11 and other controls (eg, a gallery control 12, a music control 13, etc.).
  • the terminal device receives the user's input operation 14 (such as clicking) on the setting control 11, and the terminal device displays the setting interface 15 corresponding to the setting control 11.
  • the setting interface 15 corresponding to the setting control includes a notification control 16 and other controls (eg WLAN control 17, mobile network control 18, etc.).
  • the terminal device receives the user's input operation 19 for the notification control 16, and the terminal device displays a notification interface 20 corresponding to the notification control 16, as shown in FIG. Short video application control 21, map application control 22, etc.).
  • the terminal device displays a short video
  • the notification management interface 24 corresponding to the video application control 21 .
  • Notification management interface 24 includes an enable notification control 25A and other controls.
  • the terminal device receives the user's input operation 26 (for example, a click) for the permission notification control 25A, and in response to the input operation 26, the terminal device displays the notification management interface 24 as shown in FIG. Other controls, so far, the terminal device blocks the notification of the short video application.
  • the terminal device automatically determines the push message of the application that needs to be shielded according to the system setting, and then directly shields it, that is, the push message of the application is not displayed. information. In this way, users cannot choose independently, and may not necessarily meet the real needs of users.
  • the two current common solutions of manual setting and automatic blocking are to block push messages on the terminal device.
  • the push server still sends the push message of the application normally. After the terminal device receives the push message of the application, , and then make a corresponding judgment on whether to display the push message. Regardless of whether it is finally displayed, the terminal device will still receive the push message of the application. Frequently receiving push messages and performing the corresponding judgment operation locally will still greatly affect the power consumption of the terminal device. .
  • an embodiment of the present application provides a push message management method.
  • the push server directly determines whether to send a push message to a terminal device, which can not only reduce user operations, but also meet the real needs of users, and also effectively Reduce power consumption of end devices.
  • the following describes a terminal device 100 involved in the embodiments of the present application.
  • FIG. 2 is a schematic structural diagram of a terminal device 100 involved in an embodiment of the present application.
  • the terminal device 100 may be a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, a notebook computer, etc., and this application does not limit the specific type of the terminal device.
  • the terminal device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2.
  • Mobile communication module 150 wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, And a subscriber identification module (subscriber identification module, SIM) card interface 195 and so on.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a touch sensor 180I, an ambient light sensor 180J, and the like.
  • the terminal device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • graphics processor graphics processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the controller may be the nerve center and command center of the terminal device 100 .
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transceiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the terminal device 100 .
  • the terminal device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
  • the wireless communication function of the terminal device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • the terminal device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 194 is used to display images, videos, and the like.
  • Display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light).
  • LED diode AMOLED
  • flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the terminal device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
  • the terminal device 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.
  • the ISP is used to process the data fed back by the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the terminal device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, and the like.
  • Video codecs are used to compress or decompress digital video.
  • the terminal device 100 may support one or more video codecs.
  • the terminal device 100 can play or record videos in various encoding formats, such as: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG moving picture experts group
  • MPEG2 moving picture experts group
  • MPEG3 MPEG4
  • MPEG4 moving picture experts group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the terminal device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device 100 .
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the processor 110 executes various functional applications and data processing of the terminal device 100 by executing the instructions stored in the internal memory 121 .
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application required for at least one function (such as a fingerprint recognition function, etc.), and the like.
  • the storage data area may store data created during the use of the terminal device 100 (such as usage information data of the target application, fingerprint information template, etc.) and the like.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the terminal device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
  • the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal.
  • Speaker 170A also referred to as a “speaker” is used to convert audio electrical signals into sound signals.
  • the receiver 170B also referred to as “earpiece”, is used to convert audio electrical signals into sound signals.
  • the microphone 170C also called “microphone” or “microphone”, is used to convert sound signals into electrical signals.
  • the earphone jack 170D is used to connect wired earphones.
  • the earphone interface 170D can be the USB interface 130, or can be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals.
  • the pressure sensor 180A may be provided on the display screen 194 .
  • the gyro sensor 180B may be used to determine the motion attitude of the terminal device 100 .
  • the angular velocity of the end device 100 about three axes ie, the x, y and z axes
  • the gyro sensor 180B may be determined by the gyro sensor 180B.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the ambient light sensor 180J is used to sense ambient light brightness.
  • the terminal device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the terminal device 100 can use the collected fingerprint characteristics to unlock fingerprints, access application locks, answer incoming calls with fingerprints, and the like.
  • the fingerprint sensor 180H can be arranged below the touch screen, the terminal device 100 can receive the user's touch operation on the touch screen corresponding to the fingerprint sensor, and the terminal device 100 can collect the fingerprint of the user's finger in response to the touch operation information.
  • the touch sensor 180I is also called “touch panel”.
  • the touch sensor 180I may be disposed on the display screen 194, and the touch sensor 180I and the display screen 194 form a touch screen, also called a "touch screen”.
  • the touch sensor 180I is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to touch operations may be provided through display screen 194 .
  • the touch sensor 180I may also be disposed on the surface of the terminal device 100, which is different from the position where the display screen 194 is located.
  • the keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
  • the electronic device 100 may receive key input and generate key signal input related to user settings and function control of the terminal device 100 .
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be contacted and separated from the terminal device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
  • the terminal device 100 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the terminal device 100 and cannot be separated from the terminal device 100 .
  • the software system of the terminal device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiments of the present application take an Android system with a layered architecture as an example to exemplarily describe the software structure of the terminal device 100 .
  • FIG. 3 is a block diagram of a software structure of a terminal device 100 according to an embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer.
  • the application layer can include a series of application packages.
  • the application package may include applications (also referred to as applications) such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS, etc.
  • applications also referred to as applications
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer may include window managers, content providers, view systems, telephony managers, resource managers, notification managers, and the like.
  • a window manager is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
  • Content providers are used to store and retrieve data and make these data accessible to applications.
  • the data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications.
  • a display interface can consist of one or more views.
  • the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
  • the resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
  • the notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a brief pause without user interaction.
  • the notification manager is used to notify download completion, message reminders, etc. It can also be used to convey a message that prompts the type of operation, and can exist for a long time, waiting to obtain user operations.
  • the notification manager is used to remind the user whether to block the push message of the application, and then obtain the user's action on the inquiry message.
  • the notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications from applications running in the background, and can also display notifications on the screen in the form of a dialog interface. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
  • Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
  • the core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
  • a system library can include multiple functional modules. For example: surface manager (surface manager), 2D graphics engine (eg: SGL), 3D graphics processing library (eg: OpenGL ES), media library (Media Libraries), etc.
  • surface manager surface manager
  • 2D graphics engine eg: SGL
  • 3D graphics processing library eg: OpenGL ES
  • Media Libraries media libraries
  • the Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
  • a query message may be displayed to the user, the query message is used to prompt the user to manage the push message of the application, and then the user's operation on the query message is detected to confirm Whether users need to block push messages from the app.
  • the query message can come from the push server or automatically generated by the terminal device.
  • there are multiple possible display modes for the query message including displaying the query message in the notification bar, and then obtaining the user's operation on the query message, and judging whether the user needs to block the push message of the application. For example, as shown in FIG.
  • the terminal device displays an inquiry message 402 on the notification bar interface 401 , and the inquiry message 402 includes a control for receiving notification 403 , a control for closing notification 404 and other controls.
  • the terminal device receives the user's input operation 405 (for example, clicking) for closing the notification control 404, and in response to the input operation 405, the terminal device confirms that the user needs to block the push message of the application, sends a confirmation message to the push server, and sends the notification message to the push server on the terminal device.
  • the notification setting of the application is modified to the blocked state (for example, the notification of the application is set to disabled, the notification control will be allowed to be closed, etc.). If the user clicks the receiving notification control 403, it is confirmed that the user does not need to block the push message of this application, and the terminal device does not need to send an inquiry message to the push server.
  • the query message may also have other display modes and operation modes, such as a pop-up window.
  • the query message is displayed in a way, and then the user's input operation is obtained. It can also be a short message prompt, or the terminal device can turn on the voice assistant, show the content of the query message to the user by voice broadcast, and then obtain the user's voice input to display the content of the query message. Determines whether the user wants to block push messages from the app.
  • the display position, display method, display content, etc. of the query message are not limited, and the operation mode for the query message is also not limited.
  • a corresponding application list may be established for the terminal device in the push server in advance, and the application list may be one or both of a blacklist and a whitelist.
  • the whitelist contains the mapping relationship between terminal devices and applications, and can be designed as a collection of applications that are allowed to send push messages to the terminal device.
  • the blacklist includes the mapping relationship between terminal devices and applications, and can be designed as a collection of applications that are prohibited from sending push messages to the terminal device.
  • the whitelist can also be set to a set of terminal devices that are allowed to send push messages of applications, and the blacklist can also be set to a set of terminal devices that are prohibited from sending push messages of applications. This application does not limit the form of the application list.
  • the terminal device first needs to update the system, and the system can support one or more push messages in the embodiment of the present application management method. After completing the system update, the terminal device may send the notification message setting of the local target application to the push server, and the push server then pre-establishes a corresponding notification message for the terminal device according to the notification message setting of the target application list of applications.
  • This application does not limit the system update method and the setting time for sending notification messages.
  • the notification message setting situation of a target application on the terminal device is shown in FIG. 5a, and the notification interface 20 displays the notification message setting situation corresponding to various applications.
  • the notification message settings of the applications are as follows: applications such as Find My Mobile, Email, Short Video, Maps, and Mobile Payment are set to enable notifications, and applications such as music, weather, and stocks are set to disable notifications.
  • the terminal device sends the notification message setting status of the above application to the push server.
  • the push server establishes a corresponding application list for the terminal device according to the notification message setting of the application.
  • the application list may be one or both of a white list or a black list.
  • the push server establishes a whitelist for the terminal device.
  • the form of the whitelist can be exemplarily shown in FIG. 5b.
  • the whitelist includes the identifier of the terminal device (for example, the terminal device ID) and the identifier of the application that allows notification, including Find my mobile phone ID, email ID, short video ID, map ID and mobile payment ID, the whitelist corresponds to the terminal device; if the push server establishes a blacklist for the terminal device, the form of the blacklist can be exemplary Referring to FIG.
  • the blacklist contains the identifiers of the terminal devices (eg, terminal device IDs) and the identifiers of applications for which notification is prohibited, including music IDs, weather IDs, and stock IDs, and the blacklist corresponds to the terminal devices.
  • the push server determines whether to send the push message of the application to the corresponding terminal device, and modifies the corresponding blacklist or whitelist according to the confirmation message or the opening message sent by the terminal device.
  • the confirmation message is used to instruct the push server to prohibit sending the push message of the target application to the terminal device, and the enable message instructs the push server to allow the push message of the target application to be sent to the push server.
  • the method of judging whether to send a push message and the method of modifying the blacklist/whitelist are described in detail below, and will not be repeated here. It should be noted that the above-mentioned embodiment is one of the possible embodiments of the present application, and is only used to explain the technical solution of the present application and is not a limitation.
  • the blacklist and whitelist may also have other establishment methods and corresponding modifications. It can also contain more information, which is not limited in this application.
  • FIG. 6 is a schematic flowchart of a method for managing push messages provided by an embodiment of the present application. The method includes but is not limited to the following steps:
  • S601 The terminal device acquires usage information of the target application.
  • the target application refers to an application with a message push function, and the application may use a push server to push messages.
  • the terminal device Before acquiring the usage information of the target application, the terminal device may determine in advance which applications installed on the terminal device belong to the target application.
  • the usage information of the target application may be designed to include the usage duration, usage times, message sending times, message clicks, consecutive unclicked messages, or message clicks and pushes of the target application in a statistical period. one or more of the ratios.
  • the usage information of the target application may be designed to include the usage duration, usage times, message sending times, message clicks, consecutive unclicked messages, or message clicks and pushes of the target application in a statistical period.
  • One or more of the ratios of the quantities and also includes the identifier of the target application and the identifier of the terminal device.
  • the statistical period may be preset by the system or set by the user.
  • the user sets the statistics period to 5 days on the terminal device, and the terminal device starts to collect the usage information of the target application installed on the terminal device within 5 days.
  • S602 The terminal device sends the usage information of the target application.
  • the terminal device After the terminal device completes the statistics of the usage information of the target application in this statistical period, it sends the usage information to the push server.
  • S603 The push server determines whether a query message needs to be sent.
  • the push server judges whether it is necessary to send an inquiry message to the terminal device according to the received usage information of the target application and according to a preset decision algorithm.
  • the terminal device determines whether to send an inquiry message according to the usage message of the target application, including:
  • the usage duration of the target application is less than or equal to the usage duration threshold; or, the usage count of the target application is less than or equal to the usage count threshold; or, the message sending count of the target application is greater than the message sending count threshold; or, the The number of message clicks of the target application is less than or equal to the threshold of the number of message clicks; or, the ratio of the message clicks to the push volume of the target application is less than or equal to the threshold of the ratio of the message clicks to the push volume; The number of clicked messages is greater than the consecutive unclicked messages threshold.
  • the pre-set decision-making algorithm of the push server is: first determine whether the usage duration of the target application is less than or equal to the usage duration threshold; if it is less than or equal to the usage duration threshold, then determine whether the number of message sending times of the target application is greater than the number of message sending thresholds; If it is greater than the threshold of the number of message sending times, it is then judged whether the number of message clicks of the target application is less than or equal to the threshold of the number of message clicks; Wherein, the inquiry message is used to inquire whether the user needs to block the push message of the target application.
  • the terminal device receives the usage information of the target application from the terminal device, the usage information includes the information required by the above decision algorithm, and then the push server uses the above decision algorithm to determine whether to send an inquiry message according to the usage information.
  • the above-mentioned embodiment is one of the possible embodiments of the present application, and is only used to explain the technical solution of the present application and is not limited. There may also be other decision algorithms, which are not limited in this application.
  • S605 The terminal device determines whether the user needs to block the push message of the application.
  • the terminal device displays the query message, and then obtains the user's operation on the query message, and determines whether the user needs to block the push message of the application.
  • the display position and display method of the query message are not limited, and the user does not limit the operation mode of the query message.
  • the display mode of the query message and the user's operation mode in the embodiment of the present application have been described above, and for the sake of brevity of the description, they will not be repeated here.
  • the setting for the target application in the notification management interface is modified to a state of blocking notifications.
  • the push server modifies the application list corresponding to the terminal device according to the confirmation message sent by the terminal device.
  • the application list includes one or both of a blacklist or a whitelist. The manner of establishing the blacklist/whitelist in the embodiment of the present application has been described above, and will not be repeated here.
  • the push server deletes the target application in the pre-established whitelist according to the received confirmation message.
  • the push server adds the target application to a pre-established blacklist according to the received confirmation message.
  • the terminal device detects a second operation performed by the user on the notification management interface; wherein the second operation is used to determine that the user needs to open the push message of the target application; the terminal device responds In the second operation, sending an opening message to the push server; wherein the opening message is used to instruct the push server to allow sending of the push message of the target application to the terminal device; the terminal device according to the opening message message, adding the target application to a pre-established whitelist.
  • the terminal device detects a second operation performed by the user on the notification management interface; wherein the second operation is used to determine that the user needs to open the push message of the target application; the terminal device responds In the second operation, sending an opening message to the push server; wherein the opening message is used to instruct the push server to allow sending of the push message of the target application to the terminal device; the terminal device according to the opening message message to delete the target application in the pre-established blacklist.
  • the terminal device detects a third operation performed by the user on the notification management interface; wherein the third operation is used to determine that the user needs to block the push message of the target application; the terminal device responds In the third operation, send a shutdown message to the push server; wherein the shutdown message is used to instruct the push server to prohibit sending the push message of the target application to the terminal device; the terminal device according to the shutdown message, adding the target application to a pre-established blacklist.
  • the terminal device detects a third operation performed by the user on the notification management interface; wherein the third operation is used to determine that the user needs to block the push message of the target application; the terminal device responds In the third operation, send a shutdown message to the push server; wherein the shutdown message is used to instruct the push server to prohibit sending the push message of the target application to the terminal device; the terminal device according to the shutdown message to delete the target application in the pre-established whitelist.
  • S608 The application server sends a push message to the push server.
  • the application server invokes the push server interface of the push server to initiate push as required.
  • the push message includes the application identifier and the terminal device identifier.
  • S609 The push server determines whether the push message of the application needs to be blocked.
  • the push server determines whether the application corresponding to the push message is in the whitelist corresponding to the terminal device; if the application corresponding to the push message is in the whitelist, it is not necessary to block the push message of the application ; If the application corresponding to the push message is not in the white list, the push message of the application needs to be shielded.
  • the push server determines whether the application corresponding to the push message is in the blacklist corresponding to the terminal device; if the application corresponding to the push message is in the blacklist, the push message of the application needs to be blocked ; If the application corresponding to the push message is not in the blacklist, it is not necessary to block the push message of the application.
  • the push server by sending the usage information of the target application on the terminal device to the push server, the push server can make a decision on whether to send an inquiry message to the terminal device; the push server sends an inquiry message to the terminal device to inquire Whether the user needs to block the push messages of the target application; the terminal device sends a confirmation message to the push server, so that the push server can directly block the push messages of the application.
  • the embodiment of the present application can upload the opening message to the push server by detecting the user's operation of enabling the application notification on the terminal device, so that the user can control the push server on the terminal device to restore the push message of the application. It not only reduces user operations, but also meets the real needs of users, and can effectively reduce the power consumption of terminal equipment.
  • the application server sends a request to the push server, requesting the push server to send the application usage information of the terminal device.
  • the push server sends the application usage information to the application server.
  • the application usage information may be sorted application usage information of multiple terminal devices, and the application server may perform corresponding analysis and extract useful information based on the application usage information.
  • FIG. 7 is a schematic flowchart of another push message management method provided by an embodiment of the present application. The method includes but is not limited to the following steps:
  • S701 The terminal device acquires usage information of the target application.
  • S702 The terminal device judges whether an inquiry message needs to be sent.
  • the inquiry message is used to inquire whether the user needs to block the push message of the target application.
  • the terminal device determines whether to send an inquiry message according to the usage message of the target application, including:
  • the usage duration of the target application is less than or equal to the usage duration threshold; or, the usage count of the target application is less than or equal to the usage count threshold; or, the message sending count of the target application is greater than the message sending count threshold; or, the The number of message clicks of the target application is less than or equal to the threshold of the number of message clicks; or, the ratio of the message clicks to the push volume of the target application is less than or equal to the threshold of the ratio of the message clicks to the push volume; The number of clicked messages is greater than the consecutive unclicked messages threshold.
  • S703 In the case where it is determined in S702 that an inquiry message needs to be sent, the terminal device determines whether the user needs to block the push message of the target application.
  • the terminal device when it is determined in S702 that an inquiry message needs to be sent, the terminal device automatically generates an inquiry message corresponding to the target application, displays the inquiry message, and then acquires the user's operation on the inquiry message, and determines whether the user needs to block the inquiry message.
  • the push message of the target application when it is determined in S702 that an inquiry message needs to be sent, the terminal device automatically generates an inquiry message corresponding to the target application, displays the inquiry message, and then acquires the user's operation on the inquiry message, and determines whether the user needs to block the inquiry message.
  • the push message of the target application when it is determined in S702 that an inquiry message needs to be sent.
  • the embodiment of the present application does not limit the display position, display mode and user operation mode of the query message.
  • the display mode of the query message and the corresponding user operation in the embodiment of the present application have been described above, and will not be repeated here.
  • the setting for the target application in the notification management interface is modified to a blocked state. For example, setting the app's notifications to disabled, allowing notification controls to be turned off, etc.
  • S706 The application server sends a push message to the push server.
  • S707 The push server determines whether the push message of the application needs to be blocked.
  • the terminal device by acquiring the usage information of the target application on the terminal device, the terminal device can make a decision on whether to send an inquiry message to the user; The message directly blocks the push message of the app.
  • the embodiment of the present application can upload the opening message to the push server by detecting the user's operation of opening the application notification on the terminal device, so that the user can control the push server to restore the push message of the application on the terminal device. It not only reduces user operations, but also meets the real needs of users, and can effectively reduce the power consumption of terminal equipment.
  • the terminal device can also first determine whether it is currently in a charging state or a fully charged state, and if it is in a charging state or a fully charged state, the terminal device starts. It is judged according to the usage information of the target application whether an inquiry message needs to be sent, that is, S702 is executed, and then other steps corresponding to FIG. 7 are continued to be executed; The usage information is sent to the push server, and the push server makes a corresponding judgment, that is, execute S602, and then continue to execute other steps corresponding to FIG. 6 . It can be seen that by judging whether the terminal device is in a charging state or a sufficient power state, and deciding whether to perform the above judgment steps on the terminal device or the push server, the power consumption of the terminal device can be reduced.
  • FIG. 8 is a structural block diagram of a terminal device 80 provided by an embodiment of the present application.
  • the terminal device 80 may include an acquisition module 801, a transmission module 802, a reception module 803 and a detection module 804.
  • the data/programs of these functional modules may be stored in the following memory 1001, and the detection module 804 may be executed
  • the functions of the sending module 802 and the receiving module 803 depend on the transceiver 1003 described below to perform signal transmission and reception of the uplink/downlink channel.
  • the data/programs of these functional modules can be stored in the above-mentioned internal memory 121, the detection module 804 can be executed on the above-mentioned processor 110, and the function implementation of the sending module 802 and the receiving module 803 depends on the above-mentioned
  • the mobile communication module 150 or the wireless communication module 160 performs signal transmission and reception of uplink/downlink channels.
  • a sending module 802 configured to send usage information of the target application to a push server
  • a receiving module 803, configured to receive an inquiry message sent by the push server; wherein the inquiry message is used to inquire whether the user needs to block the push message of the target application;
  • a detection module 804 configured to detect the user's first operation on the query message; wherein, the first operation is used to determine that the user needs to block the push message of the target application;
  • the sending module 802 is further configured to, in response to the first operation, send a confirmation message to the push server; wherein the confirmation message is used to instruct the push server to prohibit sending the target application to the terminal device push message.
  • the terminal device further includes an execution module 805; the execution module 805 is configured to close the notification of the target application in the notification management interface.
  • the usage information of the target application includes one or more of usage duration, usage count, message sending count, message click count, ratio of message click count to push count, or number of consecutively unclicked messages .
  • the usage information of the target application further includes an identifier of the target application and an identifier of the terminal device.
  • the detection module 804 is further configured to detect a second operation performed by the user on the notification management interface; wherein the second operation is used to determine that the user needs to open the push message of the target application;
  • the sending module 802 is further configured to send an opening message to the push server, wherein the opening message is used to instruct the push server to allow sending the push message of the target application to the terminal device.
  • the statistical period is one of a system preset or a user setting.
  • the above-mentioned terminal device 80 may be the terminal device in the above-mentioned embodiments of FIG. 6 and FIG. 7 , that is, in the specific implementation, the function implementation of each module of the terminal device 80 may refer to
  • the function implementation of each module of the terminal device 80 may refer to
  • FIG. 9 is a structural block diagram of an apparatus 90 provided by an embodiment of the present application.
  • the device 90 may include a receiving module 901, a determining module 902 and a transmitting module 903.
  • the data/programs of these functional modules may be stored in the following memory 1101, and the determining module 902 may be executed on the following processor 1102, and the function realization of the receiving module 901 and the sending module 903 depends on the transceiver 1103 described below to perform signal transmission and reception of the uplink/downlink channel. in:
  • a receiving module 901 configured to receive usage information of a target application from a terminal device
  • a determination module 902 configured to determine whether an inquiry message needs to be sent to the terminal device according to the usage information of the target application; wherein, the inquiry message is used to inquire whether the user needs to block the push message of the target application;
  • a sending module 903 configured to send the query message to the terminal device when it is determined to send the query message
  • the receiving module 901 is further configured to receive a confirmation message from the terminal device, wherein the confirmation message is used to instruct the apparatus to prohibit sending the push message of the target application to the terminal device.
  • the usage information of the target application includes one or more of usage duration, usage count, message sending count, message click count, ratio of message click count to push count, or number of consecutively unclicked messages .
  • the usage information of the target application further includes an identifier of the target application and an identifier of the terminal device.
  • the apparatus further includes an execution module 904; the execution module 904 is specifically configured to, according to the confirmation message, delete the target application in the pre-established whitelist; wherein the pre-established whitelist
  • the whitelist is a set of applications that are allowed to send push messages, including the mapping relationship between the terminal device and the application.
  • the receiving module 901 is further configured to receive a push message from an application server; the determining module 902 is further configured to determine whether the application corresponding to the push message is in the whitelist; the The sending module 903 is further configured to, if the application corresponding to the push message is in the white list, send the push message to the terminal device; if the application corresponding to the push message is not in the white list, then The push message is not sent to the terminal device.
  • the apparatus further includes an execution module 904; the execution module 904 is specifically configured to, according to the confirmation message, add the target application to a pre-established blacklist; wherein the pre-established blacklist
  • the blacklist is a set of applications that are prohibited from sending push messages, including the mapping relationship between the terminal device and the application.
  • the receiving module 901 is further configured to receive a push message from an application server; the determining module 902 is further configured to determine whether the application corresponding to the push message is in the blacklist; the The sending module 903 is further configured to, if the application corresponding to the push message is in the blacklist, not to send the push message to the terminal device; if the application corresponding to the push message is not in the blacklist, Then send the push message to the terminal device.
  • the determining module 902 is configured to include: in the case that one or more of the following conditions are satisfied, determine that an inquiry message needs to be sent to the terminal device:
  • the usage duration of the target application is less than or equal to the usage duration threshold; or, the usage count of the target application is less than or equal to the usage count threshold; or, the message sending count of the target application is greater than the message sending count threshold; or, the The number of message clicks of the target application is less than or equal to the threshold of the number of message clicks; or, the ratio of the message clicks to the push volume of the target application is less than or equal to the threshold of the ratio of the message clicks to the push volume; The number of clicked messages is greater than the consecutive unclicked messages threshold.
  • the above-mentioned apparatus 90 may be the push server in the above-mentioned embodiments of FIG. 6 and FIG. 7 , that is, in the specific implementation, the function implementation of each module of the apparatus 90 may refer to the above-mentioned implementation.
  • the relevant method steps of the example are described, and for the sake of brevity of the description, they will not be repeated here.
  • FIG. 10 is another apparatus 1000 provided by an embodiment of the present application.
  • the apparatus 1000 is, for example, the terminal device described in the embodiment of the present application.
  • the apparatus 1000 includes a processor 1002, a memory 1001 and a transceiver 1003, two or all of the processor 1002, the memory 1001 and the transceiver 1003 may be connected to each other through a bus 1005, or may be integrated together.
  • the apparatus 1000 further includes a display, where the display is configured to display a push message and an inquiry message of the application.
  • the memory 1001 includes but is not limited to random access memory (English: Random Access Memory, referred to as: RAM), read-only memory (English: Read-Only Memory, referred to as: ROM), erasable programmable read-only memory (English: English: Erasable Programmable Read Only Memory, referred to as EPROM), or portable read-only memory (English: Compact Disc Read-Only Memory, referred to as: CD-ROM), the memory 1001 is used for related instructions and data.
  • RAM Random Access Memory
  • ROM Read-Only Memory
  • EPROM Erasable Programmable Read Only Memory
  • CD-ROM Compact Disc Read-Only Memory
  • the transceiver 1003 is configured to receive data sent by the push server (eg, query message, etc.), or send data to the push server (eg, send usage information, confirmation message, startup message, etc. of the target application).
  • data sent by the push server eg, query message, etc.
  • send data to the push server eg, send usage information, confirmation message, startup message, etc. of the target application.
  • the processor 1002 may be one or more central processing units (English: Central Processing Unit, CPU for short). When the processor 1002 is a CPU, the CPU may be a single-core CPU or a multi-core CPU.
  • the processor 1002 in the apparatus 1000 may be specifically configured to execute the related methods on the terminal device side in the above-mentioned embodiments of FIG. 6 and FIG. 7 .
  • FIG. 11 is another apparatus 1100 provided by an embodiment of the present application.
  • the apparatus 1100 is, for example, the push server described in the embodiment of the present application.
  • the apparatus 1100 includes a processor 1102, a memory 1101, and a transceiver 1103, and two or all of the processor 1102, the memory 1101, and the transceiver 1103 may be connected to each other through a bus 1104, or may be integrated together.
  • the memory 1101 includes, but is not limited to, random access memory (English: Random Access Memory, referred to as: RAM), read-only memory (English: Read-Only Memory, referred to as: ROM), erasable programmable read-only memory (English: Erasable Programmable Read Only Memory, referred to as EPROM), or portable read-only memory (English: Compact Disc Read-Only Memory, referred to as: CD-ROM), the memory 1101 is used for related instructions and data.
  • RAM Random Access Memory
  • ROM Read-Only Memory
  • EPROM Erasable Programmable Read Only Memory
  • CD-ROM Compact Disc Read-Only Memory
  • the transceiver 1103 is used to receive data sent by the terminal device (such as usage information of the target application, confirmation message, opening message, etc.), or send data (such as an inquiry message, etc.) to the terminal device.
  • data sent by the terminal device such as usage information of the target application, confirmation message, opening message, etc.
  • send data such as an inquiry message, etc.
  • the processor 1102 may be one or more central processing units (English: Central Processing Unit, CPU for short).
  • CPU Central Processing Unit
  • the CPU may be a single-core CPU or a multi-core CPU.
  • the processor 1102 in the apparatus 1100 may be specifically configured to execute the related methods on the push server side in the above-mentioned embodiments of FIG. 6 and FIG. 7 .
  • the embodiments of the present application provide another device, and in a specific implementation, the device may be a chip.
  • the apparatus includes a processor and a memory coupled or integrated with the processor. in:
  • the memory for storing computer program instructions
  • the processor is configured to execute the computer program stored in the memory to obtain usage information of the target application in the statistical period; send the usage information of the target application to a push server; receive an inquiry message sent by the push server; The inquiry message is used to inquire whether the user needs to block the push message of the target application; the user's first operation on the inquiry message is detected; wherein the first operation is used to determine that the user needs to block the target application and send a confirmation message to the push server in response to the first operation; wherein the confirmation message is used to instruct the push server to prohibit sending the push message of the target application to the terminal device.
  • the chip may be coupled with a transceiver.
  • the transceiver can be used to send data to or receive data from the push server; for example, for sending the usage information of the target application to the push server, for example, for receiving the inquiry message sent by the push server; for example, for In response to the first operation, an acknowledgement message is sent to the push server.
  • the chip can be applied to terminal equipment.
  • the specific function implementation of the chip reference may also be made to the description of the relevant functions of the terminal device in the embodiments of FIG. 6 and FIG. 7 , which will not be repeated here.
  • the embodiments of the present application provide another apparatus.
  • the apparatus may be a chip, and the apparatus includes a processor and a memory coupled or integrated with the processor. in:
  • the memory for storing computer program instructions
  • the processor is configured to execute the computer program stored in the memory to receive usage information of the target application from the terminal device; according to the usage information of the target application, determine whether to send an inquiry message to the terminal device; Wherein, the inquiry message is used to inquire whether the user needs to block the push message of the target application; if it is determined that the inquiry message needs to be sent, the inquiry message is sent to the terminal device; the confirmation from the terminal device is received. message; wherein the confirmation message is used to instruct the push server to prohibit sending the push message of the target application to the terminal device.
  • the chip may be coupled with a transceiver.
  • the transceiver can be used to send data to or receive data from the terminal device, such as receiving usage information of the target application from the terminal device; for example, in the case of determining that an inquiry message needs to be sent, send the inquiry message to the terminal device ; for example receiving an acknowledgment message from the terminal device.
  • the chip can be applied to a push server.
  • a push server For the specific function implementation of the chip, reference may also be made to the description of the relevant functions of the push server in the embodiments of FIG. 6 and FIG. 7 , which will not be repeated here.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like.

Abstract

Disclosed are a method for managing a push message, and a related apparatus. The method comprises: a terminal device acquiring usage information of a target application within a statistical period; sending the usage information of the target application to a push server; receiving a query message sent by the push server, wherein the query message is used for querying whether a user requires a push message of the target application to be blocked; detecting a first operation of the user for the query message, wherein the first operation is used for determining that the user requires the push message of the target application to be blocked; and in response to the first operation, sending a confirmation message to the push server, wherein the confirmation message is used for indicating that the push server is prohibited from sending the push message of the target application to the terminal device. By means of the embodiments of the present application, user operations can be reduced, an actual requirement of a user can be met, and power consumption can be effectively reduced.

Description

推送消息的管理方法及相关装置Push message management method and related device
本申请要求于2020年09月14日提交中国专利局、申请号为202010959214.7、申请名称为“推送消息的管理方法及相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number of 202010959214.7 and the application title of "Management Method for Pushing Messages and Related Apparatus", which was filed with the China Patent Office on September 14, 2020, the entire contents of which are incorporated herein by reference. middle.
技术领域technical field
本申请涉及电子技术领域,尤其涉及一种推送消息的管理方法及相关装置。The present application relates to the field of electronic technologies, and in particular, to a push message management method and related devices.
背景技术Background technique
当前手机软件越来越多,几乎所有的应用都具有消息推送功能,手机频繁接收推送消息,导致手机通知栏消息越来越多,然而很多推送消息是用户不感兴趣的,导致用户不能及时看到有用信息,也会导致手机频繁唤醒,影响手机功耗。At present, there are more and more mobile phone software, and almost all applications have a message push function. Mobile phones receive push messages frequently, resulting in more and more messages in the mobile phone notification bar. However, many push messages are not of interest to users, so users cannot see them in time. Useful information will also cause the phone to wake up frequently, affecting the power consumption of the phone.
目前管理手机推送消息的方法主要分为两种:手动设置和自动屏蔽。手动设置是指在手机的通知管理界面,用户手动对每一个应用单独进行设置,比较繁琐;自动屏蔽是指手机根据系统设置直接自动屏蔽消息,这种方法用户不能独立选择,不一定满足用户的真实要求,而且该方法是在手机接收到应用的推送消息后,再进行相应的处理,手机已经接收推送消息但不显示,仍旧影响手机功耗。Currently, there are two main methods for managing mobile phone push messages: manual setting and automatic blocking. Manual setting means that in the notification management interface of the mobile phone, the user manually sets each application individually, which is rather cumbersome; automatic blocking means that the mobile phone automatically blocks messages directly according to the system settings. This method is to perform corresponding processing after the mobile phone receives the push message of the application. The mobile phone has received the push message but does not display it, which still affects the power consumption of the mobile phone.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种推送消息的管理方法及相关装置,能够减少用户操作,满足用户真实需求,有效降低功耗。The embodiments of the present application provide a push message management method and a related device, which can reduce user operations, meet real needs of users, and effectively reduce power consumption.
第一方面,本申请提供了一种推送消息的管理方法,所述方法包括:终端设备获取统计周期内目标应用的使用信息;所述终端设备发送所述目标应用的使用信息至推送服务器;所述终端设备接收所述推送服务器发送的询问消息;其中,所述询问消息用于询问用户是否需要屏蔽所述目标应用的推送消息;检测用户对所述询问消息的第一操作;其中,所述第一操作用于确定用户需要屏蔽所述目标应用的推送消息;所述终端设备响应于所述第一操作,发送确认消息至所述推送服务器;其中,所述确认消息用于指示所述推送服务器禁止向所述终端设备发送所述目标应用的推送消息。In a first aspect, the present application provides a push message management method, the method includes: a terminal device obtains usage information of a target application in a statistical period; the terminal device sends the usage information of the target application to a push server; The terminal device receives the inquiry message sent by the push server; wherein, the inquiry message is used to inquire whether the user needs to block the push message of the target application; detect the user's first operation on the inquiry message; wherein, the The first operation is used to determine that the user needs to block the push message of the target application; the terminal device sends a confirmation message to the push server in response to the first operation; wherein the confirmation message is used to indicate the push The server prohibits sending the push message of the target application to the terminal device.
本申请实施例通过发送终端设备上的目标应用的使用信息至推送服务器,使得推送服务器能够进行决策是否需要发送询问消息至所述终端设备;终端设备发送确认消息至推送服务器,使得推送服务器能够直接屏蔽目标应用的推送消息。既减少了用户操作,又通过向用户主动询问满足了用户的真实需求,还能避免终端设备被频繁唤醒,有效降低设备功耗。In this embodiment of the present application, by sending the usage information of the target application on the terminal device to the push server, the push server can make a decision on whether to send an inquiry message to the terminal device; the terminal device sends a confirmation message to the push server, so that the push server can directly Block push messages from the target app. It not only reduces user operations, but also satisfies the user's real needs by actively asking the user, and also prevents the terminal device from being frequently woken up, thereby effectively reducing the power consumption of the device.
其中,所述目标应用指的是具有消息推送功能的应用,并且可采用推送服务器进行消息推送。The target application refers to an application with a message push function, and a push server can be used to push messages.
基于第一方面,在可能的实施例中,所述终端设备检测用户对所述询问消息的第一操作之后,终端设备将通知管理界面内所述目标应用的通知关闭。Based on the first aspect, in a possible embodiment, after the terminal device detects the user's first operation on the query message, the terminal device closes the notification of the target application in the notification management interface.
可以看到,本申请实施例将用户针对所述询问消息的第一操作自动同步到终端设备上的通知管理设置界面,使得用户能够在本地查询屏蔽了哪些应用的推送消息,减少用户操作, 满足用户真实需求。It can be seen that, in this embodiment of the present application, the user's first operation for the query message is automatically synchronized to the notification management setting interface on the terminal device, so that the user can locally query the push messages of which applications are blocked, reduce user operations, and satisfy the real needs of users.
在具体的实施方式中,所述目标应用的使用信息包括使用时长、使用次数、消息发送次数、消息点击次数、消息点击量与推送量比值或者连续未点击的消息数中的一个或多个。In a specific embodiment, the usage information of the target application includes one or more of usage duration, usage times, message sending times, message clicks, ratio of message clicks to pushes, or the number of consecutively unclicked messages.
可以看到,本申请实施例通过对目标应用的使用信息进行设计,使得所述目标应用的使用信息可用于判断所述目标应用是否为不常用的应用,终端设备将所述目标应用的使用信息发送到推送服务器,使得推送服务器能根据所述目标应用的使用信息进行相应的判断,减少了用户操作,满足用户真实需求,降低终端设备的功耗。It can be seen that in the embodiment of the present application, the usage information of the target application is designed so that the usage information of the target application can be used to determine whether the target application is an application that is not commonly used, and the terminal device uses the usage information of the target application. It is sent to the push server, so that the push server can make corresponding judgments according to the usage information of the target application, which reduces user operations, meets real needs of users, and reduces power consumption of terminal devices.
在具体的实施方式中,所述目标应用的使用信息包括使用时长、使用次数、消息发送次数、消息点击次数、消息点击量与推送量比值或者连续未点击的消息数中的一个或多个,还包括目标应用的标识和所述终端设备的标识。In a specific implementation manner, the usage information of the target application includes one or more of usage duration, usage times, message sending times, message clicks, ratio of message clicks to pushes, or the number of consecutively unclicked messages, It also includes the identification of the target application and the identification of the terminal device.
可以看到,本申请实施例通过对目标应用的使用信息进行设计,使得所述目标应用的使用信息可用于判断所述目标应用是否为不常用的应用;通过引入目标应用的标识和所述终端设备的标识,使得所述目标应用的使用信息还能用于区分不同的终端设备以及不同的应用。值得注意的是,所述目标应用的使用信息还能作为其他判断依据。终端设备将所述目标应用的使用信息发送到推送服务器,使得推送服务器能根据目标应用的使用信息进行相应的判断,减少了用户操作,满足用户真实需求,降低终端设备功耗。It can be seen that, by designing the usage information of the target application in the embodiment of the present application, the usage information of the target application can be used to judge whether the target application is an application that is not commonly used; by introducing the identifier of the target application and the terminal The identification of the device, so that the usage information of the target application can also be used to distinguish different terminal devices and different applications. It is worth noting that the usage information of the target application can also be used as other judgment basis. The terminal device sends the use information of the target application to the push server, so that the push server can make corresponding judgments according to the use information of the target application, which reduces user operations, meets real needs of users, and reduces power consumption of the terminal device.
基于第一方面,在可能的实施例中,所述终端设备发送确认消息至所述推送服务器之后,所述方法还包括:所述终端设备检测用户对所述通知管理界面的第二操作;其中,所述第二操作用于确定用户需要开启所述目标应用的推送消息;所述终端设备响应于所述第二操作,发送开启消息至所述推送服务器;其中,所述开启消息用于指示推送服务器允许发送所述目标应用的推送消息至所述终端设备。Based on the first aspect, in a possible embodiment, after the terminal device sends a confirmation message to the push server, the method further includes: the terminal device detects a second operation performed by the user on the notification management interface; wherein , the second operation is used to determine that the user needs to open the push message of the target application; the terminal device sends an open message to the push server in response to the second operation; wherein the open message is used to indicate The push server allows sending the push message of the target application to the terminal device.
可以看到,通过将用户在终端设备上手动设置恢复应用通知的操作同步到推送服务器,使得用户能够在本地控制推送服务器恢复应用的推送消息,减少了用户操作,满足用户真实需求。It can be seen that by synchronizing the user's operation of manually setting the application restoration notification on the terminal device to the push server, the user can locally control the push server to restore the application push message, which reduces user operations and meets the user's real needs.
基于第一方面,在可能的实施例中,所述统计周期为系统预设或者用户设置中的一种。Based on the first aspect, in a possible embodiment, the statistical period is one of a system preset or a user setting.
若采用系统预设的统计周期,终端设备直接根据该统计周期统计目标应用的使用信息;若采用用户设置的统计周期,所述终端设备首先获取用户输入的统计周期,然后在用户设置的统计周期内,统计安装在所述终端设备上的目标应用的使用信息,然后将所述目标应用的使用信息发送至所述推送服务器。If the statistical period preset by the system is adopted, the terminal device directly counts the usage information of the target application according to the statistical period; if the statistical period set by the user is adopted, the terminal device first obtains the statistical period input by the user, and then uses the statistical period set by the user in the statistical period set by the user. Inside, the usage information of the target application installed on the terminal device is counted, and then the usage information of the target application is sent to the push server.
例如,用户输入统计周期为一周,终端设备在一周时间内统计目标应用的使用信息,将所述目标应用的使用信息发送至推送服务器。For example, if the user inputs a statistical period of one week, the terminal device counts the usage information of the target application within one week, and sends the usage information of the target application to the push server.
可以看到,终端设备可以基于系统预设的统计周期或者用户设置的统计周期进行使用信息的统计。若采用用户设置的统计周期,用户可以根据自身需求合理设置,统计周期可控,满足用户的真实需求。It can be seen that the terminal device can perform statistics on usage information based on a statistical period preset by the system or a statistical period set by a user. If the statistical period set by the user is adopted, the user can set it reasonably according to their own needs, and the statistical period is controllable to meet the real needs of the user.
第二方面,本申请实施例提供了又一种推送消息的管理方法,所述方法包括:推送服务器接收来自终端设备的目标应用的使用信息;所述推送服务器根据所述目标应用的使用信息,判断是否需要发送询问消息至所述终端设备;其中,所述询问消息用于询问用户是否需要屏蔽所述目标应用的推送消息;在确定需要发送询问消息的情况下,所述推送服务器发送所述询问消息至所述终端设备;所述推送服务器接收来自所述终端设备的确认消息;其中,所述确认消息用于指示所述推送服务器禁止向所述终端设备发送所述目标应用的推送消息。In a second aspect, an embodiment of the present application provides another push message management method, the method includes: a push server receives usage information of a target application from a terminal device; the push server, according to the usage information of the target application, Judging whether it is necessary to send an inquiry message to the terminal device; wherein, the inquiry message is used to inquire whether the user needs to block the push message of the target application; if it is determined that the inquiry message needs to be sent, the push server sends the sending an inquiry message to the terminal device; the push server receives a confirmation message from the terminal device; wherein the confirmation message is used to instruct the push server to prohibit sending the push message of the target application to the terminal device.
本申请实施例通过接收来自终端设备的目标应用的使用信息,使得推送服务器能够进行 决策是否需要发送询问消息至所述终端设备;推送服务器能够根据终端设备发送的确认消息,直接在推送服务器屏蔽所述目标应用的推送消息,减少了用户操作,满足用户的真实需求,还能避免终端设备被频繁唤醒,有效降低终端设备的功耗。In this embodiment of the present application, by receiving the usage information of the target application from the terminal device, the push server can make a decision on whether to send an inquiry message to the terminal device; The push message of the target application described above reduces user operations, meets the real needs of users, and also prevents the terminal device from being frequently woken up, thereby effectively reducing the power consumption of the terminal device.
其中,所述目标应用指的是具有消息推送功能的应用,并且可采用推送服务器进行消息推送。The target application refers to an application with a message push function, and a push server can be used to push messages.
在具体的实施方式中,所述目标应用的使用信息包括使用时长、使用次数、消息发送次数、消息点击次数、消息点击量与推送量比值或者连续未点击的消息数中的一个或多个。In a specific embodiment, the usage information of the target application includes one or more of usage duration, usage times, message sending times, message clicks, ratio of message clicks to pushes, or the number of consecutively unclicked messages.
可以看到,本申请实施例通过对目标应用的使用信息进行设计,使得所述目标应用的使用信息可以用于判断所述目标应用是否为不常用的应用,所述推送服务器接收来自所述终端设备的所述目标应用的使用信息,根据所述目标应用的使用信息判断是否需要下发询问消息,减少了用户操作,满足用户真实需求,降低终端设备的功耗。It can be seen that in the embodiment of the present application, the usage information of the target application is designed so that the usage information of the target application can be used to determine whether the target application is an application that is not commonly used, and the push server receives information from the terminal. The usage information of the target application of the device determines whether an inquiry message needs to be issued according to the usage information of the target application, which reduces user operations, meets real needs of users, and reduces power consumption of the terminal device.
在具体的实施方式中,所述目标应用的使用信息包括使用时长、使用次数、消息发送次数、消息点击次数、消息点击量与推送量比值或者连续未点击的消息数中的一个或多个,还包括目标应用的标识和所述终端设备的标识。In a specific implementation manner, the usage information of the target application includes one or more of usage duration, usage times, message sending times, message clicks, ratio of message clicks to pushes, or the number of consecutively unclicked messages, It also includes the identification of the target application and the identification of the terminal device.
可以看到,本申请实施例通过对目标应用的使用信息进行设计,使得所述目标应用的使用信息可以用于判断所述目标应用是否为不常用的应用;通过引入目标应用的标识和所述终端设备的标识,使得所述目标应用的使用信息还能用于区分不同的终端设备以及不同的目标应用。值得注意的是,所述目标应用的使用信息还能作为其他判断依据。推送服务器接收来自终端设备的所述目标应用的使用信息,根据目标应用的使用信息进行相应的判断,减少了用户操作,满足用户真实需求,降低终端设备的功耗。It can be seen that, by designing the usage information of the target application in the embodiment of the present application, the usage information of the target application can be used to determine whether the target application is an uncommon application; by introducing the identifier of the target application and the The identification of the terminal device enables the use information of the target application to be used to distinguish different terminal devices and different target applications. It is worth noting that the usage information of the target application can also be used as other judgment basis. The push server receives the usage information of the target application from the terminal device, and makes corresponding judgments according to the usage information of the target application, which reduces user operations, meets real needs of users, and reduces power consumption of the terminal device.
基于第二方面,在可能的实施例中,所述推送服务器接收来自所述终端设备的确认消息之后,所述方法还包括:所述推送服务器根据所述确认消息,将预先建立的白名单中的所述目标应用删除;其中,所述预先建立的白名单为允许发送推送消息的应用集合,包括所述终端设备及应用的映射关系。Based on the second aspect, in a possible embodiment, after the push server receives the confirmation message from the terminal device, the method further includes: according to the confirmation message, the push server adds the pre-established whitelist to the The target application is deleted; wherein, the pre-established whitelist is a set of applications that are allowed to send push messages, including the mapping relationship between the terminal device and the application.
可以看到,通过所述确认消息,将用户对所述询问消息的第一操作同步到推送服务器,所述推送服务器删除预先建立的白名单中的所述目标应用,之后再根据修改后的白名单判断是否允许发送应用的推送消息,减少了用户操作,满足用户真实需求,降低终端设备的功耗。It can be seen that, through the confirmation message, the user's first operation on the query message is synchronized to the push server, and the push server deletes the target application in the pre-established white list, and then executes the application according to the modified white list. The list determines whether to allow the sending of push messages of the application, which reduces user operations, meets the real needs of users, and reduces the power consumption of terminal devices.
基于第二方面,在可能的实施例中,所述推送服务器根据所述确认消息,将预先建立的白名单中的所述目标应用删除之后,所述方法还包括:所述推送服务器接收来自应用服务器的推送消息;判断所述推送消息对应的应用是否在所述白名单中;若所述推送消息对应的应用在所述白名单中,则发送所述推送消息至所述终端设备;若所述推送消息对应的应用不在所述白名单中,则不发送所述推送消息至所述终端设备。Based on the second aspect, in a possible embodiment, after the push server deletes the target application in the pre-established whitelist according to the confirmation message, the method further includes: the push server receives an application from an application The push message of the server; determine whether the application corresponding to the push message is in the white list; if the application corresponding to the push message is in the white list, send the push message to the terminal device; If the application corresponding to the push message is not in the white list, the push message is not sent to the terminal device.
可以看到,所述推送服务器接收来自应用服务器的推送消息后,根据白名单中是否包含推送消息对应的应用,决定是否发送应用的推送消息至所述终端设备,减少了用户操作,满足用户真实需求,降低终端设备的功耗。It can be seen that, after receiving the push message from the application server, the push server decides whether to send the push message of the application to the terminal device according to whether the application corresponding to the push message is included in the whitelist, which reduces user operations and satisfies the user's reality. requirements to reduce the power consumption of terminal equipment.
基于第二方面,在可能的实施例中,所述推送服务器接收来自所述终端设备的确认消息之后,所述方法还包括:所述推送服务器根据所述确认消息,往预先建立的黑名单中增加所述目标应用;其中,所述预先建立的黑名单为禁止发送推送消息的应用集合,包括所述终端设备及应用的映射关系。Based on the second aspect, in a possible embodiment, after the push server receives the confirmation message from the terminal device, the method further includes: the push server adds to a pre-established blacklist according to the confirmation message The target application is added; wherein, the pre-established blacklist is a set of applications prohibited from sending push messages, including the mapping relationship between the terminal device and the application.
可以看到,通过所述确认消息,将用户对所述询问消息的第一操作同步到推送服务器,所述推送服务器往预先建立的黑名单中增加所述目标应用,之后根据修改后的黑名单进行判 断是否禁止发送应用的推送消息,减少了用户操作,满足用户真实需求,降低终端设备的功耗。It can be seen that, through the confirmation message, the user's first operation on the query message is synchronized to the push server, and the push server adds the target application to the pre-established blacklist, and then according to the modified blacklist It is judged whether to prohibit sending push messages of the application, which reduces user operations, meets real needs of users, and reduces power consumption of terminal devices.
基于第二方面,在可能的实施例中,所述推送服务器根据所述确认消息,往预先建立的黑名单中增加所述目标应用之后,所述方法还包括:所述推送服务器接收来自应用服务器的推送消息;判断所述推送消息对应的应用是否在所述黑名单中;若所述推送消息对应的应用在所述黑名单中,则不发送所述推送消息至所述终端设备;若所述推送消息对应的应用不在所述黑名单中,则发送所述推送消息至所述终端设备。Based on the second aspect, in a possible embodiment, after the push server adds the target application to a pre-established blacklist according to the confirmation message, the method further includes: the push server receives data from the application server the push message; determine whether the application corresponding to the push message is in the blacklist; if the application corresponding to the push message is in the blacklist, the push message is not sent to the terminal device; If the application corresponding to the push message is not in the blacklist, the push message is sent to the terminal device.
可以看到,所述推送服务器接收来自应用服务器的推送消息后,根据黑名单中是否包含推送消息对应的应用,决定是否发送应用的推送消息至所述终端设备,减少了用户操作,满足用户真实需求,降低终端设备的功耗。It can be seen that, after receiving the push message from the application server, the push server decides whether to send the push message of the application to the terminal device according to whether the blacklist contains the application corresponding to the push message, which reduces user operations and satisfies the user's reality. requirements to reduce the power consumption of terminal equipment.
基于第二方面,在可能的实施例中,所述推送服务器根据所述目标应用的使用信息,判断是否需要发送询问消息至所述终端设备,包括:在满足以下一种或多种条件的情况下,确定需要发送询问消息至所述终端设备:Based on the second aspect, in a possible embodiment, the push server determines whether it is necessary to send an inquiry message to the terminal device according to the usage information of the target application, including: when one or more of the following conditions are satisfied Next, it is determined that an inquiry message needs to be sent to the terminal device:
所述目标应用的使用时长小于或等于使用时长阈值;或者,所述目标应用的使用次数小于或等于使用次数阈值;或者,所述目标应用的消息发送次数大于消息发送次数阈值;或者,所述目标应用的消息点击次数小于或等于消息点击次数阈值;或者,所述目标应用的消息点击量与推送量比值小于或等于消息点击量与推送量比值的阈值;或者,所述目标应用的连续未点击的消息数大于连续未点击的消息数阈值。The usage duration of the target application is less than or equal to the usage duration threshold; or, the usage count of the target application is less than or equal to the usage count threshold; or, the message sending count of the target application is greater than the message sending count threshold; or, the The number of message clicks of the target application is less than or equal to the threshold of the number of message clicks; or, the ratio of the message clicks to the push volume of the target application is less than or equal to the threshold of the ratio of the message clicks to the push volume; The number of clicked messages is greater than the consecutive unclicked messages threshold.
可以看到,通过对是否需要发送询问消息的判断方法进行设计,使得推送服务器能够依据所述目标应用的使用信息进行判断,在满足条件的情况下,发送询问消息至所述终端设备,减少了用户操作,满足用户真实需求,降低终端设备的功耗。It can be seen that by designing a method for judging whether to send an inquiry message, the push server can make a judgment based on the usage information of the target application, and when the conditions are met, send an inquiry message to the terminal device, reducing the need for User operation, meet the real needs of users, and reduce the power consumption of terminal equipment.
第三方面,本申请实施例提供了一种终端设备,所述终端设备包括:获取模块,用于获取统计周期内目标应用的使用信息;发送模块,用于发送所述目标应用的使用信息至推送服务器;接收模块,用于接收所述推送服务器发送的询问消息;其中,所述询问消息用于询问用户是否需要屏蔽所述目标应用的推送消息;检测模块,用于检测用户对所述询问消息的第一操作;其中,所述第一操作用于确定用户需要屏蔽所述目标应用的推送消息;所述发送模块还用于,响应于所述第一操作,发送确认消息至所述推送服务器;其中,所述确认消息用于指示所述推送服务器禁止向所述终端设备发送所述目标应用的推送消息。In a third aspect, an embodiment of the present application provides a terminal device, where the terminal device includes: an acquisition module for acquiring usage information of a target application in a statistical period; a sending module for sending the usage information of the target application to a push server; a receiving module, configured to receive an inquiry message sent by the push server; wherein the inquiry message is used to inquire whether the user needs to block the push message of the target application; a detection module is used to detect the user’s response to the inquiry The first operation of the message; wherein, the first operation is used to determine that the user needs to block the push message of the target application; the sending module is further configured to, in response to the first operation, send a confirmation message to the push The server; wherein the confirmation message is used to instruct the push server to prohibit sending the push message of the target application to the terminal device.
所示终端设备的各个模块具体用于实现第一方面所述的方法。Each module of the shown terminal device is specifically used to implement the method described in the first aspect.
第四方面,本申请实施例提供了一种装置,所述装置包括:接收模块,用于接收来自终端设备的目标应用的使用信息;确定模块,用于根据所述目标应用的使用信息,判断是否需要发送询问消息至所述终端设备;其中,所述询问消息用于询问用户是否需要屏蔽所述目标应用的推送消息;发送模块,用于在确定发送询问消息的情况下,发送所述询问消息至所述终端设备;所述接收模块还用于,接收来自所述终端设备的确认消息;其中,所述确认消息用于指示所述装置禁止向所述终端设备发送所述目标应用的推送消息。In a fourth aspect, an embodiment of the present application provides an apparatus, the apparatus includes: a receiving module for receiving usage information of a target application from a terminal device; a determining module for determining according to the usage information of the target application Whether it is necessary to send an inquiry message to the terminal device; wherein, the inquiry message is used to inquire whether the user needs to block the push message of the target application; the sending module is used to send the inquiry when it is determined to send the inquiry message message to the terminal device; the receiving module is further configured to receive a confirmation message from the terminal device; wherein the confirmation message is used to instruct the apparatus to prohibit sending the push of the target application to the terminal device information.
所示装置的各个模块具体用于实现第二方面所述的方法。Each module of the shown device is specifically used to implement the method described in the second aspect.
第五方面,本申请实施例提供又一种装置,该装置包括:处理器,存储器和收发器;所述处理器、存储器和收发器可通过总线相互连接,也可以集成在一起。该处理器用于读取所述存储器中存储的程序代码,执行上述第一方面任一实施例所述的方法。In a fifth aspect, the embodiments of the present application provide another apparatus, the apparatus includes: a processor, a memory, and a transceiver; the processor, the memory, and the transceiver may be connected to each other through a bus, or may be integrated together. The processor is configured to read the program code stored in the memory, and execute the method described in any one of the embodiments of the first aspect.
第六方面,本申请实施例提供又一种装置,该装置包括:处理器,存储器和收发器;所述处理器、存储器和收发器可通过总线相互连接,也可以集成在一起。该处理器用于读取所 述存储器中存储的程序代码,执行上述第二方面的任一实施例所述的方法。In a sixth aspect, the embodiments of the present application provide yet another apparatus, the apparatus includes: a processor, a memory, and a transceiver; the processor, the memory, and the transceiver may be connected to each other through a bus, or may be integrated together. The processor is configured to read the program code stored in the memory, and execute the method described in any one of the embodiments of the second aspect.
第七方面,本申请实施例提供又一种装置,该装置具有实现上述方法方面中终端设备行为的功能,其包括用于执行上述方法方面所描述的步骤或功能相对应的部件。所述步骤或功能可以通过软件实现,或硬件(如电路)实现,或者通过硬件和软件结合来实现。In a seventh aspect, the embodiments of the present application provide yet another apparatus, the apparatus has a function of implementing the behavior of the terminal device in the above method aspect, and includes components for performing the steps or functions described in the above method aspect. The steps or functions can be implemented by software, or by hardware (eg, circuits), or by a combination of hardware and software.
第八方面,本申请实施例提供又一种装置,该装置具有实现上述方法方面中推送服务器行为的功能,其包括用于执行上述方法方面所描述的步骤或功能相对应的部件。所述步骤或功能可以通过软件实现,或硬件(如电路)实现,或者通过硬件和软件结合来实现。In an eighth aspect, the embodiments of the present application provide another apparatus, the apparatus has the function of implementing the push server behavior in the above method aspect, and includes components for performing the steps or functions described in the above method aspect. The steps or functions can be implemented by software, or by hardware (eg, circuits), or by a combination of hardware and software.
第九方面,本申请实施例提供了一种非易失性计算机可读存储介质;所述计算机可读存储介质用于存储第一方面或第二方面的任一方法的实现代码。In a ninth aspect, an embodiment of the present application provides a non-volatile computer-readable storage medium; the computer-readable storage medium is used to store an implementation code of any method of the first aspect or the second aspect.
第十方面,本申请实施例提供了一种计算机程序产品;该计算机程序产品包括程序指令,当该计算机程序产品被计算设备执行时,执行前述第一方面或第二方面的任意实施例描述的方法。该计算机程序产品可以为一个软件安装包,可以下载该计算机程序产品并在控制器上执行该计算机程序产品,以实现第一方面或第二方面的任意实施例描述的方法。In a tenth aspect, an embodiment of the present application provides a computer program product; the computer program product includes program instructions, and when the computer program product is executed by a computing device, executes any of the embodiments described in the first aspect or the second aspect. method. The computer program product may be a software installation package, and the computer program product may be downloaded and executed on the controller to implement the method described in any embodiment of the first aspect or the second aspect.
可以理解的是上述任何一方面可以与其他任一方面或者多方面一起实施,也可以独立实施。It should be understood that any of the above-mentioned aspects can be implemented together with any other aspect or aspects, and can also be implemented independently.
可以看到,本申请实施例通过发送终端设备上的目标应用的使用信息至推送服务器,使得推送服务器能够进行决策是否需要发送询问消息至所述终端设备;推送服务器发送询问消息至终端设备,询问用户是否需要屏蔽目标应用的推送消息;终端设备发送确认消息至推送服务器,使得推送服务器能够直接屏蔽目标应用的推送消息。而且本申请实施例通过检测用户在终端设备上开启应用通知的操作,将开启消息上传至推送服务器,使得用户能够在终端设备上控制推送服务器恢复应用的推送消息。既减少了用户操作,又满足了用户的真实需求,还能有效降低终端设备的功耗。It can be seen that, in this embodiment of the present application, by sending the usage information of the target application on the terminal device to the push server, the push server can make a decision on whether to send an inquiry message to the terminal device; the push server sends an inquiry message to the terminal device to inquire Whether the user needs to block the push messages of the target application; the terminal device sends a confirmation message to the push server, so that the push server can directly block the push messages of the target application. Moreover, the embodiment of the present application uploads the opening message to the push server by detecting the user's operation of enabling the application notification on the terminal device, so that the user can control the push server to restore the push message of the application on the terminal device. It not only reduces user operations, but also meets the real needs of users, and can effectively reduce the power consumption of terminal equipment.
附图说明Description of drawings
图1a-图1e为本申请实施例提供的手动设置方法中涉及的一组界面示意图;1a-1e are schematic diagrams of a group of interfaces involved in the manual setting method provided by the embodiment of the present application;
图2为本申请实施例提供的一种终端设备的结构示意图;FIG. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
图3为本申请实施例提供的一种软件架构示意图;3 is a schematic diagram of a software architecture provided by an embodiment of the present application;
图4为本申请实施例提供的一幅界面示意图;4 is a schematic diagram of an interface provided by an embodiment of the present application;
图5a-图5c为本申请实施例提供的一种应用列表的建立方式示意图;5a-5c are schematic diagrams of a method for establishing an application list according to an embodiment of the present application;
图6为本申请实施例提供的一种推送消息的管理方法的流程示意图;6 is a schematic flowchart of a method for managing push messages according to an embodiment of the present application;
图7为本申请实施例提供的又一种推送消息的管理方法的流程示意图;7 is a schematic flowchart of another push message management method provided by an embodiment of the present application;
图8为本申请实施例提供的一种终端设备的结构示意图;FIG. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
图9为本申请实施例提供的一种装置的结构示意图;FIG. 9 is a schematic structural diagram of a device provided by an embodiment of the present application;
图10为本申请实施例提供的一种终端设备的结构示意图;FIG. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
图11为本申请实施例提供的一种装置的结构示意图。FIG. 11 is a schematic structural diagram of an apparatus provided by an embodiment of the present application.
具体实施方式detailed description
下面结合附图,对本申请的实施例进行描述。The embodiments of the present application will be described below with reference to the accompanying drawings.
目前管理推送消息的常用方案主要分为两种:手动设置和自动屏蔽。手动设置是指在终端设备的通知管理界面内,用户手动对每一个应用单独进行设置;自动屏蔽是指终端设备根 据系统设置直接自动屏蔽消息,用户无法选择。若采用手动设置方式,用户对终端设备的操作过程可以示例性地参考如图1a、图1b、图1c、图1d、图1e。如图1a所示,终端设备显示应用程序菜单界面10,其中,应用程序菜单界面10包括有设置控件11和其他控件(例如图库控件12、音乐控件13等)。终端设备接收用户针对设置控件11的输入操作14(例如点击),终端设备显示设置控件11对应的设置界面15,如图1b所示,设置控件对应的设置界面15包括有通知控件16和其他控件(例如WLAN控件17、移动网络控件18等)。终端设备接收用户针对通知控件16的输入操作19,终端设备显示通知控件16对应的通知界面20,如图1c所示,其中,通知界面20包括有一种或多种应用程序对应的应用控件(例如短视频应用控件21、地图应用控件22等)。假设用户想要关闭短视频应用的推送消息,用户点击通知界面20上的短视频应用控件21,终端设备接收用户针对短视频应用控件21的点击操作23,如图1d所示,终端设备显示短视频应用控件21对应的通知管理界面24。通知管理界面24包括有允许通知控件25A和其他控件。终端设备接收用户针对允许通知控件25A的输入操作26(例如点击),响应于该输入操作26,终端设备显示如图1e所示的通知管理界面24,通知管理界面24包括有允许通知控件25B和其他控件,至此,终端设备将短视频应用的通知屏蔽。Currently, there are two common solutions for managing push messages: manual setting and automatic blocking. Manual setting means that in the notification management interface of the terminal device, the user manually sets each application individually; automatic shielding means that the terminal device directly and automatically blocks messages according to the system settings, and the user cannot choose. If the manual setting mode is adopted, the operation process of the terminal device by the user can be exemplarily referred to as FIG. 1a , FIG. 1b , FIG. 1c , FIG. 1d , and FIG. 1e . As shown in FIG. 1a, the terminal device displays an application menu interface 10, wherein the application menu interface 10 includes a setting control 11 and other controls (eg, a gallery control 12, a music control 13, etc.). The terminal device receives the user's input operation 14 (such as clicking) on the setting control 11, and the terminal device displays the setting interface 15 corresponding to the setting control 11. As shown in FIG. 1b, the setting interface 15 corresponding to the setting control includes a notification control 16 and other controls (eg WLAN control 17, mobile network control 18, etc.). The terminal device receives the user's input operation 19 for the notification control 16, and the terminal device displays a notification interface 20 corresponding to the notification control 16, as shown in FIG. Short video application control 21, map application control 22, etc.). Suppose the user wants to close the push message of the short video application, the user clicks the short video application control 21 on the notification interface 20, and the terminal device receives the user's click operation 23 on the short video application control 21, as shown in Figure 1d, the terminal device displays a short video The notification management interface 24 corresponding to the video application control 21 . Notification management interface 24 includes an enable notification control 25A and other controls. The terminal device receives the user's input operation 26 (for example, a click) for the permission notification control 25A, and in response to the input operation 26, the terminal device displays the notification management interface 24 as shown in FIG. Other controls, so far, the terminal device blocks the notification of the short video application.
由上述图1a、图1b、图1c、图1d、图1e所示的手动设置方式可以看出,若用户需要屏蔽应用的推送消息,用户需要先点击设置控件以显示设置界面,然后用户需要点击通知控件,以显示通知界面,然后用户又需要点击想要屏蔽的应用对应的应用控件,以显示该应用的通知管理界面,最后用户需要点击允许通知控件,才能够将该应用的推送消息屏蔽。这样,用户需要经过多步操作才能够将应用的推送消息关闭,整个操作过程步骤繁多,而且用户要手动对每一个需要屏蔽的应用进行单独设置,操作过程繁杂,影响用户体验。It can be seen from the manual setting methods shown in Figure 1a, Figure 1b, Figure 1c, Figure 1d, and Figure 1e that if the user needs to block the push message of the application, the user needs to click the setting control first to display the setting interface, and then the user needs to click The notification control is used to display the notification interface, and then the user needs to click the application control corresponding to the application to be blocked to display the notification management interface of the application. Finally, the user needs to click the allow notification control to block the push message of the application. In this way, the user needs to go through multiple steps to close the push message of the application. There are many steps in the whole operation process, and the user has to manually set each application to be blocked separately. The operation process is complicated and affects the user experience.
若采用自动屏蔽方式,整个屏蔽过程是由终端设备执行的,用户无法参与设置,终端设备根据系统的设置,自动确定需要屏蔽的应用的推送消息,然后直接屏蔽,也就是不显示该应用的推送消息。这种方式用户不能独立选择,不一定满足用户的真实需求。需要注意的是,手动设置和自动屏蔽这两种目前的常用方案都是在终端设备上对推送消息进行屏蔽,推送服务器仍然正常下发应用的推送消息,终端设备在接收到应用的推送消息后,再进行相应的判断是否要显示该推送消息,不管最终是否显示,终端设备仍然会接收应用的推送消息,频繁接收推送消息并且在本地执行相应的判断操作,仍然会大大影响终端设备的功耗。If the automatic shielding method is adopted, the entire shielding process is performed by the terminal device, and the user cannot participate in the setting. The terminal device automatically determines the push message of the application that needs to be shielded according to the system setting, and then directly shields it, that is, the push message of the application is not displayed. information. In this way, users cannot choose independently, and may not necessarily meet the real needs of users. It should be noted that the two current common solutions of manual setting and automatic blocking are to block push messages on the terminal device. The push server still sends the push message of the application normally. After the terminal device receives the push message of the application, , and then make a corresponding judgment on whether to display the push message. Regardless of whether it is finally displayed, the terminal device will still receive the push message of the application. Frequently receiving push messages and performing the corresponding judgment operation locally will still greatly affect the power consumption of the terminal device. .
针对上述问题,本申请实施例提供了一种推送消息的管理方法,结合推送服务器,直接由推送服务器判断是否向终端设备发送推送消息,既能够减少用户操作,又满足用户真实需求,还能有效降低终端设备的功耗。In view of the above problems, an embodiment of the present application provides a push message management method. Combined with a push server, the push server directly determines whether to send a push message to a terminal device, which can not only reduce user operations, but also meet the real needs of users, and also effectively Reduce power consumption of end devices.
下面描述本申请实施例中涉及的一种终端设备100。The following describes a terminal device 100 involved in the embodiments of the present application.
参见图2,图2是本申请实施例涉及的一种终端设备100的结构示意图。终端设备100可以是手机、平板电脑、可穿戴设备、车载设备、笔记本电脑等,本申请对该终端设备的具体类型不作任何限制。Referring to FIG. 2, FIG. 2 is a schematic structural diagram of a terminal device 100 involved in an embodiment of the present application. The terminal device 100 may be a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, a notebook computer, etc., and this application does not limit the specific type of the terminal device.
终端设备100可以包括:处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195 等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,触摸传感器180I,环境光传感器180J等。The terminal device 100 may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2. Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, And a subscriber identification module (subscriber identification module, SIM) card interface 195 and so on. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a touch sensor 180I, an ambient light sensor 180J, and the like.
可以理解的是,本申请实施例示意的结构并不构成对终端设备100的具体限定。在本申请另一些实施例中,终端设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the terminal device 100 . In other embodiments of the present application, the terminal device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
其中,控制器可以是终端设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller may be the nerve center and command center of the terminal device 100 . The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对终端设备100的结构限定。在本申请另一些实施例中,终端设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the terminal device 100 . In other embodiments of the present application, the terminal device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。The charging management module 140 is used to receive charging input from the charger. The charger may be a wireless charger or a wired charger.
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。The power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 . The power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
终端设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the terminal device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
终端设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The terminal device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode 的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,终端设备100可以包括1个或N个显示屏194,N为大于1的正整数。Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light). emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on. In some embodiments, the terminal device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
终端设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The terminal device 100 can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.
ISP用于处理摄像头193反馈的数据。The ISP is used to process the data fed back by the camera 193 .
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。Camera 193 is used to capture still images or video. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当终端设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。A digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the terminal device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, and the like.
视频编解码器用于对数字视频压缩或解压缩。终端设备100可以支持一种或多种视频编解码器。这样,终端设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The terminal device 100 may support one or more video codecs. In this way, the terminal device 100 can play or record videos in various encoding formats, such as: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现终端设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。The NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transfer mode between neurons in the human brain, it can quickly process the input information, and can continuously learn by itself. Applications such as intelligent cognition of the terminal device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展终端设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device 100 . The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行终端设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用(比如指纹识别功能等)等。存储数据区可存储终端设备100使用过程中所创建的数据(比如目标应用的使用信息数据、指纹信息模板等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。Internal memory 121 may be used to store computer executable program code, which includes instructions. The processor 110 executes various functional applications and data processing of the terminal device 100 by executing the instructions stored in the internal memory 121 . The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an operating system, an application required for at least one function (such as a fingerprint recognition function, etc.), and the like. The storage data area may store data created during the use of the terminal device 100 (such as usage information data of the target application, fingerprint information template, etc.) and the like. In addition, the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
终端设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The terminal device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。The audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal.
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。Speaker 170A, also referred to as a "speaker", is used to convert audio electrical signals into sound signals.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。The receiver 170B, also referred to as "earpiece", is used to convert audio electrical signals into sound signals.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。The microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone jack 170D is used to connect wired earphones. The earphone interface 170D can be the USB interface 130, or can be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中, 压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。The pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be provided on the display screen 194 . There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, and the like.
陀螺仪传感器180B可以用于确定终端设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定终端设备100围绕三个轴(即,x,y和z轴)的角速度。The gyro sensor 180B may be used to determine the motion attitude of the terminal device 100 . In some embodiments, the angular velocity of the end device 100 about three axes (ie, the x, y and z axes) may be determined by the gyro sensor 180B.
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes. The light emitting diodes may be infrared light emitting diodes.
环境光传感器180J用于感知环境光亮度。终端设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。The ambient light sensor 180J is used to sense ambient light brightness. The terminal device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
指纹传感器180H用于采集指纹。终端设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹接听来电等。其中,该指纹传感器180H可以设置在触控屏下方,终端设备100可以接收用户在触控屏上该指纹传感器对应的区域的触摸操作,终端设备100可以响应于该触摸操作,采集用户手指的指纹信息。The fingerprint sensor 180H is used to collect fingerprints. The terminal device 100 can use the collected fingerprint characteristics to unlock fingerprints, access application locks, answer incoming calls with fingerprints, and the like. Wherein, the fingerprint sensor 180H can be arranged below the touch screen, the terminal device 100 can receive the user's touch operation on the touch screen corresponding to the fingerprint sensor, and the terminal device 100 can collect the fingerprint of the user's finger in response to the touch operation information.
触摸传感器180I,也称“触控面板”。触摸传感器180I可以设置于显示屏194,由触摸传感器180I与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180I用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180I也可以设置于终端设备100的表面,与显示屏194所处的位置不同。The touch sensor 180I is also called "touch panel". The touch sensor 180I may be disposed on the display screen 194, and the touch sensor 180I and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180I is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to touch operations may be provided through display screen 194 . In other embodiments, the touch sensor 180I may also be disposed on the surface of the terminal device 100, which is different from the position where the display screen 194 is located.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与终端设备100的用户设置以及功能控制有关的键信号输入。The keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the terminal device 100 .
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和终端设备100的接触和分离。在一些实施例中,终端设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在终端设备100中,不能和终端设备100分离。The SIM card interface 195 is used to connect a SIM card. The SIM card can be contacted and separated from the terminal device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 . In some embodiments, the terminal device 100 adopts an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the terminal device 100 and cannot be separated from the terminal device 100 .
终端设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明终端设备100的软件结构。The software system of the terminal device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. The embodiments of the present application take an Android system with a layered architecture as an example to exemplarily describe the software structure of the terminal device 100 .
图3是本申请实施例的终端设备100的软件结构框图。FIG. 3 is a block diagram of a software structure of a terminal device 100 according to an embodiment of the present application.
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer.
应用程序层可以包括一系列应用程序包。The application layer can include a series of application packages.
如图3所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信等应用程序(也可以称为应用)。As shown in FIG. 3, the application package may include applications (also referred to as applications) such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS, etc.
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
如图3所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。As shown in Figure 3, the application framework layer may include window managers, content providers, view systems, telephony managers, resource managers, notification managers, and the like.
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。A window manager is used to manage window programs. The window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。Content providers are used to store and retrieve data and make these data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on. View systems can be used to build applications. A display interface can consist of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。The resource manager provides various resources for the application, such as localization strings, icons, pictures, layout files, video files and so on.
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。也可以用于传达提示操作类型的消息,可以长期存在,等待获取用户操作。例如,通知管理器被用于提醒用户是否屏蔽应用程序的推送消息,然后获取用户对询问消息的操作。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话界面形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。The notification manager enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a brief pause without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. It can also be used to convey a message that prompts the type of operation, and can exist for a long time, waiting to obtain user operations. For example, the notification manager is used to remind the user whether to block the push message of the application, and then obtain the user's action on the inquiry message. The notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications from applications running in the background, and can also display notifications on the screen in the form of a dialog interface. For example, text information is prompted in the status bar, a prompt sound is issued, the electronic device vibrates, and the indicator light flashes.
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and the application framework layer run in virtual machines. The virtual machine executes the java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
系统库可以包括多个功能模块。例如:表面管理器(surface manager),2D图形引擎(例如:SGL),三维图形处理库(例如:OpenGL ES),媒体库(Media Libraries)等。A system library can include multiple functional modules. For example: surface manager (surface manager), 2D graphics engine (eg: SGL), 3D graphics processing library (eg: OpenGL ES), media library (Media Libraries), etc.
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。The Surface Manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
2D图形引擎是2D绘图的绘图引擎。2D graphics engine is a drawing engine for 2D drawing.
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。The kernel layer is the layer between hardware and software. The kernel layer contains at least display drivers, camera drivers, audio drivers, and sensor drivers.
下面描述本申请实施例中关于询问消息的显示方式及操作方式。The following describes the display manner and operation manner of the query message in the embodiments of the present application.
本申请的一个实施例中,为了便于判断用户是否需要屏蔽应用的推送消息,可以向用户显示询问消息,询问消息用于提示用户管理应用的推送消息,然后检测用户对询问消息的操作,以确认用户是否需要屏蔽该应用的推送消息。询问消息可以来自推送服务器,也可由终端设备自动生成。本申请实施例中,询问消息有多种可能的显示方式,包括在通知栏显示询问消息,然后获取用户对该询问消息的操作,判断用户是否需要屏蔽应用的推送消息。例如,如图4所示,终端设备在通知栏界面401显示询问消息402,所述询问消息402包括有接收通知控件403、关闭通知控件404和其他控件。终端设备接收用户针对关闭通知控件404的输入操作405(例如点击),终端设备响应于输入操作405,确认用户需要屏蔽该应用的推送消息,发送确认消息至推送服务器,并且将终端设备上针对该应用的通知设置修改为屏蔽状态(例如应用的通知设置为已禁止,将允许通知控件关闭等)。若用户点击了接收通知控件 403,则确认用户不需要屏蔽此应用的推送消息,终端设备不需要发送询问消息至推送服务器。In an embodiment of the present application, in order to facilitate determining whether the user needs to block the push message of the application, a query message may be displayed to the user, the query message is used to prompt the user to manage the push message of the application, and then the user's operation on the query message is detected to confirm Whether users need to block push messages from the app. The query message can come from the push server or automatically generated by the terminal device. In the embodiment of the present application, there are multiple possible display modes for the query message, including displaying the query message in the notification bar, and then obtaining the user's operation on the query message, and judging whether the user needs to block the push message of the application. For example, as shown in FIG. 4 , the terminal device displays an inquiry message 402 on the notification bar interface 401 , and the inquiry message 402 includes a control for receiving notification 403 , a control for closing notification 404 and other controls. The terminal device receives the user's input operation 405 (for example, clicking) for closing the notification control 404, and in response to the input operation 405, the terminal device confirms that the user needs to block the push message of the application, sends a confirmation message to the push server, and sends the notification message to the push server on the terminal device. The notification setting of the application is modified to the blocked state (for example, the notification of the application is set to disabled, the notification control will be allowed to be closed, etc.). If the user clicks the receiving notification control 403, it is confirmed that the user does not need to block the push message of this application, and the terminal device does not need to send an inquiry message to the push server.
需要注意的是,上述实施例只是询问消息的一种示例性的显示方式及用户操作方式,并不构成对本申请的限制,询问消息还可以有其他的显示方式及操作方式,例如可以以弹窗的方式显示此询问消息,然后获取用户的输入操作,也可以是短消息提示,还可以是终端设备开启语音助手,以语音播报方式向用户展示此询问消息的内容,然后获取用户的语音输入以判断用户是否要屏蔽应用的推送消息。本申请实施例中,对于询问消息的显示位置、显示方法、显示内容等不作限定,对于针对询问消息的操作方式也不进行限制。It should be noted that the above embodiment is only an exemplary display mode and user operation mode of the query message, and does not constitute a limitation to the present application. The query message may also have other display modes and operation modes, such as a pop-up window. The query message is displayed in a way, and then the user's input operation is obtained. It can also be a short message prompt, or the terminal device can turn on the voice assistant, show the content of the query message to the user by voice broadcast, and then obtain the user's voice input to display the content of the query message. Determines whether the user wants to block push messages from the app. In the embodiment of the present application, the display position, display method, display content, etc. of the query message are not limited, and the operation mode for the query message is also not limited.
下面描述本申请实施例中关于应用列表的预先建立方式。The following describes the pre-establishment manner of the application list in the embodiment of the present application.
本申请实施例中,为了便于推送服务器判断是否需要屏蔽应用的推送消息,可以在推送服务器预先为终端设备建立相应的应用列表,该应用列表可以是黑名单、白名单中的其中一种或两种。白名单包含终端设备与应用程序之间的映射关系,可以设计为允许向该终端设备发送推送消息的应用程序的集合。同理,黑名单包含终端设备与应用程序之间的映射关系,可以设计为禁止向该终端设备发送推送消息的应用程序的集合。白名单还可以设置为允许发送应用程序的推送消息的终端设备的集合,黑名单还可以设置为禁止发送应用程序的推送消息的终端设备的集合,本申请对应用列表的形式不做限制。In this embodiment of the present application, in order to facilitate the push server to determine whether the push message of the application needs to be blocked, a corresponding application list may be established for the terminal device in the push server in advance, and the application list may be one or both of a blacklist and a whitelist. kind. The whitelist contains the mapping relationship between terminal devices and applications, and can be designed as a collection of applications that are allowed to send push messages to the terminal device. Similarly, the blacklist includes the mapping relationship between terminal devices and applications, and can be designed as a collection of applications that are prohibited from sending push messages to the terminal device. The whitelist can also be set to a set of terminal devices that are allowed to send push messages of applications, and the blacklist can also be set to a set of terminal devices that are prohibited from sending push messages of applications. This application does not limit the form of the application list.
为了采用本申请实施例中描述的推送消息的管理方法,在一种可能的实施例中,所述终端设备首先要更新系统,该系统可以支持本申请实施例中的一种或多种推送消息的管理方法。在完成系统更新后,所述终端设备可以将本地的目标应用的通知消息设置情况发送给推送服务器,所述推送服务器再根据所述目标应用的通知消息设置情况,为所述终端设备预先建立对应的应用列表。本申请对该系统更新方式及发送通知消息设置情况的时间不做限制。In order to adopt the push message management method described in the embodiment of the present application, in a possible embodiment, the terminal device first needs to update the system, and the system can support one or more push messages in the embodiment of the present application management method. After completing the system update, the terminal device may send the notification message setting of the local target application to the push server, and the push server then pre-establishes a corresponding notification message for the terminal device according to the notification message setting of the target application list of applications. This application does not limit the system update method and the setting time for sending notification messages.
举例来说,终端设备上的一种目标应用的通知消息设置情况如图5a所示,该通知界面20显示有多种应用对应的通知消息设置情况。参见图5a,可知应用的通知消息设置情况为:查找我的手机、电子邮件、短视频、地图和手机支付这些应用都设置为开启通知,音乐、天气和股票这些应用都设置为禁止通知。所述终端设备在完成本申请实施例所需的系统更新后,将上述应用的通知消息设置情况发送至推送服务器。推送服务器根据应用的通知消息设置情况,为所述终端设备建立对应的应用列表。该应用列表可以是白名单或者黑名单中的其中一种或两种。例如,推送服务器为所述终端设备建立白名单,白名单的形式可示例性地参见图5b,白名单中包含所述终端设备的标识(例如终端设备ID)以及允许通知的应用的标识,包括查找我的手机ID、电子邮件ID、短视频ID、地图ID和手机支付ID,该白名单与所述终端设备对应;若推送服务器为所述终端设备建立黑名单,黑名单的形式可示例性地参见图5c,黑名单中包含所述终端设备的标识(例如终端设备ID)以及禁止通知的应用的标识,包括音乐ID、天气ID和股票ID,该黑名单与所述终端设备对应。然后基于白名单或者黑名单,推送服务器判断是否发送应用的推送消息到对应的终端设备,并且根据所述终端设备发送的确认消息或者开启消息,修改对应的黑名单或者白名单。其中,所述确认消息用于指示推送服务器禁止向所述终端设备发送所述目标应用的推送消息,所述开启消息指示推送服务器允许发送所述目标应用的推送消息至所述推送服务器。是否发送推送消息的判断方式及黑名单/白名单的修改方式在下文有具体的描述,这里不再赘述。需要说明的是,上述实施例是本申请的其中一种可能的实施例,仅用于解释本申请的技术方案而非限定,黑名单、白名单的还可以有其他的建立方式和对应的修改方式,还可以包含更多的信息,本申请不做限制。For example, the notification message setting situation of a target application on the terminal device is shown in FIG. 5a, and the notification interface 20 displays the notification message setting situation corresponding to various applications. Referring to Figure 5a, it can be seen that the notification message settings of the applications are as follows: applications such as Find My Mobile, Email, Short Video, Maps, and Mobile Payment are set to enable notifications, and applications such as music, weather, and stocks are set to disable notifications. After completing the system update required by the embodiment of the present application, the terminal device sends the notification message setting status of the above application to the push server. The push server establishes a corresponding application list for the terminal device according to the notification message setting of the application. The application list may be one or both of a white list or a black list. For example, the push server establishes a whitelist for the terminal device. The form of the whitelist can be exemplarily shown in FIG. 5b. The whitelist includes the identifier of the terminal device (for example, the terminal device ID) and the identifier of the application that allows notification, including Find my mobile phone ID, email ID, short video ID, map ID and mobile payment ID, the whitelist corresponds to the terminal device; if the push server establishes a blacklist for the terminal device, the form of the blacklist can be exemplary Referring to FIG. 5c , the blacklist contains the identifiers of the terminal devices (eg, terminal device IDs) and the identifiers of applications for which notification is prohibited, including music IDs, weather IDs, and stock IDs, and the blacklist corresponds to the terminal devices. Then, based on the whitelist or blacklist, the push server determines whether to send the push message of the application to the corresponding terminal device, and modifies the corresponding blacklist or whitelist according to the confirmation message or the opening message sent by the terminal device. The confirmation message is used to instruct the push server to prohibit sending the push message of the target application to the terminal device, and the enable message instructs the push server to allow the push message of the target application to be sent to the push server. The method of judging whether to send a push message and the method of modifying the blacklist/whitelist are described in detail below, and will not be repeated here. It should be noted that the above-mentioned embodiment is one of the possible embodiments of the present application, and is only used to explain the technical solution of the present application and is not a limitation. The blacklist and whitelist may also have other establishment methods and corresponding modifications. It can also contain more information, which is not limited in this application.
请参见图6,图6是本申请实施例提供的一种推送消息的管理方法的流程示意图,该方法包括但不限于如下步骤:Please refer to FIG. 6. FIG. 6 is a schematic flowchart of a method for managing push messages provided by an embodiment of the present application. The method includes but is not limited to the following steps:
S601:终端设备获取目标应用的使用信息。S601: The terminal device acquires usage information of the target application.
在本申请实施例中,所述目标应用是指具有消息推送功能的应用,并且该应用可采用推送服务器进行消息推送。在获取目标应用的使用信息之前,终端设备可预先判断终端设备上安装的哪些应用属于目标应用。In this embodiment of the present application, the target application refers to an application with a message push function, and the application may use a push server to push messages. Before acquiring the usage information of the target application, the terminal device may determine in advance which applications installed on the terminal device belong to the target application.
在一些实施例中,所述目标应用的使用信息可设计为包括统计周期内目标应用的使用时长、使用次数、消息发送次数、消息点击次数,连续未点击的消息数或者消息点击量与推送量的比值中的其中一种或者多种。In some embodiments, the usage information of the target application may be designed to include the usage duration, usage times, message sending times, message clicks, consecutive unclicked messages, or message clicks and pushes of the target application in a statistical period. one or more of the ratios.
在又一些实施例中,所述目标应用的使用信息可设计为包括统计周期内目标应用的使用时长、使用次数、消息发送次数、消息点击次数,连续未点击的消息数或者消息点击量与推送量的比值中的其中一种或者多种,并且还包括目标应用的标识和所述终端设备的标识。In still other embodiments, the usage information of the target application may be designed to include the usage duration, usage times, message sending times, message clicks, consecutive unclicked messages, or message clicks and pushes of the target application in a statistical period. One or more of the ratios of the quantities, and also includes the identifier of the target application and the identifier of the terminal device.
在又一些实施例中,所述的统计周期可以是系统预设的,也可以是用户设置的。In still other embodiments, the statistical period may be preset by the system or set by the user.
例如,用户在终端设备上将统计周期设置为5天,终端设备开始统计5天内该终端设备上安装的目标应用的使用信息。For example, the user sets the statistics period to 5 days on the terminal device, and the terminal device starts to collect the usage information of the target application installed on the terminal device within 5 days.
S602:终端设备发送目标应用的使用信息。S602: The terminal device sends the usage information of the target application.
具体的,终端设备完成本次统计周期内目标应用的使用信息的统计后,就将该使用信息发送至推送服务器。Specifically, after the terminal device completes the statistics of the usage information of the target application in this statistical period, it sends the usage information to the push server.
S603:推送服务器判断是否需要发送询问消息。S603: The push server determines whether a query message needs to be sent.
具体的,所述推送服务器根据接收的目标应用的使用信息,按照预先设定的决策算法,判断是否需要发送询问消息至所述终端设备。Specifically, the push server judges whether it is necessary to send an inquiry message to the terminal device according to the received usage information of the target application and according to a preset decision algorithm.
在一些实施例中,终端设备根据所述目标应用的使用消息,判断是否需要发出询问消息,包括:In some embodiments, the terminal device determines whether to send an inquiry message according to the usage message of the target application, including:
在满足以下一种或多种条件的情况下,确定需要向用户发出询问消息:It is determined that a query message needs to be sent to the user when one or more of the following conditions are met:
所述目标应用的使用时长小于或等于使用时长阈值;或者,所述目标应用的使用次数小于或等于使用次数阈值;或者,所述目标应用的消息发送次数大于消息发送次数阈值;或者,所述目标应用的消息点击次数小于或等于消息点击次数阈值;或者,所述目标应用的消息点击量与推送量比值小于或等于消息点击量与推送量比值的阈值;或者,所述目标应用的连续未点击的消息数大于连续未点击的消息数阈值。The usage duration of the target application is less than or equal to the usage duration threshold; or, the usage count of the target application is less than or equal to the usage count threshold; or, the message sending count of the target application is greater than the message sending count threshold; or, the The number of message clicks of the target application is less than or equal to the threshold of the number of message clicks; or, the ratio of the message clicks to the push volume of the target application is less than or equal to the threshold of the ratio of the message clicks to the push volume; The number of clicked messages is greater than the consecutive unclicked messages threshold.
例如,所述推送服务器预先设定的决策算法为:首先判断目标应用的使用时长是否小于等于使用时长阈值;若小于等于使用时长阈值,再判断目标应用的消息发送次数是否大于消息发送次数阈值;若大于消息发送次数阈值,再判断目标应用的消息点击次数是否小于等于消息点击次数阈值;若小于等于消息点击次数阈值,则所述推送服务器确定需要发送询问消息至所述终端设备。其中,所述询问消息用于询问用户是否需要屏蔽所述目标应用的推送消息。所述终端设备接收来自终端设备的目标应用的使用信息,该使用信息中,包含了上述决策算法所需的信息,然后推送服务器根据该使用信息,用上述决策算法判断是否需要发送询问消息。需要说明的是,上述实施例是本申请的其中一种可能的实施例,仅用于解释本申请的技术方案而非限定。还可以有其他的决策算法,本申请不做限制。For example, the pre-set decision-making algorithm of the push server is: first determine whether the usage duration of the target application is less than or equal to the usage duration threshold; if it is less than or equal to the usage duration threshold, then determine whether the number of message sending times of the target application is greater than the number of message sending thresholds; If it is greater than the threshold of the number of message sending times, it is then judged whether the number of message clicks of the target application is less than or equal to the threshold of the number of message clicks; Wherein, the inquiry message is used to inquire whether the user needs to block the push message of the target application. The terminal device receives the usage information of the target application from the terminal device, the usage information includes the information required by the above decision algorithm, and then the push server uses the above decision algorithm to determine whether to send an inquiry message according to the usage information. It should be noted that the above-mentioned embodiment is one of the possible embodiments of the present application, and is only used to explain the technical solution of the present application and is not limited. There may also be other decision algorithms, which are not limited in this application.
S604:在S603判断需要发送询问消息的情况下,推送服务器发送询问消息至终端设备。S604: In the case that it is determined in S603 that the inquiry message needs to be sent, the push server sends the inquiry message to the terminal device.
S605:终端设备判断用户是否需要屏蔽应用的推送消息。S605: The terminal device determines whether the user needs to block the push message of the application.
具体的,终端设备显示询问消息,然后获取用户对询问消息的操作,判断用户是否需要 屏蔽应用的推送消息。本申请实施例中,对于询问消息的显示位置、显示方法等不作限定,用户对询问消息的操作方式也不进行限制。关于本申请实施例中询问消息的显示方式及用户的操作方式已经在上文进行了相应的描述,为了说明书的简洁,这里不再赘述。Specifically, the terminal device displays the query message, and then obtains the user's operation on the query message, and determines whether the user needs to block the push message of the application. In the embodiment of the present application, the display position and display method of the query message are not limited, and the user does not limit the operation mode of the query message. The display mode of the query message and the user's operation mode in the embodiment of the present application have been described above, and for the sake of brevity of the description, they will not be repeated here.
S606:在S605判断用户需要屏蔽所述目标应用的推送消息的情况下,所述终端设备发送确认消息至推送服务器。S606: In the case where it is determined in S605 that the user needs to block the push message of the target application, the terminal device sends a confirmation message to the push server.
在一些实施例中,所述终端设备发送确认消息至推送服务器之后,将通知管理界面内针对所述目标应用的设置修改为屏蔽通知的状态。In some embodiments, after the terminal device sends the confirmation message to the push server, the setting for the target application in the notification management interface is modified to a state of blocking notifications.
S607:推送服务器修改应用列表。S607: The push server modifies the application list.
具体的,推送服务器根据终端设备发送的确认消息,修改终端设备对应的应用列表。在一些实施例中,所述应用列表包含黑名单或者白名单中的其中一种或者两种。关于本申请实施例中黑名单/白名单的建立方式已经在上文进行了相应的描述,这里不再赘述。Specifically, the push server modifies the application list corresponding to the terminal device according to the confirmation message sent by the terminal device. In some embodiments, the application list includes one or both of a blacklist or a whitelist. The manner of establishing the blacklist/whitelist in the embodiment of the present application has been described above, and will not be repeated here.
在一些实施例中,推送服务器根据接收到的确认消息,将预先建立的白名单中的所述目标应用删除。In some embodiments, the push server deletes the target application in the pre-established whitelist according to the received confirmation message.
在又一些实施例中,推送服务器根据接收到的确认消息,往预先建立的黑名单中加入所述目标应用。In still other embodiments, the push server adds the target application to a pre-established blacklist according to the received confirmation message.
在又一些实施例中,所述终端设备检测用户对所述通知管理界面的第二操作;其中,所述第二操作用于确定用户需要开启所述目标应用的推送消息;所述终端设备响应于所述第二操作,发送开启消息至所述推送服务器;其中,所述开启消息用于指示推送服务器允许发送所述目标应用的推送消息至所述终端设备;所述终端设备根据所述开启消息,往预先建立的白名单中加入所述目标应用。In still other embodiments, the terminal device detects a second operation performed by the user on the notification management interface; wherein the second operation is used to determine that the user needs to open the push message of the target application; the terminal device responds In the second operation, sending an opening message to the push server; wherein the opening message is used to instruct the push server to allow sending of the push message of the target application to the terminal device; the terminal device according to the opening message message, adding the target application to a pre-established whitelist.
在又一些实施例中,所述终端设备检测用户对所述通知管理界面的第二操作;其中,所述第二操作用于确定用户需要开启所述目标应用的推送消息;所述终端设备响应于所述第二操作,发送开启消息至所述推送服务器;其中,所述开启消息用于指示推送服务器允许发送所述目标应用的推送消息至所述终端设备;所述终端设备根据所述开启消息,将预先建立的黑名单中的所述目标应用删除。In still other embodiments, the terminal device detects a second operation performed by the user on the notification management interface; wherein the second operation is used to determine that the user needs to open the push message of the target application; the terminal device responds In the second operation, sending an opening message to the push server; wherein the opening message is used to instruct the push server to allow sending of the push message of the target application to the terminal device; the terminal device according to the opening message message to delete the target application in the pre-established blacklist.
在又一些实施例中,所述终端设备检测用户对所述通知管理界面的第三操作;其中,所述第三操作用于确定用户需要屏蔽所述目标应用的推送消息;所述终端设备响应于所述第三操作,发送关闭消息至所述推送服务器;其中,所述关闭消息用于指示推送服务器禁止发送所述目标应用的推送消息至所述终端设备;所述终端设备根据所述关闭消息,往预先建立的黑名单中加入所述目标应用。In still other embodiments, the terminal device detects a third operation performed by the user on the notification management interface; wherein the third operation is used to determine that the user needs to block the push message of the target application; the terminal device responds In the third operation, send a shutdown message to the push server; wherein the shutdown message is used to instruct the push server to prohibit sending the push message of the target application to the terminal device; the terminal device according to the shutdown message, adding the target application to a pre-established blacklist.
在又一些实施例中,所述终端设备检测用户对所述通知管理界面的第三操作;其中,所述第三操作用于确定用户需要屏蔽所述目标应用的推送消息;所述终端设备响应于所述第三操作,发送关闭消息至所述推送服务器;其中,所述关闭消息用于指示推送服务器禁止发送所述目标应用的推送消息至所述终端设备;所述终端设备根据所述关闭消息,将预先建立的白名单中的所述目标应用删除。In still other embodiments, the terminal device detects a third operation performed by the user on the notification management interface; wherein the third operation is used to determine that the user needs to block the push message of the target application; the terminal device responds In the third operation, send a shutdown message to the push server; wherein the shutdown message is used to instruct the push server to prohibit sending the push message of the target application to the terminal device; the terminal device according to the shutdown message to delete the target application in the pre-established whitelist.
S608:应用服务器发送推送消息至推送服务器。S608: The application server sends a push message to the push server.
具体的,应用服务器根据需要,调用推送服务器的推送服务端接口发起推送。所述推送消息中包含应用标识及终端设备标识。Specifically, the application server invokes the push server interface of the push server to initiate push as required. The push message includes the application identifier and the terminal device identifier.
S609:推送服务器判断是否需要屏蔽应用的推送消息。S609: The push server determines whether the push message of the application needs to be blocked.
在一些实施例中,推送服务器判断所述推送消息对应的应用是否在终端设备对应的白名单中;若所述推送消息对应的应用在所述白名单中,则不需要屏蔽该应用的推送消息;若所 述推送消息对应的应用不在所述白名单中,则需要屏蔽该应用的推送消息。In some embodiments, the push server determines whether the application corresponding to the push message is in the whitelist corresponding to the terminal device; if the application corresponding to the push message is in the whitelist, it is not necessary to block the push message of the application ; If the application corresponding to the push message is not in the white list, the push message of the application needs to be shielded.
在又一些实施例中,推送服务器判断所述推送消息对应的应用是否在终端设备对应的黑名单中;若所述推送消息对应的应用在所述黑名单中,则需要屏蔽该应用的推送消息;若所述推送消息对应的应用不在所述黑名单中,则不需要屏蔽应用的推送消息。In still other embodiments, the push server determines whether the application corresponding to the push message is in the blacklist corresponding to the terminal device; if the application corresponding to the push message is in the blacklist, the push message of the application needs to be blocked ; If the application corresponding to the push message is not in the blacklist, it is not necessary to block the push message of the application.
S610:在S609判断需要屏蔽推送消息的情况下,所述推送服务器不发送该应用的推送消息至所述终端设备。S610: In the case where it is determined in S609 that the push message needs to be blocked, the push server does not send the push message of the application to the terminal device.
S611:在S609判断不需要屏蔽推送消息的情况下,所述推送服务器发送该应用的推送消息至所述终端设备。S611: In the case where it is determined in S609 that the push message does not need to be blocked, the push server sends the push message of the application to the terminal device.
可以看到,本申请实施例通过发送终端设备上的目标应用的使用信息至推送服务器,使得推送服务器能够进行决策是否需要发送询问消息至所述终端设备;推送服务器发送询问消息至终端设备,询问用户是否需要屏蔽目标应用的推送消息;终端设备发送确认消息至推送服务器,使得推送服务器能够直接屏蔽应用的推送消息。而且本申请实施例可通过检测用户在终端设备上开启应用通知的操作,将开启消息上传至推送服务器,使得用户能够在终端设备上控制推送服务器恢复应用的推送消息。既减少了用户操作,又满足了用户的真实需求,还能有效降低终端设备的功耗。It can be seen that, in the embodiment of the present application, by sending the usage information of the target application on the terminal device to the push server, the push server can make a decision on whether to send an inquiry message to the terminal device; the push server sends an inquiry message to the terminal device to inquire Whether the user needs to block the push messages of the target application; the terminal device sends a confirmation message to the push server, so that the push server can directly block the push messages of the application. In addition, the embodiment of the present application can upload the opening message to the push server by detecting the user's operation of enabling the application notification on the terminal device, so that the user can control the push server on the terminal device to restore the push message of the application. It not only reduces user operations, but also meets the real needs of users, and can effectively reduce the power consumption of terminal equipment.
另外,在可能的实施例中,在步骤S602之后,应用服务器向推送服务器发出请求,请求推送服务器发送终端设备的应用使用信息。推送服务器响应于该请求,发送应用使用信息至应用服务器。其中,所述应用使用信息可以是经过整理的多个终端设备的应用使用信息,应用服务器可基于该应用的使用信息进行相应的分析,提取有用信息等。In addition, in a possible embodiment, after step S602, the application server sends a request to the push server, requesting the push server to send the application usage information of the terminal device. In response to the request, the push server sends the application usage information to the application server. The application usage information may be sorted application usage information of multiple terminal devices, and the application server may perform corresponding analysis and extract useful information based on the application usage information.
请参见图7,图7是本申请实施例提供的又一种推送消息的管理方法的流程示意图,该方法包括但不限于如下步骤:Please refer to FIG. 7. FIG. 7 is a schematic flowchart of another push message management method provided by an embodiment of the present application. The method includes but is not limited to the following steps:
S701:终端设备获取目标应用的使用信息。S701: The terminal device acquires usage information of the target application.
此步骤可参见前述步骤S601中的相关介绍,这里不再赘述。For this step, reference may be made to the relevant introduction in the foregoing step S601, and details are not repeated here.
S702:终端设备判断是否需要发出询问消息。S702: The terminal device judges whether an inquiry message needs to be sent.
其中,所述询问消息用于询问用户是否需要屏蔽所述目标应用的推送消息。Wherein, the inquiry message is used to inquire whether the user needs to block the push message of the target application.
在一些实施例中,终端设备根据所述目标应用的使用消息,判断是否需要发出询问消息,包括:In some embodiments, the terminal device determines whether to send an inquiry message according to the usage message of the target application, including:
在满足以下一种或多种条件的情况下,确定需要向用户发出询问消息:It is determined that a query message needs to be sent to the user when one or more of the following conditions are met:
所述目标应用的使用时长小于或等于使用时长阈值;或者,所述目标应用的使用次数小于或等于使用次数阈值;或者,所述目标应用的消息发送次数大于消息发送次数阈值;或者,所述目标应用的消息点击次数小于或等于消息点击次数阈值;或者,所述目标应用的消息点击量与推送量比值小于或等于消息点击量与推送量比值的阈值;或者,所述目标应用的连续未点击的消息数大于连续未点击的消息数阈值。The usage duration of the target application is less than or equal to the usage duration threshold; or, the usage count of the target application is less than or equal to the usage count threshold; or, the message sending count of the target application is greater than the message sending count threshold; or, the The number of message clicks of the target application is less than or equal to the threshold of the number of message clicks; or, the ratio of the message clicks to the push volume of the target application is less than or equal to the threshold of the ratio of the message clicks to the push volume; The number of clicked messages is greater than the consecutive unclicked messages threshold.
S703:在S702判断需要发出询问消息的情况下,终端设备判断用户是否需要屏蔽所述目标应用的推送消息。S703: In the case where it is determined in S702 that an inquiry message needs to be sent, the terminal device determines whether the user needs to block the push message of the target application.
具体的,在S702判断需要发出询问消息的情况下,终端设备自动生成所述目标应用对应的询问消息,显示此询问消息,然后获取用户对所述询问消息的操作,判断用户是否需要屏蔽所述目标应用的推送消息。Specifically, when it is determined in S702 that an inquiry message needs to be sent, the terminal device automatically generates an inquiry message corresponding to the target application, displays the inquiry message, and then acquires the user's operation on the inquiry message, and determines whether the user needs to block the inquiry message. The push message of the target application.
本申请实施例对所述询问消息的显示位置、显示方式以及用户的操作方式不做限制。关于本申请实施例中的询问消息的显示方式以及对应的用户操作已经在上文进行了相应的描 述,这里不再赘述。The embodiment of the present application does not limit the display position, display mode and user operation mode of the query message. The display mode of the query message and the corresponding user operation in the embodiment of the present application have been described above, and will not be repeated here.
S704:在S703判断用户需要屏蔽所述目标应用的推送消息的情况下,所述终端设备发送确认消息至推送服务器。S704: In the case where it is determined in S703 that the user needs to block the push message of the target application, the terminal device sends a confirmation message to the push server.
在一些实施例中,所述终端设备发送确认消息至推送服务器之后,将通知管理界面内针对所述目标应用的设置修改为屏蔽状态。例如将应用的通知设置为已禁止,将允许通知控件关闭等。In some embodiments, after the terminal device sends the confirmation message to the push server, the setting for the target application in the notification management interface is modified to a blocked state. For example, setting the app's notifications to disabled, allowing notification controls to be turned off, etc.
S705:推送服务器修改应用列表。S705: The push server modifies the application list.
此步骤可参见前述步骤S607中的相关介绍,这里不再赘述。For this step, reference may be made to the relevant introduction in the foregoing step S607, and details are not repeated here.
S706:应用服务器发送推送消息至推送服务器。S706: The application server sends a push message to the push server.
此步骤可参见前述步骤S608中的相关介绍,这里不再赘述。For this step, reference may be made to the relevant introduction in the foregoing step S608, which will not be repeated here.
S707:推送服务器判断是否需要屏蔽应用的推送消息。S707: The push server determines whether the push message of the application needs to be blocked.
此步骤可参见前述步骤S609中的相关介绍,这里不再赘述。For this step, reference may be made to the relevant introduction in the foregoing step S609, and details are not repeated here.
S708:在S707判断需要屏蔽推送消息的情况下,所述推送服务器不发送该应用的推送消息至所述终端设备。S708: In the case where it is determined in S707 that the push message needs to be blocked, the push server does not send the push message of the application to the terminal device.
S709:在S707判断不需要屏蔽推送消息的情况下,所述推送服务器发送该应用的推送消息至所述终端设备。S709: In the case where it is determined in S707 that the push message does not need to be blocked, the push server sends the push message of the application to the terminal device.
可以看到,本申请实施例通过获取终端设备上的目标应用的使用信息,使得终端设备能够进行决策是否需要向用户发出询问消息;终端设备发送确认消息至推送服务器,使得推送服务器能够根据该确认消息直接屏蔽应用的推送消息。而且本申请实施例可通过检测用户在终端设备上开启应用通知的操作,将开启消息上传至推送服务器,使得用户能够在终端设备上控制推送服务器恢复该应用的推送消息。既减少了用户操作,又满足了用户的真实需求,还能有效降低终端设备的功耗。It can be seen that in the embodiment of the present application, by acquiring the usage information of the target application on the terminal device, the terminal device can make a decision on whether to send an inquiry message to the user; The message directly blocks the push message of the app. Moreover, the embodiment of the present application can upload the opening message to the push server by detecting the user's operation of opening the application notification on the terminal device, so that the user can control the push server to restore the push message of the application on the terminal device. It not only reduces user operations, but also meets the real needs of users, and can effectively reduce the power consumption of terminal equipment.
可以理解的是,所述终端设备获取目标应用的使用信息之后,所述终端设备还可以先判断当前是否处于充电状态或者电量充足的状态,若处于充电状态或者电量充足状态,所述终端设备开始根据所述目标应用的使用信息进行判断是否需要发出询问消息,即执行S702,然后继续执行图7对应的其他步骤;若终端设备不处于充电状态或者电量充足状态,则终端设备将所述目标应用的使用信息发送至推送服务器,由推送服务器来进行相应的判断,即执行S602,然后继续执行图6对应的其他步骤。可以看出,通过判断终端设备是否处于充电状态或者电量充足状态,决定将上述判断步骤放于终端设备还是推送服务器来执行,可以降低终端设备的功耗。It can be understood that, after the terminal device obtains the usage information of the target application, the terminal device can also first determine whether it is currently in a charging state or a fully charged state, and if it is in a charging state or a fully charged state, the terminal device starts. It is judged according to the usage information of the target application whether an inquiry message needs to be sent, that is, S702 is executed, and then other steps corresponding to FIG. 7 are continued to be executed; The usage information is sent to the push server, and the push server makes a corresponding judgment, that is, execute S602, and then continue to execute other steps corresponding to FIG. 6 . It can be seen that by judging whether the terminal device is in a charging state or a sufficient power state, and deciding whether to perform the above judgment steps on the terminal device or the push server, the power consumption of the terminal device can be reduced.
上文详细阐述了本申请实施例的方法,下面提供本申请实施例的相关装置。The methods of the embodiments of the present application are described in detail above, and the related apparatuses of the embodiments of the present application are provided below.
参见图8,图8是本申请实施例提供的一种终端设备80的结构框图。终端设备80可以包括获取模块801,发送模块802,接收模块803和检测模块804,在一具体实现中,这些功能模块的数据/程序可被存储于下述存储器1001,且检测模块804可被运行于下述处理器1002,且发送模块802和接收模块803的功能实现依赖于下述收发器1003执行上/下行信道的信号发射和接收。在又一具体实现中,这些功能模块的数据/程序可被存储于上述内部存储器121,且检测模块804可被运行于上述处理器110,且发送模块802和接收模块803的功能实现依赖于上述移动通信模块150或者无线通信模块160执行上/下行信道的信号发射和接收。其中:Referring to FIG. 8 , FIG. 8 is a structural block diagram of a terminal device 80 provided by an embodiment of the present application. The terminal device 80 may include an acquisition module 801, a transmission module 802, a reception module 803 and a detection module 804. In a specific implementation, the data/programs of these functional modules may be stored in the following memory 1001, and the detection module 804 may be executed In the processor 1002 described below, the functions of the sending module 802 and the receiving module 803 depend on the transceiver 1003 described below to perform signal transmission and reception of the uplink/downlink channel. In yet another specific implementation, the data/programs of these functional modules can be stored in the above-mentioned internal memory 121, the detection module 804 can be executed on the above-mentioned processor 110, and the function implementation of the sending module 802 and the receiving module 803 depends on the above-mentioned The mobile communication module 150 or the wireless communication module 160 performs signal transmission and reception of uplink/downlink channels. in:
获取模块801,用于获取统计周期内目标应用的使用信息;an acquisition module 801, configured to acquire usage information of the target application in the statistical period;
发送模块802,用于发送所述目标应用的使用信息至推送服务器;A sending module 802, configured to send usage information of the target application to a push server;
接收模块803,用于接收所述推送服务器发送的询问消息;其中,所述询问消息用于询问用户是否需要屏蔽所述目标应用的推送消息;A receiving module 803, configured to receive an inquiry message sent by the push server; wherein the inquiry message is used to inquire whether the user needs to block the push message of the target application;
检测模块804,用于检测用户对所述询问消息的第一操作;其中,所述第一操作用于确定用户需要屏蔽所述目标应用的推送消息;A detection module 804, configured to detect the user's first operation on the query message; wherein, the first operation is used to determine that the user needs to block the push message of the target application;
所述发送模块802还用于,响应于所述第一操作,发送确认消息至所述推送服务器;其中,所述确认消息用于指示所述推送服务器禁止向所述终端设备发送所述目标应用的推送消息。The sending module 802 is further configured to, in response to the first operation, send a confirmation message to the push server; wherein the confirmation message is used to instruct the push server to prohibit sending the target application to the terminal device push message.
在一些可行实施例中,所述终端设备还包括执行模块805;所述执行模块805用于将通知管理界面内所述目标应用的通知关闭。In some feasible embodiments, the terminal device further includes an execution module 805; the execution module 805 is configured to close the notification of the target application in the notification management interface.
在一些可行的实施例中,所述目标应用的使用信息包括使用时长、使用次数、消息发送次数、消息点击次数、消息点击量与推送量比值或者连续未点击的消息数中的一个或多个。In some feasible embodiments, the usage information of the target application includes one or more of usage duration, usage count, message sending count, message click count, ratio of message click count to push count, or number of consecutively unclicked messages .
在一些可行的实施例中,所述目标应用的使用信息还包括所述目标应用的标识和所述终端设备的标识。In some feasible embodiments, the usage information of the target application further includes an identifier of the target application and an identifier of the terminal device.
在一些可行的实施例中,所述检测模块804还用于检测用户对所述通知管理界面的第二操作;其中,所述第二操作用于确定用户需要开启所述目标应用的推送消息;所述发送模块802还用于发送开启消息至所述推送服务器;其中,所述开启消息用于指示推送服务器允许发送所述目标应用的推送消息至所述终端设备。In some feasible embodiments, the detection module 804 is further configured to detect a second operation performed by the user on the notification management interface; wherein the second operation is used to determine that the user needs to open the push message of the target application; The sending module 802 is further configured to send an opening message to the push server, wherein the opening message is used to instruct the push server to allow sending the push message of the target application to the terminal device.
在一些可行实施例中,所述统计周期为系统预设或者用户设置中的一种。In some feasible embodiments, the statistical period is one of a system preset or a user setting.
需要说明的是,本申请具体实施例中,上述终端设备80可以是上述图6、图7实施例中的终端设备,也就是说,具体实现中,终端设备80的各个模块的功能实现可以参考上述实施例的相关方法步骤描述,为了说明书的简洁,这里不再赘述。It should be noted that, in the specific embodiment of the present application, the above-mentioned terminal device 80 may be the terminal device in the above-mentioned embodiments of FIG. 6 and FIG. 7 , that is, in the specific implementation, the function implementation of each module of the terminal device 80 may refer to For the description of the relevant method steps in the above-mentioned embodiments, for the sake of brevity of the description, details are not repeated here.
参见图9,图9是本申请实施例提供的一种装置90的结构框图。装置90可包括接收模块901、确定模块902和发送模块903,在一具体实现中,这些功能模块的数据/程序可被存储于下述存储器1101,且确定模块902可被运行于下述处理器1102,且接收模块901和发送模块903的功能实现依赖于下述收发器1103执行上/下行信道的信号发射和接收。其中:Referring to FIG. 9, FIG. 9 is a structural block diagram of an apparatus 90 provided by an embodiment of the present application. The device 90 may include a receiving module 901, a determining module 902 and a transmitting module 903. In a specific implementation, the data/programs of these functional modules may be stored in the following memory 1101, and the determining module 902 may be executed on the following processor 1102, and the function realization of the receiving module 901 and the sending module 903 depends on the transceiver 1103 described below to perform signal transmission and reception of the uplink/downlink channel. in:
接收模块901,用于接收来自终端设备的目标应用的使用信息;a receiving module 901, configured to receive usage information of a target application from a terminal device;
确定模块902,用于根据所述目标应用的使用信息,判断是否需要发送询问消息至所述终端设备;其中,所述询问消息用于询问用户是否需要屏蔽所述目标应用的推送消息;A determination module 902, configured to determine whether an inquiry message needs to be sent to the terminal device according to the usage information of the target application; wherein, the inquiry message is used to inquire whether the user needs to block the push message of the target application;
发送模块903,用于在确定发送询问消息的情况下,发送所述询问消息至所述终端设备;a sending module 903, configured to send the query message to the terminal device when it is determined to send the query message;
所述接收模块901还用于,接收来自所述终端设备的确认消息;其中,所述确认消息用于指示所述装置禁止向所述终端设备发送所述目标应用的推送消息。The receiving module 901 is further configured to receive a confirmation message from the terminal device, wherein the confirmation message is used to instruct the apparatus to prohibit sending the push message of the target application to the terminal device.
在一些可行的实施例中,所述目标应用的使用信息包括使用时长、使用次数、消息发送次数、消息点击次数、消息点击量与推送量比值或者连续未点击的消息数中的一个或多个。In some feasible embodiments, the usage information of the target application includes one or more of usage duration, usage count, message sending count, message click count, ratio of message click count to push count, or number of consecutively unclicked messages .
在一些可行的实施例中,所述目标应用的使用信息还包括所述目标应用的标识和所述终端设备的标识。In some feasible embodiments, the usage information of the target application further includes an identifier of the target application and an identifier of the terminal device.
在一些可能的实施例中,所述装置还包括执行模块904;执行模块904具体用于,根据所述确认消息,将预先建立的白名单中的所述目标应用删除;其中,所述预先建立的白名单为允许发送推送消息的应用集合,包括所述终端设备及应用的映射关系。In some possible embodiments, the apparatus further includes an execution module 904; the execution module 904 is specifically configured to, according to the confirmation message, delete the target application in the pre-established whitelist; wherein the pre-established whitelist The whitelist is a set of applications that are allowed to send push messages, including the mapping relationship between the terminal device and the application.
在一些可能的实施例中,所述接收模块901还用于接收来自应用服务器的推送消息;所 述确定模块902还用于判断所述推送消息对应的应用是否在所述白名单中;所述发送模块903还用于,若所述推送消息对应的应用在所述白名单中,则发送所述推送消息至所述终端设备;若所述推送消息对应的应用不在所述白名单中,则不发送所述推送消息至所述终端设备。In some possible embodiments, the receiving module 901 is further configured to receive a push message from an application server; the determining module 902 is further configured to determine whether the application corresponding to the push message is in the whitelist; the The sending module 903 is further configured to, if the application corresponding to the push message is in the white list, send the push message to the terminal device; if the application corresponding to the push message is not in the white list, then The push message is not sent to the terminal device.
在一些可能的实施例中,所述装置还包括执行模块904;执行模块904具体用于,根据所述确认消息,往预先建立的黑名单中增加所述目标应用;其中,所述预先建立的黑名单为禁止发送推送消息的应用集合,包括所述终端设备及应用的映射关系。In some possible embodiments, the apparatus further includes an execution module 904; the execution module 904 is specifically configured to, according to the confirmation message, add the target application to a pre-established blacklist; wherein the pre-established blacklist The blacklist is a set of applications that are prohibited from sending push messages, including the mapping relationship between the terminal device and the application.
在一些可能的实施例中,所述接收模块901还用于接收来自应用服务器的推送消息;所述确定模块902还用于判断所述推送消息对应的应用是否在所述黑名单中;所述发送模块903还用于,若所述推送消息对应的应用在所述黑名单中,则不发送所述推送消息至所述终端设备;若所述推送消息对应的应用不在所述黑名单中,则发送所述推送消息至所述终端设备。In some possible embodiments, the receiving module 901 is further configured to receive a push message from an application server; the determining module 902 is further configured to determine whether the application corresponding to the push message is in the blacklist; the The sending module 903 is further configured to, if the application corresponding to the push message is in the blacklist, not to send the push message to the terminal device; if the application corresponding to the push message is not in the blacklist, Then send the push message to the terminal device.
在一些可能的实施例中,所述确定模块902用于,包括:在满足以下一种或多种条件的情况下,确定需要发送询问消息至所述终端设备:In some possible embodiments, the determining module 902 is configured to include: in the case that one or more of the following conditions are satisfied, determine that an inquiry message needs to be sent to the terminal device:
所述目标应用的使用时长小于或等于使用时长阈值;或者,所述目标应用的使用次数小于或等于使用次数阈值;或者,所述目标应用的消息发送次数大于消息发送次数阈值;或者,所述目标应用的消息点击次数小于或等于消息点击次数阈值;或者,所述目标应用的消息点击量与推送量比值小于或等于消息点击量与推送量比值的阈值;或者,所述目标应用的连续未点击的消息数大于连续未点击的消息数阈值。The usage duration of the target application is less than or equal to the usage duration threshold; or, the usage count of the target application is less than or equal to the usage count threshold; or, the message sending count of the target application is greater than the message sending count threshold; or, the The number of message clicks of the target application is less than or equal to the threshold of the number of message clicks; or, the ratio of the message clicks to the push volume of the target application is less than or equal to the threshold of the ratio of the message clicks to the push volume; The number of clicked messages is greater than the consecutive unclicked messages threshold.
需要说明的是,本申请具体实施例中,上述装置90可以是上述图6、图7实施例中的推送服务器,也就是说,具体实现中,装置90的各个模块的功能实现可参考上述实施例的相关方法步骤描述,为了说明书的简洁,这里不再赘述。It should be noted that, in the specific embodiment of the present application, the above-mentioned apparatus 90 may be the push server in the above-mentioned embodiments of FIG. 6 and FIG. 7 , that is, in the specific implementation, the function implementation of each module of the apparatus 90 may refer to the above-mentioned implementation. The relevant method steps of the example are described, and for the sake of brevity of the description, they will not be repeated here.
请参见图10,图10是本申请实施例提供的又一种装置1000,装置1000例如为本申请实施例所描述的终端设备。装置1000包括处理器1002、存储器1001和收发器1003,所述处理器1002、存储器1001和收发器1003中的两个或全部可以通过总线1005相互连接,也可以集成在一起。可选的,所述装置1000还包括显示器,所述显示器用于显示应用的推送消息及询问消息。Please refer to FIG. 10 . FIG. 10 is another apparatus 1000 provided by an embodiment of the present application. The apparatus 1000 is, for example, the terminal device described in the embodiment of the present application. The apparatus 1000 includes a processor 1002, a memory 1001 and a transceiver 1003, two or all of the processor 1002, the memory 1001 and the transceiver 1003 may be connected to each other through a bus 1005, or may be integrated together. Optionally, the apparatus 1000 further includes a display, where the display is configured to display a push message and an inquiry message of the application.
存储器1001包括但不限于是随机存储记忆体(英文:Random Access Memory,简称:RAM)、只读存储器(英文:Read-Only Memory,简称:ROM)、可擦除可编程只读存储器(英文:Erasable Programmable Read Only Memory,简称:EPROM)、或便携式只读存储器(英文:Compact Disc Read-Only Memory,简称:CD-ROM),该存储器1001用于相关指令及数据。The memory 1001 includes but is not limited to random access memory (English: Random Access Memory, referred to as: RAM), read-only memory (English: Read-Only Memory, referred to as: ROM), erasable programmable read-only memory (English: English: Erasable Programmable Read Only Memory, referred to as EPROM), or portable read-only memory (English: Compact Disc Read-Only Memory, referred to as: CD-ROM), the memory 1001 is used for related instructions and data.
收发器1003用于接收推送服务器发送的数据(如询问消息等),或者向推送服务器发送数据(如发送目标应用的使用信息、确认消息、开启消息等)。The transceiver 1003 is configured to receive data sent by the push server (eg, query message, etc.), or send data to the push server (eg, send usage information, confirmation message, startup message, etc. of the target application).
处理器1002可以是一个或多个中央处理器(英文:Central Processing Unit,简称:CPU),在处理器1002是一个CPU的情况下,该CPU可以是单核CPU,也可以是多核CPU。该装置1000中的处理器1002具体可用于执行上述图6、图7实施例中终端设备侧的相关方法。The processor 1002 may be one or more central processing units (English: Central Processing Unit, CPU for short). When the processor 1002 is a CPU, the CPU may be a single-core CPU or a multi-core CPU. The processor 1002 in the apparatus 1000 may be specifically configured to execute the related methods on the terminal device side in the above-mentioned embodiments of FIG. 6 and FIG. 7 .
请参见图11,图11是本申请实施例提供的又一种装置1100,装置1100例如为本申请实施例描述的推送服务器。装置1100包括处理器1102、存储器1101、收发器1103,所述处理器1102、存储器1101和收发器1103中的两个或全部可以通过总线1104相互连接,也可以集成在一起。Please refer to FIG. 11 . FIG. 11 is another apparatus 1100 provided by an embodiment of the present application. The apparatus 1100 is, for example, the push server described in the embodiment of the present application. The apparatus 1100 includes a processor 1102, a memory 1101, and a transceiver 1103, and two or all of the processor 1102, the memory 1101, and the transceiver 1103 may be connected to each other through a bus 1104, or may be integrated together.
存储器1101包括但不限于是随机存储记忆体(英文:Random Access Memory,简称:RAM)、只读存储器(英文:Read-Only Memory,简称:ROM)、可擦除可编程只读存储器(英文:Erasable Programmable Read Only Memory,简称:EPROM)、或便携式只读存储器(英文:Compact Disc Read-Only Memory,简称:CD-ROM),该存储器1101用于相关指令及数据。The memory 1101 includes, but is not limited to, random access memory (English: Random Access Memory, referred to as: RAM), read-only memory (English: Read-Only Memory, referred to as: ROM), erasable programmable read-only memory (English: Erasable Programmable Read Only Memory, referred to as EPROM), or portable read-only memory (English: Compact Disc Read-Only Memory, referred to as: CD-ROM), the memory 1101 is used for related instructions and data.
收发器1103用于接收终端设备发送的数据(如目标应用的使用信息、确认消息、开启消息等),或者向终端设备发送数据(如询问消息等)。The transceiver 1103 is used to receive data sent by the terminal device (such as usage information of the target application, confirmation message, opening message, etc.), or send data (such as an inquiry message, etc.) to the terminal device.
处理器1102可以是一个或多个中央处理器(英文:Central Processing Unit,简称:CPU),在处理器1102是一个CPU的情况下,该CPU可以是单核CPU,也可以是多核CPU。The processor 1102 may be one or more central processing units (English: Central Processing Unit, CPU for short). When the processor 1102 is a CPU, the CPU may be a single-core CPU or a multi-core CPU.
该装置1100中的处理器1102具体可用于执行上述图6、图7实施例中推送服务器侧的相关方法。The processor 1102 in the apparatus 1100 may be specifically configured to execute the related methods on the push server side in the above-mentioned embodiments of FIG. 6 and FIG. 7 .
基于相同的发明构思,本申请实施例提供了又一种装置,具体实现中,该装置可以是芯片。该装置包括处理器以及与处理器耦合或集成在一起的存储器。其中:Based on the same inventive concept, the embodiments of the present application provide another device, and in a specific implementation, the device may be a chip. The apparatus includes a processor and a memory coupled or integrated with the processor. in:
所述存储器,用于存储计算机程序指令;the memory for storing computer program instructions;
所述处理器,用于执行所述存储器中存储的计算机程序,以获取统计周期内目标应用的使用信息;发送所述目标应用的使用信息至推送服务器;接收所述推送服务器发送的询问消息;其中,所述询问消息用于询问用户是否需要屏蔽所述目标应用的推送消息;检测用户对所述询问消息的第一操作;其中,所述第一操作用于确定用户需要屏蔽所述目标应用的推送消息;响应于所述第一操作,发送确认消息至所述推送服务器;其中,所述确认消息用于指示所述推送服务器禁止向所述终端设备发送所述目标应用的推送消息。The processor is configured to execute the computer program stored in the memory to obtain usage information of the target application in the statistical period; send the usage information of the target application to a push server; receive an inquiry message sent by the push server; The inquiry message is used to inquire whether the user needs to block the push message of the target application; the user's first operation on the inquiry message is detected; wherein the first operation is used to determine that the user needs to block the target application and send a confirmation message to the push server in response to the first operation; wherein the confirmation message is used to instruct the push server to prohibit sending the push message of the target application to the terminal device.
在可能的实施例中,所述芯片可以与收发器耦合。收发器可用于向推送服务器发送数据或接收来自推送服务器的数据;例如用于发送所述目标应用的使用信息至推送服务器,又例如用于接收所述推送服务器发送的询问消息;又例如用于响应于所述第一操作,发送确认消息至所述推送服务器。In a possible embodiment, the chip may be coupled with a transceiver. The transceiver can be used to send data to or receive data from the push server; for example, for sending the usage information of the target application to the push server, for example, for receiving the inquiry message sent by the push server; for example, for In response to the first operation, an acknowledgement message is sent to the push server.
在可能的实施例中,所述芯片可应用于终端设备。所述芯片的具体功能实现还可参考上述图6、图7实施例中终端设备的相关功能描述,这里不再赘述。In a possible embodiment, the chip can be applied to terminal equipment. For the specific function implementation of the chip, reference may also be made to the description of the relevant functions of the terminal device in the embodiments of FIG. 6 and FIG. 7 , which will not be repeated here.
基于相同的发明构思,本申请实施例提供了又一种装置,具体实现中,该装置可以是芯片,该装置包括处理器以及与处理器耦合或集成在一起的存储器。其中:Based on the same inventive concept, the embodiments of the present application provide another apparatus. In a specific implementation, the apparatus may be a chip, and the apparatus includes a processor and a memory coupled or integrated with the processor. in:
所述存储器,用于存储计算机程序指令;the memory for storing computer program instructions;
所述处理器,用于执行所述存储器中存储的计算机程序,以接收来自终端设备的目标应用的使用信息;根据所述目标应用的使用信息,判断是否需要发送询问消息至所述终端设备;其中,所述询问消息用于询问用户是否需要屏蔽所述目标应用的推送消息;在确定需要发送询问消息的情况下,发送所述询问消息至所述终端设备;接收来自所述终端设备的确认消息;其中,所述确认消息用于指示所述推送服务器禁止向所述终端设备发送所述目标应用的推送消息。The processor is configured to execute the computer program stored in the memory to receive usage information of the target application from the terminal device; according to the usage information of the target application, determine whether to send an inquiry message to the terminal device; Wherein, the inquiry message is used to inquire whether the user needs to block the push message of the target application; if it is determined that the inquiry message needs to be sent, the inquiry message is sent to the terminal device; the confirmation from the terminal device is received. message; wherein the confirmation message is used to instruct the push server to prohibit sending the push message of the target application to the terminal device.
在可能的实施例中,所述芯片可以与收发器耦合。收发器可用于向终端设备发送数据或接收来自终端设备的数据,例如接收来自终端设备的目标应用的使用信息;例如在确定需要发送询问消息的情况下,发送所述询问消息至所述终端设备;例如接收来自所述终端设备的确认消息。In a possible embodiment, the chip may be coupled with a transceiver. The transceiver can be used to send data to or receive data from the terminal device, such as receiving usage information of the target application from the terminal device; for example, in the case of determining that an inquiry message needs to be sent, send the inquiry message to the terminal device ; for example receiving an acknowledgment message from the terminal device.
在可能的实施例中,所述芯片可应用于推送服务器。所述芯片的具体功能实现还可参考上述图6、图7实施例中推送服务器的相关功能描述,这里不再赘述。In a possible embodiment, the chip can be applied to a push server. For the specific function implementation of the chip, reference may also be made to the description of the relevant functions of the push server in the embodiments of FIG. 6 and FIG. 7 , which will not be repeated here.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. During execution, the processes of the embodiments of the above-mentioned methods may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like.
以上所揭露的仅为本申请一种较佳实施例而已,当然不能以此来限定本申请之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本申请权利要求所作的等同变化,仍属于发明所涵盖的范围。What is disclosed above is only a preferred embodiment of the present application, and of course, it cannot limit the scope of the right of the present application. Those skilled in the art can understand that all or part of the process of implementing the above-mentioned embodiment can be realized according to the right of the present application. The equivalent changes required to be made still belong to the scope covered by the invention.

Claims (28)

  1. 一种推送消息的管理方法,其特征在于,所述方法包括:A method for managing push messages, characterized in that the method comprises:
    终端设备获取统计周期内目标应用的使用信息;The terminal device obtains the usage information of the target application within the statistical period;
    所述终端设备发送所述目标应用的使用信息至推送服务器;The terminal device sends the usage information of the target application to the push server;
    所述终端设备接收所述推送服务器发送的询问消息;其中,所述询问消息用于询问用户是否需要屏蔽所述目标应用的推送消息;The terminal device receives an inquiry message sent by the push server; wherein the inquiry message is used to inquire whether the user needs to block the push message of the target application;
    检测用户对所述询问消息的第一操作;其中,所述第一操作用于确定用户需要屏蔽所述目标应用的推送消息;Detecting the user's first operation on the query message; wherein, the first operation is used to determine that the user needs to block the push message of the target application;
    所述终端设备响应于所述第一操作,发送确认消息至所述推送服务器;其中,所述确认消息用于指示所述推送服务器禁止向所述终端设备发送所述目标应用的推送消息。The terminal device sends a confirmation message to the push server in response to the first operation; wherein the confirmation message is used to instruct the push server to prohibit sending the push message of the target application to the terminal device.
  2. 根据权利要求1所述的方法,其特征在于,检测用户对所述询问消息的第一操作之后,所述方法还包括:所述终端设备将通知管理界面内所述目标应用的通知关闭。The method according to claim 1, wherein after detecting the user's first operation on the query message, the method further comprises: the terminal device closing the notification of the target application in the notification management interface.
  3. 根据权利要求1或2所述的方法,其特征在于,所述目标应用的使用信息包括使用时长、使用次数、消息发送次数、消息点击次数、消息点击量与推送量比值或者连续未点击的消息数中的一个或多个。The method according to claim 1 or 2, wherein the usage information of the target application includes usage duration, usage times, message sending times, message clicks, ratio of message clicks to push amounts, or messages that have not been clicked continuously. one or more of the numbers.
  4. 根据权利要求3所述的方法,其特征在于,所述目标应用的使用信息还包括所述目标应用的标识和所述终端设备的标识。The method according to claim 3, wherein the usage information of the target application further comprises an identifier of the target application and an identifier of the terminal device.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述终端设备发送确认消息至所述推送服务器之后,所述方法还包括:The method according to any one of claims 1-4, wherein after the terminal device sends a confirmation message to the push server, the method further comprises:
    所述终端设备检测用户对所述通知管理界面的第二操作;其中,所述第二操作用于确定用户需要开启所述目标应用的推送消息;The terminal device detects a second operation of the user on the notification management interface; wherein the second operation is used to determine that the user needs to open the push message of the target application;
    所述终端设备响应于所述第二操作,发送开启消息至所述推送服务器;其中,所述开启消息用于指示所述推送服务器允许发送所述目标应用的推送消息至所述终端设备。In response to the second operation, the terminal device sends an opening message to the push server; wherein the opening message is used to instruct the push server to allow sending the push message of the target application to the terminal device.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述统计周期为系统预设或者用户设置中的一种。The method according to any one of claims 1-5, wherein the statistical period is one of a system preset or a user setting.
  7. 一种推送消息的管理方法,其特征在于,所述方法包括:A method for managing push messages, characterized in that the method comprises:
    推送服务器接收来自终端设备的目标应用的使用信息;The push server receives the usage information of the target application from the terminal device;
    所述推送服务器根据所述目标应用的使用信息,判断是否需要发送询问消息至所述终端设备;其中,所述询问消息用于询问用户是否需要屏蔽所述目标应用的推送消息;The push server determines whether it is necessary to send an inquiry message to the terminal device according to the usage information of the target application; wherein, the inquiry message is used to inquire whether the user needs to block the push message of the target application;
    在确定需要发送询问消息的情况下,所述推送服务器发送所述询问消息至所述终端设备;In the case that it is determined that an inquiry message needs to be sent, the push server sends the inquiry message to the terminal device;
    所述推送服务器接收来自所述终端设备的确认消息;其中,所述确认消息用于指示所述推送服务器禁止向所述终端设备发送所述目标应用的推送消息。The push server receives a confirmation message from the terminal device, wherein the confirmation message is used to instruct the push server to prohibit sending the push message of the target application to the terminal device.
  8. 根据权利要求7所述的方法,其特征在于,所述目标应用的使用信息包括使用时长、使用次数、消息发送次数、消息点击次数、消息点击量与推送量比值或者连续未点击的消息 数中的一个或多个。The method according to claim 7, wherein the usage information of the target application includes usage duration, usage times, message sending times, message clicks, ratio of message clicks to push amounts, or the number of consecutively unclicked messages. one or more of.
  9. 根据权利要求8所述的方法,其特征在于,所述目标应用的使用信息还包括所述目标应用的标识和所述终端设备的标识。The method according to claim 8, wherein the usage information of the target application further comprises an identifier of the target application and an identifier of the terminal device.
  10. 根据权利要求9所述的方法,其特征在于,所述推送服务器接收来自所述终端设备的确认消息之后,所述方法还包括:The method according to claim 9, wherein after the push server receives the confirmation message from the terminal device, the method further comprises:
    所述推送服务器根据所述确认消息,将预先建立的白名单中的所述目标应用删除;其中,所述预先建立的白名单为允许发送推送消息的应用集合,包括所述终端设备及应用的映射关系。The push server deletes the target application in the pre-established white list according to the confirmation message; wherein, the pre-established white list is a set of applications that are allowed to send push messages, including the terminal device and the application. Mapping relations.
  11. 根据权利要求10所述的方法,其特征在于,所述推送服务器根据所述确认消息,将预先建立的白名单中的所述目标应用删除之后,所述方法还包括:The method according to claim 10, wherein after the push server deletes the target application in the pre-established whitelist according to the confirmation message, the method further comprises:
    所述推送服务器接收来自应用服务器的推送消息;The push server receives the push message from the application server;
    判断所述推送消息对应的应用是否在所述白名单中;Determine whether the application corresponding to the push message is in the whitelist;
    若所述推送消息对应的应用在所述白名单中,则发送所述推送消息至所述终端设备;If the application corresponding to the push message is in the whitelist, sending the push message to the terminal device;
    若所述推送消息对应的应用不在所述白名单中,则不发送所述推送消息至所述终端设备。If the application corresponding to the push message is not in the white list, the push message is not sent to the terminal device.
  12. 根据权利要求9所述的方法,其特征在于,所述推送服务器接收来自所述终端设备的确认消息之后,所述方法还包括:The method according to claim 9, wherein after the push server receives the confirmation message from the terminal device, the method further comprises:
    所述推送服务器根据所述确认消息,往预先建立的黑名单中增加所述目标应用;其中,所述预先建立的黑名单为禁止发送推送消息的应用集合,包括所述终端设备及应用的映射关系。The push server adds the target application to a pre-established blacklist according to the confirmation message; wherein, the pre-established blacklist is a set of applications that are prohibited from sending push messages, including the mapping of the terminal device and the application relation.
  13. 根据权利要求12所述的方法,其特征在于,所述推送服务器根据所述确认消息,往预先建立的黑名单中增加所述目标应用之后,所述方法还包括:The method according to claim 12, wherein after the push server adds the target application to a pre-established blacklist according to the confirmation message, the method further comprises:
    所述推送服务器接收来自应用服务器的推送消息;The push server receives the push message from the application server;
    判断所述推送消息对应的应用是否在所述黑名单中;Determine whether the application corresponding to the push message is in the blacklist;
    若所述推送消息对应的应用在所述黑名单中,则不发送所述推送消息至所述终端设备;If the application corresponding to the push message is in the blacklist, do not send the push message to the terminal device;
    若所述推送消息对应的应用不在所述黑名单中,则发送所述推送消息至所述终端设备。If the application corresponding to the push message is not in the blacklist, the push message is sent to the terminal device.
  14. 根据权利要求8-13任一项所述的方法,其特征在于,所述推送服务器根据所述目标应用的使用信息,判断是否需要发送询问消息至所述终端设备,包括:The method according to any one of claims 8-13, wherein the push server determines whether to send an inquiry message to the terminal device according to the usage information of the target application, comprising:
    在满足以下一种或多种条件的情况下,确定需要发送询问消息至所述终端设备:When one or more of the following conditions are met, it is determined that an inquiry message needs to be sent to the terminal device:
    所述目标应用的使用时长小于或等于使用时长阈值;The usage duration of the target application is less than or equal to the usage duration threshold;
    或者,所述目标应用的使用次数小于或等于使用次数阈值;Or, the usage count of the target application is less than or equal to the usage count threshold;
    或者,所述目标应用的消息发送次数大于消息发送次数阈值;Or, the message sending times of the target application is greater than the message sending times threshold;
    或者,所述目标应用的消息点击次数小于或等于消息点击次数阈值;Or, the number of message clicks of the target application is less than or equal to the threshold of the number of message clicks;
    或者,所述目标应用的消息点击量与推送量比值小于或等于消息点击量与推送量比值的阈值;Or, the ratio of the message clicks to the push amount of the target application is less than or equal to the threshold of the ratio of the message clicks to the push amount;
    或者,所述目标应用的连续未点击的消息数大于连续未点击的消息数阈值。Alternatively, the number of consecutively unclicked messages of the target application is greater than the threshold of the number of consecutively unclicked messages.
  15. 一种终端设备,其特征在于,所述终端设备包括:A kind of terminal equipment, it is characterized in that, described terminal equipment comprises:
    获取模块,用于获取统计周期内目标应用的使用信息;The acquisition module is used to acquire the usage information of the target application in the statistical period;
    发送模块,用于发送所述目标应用的使用信息至推送服务器;a sending module, configured to send the usage information of the target application to the push server;
    接收模块,用于接收所述推送服务器发送的询问消息;其中,所述询问消息用于询问用户是否需要屏蔽所述目标应用的推送消息;a receiving module, configured to receive an inquiry message sent by the push server; wherein the inquiry message is used to inquire whether the user needs to block the push message of the target application;
    检测模块,用于检测用户对所述询问消息的第一操作;其中,所述第一操作用于确定用户需要屏蔽所述目标应用的推送消息;a detection module, configured to detect the user's first operation on the query message; wherein, the first operation is used to determine that the user needs to block the push message of the target application;
    所述发送模块还用于,响应于所述第一操作,发送确认消息至所述推送服务器;其中,所述确认消息用于指示所述推送服务器禁止向所述终端设备发送所述目标应用的推送消息。The sending module is further configured to, in response to the first operation, send a confirmation message to the push server; wherein the confirmation message is used to instruct the push server to forbid sending the target application to the terminal device. forward news.
  16. 根据权利要求15所述的终端设备,其特征在于,所述终端设备还包括执行模块;The terminal device according to claim 15, wherein the terminal device further comprises an execution module;
    所述执行模块用于将通知管理界面内所述目标应用的通知关闭。The execution module is configured to close the notification of the target application in the notification management interface.
  17. 根据权利要求15或16所述的终端设备,其特征在于,所述目标应用的使用信息包括使用时长、使用次数、消息发送次数、消息点击次数、消息点击量与推送量比值或者连续未点击的消息数中的一个或多个。The terminal device according to claim 15 or 16, wherein the usage information of the target application includes usage duration, usage times, message sending times, message clicks, ratio of message clicks to push amounts, or continuous unclicked One or more of the number of messages.
  18. 根据权利要求17所述的终端设备,其特征在于,所述目标应用的使用信息还包括所述目标应用的标识和所述终端设备的标识。The terminal device according to claim 17, wherein the usage information of the target application further comprises an identifier of the target application and an identifier of the terminal device.
  19. 根据权利要求15-18任一项所述的终端设备,其特征在于,The terminal device according to any one of claims 15-18, wherein,
    所述检测模块还用于检测用户对所述通知管理界面的第二操作;其中,所述第二操作用于确定用户需要开启所述目标应用的推送消息;The detection module is further configured to detect the user's second operation on the notification management interface; wherein the second operation is used to determine that the user needs to open the push message of the target application;
    所述发送模块还用于发送开启消息至所述推送服务器;其中,所述开启消息用于指示所述推送服务器允许发送所述目标应用的推送消息至所述终端设备。The sending module is further configured to send an opening message to the push server; wherein the opening message is used to instruct the push server to allow sending the push message of the target application to the terminal device.
  20. 根据权利要求15-19任一项所述的终端设备,其特征在于,所述统计周期为系统预设或者用户设置中的一种。The terminal device according to any one of claims 15-19, wherein the statistical period is one of a system preset or a user setting.
  21. 一种装置,其特征在于,所述装置包括:A device, characterized in that the device comprises:
    接收模块,用于接收来自终端设备的目标应用的使用信息;a receiving module for receiving usage information of the target application from the terminal device;
    确定模块,用于根据所述目标应用的使用信息,判断是否需要发送询问消息至所述终端设备;其中,所述询问消息用于询问用户是否需要屏蔽所述目标应用的推送消息;a determining module, configured to determine whether an inquiry message needs to be sent to the terminal device according to the usage information of the target application; wherein, the inquiry message is used to inquire whether the user needs to block the push message of the target application;
    发送模块,用于在确定需要发送询问消息的情况下,发送所述询问消息至所述终端设备;a sending module, configured to send the query message to the terminal device when it is determined that the query message needs to be sent;
    所述接收模块还用于,接收来自所述终端设备的确认消息;其中,所述确认消息用于指示所述装置禁止向所述终端设备发送所述目标应用的推送消息。The receiving module is further configured to receive a confirmation message from the terminal device, wherein the confirmation message is used to instruct the apparatus to prohibit sending the push message of the target application to the terminal device.
  22. 根据权利要求21所述的装置,其特征在于,所述目标应用的使用信息包括使用时长、使用次数、消息发送次数、消息点击次数、消息点击量与推送量比值或者连续未点击的消息数中的一个或多个。The device according to claim 21, wherein the usage information of the target application includes usage duration, usage times, message sending times, message clicks, ratio of message clicks to push amounts, or the number of consecutively unclicked messages. one or more of.
  23. 根据权利要求22所述的装置,其特征在于,所述目标应用的使用信息还包括所述目标应用的标识和所述终端设备的标识。The apparatus according to claim 22, wherein the usage information of the target application further comprises an identifier of the target application and an identifier of the terminal device.
  24. 根据权利要求23所述的装置,其特征在于,所述装置还包括执行模块;The apparatus according to claim 23, wherein the apparatus further comprises an execution module;
    所述执行模块用于根据所述确认消息,将预先建立的白名单中的所述目标应用删除;其中,所述预先建立的白名单为允许发送推送消息的应用集合,包括所述终端设备及应用的映射关系。The execution module is configured to delete the target application in the pre-established whitelist according to the confirmation message; wherein, the pre-established whitelist is a set of applications that are allowed to send push messages, including the terminal device and the The mapping relationship of the application.
  25. 根据权利要求24所述的装置,其特征在于,The apparatus of claim 24, wherein:
    所述接收模块还用于接收来自应用服务器的推送消息;The receiving module is further configured to receive push messages from the application server;
    所述确定模块还用于判断所述推送消息对应的应用是否在所述白名单中;The determining module is further configured to determine whether the application corresponding to the push message is in the whitelist;
    所述发送模块还用于,若所述推送消息对应的应用在所述白名单中,则发送所述推送消息至所述终端设备;若所述推送消息对应的应用不在所述白名单中,则不发送所述推送消息至所述终端设备。The sending module is further configured to, if the application corresponding to the push message is in the white list, send the push message to the terminal device; if the application corresponding to the push message is not in the white list, Then the push message is not sent to the terminal device.
  26. 根据权利要求23所述的装置,其特征在于,所述装置还包括执行模块;The apparatus according to claim 23, wherein the apparatus further comprises an execution module;
    所述执行模块用于根据所述确认消息,往预先建立的黑名单中增加所述目标应用;其中,所述预先建立的黑名单为禁止发送推送消息的应用集合,包括所述终端设备及应用的映射关系。The execution module is configured to add the target application to a pre-established blacklist according to the confirmation message; wherein, the pre-established blacklist is a set of applications prohibited from sending push messages, including the terminal device and the application mapping relationship.
  27. 根据权利要求26所述的装置,其特征在于,The apparatus of claim 26, wherein:
    所述接收模块还用于接收来自应用服务器的推送消息;The receiving module is further configured to receive push messages from the application server;
    所述确定模块还用于判断所述推送消息对应的应用是否在所述黑名单中;The determining module is further configured to determine whether the application corresponding to the push message is in the blacklist;
    所述发送模块还用于,若所述推送消息对应的应用在所述黑名单中,则不发送所述推送消息至所述终端设备;若所述推送消息对应的应用不在所述黑名单中,则发送所述推送消息至所述终端设备。The sending module is further configured to, if the application corresponding to the push message is in the blacklist, not to send the push message to the terminal device; if the application corresponding to the push message is not in the blacklist , the push message is sent to the terminal device.
  28. 根据权利要求21-27任一项所述的装置,其特征在于,所述确定模块具体用于:The device according to any one of claims 21-27, wherein the determining module is specifically configured to:
    在满足以下一种或多种条件的情况下,确定需要发送询问消息至所述终端设备:When one or more of the following conditions are met, it is determined that an inquiry message needs to be sent to the terminal device:
    所述目标应用的使用时长小于或等于使用时长阈值;The usage duration of the target application is less than or equal to the usage duration threshold;
    或者,所述目标应用的使用次数小于或等于使用次数阈值;Or, the usage count of the target application is less than or equal to the usage count threshold;
    或者,所述目标应用的消息发送次数大于消息发送次数阈值;Or, the message sending times of the target application is greater than the message sending times threshold;
    或者,所述目标应用的消息点击次数小于或等于消息点击次数阈值;Or, the number of message clicks of the target application is less than or equal to the threshold of the number of message clicks;
    或者,所述目标应用的消息点击量与推送量比值小于或等于消息点击量与推送量比值的阈值;Or, the ratio of the message clicks to the push amount of the target application is less than or equal to the threshold of the ratio of the message clicks to the push amount;
    或者,所述目标应用的连续未点击的消息数大于连续未点击的消息数阈值。Alternatively, the number of consecutively unclicked messages of the target application is greater than the threshold of the number of consecutively unclicked messages.
PCT/CN2021/116551 2020-09-14 2021-09-03 Method for managing push message, and related apparatus WO2022052878A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010959214.7 2020-09-14
CN202010959214.7A CN114268663A (en) 2020-09-14 2020-09-14 Management method of push message and related device

Publications (1)

Publication Number Publication Date
WO2022052878A1 true WO2022052878A1 (en) 2022-03-17

Family

ID=80632636

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/116551 WO2022052878A1 (en) 2020-09-14 2021-09-03 Method for managing push message, and related apparatus

Country Status (2)

Country Link
CN (1) CN114268663A (en)
WO (1) WO2022052878A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114978889A (en) * 2022-05-13 2022-08-30 厦门兆翔智能科技有限公司 Airport enterprise service bus system
CN116055505A (en) * 2022-08-31 2023-05-02 荣耀终端有限公司 Message synchronization method and terminal equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116668967A (en) * 2022-09-05 2023-08-29 荣耀终端有限公司 Push message processing method, system, terminal equipment, push server and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135424A (en) * 2014-02-14 2014-11-05 腾讯科技(深圳)有限公司 Application information push method, application server, application terminal and application information push system
CN106033419A (en) * 2015-03-10 2016-10-19 深圳市腾讯计算机系统有限公司 An information real-time push method, device and system
US20170244798A1 (en) * 2016-02-18 2017-08-24 International Business Machines Corporation Managing push notifications on portable devices
CN108462734A (en) * 2017-02-20 2018-08-28 腾讯科技(深圳)有限公司 Message receival method and device
CN108989457A (en) * 2018-08-15 2018-12-11 北京小米移动软件有限公司 Information processing method and server, terminal
CN109413157A (en) * 2018-09-28 2019-03-01 北京小米移动软件有限公司 Message screening method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140337424A1 (en) * 2013-05-10 2014-11-13 Apple Inc. Authorizing Push Notifications for Websites
CN104601639A (en) * 2014-03-13 2015-05-06 腾讯科技(深圳)有限公司 Webpage application message push method, client, server and system
CN104506649B (en) * 2014-12-31 2018-07-24 小米科技有限责任公司 Notification message method for pushing and device
CN105528251B (en) * 2015-12-23 2019-06-07 北京奇虎科技有限公司 Processing method, device and the mobile terminal of applicative notifications information

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135424A (en) * 2014-02-14 2014-11-05 腾讯科技(深圳)有限公司 Application information push method, application server, application terminal and application information push system
CN106033419A (en) * 2015-03-10 2016-10-19 深圳市腾讯计算机系统有限公司 An information real-time push method, device and system
US20170244798A1 (en) * 2016-02-18 2017-08-24 International Business Machines Corporation Managing push notifications on portable devices
CN108462734A (en) * 2017-02-20 2018-08-28 腾讯科技(深圳)有限公司 Message receival method and device
CN108989457A (en) * 2018-08-15 2018-12-11 北京小米移动软件有限公司 Information processing method and server, terminal
CN109413157A (en) * 2018-09-28 2019-03-01 北京小米移动软件有限公司 Message screening method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114978889A (en) * 2022-05-13 2022-08-30 厦门兆翔智能科技有限公司 Airport enterprise service bus system
CN114978889B (en) * 2022-05-13 2024-04-16 厦门兆翔智能科技有限公司 Airport enterprise service bus system
CN116055505A (en) * 2022-08-31 2023-05-02 荣耀终端有限公司 Message synchronization method and terminal equipment
CN116055505B (en) * 2022-08-31 2023-10-20 荣耀终端有限公司 Message synchronization method and terminal equipment

Also Published As

Publication number Publication date
CN114268663A (en) 2022-04-01

Similar Documents

Publication Publication Date Title
WO2021013158A1 (en) Display method and related apparatus
EP4024193A1 (en) Data transmission method and related devices
WO2020177622A1 (en) Method for displaying ui assembly and electronic device
WO2022052878A1 (en) Method for managing push message, and related apparatus
WO2022068483A1 (en) Application startup method and apparatus, and electronic device
WO2021159746A1 (en) File sharing method and system, and related device
WO2020156230A1 (en) Method for presenting video on electronic device when incoming call comes, and electronic device
WO2022068819A1 (en) Interface display method and related apparatus
WO2021052415A1 (en) Resource scheduling method and electronic device
WO2021078032A1 (en) User interface display method and electronic device
WO2022017393A1 (en) Display interaction system, display method, and device
WO2024021519A1 (en) Card display method and terminal device
CN113934330A (en) Screen capturing method and electronic equipment
WO2022194190A1 (en) Method and apparatus for adjusting numerical range of recognition parameter of touch gesture
WO2022213831A1 (en) Control display method and related device
WO2022127632A1 (en) Resource management and control method, and device
WO2022135157A1 (en) Page display method and apparatus, and electronic device and readable storage medium
WO2022001279A1 (en) Cross-device desktop management method, first electronic device, and second electronic device
WO2021244452A1 (en) Multi-device interaction method and system
CN115016697A (en) Screen projection method, computer device, readable storage medium, and program product
WO2022002213A1 (en) Translation result display method and apparatus, and electronic device
WO2022111701A1 (en) Screen projection method and system
WO2024037542A1 (en) Touch input method, system, electronic device, and storage medium
WO2023207799A1 (en) Message processing method and electronic device
WO2023160224A1 (en) Photographing method and related device

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21865932

Country of ref document: EP

Kind code of ref document: A1