CN104571813B - A kind of display methods and device of information - Google Patents

A kind of display methods and device of information Download PDF

Info

Publication number
CN104571813B
CN104571813B CN201410768650.0A CN201410768650A CN104571813B CN 104571813 B CN104571813 B CN 104571813B CN 201410768650 A CN201410768650 A CN 201410768650A CN 104571813 B CN104571813 B CN 104571813B
Authority
CN
China
Prior art keywords
data block
display
information
display information
hidden
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
CN201410768650.0A
Other languages
Chinese (zh)
Other versions
CN104571813A (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201410768650.0A priority Critical patent/CN104571813B/en
Publication of CN104571813A publication Critical patent/CN104571813A/en
Application granted granted Critical
Publication of CN104571813B publication Critical patent/CN104571813B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a kind of display methods of information and devices.On the one hand, the embodiment of the present invention shows information by obtaining first;And then show the first data block and the corresponding hiding data block of first data block for showing information comprising described first.Therefore, technical solution provided in an embodiment of the present invention can show data block and corresponding hiding data block, so as to show more information contents by hiding data block, to improve the efficiency of display information.

Description

Information display method and device
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of internet application, in particular to a method and a device for displaying information.
[ background of the invention ]
With the rapid development of the internet and communication technology in recent years, various applications based on the internet and communication technology in terminals, such as a news client, a shopping client, etc. installed on a mobile phone, are emerging.
At present, a terminal needs to display more contents, but the screen of the terminal is smaller, so that the number of contents which can be displayed by the terminal after starting an application is limited. For example, the news client often needs to display more contents, and the screen of the terminal is small, so that a directory or list form is generally adopted, 3-5 data blocks are displayed at the same time, and each data block can display a news title and an abstract. If the related information of the news needs to be obtained or the news needs to be subjected to related operation, the news title needs to be clicked to jump to a third-party website to browse the complete news content, so that the content displayed by the client in the prior art is insufficient, and the efficiency of displaying the information is low.
[ summary of the invention ]
In view of this, embodiments of the present invention provide an information display method and apparatus, which can display a hidden data block, so as to display more information contents, thereby improving the efficiency of displaying information.
In one aspect of the embodiments of the present invention, a method for displaying information is provided, including:
obtaining first display information;
and displaying a first data block containing the first display information and a hidden data block corresponding to the first data block.
The above-described aspect and any possible implementation manner further provide an implementation manner, where the obtaining the first presentation information includes:
sending a display request or a query word to a server so that the server can obtain the first display information according to the display request or the query word and obtain second display information according to the first display information;
and receiving the first display information and the second display information sent by the server.
The foregoing aspect and any possible implementation manner further provide an implementation manner, where the displaying a first data block including the first presentation information and a hidden data block corresponding to the first data block includes:
displaying a first data block including the first presentation information;
and when the display position of the first data block is detected to have a trigger action, displaying a hidden data block corresponding to the first data block, wherein the hidden data block comprises the second display information.
The above aspect and any possible implementation manner further provide an implementation manner, where displaying a first data block containing the first presentation information includes:
rendering the first display information by using a first page template in a display state so as to display a first data block containing the first display information;
rendering the second presentation information by using a second page template in a hidden state to hide the hidden data block containing the second presentation information.
The above aspect and any possible implementation manner further provide an implementation manner, where displaying a hidden data block corresponding to the first data block includes:
setting the second page template to be in a display state, and moving the first data block according to the movement distance corresponding to the trigger action so as to hide part of the first data block and display part of the hidden data block; or,
setting the second page template to a display state, and setting the first page template to a hidden state to hide all of the first data blocks and display all of the hidden data blocks.
The above-described aspect and any possible implementation manner further provide an implementation manner, where the obtaining the first presentation information includes:
sending a display request or a query word to a server so that the server can obtain the first display information according to the display request or the query word;
and receiving the first display information sent by the server.
The foregoing aspect and any possible implementation manner further provide an implementation manner, where the displaying a first data block including the first presentation information and a hidden data block corresponding to the first data block includes:
displaying a first data block including the first presentation information;
when a trigger action is detected at the display position of the first data block, sending the identifier of the first display information to the server so that the server can obtain second display information according to the identifier of the first display information;
receiving the second display information sent by the server;
and displaying a hidden data block corresponding to the first data block, wherein the hidden data block comprises the second display information.
The above aspect and any possible implementation manner further provide an implementation manner, where displaying a first data block containing the first presentation information includes: rendering the first display information by using a first page template in a display state so as to display a first data block containing the first display information;
the displaying of the hidden data block corresponding to the first data block, where the hidden data block includes the second presentation information, includes: setting the first page template to be in a hidden state, and rendering the second display information by using a second page template in a display state so as to display the hidden data block containing the second display information; or moving the first data block according to the moving distance corresponding to the trigger action, and rendering the second display information by using a second page template in a display state so as to hide part of the first data block and display part of the hidden data block.
The above-described aspects and any possible implementations further provide an implementation in which the trigger action includes a finger swipe left, a finger swipe right, a finger swipe up, a finger swipe down, a finger press, a mouse drag left, a mouse drag right, a mouse drag up, a mouse drag down, or a mouse double click.
In one aspect of the embodiments of the present invention, there is provided an information display device, including:
the information acquisition unit is used for acquiring first display information;
and the display processing unit is used for displaying a first data block containing the first display information and a hidden data block corresponding to the first data block.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the information obtaining unit is specifically configured to:
sending a display request or a query word to a server so that the server can obtain the first display information according to the display request or the query word and obtain second display information according to the first display information;
and receiving the first display information and the second display information sent by the server.
The above-described aspect and any possible implementation manner further provide an implementation manner, where the display processing unit is specifically configured to:
displaying a first data block including the first presentation information;
and when the display position of the first data block is detected to have a trigger action, displaying a hidden data block corresponding to the first data block, wherein the hidden data block comprises the second display information.
The foregoing aspect and any possible implementation manner further provide an implementation manner, where the displaying a first data block including the first display information specifically includes:
rendering the first display information by using a first page template in a display state so as to display a first data block containing the first display information;
rendering the second presentation information by using a second page template in a hidden state to hide the hidden data block containing the second presentation information.
As to the above-mentioned aspect and any possible implementation manner, there is further provided an implementation manner, where the displaying the hidden data block corresponding to the first data block specifically includes:
setting the second page template to be in a display state, and moving the first data block according to the movement distance corresponding to the trigger action so as to hide part of the first data block and display part of the hidden data block; or,
setting the second page template to a display state, and setting the first page template to a hidden state to hide all of the first data blocks and display all of the hidden data blocks.
The above-mentioned aspect and any possible implementation manner further provide an implementation manner, where the information obtaining unit is specifically configured to:
sending a display request or a query word to a server so that the server can obtain the first display information according to the display request or the query word;
and receiving the first display information sent by the server.
The above-described aspect and any possible implementation manner further provide an implementation manner, where the display processing unit is specifically configured to:
displaying a first data block including the first presentation information;
when a trigger action is detected at the display position of the first data block, sending the identifier of the first display information to the server so that the server can obtain second display information according to the identifier of the first display information;
receiving the second display information sent by the server;
and displaying a hidden data block corresponding to the first data block, wherein the hidden data block comprises the second display information.
The foregoing aspect and any possible implementation manner further provide an implementation manner, where the displaying a first data block including the first display information specifically includes: rendering the first display information by using a first page template in a display state so as to display a first data block containing the first display information;
the displaying of the hidden data block corresponding to the first data block, where the hidden data block includes the second presentation information, specifically includes: setting the first page template to be in a hidden state, and rendering the second display information by using a second page template in a display state so as to display the hidden data block containing the second display information; or moving the first data block according to the moving distance corresponding to the trigger action, and rendering the second display information by using a second page template in a display state so as to hide part of the first data block and display part of the hidden data block.
The above-described aspects and any possible implementations further provide an implementation in which the trigger action includes a finger swipe left, a finger swipe right, a finger swipe up, a finger swipe down, a finger press, a mouse drag left, a mouse drag right, a mouse drag up, a mouse drag down, or a mouse double click.
According to the technical scheme, the embodiment of the invention has the following beneficial effects:
according to the embodiment of the invention, the first data block containing the first display information and the hidden data block corresponding to the first data block are displayed by obtaining the first display information. Therefore, the technical scheme provided by the embodiment of the invention can display the data block and the corresponding hidden data block, so that more information contents can be displayed through the hidden data block, and the information display efficiency is improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
FIG. 1 is an exemplary diagram of a system used by the solutions provided by the embodiments of the present invention;
FIG. 2 is a flow chart illustrating a method for displaying information according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a first embodiment of a method for displaying information according to an embodiment of the present invention;
fig. 4 is an exemplary diagram of a client displaying a first data block and a corresponding hidden data block provided by an embodiment of the present invention;
FIG. 5 is a diagram illustrating a second embodiment of a method for displaying information according to an embodiment of the present invention;
fig. 6 is a functional block diagram of an information display device according to an embodiment of the present invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of association that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
It should be understood that although the terms first, second, etc. may be used to describe the presentation information in embodiments of the present invention, these keywords should not be limited to these terms. These terms are only used to distinguish keywords from each other. For example, the first presentation information may also be referred to as second presentation information, and similarly, the second presentation information may also be referred to as the first presentation information without departing from the scope of the embodiments of the present invention.
The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
The system used in the technical solution provided by the embodiment of the present invention is mainly composed of a client and a server as shown in fig. 1, and the method and apparatus provided by the embodiment of the present invention are implemented on the client side.
An embodiment of the present invention provides a method for displaying information, please refer to fig. 2, which is a schematic flow chart of the method for displaying information according to the embodiment of the present invention, and as shown in the figure, the method includes the following steps:
s201, first display information is obtained.
S202, displaying a first data block containing the first display information and a hidden data block corresponding to the first data block.
It should be noted that the execution subjects of S201 to S202 may be information display devices, and the information display devices may be located at clients of the local terminal, or may also be functional units such as a plug-in or Software Development Kit (SDK) located in the clients of the local terminal, which is not particularly limited in this embodiment of the present invention.
It should be understood that the client may be an application program (native app) installed on the terminal, or may also be a web program (webApp) of a browser on the terminal, which is not limited in this embodiment of the present invention.
It should be noted that the terminal according to the embodiment of the present invention may include, but is not limited to, a Personal Computer (PC), a Personal Digital Assistant (PDA), a wireless handheld device, a Tablet Computer (Tablet Computer), a mobile phone, an MP3 player, an MP4 player, and the like.
Example one
Please refer to fig. 3, which is a diagram illustrating a first embodiment of a method for displaying information according to an embodiment of the present invention.
In this embodiment, the S201 may specifically include but is not limited to: as shown in fig. 3, the client may send a presentation request or a query term to the server, so that the server obtains the first presentation information according to the presentation request or the query term, and obtains the second presentation information according to the first presentation information. The server returns the first display information and the second display information to the client after obtaining the first display information and the second display information, so that the client can receive the first display information and the second display information sent by the server.
Preferably, if the server receives the display request from the client, the server may randomly select the first display information from the database, or may select the first display information from the database according to the sequence, or may select the first display information from a preset configuration file.
Preferably, if the server receives the query term from the client, the server may perform retrieval in the database according to the query term to obtain the first presentation information matched with the query term.
In this embodiment, the server returns the first display information and the second display information to the client together, so that after the server obtains the first display information, the server needs to further obtain the second display information according to the first display information.
Preferably, the server may obtain, from the database, second presentation information corresponding to the first presentation information according to the identifier of the first presentation information and the correspondence between the first presentation information and the second presentation information, where the obtained second presentation information is related to the first presentation information.
For example, the first presentation information is a title and an abstract of news a, a background introduction or a news reading corresponding to the news a is obtained from the database according to the identification and the corresponding relationship of the news a, and the background introduction is used as the second presentation information.
Or, the server may also retrieve, in the database, the second presentation information that matches the keyword according to the keyword in the first presentation information. For example, the first display information is a title and an abstract of news a, the title of the news a is segmented, then keywords in the title are extracted, and further, related historical news is obtained from a database according to the keywords, and the historical news is used as second display information.
Alternatively, the server may also obtain the second display information randomly or according to a preset rule. The second presentation information thus obtained has no direct relation to the first presentation information.
For example, the second display information obtained according to the first 10 pieces of first display information is a collection button, and the second display information obtained according to the 10 th to 20 th pieces of first display information is a deletion button, and the like.
In this embodiment, the S202 may specifically include but is not limited to: after obtaining the first display information and the second display information, the client may display a first data block including the first display information, and when detecting that a display position of the first data block has a trigger action, display a hidden data block corresponding to the first data block, where the hidden data block includes the second display information.
For example, the method for the client to display the first data block containing the first presentation information may include, but is not limited to:
the client renders the first display information by using the first page template in a display state, namely the first display information is used as an input parameter of the first page template so as to display a first data block containing the first display information; and the client renders the second display information by using the second page template in the hidden state, namely, the second display information is used as an input parameter of the second page template to generate a hidden data block containing the second display information.
After the client displays the first data block, if a trigger action is detected at the display position of the first data block, the hidden data block corresponding to the first data block needs to be displayed.
For example, the method for displaying the hidden data block corresponding to the first data block by the client may include, but is not limited to, the following two methods:
the first method comprises the following steps: after detecting that the display position of the first data block has a trigger action, the client determines that a hidden data block containing second display information needs to be displayed, and hides the first data block containing first display information, so that the client can set the second page template to be in a display state, and move the first data block according to a movement distance corresponding to the trigger action so as to hide part of the first data block and display part of the hidden data block. In this way, the user can browse the second presentation information contained in the hidden data block by triggering the display of the hidden data block located below the first data block through the triggering action.
For example, as shown in fig. 4, the first data block is a card that is translated to the right, the title and the abstract of the news are displayed in the first data block, after the client detects that the display position of the first data block is scratched by a finger to the right, the first data block is moved according to the trigger action, and the second page template is set to the display state, so that a part of the hidden data block can be displayed, and the hidden data block includes the second presentation information. Wherein the second presentation information may include, but is not limited to: news interpretation or background introduction corresponding to the news headline displayed in the first data block, news comments by the user, function buttons or recommendation information, and the like.
And the second method comprises the following steps: after detecting that the display position of the first data block has a trigger action, the client determines that a hidden data block containing second display information needs to be displayed, and hides the first data block containing first display information, so that the client can set the second page template to be in a display state and set the first page template to be in a hidden state to hide all the first data blocks and display all the hidden data blocks. In this way, the user can browse the second presentation information contained in the hidden data block by triggering the display of the hidden data block located below the first data block through the triggering action.
Example two
Please refer to fig. 5, which is a diagram illustrating a second embodiment of a method for displaying information according to an embodiment of the present invention.
In this embodiment, the S201 may specifically include but is not limited to: as shown in fig. 5, the client may send a presentation request or a query term to the server, so that the server obtains the first presentation information according to the presentation request or the query term. The server returns the first display information to the client after obtaining the first display information, so that the client can receive the first display information sent by the server.
The method for obtaining the first display information by the server according to the display request or the query term may refer to the implementation method in the first embodiment, and details are not repeated here.
It should be noted that, different from the synchronous obtaining manner of the first display information and the second display information in the first embodiment, in the present embodiment, the first display information and the second display information obtained by the client from the server are obtained asynchronously, that is, the client preferentially obtains the first display information from the server, and therefore, after obtaining the first display information, the server returns the first display information to the client.
For example, in this embodiment, the S202 may specifically include but is not limited to: first, the client preferentially displays a first data block containing the first presentation information. Then, when detecting that the display position of the first data block has a trigger action, the client sends the identifier of the first display information to the server, so that the server can obtain the second display information according to the identifier of the first display information, and thus, the client can receive the second display information sent by the server. Finally, the client may display the hidden data block corresponding to the first data block, where the hidden data block includes the second presentation information.
Wherein the identification of the first presentation information may include, but is not limited to: keywords, links, or display locations at the client of the first presentation information, etc.
Preferably, the method for the server to obtain the second presentation information according to the identifier of the first presentation information may include, but is not limited to: and obtaining second display information by using the identifier of the first display information according to the corresponding relation between the first display information and the second display information. Or, if the identifier of the first display information is a keyword of the first display information, the second display information matched with the keyword may be retrieved from the database according to the keyword in the first display information.
For example, the method for displaying the first data block containing the first presentation information may include, but is not limited to: and the client renders the first display information by using the first page template in a display state, namely, the first display information is used as an input parameter of the first page template so as to display a first data block containing the first display information.
It can be understood that, since the client only obtains the first presentation information, the client can only render the first presentation information to display the first data block containing the first presentation information, and temporarily cannot display the hidden data block corresponding to the first data block.
For example, the method for displaying the hidden data block corresponding to the first data block, where the hidden data block includes the second presentation information, may include, but is not limited to: and setting the first page template to be in a hidden state, and rendering the second display information by using a second page template in a display state, namely, using the second display information as an input parameter of the second page template so as to display the hidden data block containing the second display information. Or moving the first data block according to the moving distance corresponding to the trigger action, and rendering the second display information by using a second page template in a display state so as to hide part of the first data block and display part of the hidden data block. In this way, the user can browse the second presentation information contained in the hidden data block by triggering the display of the hidden data block by the trigger action.
For example, as shown in fig. 4, the first data block is a card that is translated to the right, a news title and an abstract are displayed in the first data block, after the client detects that a finger is stroked to the right at the display position of the first data block, the server obtains a news reading or a background introduction, then the client moves the first data block according to the trigger action, and renders the news reading or the background introduction by using the second page template in the display state, so as to display a part of hidden data blocks, where the hidden data blocks include the news reading or the background introduction.
It should be noted that, in this embodiment, a first data block including first display information is preferentially displayed, and when a trigger action is detected at a display position of the first data block, corresponding second display information is obtained from a server, so that a hidden data block including the second display information and corresponding to the first data block can be displayed; the client needs to load and display more contents, and in order to ensure timely display of the first display information, the display of the hidden data block can be realized by adopting an asynchronous acquisition mode in the embodiment, so that the display efficiency of the first display information can be improved.
In addition, with the technical solution of this embodiment, only the second display information that needs to be included in the hidden data block corresponding to the first data block having the trigger action needs to be obtained, and the second display information that needs to be included in the hidden data blocks corresponding to all the first data blocks displayed by the client does not need to be obtained. For example, as shown in fig. 4, the client only needs to obtain second presentation information, such as a news reading or a background introduction, which is required to be included in the hidden data block corresponding to the first data block moving to the right, and does not need to display the hidden data block for other first data blocks including other news titles and summaries, so that corresponding second presentation information does not need to be obtained, and therefore, the second presentation information can be obtained from the server in a targeted manner, and data interaction between the client and the server is reduced.
To sum up, when displaying more information contents through the hidden data block, the technical scheme of the embodiment can also improve the display efficiency of the first display information.
Preferably, in the first and second embodiments of the present invention, the triggering action may include, but is not limited to: a finger swipe left, a finger swipe right, a finger swipe up, a finger swipe down, a finger press, a mouse drag left, a mouse drag right, a mouse drag up, a mouse drag down, or a mouse double click.
For example, the first data block is hovered after being stroked to the left to a certain proportion under the movement of a finger or a mouse, or the first data block is stroked to the left until the first data block is completely hidden, or the first data block is turned over so as to completely display the hidden data block. Correspondingly, the previous operation can be restored by means of right-hand sliding of a finger or a mouse, long-time pressing of the finger, clicking of the mouse and the like, so that the first data block is displayed again.
For another example, the first data block is hovered after being stroked to the right to a certain proportion under the movement of a finger or a mouse, or the first data block is stroked to the right until the first data block is completely hidden, or the first data block is turned over, so that the hidden data block is completely displayed. Correspondingly, the previous operation can be restored by means of leftward sliding of a finger or a mouse, long-time pressing of the finger, clicking of the mouse and the like, so that the first data block is displayed again.
For another example, the first data block is moved upward by a finger or a mouse, and then hovered after being stroked to a certain ratio, or the first data block is stroked upward until the first data block is completely hidden, or the first data block is turned over, so that the hidden data block is completely displayed. Accordingly, the previous operation can be restored by means of downward sliding of a finger or a mouse, long pressing of the finger, clicking of the mouse and the like, so that the first data block is displayed again.
For another example, the first data block is moved downwards by a finger or a mouse, and then hovered after being stroked to a certain proportion, or the first data block is stroked downwards until the first data block is completely hidden, or the first data block is turned over, so that the hidden data block is completely displayed. Accordingly, the previous operation can be restored by means of upward sliding of a finger or a mouse, long pressing of the finger, clicking of the mouse and the like, so that the first data block is displayed again.
For another example, after the first data block is pressed by a long finger, the first data block may be stroked to the left, right, up, down, or flipped to reveal the hidden data block.
For another example, after double-clicking the first data block with a mouse or double-clicking the first data block with a finger, the first data block may be stroked left, right, up, down, or flipped to display the hidden data block.
Preferably, in the first embodiment and the second embodiment of the present invention, the number of the first data blocks simultaneously displayed by the client may be M, where M is an integer greater than or equal to 1. Accordingly, the number of the hidden data blocks that can be simultaneously displayed by the client may be N, where N is an integer less than or equal to M and greater than or equal to 1. For example, as shown in fig. 4, the client simultaneously displays 5 first data blocks, each of which shows a news headline and a summary.
The embodiment of the invention further provides an embodiment of a device for realizing the steps and the method in the embodiment of the method.
Please refer to fig. 6, which is a functional block diagram of an information display device according to an embodiment of the present invention. As shown, the apparatus comprises:
an information obtaining unit 60 for obtaining first presentation information;
the display processing unit 61 is configured to display a first data block including the first presentation information and a hidden data block corresponding to the first data block.
Preferably, the information obtaining unit 60 is specifically configured to:
sending a display request or a query word to a server so that the server can obtain the first display information according to the display request or the query word and obtain second display information according to the first display information;
and receiving the first display information and the second display information sent by the server.
Preferably, the display processing unit 61 is specifically configured to:
displaying a first data block including the first presentation information;
and when the display position of the first data block is detected to have a trigger action, displaying a hidden data block corresponding to the first data block, wherein the hidden data block comprises the second display information.
Preferably, the displaying and processing unit 61 displays the first data block including the first display information, and specifically includes:
rendering the first display information by using a first page template in a display state so as to display a first data block containing the first display information;
rendering the second presentation information by using a second page template in a hidden state to hide the hidden data block containing the second presentation information.
Preferably, the displaying and processing unit 61 displays the hidden data block corresponding to the first data block, which specifically includes:
setting the second page template to be in a display state, and moving the first data block according to the movement distance corresponding to the trigger action so as to hide part of the first data block and display part of the hidden data block; or,
setting the second page template to a display state, and setting the first page template to a hidden state to hide all of the first data blocks and display all of the hidden data blocks.
Preferably, the information obtaining unit 60 is specifically configured to:
sending a display request or a query word to a server so that the server can obtain the first display information according to the display request or the query word;
and receiving the first display information sent by the server.
Preferably, the display processing unit 61 is specifically configured to:
displaying a first data block including the first presentation information;
when a trigger action is detected at the display position of the first data block, sending the identifier of the first display information to the server so that the server can obtain second display information according to the identifier of the first display information;
receiving the second display information sent by the server;
and displaying a hidden data block corresponding to the first data block, wherein the hidden data block comprises the second display information.
Preferably, the displaying and processing unit 61 displays the first data block including the first display information, and specifically includes: and rendering the first display information by utilizing the first page template in the display state so as to display a first data block containing the first display information.
Preferably, the displaying and processing unit 61 displays a hidden data block corresponding to the first data block, where the hidden data block includes the second display information, and specifically includes: setting the first page template to be in a hidden state, and rendering the second display information by using a second page template in a display state so as to display the hidden data block containing the second display information; or moving the first data block according to the moving distance corresponding to the trigger action, and rendering the second display information by using a second page template in a display state so as to hide part of the first data block and display part of the hidden data block.
Preferably, the trigger action includes a leftward swipe of a finger, a rightward swipe of a finger, an upward swipe of a finger, a downward swipe of a finger, a pressing of a finger, a leftward dragging of a mouse, a rightward dragging of a mouse, an upward dragging of a mouse, a downward dragging of a mouse, or a double click of a mouse.
Since each unit in the present embodiment can execute the method shown in fig. 2, fig. 3 or fig. 5, reference may be made to the related description of fig. 2, fig. 3 or fig. 5 for a part not described in detail in the present embodiment.
The technical scheme of the embodiment of the invention has the following beneficial effects:
according to the embodiment of the invention, the first data block containing the first display information and the hidden data block corresponding to the first data block are displayed by obtaining the first display information. Therefore, the technical scheme provided by the embodiment of the invention can display the data block and the corresponding hidden data block, so that more information contents can be displayed through the hidden data block, and the information display efficiency is improved.
In the prior art, if related information needs to be obtained or related operations need to be performed, a displayed link needs to be clicked to jump to a third-party website to browse complete content, other links displayed simultaneously with the link cannot be browsed continuously, if other links need to be clicked, an interface for displaying other links needs to be returned from the third-party website, and operation cost is high. Compared with the technical scheme, the technical scheme provided by the embodiment of the invention can obtain more information without jumping to a third-party website, and does not influence the display of other links, thereby reducing the operation cost.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions in actual implementation, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a Processor (Processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (18)

1. A method of displaying information, the method comprising:
obtaining first display information;
extracting keywords in the first display information, acquiring second display information from a database according to the keywords, and displaying a first data block containing the first display information and a hidden data block containing the second display information;
and simultaneously displaying M first data blocks and N hidden data blocks, wherein M is an integer greater than or equal to 1, and N is an integer less than or equal to M and greater than or equal to 1.
2. The method of claim 1, wherein obtaining the first presentation information comprises:
sending a display request or a query word to a server so that the server can obtain the first display information according to the display request or the query word and obtain second display information according to the first display information;
and receiving the first display information and the second display information sent by the server.
3. The method of claim 2, wherein the displaying a first data block containing the first presentation information and a hidden data block corresponding to the first data block comprises:
displaying a first data block including the first presentation information;
and when the display position of the first data block is detected to have a trigger action, displaying a hidden data block corresponding to the first data block, wherein the hidden data block comprises the second display information.
4. The method of claim 3, wherein displaying the first data block containing the first presentation information comprises:
rendering the first display information by using a first page template in a display state so as to display a first data block containing the first display information;
rendering the second presentation information by using a second page template in a hidden state to hide the hidden data block containing the second presentation information.
5. The method according to claim 4, wherein the displaying the hidden data block corresponding to the first data block comprises:
setting the second page template to be in a display state, and moving the first data block according to the movement distance corresponding to the trigger action so as to hide part of the first data block and display part of the hidden data block; or,
setting the second page template to a display state, and setting the first page template to a hidden state to hide all of the first data blocks and display all of the hidden data blocks.
6. The method of claim 1, wherein obtaining the first presentation information comprises:
sending a display request or a query word to a server so that the server can obtain the first display information according to the display request or the query word;
and receiving the first display information sent by the server.
7. The method of claim 6, wherein the displaying a first data block containing the first presentation information and a hidden data block corresponding to the first data block comprises:
displaying a first data block including the first presentation information;
when a trigger action is detected at the display position of the first data block, sending the identifier of the first display information to the server so that the server can obtain second display information according to the identifier of the first display information;
receiving the second display information sent by the server;
and displaying a hidden data block corresponding to the first data block, wherein the hidden data block comprises the second display information.
8. The method of claim 7,
the displaying a first data block including the first presentation information, comprising: rendering the first display information by using a first page template in a display state so as to display a first data block containing the first display information;
the displaying of the hidden data block corresponding to the first data block, where the hidden data block includes the second presentation information, includes: setting the first page template to be in a hidden state, and rendering the second display information by using a second page template in a display state so as to display the hidden data block containing the second display information; or moving the first data block according to the moving distance corresponding to the trigger action, and rendering the second display information by using a second page template in a display state so as to hide part of the first data block and display part of the hidden data block.
9. The method of claim 3 or 7, wherein the trigger action comprises a finger swipe left, a finger swipe right, a finger swipe up, a finger swipe down, a finger press, a mouse drag left, a mouse drag right, a mouse drag up, a mouse drag down, or a mouse double click.
10. An apparatus for displaying information, the apparatus comprising:
the information acquisition unit is used for acquiring first display information;
the display processing unit is used for extracting keywords in the first display information, acquiring second display information from a database according to the keywords, and displaying a first data block containing the first display information and a hidden data block containing the second display information;
and simultaneously displaying M first data blocks and N hidden data blocks, wherein M is an integer greater than or equal to 1, and N is an integer less than or equal to M and greater than or equal to 1.
11. The apparatus according to claim 10, wherein the information obtaining unit is specifically configured to:
sending a display request or a query word to a server so that the server can obtain the first display information according to the display request or the query word and obtain second display information according to the first display information;
and receiving the first display information and the second display information sent by the server.
12. The apparatus according to claim 11, wherein the display processing unit is specifically configured to:
displaying a first data block including the first presentation information;
and when the display position of the first data block is detected to have a trigger action, displaying a hidden data block corresponding to the first data block, wherein the hidden data block comprises the second display information.
13. The apparatus of claim 12, wherein the displaying the first data block containing the first presentation information comprises:
rendering the first display information by using a first page template in a display state so as to display a first data block containing the first display information;
rendering the second presentation information by using a second page template in a hidden state to hide the hidden data block containing the second presentation information.
14. The apparatus according to claim 13, wherein the displaying the hidden data block corresponding to the first data block specifically includes:
setting the second page template to be in a display state, and moving the first data block according to the movement distance corresponding to the trigger action so as to hide part of the first data block and display part of the hidden data block; or,
setting the second page template to a display state, and setting the first page template to a hidden state to hide all of the first data blocks and display all of the hidden data blocks.
15. The apparatus according to claim 10, wherein the information obtaining unit is specifically configured to:
sending a display request or a query word to a server so that the server can obtain the first display information according to the display request or the query word;
and receiving the first display information sent by the server.
16. The apparatus according to claim 15, wherein the display processing unit is specifically configured to:
displaying a first data block including the first presentation information;
when a trigger action is detected at the display position of the first data block, sending the identifier of the first display information to the server so that the server can obtain second display information according to the identifier of the first display information;
receiving the second display information sent by the server;
and displaying a hidden data block corresponding to the first data block, wherein the hidden data block comprises the second display information.
17. The apparatus of claim 16,
the displaying the first data block including the first display information specifically includes: rendering the first display information by using a first page template in a display state so as to display a first data block containing the first display information;
the displaying of the hidden data block corresponding to the first data block, where the hidden data block includes the second presentation information, specifically includes: setting the first page template to be in a hidden state, and rendering the second display information by using a second page template in a display state so as to display the hidden data block containing the second display information; or moving the first data block according to the moving distance corresponding to the trigger action, and rendering the second display information by using a second page template in a display state so as to hide part of the first data block and display part of the hidden data block.
18. The device of claim 12 or 16, wherein the trigger action comprises a finger swipe left, a finger swipe right, a finger swipe up, a finger swipe down, a finger press, a mouse drag left, a mouse drag right, a mouse drag up, a mouse drag down, or a mouse double click.
CN201410768650.0A 2014-12-12 2014-12-12 A kind of display methods and device of information Active CN104571813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410768650.0A CN104571813B (en) 2014-12-12 2014-12-12 A kind of display methods and device of information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410768650.0A CN104571813B (en) 2014-12-12 2014-12-12 A kind of display methods and device of information

Publications (2)

Publication Number Publication Date
CN104571813A CN104571813A (en) 2015-04-29
CN104571813B true CN104571813B (en) 2019-03-29

Family

ID=53088026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410768650.0A Active CN104571813B (en) 2014-12-12 2014-12-12 A kind of display methods and device of information

Country Status (1)

Country Link
CN (1) CN104571813B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106485173B (en) * 2015-08-25 2020-11-17 腾讯科技(深圳)有限公司 Sensitive information display method and device
CN105718265B (en) * 2016-01-21 2019-10-11 浙江慧脑信息科技有限公司 A kind of the block form nested software design and programmed method of tape label
CN107105312B (en) * 2016-02-19 2019-08-06 腾讯科技(北京)有限公司 A kind of method, apparatus and system carrying out information displaying
CN107292185B (en) * 2016-03-30 2021-05-28 创新先进技术有限公司 Method and terminal for displaying private information
CN106484242B (en) * 2016-09-19 2019-09-20 北京京东尚科信息技术有限公司 The information display method and device at interface
CN109450993B (en) * 2018-10-24 2021-11-02 上海尚往网络科技有限公司 Method and apparatus for presenting information
CN110457618A (en) * 2019-08-14 2019-11-15 上海掌门科技有限公司 Information displaying method and device
CN112492399B (en) * 2019-09-11 2023-03-24 北京字节跳动网络技术有限公司 Information display method and device and electronic equipment
CN116028534B (en) * 2022-05-30 2023-10-13 荣耀终端有限公司 Method and device for processing traffic information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2568371A2 (en) * 2011-09-08 2013-03-13 Lg Electronics Inc. Mobile terminal and controlling method thereof
CN103019516A (en) * 2012-12-10 2013-04-03 北京奇虎科技有限公司 Method and equipment for displaying page
CN103853822A (en) * 2014-02-24 2014-06-11 北京奇虎科技有限公司 Method and device for pushing news information in browser
CN104156409A (en) * 2014-03-11 2014-11-19 百度在线网络技术(北京)有限公司 Method, system and device for providing news

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0903957A3 (en) * 1997-09-04 2005-08-17 Matsushita Electric Industrial Co., Ltd. Method for receiving information, apparatus for receiving information and medium
US20140046976A1 (en) * 2012-08-11 2014-02-13 Guangsheng Zhang Systems, methods, and user interface for effectively presenting information
CN103995880B (en) * 2014-05-27 2019-03-12 百度在线网络技术(北京)有限公司 Interactive method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2568371A2 (en) * 2011-09-08 2013-03-13 Lg Electronics Inc. Mobile terminal and controlling method thereof
CN103019516A (en) * 2012-12-10 2013-04-03 北京奇虎科技有限公司 Method and equipment for displaying page
CN103853822A (en) * 2014-02-24 2014-06-11 北京奇虎科技有限公司 Method and device for pushing news information in browser
CN104156409A (en) * 2014-03-11 2014-11-19 百度在线网络技术(北京)有限公司 Method, system and device for providing news

Also Published As

Publication number Publication date
CN104571813A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN104571813B (en) A kind of display methods and device of information
EP3306486A1 (en) Pushed information processing method, apparatus, and device, and non-volatile computer storage medium
CN104636434A (en) Search result processing method and device
CN102819555A (en) Method and device for loading recommended information in read mode of webpage
CN105930527B (en) Searching method and device
CN104243273A (en) Method and device for displaying information on instant messaging client and information display system
US10346021B2 (en) Automatic list scrolling apparatus, method and program based on a selected item
US20140337699A1 (en) Method and apparatus for extracting web page content
CN105335383B (en) Input information processing method and device
CN116368468A (en) Systems and methods for providing tab previews via an operating system user interface
EP3111342A1 (en) Inline and context aware query box
CN105094603B (en) Method and device for associated input
CN106598409B (en) Text copying method and device and intelligent terminal
CN104765525A (en) Operation interface switching method and device
CN110147184B (en) Navigation backspacing method and control
CN104881224A (en) Method and device for adding cards
CN104267867A (en) Content input method and device
CN111581557A (en) Information display method and device, electronic equipment and storage medium
CN109683760B (en) Recent content display method, device, terminal and storage medium
CN103577085A (en) Control method and device applied to page display
CN112306365A (en) Information display method and device, electronic equipment and storage medium
KR20150097250A (en) Sketch retrieval system using tag information, user equipment, service equipment, service method and computer readable medium having computer program recorded therefor
KR102159331B1 (en) Sketch Retrieval system, user equipment, service equipment and service method based on meteorological phenomena information and computer readable medium having computer program recorded therefor
CN111538455B (en) Page switching method and device
CN106990901A (en) The processing method and processing device of cue mark

Legal Events

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