CN105808110B - Table display method and display device - Google Patents

Table display method and display device Download PDF

Info

Publication number
CN105808110B
CN105808110B CN201410842191.6A CN201410842191A CN105808110B CN 105808110 B CN105808110 B CN 105808110B CN 201410842191 A CN201410842191 A CN 201410842191A CN 105808110 B CN105808110 B CN 105808110B
Authority
CN
China
Prior art keywords
display
information unit
unit
information
type information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410842191.6A
Other languages
Chinese (zh)
Other versions
CN105808110A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410842191.6A priority Critical patent/CN105808110B/en
Publication of CN105808110A publication Critical patent/CN105808110A/en
Application granted granted Critical
Publication of CN105808110B publication Critical patent/CN105808110B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a table display method and a display device, wherein the method comprises the following steps: when the first distance of the table in the first display direction is larger than the second distance of the first display area in the first display direction, displaying a first type information unit; the table comprises N information units in the first display direction; the first type information unit is at least one appointed information unit from the 1 st information unit to the Nth information unit; n is an integer not less than 2; receiving a first operation for controlling the movement of display content in the first display area in the first display direction; the display content includes the table; selecting and displaying part of the second type information units according to the first operation; and the second type information unit comprises information units in the table except the first type information unit.

Description

Table display method and display device
Technical Field
The present invention relates to display technologies in the field of information processing, and in particular, to a table display method and a display device.
Background
In the table display process, a situation is often encountered when a table includes so many information rows or information columns that a part of the information rows or information columns cannot be displayed in the display area of the display device.
The prior art generally has two processing modes for the above situation:
the first method comprises the following steps: split screen or paginated display;
the display method can cause the table to be displayed on two pages, if the current page displays the table tail, a user may not know to see the table head and cannot know the meaning of the data in each information column; and when the operation is required to be carried out on the header, the operation is required to return to the previous page or pages for operation. If the header of the table displayed on the current page is displayed, the user cannot see the tail of the table and does not know how many information rows the table comprises.
Obviously, the method of split screen or paging display results in poor readability and operability of the form, and further affects the use satisfaction of the user.
And the second method comprises the following steps: the table is reduced so that the table is displayed in the display area as much as possible.
The display method reduces the table, thereby affecting the aesthetic degree of the table display, and the user can not know the content of the table display because the scale of the table reduction is too large; in addition, because contents which originally need to be displayed by a plurality of pages or a plurality of screens are displayed in one display area, the contents which need to be displayed by the display equipment at present are increased sharply, and thus, the table buffering is slow, and the display response efficiency is influenced.
Disclosure of Invention
In view of this, embodiments of the present invention are intended to provide a table display method and a display device, so as to solve the problem that a table display method in the prior art is inconvenient for a user to query or operate the table.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a first aspect of an embodiment of the present invention provides a table display method, where the method includes: when the first distance of the table in the first display direction is larger than the second distance of the first display area in the first display direction, displaying a first type information unit; the table comprises N information units in the first display direction; the first type information unit is at least one appointed information unit from the 1 st information unit to the Nth information unit; n is an integer not less than 2;
receiving a first operation for controlling the movement of display content in the first display area in the first display direction; the display content includes the table;
selecting and displaying part of the second type information units according to the first operation;
the second type of information unit comprises information units in the table except the first type of information unit.
Preferably, the first and second electrodes are formed of a metal,
the first type information unit is the 1 st information unit in the first display direction.
Preferably, the first and second electrodes are formed of a metal,
the first type information unit comprises a 1 st information unit and the Nth information unit;
the selecting and displaying part of the second type information unit comprises:
and displaying part of the second type information unit between the 1 st information unit and the Nth information unit.
Preferably, the first and second electrodes are formed of a metal,
the selecting and displaying part of the second type information units according to the first operation comprises:
determining the movement direction of the table according to the first operation at a first moment; wherein the moving direction comprises a first moving direction that controls the table to move towards the 1 st information element;
determining the number Y of information units of the table moving in the motion direction according to the first operation;
when the moving direction is the first moving direction, j + Y-M information units to j + Y information units in second information units displayed at a second moment;
wherein, the j information unit is the last information unit of the second type displayed at the first moment; the M is the maximum number of the second type information units which can be displayed in the first display area;
the j + Y is not greater than the N; j is a positive integer not less than 1 and not more than N;
the second time is later than the first time.
Preferably, the first and second electrodes are formed of a metal,
the movement direction further comprises a second movement direction controlling the table to move towards the second type information unit; the second movement direction is opposite to the first movement direction;
the selecting and displaying part of the second type information units according to the first operation further comprises:
when the moving direction is the second moving direction, M information units from the jth information unit to the jth-Y information unit in the second type information units displayed at the second moment;
wherein, the jth information unit is the first second type information unit displayed at the first moment;
the j-Y is not less than 1.
Preferably, the method comprises:
at a third moment, buffering X second-type information units which are not displayed at the third moment in the table;
the X second-type information units are used for preparing and buffering the third time so as to improve the display response efficiency of a fourth time information unit;
x is an integer not less than 1 and not more than N-M;
the fourth time is later than the third time.
Preferably, the first and second electrodes are formed of a metal,
at the third time, buffering X second-type information units, which are not displayed at the third time, in the table, including:
determining the movement direction of the table at the third moment;
and determining the X second type information units according to the table movement direction.
Preferably, the first and second electrodes are formed of a metal,
the table is located on a first page; the first page is larger than the first distance in the first display direction;
when the first distance of the table in the first display direction is larger than the second distance of the first display area in the first display direction, the first type information unit is displayed, and the method comprises the following steps:
when at least one edge of the table is overlapped with the edge of the first display area, the first type information unit is displayed.
A second aspect of an embodiment of the present invention provides a display device, including:
the display unit is used for displaying the first type information unit when the first distance of the table in the first display direction is larger than the second distance of the first display area in the first display direction; the first display area is a maximum area for displaying the table; the table comprises N information units in the first display direction; the first type information unit is at least one appointed information unit from the 1 st information unit to the Nth information unit; n is an integer not less than 2;
a receiving unit configured to receive a first operation for controlling movement of display content in the first display area in the first display direction; the display content includes the table;
the display unit is also used for selecting and displaying part of the second type information units according to the first operation;
the second type information unit is a display unit except the first type display unit in the table.
Preferably, the first and second electrodes are formed of a metal,
the first type information unit is the 1 st information unit in the first display direction.
Preferably, the first and second electrodes are formed of a metal,
the first type information unit comprises a 1 st information unit and the Nth information unit;
the display unit is specifically used between the 1 st information unit and the Nth information unit,
and displaying part of the second type information units.
Preferably, the first and second electrodes are formed of a metal,
the display unit includes:
the first determining module is used for determining the movement direction of the table according to the first operation at a first moment; wherein the moving direction comprises a first moving direction that controls the table to move towards the 1 st information element;
a second determining module, configured to determine, according to the first operation, the number Y of information units that the table moves in the moving direction;
the display module is used for displaying the j + Y-M information unit to the j + Y information unit in the second information units at the second moment when the movement direction is the first movement direction;
wherein, the j information unit is the last information unit of the second type displayed at the first moment; the M is the maximum number of the second type information units which can be displayed in the first display area;
the j + Y is not greater than the N; j is a positive integer not less than 1 and not more than N; the second time is later than the first time.
Preferably, the first and second electrodes are formed of a metal,
the movement direction further comprises a second movement direction controlling the table to move towards the second type information unit; the second movement direction is opposite to the first movement direction;
the display module is specifically configured to display M information units from the jth information unit to the jth-Y information unit in a second type of information units at a second time when the moving direction is the second moving direction; wherein, the jth information unit is the first second type information unit displayed at the first moment; the j-Y is not less than 1.
Preferably, the display apparatus includes:
the buffer unit is used for buffering X second-type information units which are not displayed at the third moment in the table at the third moment;
the X second-type information units are used for preparing and buffering the third time so as to improve the display response efficiency of a fourth time information unit;
x is an integer not less than 1 and not more than N-M;
the fourth time is later than the third time.
Preferably, the first and second electrodes are formed of a metal,
the buffer unit is specifically configured to determine a movement direction of the table at a third time; and determining the X information units according to the table motion direction.
Preferably, the first and second electrodes are formed of a metal,
the table is located on a first page; the first page is larger than the first distance in the first display direction;
the display unit is specifically configured to display the first type information unit when at least one edge of the table overlaps with an edge of the first display area. In the form display method and the display device of the embodiment of the invention, in a form dynamic display mode, when a form is displayed, if the distance of the form in the first direction is larger than the distance of the first display area, a method of displaying the first type of information unit and then dynamically selecting the second type of information unit can be adopted when the form is displayed; therefore, the user can conveniently compare the second information unit with the first information unit to realize convenient inquiry of the form information; the first type information unit is displayed at the same time, and the method and the device can be conveniently used for carrying out various types of operations on the table based on the first type information unit, thereby improving the intelligence of the display device and the use satisfaction of users.
Drawings
FIG. 1 is a flowchart illustrating a table display method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a display effect of the first display area;
FIG. 3 is a diagram illustrating an effect of a table display method;
FIG. 4 is a second exemplary diagram illustrating an effect of the table display method according to the embodiment of the present invention;
FIG. 5 is a third exemplary diagram illustrating an effect of the table display method according to the embodiment of the present invention;
FIG. 6 is a third diagram illustrating the effect of the table display method;
FIG. 7 is a fifth exemplary diagram illustrating the effect of the table display method according to the embodiment of the present invention;
fig. 8 is a schematic structural diagram of a display device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a display unit according to an embodiment of the invention;
FIG. 10 is a second flowchart illustrating a table display method according to an embodiment of the present invention;
FIG. 11 is a sixth exemplary view illustrating the effect of the table display method according to the embodiment of the present invention;
FIG. 12 is a seventh exemplary illustration showing effects of the table display method according to the embodiment of the present invention;
fig. 13 is an eighth schematic diagram illustrating an effect of the table display method according to the embodiment of the invention.
Detailed Description
The technical solution of the present invention is further described in detail with reference to the drawings and the specific embodiments of the specification.
The first embodiment of the method comprises the following steps:
as shown in fig. 1, the present embodiment provides a table display method, including:
step S110: when the first distance of the table in the first display direction is larger than the second distance of the first display area in the first display direction, displaying a first type information unit; the first display area is a maximum area for displaying the table; the table comprises N information units in the first display direction; the first type information unit is at least one appointed information unit from the 1 st information unit to the Nth information unit;
step S120: receiving a first operation for controlling the movement of display content in the first display area in the first display direction; the display content includes the table;
step S130: selecting and displaying part of the second type information units according to the first operation;
the second type information unit comprises information units in the table except the first type information unit;
and N is an integer not less than 2.
The method of the embodiment can be applied to display equipment, wherein the display equipment comprises a display area; the first display area is a component of the display area; and the first display area is not larger than the display area. In some applications, the display area may be opened with a plurality of windows, each of which occupies a sub-area of the display area; each of said sub-areas constitutes one of said first display areas.
As in fig. 2, a darkened border is represented as the display area; a portal webpage and a QQ space are displayed in the display area; the display area occupied by the portal page is a first display area used for displaying the display content of the portal page; the display area occupied by the QQ space is a first display area for displaying information in the QQ space. It is apparent that the first display area corresponding to either the portal page or the QQ space is less than the entire display area of the electronic device.
In this embodiment, the information units of the table are divided into two types, one type is a first type information unit, and the other type is a second type information unit; the information unit is one or more information columns or information rows.
The table may be a row of information including a header and a field. If the 1 st information unit is the header; the Nth information unit is the table tail. The table can also be divided into a plurality of information columns; and if the 1 st information unit is the 1 st information column, the Nth information unit is the last information column.
The information units of the first type are typically information units that are displayed while one or more of the information units of the second type are dynamically displayed. Specifically, the first type information unit is fixedly displayed at a designated position or a non-designated position of the first display area; this way of displaying the information elements of the first type in a stable manner is referred to as floating display. According to the difference of the first operation, different parts of the second type information unit can be dynamically displayed, so that the dynamic display of the second type information unit is realized.
The information units in the table except the first type information unit are collectively called second type information units; in this embodiment, since the first display area cannot display the entire table, when the table is displayed, the second type information units are dynamically displayed, specifically, the second type information units in the upper half of the table are displayed according to the received first operation at the current time, and the second type information units in the lower half of the table are displayed at the next time; this enables a dynamic display of the information elements of the second type.
The first display direction in the step S110 may include a longitudinal direction parallel to the information column; a lateral direction parallel to the information columns may also be included.
When the first display direction is the longitudinal direction, the information rows of the table slide up and down in the longitudinal direction; when the table moves in the transverse direction, the information columns of the table roll left and right.
When the first display direction is a longitudinal direction, the first distance is a height of the table, and the second distance is a height of the first display area; and the height of the table is greater than the height of the first display area.
When the first display direction is a lateral direction, the first pitch is a width of the table, and the second pitch is a width of the first display area; and the width of the table is greater than the width of the first display area.
As shown in fig. 3, a black frame area represents the first display area; it is apparent that the height of the table in fig. 3 in the longitudinal direction exceeds the height of the first display area in the longitudinal direction. In the conventional table display method, when the user controls the display content in the first display area by dragging the scroll bar in fig. 3 (the operation of dragging the scroll bar may be the first operation), the display effect is as shown in fig. 3 in the conventional method at time a, and the information lines from the information line with number 33 to the end of the table in the lower half of the table are not displayed in the table. If the method described in this embodiment is adopted and it is assumed that the header and the footer are the first type information units, at time a, the display effect diagram of the first display area is as shown in fig. 4, where the header and the footer are displayed in the first display area, and information rows with sequence numbers 1 to 28 are displayed. Hiding the information rows with the serial numbers 29 to 35 from the part which is not displayed; and these information lines can be displayed by the user dragging the scroll bar.
At time B the scroll bar has slid down a portion relative to time a, at which time the display of the first display region is as shown in fig. 5. At time B, relative to time a, the information lines with numbers 1 to 3 in the hidden table are added above the table in the first display area, and the information lines with numbers 29 to 31 are added below the first display area.
In fig. 4 and 5, the 1 st information element is a header, and the nth information element is a footer.
In the above example, the first operation may be dragging a scroll bar, and in a specific implementation, the first operation may be dragging the first page directly, instead of dragging the scroll bar, for example, for a finger to slide on a web page, and the web page does not have the scroll bar at this time.
As shown in fig. 6, the black boxes indicate the areas of the first display regions, and it is obvious that some contents of the table in the horizontal direction cannot be displayed outside the first display regions. At the time C, the table is displayed by adopting the prior art, the very important sequence number column and the very important name column in the table are not displayed in the first display area, and the user may want to view the historical score of zhang san, which is obviously very inconvenient.
When the display is performed by using the prior art, the display effect is as shown in fig. 7, the school number column and the name column are displayed as the first type information unit, and the other columns are displayed as the second type information unit, and it is obvious that the school number column, the name column and the historical score column may be simultaneously displayed in the first display area.
At this time, in order to make it possible for the user to always display important information rows or information columns when sliding the table, in this embodiment, information elements of the first type are displayed; the first type information unit may be specifically a header and/or a footer.
The header is convenient for a user to compare the information row with each column of data identification information in the header; meanwhile, the header can also perform operations which can be performed only on the header, such as changing the attribute of the table, and fully selecting.
The information row corresponding to the table tail may be different from other information rows; the table is a student achievement table specifically; the table tail can be information such as average scores of various departments of the student.
According to the setting of the table information content, the first type information unit can be selected as the 1 st information unit or the 1 st information unit and the Nth information unit.
In a specific implementation, the first type information unit may also be another information unit. Specifically, when the first direction is a transverse direction, a student score table is taken as an example; the 1 st information column is a label of each information line; the 2 nd information column is information which has identification effect on the identity of the student, such as the name of the student or the school good. If the current table comprises a plurality of columns (such as 15), the current table comprises a score information column of 12 scores; the 1 total score column also includes a 1 score rank column and a 1 score ranking column.
If the user inquires about the biological result of lie four, if the table is displayed according to the existing method, the biological result information column may appear during display, and the name column of the student is not displayed, so that the user does not know which result of a plurality of information rows is the biological result of lie four. And the student name column is an information column except the 1 st information unit and the Nth information unit in the achievement table.
By adopting the method of the embodiment, the name columns of the students can be fixedly displayed as the first type information units; then, the rolling of each information column in the dynamic control result list is input by the user, so that the biological result column is displayed in the first display area, the suggestion table look-up is realized, and the intelligence of the display equipment and the use satisfaction of the user are improved.
In this embodiment, when the second type information units are dynamically displayed, the second type information units are sequentially displayed according to the sequence of the information units; for example, the sequence numbers of the information lines increase in order from top to bottom; the sequence numbers of the information columns increase from left to right.
When the first type information unit includes the 1 st information unit and the nth information unit, dynamically displaying the second type information unit in step S130 may be displaying the second type information unit between the 1 st information unit and the nth information unit.
The first operation may be a first operation of controlling the movement of the display contents in the first display region in the first display direction, and the table is one of the display contents, so that the first operation may be an operation instruction of controlling the movement of the table in the first display region in step S120.
If the first operation indicates that the table moves down 10 rows in the prior art; the 10 information lines currently displayed at the top will be hidden and the 10 information lines not currently displayed will be displayed at the bottom. Thus, the header or footer or other information designated for display can be easily hidden, while in the present embodiment, the stable display of the first type information elements is maintained during the dynamic display of the table formed in response to the first operation, while the part of the information elements in the information elements when the instruction speech part is included in the first speech is maintained; therefore, the first type information unit containing important information can be ensured to be always displayed in the first display area, and the information unit in the second type information unit which needs to be inquired or operated currently by a user can be displayed through the first operation.
The first operation may be an operation of controlling scroll bar scrolling in the first display region, which is input by a user, in step S120; specifically, the operation is performed by sliding a mouse or by sliding a finger of a user received by a touch screen.
The part of the second type information units displayed at one moment is usually a plurality of information units continuously distributed in the form, so that the ordered display of the form can be obviously maintained, the use habit of a user is met, the operation of the user is facilitated, and the use satisfaction of the user can be improved.
The second method embodiment:
as shown in fig. 1, the present embodiment provides a table display method, including:
step S110: when the first distance of the table in the first display direction is larger than the second distance of the first display area in the first display direction, displaying a first type information unit; the first display area is a maximum area for displaying the table; the table comprises N information units in the first display direction; the first type information unit is at least one appointed information unit from the 1 st information unit to the Nth information unit;
step S120: receiving a first operation for controlling the movement of display content in the first display area in the first display direction; the display content includes the table;
step S130: selecting and displaying part of the second type information units according to the first operation;
the second type information unit is a display unit in the table except the first type display unit;
the second type information unit comprises information units in the table except the first type information unit;
and N is an integer not less than 2.
The step S130 may include:
determining the movement direction of the table according to the first operation at a first moment; wherein the moving direction comprises a first moving direction that controls the table to move towards the 1 st information element;
determining the number Y of information units of the table moving in the motion direction according to the first operation;
when the moving direction is the first moving direction, j + Y-M information units to j + Y information units in second information units displayed at a second moment;
wherein, the j information unit is the last second type information unit displayed at the first moment; the M is the maximum number of the second type information units which can be displayed in the first display area;
wherein j + Y is not greater than N; j is a positive integer not less than 1 and not more than N; the second time is later than the first time.
Specifically, the user performs an operation of controlling the sliding of the scroll bar to the display device; the distance of the scroll bar interaction is related to the distance of the display sliding, and generally, the larger the distance of the scroll bar sliding, the larger the sliding distance of the display content.
If the distance that the scroll bar slides down is equal to the distance that the table slides down 10 information rows, then Y is equal to 10. The value of Y may be greater than the maximum number of information units displayable in the first display area. If the table includes 60 information rows, the first display area can only display 20 information rows, (i.e., the M, etc. 20 rows), and the Y may be equal to 25 information rows.
If the header is displayed at the top of the first display area currently, the 1 st information line value and the 19 th information line are sequentially displayed under the header; if Y equals 25 information lines; the j + Y information unit is the 44 th information line; at a second moment in time it will be displayed starting from the 24 th information line down to the 44 th information line. At the moment, the second type information units displayed at the first moment are all hidden; the 20 th to 23 th information rows in the table are not displayed in the period from the first time to the second time; it is displayed directly starting from the 24 th information line.
If said Y is equal to 10, then said Y is less than said M; the information lines that need to be displayed are the 9 th information line to the 29 th information line. At this time, only a part of the nth information row displayed at the first time is hidden, and 10 information rows among the information rows displayed at the second time are not displayed at the first time.
The present embodiment is further optimized based on the technical solution of the first embodiment of the method, and the second type information unit can be dynamically displayed according to user operation while the first type information unit is displayed.
The third method embodiment:
as shown in fig. 1, the present embodiment provides a table display method, including:
step S110: when the first distance of the table in the first display direction is larger than the second distance of the first display area in the first display direction, displaying a first type information unit; the first display area is a maximum area for displaying the table; the table comprises N information units in the first display direction; the first type information unit is at least one appointed information unit from the 1 st information unit to the Nth information unit;
step S120: receiving a first operation for controlling the movement of display content in the first display area in the first display direction; the display content includes the table;
step S130: selecting and displaying part of the second type information units according to the first operation;
the second type information unit is a display unit in the table except the first type display unit;
the sum of the number of the information units of the first type information unit and the second type information unit is less than N;
and N is an integer not less than 2.
The step S130 may include:
determining the movement direction of the table according to the first operation at a first moment; wherein the moving direction comprises a first moving direction that controls the table to move towards the 1 st information element;
determining the number Y of information units of the table moving in the motion direction according to the first operation;
when the moving direction is the first moving direction, j + Y-M information units to j + Y information units in second information units displayed at a second moment; at this time, the j information unit displays the last second type information unit at the first moment; the M is the maximum number of the second type information units which can be displayed in the first display area; the j + Y is not greater than the N; j is a positive integer not less than 1 and not more than N; the second time is later than the first time.
The movement direction further comprises a second movement direction controlling the table to move towards the second type information unit;
the step S130 further includes:
when the moving direction is the second moving direction, M information units from the jth information unit to the jth-Y information unit in the second type information units displayed at the second moment; at this time, the jth information unit is the first second type information unit displayed at the first moment; the j-Y is not less than 1.
When the first display direction is the longitudinal direction, the second movement direction described in this embodiment may be considered as sliding up Y information lines. When the first display direction is a landscape direction, it can be considered that the second movement direction is sliding Y information columns backward to the table. In a specific implementation process, the information unit may further include a plurality of information rows or a plurality of information columns, and the like.
If the header and the epitope are information elements included in said first type of information element; if the current 1 st second type information unit adjacent to the header is the 21 st information line; if Y and the like are 10, displaying second type information units including 11 th information units to 31 th information units at the second moment;
the second movement direction is opposite to the first movement direction.
In a specific implementation, when Y + j is greater than N, the first display area is configured to display, in the first display direction, other display contents except for the display contents used for displaying the table, except for the first type information unit and the second type information unit which are specified to be displayed in the table. And when the Y-j is smaller than 1, the rest display area in the first display direction is used for displaying other display contents except the table.
On the basis of the previous embodiment, the embodiment further defines a dynamic display method for controlling the table to move in the direction opposite to the first movement direction, and the intelligence of the display device and the use satisfaction of the user are also improved.
The method comprises the following steps:
as shown in fig. 1, the present embodiment provides a table display method, including:
step S110: when the first distance of the table in the first display direction is larger than the second distance of the first display area in the first display direction, displaying a first type information unit; the first display area is a maximum area for displaying the table; the information unit is an information column or an information row; the table comprises N information units in the first display direction; the first type information unit is at least one appointed information unit from the 1 st information unit to the Nth information unit;
step S120: receiving a first operation for controlling the movement of display content in the first display area in the first display direction; the display content includes the table;
step S130: selecting and displaying part of the second type information units according to the first operation;
the second type information unit is a display unit in the table except the first type display unit;
and N is an integer not less than 2.
The method comprises the following steps:
at a third moment, buffering X second-type information units which are not displayed at the third moment in the table;
the X second-type information units are used for preparing and buffering the third time so as to improve the display response efficiency of a fourth time information unit;
x is an integer not less than 1 and not more than N-M;
the fourth time is later than the third time.
In order to speed up the display of the information unit at the next time in the present embodiment, the undisplayed X information units of the second type are pre-buffered at the current time.
Specifically, the current table consists of 80 information rows; the information units displayed in the first display area at the current moment comprise a header and information lines from 8 th to 28 th. And if so, the header is the first type information unit.
When a user reads or views a form, the user may want to move the form up and down or move the form left and right to inquire the information of the form which is not displayed in the first display area at the current moment; in order to avoid the problem of time delay caused by the fact that the user slides the scroll bar quickly to update all the table data, in this embodiment, before the fourth time of receiving the response display, X second-type information units which are not displayed are buffered in advance, so that if the information units buffered in advance may specify the information units to be displayed at the fourth time, if so, the display speed is increased.
As a further improvement of this embodiment, this embodiment further provides a method how to specifically determine the X second-type information units to be displayed:
determining the movement direction of the table at the third moment;
and determining the X second type information units according to the table movement direction.
If the third time may comprise the current time or comprise the current time and a plurality of times before the current time. If the moving directions of the table are downward sliding and the table tail is not displayed in the current table, and the probability that the user can gradually check the table tail is considered to be higher, the X second-type information units are X second-type information units which are close to the table tail and are not displayed.
If the last second type information unit displayed at the third moment is the p-th information unit, the p +1 th to p + X-th information units can be buffered in advance.
In a specific implementation, the determination of the X second-type information units is further determined according to a table display state at the third time. Assuming that one information unit corresponds to one information line, header to pth information lines are displayed in a first display area at the current moment; obviously, there is no more information above the header to buffer, and the X information units may be X information lines after the pth information line.
In a specific implementation, if the information unit displayed at the third time is the information unit at the middle position of the table, at this time, the information line that is not displayed includes a portion near the head of the table and also includes a portion near the tail of the table. In this embodiment, the X second-type information units may be determined directly according to the moving direction of the table at the third time, according to the inheritance and the continuity between the operations of viewing the table by the user. Specifically, when the third time table moves downward, X second-type information units near the tail of the table are selected to be buffered in advance.
The X second-type information units may be X second-type information units distributed adjacent to the second-type information unit displayed at the third time, or X second-type information units separated from the second-type information unit displayed at the third time.
Specifically, when the table is dynamically displayed, it is statistically confirmed that the number of information units moved in the movement direction by the user through the first operation is kept at about Y.
If Y information units are also moved at the fourth moment, when Y is larger than M, 1 or more information units are displayed at the third moment and cannot be displayed.
If the fact that the moving direction of the table at the fourth moment is more likely to be the first moving direction is predicted, the X second-type information units are X information units from the j + Y-M information unit to the j + Y information unit at the moment; the j information unit may be the last information unit of the second type displayed at the third time.
If it is predicted that the moving direction of the table at the fourth time has a greater probability of being the second moving direction, then the X second-type information units are X second-type information units from the jth information unit to the jth-Y information unit at the moment. The jth information element may be a first information element of the second type displayed at the first time.
The X values can be specified as 3, 4, 5 or 10; the value of X can be dynamically determined according to the third time or the number of information units of each movement of the table before the third time.
There are many specific methods for determining the value of X, and this is not explained one by one.
If the system resources of the display unit are enough, the X can take any value larger than the M, and the X second information units comprise two parts, wherein one part is a second information unit which is close to the 1 st information unit in the information units which are not displayed at the third moment; and the second type information unit close to the Nth information unit in the other part of the information units which are not displayed at the third moment.
Method example five:
as shown in fig. 1, the present embodiment provides a table display method, including:
step S110: when the first distance of the table in the first display direction is larger than the second distance of the first display area in the first display direction, displaying a first type information unit; the first display area is a maximum area for displaying the table; the table comprises N information units in the first display direction; the first type information unit is at least one appointed information unit from the 1 st information unit to the Nth information unit;
step S120: receiving a first operation for controlling the movement of display content in the first display area in the first display direction; the display content includes the table;
step S130: selecting and displaying part of the second type information units according to the first operation;
the second type information unit is a display unit in the table except the first type display unit;
and N is an integer not less than 2.
The table is located on a first page; the first page is larger than the first distance in the first display direction;
when the first distance of the table in the first display direction is larger than the second distance of the first display area in the first display direction, the first type information unit is displayed, and the method comprises the following steps:
when at least one edge of the table is overlapped with the edge of the first display area, the first type information unit is displayed.
The first page may be a WEB page or various application pages.
The table is a part of the display content of the first page; text, pictures or other form information other than forms may also be displayed on the first page.
The user can drag the form to enable the second type of information units dynamically displayed in the form to be partially hidden or partially displayed by inputting the first operation of dragging the first page to the display device, so that the dynamic checking of a larger form can be facilitated, and meanwhile, the user can conveniently check the form and operate the form by stably displaying the first type of information units which are appointed to be displayed.
In a specific implementation process, which information units of the table are to be used as first-class information units of the table, which information units are to be determined by a producer of the table according to the importance of each information unit in the table, and which information units are to be very important first-class information units according to statistics of operation conditions of the table by subsequent users, such as statistics of operation frequency or operation times; or by specifying some rows or columns of information when performing a table query. In summary, the form dynamic display method of the embodiment is suitable for a user to simply query a form to operate the form when the display page where the form is located cannot provide a large enough display area for displaying the form; the intelligence of the electronic equipment and the use satisfaction of the user are improved.
In this embodiment, based on any of the above embodiments, it is determined how to float and display the first type information unit, that is, to detect whether at least one edge of the table coincides with an edge of the first display area, and the other edge opposite to the edge is not yet displayed, and obviously, it is determined in this direction that the table cannot be completely displayed, and the first type information unit is float and displayed at this time. As a further improvement of the present embodiment, while the first type information unit is displayed, the display direction perpendicular to the two edges is also determined as the first display direction.
Specifically, for example, a web page is displayed in the first display area; the web page is internally provided with a table, the distance between the table and the first display area in the longitudinal direction of the table is larger than the distance between the table and the first display area, at this time, if the head of the table touches the upper edge of the first display area, obviously, the tail of the table is still not displayed at this time, the display unit can determine whether the tail of the table is displayed completely by detecting whether the table has information in the longitudinal direction, if not, the first type display unit is directly displayed in a floating mode, and the second type display unit is dynamically displayed.
The first embodiment of the device:
as shown in fig. 8, the present embodiment provides a display apparatus including:
the display unit 110 is used for displaying the first type information unit when the first distance of the table in the first display direction is larger than the second distance of the first display area in the first display direction; the first display area is a maximum area for displaying the table; the table comprises N information units in the first display direction; the first type information unit is at least one appointed information unit from the 1 st information unit to the Nth information unit;
a receiving unit 120 configured to receive a first operation for controlling movement of display content in the first display area in the first display direction; the display content includes the table;
the display unit 110 is further configured to select and display a part of the second type information units according to the first operation;
the second type information unit is a display unit in the table except the first type display unit;
and N is an integer not less than 2.
The display device described in this embodiment may include an electronic device having a display unit, such as a desktop computer, a notebook computer, a mobile phone, a tablet computer, or an electronic book.
The display unit may include a display screen; the display panel can be a plasma display, a liquid crystal display, an electronic ink display, an Organic Light Emitting Diode (OLED) display or a projection display.
The display unit comprises a display area; i.e. a display area capable of displaying information. The area of the first display region is less than or equal to the display region. In some applications, the display area may be opened with a plurality of windows, each of which occupies a sub-area of the display area; each of said sub-areas constitutes one of said first display areas.
In a specific implementation, the first display area may also be an area specifically set for displaying a table.
The receiving unit comprises a human-computer interaction interface or an external control interface for receiving a first operation; the human-computer interaction interface may include a touch screen, a voice receiving and recognizing structure, or a wired or wireless communication interface for sending the first operation instruction to the display device. The human-computer interaction interface can also be a wired or wireless mouse and other structures connected to the display device.
The form of the electronic device according to the embodiment of the present invention may be a form on an application page, or a form on a web page or a form in a document.
Usually a table comprises rows and columns of information, such as in particular the head and tail rows or columns of the table. The columns may include information elements such as sequence number columns. The information unit described in this embodiment may include one or more information rows, or one or more information columns.
In this embodiment, the information units may be rows or columns, and specifically, when the first display direction is a longitudinal direction parallel to the columns, the information units are rows; and when the first display direction is a transverse direction parallel to the rows, the information units are columns.
In this embodiment, specific composition of the first type information unit may refer to method embodiment one, and specifically may include one or more information rows.
For example, the first type information unit is the 1 st information unit in the first display direction. When the first display direction is a longitudinal direction, the 1 st information unit may be a header.
For another example, the first type information unit includes a 1 st information unit and the nth information unit. When the first display direction is a longitudinal direction, the 1 st information unit may be a header, and the nth information unit may be a footer. When the first type information unit comprises a 1 st information unit and an Nth information unit, the dynamically displayed second type information unit is displayed between the 1 st information unit and the Nth information unit.
When the first direction is the longitudinal direction, the first display area displays a table head and a table tail of a table, and a plurality of information lines are also displayed between the table head and the table tail; the lines of information may be data lines or text lines, etc. The information rows displayed between the head and the tail of the table are selected to be sequentially arranged according to the arrangement sequence of the information rows in the table.
The second equipment embodiment:
as shown in fig. 8, the present embodiment provides a display apparatus including:
the display unit 110 is used for displaying the first type information unit when the first distance of the table in the first display direction is larger than the second distance of the first display area in the first display direction; the first display area is a maximum area for displaying the table; the table comprises N information units in the first display direction; the first type information unit is at least one appointed information unit from the 1 st information unit to the Nth information unit;
a receiving unit 120 configured to receive a first operation for controlling movement of display content in the first display area in the first display direction; the display content includes the table;
the display unit 110 is further configured to select and display a part of the second type information units according to the first operation;
the second type information unit is a display unit in the table except the first type display unit;
and N is an integer not less than 2.
As shown in fig. 9, the display unit 110 includes:
a first determining module 111, configured to determine, at a first time, a moving direction of the table according to the first operation; wherein the moving direction comprises a first moving direction that controls the table to move towards the 1 st information element;
a second determining module 112, configured to determine, according to the first operation, the number Y of information units that the table moves in the moving direction;
the display module 113 is configured to display, when the moving direction is the first moving direction, the j + Y-M information unit to the j + Y information unit in the second type of information units displayed at the second time;
wherein, the j information unit is the last information unit of the second type displayed at the first moment; the M is the maximum number of the second type information units which can be displayed in the first display area;
the j + Y is not greater than the N; j is a positive integer not less than 1 and not more than N; the second time is later than the first time.
The specific structure of the first determining module 111 and the second determining module 112 may include a processor and a storage medium; the storage medium is connected with the processor through a bus and other structures inside the display device. The storage medium has stored therein executable instructions; the processor can implement the functions of the first determining module 111 and the second determining module 112 through the execution of executable instructions. The processor may include an application processor AP, a central processing unit CPU, a digital signal processor DSP, a programmable array PLC or a microprocessor MCU, and the like, which have an information processing function, specifically, an image processor of the display screen. The first determining module 111 and the second determining module 112 may be integrated to correspond to the same processor or respectively correspond to different processors; when the integration corresponds to the same processor, the processor processes the functions of the first determining module 111 and the second determining module 112 respectively in a time division multiplexing or concurrent thread manner.
In summary, on the basis of the above embodiment, the display device of this embodiment further defines how to dynamically display the second type of information unit while the display unit 110 responds to the first operation and fixedly displays the first type of information unit, and can be used to provide implementation hardware for the second method embodiment.
The third equipment embodiment:
as shown in fig. 8, the present embodiment provides a display apparatus including:
the display unit 110 is used for displaying the first type information unit when the first distance of the table in the first display direction is larger than the second distance of the first display area in the first display direction; the first display area is a maximum area for displaying the table; the information unit is an information column or an information row; the table comprises N information units in the first display direction; the first type information unit is at least one appointed information unit from the 1 st information unit to the Nth information unit;
a receiving unit 120 configured to receive a first operation for controlling movement of display content in the first display area in the first display direction; the display content includes the table;
the display unit 110 is further configured to select and display a part of the second type information units according to the first operation; the second type information unit is a display unit in the table except the first type display unit; the sum of the number of the information units of the first type information unit and the second type information unit is less than N; and N is an integer not less than 2.
The display unit 110 includes:
a first determining module 111, configured to determine, at a first time, a moving direction of the table according to the first operation; wherein the moving direction comprises a first moving direction that controls the table to move towards the 1 st information element;
a second determining module 112, configured to determine, according to the first operation, the number Y of information units that the table moves in the moving direction;
the display module 113 is configured to display, when the moving direction is the first moving direction, the j + Y-M information unit to the j + Y information unit in the second type of information units displayed at the second time;
wherein, the j information unit is the last information unit of the second type displayed at the first moment; the M is the maximum number of the second type information units which can be displayed in the first display area;
the j + Y is not greater than the N; j is a positive integer not less than 1 and not more than N; the second time is later than the first time.
The movement direction further comprises a second movement direction controlling the table to move towards the second type information unit; the second movement direction is opposite to the first movement direction;
the display module 113 is specifically configured to display M information units from the jth information unit to the jth-Y information unit in the second type of information units at a second time when the moving direction is the second moving direction; wherein, the jth information unit is the first second type information unit displayed at the first moment; the j-Y is not less than 1.
The display module of this embodiment may be further configured to, when the moving direction is a second moving direction, float and display the first type information unit, and simultaneously, realize partial display of the second type information unit.
The embodiment provides a display device which can be used in the form display method described in the third embodiment of the method, can improve the intelligence of the device, and meets various requirements of users for viewing and operating forms through the fixed display of the first type of information units and the dynamic display of the second type of information units when the first display area cannot completely display the forms, and has the advantage of high use satisfaction.
The fourth equipment embodiment:
as shown in fig. 8, the present embodiment provides a display apparatus including:
the display unit 110 is used for displaying the first type information unit when the first distance of the table in the first display direction is larger than the second distance of the first display area in the first display direction; the first display area is a maximum area for displaying the table; the information unit is an information column or an information row; the table comprises N information units in the first display direction; the first type information unit is at least one appointed information unit from the 1 st information unit to the Nth information unit;
a receiving unit 120 configured to receive a first operation for controlling movement of display content in the first display area in the first display direction; the display content includes the table;
the display unit 110 is further configured to select and display a part of the second type information units according to the first operation; the second type information unit is a display unit in the table except the first type display unit; the sum of the number of the information units of the first type information unit and the second type information unit is less than N; and N is an integer not less than 2.
As shown in fig. 8, the display apparatus includes:
a buffering unit 130, configured to buffer, at a third time, X second-type information units that are not shown at the third time in the table; the X second-type information units are used for preparing and buffering the third time so as to improve the display response efficiency of a fourth time information unit; x is an integer not less than 1 and not more than N-M; the fourth time is later than the third time.
The specific structure of the buffer unit 130 may include a cache; the cache may be a first-level cache integrated with the processor and disposed on the same circuit board, or may be a second-level cache disposed separately from the processor. The processing may be an electronic component having an information processing function, such as an image processor of the display screen.
According to the embodiment, through the arrangement of the buffer unit, the table data can be buffered in advance, so that the dynamic display response efficiency of the follow-up second type of slim unit can be improved.
As a further improvement of this embodiment, this embodiment further embodies the structure of the buffer unit, specifically, the buffer unit 130 is specifically configured to determine the movement direction of the table at the third time; and determining the X second type information units according to the table motion direction.
Although at the next time n is an integer not less than 1 when the table is displayed, there is a probability that all information units of the second type are not displayed at the current time, generally, when the user views or operates the table, the user views or operates the table in a certain order, so in this embodiment, X information units of the second type that are not displayed at the current time are determined according to the moving direction of the table at the previous time.
For how the buffer unit determines the X second-type information units, reference may be made to the corresponding parts of the above method embodiments, and this is not repeated here.
Device example five:
as shown in fig. 8, the present embodiment provides a display apparatus including:
the display unit 110 is used for displaying the first type information unit when the first distance of the table in the first display direction is larger than the second distance of the first display area in the first display direction; the first display area is a maximum area for displaying the table; the information unit is an information column or an information row; the table comprises N information units in the first display direction; the first type information unit is at least one appointed information unit from the 1 st information unit to the Nth information unit;
a receiving unit 120 configured to receive a first operation for controlling movement of display content in the first display area in the first display direction; the display content includes the table;
the display unit 110 is further configured to select and display a part of the second type information units according to the first operation; the second type information unit is a display unit in the table except the first type display unit; the sum of the number of the information units of the first type information unit and the second type information unit is less than N; and N is an integer not less than 2.
The table is located on a first page; the first page is larger than the first distance in the first display direction;
the display unit 110 is specifically configured to display the first type information unit when at least one edge of the table overlaps with an edge of the first display area.
The first page can be a web page or an application page, such as a WeChat page; but also a document page. In this embodiment, the first page may have not only the table but also other display contents, such as text and pictures outside the table; the number of tables included in the first page may be multiple. In this embodiment, when it is detected that one edge of the table coincides with the edge of the first display area and the other edge opposite to the edge is not yet displayed, it is obvious that the table cannot be completely displayed in this direction, and the first type information unit is displayed in a floating manner at this time.
Several examples of displays of specific tables are presented below in conjunction with any of the embodiments described above:
example one:
the display method of the table in this example is: the table information is neither displayed in pages nor completely displayed, and the number of output information units is dynamically controlled by calculating the height of the page, so that a user can easily browse the table information by scrolling up and down scroll bars provided by a browser. In this way, the operations of full selection, reverse selection, dragging and the like of the table are very convenient. The operations of modifying or modifying in batches, which need to refresh the form, are very smooth (the control of the output data quantity is equal to the data of the control DOM node), and the browser is prevented from being jammed or not responding.
As shown in fig. 10, the table display method includes:
step S210: calculating the number of displayable data lines; one such data line here is an information unit in the above embodiments.
Step S220: detecting scroll bar scrolling based on a user indication (the scroll bar may be any one of the scroll bars shown in fig. 3 to 7), floating the display header and footer; the header and the footer are the first type information elements in the above embodiments. Here, the first direction is a longitudinal direction, i.e., a direction of a line connecting the head and the tail of the watch. Here, the floating display means a display state in which the head and tail of the list are maintained.
Step S230: hiding the top data row and increasing displaying the bottom data row when the scrollbar is scrolled downward.
Step S240: hiding the bottom data row and additionally displaying the top data row when the scroll bar is scrolled upwards.
Fig. 11 is a schematic partial display diagram of a web page in a first display area, where a display area with a Win-height distance displays display contents of the web page except for a form, and a header of a current form is also in contact with an edge of the first display area in a longitudinal direction, at this time, the display is performed normally according to a form display method in the prior art.
In fig. 12, the display device receives a first operation of dragging the scroll bar by the user to adjust the display content of the web page, and the display effect of floating and displaying the header and the footer by calculating the number of information units displayable in the first display area, and determining the dynamically displayed portion between the header and the footer according to the first operation is shown in fig. 12.
In the above step S210, the number of displayable data lines is calculated, and the following formula may be adopted:
(win _ height distance + win _ scroll distance-height distance of head-height of foot)/height of line is approximately equal to number 1.
The win-height distance is the height of display contents, which are displayed above the table and are not displayed in the table; the win _ scroll distance is the height of the scroll bar from the top of the first display area; the height of the head is the height required by the display header; the height of the foot is the height required to display the tail of the watch. The height of the line is the row height of the data row except the tail and the head of the table in the table. In a specific implementation process, when the number of the second type information units other than the first type information unit in the table displayable in the first display area is calculated, a difference obtained by subtracting a distance required for displaying the first type information unit from a total distance of the first display area in the first direction is divided by a distance required for displaying one second type information unit in the first direction, so that the maximum number of the second type information units displayable by the first display area in the first direction is obtained.
The number of buffer lines 1+ X (for example, X5) is number 2. number2 is the number of lines buffered at a time, which enables smooth display of the table in the first display area and improves the response rate of table display.
When the head of the watch leaves the display area (the scroll bar scrolls downwards), the floating head of the watch and the tail of the watch are convenient to view, and the display effect is as shown in figure 12 or figure 13.
Fig. 12 is a diagram showing a table by using the method described in this example based on the display effect of the rows in fig. 11, in response to the first operation of moving the scroll bar downward, the information rows with the numbers 1 to 17 are hidden at the top and the information rows with the numbers 18 to 35 are added at the bottom on the basis of fig. 11.
Fig. 13 is a diagram showing, based on the display effect of fig. 12, the table display method described in this example, in response to the first operation of moving the scroll bar upward, hiding the information rows with numbers 24 to 35 at the bottom of the table, and adding the information rows with numbers 6 to 17 at the top.
In implementing the step S130, the following method may be adopted for calculation.
And recording the total information unit number of the table as list. A last _ number page is the position of the last information unit output in the list, and a first _ number is the position of the first information unit output by the page in the list; the cnumber is the calculated top one or bottom one of the information rows in the table to be displayed.
When the calculated cn number is less than last _ number displayed last time, all rows greater than cn number are removed. last _ number is assigned as cnumber.
When the number is greater than last _ number displayed last time, all lines of last _ number to the number are appended, and last _ number is assigned as number.
When cnumber 1-number 1 is greater than the last displayed first _ number, all rows less than cnumber-number 1 are removed, and the first _ number is assigned as cnumber-number 1.
When the cnumber-number 1 is smaller than the last-displayed first _ number, all lines of cnumber-number 1 are appended to the first _ number, which is assigned as cnumber-number 1.
And (3) floating algorithm:
when the distance-height of win _ scroll is larger than 0 or the distance-height of win _ scroll is larger than 0, the overall height of the table + height of head is smaller than 0, the head (head) is displayed in a floating mode, and otherwise, the head is hidden.
And displaying the floating form tail (foot) when the distance of win-height + the overall height of the form-the distance of win _ scroll-the distance of win _ height is less than 0 or the distance of height is greater than (the distance of win _ scroll + the distance of win _ height-the height of head), and otherwise hiding the form head.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
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, that is, 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, all the functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may be separately used as one unit, or two or more units may be 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.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (17)

