CN110162350B - Notification bar information display method, notification bar information display device, server and storage medium - Google Patents

Notification bar information display method, notification bar information display device, server and storage medium Download PDF

Info

Publication number
CN110162350B
CN110162350B CN201910445150.6A CN201910445150A CN110162350B CN 110162350 B CN110162350 B CN 110162350B CN 201910445150 A CN201910445150 A CN 201910445150A CN 110162350 B CN110162350 B CN 110162350B
Authority
CN
China
Prior art keywords
animation
notification
information
display
notification bar
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
CN201910445150.6A
Other languages
Chinese (zh)
Other versions
CN110162350A (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.)
Tianjin Zhuoman Technology Co ltd
Original Assignee
Tianjin Zhuoman Technology 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 Tianjin Zhuoman Technology Co ltd filed Critical Tianjin Zhuoman Technology Co ltd
Priority to CN201910445150.6A priority Critical patent/CN110162350B/en
Publication of CN110162350A publication Critical patent/CN110162350A/en
Application granted granted Critical
Publication of CN110162350B publication Critical patent/CN110162350B/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/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • 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

Landscapes

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

Abstract

The embodiment of the invention discloses a display method, a device, a server and a storage medium of notification bar information, wherein the method comprises the following steps: receiving notification information to be animated and displayed; and responding to the operation of a pull-down notification bar, displaying the notification information on the notification bar interface, and additionally displaying a preset animation. The interestingness of display can be enhanced, and meanwhile, the display effect of information can be enhanced, so that a user can concentrate on attention to read information, and important information is prevented from being omitted.

Description

