WO2019076250A1 - 推送消息的管理方法及相关产品 - Google Patents

推送消息的管理方法及相关产品 Download PDF

Info

Publication number
WO2019076250A1
WO2019076250A1 PCT/CN2018/110095 CN2018110095W WO2019076250A1 WO 2019076250 A1 WO2019076250 A1 WO 2019076250A1 CN 2018110095 W CN2018110095 W CN 2018110095W WO 2019076250 A1 WO2019076250 A1 WO 2019076250A1
Authority
WO
WIPO (PCT)
Prior art keywords
push message
interface
game
display interface
push
Prior art date
Application number
PCT/CN2018/110095
Other languages
English (en)
French (fr)
Inventor
林志泳
刘美
莫瑞宏
张俊
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2019076250A1 publication Critical patent/WO2019076250A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Definitions

  • the present application relates to the field of terminal technologies, and in particular, to a method for managing push messages and related products.
  • the application in the terminal device generates a push message, which is displayed at the top of the display interface or in the middle of the lock screen interface.
  • the push message can provide a preview of the information to the user.
  • the user clicks or slides the push message the corresponding application is started, and the specific information corresponding to the push message is displayed.
  • the push message brings convenience to the user, and also blocks the display interface, interferes with the normal use of the terminal device by the user, and reduces the user experience.
  • the embodiment of the present invention provides a method for managing a push message and related products, which can cache a push message when a user plays a game, thereby avoiding displaying a push message during the game, causing the user to accidentally touch and jump to another interface, thereby improving the terminal device.
  • the gaming experience can cache a push message when a user plays a game, thereby avoiding displaying a push message during the game, causing the user to accidentally touch and jump to another interface, thereby improving the terminal device.
  • a first aspect of the embodiments of the present application provides a method for managing a push message, including:
  • the terminal device obtains the request instruction for pushing the message, determining whether the current display interface is a game interface; the game interface displays the screen in the game application for the display interface;
  • the push message is output; wherein the other interface displays a screen other than the screen in the game application for the display interface.
  • the second aspect of the embodiment of the present application provides a management apparatus for pushing a message, including:
  • a first determining unit configured to determine, when the request instruction of the push message is obtained, whether the current display interface is a game interface; the game interface displays a screen in the game application for the display interface;
  • a cache unit configured to cache the push message to delay output of the push message if the display interface is the game interface
  • a monitoring unit configured to monitor a switching operation of the display interface
  • an output unit configured to output the push message when the display interface is switched to another interface, wherein the other interface displays a screen other than the screen in the game application for the display interface.
  • a third aspect of the embodiments of the present application provides a terminal device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to Executed by the processor, the program includes instructions for performing the steps in the method as provided by the first aspect above.
  • a fourth aspect of embodiments of the present application provides a computer readable storage medium storing a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method as provided in the first aspect above, the computer Includes terminal equipment.
  • a fifth aspect of the embodiments of the present application provides a computer program product, wherein the computer program product comprises a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to perform the present application Some or all of the steps described in the first aspect of the embodiment.
  • the computer program product can be a software installation package, the computer including a terminal device.
  • FIG. 1 is a schematic flowchart of a method for managing a push message disclosed in an embodiment of the present application
  • FIG. 2 is a schematic diagram of an interface for displaying a push message according to an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of another interface for displaying a push message according to an embodiment of the present disclosure
  • FIG. 4 is a schematic flowchart of another method for managing a push message disclosed in an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a scenario in which a user performs a touch operation on a terminal device according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of a device for managing a push message disclosed in an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of another apparatus for managing a push message disclosed in an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a determining unit according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a cache unit according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of another cache unit according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of a terminal device according to an embodiment of the present disclosure.
  • the terminal device involved in the embodiments of the present application may include various handheld devices having wireless communication functions, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem, and various forms of user devices (user Equipment, UE), mobile station (MS), terminal device, etc.
  • user Equipment user Equipment
  • MS mobile station
  • terminal devices etc.
  • the embodiment of the present invention provides a method for managing a push message and related products, which can cache a push message when a user plays a game, thereby avoiding displaying a push message during the game, causing the user to accidentally touch and jump to another interface, thereby improving the terminal device.
  • the gaming experience The details are described below separately.
  • FIG. 1 is a schematic flowchart of a method for managing a push message disclosed in an embodiment of the present application.
  • the method for managing the push message shown in FIG. 1 may include the following steps:
  • the terminal device obtains the request instruction for pushing the message, determining whether the current display interface is a game interface.
  • the user when the user uses the terminal device to play the game, the user frequently operates the terminal device. If other applications in the terminal device pop up the push message, the user may easily touch the push message to cause the display interface to switch. , interrupt the user's gaming experience.
  • FIG. 2 is a schematic diagram of an interface for displaying a push message according to an embodiment of the present application.
  • the user plays the game in the landscape mode. If the user clicks on the area above the screen in the game interface, if the terminal device outputs the push message 201 at this time and the push message 201 is displayed at the upper position of the display interface, then It is easy to accidentally touch the push message.
  • the system of the terminal device when the system of the terminal device obtains the request instruction for pushing the message, it first determines whether the current display interface is a game interface, and if it is a game interface, considers the cache push message, and after the user game ends The push message is output, thereby preventing the user from switching the display interface due to the accidental touch of the push message during the game.
  • the game interface refers to a display interface displaying a screen in a game application.
  • the terminal device may obtain a process of currently displaying the display hardware resource for display, and then analyze whether the process corresponds to the game application, and if yes, determine that the current display interface is a game interface.
  • the push message is cached to delay outputting the push message.
  • the display interface of the terminal device is a game interface
  • the user is likely to play the game on the terminal device. Therefore, the push message can be cached, and the push message is output after the user finishes playing the game.
  • the terminal device may further determine a generation time of the push message according to the request instruction of the push message, and cache the generation time of the push message, so that when the push message is output later, The generation time of the push message is output, so that the user can obtain the time information of the push message according to the generation time of the push message.
  • the push message may be a memo reminder, and the generation time is 10:00 am to remind the user to “go to the station after two hours”; if the user is playing the game with the terminal device at 10:00 am, the push message is cached. The push message is output until the game ends at 10:30. Therefore, the user can accurately determine the time of departure to the station according to the generation time of the push message, and avoid the loss of the aging information caused by the delayed output of the push message.
  • the terminal device after the terminal device caches the push message, the terminal device monitors the switching operation of the display interface, and if it detects that the display display interface switches to another interface other than the game interface, the push message is output.
  • the other interface is a display interface that displays a screen other than the screen in the game application.
  • step 101 after the terminal device obtains the request instruction for pushing the message, the method further includes the following steps:
  • outputting the push message can be implemented as follows:
  • the push message is output according to the sorted order.
  • the method may further include the following steps:
  • the step of determining the generation time of the push message according to the request instruction of the push message is performed.
  • the time for generating the push message may be cached while the push message is cached, and the time for generating the push message may be output when the push message is output to avoid loss of the aging information.
  • FIG. 3 is a schematic diagram of another interface for displaying a push message according to an embodiment of the present application.
  • the generation time 302 of the push message can be displayed in the upper right corner of the push message prompt box.
  • semantic analysis of the push message may be performed to determine whether the push message is time-sensitive. For example, it may be recognized whether the text of the push message includes a preset keyword, and the preset keyword is a keyword such as a date and a time point. If the text of the push information includes a preset keyword, determining that the push message is time-sensitive Information, otherwise, is not time-sensitive information.
  • the push message can be cached when the user plays the game, so as to avoid displaying the push message during the game, causing the user to accidentally touch and jump to other interfaces, thereby improving the game experience on the terminal device.
  • the terminal device when the terminal device obtains the request instruction for pushing the message, it determines whether the current display interface is a game interface, and if the display interface is the game interface, the push message is cached, and if the display interface is displayed later, Switch to a different interface than the game interface to output a push message. It can be seen that the terminal device can cache the push message when the user plays the game, avoiding the display of the push message during the game, causing the user to accidentally touch and jump to other interfaces, thereby improving the game experience on the terminal device.
  • FIG. 4 is a schematic flowchart diagram of another method for managing push messages according to an embodiment of the present application. As shown in FIG. 4, the method for managing the push message may include the following steps:
  • the terminal device obtains the request instruction for pushing the message, determining whether the current display interface is a game interface.
  • the user when the user uses the terminal device to play the game, the user frequently operates the terminal device. If other applications in the terminal device pop up the push message, the user may easily touch the push message to cause the display interface to switch. , interrupt the user's gaming experience.
  • the system of the terminal device when the system of the terminal device obtains the request instruction for pushing the message, it first determines whether the current display interface is a game interface, and if it is a game interface, considers the cache push message, and after the user game ends The push message is output, thereby preventing the user from switching the display interface due to the accidental touch of the push message during the game.
  • FIG. 5 is a schematic diagram of a scenario in which a user performs a touch operation on a terminal device according to an embodiment of the present disclosure.
  • the terminal device has a touch display screen. If the user's finger touches the area 501 on the touch display screen, the user can obtain the touch operation at the corresponding position.
  • the touch position in the figure is only an illustration. In actual operation, the terminal device can accurately recognize the touch operation of the touch area of the minimum scale level.
  • the terminal device can monitor the number of touch operations input by the user in a preset time interval, thereby determining the frequency of the touch operation.
  • the frequency of the touch operation input by the user can be monitored. If the frequency of the touch operation is high, the current scene of the “in-game” is determined, and the push message is cached; if the frequency of the touch operation is low, the current judgment is In the game application, the mall interface, the login interface, etc., can output push messages.
  • the push message is buffered to delay outputting the push message.
  • the frequency of the touch operation input by the user is high, the current scene of the “in-game” is determined, and the push message is cached so that the push message is not currently displayed, thereby preventing the user from accidentally touching the push message to cause interface switching.
  • the generation time of each push message may be determined according to the request instruction of the push message, and then the push message is sorted according to the generation time; after that, when the push message is output, according to the order The subsequent order outputs push messages.
  • the push message is output according to the sorted order.
  • the other interface is a display interface that displays a screen other than the screen in the game application.
  • the push messages are sorted according to the generation time, and then, at the time of output, the push messages are output in order from the start to the end of the game.
  • the push message can be cached when the user plays the game, so as to avoid displaying the push message during the game, causing the user to accidentally touch and jump to other interfaces, thereby improving the game experience on the terminal device.
  • FIG. 6 is a schematic structural diagram of a device for managing push information disclosed in an embodiment of the present application.
  • the management device 600 for applying information to the terminal device may include:
  • the first determining unit 601 is configured to determine whether the current display interface is a game interface when the request instruction of the push message is acquired.
  • the user When the user uses the terminal device to play the game, the user frequently operates the terminal device. If other applications in the terminal device pop up the push message, the user can easily touch the push message to cause the display interface to switch, interrupting the user's game experience.
  • the system of the terminal device when the system of the terminal device obtains the request instruction for pushing the message, it first determines whether the current display interface is a game interface, and if it is a game interface, considers the cache push message, and after the user game ends The push message is output, thereby preventing the user from switching the display interface due to the accidental touch of the push message during the game.
  • the first determining unit 601 may obtain a process of currently calling the display hardware resource for display, and then analyze whether the process corresponds to the game application, and if yes, determine that the current display interface is a game interface.
  • the cache unit 602 is configured to cache the push message to delay outputting the push message if the display interface is a game interface.
  • the cache unit 602 may further determine a generation time of the push message according to the request instruction of the push message, and cache the generation time of the push message, so that when the push message is output later, The generation time of the push message is outputted together, so that the user can obtain the time information of the push message according to the generation time of the push message.
  • the push message may be a memo reminder, and the generation time is 10:00 am to remind the user to “go to the station after two hours”; if the user is playing the game with the terminal device at 10:00 am, the push message is cached. The push message is output until the game ends at 10:30. Therefore, the user can accurately determine the time of departure to the station according to the generation time of the push message, and avoid the loss of the aging information caused by the delayed output of the push message.
  • the monitoring unit 603 is configured to monitor a switching operation of the display interface.
  • the output unit 604 is configured to output a push message when the display interface is switched to another interface.
  • the other interface is a display interface that displays a screen other than the screen in the game application.
  • the cache unit 602 may buffer the generation time of the push message while the push message is cached, and the output unit 604 outputs the push message when outputting the push message. Generate time to avoid loss of aging information.
  • the semantic analysis of the push message may be performed to determine whether the push message is time-sensitive information. For example, it is possible to identify whether a text such as a date, a time point, or the like is included in the text of the push message, thereby determining whether the push message is time-sensitive information.
  • the management device for pushing information described in FIG. 6 can cache the push message when the user plays the game, avoiding the display of the push message during the game, causing the user to accidentally touch and jump to other interfaces, thereby improving the terminal device. Game experience.
  • FIG. 7 is a schematic structural diagram of another apparatus for managing push information disclosed in an embodiment of the present application.
  • the push information management device 700 shown in FIG. 7 can be obtained by the push information management device 600 shown in FIG. 6.
  • the push information management device 700 further includes:
  • the second determining unit 605 is configured to determine, according to the request instruction of the push message, a generation time of the push message.
  • the sorting unit 606 is configured to sort the push messages according to the generation time.
  • the output unit 604 is specifically configured to output the push message according to the sorted order.
  • the generation time of each push message may be determined according to the request instruction of the push message, and then the push message is sorted according to the generation time; after that, the output unit 604 outputs the push message. , the push message is output in the sorted order.
  • the push messages are sorted according to the generation time, and then, at the time of output, the push messages are output in order from the start to the end of the game.
  • the second determining unit 605 is further configured to:
  • the step of determining the generation time of the push message according to the request instruction of the push message is performed.
  • the second determining unit 605 is further configured to:
  • Performing a semantic analysis on the push message to determine whether the push message is time-sensitive specifically: identifying whether the text of the push message includes a preset keyword, and the preset keyword is a date or a time point. ;
  • the first determining unit 601 may include: an obtaining subunit 6011, an analyzing subunit 6012, and a first determining subunit 6013. Please refer to FIG. 8.
  • FIG. 8 is a schematic structural diagram of a first determining unit according to an embodiment of the present disclosure, where
  • the obtaining sub-unit 6011 is configured to obtain a process of currently calling display hardware resources for display;
  • An analysis subunit 6012 configured to analyze whether the process corresponds to a game application
  • the first determining subunit 6013 is configured to determine that the display interface is the game interface if the process corresponds to a game application.
  • the buffer unit 602 may include: a monitoring subunit 6021 and a first buffer subunit 6022. Please refer to FIG. 9.
  • FIG. 9 is a schematic structural diagram of a cache unit according to an embodiment of the present disclosure, where
  • the monitoring subunit 6021 is configured to monitor a frequency of a touch operation input by the user when the display interface is the game interface;
  • the first buffer subunit 6022 is configured to cache the push message if the frequency of the touch operation exceeds a first threshold.
  • the user's touch operation can be acquired.
  • the monitoring sub-unit 6021 can monitor the number of touch operations input by the user in a preset time interval, thereby determining the frequency of the touch operation.
  • the cache unit 602 may also have different structures for implementing different functions, and may include: a second determining subunit 6023 and a second buffer subunit 6024.
  • FIG. 10 is a schematic structural diagram of another cache unit according to an embodiment of the present disclosure, where
  • a second determining sub-unit 6023 configured to determine, according to the game interface, the current occupancy rate of the process corresponding to the game interface
  • the second buffer subunit 6024 is configured to cache the push message if the occupancy rate is higher than a second threshold.
  • the currently running game process has a high occupancy rate of the processor, it indicates that the user is playing a game, or is playing a video in the game, instead of being in the mall interface or the login interface, in these scenarios, The user's attention is concentrated, and if the output push message is also disturbed to the user. Therefore, when the process corresponding to the game interface has a high processor occupancy rate, the push message is cached, and the push message is output when the display interface is switched from the game interface to another interface.
  • the management device for pushing information described in FIG. 7 can cache the push message when the user plays the game, avoiding the display of the push message during the game, causing the user to accidentally touch and jump to other interfaces, thereby improving the terminal device. Game experience.
  • FIG. 11 is a schematic structural diagram of a terminal device 1100 according to an embodiment of the present disclosure. As shown in FIG. 11 , for the convenience of description, only the parts related to the embodiments of the present application are shown. For details that are not disclosed, refer to the method part of the embodiment of the present application.
  • the terminal can be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), an in-vehicle computer, and the terminal device is used as a mobile phone as an example:
  • FIG. 11 is a block diagram showing a partial structure of a mobile phone related to a terminal device provided by an embodiment of the present application.
  • the mobile phone includes: a radio frequency (RF) circuit 1101 , a memory 1102 , an input unit 1103 , a display unit 1104 , a sensor 1105 , an audio circuit 1106 , a wireless fidelity (WiFi) module 1107 , and a processor 1108 . And power supply 1109 and other components.
  • RF radio frequency
  • the structure of the handset shown in FIG. 11 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different components may be arranged.
  • the RF circuit 1101 can be used for receiving and transmitting signals during and after receiving or transmitting information, in particular, after receiving the downlink information of the base station, and processing it to the processor 1108; in addition, transmitting the designed uplink data to the base station.
  • RF circuit 1101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
  • LNA Low Noise Amplifier
  • the RF circuit 1101 can also communicate with the network and other devices through wireless communication.
  • the above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division). Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), and the like.
  • GSM Global System of Mobile communication
  • GPRS General Packe
  • the memory 1102 can be used to store software programs and modules, and the processor 1108 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 1102.
  • the memory 1102 can mainly include a storage program area and a storage data area, wherein the storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area can be stored according to Data created by the use of the mobile phone (such as audio data, phone book, etc.).
  • memory 1102 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 1103 can be configured to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the handset.
  • the input unit 1103 may include a touch panel 11031.
  • the touch panel 11031 also referred to as a touch screen, can collect touch operations on or near the user (such as the user using a finger, a stylus, or the like on the touch panel 11031 or near the touch panel 11031. Operation), and drive the corresponding connecting device according to a preset program.
  • the touch panel 11031 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 1108 is provided and can receive commands from the processor set 1108 and execute them.
  • the touch panel 11031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the display unit 1104 can be used to display information input by the user or information provided to the user as well as various menus of the mobile phone.
  • the display unit 1104 can include a display panel 11041.
  • the display panel 11041 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch panel 11031 can cover the display panel 11041. After the touch panel 11031 detects a touch operation thereon or nearby, the touch panel 11031 transmits to the processor set 1108 to determine the type of the touch event, and then the processor set 1108 according to the touch. The type of event provides a corresponding visual output on display panel 11041.
  • touch panel 11031 and the display panel 11041 are used as two independent components to implement the input and input functions of the mobile phone in FIG. 11 , in some embodiments, the touch panel 11031 and the display panel 11041 may be integrated. Realize the input and output functions of the phone.
  • the handset may also include at least one type of sensor 1105, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 11041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 11041 and/or when the mobile phone moves to the ear. Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes). When it is stationary, it can detect the magnitude and direction of gravity.
  • the mobile phone can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • the gesture of the mobile phone such as horizontal and vertical screen switching, related Game, magnetometer attitude calibration
  • vibration recognition related functions such as pedometer, tapping
  • the mobile phone can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, no longer Narration.
  • An audio circuit 1106, a speaker 11061, and a microphone 11062 can provide an audio interface between the user and the handset.
  • the audio circuit 1106 can transmit the converted electrical data of the received audio data to the speaker 11061, and convert it into a sound signal output by the speaker 11061.
  • the microphone 11062 converts the collected sound signal into an electrical signal, which is used by the audio circuit 1106. After receiving, it is converted into audio data, and then processed by the audio data output processor set 1108, sent to, for example, another mobile phone via the RF circuit 1101, or outputted to the memory 1102 for further processing.
  • WiFi is a short-range wireless transmission technology.
  • the mobile phone can help users to send and receive emails, browse web pages and access streaming media through the WiFi module 1107. It provides users with wireless broadband Internet access.
  • the processor 1108 is a control center for the handset, and the processor 1108 connects various portions of the entire handset using various interfaces and lines, by running or executing software programs and/or modules stored in the memory 1102, and recalling stored in the memory 1102. Data, perform various functions of the mobile phone and process data to monitor the mobile phone as a whole.
  • the processor 1108 may include one or more processing units; preferably, the processor 1108 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 1108.
  • the handset also includes a power source 1109 (such as a battery) that supplies power to the various components.
  • a power source 1109 such as a battery
  • the power source can be logically coupled to the processor 1108 via a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the mobile phone may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • each step method flow may be implemented based on the structure of the mobile phone.
  • each unit function can be implemented based on the structure of the mobile phone.
  • processor 1108 can invoke a computer program stored in memory 1102 for performing the following operations:
  • the terminal device obtains the request instruction for pushing the message, determining whether the current display interface is a game interface
  • the display interface is the game interface
  • the push message is buffered to delay outputting the push message
  • the game interface displays a screen in the game application for the display interface
  • the push message is output; wherein the other interface displays a screen other than the screen in the game application for the display interface.
  • the processor 1108 may invoke a computer program stored in the memory 1102, specifically for performing the following operations:
  • the processor 1108 can call a computer program stored in the memory 1102, and is also used to perform the following operations:
  • the processor 1108 can call a computer program stored in the memory 1102, specifically for performing the following operations:
  • the push message is output according to the sorted order.
  • the processor 1108 may invoke a computer program stored in the memory 1102, specifically for performing the following operations:
  • the processor 1108 may invoke a computer program stored in the memory 1102, in order to perform the following operations:
  • the push message is buffered and the push message is delayed.
  • the processor 1108 can invoke a computer program stored in the memory 1102, and is also configured to perform the following operations:
  • the push message is output.
  • the processor 1108 may invoke a computer program stored in the memory 1102, in order to perform the following operations:
  • the display interface is the game interface
  • the push message is buffered and the push message is delayed.
  • the terminal device described in FIG. 11 can cache the push message when the user plays the game, avoiding the display of the push message during the game, causing the user to accidentally touch and jump to other interfaces, thereby improving the game experience on the terminal device.
  • the embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, the computer program causing the computer to perform some or all of the steps of any of the methods described in the foregoing method embodiments.
  • the computer includes a terminal device.
  • the embodiment of the present application further provides a computer program product, comprising: a non-transitory computer readable storage medium storing a computer program, the computer program being operative to cause a computer to perform the operations as recited in the foregoing method embodiments Part or all of the steps of either method.
  • the computer program product can be a software installation package, the computer including a terminal device.
  • the disclosed apparatus may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable memory.
  • a computer readable memory A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing memory includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like, which can store program codes.
  • ROM Read-Only Memory
  • RAM Random Access Memory

