A method and device for displaying data
A technology for displaying data and data, applied in the computer field, can solve problems such as inability to reflect the hierarchical relationship of data
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] see figure 1 , an embodiment of the present invention provides a method for displaying data, including:
[0034] Step 101: Obtain the next-level node of the node selected by the user;
[0035] Step 102: Determine the number of display pages used to display the acquired lower-level nodes according to the number of acquired lower-level nodes;
[0036] Step 103: According to the number of displayed pages, display the acquired data of the next level node.
[0037] Preferably, according to the number of displayed pages, the obtained data of the next-level nodes are displayed, including:
[0038] Create a display area for displaying nodes that have a hierarchical relationship with the node selected by the user;
[0039] If the number of displayed pages is greater than 1, then according to the number of displayed pages, determine the data of the next-level nodes that need to be displayed included in each page;
[0040] In the display area, display the data of the next-leve...
Embodiment 2
[0066] An embodiment of the present invention provides a method for displaying data.
[0067] There is a hierarchical relationship between the data, and the upper-level data includes the lower-level data. For example, there is a hierarchical relationship between the data "News", "Beijing News" and "Current News", "News" includes "Beijing News", "Beijing News" includes "Current News", and "News" is "Beijing News" The upper-level data of "Beijing News" is the lower-level data of "Current Affairs News".
[0068] Among them, the editors set the hierarchical relationship between the data before releasing the data. When the user views the data, the terminal can display the data with hierarchical relationship to the user through the method provided by the embodiment of the present invention.
[0069] see diagram 2-1 , the method includes:
[0070] Step 201: Obtain and display the data of the node with the highest level;
[0071] Among them, the node with the highest level has n...
Embodiment 3
[0142] see image 3 , an embodiment of the present invention provides a device for displaying data, including:
[0143] The first obtaining module 301 is used to obtain the next-level node of the node selected by the user;
[0144] A determining module 302, configured to determine the number of display pages used to display the acquired lower-level nodes according to the number of acquired lower-level nodes;
[0145] The first display module 303 is configured to display the acquired data of the next-level node according to the number of display pages.
[0146] Wherein, the first display module 303 includes:
[0147] Create a unit, which is used to create a display area, and the display area is used to display nodes that have a hierarchical relationship with the node selected by the user;
[0148] The determination unit is used to determine the data of the next-level nodes that need to be displayed on each page according to the number of displayed pages if the number of disp...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