1. A method of displaying a form, the method comprising:
determining a first type information unit according to the content of the information units in the table, and/or determining the first type information unit according to the operation condition of a user on the table, wherein the operation condition comprises at least one of operation frequency and operation times;
when the first distance of the table in the first display direction is larger than the second distance of the first display area in the first display direction, displaying the first type information unit at the appointed position of the first display area, or displaying the first type information unit at the non-appointed position;
wherein the table includes N information units in the first display direction; the first type of information unit comprises: at least one designated information unit from the 2 nd information unit to the Nth information unit; n is an integer not less than 2;
buffering X second-type information units which are not displayed in the table, wherein X is an integer which is not less than 1 and not more than N-M, and M is the maximum number of the second-type information units which can be displayed in the first display area;
receiving a first operation for controlling the movement of display content in the first display area in the first display direction; the display content includes the table;
displaying based on the buffered second type information unit when the second type information unit selected according to the first operation has been buffered;
wherein the second type information unit comprises information units in the table except the first type information unit.
2. The method of claim 1,
the first type information element further comprises: the 1 st information element in the first display orientation.
3. The method of claim 1,
the first type of information unit comprises: 1 st information element and the nth information element;
the selecting and displaying part of the second type information unit comprises:
and displaying part of the second type information unit between the 1 st information unit and the Nth information unit.
4. The method of claim 1, 2 or 3,
the selecting and displaying part of the second type information units according to the first operation comprises:
determining the movement direction of the table according to the first operation at a first moment; wherein the moving direction comprises a first moving direction that controls the table to move to the 1 st information element;
determining the number Y of information units of the table moving in the motion direction according to the first operation;
when the moving direction is the first moving direction, j + Y-M information units to j + Y information units in second information units displayed at a second moment;
wherein, the j information unit is the last second type information unit displayed at the first moment; the M is the maximum number of the second type information units which can be displayed in the first display area;
the j + Y is not greater than the N; j is a positive integer not less than 1 and not more than N;
the second time is later than the first time.
5. The method of claim 4,
the movement direction further comprises a second movement direction controlling the table to move towards the second type information unit; the second movement direction is opposite to the first movement direction;
the selecting and displaying part of the second type information units according to the first operation further comprises:
when the moving direction is the second moving direction, M information units from the jth information unit to the jth-Y information unit in the second type information units displayed at the second moment;
wherein, the jth information unit is the first second type information unit displayed at the first moment;
the j-Y is not less than 1.
6. The method of claim 1,
the buffering X second-type information units not shown in the table comprises:
at a third moment, buffering X second-type information units which are not displayed at the third moment in the table;
the X second type information units are used for preparing buffering at the third moment so as to improve the display response efficiency of a fourth moment information unit;
x is an integer not less than 1 and not more than N-M;
the fourth time is later than the third time.
7. The method of claim 6,
at the third time, buffering X second-type information units, which are not displayed at the third time, in the table, including:
determining the movement direction of the table at the third moment;
and determining the X second type information units according to the table movement direction.
8. The method of claim 1,
the table is located on a first page; the first page is more than the first interval in the first display direction;
when the first distance of the table in the first display direction is larger than the second distance of the first display area in the first display direction, the displaying the first type information unit at the designated position of the first display area comprises:
when at least one edge of the table is overlapped with the edge of the first display area, the first type information unit is displayed.
9. A display device, characterized in that the display device comprises:
the display unit is used for determining a first type information unit according to the content of the information unit in the table and/or determining the first type information unit according to the operation condition of a user on the table, wherein the operation condition comprises at least one of operation frequency and operation times; when the first distance of the table in the first display direction is larger than the second distance of the first display area in the first display direction, displaying the first type information unit at the appointed position of the first display area, or displaying the first type information unit at the non-appointed position; the table comprises N information units in the first display direction; the first type of information unit comprises: at least one designated information unit from the 2 nd information unit to the Nth information unit; n is an integer not less than 2;
the buffer unit is used for buffering X second-type information units which are not displayed in the table, wherein X is an integer which is not less than 1 and not more than N-M, and M is the maximum number of the second-type information units which can be displayed in the first display area;
a receiving unit configured to receive a first operation for controlling movement of display content in the first display area in the first display direction; the display content includes the table;
the display unit is further used for displaying based on the buffered second type information unit when the second type information unit selected according to the first operation is buffered;
the second type information unit is a display unit except the first type display unit in the table.
10. The display device according to claim 9,
the first type of information unit comprises: the 1 st information element in the first display orientation.
11. The display device according to claim 9,
the first type of information unit comprises: 1 st information element and the nth information element;
the display unit is specifically configured to display a part of the second type information unit between the 1 st information unit and the nth information unit.
12. The display device according to claim 9, 10 or 11,
the display unit includes:
the first determining module is used for determining the movement direction of the table according to the first operation at a first moment; wherein the moving direction comprises a first moving direction that controls the table to move to the 1 st information element;
a second determining module, configured to determine, according to the first operation, the number Y of information units that the table moves in the moving direction;
the display module is used for displaying the j + Y-M information unit to the j + Y information unit in the second information units at the second moment when the movement direction is the first movement direction;
wherein, the j information unit is the last second type information unit displayed at the first moment; the M is the maximum number of the second type information units which can be displayed in the first display area;
the j + Y is not greater than the N; j is a positive integer not less than 1 and not more than N; the second time is later than the first time.
13. The display device according to claim 12,
the movement direction further comprises a second movement direction controlling the table to move towards the second type information unit; the second movement direction is opposite to the first movement direction;
the display module is specifically configured to display M information units from the jth information unit to the jth-Y information unit in a second type of information units at a second time when the moving direction is the second moving direction; wherein, the jth information unit is the first second type information unit displayed at the first moment; the j-Y is not less than 1.
14. The display device according to claim 9, characterized in that the display device comprises:
the buffer unit is further used for buffering X second-type information units which are not displayed at the third moment in the table at the third moment;
the X second type information units are used for preparing buffering at the third moment so as to improve the display response efficiency of a fourth moment information unit;
x is an integer not less than 1 and not more than N-M;
the fourth time is later than the third time.
15. The display device according to claim 14,
the buffer unit is specifically configured to determine a movement direction of the table at a third time; and determining the X information units according to the table motion direction.
16. The display device according to claim 9,
the table is located on a first page; the first page is larger than the first distance in the first display direction;
the display unit is specifically configured to display the first type information unit when at least one edge of the table overlaps with an edge of the first display area.
17. A computer storage medium having stored thereon computer-executable instructions; the computer-executable instructions, when executed by a processor, are capable of implementing the method as provided by any one of claims 1 to 8.
CN201410842191.6A 2014-12-30 2014-12-30 Table display method and display device Active CN105808110B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410842191.6A CN105808110B (en) 2014-12-30 2014-12-30 Table display method and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410842191.6A CN105808110B (en) 2014-12-30 2014-12-30 Table display method and display device