Landscapes

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

Abstract

本申请实施例涉及终端技术领域,公开了一种推送消息的管理方法及相关产品。其中,该方法包括:终端设备获取到推送消息的请求指令时,确定当前的显示界面是否为游戏界面,其中,游戏界面为显示界面显示游戏应用中的画面;在显示界面为游戏界面的情况下,缓存推送消息以延迟输出推送消息;之后显示界面切换至其他界面的情况下,输出推送消息;其他界面为显示界面显示除游戏应用中的画面以外的画面。由此可见,终端设备可以在用户进行游戏时缓存推送消息,避免在游戏过程中显示推送消息造成用户误触而跳转至其他界面,从而提高终端设备上的游戏体验。

Description

推送消息的管理方法及相关产品
本申请要求2017年10月16日递交的发明名称为“推送消息的管理方法及相关产品”的申请号201710968489.5的在先申请优先权,上述在先申请的内容以引入的方式并入本文本中。
技术领域
本申请涉及终端技术领域,尤其涉及一种推送消息的管理方法及相关产品。
背景技术
终端设备中具有各种各样的应用,可以满足人们工作、娱乐和学习等多种方面的需求,为人们的生活带来极大便利。
其中,终端设备中的应用会产生推送消息,在显示界面的上方、或在锁屏界面的中部显示。推送消息可以向用户提供信息的预览,用户点击或滑动该推送消息,即会启动对应的应用,并显示该推送消息对应的具体信息。
然而,推送消息在为用户带来方便的同时,也遮挡显示界面,干扰用户正常使用终端设备,降低用户的使用体验。
发明内容
本申请实施例提供了一种推送消息的管理方法及相关产品,可以在用户进行游戏时缓存推送消息,避免在游戏过程中显示推送消息造成用户误触而跳转至其他界面,从而提高终端设备上的游戏体验。
本申请实施例第一方面提供了一种推送消息的管理方法,包括:
终端设备获取到推送消息的请求指令时,确定当前的显示界面是否为游戏界面;所述游戏界面为所述显示界面显示游戏应用中的画面;
所述显示界面为所述游戏界面的情况下,缓存所述推送消息以延迟所述推送消息的输出;
监测所述显示界面的切换操作;
所述显示界面切换至其他界面的情况下,输出所述推送消息;其中,所述其他界面为所述显示界面显示除游戏应用中的画面以外的画面。
本申请实施例第二方面提供了一种推送消息的管理装置,包括:
第一确定单元,用于在获取到推送消息的请求指令时,确定当前的显示界面是否为游戏界面;所述游戏界面为所述显示界面显示游戏应用中的画面;
缓存单元,用于所述显示界面为所述游戏界面的情况下,缓存所述推送消息以延迟所述推送消息的输出;
监测单元,用于监测所述显示界面的切换操作;
输出单元,用于所述显示界面切换至其他界面的情况下,输出所述推送消息;其中,所述其他界面为所述显示界面显示除游戏应用中的画面以外的画面。
本申请实施例第三方面提供了一种终端设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置为由所述处理器执行,所述程序包括用于执行如上述第一方面所提供的方法中的步骤的指令。
本申请实施例第四方面提供了一种计算机可读存储介质,其存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如上述第一方面所提供的方法,所述计算机包括终端设备。
本申请实施例第五方面提供了一种计算机程序产品,其中,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如本申请实施例第一方面所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包,所述计算机包括终端设备。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例公开的一种推送消息的管理方法的流程示意图;
图2为本申请实施例公开的一种显示推送消息的界面示意图;
图3为本申请实施例公开的另一种显示推送消息的界面示意图;
图4为本申请实施例公开的另一种推送消息的管理方法的流程示意图;
图5为本申请实施例公开的一种用户对终端设备进行触控操作的场景示意图;
图6为本申请实施例公开的一种推送消息的管理装置的结构示意图;
图7为本申请实施例公开的另一种推送消息的管理装置的结构示意图;
图8为本申请实施例公开的一种确定单元的结构示意图;
图9为本申请实施例公开的一种缓存单元的结构示意图;
图10为本申请实施例公开的另一种缓存单元的结构示意图;
图11为本申请实施例公开的一种终端设备的结构示意图。
具体实施方式
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述,显然,所描述的实施例仅仅是本申请一部份实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同的对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法或设备固有的其他步骤或单元。
本申请实施例所涉及到的终端设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(user equipment,UE),移动台(mobile station,MS),终端设备(terminal device)等等。为方便描述,上面提到的设备统称为终端设备。下面结合附图对本申请实施例进行介绍。
本申请实施例提供了一种推送消息的管理方法及相关产品,可以在用户进行游戏时缓存推送消息,避免在游戏过程中显示推送消息造成用户误触而跳转至其他界面,从而提高终端设备上的游戏体验。以下分别进行详细说明。
请参阅图1,图1是本申请实施例公开的一种推送消息的管理方法的流程示意图。其中,图1所示的推送消息的管理方法可以包括以下步骤:
101、终端设备获取到推送消息的请求指令时,确定当前的显示界面是否为游戏界面。
用户使用终端设备的过程中,当用户利用终端设备进行游戏时,由于用户会频繁操作终端设备,此时若终端设备中的其他应用弹出推送消息,则用户很容易误触推送消息造成显示界面切换,中断用户的游戏体验。
举例来说,请参阅图2,图2为本申请实施例公开的一种显示推送消息的界面示意图。如图2所示,用户在横屏模式下进行游戏,若用户在游戏界面点 击屏幕上方的区域时,若此时正好终端设备输出推送消息201,推送消息201显示在显示界面的上方位置,则很容易误触到推送消息。
因此,在本申请实施例中,终端设备的系统获取到推送消息的请求指令时,首先确定当前的显示界面是否为游戏界面,若为游戏界面,则考虑缓存推送消息,并在用户游戏结束后输出推送消息,从而避免用户在游戏过程中由于误触推送消息造成显示界面切换。
本申请实施例中,游戏界面指显示界面显示游戏应用中的画面。作为一种可选的实施方式,终端设备可以获取当前调用显示屏硬件资源进行显示的进程,之后分析该进程是否对应于游戏应用,若是,则确定当前显示界面为游戏界面。
102、显示界面为游戏界面的情况下,缓存推送消息以延迟输出推送消息。
本申请实施例中,当终端设备的显示界面为游戏界面时,用户很可能正在终端设备上玩游戏,因此,可以缓存推送消息,在用户玩游戏结束后再输出推送消息。
作为一种可选的实施方式,除了缓存推送消息以外,终端设备还可以根据推送消息的请求指令确定推送消息的生成时间,并缓存推送消息的生成时间,从而,在之后输出推送消息时,一并输出推送消息的生成时间,使用户可以根据推送消息的生成时间获取推送消息的时效信息。
举例来说,推送消息可能为备忘录提醒,生成时间为上午10点,用以提醒用户“两小时后出发去车站”;若用户上午10点时正在用终端设备玩游戏,则该推送消息被缓存,直至10点30分游戏结束时方输出该推送消息。从而,用户可以根据推送消息的生成时间准确确定出发去车站的时间,避免推送消息的延迟输出造成时效信息的损失。
103、监测显示界面的切换操作。
本申请实施例中,终端设备在缓存了推送消息之后,监测显示界面的切换操作,若检测到显示显示界面切换到除游戏界面以外的其他界面,则输出推送消息。
104、显示界面切换至其他界面的情况下,输出推送消息。
本申请实施例中,其他界面为显示界面显示除游戏应用中的画面以外的画面。
作为一种可选的实施方式,上述步骤101,终端设备获取到推送消息的请求指令之后,还包括如下步骤:
根据所述推送消息的请求指令确定所述推送消息的生成时间;将所述推送 消息根据所述生成时间排序;
在步骤104,输出所述推送消息,可按照如下方式实施:
根据所述排序后的顺序输出所述推送消息。
进一步地,在上述步骤根据所述推送消息的请求指令确定所述推送消息的生成时间之前,还可以包括如下步骤:
若推送消息为具有时效性的信息,执行所述根据所述推送消息的请求指令确定所述推送消息的生成时间的步骤。
其中,若推送消息为具有时效性的信息,则可以在缓存推送消息的同时,缓存推送消息的生成时间,并在输出推送消息时输出推送消息的生成时间,以避免时效信息的损失。
举例来说,请参阅图3,图3为本申请实施例公开的另一种显示推送消息的界面示意图。如图3中所示,在显示推送消息301时,可以在推送消息提示框的右上角显示推送消息的生成时间302。
作为一种可选的实施方式,可以通过对推送消息进行语义分析以确定推送消息是否为具有时效性的信息。例如,可以识别推送消息的文本中是否包含预设关键字,预设关键字为日期、时间点等关键字,若推送信息的文本中包括预设关键字,则确定推送消息为具有时效性的信息,否则,不为具有时效性的信息。
由此可见,利用图1所描述的方法,可以在用户进行游戏时缓存推送消息,避免在游戏过程中显示推送消息造成用户误触而跳转至其他界面,从而提高终端设备上的游戏体验。
可以看出,上述本发明实施例中,终端设备获取到推送消息的请求指令时,确定当前的显示界面是否为游戏界面,在显示界面为游戏界面的情况下,缓存推送消息,若之后显示界面切换到游戏界面以外的其他界面,则输出推送消息。由此可见,终端设备可以在用户进行游戏时缓存推送消息,避免在游戏过程中显示推送消息造成用户误触而跳转至其他界面,从而提高终端设备上的游戏体验。
请参阅图4,图4为本申请实施例公开的另一种推送消息的管理方法的流程示意图。如图4所示,该推送消息的管理方法可以包括如下步骤:
401、终端设备获取到推送消息的请求指令时,确定当前的显示界面是否为游戏界面。
用户使用终端设备的过程中,当用户利用终端设备进行游戏时,由于用户 会频繁操作终端设备,此时若终端设备中的其他应用弹出推送消息,则用户很容易误触推送消息造成显示界面切换,中断用户的游戏体验。
因此,在本申请实施例中,终端设备的系统获取到推送消息的请求指令时,首先确定当前的显示界面是否为游戏界面,若为游戏界面,则考虑缓存推送消息,并在用户游戏结束后输出推送消息,从而避免用户在游戏过程中由于误触推送消息造成显示界面切换。
402、显示界面为游戏界面的情况下,监测用户输入的触控操作的频率。
请参阅图5,图5为本申请实施例公开的一种用户对终端设备进行触控操作的场景示意图。如图5所示,终端设备具有触控显示屏,若用户的手指触摸触控显示屏上的区域501,便能获取用户的在对应位置的触控操作。图中的触控位置仅为示意,实际操作中,终端设备可以精确识别极小刻度级别的触控区域的触控操作。其中,终端设备可以监测用户在预设时间间隔内输入的触控操作的次数,从而确定触控操作的频率。
在游戏应用中,除了“游戏中”的场景以外,还可能具有商城界面、登陆界面等,在这些界面中,可以考虑输出推送消息。因此,可以监测用户输入的触控操作的频率,若触控操作的频率较高,则判断当前为“游戏中”的场景,缓存推送消息;若触控操作的频率较低,则判断当前为游戏应用中商城界面、登陆界面等,可以输出推送消息。
403、触控操作的频率超过第一阈值的情况下,缓存推送消息以延迟输出推送消息。
本申请实施例中,若用户输入的触控操作的频率较高,则判断当前为“游戏中”的场景,缓存推送消息使得当前不显示推送消息,避免用户误触推送消息造成界面切换。
404、根据推送消息的请求指令确定推送消息的生成时间。
本申请实施例中,在存在多个推送消息的情况下,可以根据推送消息的请求指令确定各个推送消息的生成时间,之后将推送消息根据生成时间排序;之后,在输出推送消息时,按照排序后的顺序输出推送消息。
405、将推送消息根据生成时间排序。
406、显示界面切换至其他界面的情况下,根据排序后的顺序输出推送消息。
本申请实施例中,其他界面为显示界面显示除游戏应用中的画面以外的画面。
举例来说,若多个推送消息为一场球赛的直播新闻时,将推送消息按照生 成时间排序,之后在输出时,按照球赛从开始到结束的时间顺序输出推送消息。
由此可见,利用图4所描述的方法,可以在用户进行游戏时缓存推送消息,避免在游戏过程中显示推送消息造成用户误触而跳转至其他界面,从而提高终端设备上的游戏体验。
请参阅图6,图6为本申请实施例公开的一种推送信息的管理装置的结构示意图。如图6所示,应用于终端设备,推送信息的管理装置600可以包括:
第一确定单元601,用于在获取到推送消息的请求指令时,确定当前的显示界面是否为游戏界面。
当用户利用终端设备进行游戏时,由于用户会频繁操作终端设备,此时若终端设备中的其他应用弹出推送消息,则用户很容易误触推送消息造成显示界面切换,中断用户的游戏体验。
因此,在本申请实施例中,终端设备的系统获取到推送消息的请求指令时,首先确定当前的显示界面是否为游戏界面,若为游戏界面,则考虑缓存推送消息,并在用户游戏结束后输出推送消息,从而避免用户在游戏过程中由于误触推送消息造成显示界面切换。
作为一种可选的实施方式,第一确定单元601可以获取当前调用显示屏硬件资源进行显示的进程,之后分析该进程是否对应于游戏应用,若是,则确定当前显示界面为游戏界面。
缓存单元602,用于显示界面为游戏界面的情况下,缓存推送消息以延迟输出推送消息。
作为一种可选的实施方式,除了缓存推送消息以外,缓存单元602还可以根据推送消息的请求指令确定推送消息的生成时间,并缓存推送消息的生成时间,从而,在之后输出推送消息时,一并输出推送消息的生成时间,使用户可以根据推送消息的生成时间获取推送消息的时效信息。
举例来说,推送消息可能为备忘录提醒,生成时间为上午10点,用以提醒用户“两小时后出发去车站”;若用户上午10点时正在用终端设备玩游戏,则该推送消息被缓存,直至10点30分游戏结束时方输出该推送消息。从而,用户可以根据推送消息的生成时间准确确定出发去车站的时间,避免推送消息的延迟输出造成时效信息的损失。
监测单元603,用于监测显示界面的切换操作。
输出单元604,用于显示界面切换至其他界面的情况下,输出推送消息。
本申请实施例中,其他界面为显示界面显示除游戏应用中的画面以外的画 面。
作为一种可选的实施方式,若推送消息为具有时效性的信息,则缓存单元602可以在缓存推送消息的同时,缓存推送消息的生成时间,输出单元604在输出推送消息时输出推送消息的生成时间,以避免时效信息的损失。
作为一种可选的实施方式,可以通过对推送消息进行语义分析以确定推送消息是否为时效性信息。例如,可以识别推送消息的文本中是否包含日期、时间点等关键字,从而确定推送消息是否为时效性信息。
由此可见,图6所描述的推送信息的管理装置,可以在用户进行游戏时缓存推送消息,避免在游戏过程中显示推送消息造成用户误触而跳转至其他界面,从而提高终端设备上的游戏体验。
请参阅图7,图7为本申请实施例公开的另一种推送信息的管理装置的结构示意图。其中,图7所示的推送信息的管理装置700可以在图6所示的推送信息的管理装置600的基础上获得,与推送信息的管理装置600相比,推送信息的管理装置700还包括:
第二确定单元605,用于根据所述推送消息的请求指令确定所述推送消息的生成时间。
排序单元606,用于将所述推送消息根据所述生成时间排序。
输出单元604,具体用于根据所述排序后的顺序输出所述推送消息。
本申请实施例中,在存在多个推送消息的情况下,可以根据推送消息的请求指令确定各个推送消息的生成时间,之后将推送消息根据生成时间排序;之后,输出单元604在输出推送消息时,按照排序后的顺序输出推送消息。
举例来说,若多个推送消息为一场球赛的直播新闻时,将推送消息按照生成时间排序,之后在输出时,按照球赛从开始到结束的时间顺序输出推送消息。
作为一种可选的实施方式,所述第二确定单元605还具体用于:
若推送消息为具有时效性的信息,执行所述根据所述推送消息的请求指令确定所述推送消息的生成时间的步骤。
作为一种可选的实施方式,所述第二确定单元605还具体用于:
通过对推送消息进行语义分析以确定所述推送消息是否为具有时效性的信息,具体为:识别所述推送消息的文本中是否包含预设关键字,所述预设关键字为日期或者时间点;
若是,则确认所述推送消息为具有时效性信息。
作为一种可选的实施方式,第一确定单元601可以包括:获取子单元6011、 分析子单元6012以及第一确定子单元6013。请参阅图8,图8为本申请实施例公开的一种第一确定单元的结构示意图,其中,
获取子单元6011,用于获取当前调用显示屏硬件资源进行显示的进程;
分析子单元6012,用于分析所述进程是否对应于游戏应用;
第一确定子单元6013,用于所述进程对应于游戏应用的情况下,确定所述显示界面为所述游戏界面。
作为一种可选的实施方式,缓存单元602可以包括:监测子单元6021以及第一缓存子单元6022。请参阅图9,图9为本申请实施例公开的一种缓存单元的结构示意图,其中,
监测子单元6021,用于所述显示界面为所述游戏界面的情况下,监测用户输入的触控操作的频率;
第一缓存子单元6022,用于所述触控操作的频率超过第一阈值的情况下,缓存所述推送消息。
在上述实施方式中,若用户的手指触摸触控显示屏,便能获取用户的触控操作。其中,监测子单元6021可以监测用户在预设时间间隔内输入的触控操作的次数,从而确定触控操作的频率。
作为一种可选的实施方式,缓存单元602还可以具有不同的结构,用于实现不同的功能,其中,可以包括:第二确定子单元6023以及第二缓存子单元6024。请参阅图10,图10为本申请实施例公开的另一种缓存单元的结构示意图,其中,
第二确定子单元6023,用于所述显示界面为所述游戏界面的情况下,确定所述游戏界面对应的进程当前对处理器的占用率;
第二缓存子单元6024,用于若所述占用率高于第二阈值,则缓存所述推送消息。
在上述实施方式中,若当前运行的游戏进程对处理器的占用率较高,则说明用户正在进行游戏,或者正在播放游戏内的视频,而不是处于商城界面或登录界面,在这些场景下,用户的注意力较为集中,若输出推送消息也会对用户造成打扰。因此,可以在游戏界面对应的进程对处理器占用率较高时,缓存推送消息,等待显示界面从游戏界面切换为其他界面时再输出推送消息。
由此可见,图7所描述的推送信息的管理装置,可以在用户进行游戏时缓存推送消息,避免在游戏过程中显示推送消息造成用户误触而跳转至其他界面,从而提高终端设备上的游戏体验。
请参阅图11,图11为本申请实施例公开的一种终端设备1100的结构示意图。如图11所示,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。该终端可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等任意终端设备,以终端设备为手机为例:
图11示出的是与本申请实施例提供的终端设备相关的手机的部分结构的框图。参考图11,手机包括:射频(Radio Frequency,RF)电路1101、存储器1102、输入单元1103、显示单元1104、传感器1105、音频电路1106、无线保真(wireless fidelity,WiFi)模块1107、处理器1108、以及电源1109等部件。本领域技术人员可以理解,图11中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图11对手机的各个构成部件进行具体的介绍:
RF电路1101可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器1108处理;另外,将设计上行的数据发送给基站。通常,RF电路1101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路1101还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。
存储器1102可用于存储软件程序以及模块,处理器1108通过运行存储在存储器1102的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器1102可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1102可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元1103可用于接收输入的数字或字符信息,以及产生与手机的用 户设置以及功能控制有关的键信号输入。具体地,输入单元1103可包括触控面板11031。触控面板11031,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板11031上或在触控面板11031附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板11031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1108,并能接收处理器集合1108发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板11031。
显示单元1104可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元1104可包括显示面板11041,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板11041。进一步的,触控面板11031可覆盖显示面板11041,当触控面板11031检测到在其上或附近的触摸操作后,传送给处理器集合1108以确定触摸事件的类型,随后处理器集合1108根据触摸事件的类型在显示面板11041上提供相应的视觉输出。虽然在图11中,触控面板11031与显示面板11041是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板11031与显示面板11041集成而实现手机的输入和输出功能。
手机还可包括至少一种传感器1105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板11041的亮度,接近传感器可在手机移动到耳边时,关闭显示面板11041和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路1106、扬声器11061,传声器11062可提供用户与手机之间的音频接口。音频电路1106可将接收到的音频数据转换后的电信号,传输到扬声器11061,由扬声器11061转换为声音信号输出;另一方面,传声器11062将收集的声音信号转换为电信号,由音频电路1106接收后转换为音频数据,再 将音频数据输出处理器集合1108处理后,经RF电路1101以发送给比如另一手机,或者将音频数据输出至存储器1102以便进一步处理。
WiFi属于短距离无线传输技术,手机通过WiFi模块1107可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。
处理器1108是手机的控制中心,处理器1108利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1102内的软件程序和/或模块,以及调用存储在存储器1102内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器1108可包括一个或多个处理单元;优选的,处理器1108可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1108中。
手机还包括给各个部件供电的电源1109(比如电池),优选的,电源可以通过电源管理系统与处理器1108逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。
前述图1或图4所示的实施例中,各步骤方法流程可以基于该手机的结构实现。
前述图6至图10所示的实施例中,各单元功能可以基于该手机的结构实现。
举例来说,处理器1108可以调用存储器1102中存储的计算机程序,用于执行以下操作:
终端设备获取到推送消息的请求指令时,确定当前的显示界面是否为游戏界面;
所述显示界面为所述游戏界面的情况下,缓存所述推送消息以延迟输出所述推送消息;所述游戏界面为所述显示界面显示游戏应用中的画面;
监测所述显示界面的切换操作;
所述显示界面切换至其他界面的情况下,输出所述推送消息;其中,所述其他界面为所述显示界面显示除游戏应用中的画面以外的画面。
作为一种可选的实施方式,在确定当前的显示界面是否为游戏界面方面,处理器1108可以调用存储器1102中存储的计算机程序,具体用于执行以下操作:
获取当前调用显示屏硬件资源进行显示的进程;
分析所述进程是否对应于游戏应用,若是,则确定所述显示界面为所述游戏界面。
作为一种可选的实施方式,处理器1108可以调用存储器1102中存储的计算机程序,还用于执行以下操作:
根据所述推送消息的请求指令确定所述推送消息的生成时间;
将所述推送消息根据所述生成时间排序;
在输出所述推送消息方面,处理器1108可以调用存储器1102中存储的计算机程序,具体用于执行以下操作:
根据所述排序后的顺序输出所述推送消息。
作为一种可选的实施方式,在输出所述推送消息方面,处理器1108可以调用存储器1102中存储的计算机程序,具体用于执行以下操作:
在所述显示界面上显示所述推送消息以及所述推送消息的生成时间。
作为一种可选的实施方式,在显示界面为所述游戏界面的情况下,缓存所述推送消息方面,处理器1108可以调用存储器1102中存储的计算机程序,具体用于执行以下操作:
所述显示界面为所述游戏界面的情况下,监测用户输入的触控操作的频率;
所述触控操作的频率超过第一阈值的情况下,缓存所述推送消息并延迟输出所述推送消息。
为一种可选的实施方式,处理器1108可以调用存储器1102中存储的计算机程序,还用于执行以下操作:
所述触控操作的频率低于所述第一阈值的情况下,输出所述推送消息。
作为一种可选的实施方式,在显示界面为所述游戏界面的情况下,缓存所述推送消息方面,处理器1108可以调用存储器1102中存储的计算机程序,具体用于执行以下操作:
所述显示界面为所述游戏界面的情况下,确定所述游戏界面对应的进程当前对处理器的占用率;
若所述占用率高于第二阈值,则缓存所述推送消息并延迟输出所述推送消息。
由此可见,图11所描述的终端设备,可以在用户进行游戏时缓存推送消息,避免在游戏过程中显示推送消息造成用户误触而跳转至其他界面,从而提高终端设备上的游戏体验。
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储 用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,所述计算机包括终端设备。
本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,所述计算机包括终端设备。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网 络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种推送消息的管理方法,其特征在于,包括:
    终端设备获取到推送消息的请求指令时,确定当前的显示界面是否为游戏界面;所述游戏界面为所述显示界面显示游戏应用中的画面;
    所述显示界面为游戏界面的情况下,缓存所述推送消息以延迟输出所述推送消息;
    监测所述显示界面的切换操作;
    所述显示界面切换至其他界面的情况下,输出所述推送消息;其中,所述其他界面为所述显示界面显示除游戏应用中的画面以外的画面。
  2. 根据权利要求1所述的方法,其特征在于,所述确定当前的显示界面是否为游戏界面,包括:
    获取当前调用显示屏硬件资源进行显示的进程;
    分析所述进程是否对应于游戏应用,若是,则确定所述显示界面为所述游戏界面。
  3. 根据权利要求2所述的方法,其特征在于,所述终端设备获取到推送消息的请求指令之后,所述方法还包括:
    根据所述推送消息的请求指令确定所述推送消息的生成时间;
    将所述推送消息根据所述生成时间排序;
    所述输出所述推送消息,包括:
    根据所述排序后的顺序输出所述推送消息。
  4. 根据权利要求3所述的方法,其特征在于,所述输出所述推送消息,包括:
    在所述显示界面上显示所述推送消息以及所述推送消息的生成时间。
  5. 根据权利要求3所述的方法,其特征在于,所述方法还包括:
    若推送消息为具有时效性的信息,执行所述根据所述推送消息的请求指令确定所述推送消息的生成时间的步骤。
  6. 根据权利要求4所述的方法,其特征在于,所述方法还包括:
    通过对推送消息进行语义分析以确定所述推送消息是否为具有时效性的信息,具体为:识别所述推送消息的文本中是否包含预设关键字,所述预设关键字为日期或者时间点;
    若是,则确认所述推送消息为具有时效性信息。
  7. 根据权利要求1~6中任意一项所述的方法,其特征在于,所述显示界面为所述游戏界面的情况下,缓存所述推送消息以延迟输出所述推送消息,包括:
    所述显示界面为所述游戏界面的情况下,监测用户输入的触控操作的频率;
    所述触控操作的频率超过第一阈值的情况下,缓存所述推送消息并延迟输出所述推送消息。
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:
    所述触控操作的频率低于所述第一阈值的情况下,输出所述推送消息。
  9. 根据权利要求1~8中任意一项所述的方法,其特征在于,所述显示界面为所述游戏界面的情况下,缓存所述推送消息以延迟输出所述推送消息,包括:
    所述显示界面为所述游戏界面的情况下,确定所述游戏界面对应的进程当前对处理器的占用率;
    若所述占用率高于第二阈值,则缓存所述推送消息并延迟输出所述推送消息。
  10. 一种推送信息的管理装置,其特征在于,包括:
    第一确定单元,用于在获取到推送消息的请求指令时,确定当前的显示界面是否为游戏界面;所述游戏界面为所述显示界面显示游戏应用中的画面;
    缓存单元,用于所述显示界面为所述游戏界面的情况下,缓存所述推送消息以延迟输出所述推送消息;
    监测单元,用于监测所述显示界面的切换操作;
    输出单元,用于所述显示界面切换至其他界面的情况下,输出所述推送消息;其中,所述其他界面为所述显示界面显示除游戏应用中的画面以外的画面。
  11. 根据权利要求10所述的推送信息的管理装置,其特征在于,所述第一确定单元,包括:
    获取子单元,用于获取当前调用显示屏硬件资源进行显示的进程;
    分析子单元,用于分析所述进程是否对应于游戏应用;
    第一确定子单元,用于所述进程对应于游戏应用的情况下,确定所述显示界面为所述游戏界面。
  12. 根据权利要求11所述的推送信息的管理装置,其特征在于,所述推送信息的管理装置还包括:
    第二确定单元,用于根据所述推送消息的请求指令确定所述推送消息的生成时间;
    排序单元,用于将所述推送消息根据所述生成时间排序;
    所述输出单元,具体用于根据所述排序后的顺序输出所述推送消息。
  13. 根据权利要求12所述的推送信息的管理装置,其特征在于,所述输出单元,具体用于在所述显示界面上显示所述推送消息以及所述推送消息的生成时间。
  14. 根据权利要求12所述的推送信息的管理装置,其特征在于,所述第二确定单元还具体用于:
    若推送消息为具有时效性的信息,执行所述根据所述推送消息的请求指令确定所述推送消息的生成时间的步骤。
  15. 根据权利要求13所述的推送信息的管理装置,其特征在于,在所述输出所述推送消息方面,所述输出单元具体用于:
    在所述显示界面上显示所述推送消息以及所述推送消息的生成时间。
  16. 根据权利要求10~15中任意一项所述的推送信息的管理装置,其特征在于,所述缓存单元,包括:
    监测子单元,用于所述显示界面为所述游戏界面的情况下,监测用户输入的触控操作的频率;
    第一缓存子单元,用于所述触控操作的频率超过第一阈值的情况下,缓存所述推送消息;
    所述输出单元,还用于所述触控操作的频率低于所述第一阈值的情况下,输出所述推送消息并延迟输出所述推送消息。
  17. 根据权利要求10~15中任意一项所述的推送信息的管理装置,其特征在于,所述缓存单元,包括:
    第二确定子单元,用于所述显示界面为所述游戏界面的情况下,确定所述游戏界面对应的进程当前对处理器的占用率;
    第二缓存子单元,用于若所述占用率高于第二阈值,则缓存所述推送消息并延迟输出所述推送消息。
  18. 一种终端设备,其特征在于,包括处理器、存储器、通信接口以及一个或多个程序,其中,所述一个或多个程序被存储在所述存储器中,并且被配置为由所述处理器执行,所述程序包括用于执行权利要求1至9任意一项方法中的步骤的指令。
  19. 一种计算机可读存储介质,其特征在于,其存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1至9任意一项所述的方法,所述计算机包括终端设备。
  20. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如权利要求1-9任一项所述的方法。
