CN111831946A - Information display method and device and electronic equipment - Google Patents

Information display method and device and electronic equipment Download PDF

Info

Publication number
CN111831946A
CN111831946A CN202010725835.9A CN202010725835A CN111831946A CN 111831946 A CN111831946 A CN 111831946A CN 202010725835 A CN202010725835 A CN 202010725835A CN 111831946 A CN111831946 A CN 111831946A
Authority
CN
China
Prior art keywords
information
displayed
display
new
new information
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.)
Pending
Application number
CN202010725835.9A
Other languages
Chinese (zh)
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 Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202010725835.9A priority Critical patent/CN111831946A/en
Publication of CN111831946A publication Critical patent/CN111831946A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Abstract

The disclosure relates to an information display method and device and electronic equipment. Wherein, the method comprises the following steps: receiving new information to be displayed when the first information is displayed on the display interface; when the new information to be displayed is received, determining the next information to be displayed; if the determined next information to be displayed is the new information to be displayed, taking the new information to be displayed as the next information to be displayed; and if the priority of the new information to be displayed is higher than that of the first information, canceling the display of the first information and broadcasting the new information to be displayed. In the embodiment of the disclosure, when new information to be displayed is available, the new information to be displayed has a priority higher than that of the currently displayed information, the currently displayed information can be cancelled immediately, so that the new information to be displayed can be displayed in time, and the instantaneity of emergency information display and the timeliness of the information can be effectively guaranteed.

Description