Publications (2)

Publication Number Publication Date
CN105808110A CN105808110A (en) 2016-07-27
CN105808110B true CN105808110B (en) 2020-04-07

Family

ID=56980284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410842191.6A Active CN105808110B (en) 2014-12-30 2014-12-30 Table display method and display device

Country Status (1)

Country Link
CN (1) CN105808110B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106547819A (en) * 2016-09-27 2017-03-29 乐视控股(北京)有限公司 Method for information display and relevant apparatus
CN110020267B (en) * 2017-07-27 2021-03-26 杭州海康威视数字技术股份有限公司 List display method and device
CN107479807B (en) * 2017-08-11 2020-08-11 浪潮云信息技术股份公司 IOP platform table column display and hiding method
CN108446152B (en) * 2018-02-02 2021-09-28 创新先进技术有限公司 Page display method and device
CN109726380A (en) * 2018-12-29 2019-05-07 天津字节跳动科技有限公司 Table edit method and device
CN111291203B (en) * 2020-02-06 2024-03-12 广州酷狗计算机科技有限公司 Data display method, device, terminal and storage medium
CN113392824A (en) * 2021-06-10 2021-09-14 上海钧正网络科技有限公司 Quality control list input method and device and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176702A (en) * 2011-12-22 2013-06-26 北大方正集团有限公司 Table information display and operation method applied to B/S structure
CN103678496A (en) * 2013-11-18 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and system for adjusting screening display of search page
CN103823615A (en) * 2012-11-19 2014-05-28 金蝶软件(中国)有限公司 Method and system for displaying table on web page
CN104020975A (en) * 2014-06-20 2014-09-03 合一网络技术(北京)有限公司 Method and system based on changes of page arrangement region and show region

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100223557A1 (en) * 2009-02-28 2010-09-02 Adam Kenney Method and system for workflow integration

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176702A (en) * 2011-12-22 2013-06-26 北大方正集团有限公司 Table information display and operation method applied to B/S structure
CN103823615A (en) * 2012-11-19 2014-05-28 金蝶软件(中国)有限公司 Method and system for displaying table on web page
CN103678496A (en) * 2013-11-18 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and system for adjusting screening display of search page
CN104020975A (en) * 2014-06-20 2014-09-03 合一网络技术(北京)有限公司 Method and system based on changes of page arrangement region and show region