Notification bar information display method, notification bar information display device, server and storage medium
Technical Field
The present invention relates to the field of mobile terminal technologies, and in particular, to a method and an apparatus for displaying notification bar information, a server, and a storage medium.
Background
With the continuous development of mobile communication technology, more and more applications are installed in mobile terminals. For example, social communication APPs (such as WeChat, qq, and nailing), shopping platform APPs (such as Taobao, jingdong, and salted fish), entertainment audio and video platform APPs (you cool, and potato), and the like are all essential APPs that are commonly used by users.
Currently, most application programs adopt a push technology, that is, a server actively sends information to a mobile terminal of a client. After various information pops up, if the user does not process the information in time, the information is stored in a pull-down notification bar of the terminal and used for prompting the user that unread information exists currently. And when the user is convenient, reading the unread information by sliding the pull-down notification bar.
In the process of implementing the invention, the inventor finds the following technical problems: when unread information is read through the pull-down notification bar, the information is usually displayed only in the form of characters and simple character expressions, and the display mode is monotonous. And since the relative area of the notification bar is small, the characters and characters are closely arranged. When reading the information, the user is difficult to read with attention, and important information is easy to lose.
Disclosure of Invention
The embodiment of the invention provides a method and a device for displaying information of a notification bar, a server and a storage medium, which are used for solving the technical problem that the information in the notification bar is displayed monotonously in the prior art.
In a first aspect, an embodiment of the present invention provides a method for displaying notification bar information, including:
receiving notification information to be animated and displayed;
and responding to the operation of a pull-down notification bar, displaying the notification information on the notification bar interface, and additionally displaying a preset animation.
Further, before the receiving the notification information, the method further includes:
judging whether the notification information is a notification allowing animation display;
correspondingly, the receiving notification information includes:
and if the notification information is the animation display permission notification, receiving the animation display permission information.
Further, the determining whether the notification information is a notification allowing animation display includes:
judging whether the sender of the notification information is a permitted application program or not
And judging whether the type of the notification information is an allowable type.
Further, the displaying the preset animation includes:
calling an animation display notification layout scene component, wherein the animation display notification layout component is used for providing a notification bar interface, starting animation service and executing all controls of the animation display notification bar;
and adding animation in the notification bar by utilizing the animation control in the animation display notification layout builder, and displaying the animation in the notification bar.
Further, the adding animation in the notification bar by using the animation display notification layout builder comprises:
and reading the layout by using the animation display notification layout controller, instantiating, and dynamically loading the animation in the notification bar through the animation control.
Further, the dynamically loading animation in the notification bar through the animation control comprises:
and loading resources according to animation configuration through an engine, wherein the engine supports character and picture frame animations.
In a second aspect, an embodiment of the present invention further provides a display device for notification bar information, including:
the receiving module is used for receiving the notification information to be animated and displayed;
and the display module is used for responding to the operation of pulling down the notification bar, displaying the notification information on the notification bar interface and displaying the preset animation.
Further, the apparatus further comprises:
the judging module is used for judging whether the notification information is a notification allowing animation display;
correspondingly, the receiving module includes:
and the receiving unit is used for receiving the animation display permission information if the notification information is an animation display permission notification.
Further, the determining module is configured to:
judging whether the sender of the notification information is a permitted application program or not
And judging whether the type of the notification information is an allowable type.
Further, the display module includes:
the calling unit is used for calling the animation display notification layout builder which is used for realizing the execution of all controls of the animation display notification;
and the display unit is used for increasing animation in the notification bar by utilizing the animation control in the animation display notification layout builder and displaying the animation in the notification bar.
Further, the display unit further includes:
and the animation loading subunit is used for reading the layout by using the animation display notification layout controller, instantiating the layout and dynamically loading the animation in the notification bar through the animation control.
Furthermore, the animation loading subunit is used for loading resources according to animation configuration through an engine, and the engine supports character and picture frame animations.
In a third aspect, an embodiment of the present invention further provides a terminal, where the terminal includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement any of the notification bar information display methods provided in the above embodiments.
In a fourth aspect, the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for displaying notification bar information according to any one of the embodiments.
The notification bar information display method, the notification bar information display device, the server and the storage medium provided by the embodiment of the invention display the notification information by receiving the information to be animated; and responding to the operation of a pull-down notification bar, displaying the notification information on the notification bar interface, and additionally displaying a preset animation. When the user pulls down the notification bar to check the notification information, the user can display characters on the interface of the notification bar, and simultaneously display corresponding animations additionally, so that the interestingness of display can be enhanced, the display effect of the information can be enhanced, the user can concentrate on the attention to read the information, and important information is prevented from being omitted.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments thereof, made with reference to the following drawings:
fig. 1 is a schematic flowchart illustrating a method for displaying notification bar information according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for displaying notification bar information according to a second embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for displaying notification bar information according to a third embodiment of the present invention;
fig. 4 is a flowchart illustrating a display method of notification bar information according to a fourth embodiment of the present invention;
fig. 5 is a flowchart illustrating a method for displaying notification bar information according to a fifth embodiment of the present invention;
fig. 6 is a schematic diagram of an animation display effect in a display method of notification bar information according to a fifth embodiment of the present invention;
fig. 7 is a schematic view of an animation display effect in a display method of notification bar information according to a fifth embodiment of the present invention;
fig. 8 is a schematic view of an animation display effect in a display method of notification bar information according to a fifth embodiment of the present invention;
fig. 9 is a schematic structural diagram of a display device for notification bar information according to a fourth embodiment of the present invention;
fig. 10 is a schematic structural diagram of a terminal according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart illustrating a method for displaying notification bar information according to an embodiment of the present invention, where the present embodiment is applicable to a case where information in a notification bar is displayed, and the method may be executed by a display device of notification bar information and may be integrated in a mobile terminal, and specifically includes the following steps:
and S110, receiving the notification information to be animated and displayed.
In order to better understand the display method of the notification bar information disclosed in the embodiment of the present invention, a description is first given of a mobile terminal to which the embodiment of the present invention is applicable. The mobile terminal described in the embodiment of the present invention may include any device having a display screen and communication and storage functions, for example, an intelligent device such as a tablet computer, a mobile phone, and the like, and the mobile terminal may be installed with an operating system such as Android, linux, IOS, or Windows, and the like, and the mobile terminal may further be installed with a plurality of application programs based on the installed operating system, where the application programs may be system applications pre-installed before the mobile terminal leaves a factory, such as mailbox applications, setting applications, music applications, browser applications, photographing applications, and the like, or may be third-party application programs installed by the user, such as QQ applications, wechat applications, pay applications, and microblog applications, and the like, and the specific details are not limited herein.
In this embodiment, the mobile terminal may receive various information, such as: various push information received by various applications from the remote server, such as messages received by the WeChat application from the remote server, and various news feeds. Or messages generated by various applications, such as: and various messages sent by the application program for monitoring the electric quantity when the electric quantity is lower than a preset threshold value, and the like.
Because the information received by the mobile terminal is various and part of the information belongs to meaningless information such as promotion, push and the like, the part of the information is not concerned by the user, and therefore the part of the information does not need to be displayed in a notification bar in a special way. Therefore, only when important information is received, it is presented in a special manner in the notification bar. In this embodiment, notification information to be animated is received and processed so that the information can be presented in an animated manner. The notification information to be animated may be information that the user considers important and needs to be prompted specifically. For example: information sent by WeChat friends, and information such as low battery.
And S120, responding to the operation of pulling down the notification bar, displaying the notification information on the notification bar interface, and additionally displaying a preset animation.
After the notification information is received, the information is not immediately displayed, but is displayed by using a thumbnail icon above a terminal display interface so as to prompt a user that specific information which is not viewed currently exists. The user can realize the purpose of viewing the notification information by the operation of pulling down the notification bar on the terminal screen.
In this embodiment, the terminal correspondingly pulls down the operation of the notification bar, displays the notification information on a notification bar interface, and additionally displays a preset animation on the notification bar. For example, a pull-down operation may be detected through a touch screen, and the notification information may be displayed on a notification bar interface when the pull-down operation is detected. And the preset animation is added in the notification bar, so that the information displayed in the notification bar is richer in types, the visual effect is improved, the attention of a user can be attracted, and the user is prevented from missing important information. Optionally, the preset animation may include multiple types, and the display effect may be achieved in various ways. For example: and realizing the animation playing effect in an animation control mode.
According to the display method of the notification bar information provided by the embodiment of the invention, the notification information is displayed by receiving the animation to be displayed; and responding to the operation of a pull-down notification bar, displaying the notification information on the notification bar interface, and additionally displaying a preset animation. When the user pulls down the notification bar to check the notification information, the user can display characters on the interface of the notification bar, and simultaneously additionally display corresponding animations, so that the interestingness of display can be enhanced, the display effect of the information can be enhanced, the user can concentrate on the information to read, and important information is prevented from being omitted.
Example two
Fig. 2 is a flowchart illustrating a method for displaying notification bar information according to a second embodiment of the present invention. In this embodiment, before receiving the notification information, the following steps are added: judging whether the notification information is a notification allowing animation display; correspondingly, the receiving notification information is specifically optimized as follows: and if the notification information is the animation display permission notification, receiving the animation display permission information.
Correspondingly, the method for displaying notification bar information provided by this embodiment specifically includes:
s210, judging whether the notification information is a notification allowing animation display.
In a mobile operating system, an application program (APP) may implement a push message (push) function. The push can play a role in reminding or awakening a user, but most APP message push at present is various propaganda and advertisements, and the user does not care about the propaganda and the advertisements, so that the user does not need to adopt animation display notification. In the present embodiment, when a notification message is received, it is determined whether the received notification message is a notification allowing animation display. For example, the determining whether the notification information is an animation display permission notification may include: and judging whether the sender of the notification information is an allowed application program or not, or judging whether the type of the notification information is an allowed type or not. The APP corresponding to the animation display notification can be preset, and the source of the received push message, namely the APP corresponding to the sender, is judged. Optionally, the APP corresponding to the sender can be obtained through the intent, and whether the APP is in a preset list allowing the application program is judged. The types of the notification information may include: a local send out type or a remote server send type. The local sending type is usually some timing reminding information, and the information sent by the remote server may be information sent by an information interaction application, or some important news pushing information. The user can select information of different sending types for animation display according to own preference.
S220, if the notification information is the animation display permission notification, receiving the animation display permission information.
And S230, responding to the operation of pulling down the notification bar, displaying the notification information on the notification bar interface, and additionally displaying a preset animation.
The present embodiment adds the following steps before the notification information is received: judging whether the notification information is a notification allowing animation display; correspondingly, the receiving notification information is specifically optimized as follows: and if the notification information is the notification allowing the animation display, receiving the information allowing the animation display. The message can be judged in advance, and when the message meets the requirement of displaying the notification message to be animated, the message is animated. The method can avoid the condition that useless information is displayed in an animation mode, and reduce the calculation amount of the terminal.
EXAMPLE III
Fig. 3 is a flowchart illustrating a method for displaying notification bar information according to a third embodiment of the present invention. In this embodiment, the display of the preset animation is specifically optimized as follows: calling an animation display notification layout scene component, wherein the animation display notification layout component is used for providing a notification bar interface, starting animation service and executing all controls of an animation display notification bar; and adding animation in the notification bar by utilizing the animation control in the animation display notification layout builder, and displaying the animation in the notification bar.
Correspondingly, the method for displaying notification bar information provided by the embodiment specifically includes:
and S310, receiving notification information to be animated and displayed.
And S320, responding to the operation of the pull-down notification bar, and calling an animation display notification layout scene component, wherein the animation display notification layout component is used for providing a notification bar interface, starting animation service and executing all controls of the animation display notification bar.
In this embodiment, the animated display notification information is implemented by an animated display notification layout scene component. The animation display notification layout scene component provides a notification bar interface, starts animation service and executes all controls of the animation display notification bar. Illustratively, the animated notification layout scene component may be implemented by a context abstract class. In a system user interface (systemUI), a context load notification layout is typically employed. In this embodiment, adjusting the notification bar layout may be accomplished by rewriting the context abstract class. The purpose of providing a notification bar interface is achieved. Since the context abstract class is a scenario describing the information of an application environment, it can represent a process of interacting with the operating system. In the rewritten context abstract class, activity, service, application, etc. may be implemented as one of them. Thus, providing a notification bar interface, launching animation services, and executing all controls of an animated notification bar can be accomplished using an animated notification layout component. And the control can be used for realizing the character display of the original information.
S330, adding animation in the notification bar by using the animation control in the animation display notification layout builder, and displaying the animation in the notification bar.
Illustratively, a method may be rewritten in a context abstract class to form a corresponding animation control. By the method, the animation is added in the notification bar. And displaying an animation within the notification bar.
In this embodiment, the displaying of the preset animation is specifically optimized as follows: calling an animation display notification layout scene component, wherein the animation display notification layout component is used for providing a notification bar interface, starting animation service and executing all controls of the animation display notification bar; and adding animation in the notification bar by utilizing the animation control in the animation display notification layout builder, and displaying the animation in the notification bar. The notification bar layout can be regenerated using an animated display notification layout scene component and the corresponding controls can be utilized for the purpose of now displaying the animation effect in the notification bar.
Example four
Fig. 4 is a flowchart illustrating a display method of notification bar information according to a third embodiment of the present invention. In this embodiment, adding an animation in a notification bar by using the animation display notification layout builder is specifically optimized as follows: and reading the layout by using the animation display notification layout controller, instantiating, and dynamically loading the animation in the notification bar through the animation control.
Correspondingly, the method for displaying notification bar information provided by the embodiment specifically includes:
and S410, receiving notification information to be animated and displayed.
And S420, responding to the operation of the pull-down notification bar, and calling an animation display notification layout scene component, wherein the animation display notification layout component is used for providing a notification bar interface, starting animation service and executing all controls of the animation display notification bar.
S430, reading the layout by using the animation display notification layout controller, instantiating, dynamically loading the animation in the notification bar through the animation control, and displaying the animation in the notification bar.
Exemplary context abstract classes include: the layout class, layoutInflater, is used to look up the xml layout file under res/layout/and instantiates. Can be used to load a generic interface or an interface that wants to be loaded dynamically. In this embodiment, an infilter may be utilized. Instantiated according to the introduced parameters. The realization takes over the View creation and layout, and can add animation View in the creation process by using findViewById ().
In this embodiment, adding an animation in the notification bar by using the animation display notification layout builder is specifically optimized as follows: and reading the layout by using the animation display notification layout controller, instantiating, and dynamically loading the animation in the notification bar through the animation control. The layout of the notification bar can be regenerated, the animation display layout is set, and the animation can be displayed at the appointed position in the notification bar.
EXAMPLE five
Fig. 5 is a flowchart illustrating a method for displaying notification bar information according to a third embodiment of the present invention. In this embodiment, the dynamic loading of the animation in the notification bar through the animation control is specifically optimized as follows: and loading the animation according to the animation configuration through an animation engine, wherein the animation engine supports character and picture frame animation.
Correspondingly, the method for displaying notification bar information provided by this embodiment specifically includes:
and S510, receiving notification information to be animated and displayed.
S520, responding to the operation of the drop-down notification bar, and calling an animation display notification layout scene component, wherein the animation display notification layout component is used for providing a notification bar interface, starting animation service and executing all controls of the animation display notification bar.
S530, informing the layout controller to read the layout by using the animation display and instantiating the layout.
And S540, loading the animation according to the animation configuration through an animation engine, wherein the animation engine supports character and picture frame animation.
Typically, animations that are dynamically loaded are picture files in gif format. The gif format is a compressed bitmap format, supports transparent background images, is suitable for various operating systems, and can save a plurality of images into one image file so as to form animation. But its nature is still a picture file format. Although animation effects can be achieved with gif pictures. But its animation effect is relatively simple and cannot be modified. Thus, in the present embodiment, an animation engine is employed to generate the loaded animation effects. Animation engines are the core component of animation programs or systems. With animation engines, developers can quickly build, lay down functions required by a program, or utilize the operation of their auxiliary programs. A plurality of moving objects can be set by using the animation engine, and an interface is provided for a user to input the initial position, the moving direction, the speed and the like of the moving objects. Animation effects of the background and various moving objects can be rapidly generated by using the animation engine. Wherein the moving object may include a picture or a text. And the moving direction and speed of the moving object can be set according to actual needs. And the animation effect can be rendered, so that the animation display is more vivid and interesting. Fig. 6-8 are schematic diagrams of animation display effects of the notification bar, respectively. As can be seen from fig. 6 to 8, the dinosaur image therein is a moving object, and rolls in the left-to-right direction. The moving direction and speed of the moving object can be set according to the speed when reading the text information. The purpose of prompting the user to watch the text notification information and avoiding missing important information is achieved.
In this embodiment, the animation is dynamically loaded in the notification bar through the animation control, and the specific optimization is as follows: and loading the animation according to the animation configuration through an animation engine, wherein the animation engine supports character and picture frame animation. Different animation effects can be quickly generated by using the animation engine, so that animation display is vivid and interesting. Meanwhile, the moving direction and speed of the moving object in the animation display can be adjusted according to the reading speed habit of the user, and the purpose of effectively prompting the user to watch the text notification information is achieved.
EXAMPLE six
Fig. 9 is a schematic structural diagram of a display apparatus for notification bar information according to a sixth embodiment of the present invention, and as shown in fig. 9, the apparatus includes:
a receiving module 610, configured to receive notification information to be animated;
and the display module 620 is configured to respond to a pull-down notification bar operation, display the notification information on the notification bar interface, and display a preset animation.
The display device for the notification bar information provided by the embodiment displays the notification information by receiving the information to be animated; and responding to the operation of a pull-down notification bar, displaying the notification information on the notification bar interface, and additionally displaying a preset animation. When the user pulls down the notification bar to check the notification information, the user can display characters on the interface of the notification bar, and simultaneously display corresponding animations additionally, so that the interestingness of display can be enhanced, the display effect of the information can be enhanced, the user can concentrate on the attention to read the information, and important information is prevented from being omitted.
On the basis of the above embodiments, the apparatus further includes:
the judging module is used for judging whether the notification information is a notification allowing animation display;
correspondingly, the receiving module includes:
and the receiving unit is used for receiving the animation display permission information if the notification information is the animation display permission notification.
On the basis of the foregoing embodiments, the determining module is configured to:
judging whether the sender of the notification information is a permitted application program or not
And judging whether the type of the notification information is an allowable type.
On the basis of the above embodiments, the display module includes:
the calling unit is used for calling the animation display notification layout builder which is used for realizing the execution of all controls of animation display notification;
and the display unit is used for increasing animation in the notification bar by utilizing the animation control in the animation display notification layout builder and displaying the animation in the notification bar.
On the basis of the above embodiments, the display unit further includes:
and the animation loading subunit is used for reading the layout by using the animation display notification layout controller, instantiating the layout and dynamically loading the animation in the notification bar through the animation control.
On the basis of the above embodiments, the animation loading subunit is configured to load resources according to animation configuration through an engine, and the engine supports text and picture frame animation.
The display device of the notification bar information provided by the embodiment of the invention can execute the display method of the notification bar information provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE seven
Fig. 10 is a schematic structural diagram of a terminal according to a seventh embodiment of the present invention. Fig. 10 illustrates a block diagram of an exemplary terminal 12 suitable for use in implementing embodiments of the present invention. The terminal 12 shown in fig. 10 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 10, the terminal 12 is embodied in the form of a general purpose computing device. The components of the terminal 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Terminal 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by terminal 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The terminal 12 can further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 10 and commonly referred to as a "hard drive"). Although not shown in FIG. 10, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of embodiments of the invention as described.
The terminal 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with the device/terminal/server 12, and/or with any devices (e.g., network card, modem, etc.) that enable the terminal 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the terminal 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with the other modules of the terminal 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the terminal 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing the method for predicting the network consensus evolution result provided by the embodiment of the present invention.
Example six
The sixth embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for predicting network public opinion evolution results provided in the foregoing embodiments.
Computer storage media for embodiments of the present invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or terminal. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (7)

1. A method for displaying notification bar information, comprising:
receiving notification information to be animated and displayed;
responding to the operation of a pull-down notification bar, displaying the notification information on the notification bar interface, and additionally displaying a preset animation;
the displaying of the preset animation includes:
calling an animation display notification layout scene component, wherein the animation display notification layout component is used for providing a notification bar interface, starting animation service and executing all controls of an animation display notification bar;
adding animation in a notification bar by using an animation control in the animation display notification layout builder, and displaying the animation in the notification bar;
the adding animation in the notification bar by using the animation display notification layout builder comprises the following steps:
the animation display notification layout controller is used for reading the layout, instantiating the layout and dynamically loading the animation in the notification bar through the animation control;
the dynamic loading of the animation in the notification bar through the animation control comprises the following steps:
the loading resources are configured according to the animation through the engine, the engine supports the character and picture frame animation, an interface is provided for a user to input the initial position, the movement direction and the movement speed of the moving object are set according to the speed when character information is read, and the animation effect is rendered.
2. The method of claim 1, wherein prior to said receiving notification information to be animated, the method further comprises:
judging whether the notification information is a notification allowing animation display;
correspondingly, the receiving notification information includes:
and if the notification information is the notification allowing the animation display, receiving the information allowing the animation display.
3. The method of claim 2, wherein the determining whether the notification information is an animation-enabled notification comprises:
judging whether the sender of the notification information is a permitted application program or not
And judging whether the type of the notification information is an allowable type.
4. A display device of notification bar information, comprising:
the receiving module is used for receiving the notification information to be animated and displayed;
the display module is used for responding to the operation of a pull-down notification bar, displaying the notification information on a notification bar interface and displaying a preset animation;
the display module includes:
the calling unit is used for calling the animation display notification layout builder which is used for realizing the execution of all controls of the animation display notification;
the display unit is used for increasing animation in the notification bar by utilizing the animation control in the animation display notification layout builder and displaying the animation in the notification bar;
the display unit further includes:
the animation loading subunit is used for reading the layout by using the animation display notification layout controller, instantiating the layout and dynamically loading the animation in the notification bar through the animation control;
the animation loading subunit is used for loading resources according to animation configuration through an engine, supporting character and picture frame animation, providing an interface for a user to input the initial position, the movement direction and the movement speed of the moving object, setting the movement direction and the movement speed of the moving object according to the speed of reading character information, and rendering animation effects.
5. The apparatus of claim 4, wherein the display module comprises:
the calling unit is used for calling the animation display notification layout builder which is used for realizing the execution of all controls of the animation display notification;
and the display unit is used for increasing animation in the notification bar by utilizing the animation control in the animation display notification layout builder and displaying the animation in the notification bar.
6. An electronic terminal, characterized in that the electronic terminal comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of displaying notification bar information as recited in any of claims 1-3.
7. A storage medium containing computer-executable instructions for performing a method of displaying notification bar information according to any one of claims 1-3 when executed by a computer processor.
CN201910445150.6A 2019-05-27 2019-05-27 Notification bar information display method, notification bar information display device, server and storage medium Active CN110162350B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910445150.6A CN110162350B (en) 2019-05-27 2019-05-27 Notification bar information display method, notification bar information display device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910445150.6A CN110162350B (en) 2019-05-27 2019-05-27 Notification bar information display method, notification bar information display device, server and storage medium

Publications (2)

Publication Number Publication Date
CN110162350A CN110162350A (en) 2019-08-23
CN110162350B true CN110162350B (en) 2022-10-25

Family

ID=67629056

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910445150.6A Active CN110162350B (en) 2019-05-27 2019-05-27 Notification bar information display method, notification bar information display device, server and storage medium

Country Status (1)

Country Link
CN (1) CN110162350B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111881005B (en) * 2020-07-15 2023-08-15 百度在线网络技术(北京)有限公司 Information display method, device, equipment and storage medium
CN112596829A (en) * 2020-12-15 2021-04-02 平安普惠企业管理有限公司 Lottie-based prompt box generation method and device, electronic equipment and storage medium

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080047847A (en) * 2006-11-27 2008-05-30 삼성전자주식회사 Apparatus and method for playing moving image
WO2010138777A1 (en) * 2009-05-27 2010-12-02 Arsh Technologies, Llc Automatic resource retrieval and use
JP5659307B2 (en) * 2012-07-17 2015-01-28 パナソニックIpマネジメント株式会社 Comment information generating apparatus and comment information generating method
CN103634199B (en) * 2013-08-26 2017-11-21 华为技术有限公司 The display methods and device of notification message
JP2015106265A (en) * 2013-11-29 2015-06-08 三菱重工業株式会社 Information processing apparatus and parameter setting method
CN105988709A (en) * 2015-12-03 2016-10-05 广州阿里巴巴文学信息技术有限公司 Information processing method and device
CN106534526B (en) * 2016-11-07 2020-03-13 珠海市魅族科技有限公司 Suspension notification prompting method and device
CN106791083A (en) * 2016-12-19 2017-05-31 北京小米移动软件有限公司 Notification message display methods and device
CN106648698A (en) * 2016-12-29 2017-05-10 北京金山安全软件有限公司 Method and device for displaying message notification and electronic equipment
CN106886409A (en) * 2017-01-25 2017-06-23 维沃移动通信有限公司 A kind of method for information display and mobile terminal
CN106909376B (en) * 2017-02-17 2021-08-24 北京小米移动软件有限公司 Notification bar display method and device
CN107402760A (en) * 2017-07-25 2017-11-28 青岛海信移动通信技术股份有限公司 The display methods and device of notification message in mobile terminal informing interface
CN108334352A (en) * 2017-08-31 2018-07-27 北京小米移动软件有限公司 Notification message processing method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110162350A (en) 2019-08-23

Similar Documents

Publication Publication Date Title
CN110392312B (en) Group chat construction method, system, medium and electronic device
US20230035047A1 (en) Remote assistance method, device, storage medium, and terminal
CN110658961B (en) Information display method and device and electronic equipment
CN113094135B (en) Page display control method, device, equipment and storage medium
CN112764612A (en) Interaction method, interaction device, electronic equipment and storage medium
CN110619099B (en) Comment content display method, device, equipment and storage medium
US11750879B2 (en) Video content display method, client, and storage medium
CN113268212A (en) Screen projection method and device, storage medium and electronic equipment
US20230421857A1 (en) Video-based information displaying method and apparatus, device and medium
CN110162350B (en) Notification bar information display method, notification bar information display device, server and storage medium
CN111127469A (en) Thumbnail display method, device, storage medium and terminal
CN104615432B (en) Splash screen information processing method and client
CN112214706A (en) Information publishing method and device, electronic equipment and storage medium
CN114363686B (en) Method, device, equipment and medium for publishing multimedia content
CN110083467B (en) Method and device for processing applet message and computer storage medium
US20240089223A1 (en) Information display method and apparatus, and electronic device
CN112565870B (en) Content caching and reading method, client and storage medium
CN113419873A (en) Chat message reminding method and device, storage medium and terminal equipment
CN110147283B (en) Display content switching display method, device, equipment and medium
WO2023134558A1 (en) Interaction method and apparatus, electronic device, storage medium, and program product
CN111177634A (en) Multi-language supporting file content loading method, device, equipment and medium
CN115379245B (en) Information display method and device and electronic equipment
CN115269886A (en) Media content processing method, device, equipment and storage medium
CN112565859B (en) Video content display method, client and storage medium
CN113010064B (en) Information prompting method and device and electronic equipment

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