WO2016106781A1 - 一种通知信息处理方法、装置和终端 - Google Patents
一种通知信息处理方法、装置和终端 Download PDFInfo
- Publication number
- WO2016106781A1 WO2016106781A1 PCT/CN2015/070072 CN2015070072W WO2016106781A1 WO 2016106781 A1 WO2016106781 A1 WO 2016106781A1 CN 2015070072 W CN2015070072 W CN 2015070072W WO 2016106781 A1 WO2016106781 A1 WO 2016106781A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- display
- target application
- instruction
- window
- user
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M19/00—Current supply arrangements for telephone systems
- H04M19/02—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
- H04M19/04—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
Definitions
- the present invention relates to the field of terminal application technologies, and in particular, to a notification information processing method, apparatus, and terminal.
- SMS short message service
- the smart terminal device based on Google's Android (Android) operating system or Apple's Apple mobile device operating system (iOS) as an example
- the top notification bar is used for reminding.
- the user views the notification information by clicking or pulling down the notification bar, and then clicking the notification information to open or switch to the application to which the notification information belongs.
- the notification bar is generally located at the upper edge of the device screen, and the current smart terminal device is in a large-screen development trend, the user is in the process of processing the notification information by opening or switching to the application operation through the notification information in the notification bar.
- the operation is inconvenient and the operation is inconvenient.
- the embodiment of the present invention provides a notification information processing method, apparatus, and terminal for solving the problem that the step of processing the notification information is complicated and the manipulation is inconvenient by opening the application through the notification information in the notification column.
- a method for processing notification information including:
- the display instruction is used to refer to Displaying the received notification information
- the user display operation includes a plurality of different operation types, and the triggering the display instruction corresponding to the user display operation includes:
- Adjusting one or more of a position, a size, and a display level of the target application corresponding window according to the preset adjustment policy corresponding to the display instruction includes:
- a focus is assigned to the target application corresponding window.
- the method further includes:
- an initial parameter describing a current display state of the target application corresponding window the initial parameter including one or more of an initial position coordinate, an initial window size, and an initial display level
- Adjusting the target according to the preset adjustment policy corresponding to the display instruction After the program corresponds to the position, size, and one or more of the display levels, it also includes:
- a restore instruction corresponding to the user restore operation is triggered, where the restore command is used to indicate that the target application corresponding window adjusted according to the preset adjustment policy is restored to an initial display state;
- the target is adjusted according to the preset adjustment policy corresponding to the display instruction
- the application corresponds to the position, size, and one or more of the display levels, it also includes:
- the target application is displayed as a corresponding operation interface according to the function module and/or the message sender.
- the target is adjusted according to the preset adjustment policy corresponding to the display instruction
- the application corresponds to the position, size, and one or more of the display levels, it also includes:
- the shutdown instruction is used to indicate that the target application is closed;
- the target application is closed according to the indication of the shutdown instruction such that the target application is not visible on the screen.
- the method further includes:
- the preset interface mode is a full screen display mode or a window display mode.
- the displaying, by using the preset interface mode corresponding to the display instruction, the target application includes:
- the target application is displayed in the screen foreground in the window display mode
- the target application is displayed in the foreground of the screen in the full screen display mode.
- the user display operation includes a plurality of different operation types, and the triggering the display instruction corresponding to the user display operation includes:
- the displaying the target application by using the preset interface mode corresponding to the display instruction comprises:
- a window display parameter corresponding to the display instruction Determining, according to the type of the display instruction that is triggered, a window display parameter corresponding to the display instruction, where the window display parameter includes a display position coordinate and/or a display window size;
- the preset interface mode corresponding to the display instruction After displaying the target application it also includes:
- the target application is displayed as a corresponding operation interface according to the function module and/or the message sender.
- the method further includes:
- the shutdown instruction is used to indicate that the target application is closed;
- the target application is closed according to the indication of the shutdown instruction such that the target application is not visible on the screen.
- a notification information processing apparatus including:
- a detecting unit configured to detect a user display operation
- a triggering unit configured to trigger a display instruction corresponding to the user display operation, where the display instruction is used to indicate that the received notification information is displayed;
- a determining unit configured to determine, according to the application identifier indicated by the notification information, a target application corresponding to the notification information
- an adjusting unit configured to: after determining that the target application is in a visible state on the current screen, and the target application is a window display mode, adjusting the target application according to a preset adjustment policy corresponding to the display instruction Corresponds to the position, size, and one or more of the display levels.
- the detecting unit detects that the obtained user display operation includes a plurality of different operation types, and the trigger unit is configured to:
- the adjustment unit is used to:
- a focus is assigned to the target application corresponding window.
- the recording unit and the restoration unit are further included;
- the recording unit is configured to record a description before the adjusting unit adjusts one or more of a position, a size, and a display level of the target application corresponding window according to the preset adjustment policy corresponding to the display instruction.
- the target application corresponds to an initial parameter of a current display state of the window, the initial parameter including one or more of an initial position coordinate, an initial window size, and an initial display level;
- the detecting unit is further configured to: after the adjusting unit adjusts one or more of a position, a size, and a display level of the target application corresponding window according to the preset adjustment policy corresponding to the display instruction, User restore operation;
- the triggering unit is further configured to: after the detecting unit detects that the user restore operation is acquired, trigger a restore instruction corresponding to the user restore operation, where the restore command is used to indicate that the The target application corresponding window is restored to the initial display state;
- the restoring unit is configured to adjust, according to the indication of the restore instruction, the display position, the window size, and the display level of the corresponding window of the target application according to the indication of the restore instruction after the trigger unit triggers the restore instruction One or more.
- the navigation unit is further configured to:
- the adjusting unit adjusts one or more of a position, a size, and a display level of the target application corresponding window according to the preset adjustment policy corresponding to the display instruction, the application indicated according to the notification information a module identifier and/or a sender identifier, determining a corresponding function module and/or a message sender in the target application;
- the target application is displayed as a corresponding operation interface according to the function module and/or the message sender.
- the detecting unit is further configured to adjust, according to the preset adjustment policy corresponding to the display instruction, a position and a size of a corresponding window of the target application, And detecting one or more of the levels, detecting a user shutdown operation;
- the triggering unit is further configured to: after the detecting unit detects the acquiring the user closing operation, triggering a closing instruction corresponding to the user closing operation, where the closing instruction is used to indicate that the target application is closed;
- the closing unit is configured to close the target application according to the instruction of the closing instruction after the triggering unit triggers the closing instruction, so that the target application is not visible on the screen.
- the method further includes:
- a display unit configured to display the target application in a preset interface mode corresponding to the display instruction after determining that the target application in a visible state does not exist on the current screen, where the preset interface mode is a full screen display Mode or window display mode.
- the display unit is configured to:
- the target application is displayed in the screen foreground in the window display mode
- the target application is displayed in the foreground of the screen in the full screen display mode.
- the detecting unit detects that the obtained user display operation includes a plurality of different operation types, and the trigger unit is configured to:
- the display unit is configured to:
- a window display parameter corresponding to the display instruction Determining, according to the type of the display instruction that is triggered, a window display parameter corresponding to the display instruction, where the window display parameter includes a display position coordinate and/or a display window size;
- the navigation unit is further configured to:
- the display unit After the display unit displays the target application in the preset interface mode corresponding to the display instruction, determining, according to the application module identifier and/or the sender identifier indicated by the notification information, in the target application.
- the application module identifier and/or the sender identifier indicated by the notification information in the target application.
- the target application is displayed as a corresponding operation interface according to the function module and/or the message sender.
- the detecting unit is further configured to detect a user close operation after the display unit displays the target application in the preset interface mode corresponding to the display instruction;
- the triggering unit is further configured to: after the detecting unit detects the acquiring the user closing operation, triggering a closing instruction corresponding to the user closing operation, where the closing instruction is used to indicate that the target application is closed;
- the closing unit is configured to, after the triggering unit triggers the closing instruction, close the target application according to the instruction of the closing instruction, so that the target application is not visible on the screen.
- a third aspect provides a notification information processing terminal including: a bus, and a processor, a memory, a communication module, an input module, and an output module connected to the bus; the memory is configured to store an instruction; the processor executes The instructions are for:
- the user display operation includes a plurality of different types of operations, and the processor executes the instructions specifically for:
- the execution of the instructions by the processor is further specifically for:
- a focus is assigned to the target application corresponding window.
- the processor executes the instruction before performing the instruction to adjust one or more of a position, a size, and a display level of the target application corresponding window according to the preset adjustment policy corresponding to the display instruction. Also specifically used for:
- an initial parameter describing a current display state of the target application corresponding window the initial parameter including one or more of an initial position coordinate, an initial window size, and an initial display level
- the processor executes the instruction after performing the instruction to adjust one or more of a position, a size, and a display level of the target application corresponding window according to the preset adjustment policy corresponding to the display instruction. Also specifically used for:
- the processor is configured to perform the instruction according to the display instruction After the preset adjustment policy adjusts one or more of the position, the size, and the display level of the corresponding window of the target application, executing the instruction is further specifically used to:
- the target application is displayed as a corresponding operation interface according to the function module and/or the message sender.
- the processor is configured to perform the instruction according to the display instruction After the preset adjustment policy adjusts one or more of the position, the size, and the display level of the corresponding window of the target application, executing the instruction is further specifically used to:
- the shutdown instruction is used to indicate that the target application is closed;
- the target application is closed according to the indication of the shutdown instruction such that the target application is not visible on the screen.
- the executing the instruction by the processor is further specifically used to:
- the target application After determining that the target application in the visible state does not exist on the current screen, the target application is displayed in a preset interface mode corresponding to the display instruction, and the preset interface mode is a full screen display mode or a window display mode. .
- the processor executes the instruction specifically for:
- the target application is displayed in the screen foreground in the window display mode
- the target application is displayed in the foreground of the screen in the full screen display mode.
- the user display operation includes a plurality of different types of operations, and the processor executes the instructions specifically for:
- the execution of the instructions by the processor is further specifically for:
- a window display parameter corresponding to the display instruction Determining, according to the type of the display instruction that is triggered, a window display parameter corresponding to the display instruction, where the window display parameter includes a display position coordinate and/or a display window size;
- the processor is executing the instruction to the display instruction After the corresponding preset interface mode displays the target application, executing the instruction is further specifically used to:
- the target application is displayed as a corresponding operation interface according to the function module and/or the message sender.
- the processor is executing the instruction to the display instruction After the corresponding preset interface mode displays the target application, executing the instruction is further specifically used to:
- the shutdown instruction is used to indicate that the target application is closed;
- the target application is closed according to the indication of the shutdown instruction such that the target application is not visible on the screen.
- the embodiment of the present invention provides a notification information processing method, apparatus, and terminal. After detecting a user display operation and triggering a display instruction corresponding to the user display operation, determining a target application corresponding to the notification information, and further determining When the screen display state meets the condition, the target application corresponding window is adjusted according to the preset adjustment policy corresponding to the display instruction. In this way, the display state of the target application corresponding to the notification information is adjusted by the preset interaction operation, which avoids the problem that the step of processing the notification information is complicated and the manipulation is inconvenient due to the opening or switching of the notification information in the notification column in the prior art. Therefore, the present invention can simplify the processing operation of the notification information, improve the operability, and improve the user experience of the device as compared with the prior art.
- FIG. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
- FIG. 2 is a schematic diagram 1 of a screen display mode of an electronic device according to an embodiment of the present invention.
- FIG. 3 is a second schematic diagram of a screen display mode of an electronic device according to an embodiment of the present invention.
- FIG. 4 is a schematic flowchart diagram of a method for processing notification information according to an embodiment of the present disclosure
- FIG. 5 is a schematic flowchart diagram of another method for processing notification information according to an embodiment of the present disclosure.
- FIG. 6 is a schematic diagram 1 of an interaction operation effect according to an embodiment of the present invention.
- FIG. 7 is a second schematic diagram of an interaction operation effect according to an embodiment of the present invention.
- FIG. 8 is a schematic diagram 3 of an interaction operation effect according to an embodiment of the present invention.
- FIG. 9 is a schematic diagram 4 of an interaction operation effect according to an embodiment of the present invention.
- FIG. 10 is a schematic diagram 5 of an interaction operation effect according to an embodiment of the present invention.
- FIG. 11 is a schematic structural diagram 1 of a notification information processing apparatus according to an embodiment of the present disclosure.
- FIG. 12 is a schematic structural diagram 2 of a notification information processing apparatus according to an embodiment of the present disclosure.
- FIG. 13 is a schematic structural diagram 3 of a notification information processing apparatus according to an embodiment of the present disclosure.
- FIG. 14 is a schematic structural diagram 4 of a notification information processing apparatus according to an embodiment of the present disclosure.
- FIG. 15 is a schematic structural diagram 5 of a notification information processing apparatus according to an embodiment of the present disclosure.
- FIG. 16 is a schematic structural diagram 6 of a notification information processing apparatus according to an embodiment of the present disclosure.
- FIG. 17 is a schematic structural diagram 7 of a notification information processing apparatus according to an embodiment of the present disclosure.
- FIG. 18 is a schematic structural diagram of a notification information processing terminal according to an embodiment of the present invention.
- FIG. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, which is used to implement a method for processing notification information provided by an embodiment of the present invention. See Figure 1, the electricity
- the sub-device includes a memory 001, a processor 002, a communication module 003, an input module 004, an output module 005, and a bus 006 that connects the above modules.
- the memory 001 is configured to store an operating system, an application, and related data, and the like; the processor 002 is configured to execute various functional applications and related data processing of the electronic device by running an operating system and/or an application stored in the storage 001; In addition, the processor 002 cooperates with the memory 001 to implement the issuance and/or management of all current notification information of the electronic device through the notification manager 007 maintained inside the module.
- the communication module 003 is configured to provide a communication channel for the electronic device, so that the electronic device communicates with the remote electronic device or the server in the form of voice, text, data, etc. through the communication channel;
- the input module 004 is configured to implement between the user and the electronic device. Interacting, and providing the interaction to the processor 002 for corresponding processing;
- the output module 005 is for implementing output of electronic device data or information under the control of the processor 002, such as displaying the user interface of the application on the screen of the electronic device ( User Interface, UI), etc.
- the operating system stored in the memory 001 may be an embedded operating system such as an Android system of Google Inc., an iOS system of Apple Inc., or a Windows system/Windows Phone system of Microsoft Corporation;
- the interaction mode provided by the input module 004 can be specifically implemented by physical buttons, a microphone, a touch screen, and a plurality of different types of sensor devices (including but not limited to acceleration sensors, proximity sensors, gyro sensors, etc.);
- the output form provided by the output module 005 can be a screen display output using an image display function display panel as an electronic device.
- Each notification information managed in the notification manager 007 may be acquired by a message sent by the electronic device receiving server (such as an iOS system), or may be published by calling a system interface (such as an Android system).
- the operating system, the interaction mode, the output format, and the manner in which the notification information is obtained are only exemplary.
- the actual implementation may be different according to the hardware configuration of the electronic device or the application scenario. .
- the electronic device is based on the operating system, and the processor 002 displays the state of the application UI that can be implemented by the output module 005, as shown in FIG. 2 .
- the display mode of the same screen multi-window can be realized, that is, the application window corresponding to the plurality of application UIs is simultaneously displayed on the screen, as shown in FIG. 3, which may further include: Window mode (the screen is filled by multiple application windows, each application window does not overlap) and the floating multi-window mode (multiple application windows are movable and can be overlapped).
- An embodiment of the present invention provides a notification information processing method, which may be applied to an electronic device as shown in FIG. 1 or a functional module in the electronic device. As shown in FIG. 4, the method includes:
- the display instruction is used to indicate that the received notification information is displayed.
- the user display operation includes a plurality of different operation types
- the electronic device may trigger a display instruction corresponding to the operation type according to the operation type of the user display operation.
- the operation of the electronic device to adjust the position, the size, and the one or more of the display level of the corresponding window of the target application according to the preset adjustment policy corresponding to the display instruction may specifically include:
- the focus is assigned to the target application corresponding window.
- the electronic device may further record the description target application corresponding The initial parameter of the current display state of the window, the initial parameters including the initial position coordinates, the initial window size, and one or more of the initial display levels;
- the restore command is used to indicate that the target application corresponding window adjusted according to the preset adjustment policy is restored to the initial display state
- one or more of the display position, the window size, and the display hierarchy of the target application corresponding window are adjusted using the initial parameters.
- the electronic device may further:
- the target application is displayed as a corresponding operation interface according to the function module and/or the message sender.
- the electronic device may further:
- shutdown instruction is used to indicate that the target application is closed
- the target application is closed so that the target application is not visible on the screen.
- the electronic device may further display the target application in a preset interface mode after determining that the target application in the visible state does not exist on the current screen.
- the preset interface mode is a full screen display mode or a window display mode.
- the operation of the electronic device to display the target application in the preset interface mode corresponding to the display instruction may include:
- the target application is displayed in the foreground of the screen in the window display mode; or, in the full screen display mode, when it is determined that there is no running application in the foreground of the current screen
- the foreground application is displayed on the screen front.
- the operation of the electronic device to display the target application in the preset interface mode corresponding to the display instruction may specifically include:
- the window display parameters include display position coordinates and/or display window size.
- the target application corresponding window is displayed in the window display mode.
- the electronic device may further:
- the target application is displayed as a corresponding operation interface according to the function module and/or the message sender.
- the electronic device may further:
- shutdown instruction is used to indicate that the target application is closed
- the target application is closed so that the target application is not visible on the screen.
- the embodiment of the present invention provides a notification information processing method, after detecting a user display operation and triggering a display instruction corresponding to the user display operation, determining a target application corresponding to the notification information, and further determining that the screen display state satisfies the condition.
- the target application corresponding window is adjusted according to the preset adjustment policy corresponding to the display instruction.
- the display state of the target application corresponding to the notification information is adjusted by the preset interaction operation, thereby avoiding the problem that the step of processing the notification information is complicated and the control is inconvenient by opening or switching to the application in the notification bar, and the notification can be simplified.
- the processing of information improves handling and improves the user experience of the device.
- FIG. 5 Another notification information processing method provided by the embodiment of the present invention is provided based on the electronic device shown in FIG. 1 through a specific embodiment.
- the method includes:
- the input module of the electronic device detects a user display operation performed by the user on the electronic device, generates corresponding interaction operation information, and transmits the interaction operation information to the processor.
- the user display operation may include: a preset display action, a gesture, or a voice.
- the operation of the electronic device by the user may be detected and detected by each interaction detecting device in the input module, such as detecting a touch operation through a touch screen, detecting a voice control through a microphone, and detecting an action operation through an action-related sensor device.
- the above-mentioned user display operation may be a specific set operation mode set by the device default setting or the user external input, which is not limited herein.
- the processor of the electronic device determines whether there is currently unprocessed notification information, and determines the notification of the current electronic device.
- a display instruction corresponding to the user display operation is triggered in the case where the notification information exists in the manager.
- the display instruction is an instruction triggered by the processor in response to the user's user display operation on the premise that the current unprocessed notification information is present, and is used to indicate that the received notification information is displayed; and the display instruction is
- the implementation on the modules of the electronic device is not limited herein, and may be a message or a data packet, etc., as long as it can be used as an identifier indicating that the module performs the corresponding operation, which is within the protection scope of the embodiment of the present invention.
- the user display operation is an action of the left and right shaking device (the type is a preset display action)
- the determining, by the processor, that the application scenario that the notification information exists in the current notification manager may include:
- the notification manager of the electronic device displays the notification information on the notification bar through the output module when the notification information is issued, and the acceleration sensor in the input module detects the preset response time after the notification bar starts displaying the notification information.
- the interactive operation information indicating that the device is shaken left and right is transmitted to the processor, and then the processor triggers the display instruction to instruct the subsequent operation to determine the current screen condition.
- the processor of the electronic device determines through the query. After the at least one notification information is present in the notification manager, the display instruction is triggered to indicate that the subsequent operation is performed to determine the current screen condition; or, if the electronic device determines that the notification manager does not save any notification information, the user action is not responded to. .
- the preset response time is a time range that the electronic device can directly trigger the corresponding display instruction after receiving the user display operation of the user, and does not need to determine the notification manager; and the preset response time is greater than or equal to the electronic device receiving After the notification information is displayed, the notification information is displayed in the notification bar to remind the user of the duration, which may be the default setting of the system, or may be input to the external input of the user, which is not limited herein.
- the user can interact with the electronic device through different types of user display operations, and the processor of the electronic device triggers corresponding different types of display instructions according to the type of the user display operation.
- a plurality of different forms of user display operations can be set for the device at the same time, so that the processor triggers the corresponding display instruction, and Displaying the corresponding type of the display instruction identifier corresponding to the operation of the different types of users in advance, for example, the display instruction corresponding to the operation of the left and right shaking device is identified as the first operation type, and the display instruction corresponding to the operation of the up and down shaking device is identified as the second
- the electronic device can distinguish the interaction operation used by the user to trigger the notification information processing operation according to the type of the display instruction, and adopt different processing methods for different interaction operations.
- the corresponding relationship between the display operation of the multiple types of the user and the display command type may be a device default setting or a user external input setting, and is pre-recorded in the electronic device, and the specific corresponding manner is not limited herein. .
- the electronic device acquires the display state of the current screen by calling the system interface, and determines whether there is a target application in the visible state on the current screen.
- the target application is an application to which the notification information belongs. It should be noted that the electronic device may obtain, by using a notification manager, related parameters corresponding to the notification information, such as an application identifier of the notification information, where the application identifier is used to indicate application related identifier information (such as an application name, Application path, etc.). Further, the target application corresponding to the notification information can be determined based on the application identifier indicated by the notification information. For example, if the notification information is short message information, the corresponding target application is a short message application; if the notification information is a microblog friend private message, the corresponding target application is a microblog client, and the target application is only exemplary. Including but not limited to.
- the fact that the target application is in a visible state means that the user interface of the target application is displayed on a screen of the electronic device that is visible to the user. And it should be noted that the target application in the visible state can be displayed on the screen foreground (the user interface is completely visible to the user), and the focus has been obtained, that is, it can interact with the user; or, the background of the screen can be displayed ( The user interface can be completely visible to the user, or partially visible to the user, and has lost focus, ie, cannot interact with the user until the focus is regained and switched to the screen foreground.
- the state of the target application may include: an activation or running state (the target application runs in the foreground of the screen), a pause state (the target application loses focus, but is still visible to the user), and stops. Status (the target application is completely covered by other applications and darkened) and the termination status (the target application is cleaned out of memory by the system).
- the electronic device calls the system interface through the processor to obtain the display state of the current screen in the output module, and determines whether there is a target application in the visible state on the current screen.
- the operation may be implemented based on the judgment of the state of the target application, and may specifically include:
- step S204 is performed, and the target application corresponding window is adjusted according to the preset adjustment policy;
- step S205 is performed to display the target application in a preset interface mode;
- the step S206 may be directly performed to navigate the interface of the target application and display the corresponding function interface; Or, after determining that the target application is in the window display mode, performing step S204 to adjust the target application corresponding window according to the preset adjustment policy.
- the electronic device may further control the output module to cause the target application to display a preset visual effect, thereby implementing a reminder effect for the user.
- the preset visual effects may include: window blinking, highlighting, translucency, etc., and the effects listed above are merely exemplary, including but not limited thereto.
- the processor of the electronic device determines that the target application in the visible state exists on the current screen, and after the target application is in the window display mode, adjusts the position of the corresponding window of the target application according to the preset adjustment policy corresponding to the display instruction, Size And one or more of the display levels.
- the preset adjustment policy indicates an adjustment parameter required to adjust the corresponding window of the target application, and the adjustment parameter may include a target position coordinate when the corresponding window is moved, and/or a target size when the corresponding window is scaled.
- the corresponding relationship between the foregoing display command and the preset adjustment policy may be stored in the electronic device in advance in the actual application scenario, and may be stored in the electronic device. The specific correspondence is not limited herein.
- the corresponding windows of each application have different display levels, and are sequentially stacked, when the display level of the corresponding window of one application is the first layer (the uppermost layer).
- the application is a screen foreground application with a focus assigned.
- the target application corresponding window is adjusted according to the preset adjustment policy, if the display level of the corresponding window is not the first layer in the initial state before the adjustment, the display hierarchy of the corresponding window needs to be adjusted to the first time during the adjustment. Layer, so that the target application can obtain focus, that is, can interact with the user; or, if the display level of the corresponding window is the first layer in the initial state before the adjustment, it is not necessary to adjust the display level of the corresponding window.
- the adjustment parameter used by the preset adjustment policy may be pre-selected by the system default or the external input of the user, for example, the same is adopted.
- the same preset target position coordinates, and/or target size, and specific target position coordinates and target size settings are not limited herein.
- the preset target size must be smaller than the screen size, that is, the adjustment manner provided by the preset adjustment policy does not include the display mode of switching the target application corresponding window to the full screen display mode, and ensuring the target.
- the application can always be displayed in window display mode.
- the adjustment parameter used by the preset adjustment policy corresponding to the display instruction may be selected according to a pre-established correspondence between different types of display instructions and adjustment parameters, according to an interaction operation form adopted by the user.
- the application 1 is the target application
- the display instruction corresponding to the left tilt device operation is the third operation type
- the right tilt device operation corresponds to
- the display instruction is the fourth operation type:
- an adjustment parameter corresponding to the display instruction type may be determined (the adjustment parameter indicates a coordinate located at a position on the left side of the screen) And moving the corresponding window to the indicated position according to the adjustment parameter, and assigning a focus to the corresponding window, so that the corresponding window is located at the front end of the screen;
- an adjustment parameter corresponding to the display instruction type may be determined (the adjustment parameter indicates a position on the right side of the screen) Coordinates), and then move the corresponding window to the indicated position according to the adjustment parameter, and assign a focus to the corresponding window, so that the window is located in the foreground of the screen.
- the corresponding relationship between the display instruction type and the adjustment parameter is only exemplary.
- the system default setting or the external input of the user may be pre-stored in the electronic device, and the specific correspondence includes But it is not limited to this.
- the target application corresponding window Before moving to the above target position coordinates, the occluding application window may be moved to the current position of the corresponding window of the target application or a free area at any position on the screen that does not occlude the target position coordinates. It should be noted that before moving the application window that generates the occlusion, the location and display level of the application window need to be recorded, so that subsequent operations restore the display state of the application window.
- the processor of the electronic device can also control the output module to target
- the application corresponding window is translucent, and the foreground application before the above adjustment operation is kept running, thereby avoiding interruption of the user's current activity.
- the electronic device needs to pre-record the current initial of the target application corresponding window.
- the start position coordinate, the initial window size, and the initial display level are so that subsequent operations restore the display state of the target application corresponding window according to the recorded initial parameters.
- step S206 is executed to navigate the interface of the target application and display the corresponding function interface.
- the processor of the electronic device displays the target application in a preset interface mode corresponding to the display instruction.
- the preset interface mode may be a full screen display mode or a window display mode.
- the corresponding relationship between the foregoing display command and the preset interface mode may be preset in the system default setting or external input of the user, and is stored in the electronic device in advance, and the specific correspondence is not limited herein.
- the target application corresponding interface may be directly displayed or switched; or, if the target application is in the termination state (That is, when the target application has completely exited or closed, you need to display or switch to the target application corresponding interface after launching the target application by calling the system interface.
- the preset interface mode type used may be pre-selected by the system default or the user external input, for example, the full-screen display mode is adopted. Or use the window display mode as the selected preset interface mode, and the specific preset selection mode is not limited here.
- the preset interface mode type used may also be based on a preset relationship between different types of display instructions and preset interface modes, and is selected according to an interaction mode adopted by the user.
- the display instruction corresponding to the left and right shaking device operation is the first operation type
- the display instruction corresponding to the up and down shaking device operation is the second operation type.
- the pre-established correspondence may include:
- the preset interface mode adopted is the window display mode; or when the triggered display instruction is the second operation type corresponding to the up and down shaking device operation
- the preset interface mode used is the full screen display mode.
- the preset interface mode type that is used may be selected according to the display state of the current screen, and the Android operating system is taken as an example, which may specifically include:
- the target application When the processor determines that there is currently any application that is in an active or running state (ie, any application running in the current screen foreground), the target application is displayed in the foreground in the window display mode, and the target application can be displayed. Avoid completely obscuring the application running in the foreground; or, when the processor determines that all applications of the device are in a terminated state (that is, the current screen does not have any running applications in the foreground), the mode is displayed in full screen. Display the target application in the foreground to achieve the best display.
- the corresponding relationship between the display command and the window display mode display parameter may be determined based on the pre-established display mode, and the window display mode is determined according to the interaction operation mode adopted by the user.
- the display parameter used wherein the display parameter may include a display window size corresponding to the display window of the target application, and/or display position coordinates and the like. According to the interactive operation mode adopted by the user, it is possible to determine the display mode when the window corresponding to the target application is displayed in the window display mode.
- the display instruction corresponding to the left tilt device operation is the third operation type
- the display instruction corresponding to the right tilt device operation is the fourth operation type:
- a display parameter corresponding to the display instruction type may be determined (the display parameter indicates a coordinate located at a position on the left side of the screen) ), and then display the corresponding window on the left side of the screen;
- the display parameter corresponding to the display instruction type may be determined.
- the number the display parameter indicates a coordinate at a position on the right side of the screen
- the corresponding window is displayed on the right side of the screen.
- the corresponding relationship between the display instruction type and the display parameter is only exemplary.
- the system default setting or the external input of the user may be pre-stored in the electronic device, and the specific correspondence includes But it is not limited to this.
- the target application corresponding window may be translucent by controlling the output module. And keep the above active or running application running, thus avoiding disruption to the user's current activity.
- step S206 the electronic device performs step S206 to navigate the interface of the target application and display the corresponding function interface.
- the correspondence between the display instruction and the preset adjustment policy, the correspondence between the display instruction and the preset interface mode are not limited in this embodiment, and thus, the same display
- the instruction may simultaneously correspond to a preset adjustment policy and a preset display mode, that is, when a user display operation is used to trigger a processing flow of the notification information, the electronic device selects a processing mode to be used, and also displays a current state of the screen.
- the target application in the visible state exists on the current screen, and the target application is in the window display mode, adjusting the target application corresponding window according to the preset adjustment policy corresponding to the display instruction; or, determining the current When there is no target application in the visible state on the screen, the target application is displayed in the preset interface mode corresponding to the display instruction.
- the final effect of performing the adjustment by using the preset adjustment policy corresponding to the same display instruction or the preset display mode may be the same ( As shown in application 1 in Figure 6 and Figure 8).
- the foregoing notification information determines an application module identifier and/or a sender identifier indicated by the notification information, and further determines a function module and/or a message sender corresponding to the notification information, and displays the target application as a corresponding interface.
- the notification information in the notification manager is the chat session information sent by the WeChat contact A, according to the notification information.
- the function module indicated by the corresponding application module identifier in the WeChat client is the chat function module, and the sender of the message indicated by the sender identifier is the contact A. Then, the display interface of the WeChat client can be navigated to the chat function module. Contact A, shown as the chat interface with contact A.
- the step S207 may be performed to detect the user to the electronic device.
- the user restore operation is performed to restore the target application corresponding window display state adjusted according to the preset adjustment policy corresponding to the display instruction, and further, the step S208 operation may be directly performed to close the target application.
- the electronic device is the step operation performed after the target application is displayed in the preset interface mode corresponding to the display instruction, after navigating the interface of the target application, the step S208 may be directly performed to close the target application. .
- the input module of the electronic device detects a user restore operation performed by the user on the electronic device, generates corresponding interaction operation information, and transmits the interaction operation information to the processor, where the processor determines that the target application is activated or running.
- the restore command is triggered to restore the display state of the corresponding window of the target application.
- the user restore operation may include: a preset restore action, a gesture, or a voice. And the above user restore operation may be set by default settings of the device or external input of the user, but it should be noted that the set restore action, gesture or voice cannot be combined with The set user display operation is the same, and the specific operation mode is not limited here.
- the restore command is an instruction triggered by the processor in response to the user's user restore operation on the premise that the current target application is not closed and remains as the foreground application, and is used to indicate the target adjusted according to the preset adjustment policy.
- the application corresponds to the display state of the window to be restored; and the implementation form of the restoration instruction on each module of the electronic device is not limited herein, and may be a message or a data packet, etc., as long as it can be used as an identifier indicating that the module performs the corresponding operation.
- the application 1 is the target application
- the user restore operation is a gesture of double-pointing down sliding (type is a preset restoration gesture) as an example, corresponding to the display instruction.
- the input module of the electronic device detects the double-pointing down swipe gesture operation performed by the receiving user on the electronic device, and the processor determines that the target application is currently in an active or running state (ie, the target If the application is not closed and remains as the foreground application, the restore operation instruction is triggered, and then the position and size of the corresponding window are adjusted according to the initial position coordinates of the corresponding window of the target application, the initial window size, and the initial display level. And one or more of the display levels to restore the initial display state of the corresponding window.
- the electronic device adjusts the target application corresponding window according to the preset adjustment policy, if there is an operation of moving an application window of the occlusion target position coordinate to another position, the occlusion-based application according to the record is further required.
- the application window is restored by the position and display level of the window.
- the electronic device may perform the step S208 to close the target application.
- the input module of the electronic device detects a user shutdown operation performed by the user on the electronic device, generates corresponding interaction operation information, and transmits the interaction operation information to the processor, and the processor determines that the target application is not in the termination state. (ie, if the target application is not closed), trigger the shutdown command and execute the target Use the program to close the operation.
- the user close operation may include: a preset closing action, a gesture, or a voice. And the above user close operation may be set by default setting of the device or external input by the user, but it should be noted that the set closing action, gesture or voice cannot be the same as the set user display operation or the user restore operation, specifically The form of operation is not limited here.
- the shutdown instruction is an instruction triggered by the processor in response to the user's user shutdown operation on the premise that the current target application is not closed, and is used to indicate that the notification information corresponding to the response user display operation is closed corresponding to the target application.
- the implementation of the shutdown command on each module of the electronic device is not limited herein, and may be a message, a data packet, or the like, as long as it can be used as an identifier indicating that the module performs a corresponding operation, and is in the protection scope of the embodiment of the present invention.
- the input module of the electronic device detects the double-pointing upper sliding gesture operation performed by the receiving user on the electronic device, and the processor is When it is determined that the target application is not currently in the termination state (ie, the target application is not closed), the shutdown operation instruction is triggered, thereby closing the target application.
- the operations of the above steps S201 to S208 may be performed multiple times, and the notification information may be processed sequentially; or alternatively, repeated or continuous
- One or more steps in the above steps S201 to S208 are performed, for example, the steps S201 to S207 are repeatedly performed multiple times, and then the steps S208 are repeated a plurality of times in succession, and after the plurality of pieces of information are accumulated, the data is sequentially turned off.
- the operation steps of the foregoing processing of the multiple pieces of notification information are only exemplary, including but not limited to, the user may perform the above-mentioned steps S201 to S208 to perform multiple types of nesting according to the actual use requirements, which is not limited herein.
- the embodiment of the invention provides a notification information processing method for detecting user display After the operation command is triggered, and the display instruction corresponding to the user display operation is triggered, the target application corresponding to the notification information is determined, and when the screen display state is determined to satisfy the condition, the target application corresponding window is performed according to the preset adjustment policy corresponding to the display instruction. Adjustment.
- the display state of the target application corresponding to the notification information is adjusted by the preset interaction operation, which avoids the problem that the step of processing the notification information is complicated and the manipulation is inconvenient due to the opening or switching of the notification information in the notification column in the prior art. Therefore, the present invention can simplify the processing operation of the notification information, improve the operability, and improve the user experience of the device as compared with the prior art.
- the embodiment of the present invention provides a notification information processing apparatus 01, which is used to implement a notification information processing method provided by an embodiment of the present invention, and may be an electronic device as shown in FIG. 1 or in the device.
- a functional module, as shown in FIG. 11, the device 01 includes:
- the detecting unit 011 is configured to detect a user display operation.
- the trigger unit 012 is configured to trigger a display instruction corresponding to the user display operation.
- the display instruction is used to indicate that the received notification information is displayed.
- the determining unit 013 is configured to determine, according to the application identifier indicated by the notification information, the target application corresponding to the notification information.
- the adjusting unit 014 is configured to: after determining that the target application in the visible state exists on the current screen, and the target application is in the window display mode, adjust the position and size of the corresponding window of the target application according to the preset adjustment policy corresponding to the display instruction. Display one or more of the levels.
- the dotted line indicates that the units may have a connection relationship, or may not have a direct connection relationship.
- the trigger unit 012 may trigger the display instruction.
- the notification determining unit 013 may also perform unified control by the device without a notification; the dotted line box indicates that the unit may or may not exist in the device, and is not limited herein.
- the detecting unit 011 detects that the obtained user display operation may include a plurality of different operation types, and the trigger unit 012 may be specifically configured to:
- adjusting unit 014 can be specifically configured to:
- the focus is assigned to the target application corresponding window.
- the apparatus 01 may further include: a recording unit 015, a restoration unit 016, and specifically:
- the recording unit 015 is configured to record the current display state of the corresponding window of the target application before the adjustment unit 014 adjusts one or more of the position, the size, and the display hierarchy of the target application corresponding window according to the preset adjustment policy corresponding to the display instruction.
- the initial parameters are configured to record the current display state of the corresponding window of the target application before the adjustment unit 014 adjusts one or more of the position, the size, and the display hierarchy of the target application corresponding window according to the preset adjustment policy corresponding to the display instruction.
- the initial parameters include initial position coordinates, initial window size, and one or more of the initial display levels.
- the detecting unit 011 is further configured to detect the user restore operation after the adjusting unit 014 adjusts one or more of the position, the size, and the display level of the target application corresponding window according to the preset adjustment policy corresponding to the display instruction.
- the trigger unit 012 is further configured to trigger a restore instruction corresponding to the user restore operation after the detecting unit 011 detects that the user restore operation is acquired.
- the restore command is used to indicate that the target application corresponding window adjusted according to the preset adjustment policy is restored to the initial display state.
- the restoring unit 016 is configured to adjust one or more of the display position, the window size, and the display level of the corresponding window of the target application according to the indication of the restore instruction after the trigger unit 012 triggers the restore instruction.
- the device 01 may further include a navigation unit 017, which may be specifically configured to:
- the adjusting unit 014 adjusts the target according to the preset adjustment strategy corresponding to the display instruction. After the program corresponds to the location, size, and one or more of the display levels, the corresponding function module and/or message sender in the target application is determined according to the application module identifier and/or the sender identifier indicated by the notification information. ;
- the target application is displayed as a corresponding operation interface according to the function module and/or the message sender.
- the device 01 may further include a closing unit 018, specifically:
- the detecting unit 011 is further configured to detect the user closing operation after the adjusting unit 014 adjusts one or more of the position, the size, and the display level of the target application corresponding window according to the preset adjustment policy corresponding to the display instruction.
- the trigger unit 012 is further configured to trigger a close instruction corresponding to the user shutdown operation after the detecting unit 011 detects that the user close operation is acquired.
- the shutdown instruction is used to indicate that the target application is closed.
- the closing unit 018 is configured to close the target application according to the instruction of the closing instruction after the triggering unit 012 triggers the closing instruction, so that the target application is not visible on the screen.
- the device 01 may further include:
- the display unit 019 is configured to display the target application in a preset interface mode corresponding to the display instruction after determining that the target application in the visible state does not exist on the current screen.
- the preset interface mode is a full screen display mode or a window display mode.
- the display unit 019 can be specifically configured to:
- the target application is displayed in the foreground of the screen in the full screen display mode.
- the detecting unit 011 detects that the obtained user display operation may include a plurality of different operation types, and the trigger unit 012 may be specifically configured to:
- the display unit 019 can be specifically configured to:
- the target application corresponding window is displayed in the window display mode according to the window display parameters.
- the device 01 may further include a navigation unit 0110, which may be specifically configured to:
- the display unit 019 displays the target application in the preset interface mode corresponding to the display instruction, determining the corresponding function module and/or the message sender in the target application according to the application module identifier and/or the sender identifier indicated by the notification information;
- the target application is displayed as a corresponding operation interface according to the function module and/or the message sender.
- the device 01 may further include a closing unit 0111, specifically:
- the detecting unit 011 is further configured to detect a user closing operation after the display unit 019 displays the target application in a preset interface mode corresponding to the display instruction.
- the trigger unit 012 is further configured to trigger a close instruction corresponding to the user shutdown operation after the detecting unit 011 detects that the user close operation is acquired.
- the shutdown instruction is used to indicate that the target application is closed.
- the closing unit 0111 is configured to close the target application according to the instruction of the closing instruction after the triggering unit 012 triggers the closing instruction, so that the target application is not visible on the screen.
- the embodiment of the present invention provides a notification information processing apparatus, after detecting a user display operation and triggering a display instruction corresponding to the user display operation, determining a target application corresponding to the notification information, and further determining that the screen display state satisfies the condition
- the target application corresponding window is adjusted according to the preset adjustment policy corresponding to the display instruction. In this way, the target application of the notification information is adjusted by the preset interaction operation.
- the state of the display avoids the problem that the step of processing the notification information is complicated and the handling is inconvenient by opening or switching to the notification information in the notification bar, which can simplify the processing operation of the notification information, improve the operability, and improve the user experience of the device.
- the embodiment of the present invention further provides a notification information processing terminal 02 for implementing the notification information processing method provided by the embodiment of the present invention.
- the notification information processing terminal 02 includes:
- the external device interacts; for the specific hardware structure, refer to the electronic device in FIG. 1 , and details are not described herein again.
- Memory 023 is used to store instructions that are executed by processor 022 for detecting user display operations.
- the processor 022 executes the instruction and is further configured to trigger a display instruction corresponding to the user display operation, and the display instruction is used to indicate that the received notification information is displayed.
- the processor 022 executes the instruction and is further configured to determine, according to the application identifier indicated by the notification information, the target application corresponding to the notification information.
- the processor 022 executes the instruction, and is used to determine that the target application in the visible state exists on the current screen, and after the target application is in the window display mode, adjust the target application corresponding window according to the preset adjustment policy corresponding to the display instruction.
- the user display operation includes a plurality of different operation types
- the processor 022 executes the instruction, which may be specifically used to:
- a display instruction corresponding to the operation type is triggered according to the operation type of the user display operation
- processor 022 executing the instruction may also be specifically used to:
- the focus is assigned to the target application corresponding window.
- the processor 022 before performing the instruction to adjust one or more of the position, the size, and the display level of the target application corresponding window according to the preset adjustment policy corresponding to the display instruction,
- the implementation of this directive is also specifically used to:
- an initial parameter describing a current display state of the corresponding window of the target application including one or more of an initial position coordinate, an initial window size, and an initial display level
- executing the instruction is further specifically performed by:
- a restore command corresponding to the user restore operation is triggered, and the restore command is used to indicate that the target application corresponding window adjusted according to the preset adjustment policy is restored to the initial display state;
- the initial parameter is used to adjust one or more of the display position, the window size, and the display level of the corresponding window of the target application.
- the processor 022 after performing the instruction, adjusting one or more of a position, a size, and a display level of the target application corresponding window according to the preset adjustment policy corresponding to the display instruction,
- the implementation of this directive is also specifically used to:
- the target application is displayed as a corresponding operation interface according to the function module and/or the message sender.
- the processor 022 after performing the instruction, adjusting one or more of a position, a size, and a display level of the target application corresponding window according to the preset adjustment policy corresponding to the display instruction,
- the implementation of this directive is also specifically used to:
- Trigger a shutdown command corresponding to the user shutdown operation, and the shutdown instruction is used to indicate the target The application is closed;
- the processor 022 executes the instruction, which may be specifically used to:
- the target application After determining that the target application in the visible state does not exist on the current screen, the target application is displayed in a preset interface mode corresponding to the display instruction, and the preset interface mode is a full screen display mode or a window display mode.
- the processor 022 executes the instruction, which may be specifically used to:
- the target application is displayed in the foreground of the screen in the full screen display mode.
- the user display operation includes a plurality of different operation types
- the processor 022 executes the instruction, which may be specifically used to:
- a display instruction corresponding to the operation type is triggered according to the operation type of the user display operation
- processor 022 executing the instruction may also be specifically used to:
- the target application corresponding window is displayed in the window display mode according to the window display parameters.
- the execution instruction is further specifically used to:
- the execution instruction is further specifically used to:
- the shutdown instruction is used to indicate that the target application is closed;
- the embodiment of the present invention provides a notification information processing terminal, after detecting a user display operation and triggering a display instruction corresponding to the user display operation, determining a target application corresponding to the notification information, and further determining that the screen display state satisfies the condition
- the target application corresponding window is adjusted according to the preset adjustment policy corresponding to the display instruction.
- the display state of the target application corresponding to the notification information is adjusted by the preset interaction operation, thereby avoiding the problem that the step of processing the notification information is complicated and the control is inconvenient by opening or switching to the application in the notification bar, and the notification can be simplified.
- the processing of information improves handling and improves the user experience of the device.
- the disclosed systems, devices, and methods may be implemented in other manners.
- 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 Can be integrated into another system, or some features can be ignored or not executed.
- each functional unit may be integrated into one processing unit, or each unit may be physically included separately, or two or more units may be integrated into one unit.
- the above units may be implemented in the form of hardware or in the form of hardware plus software functional units.
- All or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions, and the foregoing program may be stored in a computer readable storage medium.
- the steps including the foregoing method embodiments are performed; and the foregoing storage medium includes: a USB flash drive, a mobile hard disk, a ROM (Read Only Memory), and a RAM (Random Access Memory).
- a USB flash drive a mobile hard disk
- ROM Read Only Memory
- RAM Random Access Memory
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
- Digital Computer Display Output (AREA)
- Telephone Function (AREA)
Abstract
一种通知信息处理方法、装置和终端,涉及终端应用技术领域,用于实现对智能终端设备通知信息的处理,提供一种处理通知信息的高效操作方式,能够简化操作步骤并提高设备的易用性与可操控性。其方法为:在检测用户显示操作(S101),并触发与该用户显示操作对应的显示指令后(S102),确定通知信息对应的目标应用程序(S103),进而在确定屏幕上存在处于可见状态的目标应用程序,且目标应用程序为窗口显示模式后,根据显示指令对应的预设调整策略调整目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项(S104)。
Description
本发明涉及终端应用技术领域,尤其涉及一种通知信息处理方法、装置和终端。
随着移动互联网技术与硬件技术的不断发展,基于智能终端设备(如:智能手机、平板电脑以及各种基于智能***的电子设备等)的应用也越来越广泛,而通知作为设备的一种常规处理机制,能够在设备接收到如短信(Short Message Service,SMS)、来电、社交应用中好友消息等不同类型的信息时,为用户发出提醒。
目前,以基于谷歌(Google)公司安卓(Android)操作***或苹果(Apple)公司苹果移动设备操作***(iOS)的智能终端设备为例,设备在实现信息的通知时,多采用顶部通知栏提醒的方式,用户通过点击或下拉通知栏查看通知信息,进而点击通知信息打开或切换至该通知信息所属的应用程序。
然而,由于通知栏一般位于设备屏幕的上边缘,且目前的智能终端设备呈大屏幕化的发展趋势,通过通知栏中的通知信息打开或切换至应用的操作,使得用户在处理通知信息的步骤繁杂且操控不便,设备的操作效率较差。
发明内容
本发明的实施例提供一种通知信息处理方法、装置和终端,用以解决通过通知栏中的通知信息打开应用导致处理通知信息的步骤繁杂且操控不便的问题。
为达到上述目的,本发明的实施例采用如下技术方案:
第一方面,提供了一种通知信息处理方法,包括:
检测用户显示操作;
触发所述用户显示操作对应的显示指令,所述显示指令用于指
示对接收到的通知信息进行显示;
根据所述通知信息指示的应用标识,确定所述通知信息对应的目标应用程序;
在确定当前屏幕上存在处于可见状态的所述目标应用程序,且所述目标应用程序为窗口显示模式后,根据所述显示指令对应的预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项。
结合第一方面,在第一种可能的实现方式中,
所述用户显示操作包括多种不同的操作类型,所述触发所述用户显示操作对应的显示指令包括:
根据所述用户显示操作的操作类型,触发与所述操作类型对应的显示指令;
所述根据所述显示指令对应的预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项包括:
根据触发的所述显示指令的类型,确定所述显示指令对应的调整参数,所述调整参数包括目标位置坐标和/或目标窗口大小;
将所述目标应用程序对应窗口移动到所述目标位置坐标,和/或,将所述目标应用程序对应窗口调整为所述目标窗口大小;
在确定所述目标应用程序不为屏幕前台应用程序时,为所述目标应用程序对应窗口分配焦点。
结合第一方面或第一方面的第一种可能的实现方式,在第二种可能的实现方式中,
在所述根据所述显示指令对应的预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之前,还包括:
记录描述所述目标应用程序对应窗口当前显示状态的初始参数,所述初始参数包括初始位置坐标、初始窗口大小以及初始显示层级中的一项或多项;
在所述根据所述显示指令对应的预设调整策略调整所述目标应
用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,还包括:
检测用户还原操作;
触发所述用户还原操作对应的还原指令,所述还原指令用于指示将根据预设调整策略调整后的所述目标应用程序对应窗口还原为初始显示状态;
根据所述还原指令的指示,使用所述初始参数调整所述目标应用程序对应窗口的显示位置、窗口大小以及显示层级中的一项或多项。
结合第一方面至第一方面的第二种可能的实现方式中的任一种,在第三种可能的实现方式中,在所述根据所述显示指令对应的预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,还包括:
根据所述通知信息指示的应用模块标识和/或发送者标识,确定所述目标应用程序中对应的功能模块和/或消息发送者;
根据所述功能模块和/或所述消息发送者,将所述目标应用程序显示为对应操作界面。
结合第一方面至第一方面的第三种可能的实现方式中的任一种,在第四种可能的实现方式中,在所述根据所述显示指令对应的预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,还包括:
检测用户关闭操作;
触发所述用户关闭操作对应的关闭指令,所述关闭指令用于指示将所述目标应用程序关闭;
根据所述关闭指令的指示,关闭所述目标应用程序,使得所述目标应用程序在屏幕上不可见。
结合第一方面,在第五种可能的实现方式中,还包括:
在确定当前屏幕上不存在处于可见状态的所述目标应用程序后,以所述显示指令对应的预设界面模式显示所述目标应用程序,
所述预设界面模式为全屏显示模式或窗口显示模式。
结合第一方面的第五种可能的实现方式,在第六种可能的实现方式中,所述以所述显示指令对应的预设界面模式显示所述目标应用程序包括:
在确定当前屏幕前台存在运行中的任一应用程序时,以所述窗口显示模式在屏幕前台显示所述目标应用程序;或,
在确定当前屏幕前台不存在任一运行中的应用程序时,以所述全屏显示模式在屏幕前台显示所述目标应用程序。
结合第一方面的第五种可能的实现方式或第六种可能的实现方式,在第七种可能的实现方式中,
所述用户显示操作包括多种不同的操作类型,所述触发所述用户显示操作对应的显示指令包括:
根据所述用户显示操作的操作类型,触发与所述操作类型对应的显示指令;
当所述预设界面模式为所述窗口显示模式时,所述以所述显示指令对应的预设界面模式显示所述目标应用程序包括:
根据触发的所述显示指令的类型,确定所述显示指令对应的窗口显示参数,所述窗口显示参数包括显示位置坐标和/或显示窗口大小;
根据所述窗口显示参数,以窗口显示模式显示所述目标应用程序对应窗口。
结合第一方面的第五种可能的实现方式至第七种可能的实现方式中的任一种,在第八种可能的实现方式中,在所述以所述显示指令对应的预设界面模式显示所述目标应用程序之后,还包括:
根据所述通知信息指示的应用模块标识和/或发送者标识,确定所述目标应用程序中对应的功能模块和/或消息发送者;
根据所述功能模块和/或所述消息发送者,将所述目标应用程序显示为对应操作界面。
结合第一方面的第五种可能的实现方式至第八种可能的实现方
式中的任一种,在第九种可能的实现方式中,在所述以所述显示指令对应的预设界面模式显示所述目标应用程序之后,还包括:
检测用户关闭操作;
触发所述用户关闭操作对应的关闭指令,所述关闭指令用于指示将所述目标应用程序关闭;
根据所述关闭指令的指示,关闭所述目标应用程序,使得所述目标应用程序在屏幕上不可见。
第二方面,提供一种通知信息处理装置,包括:
检测单元,用于检测用户显示操作;
触发单元,用于触发所述用户显示操作对应的显示指令,所述显示指令用于指示对接收到的通知信息进行显示;
确定单元,用于根据所述通知信息指示的应用标识,确定所述通知信息对应的目标应用程序;
调整单元,用于在确定当前屏幕上存在处于可见状态的所述目标应用程序,且所述目标应用程序为窗口显示模式后,根据所述显示指令对应的预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项。
结合第二方面,在第一种可能的实现方式中,
所述检测单元检测获取的所述用户显示操作包括多种不同的操作类型,所述触发单元用于:
根据所述用户显示操作的操作类型,触发与所述操作类型对应的显示指令;
所述调整单元用于:
根据触发的所述显示指令的类型,确定所述显示指令对应的调整参数,所述调整参数包括目标位置坐标和/或目标窗口大小;
将所述目标应用程序对应窗口移动到所述目标位置坐标,和/或,将所述目标应用程序对应窗口调整为所述目标窗口大小;
在确定所述目标应用程序不为屏幕前台应用程序时,为所述目标应用程序对应窗口分配焦点。
结合第二方面或第二方面的第一种可能的实现方式,在第二种可能的实现方式中,还包括记录单元、还原单元;
所述记录单元用于在所述调整单元根据所述显示指令对应的所述预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之前,记录描述所述目标应用程序对应窗口当前显示状态的初始参数,所述初始参数包括初始位置坐标、初始窗口大小以及初始显示层级中的一项或多项;
所述检测单元还用于在所述调整单元根据所述显示指令对应的所述预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,检测用户还原操作;
所述触发单元还用于在所述检测单元检测获取所述用户还原操作后,触发所述用户还原操作对应的还原指令,所述还原指令用于指示将根据预设调整策略调整后的所述目标应用程序对应窗口还原为初始显示状态;
所述还原单元用于在所述触发单元触发所述还原指令后,根据所述还原指令的指示,使用所述初始参数调整所述目标应用程序对应窗口的显示位置、窗口大小以及显示层级中的一项或多项。
结合第二方面至第二方面的第二种可能的实现方式中的任一种,在第三种可能的实现方式中,还包括导航单元,用于:
在所述调整单元根据所述显示指令对应的所述预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,根据所述通知信息指示的应用模块标识和/或发送者标识,确定所述目标应用程序中对应的功能模块和/或消息发送者;
根据所述功能模块和/或所述消息发送者,将所述目标应用程序显示为对应操作界面。
结合第二方面至第二方面的第三种可能的实现方式中的任一种,在第四种可能的实现方式中,还包括关闭单元;
所述检测单元还用于在所述调整单元根据所述显示指令对应的所述预设调整策略调整所述目标应用程序对应窗口的位置、大小以
及显示层级中的一项或多项之后,检测用户关闭操作;
所述触发单元还用于在所述检测单元检测获取所述用户关闭操作后,触发所述用户关闭操作对应的关闭指令,所述关闭指令用于指示将所述目标应用程序关闭;
所述关闭单元用于在所述触发单元触发所述关闭指令后,根据所述关闭指令的指示,关闭所述目标应用程序,使得所述目标应用程序在屏幕上不可见。
结合第二方面,在第五种可能的实现方式中,还包括:
显示单元,用于在确定当前屏幕上不存在处于可见状态的所述目标应用程序后,以所述显示指令对应的预设界面模式显示所述目标应用程序,所述预设界面模式为全屏显示模式或窗口显示模式。
结合第二方面的第五种可能的实现方式,在第六种可能的实现方式中,所述显示单元用于:
在确定当前屏幕前台存在运行中的任一应用程序时,以所述窗口显示模式在屏幕前台显示所述目标应用程序;或,
在确定当前屏幕前台不存在任一运行中的应用程序时,以所述全屏显示模式在屏幕前台显示所述目标应用程序。
结合第二方面的第五种可能的实现方式或第六种可能的实现方式,在第七种可能的实现方式中,
所述检测单元检测获取的所述用户显示操作包括多种不同的操作类型,所述触发单元用于:
根据所述用户显示操作的操作类型,触发与所述操作类型对应的显示指令;
当所述预设界面模式为所述窗口显示模式时,所述显示单元用于:
根据触发的所述显示指令的类型,确定所述显示指令对应的窗口显示参数,所述窗口显示参数包括显示位置坐标和/或显示窗口大小;
根据所述窗口显示参数,以窗口显示模式显示所述目标应用程
序对应窗口。
结合第二方面的第五种可能的实现方式至第七种可能的实现方式中的任一种,在第八种可能的实现方式中,还包括导航单元,用于:
在所述显示单元以所述显示指令对应的所述预设界面模式显示所述目标应用程序之后,根据所述通知信息指示的应用模块标识和/或发送者标识,确定所述目标应用程序中对应的功能模块和/或消息发送者;
根据所述功能模块和/或所述消息发送者,将所述目标应用程序显示为对应操作界面。
结合第二方面的第五种可能的实现方式至第八种可能的实现方式中的任一种,在第九种可能的实现方式中,还包括关闭单元;
所述检测单元还用于在所述显示单元以所述显示指令对应的所述预设界面模式显示所述目标应用程序之后,检测用户关闭操作;
所述触发单元还用于在所述检测单元检测获取所述用户关闭操作后,触发所述用户关闭操作对应的关闭指令,所述关闭指令用于指示将所述目标应用程序关闭;
所述关闭单元用于,在所述触发单元触发所述关闭指令后,根据所述关闭指令的指示,关闭所述目标应用程序,使得所述目标应用程序在屏幕上不可见。
第三方面,提供一种通知信息处理终端,包括:总线、以及连接到所述总线的处理器、存储器、通信模块、输入模块和输出模块;所述存储器用于存储指令;所述处理器执行所述指令用于:
检测用户显示操作;
触发所述用户显示操作对应的显示指令,所述显示指令用于指示对接收到的通知信息进行显示;
根据所述通知信息指示的应用标识,确定所述通知信息对应的目标应用程序;
在确定当前屏幕上存在处于可见状态的所述目标应用程序,且
所述目标应用程序为窗口显示模式后,根据所述显示指令对应的预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项。
结合第三方面,在第一种可能的实现方式中,
所述用户显示操作包括多种不同的操作类型,所述处理器执行所述指令具体用于:
根据所述用户显示操作的操作类型,触发与所述操作类型对应的显示指令;
所述处理器执行所述指令还具体用于:
根据触发的所述显示指令的类型,确定所述显示指令对应的调整参数,所述调整参数包括目标位置坐标和/或目标窗口大小;
将所述目标应用程序对应窗口移动到所述目标位置坐标,和/或,将所述目标应用程序对应窗口调整为所述目标窗口大小;
在确定所述目标应用程序不为屏幕前台应用程序时,为所述目标应用程序对应窗口分配焦点。
结合第三方面或第三方面的第一种可能的实现方式,在第二种可能的实现方式中,
所述处理器在执行所述指令根据所述显示指令对应的所述预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之前,执行所述指令还具体用于:
记录描述所述目标应用程序对应窗口当前显示状态的初始参数,所述初始参数包括初始位置坐标、初始窗口大小以及初始显示层级中的一项或多项;
所述处理器在执行所述指令根据所述显示指令对应的所述预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,执行所述指令还具体用于:
检测用户还原操作;
触发所述用户还原操作对应的还原指令,所述还原指令用于指示将根据预设调整策略调整后的所述目标应用程序对应窗口还原为
初始显示状态;
根据所述还原指令的指示,使用所述初始参数调整所述目标应用程序对应窗口的显示位置、窗口大小以及显示层级中的一项或多项。
结合第三方面至第三方面的第二种可能的实现方式中的任一种,在第三种可能的实现方式中,所述处理器在执行所述指令根据所述显示指令对应的所述预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,执行所述指令还具体用于:
根据所述通知信息指示的应用模块标识和/或发送者标识,确定所述目标应用程序中对应的功能模块和/或消息发送者;
根据所述功能模块和/或所述消息发送者,将所述目标应用程序显示为对应操作界面。
结合第三方面至第三方面的第三种可能的实现方式中的任一种,在第四种可能的实现方式中,所述处理器在执行所述指令根据所述显示指令对应的所述预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,执行所述指令还具体用于:
检测用户关闭操作;
触发所述用户关闭操作对应的关闭指令,所述关闭指令用于指示将所述目标应用程序关闭;
根据所述关闭指令的指示,关闭所述目标应用程序,使得所述目标应用程序在屏幕上不可见。
结合第三方面,在第五种可能的实现方式中,所述处理器执行所述指令还具体用于:
在确定当前屏幕上不存在处于可见状态的所述目标应用程序后,以所述显示指令对应的预设界面模式显示所述目标应用程序,所述预设界面模式为全屏显示模式或窗口显示模式。
结合第三方面的第五种可能的实现方式,在第六种可能的实现
方式中,所述处理器执行所述指令具体用于:
在确定当前屏幕前台存在运行中的任一应用程序时,以所述窗口显示模式在屏幕前台显示所述目标应用程序;或,
在确定当前屏幕前台不存在任一运行中的应用程序时,以所述全屏显示模式在屏幕前台显示所述目标应用程序。
结合第三方面的第五种可能的实现方式或第六种可能的实现方式,在第七种可能的实现方式中,
所述用户显示操作包括多种不同的操作类型,所述处理器执行所述指令具体用于:
根据所述用户显示操作的操作类型,触发与所述操作类型对应的显示指令;
所述处理器执行所述指令还具体用于:
根据触发的所述显示指令的类型,确定所述显示指令对应的窗口显示参数,所述窗口显示参数包括显示位置坐标和/或显示窗口大小;
根据所述窗口显示参数,以窗口显示模式显示所述目标应用程序对应窗口。
结合第三方面的第五种可能的实现方式至第七种可能的实现方式中的任一种,在第八种可能的实现方式中,所述处理器在执行所述指令以所述显示指令对应的所述预设界面模式显示所述目标应用程序之后,执行所述指令还具体用于:
根据所述通知信息指示的应用模块标识和/或发送者标识,确定所述目标应用程序中对应的功能模块和/或消息发送者;
根据所述功能模块和/或所述消息发送者,将所述目标应用程序显示为对应操作界面。
结合第三方面的第五种可能的实现方式至第八种可能的实现方式中的任一种,在第九种可能的实现方式中,所述处理器在执行所述指令以所述显示指令对应的所述预设界面模式显示所述目标应用程序之后,执行所述指令还具体用于:
检测用户关闭操作;
触发所述用户关闭操作对应的关闭指令,所述关闭指令用于指示将所述目标应用程序关闭;
根据所述关闭指令的指示,关闭所述目标应用程序,使得所述目标应用程序在屏幕上不可见。
可见,本发明实施例提供了一种通知信息处理方法、装置和终端,在检测用户显示操作,并触发与该用户显示操作对应的显示指令后,确定通知信息对应的目标应用程序,进而在确定屏幕显示状态满足条件时,根据显示指令对应的预设调整策略对目标应用程序对应窗口进行调整。这样,通过预设的交互操作调整通知信息对应的目标应用程序的显示状态,避免了现有技术中通过通知栏中的通知信息打开或切换至应用导致处理通知信息的步骤繁杂且操控不便的问题,因此,本发明相对于现有技术,能够简化通知信息的处理操作,提高可操控性,改善设备的用户体验。
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的一种电子设备的结构示意图;
图2为本发明实施例提供的一种电子设备屏幕显示模式示意图一;
图3为本发明实施例提供的一种电子设备屏幕显示模式示意图二;
图4为本发明实施例提供的一种通知信息处理方法的流程示意图;
图5为本发明实施例提供的另一种通知信息处理方法的流程示意图;
图6为本发明实施例提供的一种交互操作处理效果示意图一;
图7为本发明实施例提供的一种交互操作处理效果示意图二;
图8为本发明实施例提供的一种交互操作处理效果示意图三;
图9为本发明实施例提供的一种交互操作处理效果示意图四;
图10为本发明实施例提供的一种交互操作处理效果示意图五;
图11为本发明实施例提供的一种通知信息处理装置的结构示意图一;
图12为本发明实施例提供的一种通知信息处理装置的结构示意图二;
图13为本发明实施例提供的一种通知信息处理装置的结构示意图三;
图14为本发明实施例提供的一种通知信息处理装置的结构示意图四;
图15为本发明实施例提供的一种通知信息处理装置的结构示意图五;
图16为本发明实施例提供的一种通知信息处理装置的结构示意图六;
图17为本发明实施例提供的一种通知信息处理装置的结构示意图七;
图18为本发明实施例提供的一种通知信息处理终端的结构示意图。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图1为本发明实施例提供的一种电子设备的结构示意图,用于实施本发明实施例提供的一种通知信息处理方法。参见图1,该电
子设备包括:存储器001、处理器002、通信模块003、输入模块004、输出模块005以及连接上述各模块的总线006。
其中,存储器001用于存储操作***、应用程序以及相关数据等;处理器002用于通过运行存储在存储器001的操作***和/或应用程序执行电子设备的各项功能应用以及相关数据处理;值得一提的,处理器002协同存储器001,通过在模块内部维护的通知管理器007实现对电子设备当前所有通知信息的发布和/或管理。
通信模块003用于为电子设备提供通信信道,以便电子设备通过该通信信道与远端电子设备或服务器进行语音、文字、数据等形式的通信;输入模块004用于实现用户与电子设备之间的交互,并将交互情况提供给处理器002进行相应处理;输出模块005用于在处理器002的控制下实现电子设备数据或信息的输出,如在电子设备的屏幕上显示应用程序的用户界面(User Interface,UI)等。
进一步的,在本发明实施例中,存储器001中存储的操作***可以为Google公司的Android***、Apple公司的iOS***、微软(Microsoft)公司的Windows***/Windows Phone***等嵌入式操作***;
输入模块004所提供的交互方式具体可以通过物理按键、麦克风、触摸屏以及多种不同类型传感器件(包括但不限于加速度传感器、接近传感器、陀螺仪传感器等)实现;
输出模块005所提供的输出形式可以为使用具有影像输出功能的显示面板作为电子设备的屏幕显示输出。通知管理器007中管理的各通知信息可以为电子设备接收服务器发送的消息获取的(如iOS***),也可以为通过调用***接口发布的(如Android***)。
且上述列举的操作***、交互方式、输出形式及通知信息的获取形式仅为示例性的,实际的实现形式根据电子设备硬件配置的不同或应用场景的不同可能存在一定差异,此处不做限定。
需要说明的,电子设备基于上述操作***,处理器002通过控制输出模块005能够实现的应用程序UI显示状态,如图2所示,可
以包括全屏显示模式或窗口显示模式。进一步的,在窗口显示模式下,可实现同屏多窗的显示方式,即在屏幕上同时显示多个应用程序UI对应的应用窗口,如图3所示,具体还可以包括:分屏式多窗口模式(屏幕由多个应用窗口显示占满,各应用窗口不重叠)以及悬浮式多窗口模式(多个应用窗口可移动,且可重叠)。
本发明的实施例提供一种通知信息处理方法,该方法可以应用于如图1所示的电子设备或该电子设备中的一个功能模块,如图4所示,该方法包括:
S101、检测用户显示操作。
S102、触发所述用户显示操作对应的显示指令。
其中,显示指令用于指示对接收到的通知信息进行显示。
在一种实现方式下,上述用户显示操作包括多种不同的操作类型,电子设备可以根据用户显示操作的操作类型,触发与操作类型对应的显示指令。
S103、根据通知信息指示的应用标识,确定通知信息对应的目标应用程序。
S104、在确定当前屏幕上存在处于可见状态的目标应用程序,且目标应用程序为窗口显示模式后,根据显示指令对应的预设调整策略调整目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项。
在一种实现方式下,电子设备根据显示指令对应的预设调整策略调整目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项的操作,可以具体包括:
根据触发的显示指令的类型,确定显示指令对应的调整参数,调整参数包括目标位置坐标和/或目标窗口大小;
将目标应用程序对应窗口移动到目标位置坐标,和/或,将目标应用程序对应窗口调整为目标窗口大小;
在确定目标应用程序不为屏幕前台应用程序时,为目标应用程序对应窗口分配焦点。
在另一种实现方式下,电子设备在根据显示指令对应的预设调整策略调整目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之前,还可以记录描述目标应用程序对应窗口当前显示状态的初始参数,初始参数包括初始位置坐标、初始窗口大小以及初始显示层级中的一项或多项;
进一步的,在根据显示指令对应的预设调整策略调整目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,还可以:
检测用户还原操作;
触发用户还原操作对应的还原指令;
其中,还原指令用于指示将根据预设调整策略调整后的目标应用程序对应窗口还原为初始显示状态;
进而,根据还原指令的指示,使用初始参数调整目标应用程序对应窗口的显示位置、窗口大小以及显示层级中的一项或多项。
在另一种实现方式下,电子设备在根据显示指令对应的预设调整策略调整目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,还可以:
根据通知信息指示的应用模块标识和/或发送者标识,确定目标应用程序中对应的功能模块和/或消息发送者;
进而,根据功能模块和/或消息发送者,将目标应用程序显示为对应操作界面。
在另一种实现方式下,电子设备在根据显示指令对应的预设调整策略调整目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,还可以:
检测用户关闭操作;
触发用户关闭操作对应的关闭指令;
其中,关闭指令用于指示将目标应用程序关闭;
进而,根据关闭指令的指示,关闭目标应用程序,使得目标应用程序在屏幕上不可见。
在另一种实现方式下,电子设备还可以在确定当前屏幕上不存在处于可见状态的目标应用程序后,以预设界面模式显示目标应用程序。
其中,预设界面模式为全屏显示模式或窗口显示模式。
在另一种实现方式下,进一步的,电子设备以显示指令对应的预设界面模式显示目标应用程序的操作可以具体包括:
在确定当前屏幕前台存在运行中的任一应用程序时,以窗口显示模式在屏幕前台显示目标应用程序;或,在确定当前屏幕前台不存在任一运行中的应用程序时,以全屏显示模式在屏幕前台显示目标应用程序。
在另一种实现方式下,进一步的,当预设界面模式为窗口显示模式时,电子设备以显示指令对应的预设界面模式显示目标应用程序的操作可以具体包括:
根据触发的显示指令的类型,确定显示指令对应的窗口显示参数;
其中,窗口显示参数包括显示位置坐标和/或显示窗口大小。
进而,根据窗口显示参数,以窗口显示模式显示目标应用程序对应窗口。
在另一种实现方式下,进一步的,电子设备在以显示指令对应的预设界面模式显示目标应用程序之后,还可以:
根据通知信息指示的应用模块标识和/或发送者标识,确定目标应用程序中对应的功能模块和/或消息发送者;
进而,根据功能模块和/或消息发送者,将目标应用程序显示为对应操作界面。
在另一种实现方式下,进一步的,电子设备在以显示指令对应的预设界面模式显示目标应用程序之后,还可以:
检测用户关闭操作;
触发用户关闭操作对应的关闭指令;
其中,关闭指令用于指示将目标应用程序关闭;
进而,根据关闭指令的指示,关闭目标应用程序,使得目标应用程序在屏幕上不可见。
本发明实施例提供了一种通知信息处理方法,在检测用户显示操作,并触发与该用户显示操作对应的显示指令后,确定通知信息对应的目标应用程序,进而在确定屏幕显示状态满足条件时,根据显示指令对应的预设调整策略对目标应用程序对应窗口进行调整。这样,通过预设的交互操作调整通知信息对应的目标应用程序的显示状态,避免了通过通知栏中的通知信息打开或切换至应用导致处理通知信息的步骤繁杂且操控不便的问题,能够简化通知信息的处理操作,提高可操控性,改善设备的用户体验。
为了使本领域技术人员能够更清楚地理解本发明实施例提供的技术方案,下面基于如图1所示的电子设备,通过具体的实施例,对本发明实施例提供的另一种通知信息处理方法进行详细说明,如图5所示,该方法包括:
S201、检测用户对电子设备执行的用户显示操作。
具体的,电子设备的输入模块检测用户对电子设备执行的用户显示操作,生成相应的交互操作信息,并将该交互操作信息传递至处理器。
其中,用户显示操作可以包括:预设的显示动作、手势或语音等形式。上述用户对电子设备的操作可以由输入模块中的各交互检测器件检测获取,如通过触控屏检测触控操作、通过麦克风检测语音控制、通过动作相关传感器件检测动作操作等。
且上述用户显示操作可以为经由设备缺省设定或用户外部输入设定的,具体的设定的操作形式,此处不做限定。
S202、触发用户显示操作对应的显示指令。
具体的,电子设备的处理器在获取到输入模块检测用户对电子设备执行的用户显示操作而生成的相应交互操作信息后,确定当前是否存在未处理的通知信息,并在确定当前电子设备的通知管理器中存在通知信息的情况下触发用户显示操作对应的显示指令。
其中,该显示指令为处理器在确定当前存在未处理的通知信息的前提下,为响应用户的用户显示操作而触发的指令,用于指示对接收到的通知信息进行显示;且对该显示指令在电子设备各模块上的实现形式此处不做限定,可以为消息或数据包等,只要能够作为指示该模块执行相应操作的标识,都在本发明实施例的保护范围内。
示例性的,以用户显示操作为左右晃动设备(类型为一种预设的显示动作)的动作为例,上述处理器确定当前通知管理器中存在通知信息的应用场景具体可以包括:
电子设备的通知管理器在发布通知信息时,通过输出模块将该通知信息显示在通知栏上进行提醒,若输入模块中的加速度传感器在通知栏开始显示通知信息后的预设响应时间内检测到用户左右晃动设备的操作,则向处理器传递指示设备被左右晃动的交互操作信息,进而由处理器触发显示指令,指示执行后续操作,对当前屏幕情况进行判断。
或者,当输入模块中的加速度传感器检测到用户左右晃动设备操作的时刻不为通知管理器在通知栏上显示任一通知信息后的预设响应时间内,则电子设备的处理器在通过查询确定通知管理器中存在至少一个通知信息后,触发显示指令,指示执行后续操作,对当前屏幕情况进行判断;或,若电子设备确定通知管理器中不存任一个通知信息,则不响应该用户动作。
其中,上述预设响应时间为电子设备接收到用户的用户显示操作后能够直接触发对应的显示指令,无需对通知管理器进行判断的时间范围;且该预设响应时间大于或等于电子设备在接收到通知信息后,使用通知栏显示该通知信息以提醒用户的时长,可以为***缺省设定,也可以为用户外部输入给定,此处不做限定。
值得一提的,用户可以通过不同类型的用户显示操作与电子设备进行交互,电子设备的处理器根据用户显示操作的类型触发相应的不同类型的显示指令。在本实施例中,可以同时为设备设定多种不同形式的用户显示操作以便处理器触发相应的显示指令,且可以
预先为各不同类型的用户显示操作对应的显示指令标识相应的类型,如将左右晃动设备的操作对应的显示指令标识为第一操作类型,将上下晃动设备的操作对应的显示指令标识为第二操作类型等,进而电子设备在对通知信息进行后续处理时,可根据显示指令的类型对用户触发通知信息处理操作所采用的交互操作进行区分,针对不同的交互操作采用不同的处理方式。
且上述多种不同类型的用户显示操作与各显示指令类型的对应关系可以为设备缺省设定或用户外部输入设定,并预先记录在电子设备中的,具体的对应方式此处不做限定。
S203、对当前屏幕显示状态进行判断。
具体的,电子设备在触发用户显示操作对应的显示指令后,通过调用***接口,获取当前屏幕的显示状态,判断当前屏幕上是否存在处于可见状态的目标应用程序。
其中,该目标应用程序为通知信息所属的应用程序。需要说明的,电子设备可以通过通知管理器,获取该通知信息对应的相关参数,如通知信息的应用标识;该应用标识用于指示该通知信息所属的应用程序相关标识信息(如应用程序名称、应用程序路径等)。进而,能够根据通知信息指示的应用标识,确定该通知信息对应的目标应用程序。例如:若通知信息为短信信息,则对应的目标应用程序为短信应用;若通知信息为微博好友私信,则对应的目标应用程序为微博客户端,上述目标应用程序仅为示例性的,包括但不限于此。
目标应用程序处于可见状态是指该目标应用程序的用户界面显示在电子设备屏幕上对用户可见的位置。且需要注意的,处于可见状态的目标应用程序可以为屏幕前台显示(用户界面完全对用户可见),且已获得焦点(Focus),即能够与用户进行交互;或,也可以为屏幕背景显示(用户界面可以为完全对用户可见,也可以为部分对用户可见),且已失去焦点,即在重新获得焦点并切换至屏幕前台之前,不能与用户进行交互。
示例性的,以安卓***为例,目标应用程序的状态可以包括:激活或运行状态(目标应用程序运行在屏幕的前台)、暂停状态(目标应用程序失去焦点,但仍对用户可见)、停止状态(目标应用程序被其他应用程序完全覆盖而变暗)以及终止状态(目标应用程序被***清理出内存)。
进一步的,电子设备通过处理器调用***接口,获取输出模块中当前屏幕的显示状态,并判断当前屏幕上是否存在处于可见状态的目标应用程序。且该操作可以基于对目标应用程序状态的判断实现,具体可以包括:
电子设备在确定目标应用程序为暂停状态(即目标应用程序在当前屏幕上可见,且使用的显示模式为窗口显示模式)时,执行步骤S204操作,根据预设调整策略调整目标应用程序对应窗口;或者,在确定目标应用程序为停止或终止状态(即目标应用程序在当前屏幕上不可见)时,执行步骤S205操作,以预设界面模式显示目标应用程序;
值得一提的,在确定目标应用程序为激活或运行状态(即目标应用程序在屏幕前台运行中)时,可以直接执行步骤S206操作,对目标应用程序的界面进行导航,显示为对应功能界面;或,还可以在确定该目标应用程序为窗口显示模式后,执行步骤S204操作,根据预设调整策略调整目标应用程序对应窗口。
可选的,电子设备在确定目标应用程序为暂停状态时,还可以通过处理器控制输出模块使得该目标应用程序对应窗口呈现预设视觉效果,从而实现为用户进行提醒的效果。其中,预设视觉效果可以包括:窗口闪烁、高亮、半透明等,且上述列举的效果仅为示例性的,包括但不限于此。
S204、根据预设调整策略调整目标应用程序对应窗口。
具体的,电子设备的处理器在确定当前屏幕上存在处于可见状态的目标应用程序,且目标应用程序为窗口显示模式后,根据显示指令对应的预设调整策略调整目标应用程序对应窗口的位置、大小
以及显示层级中的一项或多项。
其中,预设调整策略指示了调整目标应用程序对应窗口所需的调整参数,该调整参数可以包括移动该对应窗口时的目标位置坐标,和/或,缩放该对应窗口时的目标尺寸。且上述显示指令与预设调整策略的对应关系在实际应用场景中,可以为***缺省设定或用户外部输入给定的,预先存储在电子设备中,具体的对应关系此处不做限定。
且需要注意的,当屏幕显示为多窗口模式时,各应用程序对应窗口具有不同的显示层级,依次呈叠放状态,当某一个应用程序对应窗口的显示层级为第一层(最上层)时,该应用程序为屏幕前台应用程序,且分配有焦点。在上述根据预设调整策略调整目标应用程序对应窗口时,若调整前的初始状态该对应窗口的显示层级不为第一层,则在调整时,需要将该对应窗口的显示层级调整为第一层,以便该目标应用程序获取焦点,即能够与用户进行交互;或,若调整前的初始状态该对应窗口的显示层级即为第一层,则无需再对该对应窗口的显示层级进行调整。
示例性的,电子设备在根据显示指令对应的预设调整策略调整目标应用程序对应窗口时,预设调整策略所采用的调整参数可以为***缺省或用户外部输入预先选定的,例如一律采用同一个预设的目标位置坐标,和/或,目标尺寸,且具体目标位置坐标、目标尺寸的设定情况,此处不做限定。其中,可选的,还可以限定预先设定的目标尺寸必须小于屏幕大小,即预设调整策略所提供的调整方式并不包含将目标应用程序对应窗口切换为全屏显示模式的显示方式,保证目标应用程序始终能够以窗口显示模式进行显示。
或者,显示指令对应的预设调整策略所采用的调整参数还可以为基于预先建立的不同类型显示指令与调整参数的对应关系,根据用户采用的交互操作形式选定的。
例如:如图6所示,假设应用程序1为目标应用程序、左倾斜设备操作对应的显示指令为第三操作类型、右倾斜设备操作对应的
显示指令为第四操作类型:
当检测到的用户显示操作为左倾斜设备操作,触发了第三操作类型的显示指令时,可以确定该显示指令类型对应的调整参数(该调整参数指示了一个位于屏幕左侧某一位置的坐标),进而根据该调整参数移动对应窗口至指示位置,并为该对应窗口分配焦点,使得该对应窗口位于屏幕前台;
或者,当检测到的用户显示操作为右倾斜设备操作,触发了第四操作类型的显示指令时,可以确定该显示指令类型对应的调整参数(该调整参数指示了一个位于屏幕右侧某一位置的坐标),进而根据该调整参数移动对应窗口至指示位置,并为该对应窗口分配焦点,使得该窗口位于屏幕前台。
且上述显示指令类型与调整参数的对应关系仅为示例性的,在实际应用场景中,可以为***缺省设定或用户外部输入给定的,预先存储在电子设备中,具体的对应关系包括但不限于此。
可选的,电子设备在根据预设调整策略调整目标应用程序对应窗口前,若选定的调整参数指示的目标位置坐标当前被其他任一应用程序窗口所遮挡,则在将目标应用程序对应窗口移动至上述目标位置坐标前,可以将该产生遮挡的应用程序窗口移动到目标应用程序对应窗口的当前位置或屏幕上任一处不对目标位置坐标产生遮挡的空闲区域。其中,需要注意的,在移动上述产生遮挡的应用程序窗口前,需要记录该应用窗口的位置及显示层级,以便后续操作还原该应用窗口的显示状态。
同时,可选的,在将目标应用程序对应窗口移至目标位置坐标并分配焦点后,若对调整操作前的前台应用程序产生了遮挡,电子设备的处理器还可以通过控制输出模块,将目标应用程序对应窗口半透明化,并保持上述调整操作前的前台应用程序继续运行,从而避免对用户当前进行中的活动造成中断。
进一步,优选的,电子设备在根据预设调整策略调整目标应用程序对应窗口前,还需要预先记录目标应用程序对应窗口当前的初
始位置坐标、初始窗口尺寸以及初始显示层级,以便后续操作根据记录的各项初始参数对目标应用程序对应窗口的显示状态进行还原。
进而,电子设备在根据预设调整策略调整目标应用程序对应窗口后,执行步骤S206,对目标应用程序的界面进行导航,显示为对应功能界面。
S205、以预设界面模式显示目标应用程序。
具体的,电子设备的处理器在确定当前屏幕上不存在处于可见状态的目标应用程序后,以显示指令对应的预设界面模式显示目标应用程序。
其中,预设界面模式可以为全屏显示模式或窗口显示模式。且上述显示指令与预设界面模式的对应关系在实际应用场景中,可以为***缺省设定或用户外部输入给定的,预先存储在电子设备中,具体的对应关系此处不做限定。
需要注意的,若上述目标应用程序为停止状态(即目标应用程序可能在电子设备后台运行)时,可直接显示或切换至该目标应用程序对应界面;或者,若上述目标应用程序为终止状态(即目标应用程序已完全退出或关闭)时,则需要在通过调用***接口启动该目标应用程序后,显示或切换至该目标应用程序对应界面。
示例性的,电子设备在以显示指令对应的预设界面模式显示目标应用程序时,所采用的预设界面模式类型可以为***缺省或用户外部输入预先选定的,例如一律采用全屏显示模式或一律采用窗口显示模式作为选定预设界面模式,且具体的预设选定方式,此处不做限定。
或者,所采用的预设界面模式类型还可以为基于预先建立的不同类型显示指令与预设界面模式对应关系,根据用户采用的交互操作形式选定的。
例如:如图7所示,假设左右晃动设备操作对应的显示指令为第一操作类型、上下晃动设备操作对应的显示指令为第二操作类型,
预先建立的对应关系可以包括:
当触发的显示指令为左右晃动设备操作对应的第一操作类型的显示指令时,采用的预设界面模式为窗口显示模式;或当触发的显示指令为上下晃动设备操作对应的第二操作类型的显示指令时,采用的预设界面模式为全屏显示模式。
又或,所采用的预设界面模式类型还可以为根据当前屏幕的显示状态选定的,以安卓操作***为例,具体可以包括:
在通过处理器确定当前存在处于激活或运行状态的任一应用程序(即当前屏幕前台存在运行中的任一应用程序)时,以窗口显示模式在前台显示目标应用程序,能够在显示目标应用程序的同时避免完全遮挡当前前台运行中的应用程序;或,在通过处理器确定设备的所有应用程序都为终止状态(即当前屏幕前台不存在任一运行中的应用程序)时,以全屏显示模式在前台显示目标应用程序,从而达到最佳的显示效果。
进一步,优选的,在选定窗口显示模式作为预设界面模式时,还可以基于预先建立的不同类型显示指令与窗口显示模式显示参数的对应关系,根据用户采用的交互操作形式确定窗口显示模式所采用的显示参数,其中,显示参数可以包括目标应用程序对应显示窗口的显示窗口大小,和/或,显示位置坐标等。根据用户采用的交互操作形式,能够确定采用窗口显示模式显示目标应用程序对应窗口时的显示方式。
例如:如图8所示,假设左倾斜设备操作对应的显示指令为第三操作类型、右倾斜设备操作对应的显示指令为第四操作类型:
当检测到的用户显示操作为左倾斜设备操作,触发了第三操作类型的显示指令时,可以确定该显示指令类型对应的显示参数(该显示参数指示了一个位于屏幕左侧某一位置的坐标),进而在屏幕左侧显示对应窗口;
或者,当检测到的用户显示操作为右倾斜设备操作,触发了第四操作类型的显示指令时,可以确定该显示指令类型对应的显示参
数(该显示参数指示了一个位于屏幕右侧某一位置的坐标),进而在屏幕右侧显示对应窗口。
且上述显示指令类型与显示参数的对应关系仅为示例性的,在实际应用场景中,可以为***缺省设定或用户外部输入给定的,预先存储在电子设备中,具体的对应关系包括但不限于此。
可选的,处理器在确定当前存在处于激活或运行状态的任一应用程序,并以窗口显示模式在前台显示目标应用程序时,还可以通过控制输出模块,将目标应用程序对应窗口半透明化,并保持上述处于激活或运行状态的应用程序继续运行,从而避免对用户当前进行中的活动造成中断。
进而,电子设备在以预设界面模式显示目标应用程序后,执行步骤S206,对目标应用程序的界面进行导航,显示为对应功能界面。
值得一提的,根据步骤S204操作与步骤S205操作可知,本实施例对显示指令与预设调整策略的对应关系、显示指令与预设界面模式的对应关系都不做限定,因而,同一种显示指令可以同时对应一种预设调整策略及一种预设显示模式,即在使用一种用户显示操作触发对通知信息的处理流程时,电子设备选择采用的处理方式,还与当前屏幕的显示状态有关,如:在确定当前屏幕上存在处于可见状态的目标应用程序,且目标应用程序为窗口显示模式时,根据该显示指令对应的预设调整策略调整目标应用程序对应窗口;或,在确定当前屏幕上不存在处于可见状态的目标应用程序时,以显示指令对应的预设界面模式显示目标应用程序。
进一步的,在一种实现方式下,根据用户的设置需求,即使当前屏幕的显示状态不同,采用同一个显示指令对应的预设调整策略进行调整或预设显示模式进行显示的最终效果可以相同(如图6与图8中应用程序1所示)。
S206、对目标应用程序的界面进行导航。
具体的,电子设备在根据预设调整策略调整目标应用程序对应窗口,或,以预设界面模式显示目标应用程序后,根据通知管理器
中的上述通知信息,确定该通知信息指示的应用模块标识和/或发送者标识,进而确定该通知信息对应的功能模块和/或消息发送者,将目标应用程序显示为对应界面。
示例性的,以安卓操作***下的微信(Wechat)客户端作为目标应用程序的情况为例,若通知管理器中的上述通知信息为微信联系人A发送的聊天对话信息,则根据该通知信息,可确定微信客户端中对应的应用模块标识指示的功能模块为聊天功能模块,发送者标识指示的消息发送者为联系人A,进而,即可将微信客户端的显示界面导航至聊天功能模块中的联系人A,显示为与联系人A的聊天界面。
需要注意的,若电子设备是在根据预设调整策略调整目标应用程序对应窗口后执行的本步骤操作,则在对目标应用程序的界面进行导航后,可以执行步骤S207操作,检测用户对电子设备的用户还原操作,对根据显示指令对应的预设调整策略调整后的目标应用程序对应窗口显示状态进行还原,此外,还可以直接执行步骤S208操作,关闭目标应用程序。
或者,若电子设备是在以显示指令对应的预设界面模式显示目标应用程序后执行的本步骤操作,则在对目标应用程序的界面进行导航后,可以直接执行步骤S208操作,关闭目标应用程序。
S207、检测用户对电子设备执行的用户还原操作,并触发相应的还原指令。
具体的,电子设备的输入模块检测用户对电子设备执行的用户还原操作,生成相应的交互操作信息,并将该交互操作信息传递至处理器,进而处理器在确定上述目标应用程序处于激活或运行状态(即目标应用程序未被关闭且保持为前台应用程序)的情况下,触发还原指令,对目标应用程序对应窗口的显示状态进行还原。
其中,用户还原操作可以包括:预设的还原动作、手势或语音等形式。且上述用户还原操作可以为经由设备缺省设定或用户外部输入设定的,但需要注意的,设定的还原动作、手势或语音不能与
设定的用户显示操作相同,具体的操作形式,此处不做限定。
该还原指令为处理器在确定当前目标应用程序未被关闭且保持为前台应用程序的前提下,为响应用户的用户还原操作而触发的指令,用于指示对根据预设调整策略调整后的目标应用程序对应窗口显示状态进行还原;且对该还原指令在电子设备各模块上的实现形式此处不做限定,可以为消息或数据包等,只要能够作为指示该模块执行相应操作的标识,都在本发明实施例的保护范围内。
示例性的,如图9所示,以应用程序1为目标应用程序、以用户还原操作为双指向下滑动(类型为一种预设的还原手势)的手势为例,在根据显示指令对应的预设调整策略调整目标应用程序对应窗口后,电子设备的输入模块检测接收用户对电子设备执行的该双指向下滑动手势操作,处理器在确定上述目标应用程序当前处于激活或运行状态(即目标应用程序未关闭且保持为前台应用程序)的情况下,触发还原操作指令,进而根据记录的目标应用程序对应窗口的初始位置坐标、初始窗口尺寸以及初始显示层级,调整该对应窗口的位置、大小以及显示层级中的一项或多项,恢复该对应窗口的初始显示状态。
可选的,若电子设备在根据预设调整策略调整目标应用程序对应窗口时,存在将遮挡目标位置坐标的某一个应用窗口移动至其他位置的操作,则还需要根据记录的该产生遮挡的应用窗口的位置及显示层级,对该应用窗口进行还原。
进而,电子设备还可以在对目标应用程序对应窗口的显示状态进行还原后,执行步骤S208操作,关闭目标应用程序。
S208、检测用户对电子设备执行的用户关闭操作,并触发相应的关闭指令。
具体的,电子设备的输入模块检测用户对电子设备执行的用户关闭操作,生成相应的交互操作信息,并将该交互操作信息传递至处理器,进而处理器在确定上述目标应用程序不为终止状态(即目标应用程序未被关闭)的情况下,触发关闭指令,执行对该目标应
用程序的关闭操作。
其中,用户关闭操作可以包括:预设的关闭动作、手势或语音等形式。且上述用户关闭操作可以为经由设备缺省设定或用户外部输入设定的,但需要注意的,设定的关闭动作、手势或语音不能与设定的用户显示操作或用户还原操作相同,具体的操作形式,此处不做限定。
该关闭指令为处理器在确定当前目标应用程序未被关闭的前提下,为响应用户的用户关闭操作而触发的指令,用于指示对响应用户显示操作后处理的通知信息对应目标应用程序进行关闭;且对该关闭指令在电子设备各模块上的实现形式此处不做限定,可以为消息或数据包等,只要能够作为指示该模块执行相应操作的标识,都在本发明实施例的保护范围内。
示例性的,如图10所示,以应用程序1为目标应用程序、以用户关闭操作为双指向上滑动(类型为一种预设的还原手势)的手势为例,在根据显示指令对应的预设调整策略调整目标应用程序对应窗口或以显示指令对应的预设界面模式显示目标应用程序后,电子设备的输入模块检测接收用户对电子设备执行的该双指向上滑动手势操作,处理器在确定上述目标应用程序当前不为终止状态时(即目标应用程序未关闭)的情况下,触发关闭操作指令,进而关闭该目标应用程序。
值得一提的,当电子设备的通知管理器中存在多条通知信息时,可通过重复多次执行上述步骤S201至S208的操作,对各通知信息依次进行处理;或,选择性的重复或连续执行上述步骤S201至S208操作中的一步或多步,如:重复多次执行上述步骤S201至S207操作,之后再连续重复多次步骤S208操作,在累计显示多条信息后,依次关闭。且上述处理多条通知信息采用的操作步骤仅为示例性的,包括但不限于此,用户可以根据实际使用需求,执行上述步骤S201至S208操作多种类型嵌套,此处不做限定。
本发明实施例提供了一种通知信息处理方法,在检测用户显示
操作,并触发与该用户显示操作对应的显示指令后,确定通知信息对应的目标应用程序,进而在确定屏幕显示状态满足条件时,根据显示指令对应的预设调整策略对目标应用程序对应窗口进行调整。这样,通过预设的交互操作调整通知信息对应的目标应用程序的显示状态,避免了现有技术中通过通知栏中的通知信息打开或切换至应用导致处理通知信息的步骤繁杂且操控不便的问题,因此,本发明相对于现有技术,能够简化通知信息的处理操作,提高可操控性,改善设备的用户体验。
本发明实施例提供一种通知信息处理装置01,该装置01用于实施本发明实施例提供的一种通知信息处理方法,可以为如图1所示的电子设备,也可以为该设备中的一个功能模块,如图11所示,该装置01包括:
检测单元011,用于检测用户显示操作。
触发单元012,用于触发用户显示操作对应的显示指令。
其中,显示指令用于指示对接收到的通知信息进行显示。
确定单元013,用于根据通知信息指示的应用标识,确定通知信息对应的目标应用程序。
调整单元014,用于在确定当前屏幕上存在处于可见状态的目标应用程序,且目标应用程序为窗口显示模式后,根据显示指令对应的预设调整策略调整目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项。
需说明的是,其中虚线表示单元之间可以具备连接关系,也可以不具备直接的连接关系,比如触发单元012和确定单元013之间可以不存在信息交互,触发单元012可以在触发显示指令时通知确定单元013,也可以没有通知,由装置进行统一调控;虚线框表示该单元在该装置中可以存在,也可以不存在,此处不做限定。
可选的,检测单元011检测获取的用户显示操作可以包括多种不同的操作类型,触发单元012可以具体用于:
根据用户显示操作的操作类型,触发与操作类型对应的显示指
令。
进一步的,调整单元014可以具体用于:
根据触发的显示指令的类型,确定显示指令对应的调整参数,调整参数包括目标位置坐标和/或目标窗口大小;
将目标应用程序对应窗口移动到目标位置坐标,和/或,将目标应用程序对应窗口调整为目标窗口大小;
在确定目标应用程序不为屏幕前台应用程序时,为目标应用程序对应窗口分配焦点。
可选的,如图12所示,该装置01还可以包括:记录单元015、还原单元016,具体的:
记录单元015用于在调整单元014根据显示指令对应的预设调整策略调整目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之前,记录描述目标应用程序对应窗口当前显示状态的初始参数。
其中,初始参数包括初始位置坐标、初始窗口大小以及初始显示层级中的一项或多项。
进一步的,检测单元011还可以用于在调整单元014根据显示指令对应的预设调整策略调整目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,检测用户还原操作。
再进一步的,触发单元012还可以用于在检测单元011检测获取用户还原操作后,触发用户还原操作对应的还原指令。
其中,还原指令用于指示将根据预设调整策略调整后的目标应用程序对应窗口还原为初始显示状态。
再进一步的,还原单元016用于在触发单元012触发还原指令后,根据还原指令的指示,使用初始参数调整目标应用程序对应窗口的显示位置、窗口大小以及显示层级中的一项或多项。
可选的,如图13所示,该装置01还可以包括导航单元017,可以具体用于:
在调整单元014根据显示指令对应的预设调整策略调整目标应
用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,根据通知信息指示的应用模块标识和/或发送者标识,确定目标应用程序中对应的功能模块和/或消息发送者;
根据功能模块和/或消息发送者,将目标应用程序显示为对应操作界面。
可选的,如图14所示,该装置01还可以包括关闭单元018,具体的:
检测单元011还可以用于在调整单元014根据显示指令对应的预设调整策略调整目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,检测用户关闭操作。
进一步的,触发单元012还可以用于在检测单元011检测获取用户关闭操作后,触发用户关闭操作对应的关闭指令。
其中,关闭指令用于指示将目标应用程序关闭。
再进一步的,关闭单元018用于在触发单元012触发关闭指令后,根据关闭指令的指示,关闭目标应用程序,使得目标应用程序在屏幕上不可见。
可选的,如图15所示,该装置01还可以包括:
显示单元019,用于在确定当前屏幕上不存在处于可见状态的目标应用程序后,以显示指令对应的预设界面模式显示目标应用程序。
其中,预设界面模式为全屏显示模式或窗口显示模式。
进一步,可选的,该显示单元019可以具体用于:
在确定当前屏幕前台存在运行中的任一应用程序时,以窗口显示模式在屏幕前台显示目标应用程序;或,
在确定当前屏幕前台不存在任一运行中的应用程序时,以全屏显示模式在屏幕前台显示目标应用程序。
进一步,可选的,检测单元011检测获取的用户显示操作可以包括多种不同的操作类型,触发单元012可以具体用于:
根据用户显示操作的操作类型,触发与操作类型对应的显示指
令。
再进一步的,当预设界面模式为窗口显示模式时,显示单元019可以具体用于:
根据触发的显示指令的类型,确定显示指令对应的窗口显示参数,窗口显示参数包括显示位置坐标和/或显示窗口大小;
根据窗口显示参数,以窗口显示模式显示目标应用程序对应窗口。
进一步,可选的,如图16所示,该装置01还可以包括导航单元0110,可以具体用于:
在显示单元019以显示指令对应的预设界面模式显示目标应用程序之后,根据通知信息指示的应用模块标识和/或发送者标识,确定目标应用程序中对应的功能模块和/或消息发送者;
根据功能模块和/或消息发送者,将目标应用程序显示为对应操作界面。
进一步,可选的,如图17所示,该装置01还可以包括关闭单元0111,具体的:
检测单元011还可以用于在显示单元019以显示指令对应的预设界面模式显示目标应用程序之后,检测用户关闭操作。
进一步的,触发单元012还可以用于在检测单元011检测获取用户关闭操作后,触发用户关闭操作对应的关闭指令。
其中,关闭指令用于指示将目标应用程序关闭。
再进一步的,关闭单元0111用于在触发单元012触发关闭指令后,根据关闭指令的指示,关闭目标应用程序,使得目标应用程序在屏幕上不可见。
本发明实施例提供了一种通知信息处理装置,在检测用户显示操作,并触发与该用户显示操作对应的显示指令后,确定通知信息对应的目标应用程序,进而在确定屏幕显示状态满足条件时,根据显示指令对应的预设调整策略对目标应用程序对应窗口进行调整。这样,通过预设的交互操作调整通知信息对应的目标应用程序的显
示状态,避免了通过通知栏中的通知信息打开或切换至应用导致处理通知信息的步骤繁杂且操控不便的问题,能够简化通知信息的处理操作,提高可操控性,改善设备的用户体验。
本发明实施例还提供一种通知信息处理终端02,用于实施本发明实施例提供的通知信息处理方法,如图18所示,该通知信息处理终端02包括:
总线021,以及连接到总线的处理器022、存储器023、通信模块024、输入模块025和输出模块026,其中,通信模块024用于为终端提供通信服务,输入模块025和输出模块026用于与外部设备进行交互;其具体硬件结构参见图1的电子设备,此处不再赘述。
存储器023用于存储指令,该处理器022执行该指令用于检测用户显示操作。
该处理器022执行该指令还用于触发用户显示操作对应的显示指令,显示指令用于指示对接收到的通知信息进行显示。
该处理器022执行该指令还用于根据通知信息指示的应用标识,确定通知信息对应的目标应用程序。
该处理器022执行该指令还用于在确定当前屏幕上存在处于可见状态的目标应用程序,且目标应用程序为窗口显示模式后,根据显示指令对应的预设调整策略调整目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项。
在本发明实施例中,可选的,用户显示操作包括多种不同的操作类型,该处理器022执行该指令可以具体用于:
根据用户显示操作的操作类型,触发与操作类型对应的显示指令;
进一步的,该处理器022执行该指令还可以具体用于:
根据触发的显示指令的类型,确定显示指令对应的调整参数,调整参数包括目标位置坐标和/或目标窗口大小;
将目标应用程序对应窗口移动到目标位置坐标,和/或,将目标应用程序对应窗口调整为目标窗口大小;
在确定目标应用程序不为屏幕前台应用程序时,为目标应用程序对应窗口分配焦点。
在本发明实施例中,可选的,该处理器022在执行该指令根据显示指令对应的预设调整策略调整目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之前,执行该指令还具体用于:
记录描述目标应用程序对应窗口当前显示状态的初始参数,初始参数包括初始位置坐标、初始窗口大小以及初始显示层级中的一项或多项;
该处理器022在执行该指令根据显示指令对应的预设调整策略调整目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,执行该指令还具体用于:
检测用户还原操作;
触发用户还原操作对应的还原指令,还原指令用于指示将根据预设调整策略调整后的目标应用程序对应窗口还原为初始显示状态;
根据还原指令的指示,使用初始参数调整目标应用程序对应窗口的显示位置、窗口大小以及显示层级中的一项或多项。
在本发明实施例中,可选的,该处理器022在执行该指令根据显示指令对应的预设调整策略调整目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,执行该指令还具体用于:
根据通知信息指示的应用模块标识和/或发送者标识,确定目标应用程序中对应的功能模块和/或消息发送者;
根据功能模块和/或消息发送者,将目标应用程序显示为对应操作界面。
在本发明实施例中,可选的,该处理器022在执行该指令根据显示指令对应的预设调整策略调整目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,执行该指令还具体用于:
检测用户关闭操作;
触发用户关闭操作对应的关闭指令,关闭指令用于指示将目标
应用程序关闭;
根据关闭指令的指示,关闭目标应用程序,使得目标应用程序在屏幕上不可见。
在本发明实施例中,可选的,该处理器022执行该指令可以具体用于:
在确定当前屏幕上不存在处于可见状态的目标应用程序后,以显示指令对应的预设界面模式显示目标应用程序,预设界面模式为全屏显示模式或窗口显示模式。
在本发明实施例中,可选的,该处理器022执行该指令可以具体用于:
在确定当前屏幕前台存在运行中的任一应用程序时,以窗口显示模式在屏幕前台显示目标应用程序;或,
在确定当前屏幕前台不存在任一运行中的应用程序时,以全屏显示模式在屏幕前台显示目标应用程序。
在本发明实施例中,可选的,用户显示操作包括多种不同的操作类型,该处理器022执行该指令可以具体用于:
根据用户显示操作的操作类型,触发与操作类型对应的显示指令;
进一步的,该处理器022执行该指令还可以具体用于:
根据触发的显示指令的类型,确定显示指令对应的窗口显示参数,窗口显示参数包括显示位置坐标和/或显示窗口大小;
根据窗口显示参数,以窗口显示模式显示目标应用程序对应窗口。
在本发明实施例中,可选的,该处理器022在执行该指令以显示指令对应的预设界面模式显示目标应用程序之后,执行指令还具体用于:
根据通知信息指示的应用模块标识和/或发送者标识,确定目标应用程序中对应的功能模块和/或消息发送者;
根据功能模块和/或消息发送者,将目标应用程序显示为对应操
作界面。
在本发明实施例中,可选的,该处理器022在执行该指令以显示指令对应的预设界面模式显示目标应用程序之后,执行指令还具体用于:
检测用户关闭操作;
触发用户关闭操作对应的关闭指令,关闭指令用于指示将目标应用程序关闭;
根据关闭指令的指示,关闭目标应用程序,使得目标应用程序在屏幕上不可见。
本发明实施例提供了一种通知信息处理终端,在检测用户显示操作,并触发与该用户显示操作对应的显示指令后,确定通知信息对应的目标应用程序,进而在确定屏幕显示状态满足条件时,根据显示指令对应的预设调整策略对目标应用程序对应窗口进行调整。这样,通过预设的交互操作调整通知信息对应的目标应用程序的显示状态,避免了通过通知栏中的通知信息打开或切换至应用导致处理通知信息的步骤繁杂且操控不便的问题,能够简化通知信息的处理操作,提高可操控性,改善设备的用户体验。
在本申请所提供的几个实施例中,应该理解到,所揭露的***,设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。
另外,在本发明各个实施例中的设备和***中,各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理包括,也可以两个或两个以上单元集成在一个单元中。且上述的各单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,
该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:U盘、移动硬盘、ROM(Read Only Memory,只读存储器)、RAM(Random Access Memory,随机存取存储器)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。
Claims (30)
- 一种通知信息处理方法,其特征在于,包括:检测用户显示操作;触发所述用户显示操作对应的显示指令,所述显示指令用于指示对接收到的通知信息进行显示;根据所述通知信息指示的应用标识,确定所述通知信息对应的目标应用程序;在确定当前屏幕上存在处于可见状态的所述目标应用程序,且所述目标应用程序为窗口显示模式后,根据所述显示指令对应的预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项。
- 根据权利要求1所述的方法,其特征在于,所述用户显示操作包括多种不同的操作类型,所述触发所述用户显示操作对应的显示指令包括:根据所述用户显示操作的操作类型,触发与所述操作类型对应的显示指令;所述根据所述显示指令对应的预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项包括:根据触发的所述显示指令的类型,确定所述显示指令对应的调整参数,所述调整参数包括目标位置坐标和/或目标窗口大小;将所述目标应用程序对应窗口移动到所述目标位置坐标,和/或,将所述目标应用程序对应窗口调整为所述目标窗口大小;在确定所述目标应用程序不为屏幕前台应用程序时,为所述目标应用程序对应窗口分配焦点。
- 根据权利要求1或2所述的方法,其特征在于,在所述根据所述显示指令对应的预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之前,还包括:记录描述所述目标应用程序对应窗口当前显示状态的初始参数, 所述初始参数包括初始位置坐标、初始窗口大小以及初始显示层级中的一项或多项;在所述根据所述显示指令对应的预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,还包括:检测用户还原操作;触发所述用户还原操作对应的还原指令,所述还原指令用于指示将根据预设调整策略调整后的所述目标应用程序对应窗口还原为初始显示状态;根据所述还原指令的指示,使用所述初始参数调整所述目标应用程序对应窗口的显示位置、窗口大小以及显示层级中的一项或多项。
- 根据权利要求1至3任一所述的方法,其特征在于,在所述根据所述显示指令对应的预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,还包括:根据所述通知信息指示的应用模块标识和/或发送者标识,确定所述目标应用程序中对应的功能模块和/或消息发送者;根据所述功能模块和/或所述消息发送者,将所述目标应用程序显示为对应操作界面。
- 根据权利要求1至4任一所述的方法,其特征在于,在所述根据所述显示指令对应的预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,还包括:检测用户关闭操作;触发所述用户关闭操作对应的关闭指令,所述关闭指令用于指示将所述目标应用程序关闭;根据所述关闭指令的指示,关闭所述目标应用程序,使得所述目标应用程序在屏幕上不可见。
- 根据权利要求1所述的方法,其特征在于,还包括:在确定当前屏幕上不存在处于可见状态的所述目标应用程序后,以所述显示指令对应的预设界面模式显示所述目标应用程序,所述预 设界面模式为全屏显示模式或窗口显示模式。
- 根据权利要求6所述的方法,其特征在于,所述以所述显示指令对应的预设界面模式显示所述目标应用程序包括:在确定当前屏幕前台存在运行中的任一应用程序时,以所述窗口显示模式在屏幕前台显示所述目标应用程序;或,在确定当前屏幕前台不存在任一运行中的应用程序时,以所述全屏显示模式在屏幕前台显示所述目标应用程序。
- 根据权利要求6或7所述的方法,其特征在于,所述用户显示操作包括多种不同的操作类型,所述触发所述用户显示操作对应的显示指令包括:根据所述用户显示操作的操作类型,触发与所述操作类型对应的显示指令;当所述预设界面模式为所述窗口显示模式时,所述以所述显示指令对应的预设界面模式显示所述目标应用程序包括:根据触发的所述显示指令的类型,确定所述显示指令对应的窗口显示参数,所述窗口显示参数包括显示位置坐标和/或显示窗口大小;根据所述窗口显示参数,以窗口显示模式显示所述目标应用程序对应窗口。
- 根据权利要求6至8任一所述的方法,其特征在于,在所述以所述显示指令对应的预设界面模式显示所述目标应用程序之后,还包括:根据所述通知信息指示的应用模块标识和/或发送者标识,确定所述目标应用程序中对应的功能模块和/或消息发送者;根据所述功能模块和/或所述消息发送者,将所述目标应用程序显示为对应操作界面。
- 根据权利要求6至9任一所述的方法,其特征在于,在所述以所述显示指令对应的预设界面模式显示所述目标应用程序之后,还包括:检测用户关闭操作;触发所述用户关闭操作对应的关闭指令,所述关闭指令用于指示将所述目标应用程序关闭;根据所述关闭指令的指示,关闭所述目标应用程序,使得所述目标应用程序在屏幕上不可见。
- 一种通知信息处理装置,其特征在于,包括:检测单元,用于检测用户显示操作;触发单元,用于触发所述用户显示操作对应的显示指令,所述显示指令用于指示对接收到的通知信息进行显示;确定单元,用于根据所述通知信息指示的应用标识,确定所述通知信息对应的目标应用程序;调整单元,用于在确定当前屏幕上存在处于可见状态的所述目标应用程序,且所述目标应用程序为窗口显示模式后,根据所述显示指令对应的预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项。
- 根据权利要求11所述的装置,其特征在于,所述检测单元检测获取的所述用户显示操作包括多种不同的操作类型,所述触发单元用于:根据所述用户显示操作的操作类型,触发与所述操作类型对应的显示指令;所述调整单元用于:根据触发的所述显示指令的类型,确定所述显示指令对应的调整参数,所述调整参数包括目标位置坐标和/或目标窗口大小;将所述目标应用程序对应窗口移动到所述目标位置坐标,和/或,将所述目标应用程序对应窗口调整为所述目标窗口大小;在确定所述目标应用程序不为屏幕前台应用程序时,为所述目标应用程序对应窗口分配焦点。
- 根据权利要求11或12所述的装置,其特征在于,还包括记录单元、还原单元;所述记录单元用于在所述调整单元根据所述显示指令对应的所 述预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之前,记录描述所述目标应用程序对应窗口当前显示状态的初始参数,所述初始参数包括初始位置坐标、初始窗口大小以及初始显示层级中的一项或多项;所述检测单元还用于在所述调整单元根据所述显示指令对应的所述预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,检测用户还原操作;所述触发单元还用于在所述检测单元检测获取所述用户还原操作后,触发所述用户还原操作对应的还原指令,所述还原指令用于指示将根据预设调整策略调整后的所述目标应用程序对应窗口还原为初始显示状态;所述还原单元用于在所述触发单元触发所述还原指令后,根据所述还原指令的指示,使用所述初始参数调整所述目标应用程序对应窗口的显示位置、窗口大小以及显示层级中的一项或多项。
- 根据权利要求11至13任一所述的装置,其特征在于,还包括导航单元,用于:在所述调整单元根据所述显示指令对应的所述预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,根据所述通知信息指示的应用模块标识和/或发送者标识,确定所述目标应用程序中对应的功能模块和/或消息发送者;根据所述功能模块和/或所述消息发送者,将所述目标应用程序显示为对应操作界面。
- 根据权利要求11至14任一所述的装置,其特征在于,还包括关闭单元;所述检测单元还用于在所述调整单元根据所述显示指令对应的所述预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,检测用户关闭操作;所述触发单元还用于在所述检测单元检测获取所述用户关闭操作后,触发所述用户关闭操作对应的关闭指令,所述关闭指令用于指 示将所述目标应用程序关闭;所述关闭单元用于在所述触发单元触发所述关闭指令后,根据所述关闭指令的指示,关闭所述目标应用程序,使得所述目标应用程序在屏幕上不可见。
- 根据权利要求11所述的装置,其特征在于,还包括:显示单元,用于在确定当前屏幕上不存在处于可见状态的所述目标应用程序后,以所述显示指令对应的预设界面模式显示所述目标应用程序,所述预设界面模式为全屏显示模式或窗口显示模式。
- 根据权利要求16所述的装置,其特征在于,所述显示单元用于:在确定当前屏幕前台存在运行中的任一应用程序时,以所述窗口显示模式在屏幕前台显示所述目标应用程序;或,在确定当前屏幕前台不存在任一运行中的应用程序时,以所述全屏显示模式在屏幕前台显示所述目标应用程序。
- 根据权利要求16或17所述的装置,其特征在于,所述检测单元检测获取的所述用户显示操作包括多种不同的操作类型,所述触发单元用于:根据所述用户显示操作的操作类型,触发与所述操作类型对应的显示指令;当所述预设界面模式为所述窗口显示模式时,所述显示单元用于:根据触发的所述显示指令的类型,确定所述显示指令对应的窗口显示参数,所述窗口显示参数包括显示位置坐标和/或显示窗口大小;根据所述窗口显示参数,以窗口显示模式显示所述目标应用程序对应窗口。
- 根据权利要求16至18任一所述的装置,其特征在于,还包括导航单元,用于:在所述显示单元以所述显示指令对应的所述预设界面模式显示所述目标应用程序之后,根据所述通知信息指示的应用模块标识和/ 或发送者标识,确定所述目标应用程序中对应的功能模块和/或消息发送者;根据所述功能模块和/或所述消息发送者,将所述目标应用程序显示为对应操作界面。
- 根据权利要求16至19任一所述的装置,其特征在于,还包括关闭单元;所述检测单元还用于在所述显示单元以所述显示指令对应的所述预设界面模式显示所述目标应用程序之后,检测用户关闭操作;所述触发单元还用于在所述检测单元检测获取所述用户关闭操作后,触发所述用户关闭操作对应的关闭指令,所述关闭指令用于指示将所述目标应用程序关闭;所述关闭单元用于,在所述触发单元触发所述关闭指令后,根据所述关闭指令的指示,关闭所述目标应用程序,使得所述目标应用程序在屏幕上不可见。
- 一种通知信息处理终端,其特征在于,包括:总线、以及连接到所述总线的处理器、存储器、通信模块、输入模块和输出模块;所述存储器用于存储指令;所述处理器执行所述指令用于:检测用户显示操作;触发所述用户显示操作对应的显示指令,所述显示指令用于指示对接收到的通知信息进行显示;根据所述通知信息指示的应用标识,确定所述通知信息对应的目标应用程序;在确定当前屏幕上存在处于可见状态的所述目标应用程序,且所述目标应用程序为窗口显示模式后,根据所述显示指令对应的预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项。
- 根据权利要求21所述的终端,其特征在于,所述用户显示操作包括多种不同的操作类型,所述处理器执行所述指令具体用于:根据所述用户显示操作的操作类型,触发与所述操作类型对应的显示指令;所述处理器执行所述指令还具体用于:根据触发的所述显示指令的类型,确定所述显示指令对应的调整参数,所述调整参数包括目标位置坐标和/或目标窗口大小;将所述目标应用程序对应窗口移动到所述目标位置坐标,和/或,将所述目标应用程序对应窗口调整为所述目标窗口大小;在确定所述目标应用程序不为屏幕前台应用程序时,为所述目标应用程序对应窗口分配焦点。
- 根据权利要求21或22所述的终端,其特征在于,所述处理器在执行所述指令根据所述显示指令对应的所述预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之前,执行所述指令还具体用于:记录描述所述目标应用程序对应窗口当前显示状态的初始参数,所述初始参数包括初始位置坐标、初始窗口大小以及初始显示层级中的一项或多项;所述处理器在执行所述指令根据所述显示指令对应的所述预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,执行所述指令还具体用于:检测用户还原操作;触发所述用户还原操作对应的还原指令,所述还原指令用于指示将根据预设调整策略调整后的所述目标应用程序对应窗口还原为初始显示状态;根据所述还原指令的指示,使用所述初始参数调整所述目标应用程序对应窗口的显示位置、窗口大小以及显示层级中的一项或多项。
- 根据权利要求21至23任一所述的终端,其特征在于,所述处理器在执行所述指令根据所述显示指令对应的所述预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,执行所述指令还具体用于:根据所述通知信息指示的应用模块标识和/或发送者标识,确定所述目标应用程序中对应的功能模块和/或消息发送者;根据所述功能模块和/或所述消息发送者,将所述目标应用程序显示为对应操作界面。
- 根据权利要求21至24任一所述的终端,其特征在于,所述处理器在执行所述指令根据所述显示指令对应的所述预设调整策略调整所述目标应用程序对应窗口的位置、大小以及显示层级中的一项或多项之后,执行所述指令还具体用于:检测用户关闭操作;触发所述用户关闭操作对应的关闭指令,所述关闭指令用于指示将所述目标应用程序关闭;根据所述关闭指令的指示,关闭所述目标应用程序,使得所述目标应用程序在屏幕上不可见。
- 根据权利要求21所述的终端,其特征在于,所述处理器执行所述指令还具体用于:在确定当前屏幕上不存在处于可见状态的所述目标应用程序后,以所述显示指令对应的预设界面模式显示所述目标应用程序,所述预设界面模式为全屏显示模式或窗口显示模式。
- 根据权利要求26所述的终端,其特征在于,所述处理器执行所述指令具体用于:在确定当前屏幕前台存在运行中的任一应用程序时,以所述窗口显示模式在屏幕前台显示所述目标应用程序;或,在确定当前屏幕前台不存在任一运行中的应用程序时,以所述全屏显示模式在屏幕前台显示所述目标应用程序。
- 根据权利要求26或27所述的终端,其特征在于,所述用户显示操作包括多种不同的操作类型,所述处理器执行所述指令具体用于:根据所述用户显示操作的操作类型,触发与所述操作类型对应的显示指令;所述处理器执行所述指令还具体用于:根据触发的所述显示指令的类型,确定所述显示指令对应的窗口显示参数,所述窗口显示参数包括显示位置坐标和/或显示窗口大小;根据所述窗口显示参数,以窗口显示模式显示所述目标应用程序对应窗口。
- 根据权利要求26至28任一所述的终端,其特征在于,所述处理器在执行所述指令以所述显示指令对应的所述预设界面模式显示所述目标应用程序之后,执行所述指令还具体用于:根据所述通知信息指示的应用模块标识和/或发送者标识,确定所述目标应用程序中对应的功能模块和/或消息发送者;根据所述功能模块和/或所述消息发送者,将所述目标应用程序显示为对应操作界面。
- 根据权利要求26至29任一所述的终端,其特征在于,所述处理器在执行所述指令以所述显示指令对应的所述预设界面模式显示所述目标应用程序之后,执行所述指令还具体用于:检测用户关闭操作;触发所述用户关闭操作对应的关闭指令,所述关闭指令用于指示将所述目标应用程序关闭;根据所述关闭指令的指示,关闭所述目标应用程序,使得所述目标应用程序在屏幕上不可见。
Priority Applications (12)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2015/070072 WO2016106781A1 (zh) | 2015-01-04 | 2015-01-04 | 一种通知信息处理方法、装置和终端 |
CN201910950417.7A CN110855828B (zh) | 2015-01-04 | 2015-01-04 | 一种通知信息处理方法、装置和终端 |
EP15874474.8A EP3232308B1 (en) | 2015-01-04 | 2015-01-04 | Notification information processing method, device, and terminal |
CN201580005082.1A CN105940365B (zh) | 2015-01-04 | 2015-01-04 | 一种通知信息处理方法、装置和终端 |
ES15874474T ES2828444T3 (es) | 2015-01-04 | 2015-01-04 | Procedimiento, dispositivo y terminal de procesamiento de información de notificación |
ES20187320T ES2963885T3 (es) | 2015-01-04 | 2015-01-04 | Método, aparato y terminal para procesar información de notificación |
EP23198139.0A EP4318195A3 (en) | 2015-01-04 | 2015-01-04 | Method, apparatus, and terminal for processing notification information |
US15/541,444 US10437442B2 (en) | 2015-01-04 | 2015-01-04 | Method, apparatus, and terminal for processing notification information |
EP20187320.5A EP3835932B1 (en) | 2015-01-04 | 2015-01-04 | Method, apparatus, and terminal for processing notification information |
US16/561,507 US11175811B2 (en) | 2015-01-04 | 2019-09-05 | Method, apparatus, and terminal for processing notification information |
US17/484,577 US11573688B2 (en) | 2015-01-04 | 2021-09-24 | Method, apparatus, and terminal for processing notification information |
US18/155,631 US20230229293A1 (en) | 2015-01-04 | 2023-01-17 | Method, apparatus, and terminal for processing notification information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2015/070072 WO2016106781A1 (zh) | 2015-01-04 | 2015-01-04 | 一种通知信息处理方法、装置和终端 |
Related Child Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/541,444 A-371-Of-International US10437442B2 (en) | 2015-01-04 | 2015-01-04 | Method, apparatus, and terminal for processing notification information |
US16/561,507 Continuation US11175811B2 (en) | 2015-01-04 | 2019-09-05 | Method, apparatus, and terminal for processing notification information |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016106781A1 true WO2016106781A1 (zh) | 2016-07-07 |
Family
ID=56284042
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/070072 WO2016106781A1 (zh) | 2015-01-04 | 2015-01-04 | 一种通知信息处理方法、装置和终端 |
Country Status (5)
Country | Link |
---|---|
US (4) | US10437442B2 (zh) |
EP (3) | EP3835932B1 (zh) |
CN (2) | CN110855828B (zh) |
ES (2) | ES2828444T3 (zh) |
WO (1) | WO2016106781A1 (zh) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107580143A (zh) * | 2017-09-30 | 2018-01-12 | 维沃移动通信有限公司 | 一种显示方法及移动终端 |
CN112817684A (zh) * | 2018-06-08 | 2021-05-18 | Oppo广东移动通信有限公司 | 用户界面显示方法、装置、终端及存储介质 |
CN114911547A (zh) * | 2021-02-09 | 2022-08-16 | 武汉斗鱼鱼乐网络科技有限公司 | 一种挂件互斥显示方法及相关装置 |
Families Citing this family (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10459748B2 (en) * | 2016-07-05 | 2019-10-29 | Red Hat Israel, Ltd. | Transparent guest based notification overlay |
CN110326010B (zh) | 2017-03-09 | 2023-10-27 | 谷歌有限责任公司 | 具有基于内容的通知徽标标注的图形用户界面 |
CN108733291B (zh) * | 2018-04-12 | 2020-06-23 | 珠海格力电器股份有限公司 | 一种通知消息的处理方法及装置 |
CN108595281B (zh) * | 2018-04-26 | 2021-09-07 | Oppo广东移动通信有限公司 | 活动对象处理方法、装置、存储介质及终端 |
CN108920240B (zh) * | 2018-06-29 | 2021-11-12 | Oppo(重庆)智能科技有限公司 | 用户界面显示方法、装置、终端及存储介质 |
CN109240562A (zh) * | 2018-08-20 | 2019-01-18 | 珠海格力电器股份有限公司 | 一种通信应用同屏显示方法、装置及移动终端 |
CN109271074A (zh) * | 2018-09-05 | 2019-01-25 | Oppo广东移动通信有限公司 | 一种窗口调整方法、窗口调整装置及移动终端 |
CN109388472B (zh) * | 2018-10-25 | 2021-11-23 | 网易(杭州)网络有限公司 | 壁纸显示方法及装置、电子设备 |
CN111263207A (zh) * | 2018-11-30 | 2020-06-09 | 青岛海尔多媒体有限公司 | 用于视频播放设备的控制方法、装置及计算机存储介质 |
CN111176506A (zh) * | 2019-12-25 | 2020-05-19 | 华为技术有限公司 | 一种屏幕显示方法及电子设备 |
CN111352667A (zh) * | 2020-02-20 | 2020-06-30 | 维沃移动通信有限公司 | 信息推送方法和电子设备 |
CN112463274B (zh) * | 2020-11-20 | 2024-02-02 | 北京搜狗智能科技有限公司 | 一种界面调整方法、装置和电子设备 |
CN116670633A (zh) * | 2020-12-16 | 2023-08-29 | 深圳迈瑞生物医疗电子股份有限公司 | 一种通气模式设置方法及兽用通气控制设备 |
CN114625295A (zh) * | 2022-01-27 | 2022-06-14 | 深圳传音控股股份有限公司 | 界面显示方法、智能终端及存储介质 |
CN114896019A (zh) * | 2022-06-01 | 2022-08-12 | 上海嘉车信息科技有限公司 | 一种桌面窗口控制方法、装置、电子设备及存储介质 |
CN114911390B (zh) * | 2022-07-17 | 2022-11-22 | 荣耀终端有限公司 | 显示方法及电子设备 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102789364A (zh) * | 2012-07-19 | 2012-11-21 | 宇龙计算机通信科技(深圳)有限公司 | 终端和应用程序的新事件的处理方法 |
CN103019681A (zh) * | 2012-11-20 | 2013-04-03 | 北京小米科技有限责任公司 | 一种通知消息处理的方法、装置及移动终端 |
CN103560942A (zh) * | 2013-10-09 | 2014-02-05 | 广东欧珀移动通信有限公司 | 一种快速处理通知信息的方法、***及移动终端 |
CN103677521A (zh) * | 2013-12-06 | 2014-03-26 | 宇龙计算机通信科技(深圳)有限公司 | 消息通知显示方法和终端 |
US20140282085A1 (en) * | 2013-03-18 | 2014-09-18 | National Chiao Tung University | Method for displaying a graphic interface with message/notification, apparatus, and non-transitory computer-readable medium |
Family Cites Families (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7743340B2 (en) * | 2000-03-16 | 2010-06-22 | Microsoft Corporation | Positioning and rendering notification heralds based on user's focus of attention and activity |
US7865839B2 (en) | 2004-03-05 | 2011-01-04 | Aol Inc. | Focus stealing prevention |
TWI401920B (zh) | 2008-09-17 | 2013-07-11 | Ind Tech Res Inst | 線上狀態處理方法及系統 |
KR101640460B1 (ko) * | 2009-03-25 | 2016-07-18 | 삼성전자 주식회사 | 휴대 단말기의 분할 화면 운용 방법 및 이를 지원하는 휴대 단말기 |
CN102207813A (zh) | 2010-03-31 | 2011-10-05 | 宏碁股份有限公司 | 多屏幕电子装置及其操控方法 |
US20120102437A1 (en) * | 2010-10-22 | 2012-04-26 | Microsoft Corporation | Notification Group Touch Gesture Dismissal Techniques |
US10057736B2 (en) * | 2011-06-03 | 2018-08-21 | Apple Inc. | Active transport based notifications |
US9013513B2 (en) * | 2012-04-12 | 2015-04-21 | Blackberry Limited | Methods and apparatus to navigate electronic documents |
KR20140043644A (ko) | 2012-10-02 | 2014-04-10 | 엘지전자 주식회사 | 이동 단말기 및 그것의 제어방법 |
US9152211B2 (en) * | 2012-10-30 | 2015-10-06 | Google Technology Holdings LLC | Electronic device with enhanced notifications |
WO2014088470A2 (en) * | 2012-12-07 | 2014-06-12 | Yota Devices Ipr Limited | Haptic message |
CN103019609B (zh) * | 2012-12-28 | 2016-02-03 | 广东欧珀移动通信有限公司 | 屏幕分区域显示的方法、装置及触屏终端 |
CN103279303A (zh) * | 2013-05-31 | 2013-09-04 | 东莞宇龙通信科技有限公司 | 事件消息的处理方法及装置 |
TWI496069B (zh) | 2013-06-28 | 2015-08-11 | Insyde Software Corp | Method of Judging Electronic Device and Multi - window Touch Command |
CN103425453B (zh) * | 2013-08-23 | 2016-12-28 | 广东欧珀移动通信有限公司 | 一种分屏显示方法和装置 |
KR20150024246A (ko) * | 2013-08-26 | 2015-03-06 | 삼성전자주식회사 | 전자 장치에서 쿼지 사용자 인터페이스를 운용하기 위한 방법 및 시스템 |
CN103593623B (zh) * | 2013-11-15 | 2018-05-22 | 努比亚技术有限公司 | 分屏显示方法和装置 |
CN103870193A (zh) * | 2014-02-17 | 2014-06-18 | 联想(北京)有限公司 | 信息处理方法及电子设备 |
CN103885711A (zh) * | 2014-03-21 | 2014-06-25 | 深圳市东方拓宇科技有限公司 | 一种电子设备分屏控制方法和*** |
CN104090720B (zh) * | 2014-04-10 | 2019-05-07 | 中兴通讯股份有限公司 | 一种基于手势操作调整终端窗口显示的方法及装置 |
CN104049847A (zh) | 2014-06-30 | 2014-09-17 | 宇龙计算机通信科技(深圳)有限公司 | 一种移动终端的信息提示方法及*** |
US9800711B2 (en) * | 2014-07-24 | 2017-10-24 | Blackberry Limited | System, method and device-readable medium for communication event interaction within a unified event view |
KR102308645B1 (ko) * | 2014-12-29 | 2021-10-05 | 삼성전자주식회사 | 사용자 단말 장치 및 그의 제어 방법 |
-
2015
- 2015-01-04 US US15/541,444 patent/US10437442B2/en active Active
- 2015-01-04 CN CN201910950417.7A patent/CN110855828B/zh active Active
- 2015-01-04 ES ES15874474T patent/ES2828444T3/es active Active
- 2015-01-04 CN CN201580005082.1A patent/CN105940365B/zh active Active
- 2015-01-04 EP EP20187320.5A patent/EP3835932B1/en active Active
- 2015-01-04 EP EP15874474.8A patent/EP3232308B1/en active Active
- 2015-01-04 EP EP23198139.0A patent/EP4318195A3/en active Pending
- 2015-01-04 ES ES20187320T patent/ES2963885T3/es active Active
- 2015-01-04 WO PCT/CN2015/070072 patent/WO2016106781A1/zh active Application Filing
-
2019
- 2019-09-05 US US16/561,507 patent/US11175811B2/en active Active
-
2021
- 2021-09-24 US US17/484,577 patent/US11573688B2/en active Active
-
2023
- 2023-01-17 US US18/155,631 patent/US20230229293A1/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102789364A (zh) * | 2012-07-19 | 2012-11-21 | 宇龙计算机通信科技(深圳)有限公司 | 终端和应用程序的新事件的处理方法 |
CN103019681A (zh) * | 2012-11-20 | 2013-04-03 | 北京小米科技有限责任公司 | 一种通知消息处理的方法、装置及移动终端 |
US20140282085A1 (en) * | 2013-03-18 | 2014-09-18 | National Chiao Tung University | Method for displaying a graphic interface with message/notification, apparatus, and non-transitory computer-readable medium |
CN103560942A (zh) * | 2013-10-09 | 2014-02-05 | 广东欧珀移动通信有限公司 | 一种快速处理通知信息的方法、***及移动终端 |
CN103677521A (zh) * | 2013-12-06 | 2014-03-26 | 宇龙计算机通信科技(深圳)有限公司 | 消息通知显示方法和终端 |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107580143A (zh) * | 2017-09-30 | 2018-01-12 | 维沃移动通信有限公司 | 一种显示方法及移动终端 |
CN107580143B (zh) * | 2017-09-30 | 2019-03-01 | 维沃移动通信有限公司 | 一种显示方法及移动终端 |
WO2019062364A1 (zh) * | 2017-09-30 | 2019-04-04 | 维沃移动通信有限公司 | 显示方法及移动终端 |
CN112817684A (zh) * | 2018-06-08 | 2021-05-18 | Oppo广东移动通信有限公司 | 用户界面显示方法、装置、终端及存储介质 |
CN112817684B (zh) * | 2018-06-08 | 2023-05-02 | Oppo广东移动通信有限公司 | 用户界面显示方法、装置、终端及存储介质 |
CN114911547A (zh) * | 2021-02-09 | 2022-08-16 | 武汉斗鱼鱼乐网络科技有限公司 | 一种挂件互斥显示方法及相关装置 |
Also Published As
Publication number | Publication date |
---|---|
US20170357416A1 (en) | 2017-12-14 |
US20220083209A1 (en) | 2022-03-17 |
US20230229293A1 (en) | 2023-07-20 |
CN110855828B (zh) | 2022-12-06 |
US10437442B2 (en) | 2019-10-08 |
EP3232308A1 (en) | 2017-10-18 |
CN105940365A (zh) | 2016-09-14 |
EP3835932B1 (en) | 2023-10-25 |
CN110855828A (zh) | 2020-02-28 |
CN105940365B (zh) | 2019-10-22 |
US20190391732A1 (en) | 2019-12-26 |
EP3835932A1 (en) | 2021-06-16 |
US11175811B2 (en) | 2021-11-16 |
ES2963885T3 (es) | 2024-04-03 |
EP4318195A3 (en) | 2024-04-24 |
EP3232308A4 (en) | 2018-01-03 |
EP3232308B1 (en) | 2020-09-30 |
ES2828444T3 (es) | 2021-05-26 |
US11573688B2 (en) | 2023-02-07 |
EP4318195A2 (en) | 2024-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016106781A1 (zh) | 一种通知信息处理方法、装置和终端 | |
TWI511039B (zh) | 模式切換技術 | |
US10545583B2 (en) | Modifying a highlighting function on a display based on content | |
WO2016033957A1 (zh) | 界面显示方法及装置 | |
WO2014012462A1 (zh) | 用户设备的***栏的控制方法和用户设备 | |
WO2015096712A1 (zh) | 用户设备的***栏的控制方法和用户设备 | |
WO2017063443A1 (zh) | 一种消息显示方法及装置 | |
US20180046366A1 (en) | Method for processing user interface of terminal, user interface, and terminal | |
US11604570B2 (en) | Method, device, apparatus, and storage medium for controlling touch operation mode | |
US11366577B2 (en) | Method for presentation by terminal device, and terminal device | |
WO2019141119A1 (zh) | 用户界面显示方法、装置及设备 | |
US20180152622A1 (en) | Mobile terminal-based photographing method and mobile terminal | |
TW201537446A (zh) | 電子裝置以及通信方法 | |
CN105653177B (zh) | 终端设备界面的可点击元素的选择方法和终端设备 | |
US20230367537A1 (en) | Screen-projection displaying method, apparatus, mobile terminal, and program product | |
WO2015096076A1 (zh) | 暂态界面的显示处理方法和终端 | |
TWI595407B (zh) | 電子裝置以及顯示切換方法 | |
CN109145273A (zh) | 一种批注跟随显示方法、装置、设备和存储介质 | |
WO2016101613A1 (zh) | 一种基于可交互式屏幕的信息指令输入方法及其装置 | |
CN106681630A (zh) | 一种移动终端的操作方法及装置 |
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: 15874474 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 15541444 Country of ref document: US |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
REEP | Request for entry into the european phase |
Ref document number: 2015874474 Country of ref document: EP |