PCT/CN2018/110095 2017-10-16 2018-10-12 推送消息的管理方法及相关产品 WO2019076250A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710968489.5A CN107817988A (zh) 2017-10-16 2017-10-16 推送消息的管理方法及相关产品
CN201710968489.5 2017-10-16

Publications (1)

Publication Number Publication Date
WO2019076250A1 true WO2019076250A1 (zh) 2019-04-25

Family

ID=61608075

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/110095 WO2019076250A1 (zh) 2017-10-16 2018-10-12 推送消息的管理方法及相关产品

Country Status (2)

Country Link
CN (1) CN107817988A (zh)
WO (1) WO2019076250A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107817988A (zh) * 2017-10-16 2018-03-20 广东欧珀移动通信有限公司 推送消息的管理方法及相关产品
CN108536508B (zh) * 2018-03-22 2021-07-13 Oppo广东移动通信有限公司 界面处理方法、装置以及移动终端
CN112015437B (zh) * 2019-05-31 2023-09-26 腾讯科技(深圳)有限公司 推送信息的处理方法及装置
CN112306717A (zh) * 2020-11-18 2021-02-02 北京小米移动软件有限公司 通知消息的处理方法及装置、电子设备、存储介质
CN113198176B (zh) * 2021-04-02 2022-06-07 荣耀终端有限公司 一种提示消息的显示方法及电子设备
CN113486254B (zh) * 2021-08-02 2022-03-22 南京邮电大学 一种基于大数据的活动推荐方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130132206A1 (en) * 2010-05-28 2013-05-23 Prim'vision System and method for non intrusive delivery of messages to a device
CN104009910A (zh) * 2014-05-28 2014-08-27 惠州Tcl移动通信有限公司 一种基于移动终端的消息推送处理方法、系统及移动终端
CN104244203A (zh) * 2014-09-25 2014-12-24 小米科技有限责任公司 消息推送方法和装置
CN107817988A (zh) * 2017-10-16 2018-03-20 广东欧珀移动通信有限公司 推送消息的管理方法及相关产品

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130132206A1 (en) * 2010-05-28 2013-05-23 Prim'vision System and method for non intrusive delivery of messages to a device
CN104009910A (zh) * 2014-05-28 2014-08-27 惠州Tcl移动通信有限公司 一种基于移动终端的消息推送处理方法、系统及移动终端
CN104244203A (zh) * 2014-09-25 2014-12-24 小米科技有限责任公司 消息推送方法和装置
CN107817988A (zh) * 2017-10-16 2018-03-20 广东欧珀移动通信有限公司 推送消息的管理方法及相关产品

