Movatterモバイル変換


[0]ホーム

URL:


CN108153601B - Method and device for outputting notification information - Google Patents

Method and device for outputting notification information
Download PDF

Info

Publication number
CN108153601B
CN108153601BCN201810010908.9ACN201810010908ACN108153601BCN 108153601 BCN108153601 BCN 108153601BCN 201810010908 ACN201810010908 ACN 201810010908ACN 108153601 BCN108153601 BCN 108153601B
Authority
CN
China
Prior art keywords
notification information
information
application program
notification
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810010908.9A
Other languages
Chinese (zh)
Other versions
CN108153601A (en
Inventor
暨新华
张富城
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co LtdfiledCriticalBeijing Xiaomi Mobile Software Co Ltd
Priority to CN201810010908.9ApriorityCriticalpatent/CN108153601B/en
Publication of CN108153601ApublicationCriticalpatent/CN108153601A/en
Application grantedgrantedCritical
Publication of CN108153601BpublicationCriticalpatent/CN108153601B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本公开是关于一种输出通知信息的方法及装置。该方法包括:确定当前运行的第一应用程序的显示状态;在显示状态指示全屏显示时,检测第二应用程序的通知信息,第二应用程序不同于第一应用程序;在检测到通知信息时,通过第一应用程序中的信息输出功能输出通知信息。根据本公开的实施例,能够确定当前运行的第一应用程序的显示状态,在显示状态指示全屏显示时,检测不同于第一应用程序的第二应用程序的通知信息;在检测到通知信息时,通过第一应用程序中的信息输出功能输出通知信息,从而解决了第一应用程序和通知信息之间的冲突,同时保证了第一应用程序的流畅使用以及通知信息的及时输出,进而便利了用户操作。

Figure 201810010908

The present disclosure relates to a method and apparatus for outputting notification information. The method includes: determining a display state of a currently running first application; when the display state indicates full-screen display, detecting notification information of a second application, the second application being different from the first application; when the notification information is detected , and output notification information through the information output function in the first application program. According to the embodiments of the present disclosure, the display state of the currently running first application can be determined, and when the display state indicates full-screen display, the notification information of the second application different from the first application is detected; when the notification information is detected , the notification information is output through the information output function in the first application program, thereby solving the conflict between the first application program and the notification information, and at the same time ensuring the smooth use of the first application program and the timely output of the notification information, thereby facilitating the User action.

Figure 201810010908

Description

Method and device for outputting notification information
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for outputting notification information.
Background
With the development of mobile internet, mobile terminals have become indispensable devices in people's lives, and mobile terminal applications are also developed vigorously, bringing great changes to the informatization of people's lives. Applications in the mobile terminal may include focus-like applications (e.g., cell phone games, video software, etc.) and notification-like applications (e.g., a chat, etc.). Wherein, the user does not want to be disturbed by other applications when using the focus-class application; a communication-type application is an application that needs to interact in a timely manner. Therefore, the two types of applications have larger interaction conflicts in the using process of a user, and the requirement for concentration of the concentrated application and the requirement for timely output of the notification application cannot be met at the same time, so that the problem needs to be solved urgently.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method and apparatus for outputting notification information.
According to a first aspect of the embodiments of the present disclosure, there is provided a method of outputting notification information, including:
determining the display state of a currently running first application program;
when the display state indicates full-screen display, detecting notification information of a second application program, wherein the second application program is different from the first application program;
and when the notification information is detected, outputting the notification information through an information output function in the first application program.
In one possible implementation manner, the outputting the notification information through an information output function in the first application includes:
when the notification information is detected, receiving the notification information through a notification processing module of the first application program, wherein the first application program broadcasts through a registration system, and detects and receives the notification information;
and outputting the notification information through an information output function in the first application program.
In one possible implementation, the first application is a game-like application.
In one possible implementation manner, the outputting the notification information through an information output function in the first application includes at least one of:
outputting the notification information through a Non Player Character (NPC) in the first application;
and outputting the notification information through a chat channel in the first application program.
In one possible implementation, the method further includes:
when the display state indicates full-screen display, detecting reply information aiming at the notification information;
when the reply information is detected, outputting the reply information through an Application Programming Interface (API) aiming at the second application program.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for outputting notification information, including:
the display state determining module is used for determining the display state of the currently running first application program;
a notification information detection module, configured to detect notification information of a second application program when the display status indicates full-screen display, where the second application program is different from the first application program;
and the notification information output module is used for outputting the notification information through an information output function in the first application program when the notification information is detected.
In one possible implementation manner, the notification information output module includes:
a notification information receiving sub-module, configured to receive, when the notification information is detected, the notification information through a notification processing module of the first application program, where the first application program broadcasts through a registration system, and detects and receives the notification information;
and the notification information output submodule is used for outputting the notification information through an information output function in the first application program.
In one possible implementation, the first application is a game-like application.
In one possible implementation, the notification information output module includes at least one of the following sub-modules:
a first output submodule for outputting the notification information through a non-player-controlled character in the first application;
and the second output submodule outputs the notification information through a chat channel in the first application program.
In one possible implementation, the apparatus further includes:
the reply information detection module is used for detecting reply information aiming at the notification information when the display state indicates full screen display;
and the reply information output module is used for outputting the reply information through an Application Programming Interface (API) aiming at the second application program when the reply information is detected.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for outputting notification information, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the above method.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of a mobile terminal, enable the mobile terminal to perform the above-described method of outputting notification information.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the method comprises the steps of determining the display state of a first application program running at present, and detecting notification information of a second application program different from the first application program when the display state indicates full-screen display; when the notification information is detected, the notification information is output through the information output function in the first application program, so that the conflict between the first application program and the notification information is solved, the smooth use of the first application program and the timely output of the notification information are ensured, and the user operation is facilitated.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a method of outputting notification information according to an example embodiment.
Fig. 2 is a flowchart illustrating a method of outputting notification information according to an example embodiment.
Fig. 3 is a flowchart illustrating a method of outputting notification information according to an example embodiment.
Fig. 4 is a schematic diagram illustrating an application scenario of a method of outputting notification information according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating an apparatus for outputting notification information according to an example embodiment.
Fig. 6 is a block diagram illustrating an apparatus for outputting notification information according to an example embodiment.
Fig. 7 is a block diagram illustrating an apparatus for outputting notification information according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the applications in the mobile terminal, the applications can be divided into a focus-type application (e.g. a mobile game) and a notification-type application (e.g. a chat) according to the usage type of the applications, and the two types of applications have certain interaction conflict in the usage process of a user. For example, when the user uses a focus application (e.g., a mobile phone game), in this case, the user is often set to be displayed in a full screen for better experience of the game, and the notification application often outputs notification information through a pop-up notification bar (e.g., pops up certain chat information). In this case, the notification message may block a portion of the screen, affecting the operation of the mobile game.
For example, when the user wants to know the notification information in the notification bar, in this case, if the notification information prompts the user to view the related information through a pop-up information prompt box, for example, in a full-screen game state, the notification bar shows that a chat user a sends a piece of chat information, when the user sets the notification in a chat without displaying information details, at this time, the detailed content of the chat can be viewed only by jumping to the chat, at this time, the user can know the detailed content of the corresponding notification information only by switching to the related communication application, which obviously affects the operational fluency of the mobile phone game.
For another example, when the user wishes to concentrate on a mobile phone game, at this time, the notification information of the pop-up notification bar may affect the game interface of the user, and the user needs to perform a separate operation of closing the notification information to continue the game, and at this time, there may be a high possibility of false touch. For example, when the notification information in the notification bar is touched by mistake to switch to a notification-type application, the operation may cause the mobile terminal to be jammed and affect the smoothness of the game for the user. In addition, because the user selects to close the notification information in the notification bar, the user may delay the reception of the notification information, and may even forget to return the notification information.
In the related art, the concentration requirement of the user's concentration class application can be met by shielding the notification bar information when the user uses the concentration class application, i.e., the timely presentation requirement of the notification class application is sacrificed to obtain the concentration requirement of the concentration class application. For example, when it is detected that the user uses a mobile phone game, the notification information in the notification bar is masked to obtain a good game operation environment. However, this approach brings different effects to the user depending on the importance of the notification information and different situations whether the mask mode is turned on or not.
For example, when the notification information is non-important information and the shielding mode is not turned on, the notification information is popped up in real time, the popped-up floating notification bar occupies a small space on the screen and occupies a period of time, so that the corresponding area is in an non-interactive state, thereby affecting the game operation of a user, and most of the methods for enabling the notification bar to disappear as soon as possible are sliding the notification information upwards to hide the notification bar, which is easy to generate false touch, thereby jumping out of the game interface and turning to the notification application interface, thereby having a bad influence on the smoothness of the game in progress.
When the notification information is the non-important information and the shielding mode is started, although the requirement for timely outputting the notification type information is sacrificed, the notification type information is the non-important information, so that the adverse effect on the user is small. However, this state is an ideal state in which all notification information is not important, and obviously, this assumption is not always true.
When the notification information is important information and the shielding mode is not started, at the moment, the notification bar is popped up normally, and the user can see the corresponding notification in time in the game process, so that the game progress is adjusted, and the notification type application is switched to perform related operations.
When the notification information is important information and the shielding mode is started, the notification bar cannot pop up at the moment, and although the fluency of the game is ensured, the important information cannot be processed in time, so that the user misses some chances that the user does not want to miss. For example, the mobile phone sets the robbery information in a certain e-commerce application in advance, but the prompt notification bar information cannot be seen due to the game state and the shielding mode. For some important information needing interaction, the information may not be replied in time, so that the opportunity is lost or unnecessary problems occur. For example, the reply message may be qualified for some participation before a certain time, resulting in missing the chance because the game state is in progress and the mask mode is turned on.
It should be understood that there is some uncertainty in the occurrence of the above situations, and therefore, by setting the masking mode, the operation requirement of the user cannot be really met at the direct sacrifice of the timely output requirement of the notification type information.
The method and the device for outputting the notification information can meet the requirement of the user on concentration of the concentrated application and the requirement of the user on timely outputting the notification application at the same time, so that the effect of timely receiving and responding the notification information of the notification application without pushing the concentrated application is achieved, and the user operation is facilitated.
Fig. 1 is a flowchart illustrating a method of outputting notification information according to an example embodiment. The method for outputting notification information may be applied to a terminal device (e.g., a smart phone) and the like, and is not limited herein. As shown in fig. 1, the method for outputting notification information includes the following steps.
In step S101, a display state of a currently running first application is determined;
in step S102, when the display state indicates full-screen display, detecting notification information of a second application program, the second application program being different from the first application program;
in step S103, upon detection of the notification information, the notification information is output through an information output function in the first application.
According to the embodiment of the disclosure, the display state of a currently running first application program can be determined, and when the display state indicates full-screen display, notification information of a second application program different from the first application program is detected; when the notification information is detected, the notification information is output through the information output function in the first application program, so that the conflict between the first application program and the notification information is solved, the smooth use of the first application program and the timely output of the notification information are ensured, and the user operation is facilitated.
For example, the terminal device may determine a display state of a currently running first application. The first application program may be a game application program. For example, an application program such as a mobile game can be displayed in full screen. It will be understood by those skilled in the art that the first application is not limited to game-like applications, video-like applications, etc., as long as it is a focus-like application (an application that needs to focus on progress), and the present disclosure does not limit this.
When the display state indicates full-screen display, for example, when the terminal device determines that the display state of the currently running first application program is full-screen display, notification information of a second application program different from the first application program is detected. The second application program may be a notification application (e.g., pop up a notification bar, perform information notification, etc.). For example, when the display state of the currently running first application program is full-screen display, the notification information of the notification-class application may be detected. And outputting the notification information through an information output function in the first application program when the notification information is detected. The output notification information may include various forms, for example, text display, voice playing, etc., and the present disclosure does not limit the form of the notification information output by the information output function in the first application.
In one possible implementation, the system notification may be adjusted to the do-not-disturb mode when the display status indicates full screen display. For example, during the full screen display of a mobile phone game, the system notification is adjusted to the no-disturbance mode. In this case, the notification information on the notification bar is not subjected to vibration or ring alert any more, but the notification information is output through the information output function in the first application program, so that the user is not disturbed by the system notification when using the concentration application, and the concentration operation environment is ensured.
In one possible implementation, upon detection of notification information from a second application, the notification information is output by an information output function in the first application, the notification information also being displayed in the second application. For example, the user displays a certain mobile game in full screen, and the mobile phone of the user determines that the display status of the currently running mobile game indicates full screen display, so that the notification information of the second application program can be detected. When the notification information from the second application is detected, for example, the notification information from a chat is detected, and at this time, the notification information may be output through an information output function in the mobile phone game. In addition, the notification information is still displayed in the second application (chat) of the user. In this way, the notification information output by the information output function in the first application program is also retained in the second application program, so that the user can conveniently perform corresponding processing operation and the like through the second application program.
In one possible implementation, the first application may broadcast, detect and receive notification information for a system notification bar via the registration system.
For example, the detection (monitoring) and receiving of the notification information of the system notification bar can be realized by registering the system broadcast in the first application program starting stage. For example, during a mobile game start phase, the mobile game may register system broadcast start detection (listening) and receive notification information for a system notification bar. For example, after the mobile game registration system broadcasts, all notification bar messages of the system can be detected. For example, when a system receives notification information of a notification application, the mobile game may receive the notification information received by the system. In this way, the first application can detect and receive notification information for the system notification bar. It will be understood by those skilled in the art that the first application may register the system broadcast, detect and receive the notification information of the system notification bar in a manner well known in the related art, as long as the notification information of the system notification bar can be detected and received, and the disclosure is not limited thereto.
Fig. 2 is a flowchart illustrating a method of outputting notification information according to an example embodiment. In one possible implementation, as shown in fig. 2, step S103 may include:
in step S1031, upon detecting the notification information, receiving the notification information by a notification processing module of the first application program, wherein the first application program broadcasts through a registration system, detects and receives the notification information;
in step S1032, the notification information is output by the information output function in the first application.
For example, upon detecting notification information (e.g., some notification information from the second application), the notification information may be received by the notification processing module of the first application. As previously described, the first application may broadcast, detect and receive notification information via the registration system. When the display state of the first application program indicates full-screen display, for example, during full-screen display of a mobile phone game, when certain notification information from the second application program, for example, notification information of a certain chat is detected, at this time, the notification information of the certain chat can be received through the notification processing module of the mobile phone game. And the notification information may be output through an information output function in the first application. For example, the notification information is output by an information output function of a mobile phone game.
By the method, when the first application program is displayed in a full screen mode, the notification information of the notification bar is not directly popped up for reminding, but is received by the notification processing module of the first application program, and the notification information is output through the information output function in the first application program, so that the operation interruption caused by the fact that the notification information of the notification bar is popped up to occupy a part of screens is avoided, the system resource consumption caused by switching the application after clicking the floating window of the notification bar (including active clicking and error touching) is further saved, and the immersion type interaction process of the first application program is guaranteed.
In one possible implementation manner, the outputting the notification information through an information output function in the first application includes at least one of:
outputting the notification information by a non-player controlled character in the first application;
and outputting the notification information through a chat channel in the first application program.
For example, the outputting of the notification information through the information output function in the first application may be outputting the notification information through a non-player-controlled character in the first application, outputting the notification information through a chat channel in the first application, or outputting the notification information through a non-player-controlled character and a chat channel in the first application. For example, when a user displays a mobile phone game in full screen, when notification information of a notification bar is detected (for example, a calendar reminder turns on a water heater), in this case, the piece of notification information may be output through an information output function in the mobile phone game, for example, the piece of notification information may be output through an NPC near a user character in the mobile phone game (when the user character approaches a certain NPC, a dialog box pops up on the NPC, and the notification information is displayed in the dialog box), the notification information may also be output through a chat channel of the mobile phone game, or the notification information may also be output through a certain NPC in the mobile phone game and a chat channel of the mobile phone game at the same time.
In this way, the notification information can be output in multiple ways through the information output function in the first application program, and a user can receive the notification information in time conveniently.
In a possible implementation manner, when the notification information is output by the NPC in the first application, the source of the notification information may be displayed before the content of the notification information, for example, a dialog box popped up on the NPC to write "information from a chat friend a: XX. "the chat object avatar of the chat channel may be the avatar of the notification information sender in the corresponding second application.
By the method, the user can quickly identify the sender of the notification information, different notification information is distinguished, and information confusion caused by the fact that the user receives a plurality of notification information is avoided. Meanwhile, the user can also judge the importance of the notification information according to the source of the information or the head portrait of the chat object, and further determine the viewing priority. For example, chat object A is more important than calendar notification F, so that the user may prefer to process the notification information from chat object A.
In one possible implementation, the chat channel may be a private chat channel, i.e., only the current user can see the chat information (notification information of the notification bar). The notification information is output through the private chat channel, so that the privacy of the notification information of the user can be ensured.
In one possible implementation, the notification information output in the chat channel may be highlighted in different colors according to the source of the notification information. For example, the notification information from the memo may be highlighted in yellow, the notification information from a chat may be highlighted in red, or different colors may be highlighted for different chat senders. In this way, the recognition degree of the notification information can be increased, and the user can distinguish various notification information conveniently. The present disclosure does not limit the manner, form, etc. of outputting notification information for a chat channel.
In one possible implementation, whether there is a sound and/or vibration alert when the notification information is output may be specified in the first application. For example, the mobile phone game can be set, and when the notification information of the notification bar is output through the NPC or chat channel, a sound and/or vibration prompt can be given. The sound or vibration reminding mode can be different from the reminding mode of the notification information of the non-notification bar in the mobile phone game. For example, the reminding sound B and/or the vibration mode C are usually adopted when the NPC or the chat channel in the mobile game appears, and the reminding sound D and/or the vibration mode E may be adopted when the notification information of the notification bar is output through the NPC or the chat channel in the mobile game. Those skilled in the art will appreciate that the disclosure is not limited thereto as long as the reminder mode can be specified in the first application to remind the user that the notification information of the notification bar is output in the first application.
Fig. 3 is a flowchart illustrating a method of outputting notification information according to an example embodiment. In one possible implementation, as shown in fig. 3, the method further includes:
in step S104, when the display state indicates full-screen display, detecting reply information for the notification information;
in step S105, when the reply information is detected, the reply information is output through an application programming interface API for the second application.
For example, when the display state indicates full-screen display, reply information for the notification information may be detected. For example, when the notification information belongs to replicable information, the user may directly reply to the notification information in the first application. For example, in a mobile game, a user receives a piece of chat information, and after seeing the notification information sent by the NPC or the chat channel, the user can directly reply to the notification information in the mobile game. As described above, the user may reply to the information through the NPC or the chat channel, for example, an input box is displayed at the chat channel corresponding to the notification information, and the user may input the content of the reply in the input box, trigger the sending confirmation control, and thereby send the reply information. When the terminal device detects the reply information, the reply information can be output through an Application Programming Interface (API) aiming at the second application program. For example, the reply information may be output by the first Application program calling an API (Application Programming Interface) of the second Application program. As described above, the user directly replies to the notification information in the chat channel of the mobile game, and at this time, the mobile game may complete the reply of the notification information by calling an API provided by a chat.
In this way, the notification information of the notification bar can be directly interacted in the first application program without exiting the first application program, an immersive use environment of the first application program is provided, and timely receiving and replying of the notification information of the notification bar are guaranteed. It will be understood by those skilled in the art that the reply information may be output through an application programming interface API for the second application upon detection of the reply information in a manner well known in the relevant art, and the disclosure is not limited thereto.
In one possible implementation, when the notification information is detected, it may be detected whether the first application is in a notification reception mode, and when the first application is detected to be in the notification reception mode, the notification information is output through an information output function in the first application. Wherein whether the first application is in the notification reception mode may be set by a user. For example, the relevant settings may be made in a settings page of the game application or the terminal device.
In one possible implementation, the method of outputting notification information may further include the following steps.
Displaying a notification reception control in response to a setting request of a notification reception mode;
and controlling the first application program to enter a notification receiving mode when the notification receiving control is triggered.
For example, the notification reception control may be displayed in a setup page in the first application (e.g., a mobile game), or displayed in a setup page of the terminal device. When the user selects the notification receiving control, the notification receiving control is triggered, and at this time, the first application program can be controlled to enter a notification receiving mode. It should be noted that, when the first application or the notification receiving control in the terminal device is triggered, the first application may be controlled to enter the notification receiving mode. Those skilled in the art will appreciate that the notification reception control may include various forms as long as the notification reception control is displayed in response to a setting request of the notification reception mode, and controls the first application to enter the notification reception mode when the notification reception control is triggered, which is not limited by the present disclosure.
In one possible implementation, the notification reception mode refers to that notification information of the notification bar can be received by the notification processing module of the first application. For example, a notification receiving mode may be set in the mobile phone operating system of the user, for example, the mobile phone of the user displays a notification receiving control, the user triggers the notification receiving control, and the mobile phone game enters the notification receiving mode because the notification receiving control in the mobile phone operating system of the user is triggered, and receives the notification information of the notification bar through the notification processing module of the mobile phone game.
By the method, when the first application program is displayed in a full screen mode, the notification information of the notification bar is not popped up directly for reminding, but is received by the notification processing module of the first application program, so that operation interruption caused by the fact that a part of screens are occupied by the pop-up of the notification information of the notification bar is avoided, system resource consumption caused by switching application after a floating window of the notification bar is clicked (including active clicking and error touching) is omitted, and a guarantee is provided for the immersive interaction process of the first application program.
Application example
An application example according to the embodiment of the present disclosure is given below in connection with "when a user uses a mobile phone game in full screen, a chat user a sends certain chat information to the chat user a" as an exemplary application scenario, so as to facilitate understanding of a method of outputting notification information. It is to be understood by those skilled in the art that the following application examples are for the purpose of facilitating understanding of the embodiments of the present disclosure only and are not to be construed as limiting the embodiments of the present disclosure.
Fig. 4 is a schematic diagram illustrating an application scenario of a method of outputting notification information according to an exemplary embodiment. As shown in fig. 4, in this application example, a user starts a certain mobile phone game, registers the system broadcast in the mobile phone game starting stage, and detects and receives the notification information of the system notification bar. In this application example, the user runs the mobile game full screen. In this application example, the user's mobile phone determines the display state of the currently running mobile phone game, for example, the display state indicates full screen display, at which time the user's mobile phone detects notification information of a second application program, wherein the second application program is different from the mobile phone game. In this application example, the mobile phone of the user detects that a chat user a sends a piece of chat information, and at this time, the chat information appears in the chat interface between the user and the user a in the second application program (a chat). The notification bar of the user's mobile phone also receives the chat message. For example, the user's mobile phone is in the do-not-disturb mode, at which time the user notifies that certain chat information on the bar is no longer vibrating or ringing. In the application example, the certain chat information is output through an information output function in a mobile phone game. For example, the chat message may be received by a notification processing module of a mobile game, and output by an information output function in the mobile game.
In this application example, the notification information is output by the NPC in the mobile game. For example, as shown in fig. 4, the certain chat information (e.g., a certain chat friend: party at night) is spoken by the NPC near the user character in the mobile phone game.
In this application example, when the user considers that it is necessary to reply to some chat information sent by some chat user a after viewing the information, the user may output the reply information through an application programming interface API for the second application program, for example, he may reply to some chat user a through an NPC, for example, send corresponding reply information. In this application example, the mobile game may call an API provided by a chat to send the reply information of the user, thereby completing the reply to the chat user a.
According to the embodiment of the disclosure, the display state of a currently running first application program can be determined, and when the display state indicates full-screen display, notification information of a second application program different from the first application program is detected; when the notification information is detected, the notification information is output through the information output function in the first application program, so that the conflict between the first application program and the notification information is solved, the smooth use of the first application program and the timely output of the notification information are ensured, and the user operation is facilitated.
Fig. 5 is a block diagram illustrating an apparatus for outputting notification information according to an example embodiment. Referring to fig. 5, the apparatus includes a displaystate determination module 501, a notificationinformation detection module 502, and a notificationinformation output module 503.
The displaystate determining module 501 is configured to determine a display state of a currently running first application;
the notificationinformation detection module 502 is configured to detect notification information of a second application program when the display state indicates full-screen display, the second application program being different from the first application program;
the notificationinformation output module 503 is configured to output the notification information through an information output function in the first application program when the notification information is detected.
Fig. 6 is a block diagram illustrating an apparatus for outputting notification information according to an example embodiment. Referring to fig. 6, in a possible implementation manner, the notificationinformation output module 503 includes:
a notification information receiving sub-module 5031 configured to receive, by a notification processing module of the first application, the notification information when the notification information is detected, wherein the first application broadcasts through a registration system, and detects and receives the notification information;
a notificationinformation output sub-module 5032 configured to output the notification information through an information output function in the first application.
In one possible implementation, the first application is a game-like application.
In one possible implementation, the notification information output module includes at least one of the following sub-modules:
a first output sub-module configured to output the notification information through a non-player-controlled character in the first application;
a second output sub-module configured to output the notification information through a chat channel in the first application.
Referring to fig. 6, in one possible implementation, the apparatus further includes:
a replyinformation detection module 504 configured to detect reply information for the notification information when the display status indicates full-screen display;
a replyinformation output module 505 configured to output the reply information through an application programming interface API for the second application when the reply information is detected.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
According to the embodiment of the disclosure, the display state of a currently running first application program can be determined, and when the display state indicates full-screen display, notification information of a second application program different from the first application program is detected; when the notification information is detected, the notification information is output through the information output function in the first application program, so that the conflict between the first application program and the notification information is solved, the smooth use of the first application program and the timely display of the notification information are ensured, and the user operation is facilitated.
Fig. 7 is a block diagram illustrating an apparatus for outputting notification information according to an example embodiment. For example, theapparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, theapparatus 800 may include one or more of the following components: processingcomponent 802,memory 804,power component 806,multimedia component 808,audio component 810, input/output (I/O)interface 812,sensor component 814, andcommunication component 816.
Theprocessing component 802 generally controls overall operation of thedevice 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Theprocessing components 802 may include one ormore processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, theprocessing component 802 can include one or more modules that facilitate interaction between theprocessing component 802 and other components. For example, theprocessing component 802 can include a multimedia module to facilitate interaction between themultimedia component 808 and theprocessing component 802.
Thememory 804 is configured to store various types of data to support operations at theapparatus 800. Examples of such data include instructions for any target application or method operating on thedevice 800, contact data, phonebook data, messages, pictures, videos, and so forth. Thememory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components ofdevice 800. Thepower components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for theapparatus 800.
Themultimedia component 808 includes a screen that provides an output interface between thedevice 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, themultimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when thedevice 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Theaudio component 810 is configured to output and/or input audio signals. For example, theaudio component 810 includes a Microphone (MIC) configured to receive external audio signals when theapparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in thememory 804 or transmitted via thecommunication component 816. In some embodiments,audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between theprocessing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Thesensor assembly 814 includes one or more sensors for providing various aspects of state assessment for thedevice 800. For example, thesensor assembly 814 may detect the open/closed status of thedevice 800, the relative positioning of components, such as a display and keypad of thedevice 800, thesensor assembly 814 may also detect a change in the position of thedevice 800 or a component of thedevice 800, the presence or absence of user contact with thedevice 800, the orientation or acceleration/deceleration of thedevice 800, and a change in the temperature of thedevice 800.Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. Thesensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, thesensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Thecommunication component 816 is configured to facilitate communications between theapparatus 800 and other devices in a wired or wireless manner. Thedevice 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, thecommunication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, thecommunication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, theapparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as thememory 804 comprising instructions, executable by theprocessor 820 of thedevice 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as thememory 804 comprising instructions, executable by theprocessing component 820 of theapparatus 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A method of outputting notification information, comprising:
determining the display state of a currently running first application program;
when the display state indicates full-screen display, detecting notification information of a second application program, wherein the second application program is different from the first application program;
when the notification information is detected, outputting the notification information through an information output function in the first application program;
the outputting the notification information through an information output function in the first application program includes:
popping up a dialog box on a non-player-controlled character close to a user character in the first application program, and displaying the notification message in the dialog box;
the displaying the notification message in the dialog box comprises:
and displaying the source of the notification information in front of the content of the notification information.
2. The method of claim 1, wherein outputting the notification information via an information output function in the first application comprises:
when the notification information is detected, receiving the notification information through a notification processing module of the first application program, wherein the first application program broadcasts through a registration system, and detects and receives the notification information;
and outputting the notification information through an information output function in the first application program.
3. The method of claim 1 or 2, wherein the first application is a game-like application.
4. The method according to claim 3, wherein the outputting the notification information through an information output function in the first application program comprises:
and outputting the notification information through a chat channel in the first application program.
5. The method of claim 1, further comprising:
when the display state indicates full-screen display, detecting reply information aiming at the notification information;
when the reply information is detected, outputting the reply information through an Application Programming Interface (API) aiming at the second application program.
6. An apparatus for outputting notification information, comprising:
the display state determining module is used for determining the display state of the currently running first application program;
a notification information detection module, configured to detect notification information of a second application program when the display status indicates full-screen display, where the second application program is different from the first application program;
the notification information output module is used for outputting the notification information through an information output function in the first application program when the notification information is detected;
the notification information output module includes:
a first output submodule for popping up a dialog box on a non-player-controlled character close to a user character in the first application program, and displaying the notification message in the dialog box;
the first output submodule is further used for displaying the source of the notification information in front of the content of the notification information.
7. The apparatus of claim 6, wherein the notification information output module comprises:
a notification information receiving sub-module, configured to receive, when the notification information is detected, the notification information through a notification processing module of the first application program, where the first application program broadcasts through a registration system, and detects and receives the notification information;
and the notification information output submodule is used for outputting the notification information through an information output function in the first application program.
8. The apparatus of claim 6 or 7, wherein the first application is a game-like application.
9. The apparatus of claim 8, wherein the notification information output module comprises:
and the second output submodule is used for outputting the notification information through the chat channel in the first application program.
10. The apparatus of claim 6, further comprising:
the reply information detection module is used for detecting reply information aiming at the notification information when the display state indicates full screen display;
and the reply information output module is used for outputting the reply information through an Application Programming Interface (API) aiming at the second application program when the reply information is detected.
11. An apparatus for outputting notification information, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of any one of claims 1-5.
12. A non-transitory computer readable storage medium, wherein instructions in the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the method of any of claims 1-5.
CN201810010908.9A2018-01-052018-01-05Method and device for outputting notification informationActiveCN108153601B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201810010908.9ACN108153601B (en)2018-01-052018-01-05Method and device for outputting notification information

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201810010908.9ACN108153601B (en)2018-01-052018-01-05Method and device for outputting notification information

Publications (2)

Publication NumberPublication Date
CN108153601A CN108153601A (en)2018-06-12
CN108153601Btrue CN108153601B (en)2021-05-18

Family

ID=62460841

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201810010908.9AActiveCN108153601B (en)2018-01-052018-01-05Method and device for outputting notification information

Country Status (1)

CountryLink
CN (1)CN108153601B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108810646B (en)*2018-06-292021-05-07上海哔哩哔哩科技有限公司Group information push control method and device and computer readable storage medium
CN109522141B (en)*2018-11-272023-07-25苏州我的打工人力资源有限公司Information pushing method and device, server, equipment and storage medium
CN110955482B (en)*2019-11-272023-12-05维沃移动通信有限公司 Methods, devices, electronic equipment and media for displaying pop-up windows
CN115334193B (en)*2021-05-282023-10-31荣耀终端有限公司Notification display method and device based on situation

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102075337A (en)*2009-11-202011-05-25腾讯科技(深圳)有限公司Instant communication message display method and related device
TWI345215B (en)*2006-08-222011-07-11Asustek Comp IncPortable computer
CN106462358A (en)*2014-05-312017-02-22苹果公司 Display interactive notifications on touch-sensitive devices
CN107087066A (en)*2017-04-072017-08-22北京安云世纪科技有限公司The display methods and mobile communication terminal of a kind of notification message
CN107491315A (en)*2017-08-312017-12-19广东欧珀移动通信有限公司 Message prompting method, device and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106325682A (en)*2016-09-132017-01-11宇龙计算机通信科技(深圳)有限公司Method and system for replying messages
CN107193664B (en)*2017-04-122021-02-26北京安云世纪科技有限公司Message display method and device and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
TWI345215B (en)*2006-08-222011-07-11Asustek Comp IncPortable computer
CN102075337A (en)*2009-11-202011-05-25腾讯科技(深圳)有限公司Instant communication message display method and related device
CN106462358A (en)*2014-05-312017-02-22苹果公司 Display interactive notifications on touch-sensitive devices
CN107087066A (en)*2017-04-072017-08-22北京安云世纪科技有限公司The display methods and mobile communication terminal of a kind of notification message
CN107491315A (en)*2017-08-312017-12-19广东欧珀移动通信有限公司 Message prompting method, device and terminal

Also Published As

Publication numberPublication date
CN108153601A (en)2018-06-12

Similar Documents

PublicationPublication DateTitle
CN107908351B (en) Application interface display method, device and storage medium
JP6101866B2 (en) Child mode processing method, apparatus, program, and recording medium
US20180046336A1 (en)Instant Message Processing Method and Apparatus, and Storage Medium
CN107608561B (en)Touch screen control method and device
EP3731088B1 (en)Method and device for displaying information and storage medium
CN107145800A (en) Privacy information protection method and device, terminal and storage medium
US20160210034A1 (en)Method and apparatus for switching display mode
CN106599251A (en)Method and device for displaying anchor rankings
CN108153601B (en)Method and device for outputting notification information
CN109600303B (en) Content sharing method, device and storage medium
US20190235745A1 (en)Method and device for displaying descriptive information
US11334401B2 (en)Application page interception method and device
CN104902059A (en)Call reminding method and device
CN106254192B (en) Prompting method, prompting device and prompting system
CN105407433A (en)Method and device for controlling sound output equipment
US20180035154A1 (en)Method, Apparatus, and Storage Medium for Sharing Video
CN105260247A (en)Method and device for controlling terminal application
CN110618783B (en)Text broadcasting method, device and medium
WO2020097810A1 (en)Method and apparatus for sending scheduling request
CN109862169B (en)Electronic equipment control method, device and storage medium
CN109218509A (en)Breath screen display method, apparatus and computer readable storage medium
CN106603381B (en) Method and device for processing chat information
WO2021000450A1 (en)Touch signal processing method, device, and medium
CN107809538B (en) Alarm reminder method, device and computer readable storage medium
CN107656616B (en)Input interface display method and device and electronic equipment

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp