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

Information display method and device and electronic equipment Download PDF

Info

Publication number
CN106991016B
CN106991016B CN201710183954.4A CN201710183954A CN106991016B CN 106991016 B CN106991016 B CN 106991016B CN 201710183954 A CN201710183954 A CN 201710183954A CN 106991016 B CN106991016 B CN 106991016B
Authority
CN
China
Prior art keywords
information
card
loaded
displaying
loading
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
CN201710183954.4A
Other languages
Chinese (zh)
Other versions
CN106991016A (en
Inventor
王冠翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201710183954.4A priority Critical patent/CN106991016B/en
Publication of CN106991016A publication Critical patent/CN106991016A/en
Application granted granted Critical
Publication of CN106991016B publication Critical patent/CN106991016B/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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications

Abstract

The invention provides an information display method, an information display device and electronic equipment, wherein the method comprises the following steps: when the screen is lightened, at least one information card is displayed in the screen, wherein the loaded part of the information card is displayed, and the part of the information card which is not loaded is displayed as a white card, wherein the white card is a blank display card. And in the process of continuously loading the information card, displaying the part of the information card, which is subjected to subsequent loading, at the corresponding white card position, and displaying the complete information card when the information card is loaded. Because the loaded part is directly displayed and the subsequent loading and displaying are carried out step by step, the time for a user to wait for displaying in the prior art is avoided, the display delay during loading is shortened, and the technical problem of larger display delay in the prior art is solved.

Description

Information display method and device and electronic equipment
Technical Field
The present invention relates to the field of mobile terminal technologies, and in particular, to a method and an apparatus for displaying information, and an electronic device.
Background
The screen locking application program (APP) may display the required content on the screen locking interface, where the specifically displayed content may be pictures and/or documents, for example: news, weather, road condition information and the like can be displayed, so that a user can conveniently and quickly check required information.
In the prior art, the loading and displaying process of the information is generally completed by a screen locking application program. However, the inventor finds that in some special scenes, after the user locks the screen, the user can brighten the screen again in a very short time, and under such a situation, the screen locking application program usually does not finish the loading of the information, the information cannot be displayed immediately after the screen is brightened again, the information can only be displayed after waiting for a period of time and is displayed after the loading is finished completely, so that not only is the great display delay caused, but also the user is provided with the performance experience of using the screen locking application program.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, a first objective of the present invention is to provide an information display method, so as to solve the technical problem in the prior art that the presentation delay is large when information is loaded.
A second object of the present invention is to provide a display device for information.
A third object of the invention is to propose an electronic device.
A fourth object of the invention is to propose a non-transitory computer-readable storage medium.
A fifth object of the invention is to propose a computer program product.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a method for displaying information, including the following steps:
when a screen of the terminal equipment is lightened, displaying at least one information card in the screen;
displaying the loaded parts of the information cards, wherein the parts of the information cards which are not loaded are displayed as white cards; the white card is a blank display card;
in the process of continuously loading the information card, displaying a part of the information card after the subsequent loading is finished at a corresponding white card position;
and when the information card is loaded, displaying the complete information card.
Optionally, the method further comprises:
when a screen of the terminal equipment is lightened, detecting a loading state aiming at the information card;
or the like, or, alternatively,
and when the screen of the terminal equipment is in a screen-off state, detecting a loading state aiming at the pre-displayed information card.
Optionally, the displaying the loaded part of the information card, and the part of the information card that is not loaded completely is displayed as a white card, including:
when the information card is not loaded completely, judging whether a system cache stores the white card or not;
if the white card is not stored in the system cache, the white card is obtained from a server and stored in the system cache;
if the white card is stored in the system cache, the white card is obtained from the system cache;
and displaying the loaded contents in the information card, and displaying the acquired white card at the position of the content which is not loaded completely.
Optionally, prompt information is displayed on the acquired white card, and the prompt information is used for indicating that the content is being loaded.
Optionally, after the detecting the loading state, the method further includes:
and when the information card is loaded, displaying the loaded information card on the screen.
Optionally, the detecting the loading state includes:
judging whether the reporting time is received; the reporting time is sent by the objective function when the value of the reporting time is greater than a preset threshold value and is used for indicating the time interval between the reporting time and the latest screen turn-off;
when the reporting time is received, determining that the information card is not loaded completely;
and when the reporting time is not received, determining that the loading of the information card is finished.
Optionally, if the screen of the terminal device is lighted, the loading state is detected for the information card, and the reporting time is specifically used for indicating a time interval between the current screen lighting and the latest screen turn-off.
Optionally, in the process of continuing to load the information card, displaying a subsequently loaded part of the information card at a corresponding white card position includes:
acquiring information from an operating system to obtain the content to be loaded, and/or acquiring the information from a network side according to the sequence of the information amount from small to large to obtain the content to be loaded;
loading the acquired content into the information card;
and displaying the content after the subsequent loading at the corresponding white card position in an overlaying manner when the subsequent loading finishes one item of content in the information card.
Optionally, the obtaining information from the operating system to obtain the content to be loaded, and/or obtaining information from the network side to obtain the content to be loaded according to a sequence from a small information amount to a large information amount includes:
obtaining timestamp information from an operating system to obtain time content to be loaded;
and/or acquiring character information from the network side according to the sequence of the information quantity from small to large to obtain the contents of each file to be loaded, and then acquiring picture information from the network side to obtain the contents of the picture to be loaded.
Optionally, the character information includes weather data and information text; the information amount of the weather data is smaller than that of the information text.
Optionally, the information card includes information obtained from a network side.
According to the information display method provided by the embodiment of the invention, when the screen is lightened, at least one information card is displayed in the screen, wherein the loaded part of the information card is displayed, the part of the information card which is not loaded is displayed as a white card, and the white card is a blank display card. And in the process of continuously loading the information card, displaying the part of the information card, which is subjected to subsequent loading, at the corresponding white card position, and displaying the complete information card when the information card is loaded. Because the loaded part is directly displayed and the subsequent loading and displaying are carried out step by step, the time for a user to wait for displaying in the prior art is avoided, the display delay during loading is shortened, and the technical problem of larger display delay in the prior art is solved.
To achieve the above object, a second embodiment of the present invention provides an information display device, including:
the screen lighting module is used for displaying at least one information card in a screen when the screen of the terminal equipment is lightened;
the white card display module is used for displaying the loaded parts of the information cards, and the parts of the information cards which are not loaded are displayed as white cards; the white card is a blank display card;
the loading module is used for displaying a part of the information card which is subjected to subsequent loading in a corresponding white card position in the process of continuously loading the information card;
and the card display module is used for displaying the complete information card when the information card is loaded.
Optionally, the apparatus further comprises a detection module configured to:
when a screen of the terminal equipment is lightened, detecting a loading state aiming at the information card;
or the like, or, alternatively,
and when the screen of the terminal equipment is in a screen-off state, detecting a loading state aiming at the pre-displayed information card.
Optionally, the white card display module includes:
the judging unit is used for judging whether the white card is stored in a system cache or not when the information card is not loaded;
the acquisition unit is used for acquiring the white card from a server and storing the white card into a system cache if the white card is not stored in the system cache; if the white card is stored in the system cache, the white card is obtained from the system cache;
and the display unit is used for displaying the loaded contents in the information card and displaying the acquired white card at the position of the contents which are not loaded completely.
Optionally, prompt information is displayed on the acquired white card, and the prompt information is used for indicating that the content is being loaded.
Optionally, the card display module is further configured to:
and after the loading state is detected, when the information card is loaded completely, displaying the loaded information card on the screen.
Optionally, the detection module includes:
a receiving judgment unit for judging whether the reporting time is received; the reporting time is sent by the objective function when the value of the reporting time is greater than a preset threshold value and is used for indicating the time interval between the reporting time and the latest screen turn-off;
the determining unit is used for determining that the information card is not loaded completely when the reporting time is received; and when the reporting time is not received, determining that the loading of the information card is finished.
Optionally, if the screen of the terminal device is lighted, the loading state is detected for the information card, and the reporting time is specifically used for indicating a time interval between the current screen lighting and the latest screen turn-off.
Optionally, the loading module includes:
the content acquisition unit is used for acquiring information from the operating system to obtain the content to be loaded and/or acquiring the information from the network side according to the sequence of the information amount from small to large to obtain the content to be loaded;
the loading unit is used for loading the acquired content into the information card; and displaying the content after the subsequent loading at the corresponding white card position in an overlaying manner when the subsequent loading finishes one item of content in the information card.
Optionally, the content obtaining unit is specifically configured to:
obtaining timestamp information from an operating system to obtain time content to be loaded;
and/or acquiring character information from the network side according to the sequence of the information quantity from small to large to obtain the contents of each file to be loaded, and then acquiring picture information from the network side to obtain the contents of the picture to be loaded.
Optionally, the character information includes weather data and information text; the information amount of the weather data is smaller than that of the information text.
Optionally, the information card includes information obtained from a network side.
According to the information display device provided by the embodiment of the invention, when the screen is lightened, at least one information card is displayed in the screen, wherein the loaded part of the information card is displayed, the part of the information card which is not loaded is displayed as a white card, and the white card is a blank display card. And in the process of continuously loading the information card, displaying the part of the information card, which is subjected to subsequent loading, at the corresponding white card position, and displaying the complete information card when the information card is loaded. Because the loaded part is directly displayed and the subsequent loading and displaying are carried out step by step, the time for a user to wait for displaying in the prior art is avoided, the display delay during loading is shortened, and the technical problem of larger display delay in the prior art is solved.
To achieve the above object, an embodiment of a third aspect of the present invention provides an electronic device, including: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for executing the information display method according to the first aspect.
To achieve the above object, a fourth aspect of the present invention provides a non-transitory computer-readable storage medium, on which a computer program is stored, the program, when executed by a processor, implementing the method for displaying information according to the first aspect.
To achieve the above object, an embodiment of a fifth aspect of the present invention provides a computer program product, wherein when the instructions in the computer program product are executed by a processor, the method for displaying information according to the first aspect is implemented.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flow chart illustrating a method for displaying information according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating another information displaying method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an information display device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another information display device according to an embodiment of the present invention; and
fig. 5 is a schematic structural diagram of an embodiment of an electronic device according to the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
When the screen locking application program loads and displays information, usually after receiving a screen locking broadcast of a system, a page framework (activity) of a screen locking interface is started to be loaded, then relevant data of an information card is loaded, and after all the data are loaded, the information card is displayed.
The inventor finds that in some special scenes, after the user performs screen locking, the screen is lightened again in a very short time, and the probability that the interval time between two adjacent screen lightening of the mobile terminal is within 1s is about 30% statistically, that is, the situation has a considerable occurrence probability. When the user re-brightens the screen in a very short time after locking the screen, the screen locking application program usually does not finish the loading of the information card, the information card cannot be displayed immediately after the screen is re-brightened, only a period of time is waited, and the information card is displayed after the loading is finished. Due to the waiting time, the performance experience of unsmooth use of the screen locking application program is brought to the user, and the retention degree of the user is poor. In order to solve the problem in the prior art, embodiments of the present invention provide a method and an apparatus for displaying information.
A display method and apparatus of information of an embodiment of the present invention are described below with reference to the drawings.
Fig. 1 is a schematic flow chart of an information display method according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
step 101, when the screen of the terminal equipment is lighted, at least one information card is displayed in the screen.
The information card can contain information acquired from a network side, is used for displaying contents such as news, weather and road condition information, is displayed in a screen locking interface or a page form on a desktop after a screen is lightened, and can facilitate a user to check required information.
And 102, displaying the loaded parts in the information cards, wherein the parts of the information cards which are not loaded are displayed as white cards.
Wherein, the white card is a blank display card.
Optionally, when the loading of the information card is not completed, judging whether the white card is stored in a system cache; if the white card is not stored in the system cache, the white card is obtained from a server and stored in the system cache; if the white card is stored in the system cache, the white card is obtained from the system cache; and displaying the loaded contents in the information card, and displaying the acquired white card at the position of the content which is not loaded completely.
And 103, in the process of continuously loading the information card, displaying the part of the information card which is subjected to subsequent loading completion at the corresponding white card position.
Specifically, information is obtained from an operating system to obtain the content to be loaded, and/or the information is obtained from a network side according to the sequence of the information amount from small to large to obtain the content to be loaded; loading the acquired content into the information card; and displaying the content after the subsequent loading at the corresponding white card position in an overlaying manner when the subsequent loading finishes one item of content in the information card.
As a possible implementation manner, obtaining information from an operating system to obtain content to be loaded, and/or obtaining information from a network side to obtain content to be loaded according to a sequence of a small amount of information to a large amount of information includes: obtaining timestamp information from an operating system to obtain time content to be loaded; and/or acquiring character information from the network side according to the sequence of the information quantity from small to large to obtain the contents of each file to be loaded, and then acquiring picture information from the network side to obtain the contents of the picture to be loaded. Wherein, the character information comprises weather data and information text; the information amount of the weather data is smaller than that of the information text.
And 104, displaying the complete information card when the information card is loaded.
In this embodiment, when the screen is lighted, at least one information card is displayed in the screen, wherein a loaded part of the information card is displayed, and an unloaded part of the information card is displayed as a white card, where the white card is a blank display card. And in the process of continuously loading the information card, displaying the part of the information card, which is subjected to subsequent loading, at the corresponding white card position, and displaying the complete information card when the information card is loaded. Because the loaded part is directly displayed and the subsequent loading and displaying are carried out step by step, the time for a user to wait for displaying in the prior art is avoided, the display delay during loading is shortened, and the technical problem of larger display delay in the prior art is solved.
To clearly illustrate the previous embodiment, this embodiment provides another information display method, fig. 2 is a schematic flow chart of the another information display method provided in the embodiment of the present invention, and as shown in fig. 2, the information display method specifically includes the following steps:
in step 201, the operation of clicking the power button is detected.
Specifically, after the mobile terminal is turned off, when the user detects an operation of clicking a power button, the user needs to turn on the screen of the mobile terminal again and start to execute a process of displaying the information card.
Step 202, determining whether the loading of the information card is completed, if yes, performing step 203, otherwise, performing step 204 and 209.
Specifically, after the operation that the user clicks the power key is detected, a process of displaying the information card is executed, including loading a page framework, and judging whether the loading of the information card is completed, so that whether all the content is displayed or the loaded part is required to be displayed in the subsequent step is determined according to the loading state.
Specifically, after the user clicks the power button, the objective function (resume) counts a time interval between the current screen lighting operation and the latest screen off, and when the value of the reporting time is greater than a preset threshold, resume does not report the time to the screen locking application (CM) executing the method of this embodiment, otherwise, resume reports the time.
Since the threshold value is determined according to the loading time required by the information card, the screen locking application program can judge whether the loading of the information card is finished by judging whether the reporting time is received. When the reporting time is received, the user is indicated to light the screen in a very short time, and if the information card is displayed after being completely loaded, the display time delay is longer, and the loaded part of the information card can be directly displayed.
And step 203, finishing the loading of the information card, and directly displaying the loaded information card.
Generally, when a user lights a screen, if an information card is loaded, the display time delay from the user lighting the screen to the display of the information card is about 40ms, which is within the range acceptable by the user and does not bring a card pause feeling to the user.
Step 204, the information card is not loaded completely, whether a white card is stored in the system cache or not is judged, if yes, step 205 is executed, and if not, step 206 is executed.
Specifically, when the information card is not loaded, a white card needs to be displayed on the unloaded content portion, where the white card is obtained in two ways, one is obtained from the server, and the other is obtained from the system cache. As a possible implementation manner, in this embodiment, when a situation that a white card needs to be displayed in an unloaded content portion occurs for the first time, the white card is downloaded from the server and stored in the system cache, so that when such a situation occurs again, the white card can be directly read from the system cache without downloading from the server for multiple times, and the load of the server is reduced. Meanwhile, the data is downloaded from the server to the system cache only when the white card needs to be displayed, so that more data which are temporarily not needed to be used are prevented from being in the system cache.
Step 205, the stored white card is obtained from the system cache.
Step 206, obtain the white card from the server and store the white card in the system cache.
Step 207, in the page framework, displaying the loaded part of the information card, and displaying the acquired white card at the corresponding position where the loading is not completed.
Specifically, in the page framework, a plurality of presentation positions for presenting the content, and a presentation area, a shape, and the like are indicated.
Because partial content is not loaded completely, the loaded content can be displayed at the corresponding position of the page framework at first, and then the white card acquired in the previous step is displayed at the position where the content is supposed to be displayed in the page framework aiming at the unloaded content. Because the white card is a blank display card, the display position, the display area, the shape and the like of the display card can be conveniently adjusted correspondingly according to the different display areas, so that the display effect is more attractive.
The loading completion part is directly displayed, so that the display time delay is shortened, meanwhile, although a user does not see the complete information card, the user can see one part of the information card, and most of the users are willing to continuously wait for the complete loading of the information card under the condition, so that the user experience can be improved to a certain extent by adopting the mode.
Further, in order to inform the user that the page is loading, related prompt information can be displayed on the white card. For example: "loading … …" may be displayed in text, and the user may also be informed in dynamic picture fashion that the page is loading. The mode of the dynamic picture can influence the subsequent loading speed of the screen locking news page to a certain extent, so that the mode of characters can be optimized.
And step 208, in the process of continuously loading the information card, displaying the part subjected to subsequent loading in the corresponding white card position.
Specifically, information is obtained from an operating system to obtain the content to be loaded, and/or the information is obtained from a network side according to the sequence of the information amount from small to large to obtain the content to be loaded; loading the acquired content into the information card; and displaying the content after the subsequent loading at the corresponding white card position in an overlaying manner when the subsequent loading finishes one item of content in the information card.
In step 209, when the information card is loaded, the complete information card is displayed.
In this embodiment, when the screen is lighted, at least one information card is displayed in the screen, wherein a loaded part of the information card is displayed, and an unloaded part of the information card is displayed as a white card, where the white card is a blank display card. And in the process of continuously loading the information card, displaying the part of the information card, which is subjected to subsequent loading, at the corresponding white card position, and displaying the complete information card when the information card is loaded. Because the loaded part is directly displayed and the subsequent loading and displaying are carried out step by step, the time for a user to wait for displaying in the prior art is avoided, the display delay during loading is shortened, and the technical problem of larger display delay in the prior art is solved.
In order to implement the above embodiments, the present invention further provides an information display device.
Fig. 3 is a schematic structural diagram of an information display apparatus according to an embodiment of the present invention, where in this embodiment, the content displayed in the lock screen content page may include news.
As shown in fig. 3, the information display device includes: a screen illumination module 31, a white card display module 32, a loading module 33, and a card display module 34.
And the screen lighting module 31 is used for displaying at least one information card in the screen when the screen of the terminal equipment is lightened.
A white card display module 32, configured to display a loaded portion of the information card, where an unloaded portion of the information card is displayed as a white card; the white card is a blank display card.
And the loading module 33 is configured to, in the process of continuing to load the information card, display a subsequently loaded part of the information card at a corresponding white card position.
And the card display module 34 displays the complete information card when the information card is completely loaded.
It should be noted that the foregoing explanation of the method embodiment is also applicable to the apparatus of this embodiment, and is not repeated herein.
Based on the foregoing embodiment, the embodiment of the present invention further provides a possible implementation manner of another information display device, and fig. 4 is a schematic structural diagram of another information display device provided in the embodiment of the present invention, and on the basis of fig. 3, the information display device further includes: a detection module 35.
A detection module 35 configured to: when a screen of the terminal equipment is lightened, detecting a loading state aiming at the information card; or when the screen of the terminal equipment is in the screen-off state, detecting the loading state aiming at the pre-displayed information card.
Based on this, the card display module 34 is further configured to: and after the loading state is detected, when the information card is loaded completely, displaying the loaded information card on the screen.
Specifically, the detection module 35 includes: a reception judgment unit 351 and a determination unit 352.
A receiving determining unit 351, configured to determine whether the reporting time is received; and the reporting time is sent by the objective function when the value of the reporting time is greater than a preset threshold value and is used for indicating the time interval between the reporting time and the latest screen turn-off.
A determining unit 352, configured to determine that the loading of the information card is not completed when the reporting time is received; and when the reporting time is not received, determining that the loading of the information card is finished.
It should be noted that, if the screen of the terminal device is lit, the loading state is detected for the information card, and the reporting time is specifically used to indicate the time interval between the current screen lighting and the latest screen turn-off.
Further, the white card display module 32 includes: a determination unit 321, an acquisition unit 322, and a display unit 323.
The determining unit 321 is configured to determine whether the white card is stored in a system cache when the loading of the information card is not completed.
An obtaining unit 322, configured to obtain the white card from a server if the white card is not stored in the system cache, and store the white card in the system cache; and if the white card is stored in the system cache, acquiring the white card from the system cache.
And prompting information can be displayed on the acquired white card, wherein the prompting information is used for indicating that the content is being loaded.
A display unit 323 for displaying the loaded contents in the information card and displaying the acquired white card at the position of the content not loaded.
Further, the loading module 33 includes: a content acquisition unit 331 and a loading unit 332.
The content obtaining unit 331 is configured to obtain information from the operating system to obtain the content to be loaded, and/or obtain the information from the network side to obtain the content to be loaded according to the order of the information amount from small to large.
Specifically, the content obtaining unit 331 is specifically configured to: obtaining timestamp information from an operating system to obtain time content to be loaded; and/or acquiring character information from the network side according to the sequence of the information quantity from small to large to obtain the contents of each file to be loaded, and then acquiring picture information from the network side to obtain the contents of the picture to be loaded. Wherein, the information card contains the information obtained from the network side. The character information comprises weather data and information text; the information amount of the weather data is smaller than that of the information text.
A loading unit 332, configured to load the acquired content into the information card; and displaying the content after the subsequent loading at the corresponding white card position in an overlaying manner when the subsequent loading finishes one item of content in the information card.
In the embodiment of the invention, when the screen is lightened, at least one information card is displayed in the screen, wherein the loaded part of the information card is displayed, the part of the information card which is not loaded is displayed as a white card, and the white card is a blank display card. And in the process of continuously loading the information card, displaying the part of the information card, which is subjected to subsequent loading, at the corresponding white card position, and displaying the complete information card when the information card is loaded. Because the loaded part is directly displayed and the subsequent loading and displaying are carried out step by step, the time for a user to wait for displaying in the prior art is avoided, the display delay during loading is shortened, and the technical problem of larger display delay in the prior art is solved.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.
An embodiment of the present invention further provides an electronic device, which includes the apparatus according to any of the foregoing embodiments.
Fig. 5 is a schematic structural diagram of an embodiment of an electronic device of the present invention, which can implement the processes of the embodiments shown in fig. 1 to 4 of the present invention, and as shown in fig. 5, the electronic device may include: the device comprises a shell 41, a processor 42, a memory 43, a circuit board 44 and a power circuit 45, wherein the circuit board 44 is arranged inside a space enclosed by the shell 41, and the processor 42 and the memory 43 are arranged on the circuit board 44; a power supply circuit 45 for supplying power to each circuit or device of the electronic apparatus; the memory 43 is used for storing executable program code; the processor 42 executes a program corresponding to the executable program code by reading the executable program code stored in the memory 43, and is configured to execute the information display method according to any one of the foregoing embodiments.
The specific execution process of the above steps by the processor 42 and the steps further executed by the processor 42 by running the executable program code may refer to the description of the embodiment shown in fig. 1 to 4 of the present invention, and are not described herein again.
The electronic device exists in a variety of forms, including but not limited to:
(1) a mobile communication device: such devices are characterized by mobile communications capabilities and are primarily targeted at providing voice, data communications. Such terminals include: smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) Ultra mobile personal computer device: the equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include: PDA, MID, and UMPC devices, etc., such as ipads.
(3) A portable entertainment device: such devices can display and play multimedia content. This type of device comprises: audio, video players (e.g., ipods), handheld game consoles, electronic books, and smart toys and portable car navigation devices.
(4) A server: the device for providing the computing service comprises a processor, a hard disk, a memory, a system bus and the like, and the server is similar to a general computer architecture, but has higher requirements on processing capacity, stability, reliability, safety, expandability, manageability and the like because of the need of providing high-reliability service.
(5) And other electronic equipment with data interaction function.
Embodiments of the present invention also provide a non-transitory computer-readable storage medium on which a computer program is stored, where the computer program is executed by a processor to implement the information display method of the foregoing embodiments.
Embodiments of the present invention further provide a computer program product, where instructions in the computer program product, when executed by a processor, implement the information display method according to the foregoing embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (17)

1. A method of displaying information, comprising the steps of:
when a screen of the terminal equipment is lightened, loading a page framework and detecting the loading state of a pre-displayed information card; judging whether the reporting time is received or not; the reporting time is sent by the objective function when the value of the reporting time is greater than a preset threshold value and is used for indicating the time interval of the screen turn-on distance of the current screen to the latest screen turn-off;
when the reporting time is not received, determining that the loading of the information card is finished, and directly displaying the complete information card on the page framework;
when the reporting time is received, determining that the information card is not loaded completely, displaying the loaded part of the information card in a page framework, and displaying a white card at a display position corresponding to the unloaded part of the information card; the white card is a blank display card, and the page framework comprises a plurality of display positions for displaying the content;
in the process of continuously loading the information card, displaying a part of the information card after the subsequent loading is finished at a corresponding white card position;
and when the information card is loaded, displaying the complete information card.
2. The method of claim 1, wherein the displaying the loaded portions of the information card and the unloaded portions of the information card as a white card comprises:
when the information card is not loaded, judging whether the white card is stored in a system cache;
if the white card is not stored in the system cache, the white card is obtained from a server and stored in the system cache;
if the white card is stored in the system cache, the white card is obtained from the system cache;
and displaying the loaded contents in the information card, and displaying the acquired white card at the position of the content which is not loaded completely.
3. The method according to claim 2, wherein a prompt message is displayed on the acquired white card, and the prompt message is used for indicating that the content is being loaded.
4. The method of claim 1, wherein after detecting the loading state, further comprising:
and when the information card is loaded, displaying the loaded information card on the screen.
5. The method of claim 1, wherein displaying a subsequently loaded portion of the information card at a corresponding white card location while continuing to load the information card comprises:
acquiring information from an operating system to obtain the content to be loaded, and/or acquiring the information from a network side according to the sequence of the information amount from small to large to obtain the content to be loaded;
loading the acquired content into the information card;
and displaying the content after the subsequent loading at the corresponding white card position in an overlaying manner when the subsequent loading finishes one item of content in the information card.
6. The method according to claim 5, wherein the obtaining information from the operating system to obtain the content to be loaded, and/or obtaining information from the network side to obtain the content to be loaded according to the order of the small information amount to the large information amount comprises:
obtaining timestamp information from an operating system to obtain time content to be loaded;
and/or acquiring character information from the network side according to the sequence of the information quantity from small to large to obtain the contents of each file to be loaded, and then acquiring picture information from the network side to obtain the contents of the picture to be loaded.
7. The method of claim 6, wherein the character information includes weather data and informative text; the information amount of the weather data is smaller than that of the information text.
8. The method according to any one of claims 1 to 7, wherein the information card contains information obtained from a network side.
9. A display device for information, comprising:
the screen lighting module is used for loading the page framework when a screen of the terminal equipment is lightened, and detecting the loading state of the information card which is displayed in advance by adopting the detection module; the detection module comprises a receiving judgment unit and a determination unit; the receiving judging unit is used for judging whether reporting time is received or not; the reporting time is sent by the objective function when the value of the reporting time is greater than a preset threshold value and is used for indicating the time interval of the screen turn-on distance of the current screen to the latest screen turn-off;
a determining unit, configured to determine that the loading of the information card is completed when the reporting time is not received, and directly display the complete information card on the page framework;
the determining unit is further configured to, when the report time is received and it is determined that the information card is not completely loaded, display a loaded portion of the information card in a page framework, and display a white card at a display position corresponding to the unloaded portion of the information card; the white card is a blank display card, and the page framework comprises a plurality of display positions for displaying the content;
the loading module is used for displaying a part of the information card which is subjected to subsequent loading in a corresponding white card position in the process of continuously loading the information card;
and the card display module is used for displaying the complete information card when the information card is loaded.
10. The apparatus of claim 9, wherein the white card display module comprises:
the judging unit is used for judging whether the white card is stored in a system cache or not when the information card is not loaded;
the acquisition unit is used for acquiring the white card from a server and storing the white card into a system cache if the white card is not stored in the system cache; if the white card is stored in the system cache, the white card is obtained from the system cache;
and the display unit is used for displaying the loaded contents in the information card and displaying the acquired white card at the position of the contents which are not loaded completely.
11. The apparatus according to claim 10, wherein a prompt message is displayed on the obtained white card, and the prompt message is used to indicate that the content is being loaded.
12. The apparatus of claim 9, wherein the card display module is further configured to:
and after the loading state is detected, when the information card is loaded completely, displaying the loaded information card on the screen.
13. The apparatus of claim 9, wherein the load module comprises:
the content acquisition unit is used for acquiring information from the operating system to obtain the content to be loaded and/or acquiring the information from the network side according to the sequence of the information amount from small to large to obtain the content to be loaded;
the loading unit is used for loading the acquired content into the information card; and displaying the content after the subsequent loading at the corresponding white card position in an overlaying manner when the subsequent loading finishes one item of content in the information card.
14. The apparatus according to claim 13, wherein the content obtaining unit is specifically configured to:
obtaining timestamp information from an operating system to obtain time content to be loaded;
and/or acquiring character information from the network side according to the sequence of the information quantity from small to large to obtain the contents of each file to be loaded, and then acquiring picture information from the network side to obtain the contents of the picture to be loaded.
15. The apparatus of claim 14, wherein the character information includes weather data and informative text; the information amount of the weather data is smaller than that of the information text.
16. The apparatus according to any one of claims 9-15, wherein the information card contains information obtained from a network side.
17. An electronic device, comprising: the device comprises a shell, a processor, a memory, a circuit board and a power circuit, wherein the circuit board is arranged in a space enclosed by the shell, and the processor and the memory are arranged on the circuit board; a power supply circuit for supplying power to each circuit or device of the electronic apparatus; the memory is used for storing executable program codes; the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for executing the information display method of any one of claims 1 to 8.
CN201710183954.4A 2017-03-24 2017-03-24 Information display method and device and electronic equipment Active CN106991016B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710183954.4A CN106991016B (en) 2017-03-24 2017-03-24 Information display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710183954.4A CN106991016B (en) 2017-03-24 2017-03-24 Information display method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN106991016A CN106991016A (en) 2017-07-28
CN106991016B true CN106991016B (en) 2020-08-28

Family

ID=59412886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710183954.4A Active CN106991016B (en) 2017-03-24 2017-03-24 Information display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106991016B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019047125A1 (en) * 2017-09-07 2019-03-14 深圳市云中飞网络科技有限公司 Interface processing method and apparatus, and computer storage medium and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103777868A (en) * 2012-10-23 2014-05-07 福建星网视易信息系统有限公司 Screen sliding method using page as unit and having background loading function and cache logic function
US9032319B1 (en) * 2011-03-24 2015-05-12 The Boeing Company Methods, systems, and apparatus for handling of flight deck data
CN105630478A (en) * 2014-12-01 2016-06-01 阿里巴巴集团控股有限公司 Method and device for realizing page switching

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6704024B2 (en) * 2000-08-07 2004-03-09 Zframe, Inc. Visual content browsing using rasterized representations
CN102520940A (en) * 2011-12-01 2012-06-27 深圳市中兴移动通信有限公司 Method and device for displaying widget on screen-locking interface of touch-screen terminal
CN103412751B (en) * 2013-08-05 2017-12-01 北京奇虎科技有限公司 The information displaying method and device of a kind of locking screen interface
CN103744585A (en) * 2014-02-14 2014-04-23 贝壳网际(北京)安全技术有限公司 Information displaying method applied to screen locking state and device thereof
CN105989166B (en) * 2015-03-04 2019-06-21 阿里巴巴集团控股有限公司 Waterfall-type shows method, apparatus, system and the electronic equipment of object

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9032319B1 (en) * 2011-03-24 2015-05-12 The Boeing Company Methods, systems, and apparatus for handling of flight deck data
CN103777868A (en) * 2012-10-23 2014-05-07 福建星网视易信息系统有限公司 Screen sliding method using page as unit and having background loading function and cache logic function
CN105630478A (en) * 2014-12-01 2016-06-01 阿里巴巴集团控股有限公司 Method and device for realizing page switching