Also Published As

Publication number Publication date
CN107817988A (zh) 2018-03-20

Similar Documents

Publication Publication Date Title
US9626985B2 (en) Audio processing method and apparatus
WO2016066092A1 (zh) 多媒体播放控制方法、装置以及存储介质
WO2016150331A1 (zh) 一种运行游戏客户端的方法和装置
WO2016184302A1 (zh) 消息转发方法及电子设备
US10193834B2 (en) Method and apparatus for downloading and displaying pictures
WO2019076250A1 (zh) 推送消息的管理方法及相关产品
WO2017202348A1 (zh) 一种视频播放方法、装置及计算机存储介质
CN104954149B (zh) 网络会议中进行数据共享的方法、装置及系统
WO2018049887A1 (zh) 数据传输处理方法及终端设备
WO2018049913A1 (zh) 数据传输方法及相关设备
CN104571979B (zh) 一种实现分屏视图的方法和装置
JP6910300B2 (ja) チャット履歴記録を表示するための方法およびチャット履歴記録を表示するための装置
CN106371964B (zh) 一种进行消息提示的方法和装置
CN105094501B (zh) 一种移动终端中消息的显示方法、装置和系统
WO2017215661A1 (zh) 一种场景音效的控制方法、及电子设备
WO2015131768A1 (en) Video processing method, apparatus and system
WO2017215511A1 (zh) 一种场景音效的控制方法、及相关产品
CN106791916B (zh) 一种推荐音频数据的方法、装置和系统
CN104518945A (zh) 一种发送、接收社交网络信息的方法、装置和系统
CN106101764A (zh) 一种显示视频数据的方法、装置和系统
CN104917905B (zh) 陌生来电的处理方法、终端及服务器
JP6915074B2 (ja) メッセージ通知方法及び端末
WO2015078349A1 (zh) 麦克风收音状态的切换方法和装置
CN109660445B (zh) 一种消息处理方法、装置及存储介质
US20160119695A1 (en) Method, apparatus, and system for sending and playing multimedia information

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18868860

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18868860

Country of ref document: EP

Kind code of ref document: A1