CN106909376B - Notification bar display method and device - Google Patents

Notification bar display method and device Download PDF

Info

Publication number
CN106909376B
CN106909376B CN201710087021.5A CN201710087021A CN106909376B CN 106909376 B CN106909376 B CN 106909376B CN 201710087021 A CN201710087021 A CN 201710087021A CN 106909376 B CN106909376 B CN 106909376B
Authority
CN
China
Prior art keywords
screen
notification bar
information
vertical screen
horizontal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710087021.5A
Other languages
Chinese (zh)
Other versions
CN106909376A (en
Inventor
骆艳飞
刘鸣
伍亮雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710087021.5A priority Critical patent/CN106909376B/en
Publication of CN106909376A publication Critical patent/CN106909376A/en
Application granted granted Critical
Publication of CN106909376B publication Critical patent/CN106909376B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present disclosure provides a notification bar display method and device, the method comprising: when an instruction of displaying a notification bar is received, detecting a current screen display mode of the terminal equipment; if the screen display mode is a vertical screen mode, displaying a vertical screen notification bar generated after layout of vertical screen information is carried out by using a vertical screen layout strategy, wherein the vertical screen layout strategy is a preset layout strategy suitable for displaying information in the vertical screen mode, and the vertical screen information is information to be displayed in the vertical screen notification bar; and if the screen display mode is a horizontal screen mode, displaying a horizontal screen notification bar generated after layout of horizontal screen information is carried out by using a horizontal screen layout strategy, wherein the horizontal screen layout strategy is a preset layout strategy suitable for displaying the information in the horizontal screen mode, and the horizontal screen information is information to be displayed in the horizontal screen notification bar. The method and the device enable the user to check the notification bar in the horizontal screen mode, and improve the efficiency of checking the notification bar.

Description

Notification bar display method and device
Technical Field
The present application relates to the field of computer systems, and in particular, to a notification bar display method and apparatus.
Background
The notification bar is an indispensable important module in the mobile terminal operating system. The notification bar may include a shortcut operation panel and a message notification list. The shortcut operation panel is a preset common shortcut control, for example, the common shortcut control may include a shortcut control such as WIFI (WIreless-FIdelity), bluetooth, mobile data, Global Positioning System (GPS), or mute, and a user may open or close a corresponding function through the shortcut control at any time as required. For another example, the shortcut control system can include a shortcut entry of a security center, a shortcut entry for power saving optimization, a shortcut entry for harassment interception, a shortcut entry of a network assistant, and the like, and a user can enter a corresponding application program or execute a corresponding operation through the shortcut control at any time according to a requirement. The message notification list includes notification messages determined according to applications running in the background. For example, the message notification list may show received short messages, instant messages, push messages, music being played, and the like.
At present, the notification bar can be displayed in a pull-down mode in a vertical screen mode, and the notification bar cannot be displayed in a horizontal screen mode. In the horizontal screen mode, the user needs to switch the horizontal screen mode to the vertical screen mode to check the message of the notification bar or operate the shortcut control of the notification bar, which results in complicated operation steps.
Disclosure of Invention
In order to overcome the problems in the related art, the disclosure provides a notification bar display method and device.
According to a first aspect of the embodiments of the present disclosure, a notification bar display method is provided, the method including:
when an instruction of displaying a notification bar is received, detecting a current screen display mode of the terminal equipment;
if the screen display mode is a vertical screen mode, displaying a vertical screen notification bar generated after layout of vertical screen information is carried out by using a vertical screen layout strategy, wherein the vertical screen layout strategy is a preset layout strategy suitable for displaying information in the vertical screen mode, and the vertical screen information is information to be displayed in the vertical screen notification bar;
and if the screen display mode is a horizontal screen mode, displaying a horizontal screen notification bar generated after layout of horizontal screen information is carried out by using a horizontal screen layout strategy, wherein the horizontal screen layout strategy is a preset layout strategy suitable for displaying the information in the horizontal screen mode, and the horizontal screen information is information to be displayed in the horizontal screen notification bar.
Optionally, the vertical screen notification bar is a notification bar generated after layout of vertical screen information is performed by using a vertical screen layout strategy in advance, or a notification bar generated after layout of vertical screen information is performed by using a vertical screen layout strategy when an instruction for displaying the notification bar is received;
the horizontal screen notification bar is generated after horizontal screen information is subjected to layout by utilizing a horizontal screen layout strategy in advance, or is generated after the horizontal screen information is subjected to layout by utilizing the horizontal screen layout strategy when an instruction for displaying the notification bar is received.
Optionally, the number of lines occupied by the horizontal screen information in the horizontal screen notification bar is less than the number of lines occupied by the vertical screen information in the vertical screen notification bar.
Optionally, a preset shortcut control and a message notification list are displayed in both the horizontal screen notification bar and the vertical screen notification bar;
or only displaying a preset shortcut control in the horizontal screen notification bar, and displaying the preset shortcut control and a message notification list in the vertical screen notification bar;
the preset shortcut control is a preset control for performing shortcut operation, and the message notification list is a list for performing message reminding.
Optionally, the horizontal screen information at least includes a web assistant shortcut control, and the vertical screen information at least includes a web assistant shortcut control.
Optionally, the method further includes:
receiving a transverse screen or vertical screen layout strategy setting command based on a preset layout strategy setting inlet;
and determining the transverse screen layout strategy according to the transverse screen layout strategy setting command, or determining the vertical screen layout strategy according to the vertical screen layout strategy setting command.
According to a second aspect of the embodiments of the present disclosure, there is provided a notification bar display apparatus, the apparatus including:
the mode detection module is configured to detect the current screen display mode of the terminal equipment when receiving the instruction of displaying the notification bar;
the vertical screen display module is configured to display a vertical screen notification bar generated after layout of vertical screen information is performed by using a vertical screen layout strategy if the screen display mode is the vertical screen mode, wherein the vertical screen layout strategy is a preset layout strategy suitable for displaying the information in the vertical screen mode, and the vertical screen information is information to be displayed in the vertical screen notification bar;
the horizontal screen display module is configured to display a horizontal screen notification bar generated after layout is performed on horizontal screen information by using a horizontal screen layout strategy if the screen display mode is the horizontal screen mode, wherein the horizontal screen layout strategy is a preset layout strategy suitable for displaying the information in the horizontal screen mode, and the horizontal screen information is information to be displayed in the horizontal screen notification bar.
Optionally, the vertical screen notification bar is a notification bar generated after layout of vertical screen information is performed by using a vertical screen layout strategy in advance, or a notification bar generated after layout of vertical screen information is performed by using a vertical screen layout strategy when an instruction for displaying the notification bar is received;
the horizontal screen notification bar is generated after horizontal screen information is subjected to layout by utilizing a horizontal screen layout strategy in advance, or is generated after the horizontal screen information is subjected to layout by utilizing the horizontal screen layout strategy when an instruction for displaying the notification bar is received.
Optionally, the number of lines occupied by the horizontal screen information in the horizontal screen notification bar is less than the number of lines occupied by the vertical screen information in the vertical screen notification bar.
Optionally, a preset shortcut control and a message notification list are displayed in both the horizontal screen notification bar and the vertical screen notification bar;
or only displaying a preset shortcut control in the horizontal screen notification bar, and displaying the preset shortcut control and a message notification list in the vertical screen notification bar;
the preset shortcut control is a preset control for performing shortcut operation, and the message notification list is a list for performing message reminding.
Optionally, the horizontal screen information at least includes a web assistant shortcut control, and the vertical screen information at least includes a web assistant shortcut control.
Optionally, the apparatus further includes a layout policy determination module configured to:
receiving a transverse screen or vertical screen layout strategy setting command based on a preset layout strategy setting inlet;
and determining the transverse screen layout strategy according to the transverse screen layout strategy setting command, or determining the vertical screen layout strategy according to the vertical screen layout strategy setting command.
According to a third aspect of the embodiments of the present disclosure, there is provided a notification bar display device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when an instruction of displaying a notification bar is received, detecting a current screen display mode of the terminal equipment;
if the screen display mode is a vertical screen mode, displaying a vertical screen notification bar generated after layout of vertical screen information is carried out by using a vertical screen layout strategy, wherein the vertical screen layout strategy is a preset layout strategy suitable for displaying information in the vertical screen mode, and the vertical screen information is information to be displayed in the vertical screen notification bar;
and if the screen display mode is a horizontal screen mode, displaying a horizontal screen notification bar generated after layout of horizontal screen information is carried out by using a horizontal screen layout strategy, wherein the horizontal screen layout strategy is a preset layout strategy suitable for displaying the information in the horizontal screen mode, and the horizontal screen information is information to be displayed in the horizontal screen notification bar.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the utility model discloses a notification bar with different typesetting for different screen display modes, namely a vertical screen notification bar generated by layout of vertical screen information by using a vertical screen layout strategy is displayed under a vertical screen mode, a horizontal screen notification bar generated by layout of horizontal screen information by using a horizontal screen layout strategy is displayed under a horizontal screen mode, because the vertical screen layout strategy is a layout strategy suitable for displaying information in the vertical screen mode, and the horizontal screen layout strategy is a layout strategy suitable for displaying information in the horizontal screen mode, therefore, the vertical screen notification bar can be displayed in the vertical screen mode, the horizontal screen notification bar can be displayed in the horizontal screen mode, the user can view the notification bar in the horizontal screen mode without switching back to the vertical screen mode, the efficiency of viewing the notification bar is improved, convenience is brought to the user, and different notification bars are displayed according to different screen display modes, so that the attractiveness of displayed information is improved.
In the disclosure, the vertical screen notification bar may be a notification bar generated after layout of vertical screen information is performed by using a vertical screen layout strategy in advance, so that the display efficiency of the vertical screen notification bar is improved.
In the present disclosure, the horizontal screen notification bar may be a notification bar generated after layout of horizontal screen information is performed by using a horizontal screen layout strategy in advance, so as to improve the display efficiency of the vertical screen notification bar.
In the present disclosure, the horizontal screen notification bar and the vertical screen notification bar generated by different layout strategies satisfy: the row number occupied by the horizontal screen information in the horizontal screen notification bar is smaller than the row number occupied by the vertical screen information in the vertical screen notification bar, so that the defect that the whole screen is occupied by the information in the notification bar due to too many display information row numbers in the horizontal screen mode can be avoided, not only is the layout strategy easy to realize, but also the attractiveness is improved, and convenience is brought to users.
In the disclosure, only the preset shortcut control is displayed in the horizontal screen notification bar, and the preset shortcut control and the message notification list are displayed in the vertical screen notification bar at the same time, so that the notification message in the preset shortcut control and the message notification list can be viewed through the vertical screen notification bar at the same time, and the preset shortcut control can be viewed under the horizontal screen notification bar, so that the preset shortcut control can be operated through the notification bar in the horizontal screen mode on the premise that the display information of the notification bar is not changed in the vertical screen mode, and convenience is brought to a user.
In the method, the line number occupied by the horizontal screen information in the horizontal screen notification bar can be ensured to be smaller than the line number occupied by the vertical screen information in the vertical screen notification bar, and the displayed content of the horizontal screen notification bar can be ensured to be the same as the displayed content of the vertical screen notification bar, so that the defect that the whole screen is occupied by the information in the notification bar due to too many displayed information line numbers in the horizontal screen mode is avoided, and the integrity of the displayed information in the notification bar in different screen display modes is ensured.
In the method, the network assistant shortcut control can be checked and seen in both the horizontal screen mode and the vertical screen mode by calling the notification bar, so that the current flow condition can be clearly determined, and particularly, when a video or a game consuming the flow is watched, the network assistant shortcut control can be checked and seen in the horizontal screen mode, great convenience is brought to a user, and the user is prevented from switching back to the vertical screen mode for checking.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a notification bar presentation method according to an exemplary embodiment of the present disclosure.
FIG. 2 is a flowchart illustrating another notification bar presentation method according to an example embodiment of the present disclosure.
FIG. 3 is a block diagram illustrating a notification bar presentation device according to an exemplary embodiment of the present disclosure.
FIG. 4 is a block diagram illustrating another notification bar presentation device according to an example embodiment of the present disclosure.
FIG. 5 is a schematic structural diagram illustrating an apparatus for notification bar presentation according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Because the width ratio of the screen under the horizontal screen mode is long and the width ratio of the screen under the vertical screen mode is short, if the notification bar suitable for the vertical screen mode typesetting is directly displayed in the screen under the horizontal screen mode, the whole screen is occupied by the information of the notification bar due to too many display information lines, the appearance is not only influenced, but also the user experience is influenced.
Based on this, the present disclosure provides notification bars of different types for different screen display modes, that is, a vertical screen notification bar generated after layout of vertical screen information is performed by using a vertical screen layout strategy is displayed in a vertical screen mode, and a horizontal screen notification bar generated after layout of horizontal screen information is performed by using a horizontal screen layout strategy is displayed in a horizontal screen mode.
As shown in fig. 1, fig. 1 is a flowchart of a notification bar displaying method according to an exemplary embodiment, which may be used in a terminal device, and includes the following steps:
in step 101, when an instruction for displaying a notification bar is received, a current screen display mode of the terminal device is detected.
In step 102, if the screen display mode is the vertical screen mode, displaying a vertical screen notification bar generated after layout is performed on vertical screen information by using a vertical screen layout strategy, where the vertical screen layout strategy is a preset layout strategy suitable for displaying information in the vertical screen mode, and the vertical screen information is information to be displayed in the vertical screen notification bar.
In step 103, if the screen display mode is the landscape screen mode, displaying a landscape screen notification bar generated after layout of landscape screen information is performed by using a landscape screen layout strategy, where the landscape screen layout strategy is a preset layout strategy suitable for displaying information in the landscape screen mode, and the landscape screen information is information to be displayed in the landscape screen notification bar.
In the embodiment of the present disclosure, the terminal device may be a smart phone, a tablet computer, a PDA (Personal Digital Assistant), an e-book reader, a multimedia player, and the like.
In order to display notification bars with different types of layouts in different screen display modes, the method and the device set corresponding screen layout strategies for each screen display mode in advance, for example, the vertical screen mode is correspondingly provided with a vertical screen layout strategy, and the horizontal screen mode is correspondingly provided with a horizontal screen layout strategy. The vertical screen layout strategy and the horizontal screen layout strategy are strategies for performing layout on information to be displayed in the notification bar. The vertical screen layout strategy is a layout strategy suitable for displaying information in a vertical screen mode, and the horizontal screen layout strategy is a layout strategy suitable for displaying information in a horizontal screen mode. The vertical screen layout strategy and the horizontal screen layout strategy can be preset by the system or can be set according to the requirements of users.
For example, in one optional implementation, the method further comprises:
receiving a transverse screen or vertical screen layout strategy setting command based on a preset layout strategy setting inlet;
and determining the transverse screen layout strategy according to the transverse screen layout strategy setting command, or determining the vertical screen layout strategy according to the vertical screen layout strategy setting command.
Therefore, a user can define a transverse screen layout strategy and a vertical screen layout strategy, and the controllability of the layout strategies is realized.
Several layout strategies are listed below for illustration.
In an optional implementation manner, the vertical screen notification bar generated after layout of the vertical screen information is performed by using the vertical screen layout strategy and the horizontal screen notification bar generated after layout of the horizontal screen information is performed by using the horizontal screen layout strategy are limited, that is, the number of lines occupied by the horizontal screen information in the horizontal screen notification bar is less than the number of lines occupied by the vertical screen information in the vertical screen notification bar.
Therefore, the information line number in the notification column in the horizontal screen mode is smaller than that in the vertical screen mode, so that the defect that the whole screen is occupied by information in the notification column due to too many information line numbers displayed in the horizontal screen mode is avoided, and the layout strategy is easy to implement.
In order to realize that the line number occupied by the horizontal screen information in the horizontal screen notification bar is smaller than the line number occupied by the vertical screen information in the vertical screen notification bar, as one implementation means, the display information in the horizontal screen notification bar based on the horizontal screen layout strategy layout can be smaller than the display information in the vertical screen notification bar based on the vertical screen layout strategy layout.
Therefore, in the embodiment, by reducing the display content, the number of lines occupied by the horizontal screen information in the horizontal screen notification bar is smaller than the number of lines occupied by the vertical screen information in the vertical screen notification bar, and the horizontal screen mode does not need to be changed greatly relative to the vertical screen mode in the notification bar composition, so that the implementation is easy.
Furthermore, only a preset shortcut control is displayed in the horizontal screen notification bar, and a preset shortcut control and a message notification list are displayed in the vertical screen notification bar.
The preset shortcut control is a preset control for shortcut operation. The preset shortcut control can be a control set by default in the system, and can also be a control set according to the requirement of a user. After the preset shortcut control is set, the preset shortcut control displayed each time is the same before the setting is not changed next time. For example, the preset shortcut control may be a WIFI shortcut switch control, a bluetooth shortcut switch control, a mobile data shortcut switch control, a global positioning system shortcut switch control, a mute shortcut switch control, etc., and for example, the preset shortcut control may also be a shortcut entry of a security center, a shortcut entry of power saving optimization, a shortcut entry of harassment interception, a shortcut entry of a network assistant, etc. The message notification list is a list for performing notification reminding, and notification messages of the application program and entries entering the application program can be shown in the message notification list.
The preset shortcut control is only displayed in the horizontal screen notification bar, and the preset shortcut control and the message notification list are simultaneously displayed in the vertical screen notification bar, so that the notification messages in the preset shortcut control and the message notification list can be simultaneously viewed through the vertical screen notification bar, the preset shortcut control can be viewed under the horizontal screen notification bar, and the preset shortcut control can be operated through the notification bar under the horizontal screen mode on the premise that the display information of the notification bar is not changed under the vertical screen mode, and the use by a user is facilitated.
In order to realize that the shared line number of horizontal screen information in the horizontal screen notification bar is less than the shared line number of vertical screen information in the vertical screen notification bar, as another kind of implementation means, the horizontal screen notification bar with the content that shows in the vertical screen notification bar is the same, for example the horizontal screen notification bar with all show in the vertical screen notification bar and predetermine swift controlling part and message notification list, then make the shared line number of horizontal screen information in the horizontal screen notification bar be less than the shared line number of vertical screen information in the vertical screen notification bar through the mode of adjusting the composing.
It can be seen that, in this embodiment, under the condition that it is ensured that the displayed contents of the horizontal screen notification bar and the vertical screen notification bar are the same, the number of lines occupied by the horizontal screen information in the horizontal screen notification bar is smaller than the number of lines occupied by the vertical screen information in the vertical screen notification bar through a typesetting manner, so that the defect that the information is occupied by the information in the entire screen due to too many lines of displayed information in the horizontal screen mode can be avoided, and it can be ensured that the displayed contents of the horizontal screen notification bar are the same as the displayed contents of the vertical screen notification bar.
In one example, the landscape screen information at least comprises a network assistant shortcut control, and the portrait screen information at least comprises a network assistant shortcut control.
Therefore, the network assistant shortcut control can be viewed in a mode of calling the notification bar in a horizontal screen mode or a vertical screen mode, so that the current flow conditions, such as the flow, the residual flow, the total flow and other information used today can be clearly determined, and particularly, when a video or a game consuming the flow is viewed, the network assistant shortcut control can be viewed in the horizontal screen mode, great convenience is brought to a user, and the user is prevented from switching back to the vertical screen mode for viewing.
It is understood that the above list only a few of the layouts, and that other layouts are not listed here.
After the vertical screen layout strategy and the horizontal screen layout strategy are determined, the notification bar generated by different layout strategies can be used for displaying according to different screen display modes.
Firstly, when an instruction of displaying a notification bar is received, a current screen display mode of the terminal device is detected.
The instruction for displaying the notification bar may be triggered in various ways, for example, when a pull-down operation (i.e., a downward sliding operation) is detected in the screen, it is determined that the instruction for displaying the notification bar is received. When it is detected that there is a pull-up operation (i.e., a slide-up operation) in the screen, it is determined that an instruction to present the notification bar is received.
When the instruction for displaying the notification bar is determined to be received, the current screen display mode of the terminal device can be detected. The screen display mode may include a portrait mode and a landscape mode. Wherein, in the vertical screen mode, the width and the height of the screen are shorter; in the landscape mode, the aspect ratio of the screen is long.
The method and the device for determining the screen display mode of the terminal equipment can determine the screen display mode of the terminal equipment in various ways. For example, if a gravity sensing module is arranged in the terminal device, the current screen display mode of the terminal device can be determined through the gravity sensing module; for another example, the terminal device may output a prompt message prompting the user to select the screen mode, and then determine the screen display mode in which the terminal device is currently located according to a command triggered by the user, and so on.
It is understood that the detection mode of the current screen display mode of the terminal device is not limited to the listed mode, and may also be other modes in the related art, which is not limited herein.
And if the terminal equipment is detected to be in the vertical screen mode currently, displaying a vertical screen notification bar, wherein the vertical screen notification bar is generated after layout of vertical screen information is carried out by utilizing a vertical screen layout strategy. The vertical screen information is information to be displayed in the vertical screen notification bar, and may include information such as a preset shortcut control, a message notification list, and the like.
In one example, the vertical screen notification bar may be a notification bar generated by laying out vertical screen information in advance by using a vertical screen layout policy. For example, the vertical screen information is typeset in advance, the position of each preset shortcut control and the position of the message notification list are determined, the content of the message notification list is updated in real time according to the notification message of the application program running in the background, and then the vertical screen notification list is displayed when the instruction of displaying the notification list is received, so that the display efficiency of the vertical screen notification list is improved.
In another example, the vertical screen notification bar may be a notification bar generated after vertical screen information is laid out by using a vertical screen layout policy when an instruction for displaying the notification bar is received. For example, when an instruction for displaying the notification bar is received, the positions of the preset shortcut controls and the positions of the message notification list are determined, and the content of the message notification list is determined according to the notification message of the application program running in the background.
And if the terminal equipment is detected to be in the horizontal screen mode currently, displaying a horizontal screen notification bar, wherein the horizontal screen notification bar is generated after layout of horizontal screen information is carried out by utilizing a horizontal screen layout strategy. The horizontal screen information is information to be displayed in the horizontal screen notification bar, and may include information such as a preset shortcut control and a message notification list, for example.
In one example, the landscape notification bar may be a notification bar generated by laying out landscape information in advance using a landscape layout policy. For example, the preset shortcut controls are typeset in advance, the positions of the preset shortcut controls are determined, the message notification list is hidden, and then the vertical screen notification bar is displayed when an instruction for displaying the notification bar is received, so that the display efficiency of the vertical screen notification bar is improved.
In another example, the landscape notification bar may be a notification bar generated after layout of landscape information by using a landscape layout policy when an instruction to display the notification bar is received. For example, when an instruction for displaying the notification bar is received, the positions of the preset shortcut controls and the positions of the message notification list are determined, and the content of the message notification list is determined according to the notification message of the application program running in the background.
The various technical features in the above embodiments can be arbitrarily combined, so long as there is no conflict or contradiction between the combinations of the features, but the combination is limited by the space and is not described one by one, and therefore, any combination of the various technical features in the above embodiments also belongs to the scope disclosed in the present specification.
One of these combinations is described below.
Referring to fig. 2, fig. 2 is a flowchart illustrating another notification bar displaying method according to an exemplary embodiment of the present disclosure, which may be used in a terminal device, and includes the following steps:
in step 201, an instruction to present a notification bar is received.
In step 202, the current screen display mode of the terminal device is detected.
In step 203, if the screen display mode is the vertical screen mode, displaying a vertical screen notification bar generated after layout is performed on the preset shortcut control and the message notification list by using the vertical screen layout strategy.
In step 204, if the screen display mode is a landscape screen mode, a landscape screen notification bar generated after layout of a preset shortcut control is displayed by using a landscape screen layout strategy is displayed.
In the schematic diagram, a display schematic diagram of the vertical screen notification bar and a display schematic diagram of the horizontal screen notification bar are also specifically listed. The transverse screen notification bar comprises a mobile data quick switch control, a WIFI quick switch control, a flashlight quick switch control, a mute quick switch control, a screen capture quick switch control, a brightness quick adjustment control, a quick entrance of a safety center, a garbage quick cleaning control, a power-saving optimized quick entrance, a quick entrance of harassment interception, a quick entrance of a network assistant, a message notification list and the like. The user can realize turning on or off the mobile data, the WIFI, the flashlight, the mute or the screen capture by operating the mobile data shortcut switch control, the WIFI shortcut switch control, the flashlight shortcut switch control, the mute or the screen capture shortcut switch control. A user can enable the terminal equipment to enter a main page of the security center by operating a quick entrance of the security center. The user can operate the garbage quick cleaning control, the memory of the terminal device is released, and the current available capacity can be displayed on the icon of the garbage quick cleaning control. The user can make terminal equipment carry out the power saving optimization function and the like by controlling the quick entry of the power saving optimization. The height of the vertical screen is long, so that the mobile data quick switch control, the WIFI quick switch control, the flashlight quick switch control, the mute quick switch control and the screen capture quick switch control can be set to be one line, the brightness quick adjusting control is set to be one line, a quick entry of a safety center, a quick garbage cleaning control, a quick entry of power saving optimization and a quick entry of disturbance interception are set to be one line, and a quick entry of a network assistant is set to be one line.
In order to ensure the cleanliness and the attractiveness of the vertical screen notification bar, the vertical screen notification bar only comprises preset shortcut controls, for example, the preset shortcut controls comprise a mobile data shortcut switch control, a WIFI shortcut switch control, a flashlight shortcut switch control, a mute shortcut switch control, a screen capture shortcut switch control, a brightness shortcut adjustment control, a shortcut entrance of a safety center, a garbage shortcut cleaning control, a shortcut entrance for power saving optimization, a shortcut entrance for harassment interception and a shortcut entrance of a network assistant. Furthermore, each preset shortcut control is rearranged, for example, a shortcut entry of a security center, a garbage shortcut cleaning control, a power saving optimized shortcut entry, a harassment interception shortcut entry and a network assistant shortcut entry are set as a row.
According to the embodiment, the vertical screen notification bar comprising the preset shortcut control and the message notification list can be displayed in the vertical screen mode, the horizontal screen notification bar comprising the preset shortcut control can be displayed in the horizontal screen mode, a user can quickly operate the preset shortcut control in the notification bar in the horizontal screen mode, and convenience is brought to the user.
Corresponding to the embodiment of the notification bar display method, the disclosure also provides an embodiment of a notification bar display device and a terminal applied by the notification bar display device.
As shown in fig. 3, fig. 3 is a block diagram of a notification bar presentation apparatus according to an exemplary embodiment of the present disclosure, the apparatus including: a mode detection module 310, a vertical screen display module 320, and a horizontal screen display module 330.
The mode detection module 310 is configured to detect a current screen display mode of the terminal device when receiving an instruction to display the notification bar.
The vertical screen display module 320 is configured to display a vertical screen notification bar generated after layout is performed on vertical screen information by using a vertical screen layout strategy if the screen display mode is the vertical screen mode, where the vertical screen layout strategy is a preset layout strategy suitable for displaying information in the vertical screen mode, and the vertical screen information is information to be displayed in the vertical screen notification bar.
The horizontal screen display module 330 is configured to display a horizontal screen notification bar generated after layout is performed on horizontal screen information by using a horizontal screen layout strategy if the screen display mode is the horizontal screen mode, where the horizontal screen layout strategy is a preset layout strategy suitable for displaying information in the horizontal screen mode, and the horizontal screen information is information to be displayed in the horizontal screen notification bar.
It can be seen from the above embodiments that notification bars of different layouts are provided for different screen display modes, that is, a vertical screen notification bar generated after layout of vertical screen information is performed by using a vertical screen layout strategy is displayed in a vertical screen mode, and a horizontal screen notification bar generated after layout of horizontal screen information is performed by using a horizontal screen layout strategy is displayed in a horizontal screen mode.
In an optional implementation manner, the vertical screen notification bar is a notification bar generated after layout of vertical screen information is performed by using a vertical screen layout strategy in advance, or a notification bar generated after layout of vertical screen information is performed by using a vertical screen layout strategy when an instruction for displaying the notification bar is received.
As can be seen from the above embodiments, the vertical screen notification bar may be a notification bar generated after layout of vertical screen information is performed by using a vertical screen layout strategy in advance, so as to improve the display efficiency of the vertical screen notification bar.
In an optional implementation manner, the horizontal screen notification bar is a notification bar generated after horizontal screen information is subjected to layout by using a horizontal screen layout strategy in advance, or is a notification bar generated after horizontal screen information is subjected to layout by using a horizontal screen layout strategy when an instruction for displaying the notification bar is received.
As can be seen from the above embodiments, the horizontal screen notification bar may be a notification bar generated by performing layout on horizontal screen information in advance by using a horizontal screen layout strategy, so as to improve the display efficiency of the vertical screen notification bar.
In an optional implementation manner, the number of lines occupied by the horizontal screen information in the horizontal screen notification bar is smaller than the number of lines occupied by the vertical screen information in the vertical screen notification bar.
As can be seen from the above embodiments, the horizontal screen notification bar and the vertical screen notification bar generated by different layout strategies satisfy: the row number occupied by the horizontal screen information in the horizontal screen notification bar is smaller than the row number occupied by the vertical screen information in the vertical screen notification bar, so that the defect that the whole screen is occupied by the information in the notification bar due to too many display information row numbers in the horizontal screen mode can be avoided, not only is the layout strategy easy to realize, but also the attractiveness is improved, and convenience is brought to users.
In an optional implementation manner, a preset shortcut control and a message notification list are displayed in both the horizontal screen notification bar and the vertical screen notification bar. The preset shortcut control is a preset control for performing shortcut operation, and the message notification list is a list for performing message reminding.
It can be seen from the above embodiments that it can be ensured that the number of lines occupied by the horizontal screen information in the horizontal screen notification bar is smaller than the number of lines occupied by the vertical screen information in the vertical screen notification bar, and that the content displayed by the horizontal screen notification bar is the same as the content displayed by the vertical screen notification bar, thereby avoiding the defect that the information displayed in the entire screen is occupied by the information in the notification bar due to too many lines in the horizontal screen mode, and ensuring the integrity of the displayed information in the notification bar in different screen display modes.
In an optional implementation manner, only a preset shortcut control is displayed in the horizontal screen notification bar, and the preset shortcut control and the message notification list are displayed in the vertical screen notification bar. The preset shortcut control is a preset control for performing shortcut operation, and the message notification list is a list for performing message reminding.
According to the embodiment, the preset shortcut control is only displayed in the horizontal screen notification bar, and the preset shortcut control and the message notification list are simultaneously displayed in the vertical screen notification bar, so that the notification message in the preset shortcut control and the message notification list can be simultaneously viewed through the vertical screen notification bar, the preset shortcut control can be viewed under the horizontal screen notification bar, and the preset shortcut control can be operated through the notification bar under the horizontal screen mode on the premise that the display information of the notification bar is not changed under the vertical screen mode, so that convenience is brought to a user.
In an optional implementation manner, the landscape screen information at least includes a web assistant shortcut control, and the portrait screen information at least includes a web assistant shortcut control.
It can be seen from the above embodiments that, in both the horizontal screen mode and the vertical screen mode, the network assistant shortcut control can be viewed by calling the notification bar, so that the current traffic condition can be clearly determined, and particularly, when watching a video or game consuming traffic, the network assistant shortcut control can be viewed in the horizontal screen mode, which brings great convenience to the user and prevents the user from switching back to the vertical screen mode for viewing.
As shown in fig. 4, fig. 4 is a block diagram of another notification bar display apparatus according to an exemplary embodiment of the present disclosure, which is based on the foregoing embodiment shown in fig. 3, and further includes a layout policy determination module 340.
Wherein the layout strategy determination module 340 is configured to: receiving a transverse screen or vertical screen layout strategy setting command based on a preset layout strategy setting inlet; and determining the transverse screen layout strategy according to the transverse screen layout strategy setting command, or determining the vertical screen layout strategy according to the vertical screen layout strategy setting command.
Correspondingly, the disclosure also provides a notification bar display device, which comprises a processor; a memory for storing processor-executable instructions; wherein the processor is configured to:
and when an instruction of displaying the notification bar is received, detecting the current screen display mode of the terminal equipment.
And if the screen display mode is the vertical screen mode, displaying a vertical screen notification bar generated after layout is carried out on vertical screen information by using a vertical screen layout strategy, wherein the vertical screen layout strategy is a preset layout strategy suitable for displaying the information in the vertical screen mode, and the vertical screen information is information to be displayed in the vertical screen notification bar.
And if the screen display mode is a horizontal screen mode, displaying a horizontal screen notification bar generated after layout of horizontal screen information is carried out by using a horizontal screen layout strategy, wherein the horizontal screen layout strategy is a preset layout strategy suitable for displaying the information in the horizontal screen mode, and the horizontal screen information is information to be displayed in the horizontal screen notification bar.
The specific details of the implementation process of the functions and actions of each module in the device are referred to the implementation process of the corresponding step in the method, and are not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
As shown in fig. 5, fig. 5 is a schematic structural diagram illustrating an apparatus 500 for displaying a notification bar according to an exemplary embodiment of the present disclosure. The apparatus 500 may be a mobile phone with routing capability, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
Referring to fig. 5, the apparatus 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and communication component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operations at the apparatus 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 506 provides power to the various components of the device 500. The power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 500.
The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when apparatus 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 may detect an open/closed state of the apparatus 500, the relative positioning of the components, such as a display and keypad of the apparatus 500, the sensor assembly 514 may also detect a change in the position of the apparatus 500 or one of the components of the apparatus 500, the presence or absence of user contact with the apparatus 500, orientation or acceleration/deceleration of the apparatus 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The apparatus 500 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 520 of the apparatus 500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Wherein the instructions in the storage medium, when executed by the processor, enable the apparatus 500 to perform a notification bar presentation method comprising:
and when an instruction of displaying the notification bar is received, detecting the current screen display mode of the terminal equipment.
And if the screen display mode is the vertical screen mode, displaying a vertical screen notification bar generated after layout is carried out on vertical screen information by using a vertical screen layout strategy, wherein the vertical screen layout strategy is a preset layout strategy suitable for displaying the information in the vertical screen mode, and the vertical screen information is information to be displayed in the vertical screen notification bar.
And if the screen display mode is a horizontal screen mode, displaying a horizontal screen notification bar generated after layout of horizontal screen information is carried out by using a horizontal screen layout strategy, wherein the horizontal screen layout strategy is a preset layout strategy suitable for displaying the information in the horizontal screen mode, and the horizontal screen information is information to be displayed in the horizontal screen notification bar.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
The above description is only exemplary of the present disclosure and should not be taken as limiting the disclosure, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (8)

1. A notification bar display method is characterized by comprising the following steps:
when an instruction of displaying a notification bar is received, detecting a current screen display mode of the terminal equipment;
if the screen display mode is a vertical screen mode, displaying a vertical screen notification bar generated after layout of vertical screen information is carried out by using a vertical screen layout strategy, wherein the vertical screen layout strategy is a preset layout strategy suitable for displaying information in the vertical screen mode, and the vertical screen information is information to be displayed in the vertical screen notification bar;
if the screen display mode is a horizontal screen mode, displaying a horizontal screen notification bar generated after layout of horizontal screen information is carried out by using a horizontal screen layout strategy, wherein the horizontal screen layout strategy is a preset layout strategy suitable for displaying information in the horizontal screen mode, and the horizontal screen information is information to be displayed in the horizontal screen notification bar;
the horizontal screen layout strategy is determined based on a horizontal screen layout strategy setting command, and the vertical screen layout strategy is determined based on a vertical screen layout strategy setting command;
the line number occupied by the horizontal screen information in the horizontal screen notification bar is smaller than the line number occupied by the vertical screen information in the vertical screen notification bar by enabling the display information in the horizontal screen notification bar to be less than the display information in the vertical screen notification bar or by adjusting the typesetting mode under the condition that the contents displayed in the horizontal screen notification bar and the vertical screen notification bar are the same;
only displaying a preset shortcut control in the horizontal screen notification bar, and displaying the preset shortcut control and a message notification list in the vertical screen notification bar;
the preset shortcut control is a preset control for performing shortcut operation, and the message notification list is a list for performing message reminding;
the transverse screen information at least comprises a network assistant shortcut control, and the vertical screen information at least comprises a network assistant shortcut control; the network assistant shortcut control is a control used for determining the current traffic situation.
2. The method according to claim 1, wherein the vertical screen notification bar is a notification bar generated after vertical screen information is laid out by using a vertical screen layout strategy in advance, or a notification bar generated after vertical screen information is laid out by using a vertical screen layout strategy when an instruction for displaying the notification bar is received;
the horizontal screen notification bar is generated after horizontal screen information is subjected to layout by utilizing a horizontal screen layout strategy in advance, or is generated after the horizontal screen information is subjected to layout by utilizing the horizontal screen layout strategy when an instruction for displaying the notification bar is received.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
receiving a transverse screen or vertical screen layout strategy setting command based on a preset layout strategy setting inlet;
and determining the transverse screen layout strategy according to the transverse screen layout strategy setting command, or determining the vertical screen layout strategy according to the vertical screen layout strategy setting command.
4. A notification bar display apparatus, the apparatus comprising:
the mode detection module is configured to detect the current screen display mode of the terminal equipment when receiving the instruction of displaying the notification bar;
the vertical screen display module is configured to display a vertical screen notification bar generated after layout of vertical screen information is performed by using a vertical screen layout strategy if the screen display mode is the vertical screen mode, wherein the vertical screen layout strategy is a preset layout strategy suitable for displaying the information in the vertical screen mode, and the vertical screen information is information to be displayed in the vertical screen notification bar;
the horizontal screen display module is configured to display a horizontal screen notification bar generated after horizontal screen information is subjected to layout by using a horizontal screen layout strategy if the screen display mode is the horizontal screen mode, wherein the horizontal screen layout strategy is a preset layout strategy suitable for displaying the information in the horizontal screen mode, and the horizontal screen information is information to be displayed in the horizontal screen notification bar;
the horizontal screen layout strategy is determined based on a horizontal screen layout strategy setting command, and the vertical screen layout strategy is determined based on a vertical screen layout strategy setting command;
the line number occupied by the horizontal screen information in the horizontal screen notification bar is smaller than the line number occupied by the vertical screen information in the vertical screen notification bar by enabling the display information in the horizontal screen notification bar to be less than the display information in the vertical screen notification bar or by adjusting the typesetting mode under the condition that the contents displayed in the horizontal screen notification bar and the vertical screen notification bar are the same;
only a preset shortcut control is displayed in the horizontal screen notification bar, and a preset shortcut control and a message notification list are displayed in the vertical screen notification bar;
the preset shortcut control is a preset control for performing shortcut operation, and the message notification list is a list for performing message reminding;
the transverse screen information at least comprises a network assistant shortcut control, and the vertical screen information at least comprises a network assistant shortcut control; the network assistant shortcut control is a control used for determining the current traffic situation.
5. The apparatus according to claim 4, wherein the vertical screen notification bar is a notification bar generated by laying out vertical screen information in advance by using a vertical screen layout strategy, or a notification bar generated by laying out vertical screen information by using a vertical screen layout strategy when receiving an instruction to display a notification bar;
the horizontal screen notification bar is generated after horizontal screen information is subjected to layout by utilizing a horizontal screen layout strategy in advance, or is generated after the horizontal screen information is subjected to layout by utilizing the horizontal screen layout strategy when an instruction for displaying the notification bar is received.
6. The apparatus of claim 4 or 5, further comprising a placement policy determination module configured to:
receiving a transverse screen or vertical screen layout strategy setting command based on a preset layout strategy setting inlet;
and determining the transverse screen layout strategy according to the transverse screen layout strategy setting command, or determining the vertical screen layout strategy according to the vertical screen layout strategy setting command.
7. A notification bar display device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when an instruction of displaying a notification bar is received, detecting a current screen display mode of the terminal equipment;
if the screen display mode is a vertical screen mode, displaying a vertical screen notification bar generated after layout of vertical screen information is carried out by using a vertical screen layout strategy, wherein the vertical screen layout strategy is a preset layout strategy suitable for displaying information in the vertical screen mode, and the vertical screen information is information to be displayed in the vertical screen notification bar;
if the screen display mode is a horizontal screen mode, displaying a horizontal screen notification bar generated after layout of horizontal screen information is carried out by using a horizontal screen layout strategy, wherein the horizontal screen layout strategy is a preset layout strategy suitable for displaying information in the horizontal screen mode, and the horizontal screen information is information to be displayed in the horizontal screen notification bar;
the horizontal screen layout strategy is determined based on a horizontal screen layout strategy setting command, and the vertical screen layout strategy is determined based on a vertical screen layout strategy setting command;
the line number occupied by the horizontal screen information in the horizontal screen notification bar is smaller than the line number occupied by the vertical screen information in the vertical screen notification bar by enabling the display information in the horizontal screen notification bar to be less than the display information in the vertical screen notification bar or by adjusting the typesetting mode under the condition that the contents displayed in the horizontal screen notification bar and the vertical screen notification bar are the same;
only a preset shortcut control is displayed in the horizontal screen notification bar, and a preset shortcut control and a message notification list are displayed in the vertical screen notification bar;
the preset shortcut control is a preset control for performing shortcut operation, and the message notification list is a list for performing message reminding;
the transverse screen information at least comprises a network assistant shortcut control, and the vertical screen information at least comprises a network assistant shortcut control; the network assistant shortcut control is a control used for determining the current traffic situation.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
CN201710087021.5A 2017-02-17 2017-02-17 Notification bar display method and device Active CN106909376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710087021.5A CN106909376B (en) 2017-02-17 2017-02-17 Notification bar display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710087021.5A CN106909376B (en) 2017-02-17 2017-02-17 Notification bar display method and device

Publications (2)

Publication Number Publication Date
CN106909376A CN106909376A (en) 2017-06-30
CN106909376B true CN106909376B (en) 2021-08-24

Family

ID=59207720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710087021.5A Active CN106909376B (en) 2017-02-17 2017-02-17 Notification bar display method and device

Country Status (1)

Country Link
CN (1) CN106909376B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107566607B (en) * 2017-07-31 2020-11-10 努比亚技术有限公司 Notification display method, mobile terminal and computer readable storage medium
CN108664300B (en) * 2018-04-03 2021-06-25 青岛海信移动通信技术股份有限公司 Application interface display method and device in picture-in-picture mode
CN110162350B (en) * 2019-05-27 2022-10-25 天津卓漫科技有限公司 Notification bar information display method, notification bar information display device, server and storage medium
CN110673913B (en) * 2019-09-23 2022-02-01 维沃移动通信有限公司 Notification message display method and mobile terminal
CN110955793A (en) * 2019-11-26 2020-04-03 维沃移动通信有限公司 Display control method and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102346646A (en) * 2011-09-19 2012-02-08 百度在线网络技术(北京)有限公司 Method and device for displaying contents on display screen of mobile terminal
CN104133664B (en) * 2013-09-29 2016-03-02 腾讯科技(深圳)有限公司 A kind of informing generation method and device
KR102326664B1 (en) * 2015-03-09 2021-11-17 삼성전자 주식회사 Electronic device and method for operating notification bar thereof
CN106020810A (en) * 2016-05-13 2016-10-12 乐视控股(北京)有限公司 Adaptive switching method and apparatus of display item

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"使用EMUI 5.0,你不能不知道的一些事儿";玩机技巧官方;《https://club.huawei.com/thread-11767239-1-1.html?authorid=7425789》;20170106;第1-13页 *
荣耀6Plus 双4G 6.4.16 EMUI4;Kangvip;《https://club.huawei.com/forum.php?mod=viewthread&tid=8937372&page=1&authorid=5467988》;20160416;第1-8页 *

Also Published As

Publication number Publication date
CN106909376A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
CN106909376B (en) Notification bar display method and device
CN110662095B (en) Screen projection processing method and device, terminal and storage medium
CN105955607B (en) Content sharing method and device
CN107526494B (en) Keyboard display method, device, terminal and storage medium
KR101794463B1 (en) Method, device, program and recording medium for displaying a message
US11086482B2 (en) Method and device for displaying history pages in application program and computer-readable medium
US20170344192A1 (en) Method and device for playing live videos
CN114201133A (en) Split screen display method and device
CN107544810B (en) Method and device for controlling application program
CN106469054B (en) Notification message control method and device and terminal
CN105893136B (en) Multitask management method and device
CN111381739B (en) Application icon display method and device, electronic equipment and storage medium
US20180167478A1 (en) Method and apparatus for displaying notification message
CN107229411B (en) Method and device for controlling split screen state
CN106528735B (en) Method and device for controlling browser to play media resources
EP3754959A1 (en) Quick access to an application in the lock screen
CN111651216A (en) NFC card processing method and device and storage medium
CN110119239B (en) Input method application display method and device
CN107566878B (en) Method and device for displaying pictures in live broadcast
CN109947506B (en) Interface switching method and device and electronic equipment
CN110618783B (en) Text broadcasting method, device and medium
CN108874450B (en) Method and device for waking up voice assistant
CN108984098B (en) Information display control method and device based on social software
US11221734B2 (en) Punch-hole screen display method and apparatus
CN106445376B (en) Webpage operation method and device

Legal Events

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