Also Published As

Publication number Publication date
CN105808110A (en) 2016-07-27

Similar Documents

Publication Publication Date Title
CN105808110B (en) Table display method and display device
US20200241718A1 (en) Column fit document traversal for reader application
US9547525B1 (en) Drag toolbar to enter tab switching interface
EP2612230B1 (en) Item display method and apparatus
US10878175B2 (en) Portlet display on portable computing devices
US20110022957A1 (en) Web browsing method and web browsing device
CA2823170C (en) Immersive mode for a web browser
US20100259562A1 (en) Display control apparatus, display control method and computer program
US8341543B2 (en) Method and apparatus of scrolling a document displayed in a browser window
US20140068500A1 (en) System and method for navigation of a multimedia container
JP2010108061A (en) Information processing apparatus, information processing method, and information processing program
CN109582430B (en) Method for displaying comment information in electronic book, computing device and storage medium
US9921719B2 (en) Touch display apparatus and wallpaper replacing method thereof
US20120047470A1 (en) Method and apparatus for browsing an electronic book on a touch screen display
US20160196240A1 (en) Method of displaying content and electronic device implementing same
JP2021182405A (en) Electronic apparatus and content display program
US9298366B2 (en) Electronic device, method and computer readable medium
JP2013142919A (en) Display control device, information terminal device, integrated circuit, display control method, program, and recording medium
CN113918079B (en) Interactive processing method of ink screen equipment, electronic equipment and storage medium
US9639257B2 (en) System and method for selecting interface elements within a scrolling frame
KR101241904B1 (en) Method for Display in Mobile Terminal
JP2021120737A (en) Document display device
CN112463008A (en) Control method, device and system of electronic whiteboard and computer-readable storage medium
CN111090340A (en) Input method candidate result display method, related equipment and readable storage medium
WO2013084523A1 (en) Display control device, information terminal device, integrated circuit, display control method, program, and recording medium

Legal Events

Date Code Title Description
C06 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