Also Published As

Publication number Publication date
CN106991016A (en) 2017-07-28

Similar Documents

Publication Publication Date Title
CN106874520B (en) Webpage loading method and device and electronic equipment
CN106155789B (en) Application freezing method and mobile terminal
CN106648325B (en) Method and device for playing video on screen locking interface and electronic equipment
CN108600800B (en) Smart television and starting method thereof
CN106250182B (en) File processing method and device and electronic equipment
CN105487760A (en) Method and device for displaying message and electronic equipment
CN103778211B (en) The language switching method and device of game of mobile terminal software
CN106843635B (en) Information display method and device and electronic equipment
CN106227483B (en) Display control method and mobile terminal
CN106095587B (en) Cache scanning method and device of application program and electronic equipment
CN105117110A (en) Method and device for displaying user equipment state on preset interface of application program
CN110889062A (en) Page loading method and device, terminal and computer readable storage medium
CN107329763B (en) Application program interface display method and device, electronic equipment and storage medium
CN106991016B (en) Information display method and device and electronic equipment
CN112099946A (en) Resource scheduling method, device and storage medium
CN107291564B (en) Information copying and pasting method and device and electronic equipment
CN108096838B (en) Gift package receiving method, device, server, mobile terminal and storage medium
CN106470351B (en) Page display method and page display device
US10133408B2 (en) Method, system and computer program product
CN110719367A (en) Cloud mobile phone friend recommendation method, device, equipment and storage medium
CN110633148A (en) System operation optimization method and device, electronic equipment and storage medium
CN106779844B (en) Method and device for acquiring value added service information and electronic equipment
CN106648656B (en) Message deleting method and device and electronic equipment
CN113110881B (en) Display terminal, display method thereof and device with storage function
CN114296854A (en) Desktop wallpaper display method and device, electronic equipment and readable storage medium

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