Information display method and device and electronic equipment
Technical Field
The present disclosure relates to the field of data processing, and in particular, to a method and an apparatus for displaying information, and an electronic device.
Background
With the development of the internet, the information amount is more and more, and the content carried by a single area cannot meet the requirement, so that the content of different information needs to be respectively displayed at the same position, and certain transition animation is often needed for switching between different information to obtain good user sensory experience, which is called as 'carousel' in interaction, and the carousel component can automatically control the rhythm of the carousel during the carousel. However, when new content needs to be inserted urgently, for example, "breaking news" in news broadcasting, etc., the carousel component generally can insert new information only when the content of the current information is displayed, which results in that new information cannot be inserted in time, and the timeliness of the emergency information is affected.
Disclosure of Invention
The disclosure provides an information display method, an information display device and electronic equipment, and aims to at least solve the problem that timeliness of emergency information is affected due to the fact that new information cannot be inserted in time in the related technology. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided an information display method, including:
receiving new information to be displayed when a display interface displays first information, wherein the first information is information currently displayed by the display interface of the page carousel;
when the new information to be displayed is received, determining the next information to be displayed;
if the determined next information to be displayed is the new information to be displayed, taking the new information to be displayed as the next information to be displayed, wherein the next information to be displayed is the information to be displayed adjacent to the display sequence of the first information;
and if the priority of the new information to be displayed is higher than that of the first information, canceling the display of the first information and broadcasting the new information to be displayed.
Optionally, after receiving new information to be presented, the method further includes:
storing the new information to be displayed to a candidate storage space, wherein the candidate storage space is used for storing all the information to be displayed;
the determining of the next piece of information to be displayed includes:
and determining the next piece of information to be displayed according to the priorities of all the information to be displayed in the candidate storage space and the received time.
Optionally, the method further comprises:
and if the priority of the new information to be displayed is equal to or lower than the priority of the first information, displaying the new information to be displayed on the display interface carousel of the page carousel when the first information is displayed.
Optionally, after the canceling of the presenting of the first information, the method further includes:
storing the first information to a candidate storage space;
and when the new information to be displayed is displayed, displaying the first information in turn.
Optionally, before the receiving new information to be presented, the method further includes:
determining a display duration corresponding to each piece of information to be displayed according to the display content of all pieces of information to be displayed, wherein the display duration is the duration of the display of each piece of information to be displayed on the display interface of the page carousel;
and setting a corresponding timer for each piece of information to be displayed based on the display duration of each piece of information to be displayed, wherein the timer is used for controlling the display of the corresponding piece of information to be displayed, and the timing duration of the timer is the display duration of the information to be displayed.
Optionally, if the priority of the new information to be displayed is higher than the priority of the first information, canceling to display the first information, including:
if the priority of the new information to be displayed is higher than that of the first information, the timer of the first information is cancelled;
canceling presentation of the first information in response to cancellation of a timer for the first information.
Optionally, after the inserting the new information to be shown, the method further includes:
if the display duration of the new information to be displayed is over, calling a timer of the next information to be displayed;
and when the timer of the next information to be displayed starts, displaying the information to be displayed corresponding to the timer to a display interface in a carousel mode.
Optionally, after the inserting the new information to be shown, the method further includes:
if the new information to be displayed does not exist next information to be displayed, canceling the timer of the new information to be displayed;
and circularly displaying the new information to be displayed.
According to a second aspect of the embodiments of the present disclosure, there is provided an information display apparatus, including:
the display interface display device comprises a receiving module and a display module, wherein the receiving module is configured to receive new information to be displayed when a display interface displays first information, and the first information is information currently displayed on the display interface of the page carousel;
the first determining module is configured to determine the next piece of information to be displayed when the new information to be displayed is received;
the second determining module is configured to, if the determined next piece of information to be displayed is the new information to be displayed, take the new information to be displayed as the next piece of information to be displayed, wherein the next piece of information to be displayed is information to be displayed, which is adjacent to the display sequence of the first information;
the first display module is configured to cancel the display of the first information and insert the new information to be displayed if the priority of the new information to be displayed is higher than that of the first information.
Optionally, the apparatus further comprises:
the first storage module is configured to store the new information to be displayed to a candidate storage space, wherein the candidate storage space is used for storing all information to be displayed;
a first determination module comprising:
the first determining unit is configured to determine the next piece of information to be displayed according to the priorities of all the information to be displayed in the candidate storage space and the received time.
Optionally, the apparatus further comprises:
and the second display module is configured to display the new information to be displayed in a carousel display interface of the page carousel when the first information display is finished if the priority of the new information to be displayed is equal to or lower than the priority of the first information.
Optionally, the apparatus further comprises:
a second storage module configured to store the first information to a candidate storage space;
and the third display module is configured to display the first information in a carousel mode when the new information to be displayed is displayed.
Optionally, the apparatus further comprises:
the third determining module is configured to determine a display duration corresponding to each piece of information to be displayed according to display contents of all pieces of information to be displayed, wherein the display duration is the duration of the display of each piece of information to be displayed on the display interface of the page carousel;
the setting module is configured to set a corresponding timer for each piece of information to be displayed based on the display duration of each piece of information to be displayed, wherein the timer is used for controlling the display of the corresponding piece of information to be displayed, and the timing duration of the timer is the display duration of the information to be displayed.
Optionally, the first display module comprises:
the first canceling unit is configured to cancel the timer of the first information if the priority of the new information to be displayed is higher than that of the first information;
a second canceling unit configured to cancel the first information in response to cancellation of a timer of the first information.
Optionally, the apparatus further comprises:
the calling module is configured to call a timer of the next information to be displayed if the display duration of the new information to be displayed is over;
and the fourth display module is configured to display the information to be displayed corresponding to the timer to the display interface in a carousel manner when the timer of the next information to be displayed starts.
Optionally, the apparatus further comprises:
the canceling module is configured to cancel the timer of the new information to be displayed if the new information to be displayed does not have the next information to be displayed;
and the circulating module is configured to circularly display the new information to be displayed.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement any one of the above-mentioned information display methods.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a storage medium, wherein instructions of the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform any one of the above-mentioned information presentation methods.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program product, wherein when the instructions in the computer program product are executed by a processor of an electronic device, the electronic device is caused to execute any one of the above-mentioned information presentation methods.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in the technical scheme provided by the embodiment of the disclosure, when a first message is displayed on a display interface, new information to be displayed is received, when the new information to be displayed is received, next information to be displayed is determined, if the determined next information to be displayed is the new information to be displayed, the new information to be displayed is used as next information to be displayed adjacent to the display sequence of the first information, and if the priority of the new information to be displayed is higher than that of the first information, the first information is cancelled to be displayed, and the new information to be displayed is broadcast. In the embodiment of the disclosure, when new information to be displayed is available, the new information to be displayed has a priority higher than that of the currently displayed information, the currently displayed information can be cancelled immediately, so that the new information to be displayed can be displayed in time, and the instantaneity of emergency information display and the timeliness of the information can be effectively guaranteed.
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 and are not to be construed as limiting the disclosure.
FIG. 1 is a flow chart illustrating a method of presenting information in accordance with an exemplary embodiment;
FIG. 2 is a flow chart illustrating a method of presenting information in accordance with an exemplary embodiment;
FIG. 3 is a schematic diagram illustrating a carousel presentation of information, according to an example embodiment;
FIG. 4 is a block diagram illustrating an apparatus for presenting information, according to an exemplary embodiment;
FIG. 5 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 6 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. 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 embodiment of the disclosure provides an information display method, an information display device and electronic equipment. The information display device can be integrated into any mobile terminal device (e.g., a smart phone, a tablet computer, etc.), a notebook computer or a fixed terminal (desktop computer), and can be implemented by hardware and/or software.
Fig. 1 is a flowchart illustrating a method for presenting information according to an exemplary embodiment. As shown in the figure, the information display method may include: contents shown in step S11 to step S14.
In step S11, when the first information is displayed on the display interface, new information to be displayed is received.
The first information is information currently displayed on a display interface of the page carousel.
In step S12, when new information to be presented is received, the next information to be presented is determined.
In the embodiment of the present disclosure, when a new message to be displayed arrives, the next message to be displayed is determined again, that is, the next message to be displayed can be adjusted at any time.
In step S13, if it is determined that the next piece of information to be displayed is new information to be displayed, the new information to be displayed is used as the next piece of information to be displayed.
And the next piece of information to be displayed is the information to be displayed which is adjacent to the display sequence of the first information.
In step S14, if the priority of the new information to be displayed is higher than the priority of the first information, the first information is cancelled and the new information to be displayed is broadcasted.
In the embodiment of the disclosure, whether the priority of the new information to be displayed is higher than the priority of the first information is judged according to the content of the new information to be displayed, if the priority of the new information to be displayed is higher than the priority of the first information, it is indicated that the new information to be displayed is urgent and needs to be displayed immediately, the display of the first information is cancelled, and then the new information to be displayed is inserted immediately to ensure the timeliness of the new information to be displayed.
Therefore, in the embodiment of the present disclosure, when a first message is displayed on a display interface, new information to be displayed is received, when the new information to be displayed is received, a next piece of information to be displayed is determined, if the determined next piece of information to be displayed is the new information to be displayed, the new information to be displayed is used as a next piece of information to be displayed adjacent to a display sequence of the first information, and if the priority of the new information to be displayed is higher than the priority of the first information, the first information is cancelled to be displayed, and the new information to be displayed is broadcast. In the embodiment of the disclosure, when new information to be displayed is available, the new information to be displayed has a priority higher than that of the currently displayed information, the currently displayed information can be cancelled immediately, so that the new information to be displayed can be displayed in time, and the instantaneity of emergency information display and the timeliness of the information can be effectively guaranteed.
In one possible implementation of the present disclosure, as shown in fig. 2, a flowchart of a method for presenting information is shown according to an exemplary embodiment. As shown in fig. 2, after receiving new information to be presented, the method for presenting information may further include: contents shown in step S15.
In step S15, the new information to be presented is stored in the candidate storage space.
The candidate storage space is used for storing all information to be displayed.
Accordingly, determining the next piece of information to be displayed may include: the contents shown in step S121.
In step S121, the next piece of information to be displayed is determined according to the priorities and the received times of all the information to be displayed in the candidate storage space.
In the embodiment of the present disclosure, when receiving new information to be displayed, the new information to be displayed is stored in the candidate storage space, and then, according to the priorities and the receiving times of all the information to be displayed in the candidate storage space, that is, the earlier the receiving times with the same priority are, the earlier the displaying order is, the message to be displayed with the highest priority and the earliest receiving time in the candidate storage space is selected as the next information to be displayed.
In one possible embodiment of the present disclosure, the information display method may further include: contents shown in step S16.
In step S16, if the priority of the new information to be displayed is equal to or lower than the priority of the first information, the new information to be displayed is displayed on the display interface carousel of the page carousel when the first information is displayed.
In this embodiment, if the priority of the received new information to be displayed is lower than or equal to the priority of the currently displayed first information, which indicates that the new information to be displayed is not very urgent, the new information to be displayed may be displayed after the first information is displayed, and the new information to be displayed is stored in the candidate storage space.
In one possible embodiment of the present disclosure, as shown in fig. 2, after canceling the presentation of the first information, the method for presenting information may further include: contents shown in step S17 to step S18.
In step S17, the first information is stored to the candidate storage space.
In step S18, when the new information to be displayed is displayed, the carousel displays the first information.
In the embodiment of the present disclosure, when the first information is canceled, since the first information is not completely displayed, the first information is stored in the candidate storage space, and the first information is stored as the next information to be displayed, so that the first information is displayed when the new information to be displayed is displayed. That is, when receiving new information to be displayed with high priority (for example, information that is relatively urgent), the information to be displayed with high priority can be immediately displayed on the display interface, so that the content of the information can be displayed in time, and the timeliness of the information can be effectively guaranteed. And arranging the information at the first position to be displayed in the candidate storage space because the currently displayed information is not completely displayed, so that the information which is not completely displayed can be completely displayed.
In a possible embodiment of the present disclosure, before receiving new information to be presented, the presentation method of the information may further include the contents shown in step S19 to step S110.
In step S19, the display duration corresponding to each piece of display information is determined according to the content of all pieces of information to be displayed.
The display duration is the duration of displaying the information to be displayed on the display interface of the page carousel.
That is, according to the specific content of each information to be displayed, a display duration for displaying all the content is determined for each information to be displayed, and the display duration is greater than or equal to the duration for displaying all the content of the information to be displayed.
In step S20, a corresponding timer is set for each piece of information to be displayed based on the display duration of each piece of information to be displayed.
The timer is used for controlling the display of the corresponding information to be displayed, and the timing duration of the timer is the display duration of the information to be displayed.
That is, when each piece of information to be displayed is displayed, the corresponding timer is started, when the corresponding time length is displayed by the timer, the display is finished, the next piece of information to be displayed is displayed, and the display time length of each piece of information to be displayed can be accurately controlled by setting the corresponding timer.
Specifically, a timer may be created using setTimeoutAPI. The set duration of the timer depends on the attribute requirement of the information to be displayed, for example, if the information needs to be displayed for 10 seconds, the timer is set to be a 10-second timer, and if the information can be displayed indefinitely, the timer does not need to be set.
That is, in one possible embodiment of the present disclosure, after inserting new information to be presented, the method for presenting the information may further include: if the new information to be displayed does not have the next information to be displayed, canceling the timer of the new information to be displayed; and circularly displaying the new information to be displayed.
That is, if there is no next information to be displayed after a certain information to be displayed, the information to be displayed may be displayed in a circulating manner, and at this time, a timer is not required to be set, and the timer of the information to be displayed may be cancelled, so as to play the information in a circulating manner.
In a possible implementation manner of the present disclosure, canceling the presentation of the first information if the priority of the new information to be presented is higher than the priority of the first information may specifically include: the contents shown in step S141 to step S142.
In step S141, if the priority of the new information to be displayed is higher than the priority of the first information, the timer of the first information is cancelled.
In step S142, the first information is cancelled in response to cancellation of the timer of the first information.
Specifically, since the timer controls the time length of information display, if the display of the current information needs to be cancelled, the corresponding timer is cancelled.
In one possible embodiment of the present disclosure, after inserting new information to be presented, the presentation method of the information may further include the following steps.
If the display duration of the new information to be displayed is over, calling a timer of the next information to be displayed; and when the timer of the next information to be displayed starts, displaying the information to be displayed corresponding to the timer to the display interface in a carousel mode.
In the embodiment of the present disclosure, after one information display is finished, next information is displayed, at this time, a timer of next information to be displayed may be called, and when the timer starts, the information to be displayed corresponding to the timer is displayed to the display interface in a carousel manner. That is, presentation of the information, i.e., the start time and the end time of presentation of the control information, is controlled by the timer.
It should be noted that, in the above disclosed embodiments, the information is displayed in a carousel manner, that is, the switching between the information is not direct, but has a certain transition picture, so as to provide a better sensory experience for the user.
In particular, a visual carousel component, such as a js carousel component, may be employed to enable information to be switched between.
Fig. 3 is a schematic diagram illustrating an information carousel presentation according to an example embodiment.
And setting a container view through the visual carousel component, wherein the container view is used as a display position of each information to be displayed. The container view only shows one message most of the time, and two messages can be simultaneously shown during the transition period of the messages and the messages. For example, as shown in the figure, the container view is used for displaying four lines of poetry sentences respectively most of the time, namely 'spending splashes in time, catching birds and frightening hearts, beacon fire and March, and family books are resistant to huge gold', at the current moment, the first two poetry sentences are displayed and are hidden, the second two poetry sentences are performing information transition, and the third poetry sentence is transited to the fourth poetry sentence.
The height of each piece of information is the same as that of the container view, and transition between pieces of information can be realized only by changing the relative position of the information and the container view, and specific information is displayed.
It should be noted that there are various carousel display manners, the embodiment of the present disclosure provides a vertical scrolling carousel display, and in other embodiments, the present disclosure may also provide a horizontal scrolling carousel display, a transparency gradient carousel display, a 3D transformation carousel display, and the like, which is not limited in the embodiment of the present disclosure.
FIG. 4 is a block diagram illustrating an apparatus for presenting information, according to an example embodiment. Referring to fig. 4, the apparatus 300 may include a receiving module 301, a first determining module 302, a second determining module 303, and a first presenting module 304.
The information display apparatus provided in this embodiment may refer to a process for executing the method shown in fig. 1 to fig. 3, and each unit/module and the other operations and/or functions in the apparatus are respectively for implementing the corresponding processes in the information display method shown in fig. 1 to fig. 3, and can achieve the same or equivalent technical effects, and for brevity, no further description is provided herein.
In this disclosure, the receiving module 301 is configured to receive new information to be displayed when a display interface displays first information, where the first information is information currently displayed on the display interface of the page carousel; the first determining module 302 is configured to determine a next piece of information to be presented when receiving new information to be presented; the second determining module 303 is configured to, if the determined next piece of information to be displayed is new information to be displayed, take the new information to be displayed as the next piece of information to be displayed, where the next piece of information to be displayed is information to be displayed adjacent to the display sequence of the first information; the first presentation module 304 is configured to cancel presentation of the first information and insert new information to be presented if the priority of the new information to be presented is higher than the priority of the first information.
In this embodiment of the disclosure, when the receiving module 301 displays a first message on a display interface, the receiving module receives new information to be displayed, when the first determining module 302 receives the new information to be displayed, the determining module determines next information to be displayed, if the determined next information to be displayed is the new information to be displayed, the second determining module 303 takes the new information to be displayed as next information to be displayed adjacent to a display order of the first information, and if the priority of the new information to be displayed is higher than the priority of the first information, the first displaying module 304 cancels displaying the first information and broadcasts the new information to be displayed. In the embodiment of the disclosure, when new information to be displayed is available, the new information to be displayed has a priority higher than that of the currently displayed information, the currently displayed information can be cancelled immediately, so that the new information to be displayed can be displayed in time, and the instantaneity of emergency information display and the timeliness of the information can be effectively guaranteed.
In one possible embodiment of the present disclosure, the information display apparatus may further include: a first storage module.
The first storage module is configured to store the new information to be presented to a candidate storage space, wherein the candidate storage space is used for storing all the information to be presented.
Accordingly, the first determination module 302 may include: a first determination unit.
The first determining unit is configured to determine the next piece of information to be shown according to the priorities of all information to be shown in the candidate storage space and the received time.
In one possible embodiment of the present disclosure, the information display apparatus may further include: and a second display module.
The second display module is configured to display the new information to be displayed on the display interface carousel of the page carousel when the first information display is finished if the priority of the new information to be displayed is equal to or lower than the priority of the first information.
In one possible embodiment of the present disclosure, the information display apparatus may further include: a second storage module and a third display module.
The second storage module is configured to store the first information to the candidate storage space.
The third display module is configured to display the first information in turn when the display of the new information to be displayed is finished.
In one possible embodiment of the present disclosure, the information display apparatus may further include: a third determining module and a setting module.
The third determining module is configured to determine a display duration corresponding to each piece of information to be displayed according to display contents of all pieces of information to be displayed, wherein the display duration is a duration of displaying each piece of information to be displayed on a display interface of the page carousel.
The setting module is configured to set a corresponding timer for each information to be displayed based on the display duration of each information to be displayed, wherein the timer is used for controlling the display of the corresponding information to be displayed, and the timing duration of the timer is the display duration of the information to be displayed.
In one possible embodiment of the present disclosure, the first display module 304 may include: a first cancellation unit and a second cancellation unit.
The first canceling unit is configured to cancel the timer of the first information if the priority of the new information to be presented is higher than the priority of the first information.
The second canceling unit is configured to cancel the first information in response to cancellation of the timer of the first information.
In one possible embodiment of the present disclosure, the information display apparatus may further include: a calling module and a fourth display module.
The calling module is configured to call a timer of the next information to be displayed if the display duration of the new information to be displayed is over.
The fourth display module is configured to display the information to be displayed corresponding to the timer to the display interface in a carousel manner when the timer of the next information to be displayed starts.
In one possible embodiment of the present disclosure, the information display apparatus may further include: a cancellation module and a loop module.
The cancellation module is configured to cancel the timer of the new information to be presented if there is no next information to be presented after the new information to be presented.
The circulation module is configured to circularly present the new information to be presented.
Fig. 5 is a block diagram illustrating an electronic device 400 according to an example embodiment, for example, the electronic device 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, electronic device 400 may include one or more of the following components: a processing component 402, a memory 404, a power component 406, a multimedia component 408, an audio component 410, an interface for input/output (I/O) 412, a sensor component 414, and a communication component 416.
The processing component 402 generally controls overall operation of the electronic device 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 can include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
The memory 404 is configured to store various types of data to support operations at the device 400. Examples of such data include instructions for any application or method operating on the electronic device 400, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 404 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 406 provides power to the various components of the electronic device 400. Power components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic device 400.
The multimedia component 408 comprises a screen providing an output interface between the electronic device 400 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 400 is in an operational 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 410 is configured to output and/or input audio signals. For example, the audio component 410 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 also includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 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 component 414 includes one or more sensors for providing various aspects of status assessment for the electronic device 400. For example, the sensor component 414 can detect an open/closed state of the device 400, the relative positioning of components, such as a display and keypad of the electronic device 400, the sensor component 414 can also detect a change in the position of the electronic device 400 or a component of the electronic device 400, the presence or absence of user contact with the electronic device 400, orientation or acceleration/deceleration of the electronic device 400, and a change in the temperature of the electronic device 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 414 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 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate wired or wireless communication between the electronic device 400 and other devices. The electronic device 400 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 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 electronic device 400 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 storage medium comprising instructions, such as the memory 404 comprising instructions, executable by the processor 420 of the electronic device 400 to perform the above-described method is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, which may be, for example, a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product is also provided, which comprises readable program code executable by the processor 420 of the electronic device 400 to perform the method of presenting information according to any of the embodiments. Alternatively, the program code may be stored in a storage medium of the electronic device 400, which may be a non-transitory computer-readable storage medium, for example, ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
Fig. 6 is a block diagram of one type of electronic device 500 shown in the present disclosure. For example, the electronic device 500 may be provided as a server.
Referring to fig. 6, electronic device 500 includes a processing component 522 that further includes one or more processors and memory resources, represented by memory 532, for storing instructions, such as applications, that are executable by processing component 522. The application programs stored in memory 532 may include one or more modules that each correspond to a set of instructions. Further, the processing component 522 is configured to execute the instructions to perform the method for presenting information according to any of the embodiments.
The electronic device 500 may also include a power component 526 configured to perform power management of the electronic device 500, a wired or wireless network interface 550 configured to connect the electronic device 500 to a network, and an input/output (I/O) interface 558. The electronic device 500 may operate based on an operating system stored in memory 532, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for displaying information is characterized by comprising the following steps:
receiving new information to be displayed when a display interface displays first information, wherein the first information is information currently displayed by the display interface of the page carousel;
when the new information to be displayed is received, determining the next information to be displayed;
if the determined next information to be displayed is the new information to be displayed, taking the new information to be displayed as the next information to be displayed, wherein the next information to be displayed is the information to be displayed adjacent to the display sequence of the first information;
and if the priority of the new information to be displayed is higher than that of the first information, canceling the display of the first information and broadcasting the new information to be displayed.
2. The method for displaying information according to claim 1, wherein after receiving new information to be displayed, the method further comprises:
storing the new information to be displayed to a candidate storage space, wherein the candidate storage space is used for storing all the information to be displayed;
the determining of the next piece of information to be displayed includes:
and determining the next piece of information to be displayed according to the priorities of all the information to be displayed in the candidate storage space and the received time.
3. The method of claim 2, wherein the method further comprises:
and if the priority of the new information to be displayed is equal to or lower than the priority of the first information, displaying the new information to be displayed on the display interface carousel of the page carousel when the first information is displayed.
4. The method of claim 1, wherein after the canceling of the presentation of the first information, the method further comprises:
storing the first information to a candidate storage space;
and when the new information to be displayed is displayed, displaying the first information in turn.
5. The method of claim 1, wherein before receiving new information to be displayed, the method further comprises:
determining a display duration corresponding to each piece of information to be displayed according to the display content of all pieces of information to be displayed, wherein the display duration is the duration of the display of each piece of information to be displayed on the display interface of the page carousel;
and setting a corresponding timer for each piece of information to be displayed based on the display duration of each piece of information to be displayed, wherein the timer is used for controlling the display of the corresponding piece of information to be displayed, and the timing duration of the timer is the display duration of the information to be displayed.
6. The method of claim 5, wherein canceling the presentation of the first message if the priority of the new message to be presented is higher than the priority of the first message comprises:
if the priority of the new information to be displayed is higher than that of the first information, the timer of the first information is cancelled;
canceling presentation of the first information in response to cancellation of a timer for the first information.
7. The method of claim 5, wherein after the inserting the new information to be presented, the method further comprises:
if the display duration of the new information to be displayed is over, calling a timer of the next information to be displayed;
and when the timer of the next information to be displayed starts, displaying the information to be displayed corresponding to the timer to a display interface in a carousel mode.
8. The method of claim 5, wherein after the inserting the new information to be presented, the method further comprises:
if the new information to be displayed does not exist next information to be displayed, canceling the timer of the new information to be displayed;
and circularly displaying the new information to be displayed.
9. An apparatus for displaying information, comprising:
the display interface display device comprises a receiving module and a display module, wherein the receiving module is configured to receive new information to be displayed when a display interface displays first information, and the first information is information currently displayed on the display interface of the page carousel;
the first determining module is configured to determine the next piece of information to be displayed when the new information to be displayed is received;
the second determining module is configured to, if the determined next piece of information to be displayed is the new information to be displayed, take the new information to be displayed as the next piece of information to be displayed, wherein the next piece of information to be displayed is information to be displayed, which is adjacent to the display sequence of the first information;
the first display module is configured to cancel the display of the first information and insert the new information to be displayed if the priority of the new information to be displayed is higher than that of the first information.
10. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of presenting information of any one of claims 1 to 8.
CN202010725835.9A 2020-07-24 2020-07-24 Information display method and device and electronic equipment Pending CN111831946A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010725835.9A CN111831946A (en) 2020-07-24 2020-07-24 Information display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010725835.9A CN111831946A (en) 2020-07-24 2020-07-24 Information display method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN111831946A true CN111831946A (en) 2020-10-27

Family

ID=72925486

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010725835.9A Pending CN111831946A (en) 2020-07-24 2020-07-24 Information display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111831946A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022253210A1 (en) * 2021-06-03 2022-12-08 维沃移动通信有限公司 Display method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657519A (en) * 2016-02-18 2016-06-08 海信电子科技(深圳)有限公司 Method for managing television prompt message and television
WO2016184070A1 (en) * 2015-05-15 2016-11-24 京东方科技集团股份有限公司 Display processing method and apparatus, and electronic device
CN107122158A (en) * 2017-04-14 2017-09-01 北京小米移动软件有限公司 The method and device of broadcast information prompting audio, electronic equipment
CN108243151A (en) * 2016-12-23 2018-07-03 腾讯科技(深圳)有限公司 A kind of automatic animation playing method, device, client and video living transmission system
CN108415780A (en) * 2018-01-25 2018-08-17 阿里巴巴集团控股有限公司 A kind of information displaying method and device
CN110460902A (en) * 2018-05-08 2019-11-15 腾讯科技(深圳)有限公司 Playing method and device, storage medium, the electronic device of media information

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016184070A1 (en) * 2015-05-15 2016-11-24 京东方科技集团股份有限公司 Display processing method and apparatus, and electronic device
CN105657519A (en) * 2016-02-18 2016-06-08 海信电子科技(深圳)有限公司 Method for managing television prompt message and television
CN108243151A (en) * 2016-12-23 2018-07-03 腾讯科技(深圳)有限公司 A kind of automatic animation playing method, device, client and video living transmission system
CN107122158A (en) * 2017-04-14 2017-09-01 北京小米移动软件有限公司 The method and device of broadcast information prompting audio, electronic equipment
CN108415780A (en) * 2018-01-25 2018-08-17 阿里巴巴集团控股有限公司 A kind of information displaying method and device
CN110460902A (en) * 2018-05-08 2019-11-15 腾讯科技(深圳)有限公司 Playing method and device, storage medium, the electronic device of media information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022253210A1 (en) * 2021-06-03 2022-12-08 维沃移动通信有限公司 Display method and device

Similar Documents

Publication Publication Date Title
US20170344192A1 (en) Method and device for playing live videos
EP3731088B1 (en) Method and device for displaying information and storage medium
CN107315792B (en) Page updating method and device, electronic equipment and computer readable storage medium
CN110995929A (en) Terminal control method, device, terminal and storage medium
CN106941572B (en) Incoming call reminding method and device
CN109451341B (en) Video playing method, video playing device, electronic equipment and storage medium
CN109669730B (en) Process keep-alive method, device, electronic equipment and medium
CN106528735B (en) Method and device for controlling browser to play media resources
US20160117088A1 (en) Method and device for displaying descriptive information
EP3236355B1 (en) Method and apparatus for managing task of instant messaging application
CN106155703B (en) Emotional state display method and device
CN108804179B (en) Method, device, terminal and storage medium for displaying notification bar message
CN111552426B (en) Intelligent equipment operation method and device and storage medium
CN109218509B (en) Information screen display method and device and computer readable storage medium
CN106331328B (en) Information prompting method and device
CN110209445B (en) Information reminding method, device, terminal and storage medium
US11221734B2 (en) Punch-hole screen display method and apparatus
CN111831946A (en) Information display method and device and electronic equipment
CN108829473B (en) Event response method, device and storage medium
CN107809538B (en) Alarm clock reminding method and device and computer readable storage medium
CN112232897B (en) Data processing method and device
EP3226188A1 (en) Method and device for synchronizing states
EP3001660B1 (en) Method, device and system for telephone interaction
CN109714247B (en) Group chat information processing method and device, electronic equipment and storage medium
CN112087643A (en) Information processing 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