CN114217724A - Method, system and medium for displaying and interacting long list data in TV application - Google Patents

Method, system and medium for displaying and interacting long list data in TV application Download PDF

Info

Publication number
CN114217724A
CN114217724A CN202210133274.2A CN202210133274A CN114217724A CN 114217724 A CN114217724 A CN 114217724A CN 202210133274 A CN202210133274 A CN 202210133274A CN 114217724 A CN114217724 A CN 114217724A
Authority
CN
China
Prior art keywords
display
browser
data
rolling
line
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.)
Granted
Application number
CN202210133274.2A
Other languages
Chinese (zh)
Other versions
CN114217724B (en
Inventor
郑谷川
林昕远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zhixiang Information Technology Co ltd
Original Assignee
Beijing Zhixiang Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zhixiang Information Technology Co ltd filed Critical Beijing Zhixiang Information Technology Co ltd
Priority to CN202210133274.2A priority Critical patent/CN114217724B/en
Publication of CN114217724A publication Critical patent/CN114217724A/en
Application granted granted Critical
Publication of CN114217724B publication Critical patent/CN114217724B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Landscapes

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

Abstract

The invention provides a method, a system and a medium for displaying and interacting long list data in TV application, wherein the method comprises the following steps: setting the arrangement direction of a list in a page according to business requirements, and determining the quantitative rolling direction of the list; when the quantitative rolling direction is rolling according to rows/columns, calculating the total row/column number of the browser page display according to the row/column number which can be displayed on the browser interface and the row/column number which is pre-displayed at the head and the tail, and loading corresponding data to the browser page for display; and when the focus moving direction is consistent with the quantitative rolling direction, performing addition and deletion operation on the data of the current browser page according to the total display line number or the total display column number of the browser page, judging the version of the current browser, and judging whether to execute automatic rolling operation along with the focus moving according to the browser version. The application data interaction method can be compatible with equipment with lower hardware configuration, improves the operation fluency of the application page, and improves the user experience.

Description

Method, system and medium for displaying and interacting long list data in TV application
Technical Field
The invention relates to the technical field of computer software, in particular to a method, a system and a medium for displaying and interacting long list data in TV application.
Background
At present, more and more software applications of televisions exist, the improvement of hardware configuration cannot keep pace with the speed of software development, various problems such as common phenomena of flash back, blockage and the like easily occur in the use process of some applications under the condition of limited hardware resources, and particularly when huge list data needs to be displayed in the applications, the blockage problem of pictures is more obvious in the operation process along with the increase of the data, so that the user experience is influenced.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method, a system and a medium for displaying and interacting long list data in a TV application, solve the problem of unsmooth screen of the current TV application, be compatible with equipment with lower hardware configuration, improve the smoothness of application page operation and improve user experience.
In a first aspect, the present invention provides a method for presenting and interacting long-list data in a TV application, the method comprising:
step S10, setting the arrangement direction of the list in the page according to the service requirement, and determining the quantitative rolling direction;
step S20, when the quantitative scrolling direction is line-based scrolling, calculating the total line number of the browser page display according to the displayable line number and the head and tail pre-display line number of the browser interface, and loading the corresponding data to the browser page for display; when the quantitative rolling direction is rolling according to the columns, calculating the total column number of the browser page display according to the displayable column number and the head and tail pre-displayed column number of the browser interface, and loading corresponding data to the browser page for display;
and step S30, when the focus moving direction is consistent with the quantitative rolling direction, performing addition and deletion operation on the data of the current browser page according to the total display line number or the total display column number of the browser page, and simultaneously judging the version of the current browser, and judging whether to execute automatic rolling operation along with the focus moving according to the browser version.
Further, when the quantitative rolling direction is row-wise rolling, all the acquired row data is whole-row data, and when the quantitative rolling direction is column-wise rolling, all the acquired column data is whole-column data.
Further, the step S20 is specifically:
step 21, when the quantitative rolling direction is line-based rolling, calculating the total number of display lines of a browser page according to the number of displayable lines and the number of pre-displayed lines at the head and the tail of the browser interface, if a new display line in the total number of display lines of the browser page is not acquired into a memory, calling an interface to acquire the data of the new display line for display, prefetching two lines to store into the local, avoiding data acquisition operation during each focus change, and otherwise, directly acquiring the new display line from the memory to the browser page for display;
and step 22, when the quantitative rolling direction is rolling according to columns, calculating the total display column number of the browser page according to the displayable column number and the head and tail pre-display column number of the browser interface, if a newly added display column in the total display column number of the browser page is not acquired into the memory, calling the interface to acquire the data of the newly added display column for display, prefetching two columns for storing into the local, and avoiding performing data acquisition operation every time the focus changes, otherwise, directly acquiring the newly added display column from the memory to the browser page for display.
Further, the number of the head and tail pre-display lines is a fixed number of upward pre-display lines and a fixed number of downward pre-display lines of the current browser interface, the fixed number of the lines and the fixed number of the lines are defined by a user,
when the number of the fixed rows or the fixed columns is not enough to be obtained for displaying, only the currently obtained data rows or data columns are obtained as the new display rows or the new display columns.
Further, the step of "determining the current browser version and determining whether to execute the automatic scrolling operation along with the movement of the focus according to the browser version" specifically includes: judging the current browser version, if the browser is an automatic rolling browser, only updating data and not executing rolling operation when the focus moves, and if the browser is a non-automatic rolling browser, updating data and executing rolling operation when the focus moves.
In a second aspect, the present invention provides a presentation and interaction system for long list data in a TV application, the system comprising:
the layout setting module is used for setting the arrangement direction of the list in the page according to the business requirement and determining the quantitative rolling direction of the list;
the data display module is used for calculating the total display line number of the browser page according to the displayable line number and the head and tail pre-display line number of the browser interface and loading corresponding data to the browser page for display when the quantitative rolling direction is line-based rolling; when the quantitative rolling direction is rolling according to the columns, calculating the total column number of the browser page display according to the displayable column number and the head and tail pre-displayed column number of the browser interface, and loading corresponding data to the browser page for display; and
and the focus changing module is used for performing addition and deletion operation on the data of the current browser page according to the total display line number or the total display column number of the browser page when the focus moving direction is consistent with the quantitative rolling direction, judging the version of the current browser, and judging whether to execute automatic rolling operation along with the focus moving according to the browser version.
Further, when the quantitative rolling direction is row-wise rolling, all the acquired row data is whole-row data, and when the quantitative rolling direction is column-wise rolling, all the acquired column data is whole-column data.
Further, the data display module specifically includes:
when the quantitative rolling direction is line-based rolling, calculating the total display line number of a browser page according to the displayable line number and the head and tail pre-display line number of the browser interface, if a new display line in the total display line number of the browser page is not acquired into a memory, calling an interface to acquire the newly-added display line data for display, prefetching two lines and storing the two lines into the local area, and avoiding data acquisition operation during each focus change, otherwise, directly acquiring the newly-added display line from the memory to the browser page for display;
when the quantitative rolling direction is rolling according to rows, calculating the total row number of the browser page display according to the displayable row number and the head and tail pre-display row number of the browser interface, if a new display row in the total row number of the browser page display is not acquired into the memory, calling an interface to acquire data of the new display row for display, prefetching two rows to store into the local, avoiding data acquisition operation during each focus change, and otherwise, directly acquiring the new display row from the memory to the browser page for display.
Further, the number of the head and tail pre-display lines is a fixed number of upward pre-display lines and a fixed number of downward pre-display lines of the current browser interface, the fixed number of the lines and the fixed number of the lines are defined by a user,
when the number of the fixed rows or the fixed columns is not enough to be obtained for displaying, only the currently obtained data rows or data columns are obtained as the new display rows or the new display columns.
Further, the step of "determining the current browser version and determining whether to execute the automatic scrolling operation along with the movement of the focus according to the browser version" specifically includes:
judging the current browser version, if the browser is an automatic rolling browser, only updating data and not executing rolling operation when the focus moves, and if the browser is a non-automatic rolling browser, updating data and executing rolling operation when the focus moves.
In a third aspect, the invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the method of the first aspect.
One or more technical schemes provided by the invention at least have the following technical effects or advantages:
the method comprises the steps of setting a quantitative rolling direction according to page arrangement, calculating data to be displayed in the next frame when a focus changes, comparing the data with current data, updating different parts according to a comparison result, simultaneously calculating the rolling state of a current list, and updating and rolling page elements to corresponding positions in the next frame of a page.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
Fig. 1 is a flow chart of a method of presentation and interaction of long list data in a TV application of the present invention.
Fig. 2 is a system block diagram of a presentation and interaction system for long list data in a TV application of the present invention.
Fig. 3 is a schematic structural diagram of a medium according to a third embodiment of the present invention.
FIG. 4 is a diagram illustrating a focus movement and data line scrolling interface when the quantitative scrolling direction is line scrolling according to an embodiment of the present invention.
FIG. 5 is a second schematic diagram of the interface between the focus movement and the data line scrolling when the quantitative scrolling direction is line scrolling according to an embodiment of the present invention.
Detailed Description
The embodiment of the application provides a method, a system and a medium for displaying and interacting long list data in TV application, which are used for solving the problems that the configuration heights of the existing TV set are different, the pictures are seriously blocked when some applications are used on some equipment, and the user experience is poor. According to the invention, the data loading amount and the data updating amount are minimized by setting a set of quantitative rolling data mode, so that equipment with lower resource configuration can be operated and applied smoothly, the popularization of application is facilitated, and the user experience is improved.
For better understanding of the above technical solutions, the following detailed descriptions will be provided in conjunction with the drawings and the detailed description of the embodiments.
Example one
The invention provides a method for displaying and interacting long list data in a TV application, which comprises the following steps of:
step S10, setting the arrangement direction of the list in the page according to the service requirement, and determining the quantitative rolling direction;
step S20, when the quantitative scrolling direction is line-based scrolling, calculating the total line number of the browser page display according to the displayable line number and the head and tail pre-display line number of the browser interface, and loading the corresponding data to the browser page for display; when the quantitative rolling direction is rolling according to the columns, calculating the total column number of the browser page display according to the displayable column number and the head and tail pre-displayed column number of the browser interface, and loading corresponding data to the browser page for display;
step S30, when the focus moving direction is consistent with the quantitative scrolling direction, for example, when the focus moving direction is uplink and downlink moving and the quantitative scrolling direction is also set to be line scrolling, that is, the directions of the focus moving direction and the quantitative scrolling direction are consistent, performing add-delete operation on the current browser page data according to the total number of lines or total number of columns displayed on the browser page, and simultaneously determining the current browser version, and determining whether to perform automatic scrolling operation along with the focus moving according to the browser version.
Preferably, when the quantitative rolling direction is row-wise rolling, all the acquired row data is whole-row data, and when the quantitative rolling direction is column-wise rolling, all the acquired column data is whole-column data.
Preferably, the step S20 specifically includes:
step 21, when the quantitative rolling direction is line-based rolling, calculating the total number of display lines of a browser page according to the number of displayable lines and the number of pre-displayed lines at the head and the tail of the browser interface, if a new display line in the total number of display lines of the browser page is not acquired into a memory, calling an interface to acquire the data of the new display line for display, prefetching two lines to store into the local, avoiding data acquisition operation during each focus change, and otherwise, directly acquiring the new display line from the memory to the browser page for display;
and step 22, when the quantitative rolling direction is rolling according to columns, calculating the total display column number of the browser page according to the displayable column number and the head and tail pre-display column number of the browser interface, if a newly added display column in the total display column number of the browser page is not acquired into the memory, calling the interface to acquire the data of the newly added display column for display, prefetching two columns for storing into the local, and avoiding performing data acquisition operation every time the focus changes, otherwise, directly acquiring the newly added display column from the memory to the browser page for display.
Preferably, the number of the head and tail pre-display lines is a fixed number of upward pre-display lines and a fixed number of downward pre-display lines of the current browser interface, the fixed number of the lines and the fixed number of the lines are user-defined,
when the number of the fixed rows or the fixed columns is not enough to be obtained for displaying, only the currently obtained data rows or data columns are obtained as the new display rows or the new display columns.
Preferably, the step of "determining the current browser version and determining whether to execute the automatic scrolling operation along with the movement of the focus according to the browser version" includes: judging the current browser version, if the browser is an automatic rolling browser, only updating data and not executing rolling operation when the focus moves, and if the browser is a non-automatic rolling browser, updating data and executing rolling operation when the focus moves.
For example, in one embodiment, there is a longer list, the quantitative scrolling direction is scrolling by rows, and an interface a is provided, where the interface a can display two rows of data (which can be customized as needed) and each row of data displays 5 items (which can be customized as needed), and if the pre-displayed fixed row number is 2 (which can be customized as needed), then the total display row number stored in the browser B is 6:
as shown in fig. 4, at a certain time, assuming that the row 2 is the row where the current focus C is located, the following steps are performed:
a1, obtaining a pre-display fixed line number 2 upwards in the browser interface a, but only line 1 exists in front of the browser interface a, so that the fixed line number cannot be obtained upwards, obtaining the pre-display fixed line number 2 downwards, and obtaining that data currently required to be displayed in the browser B is line 1- > line 4, because the required line number cannot be obtained upwards at the top end of the data, only 4 lines can be pre-displayed at the time, namely the required line number is less than a preset total display line number 6, where the pre-display 4 lines refer to data stored in the browser B, and only two lines are data displayed in the browser interface a;
a2, when the focus changes, calculating the line of the current focus, if the line changes, executing the step a3, otherwise, ending;
a3, if the line where the focus is located is changed to 3, calculating the display line 1- > line 5 required by the current browser, and comparing the display line data change in the known browser B: a new increment 5;
a4, judging whether the data of the row 5 is acquired in the memory, if not, calling an interface to acquire the data of the rows 5-7 and storing the data into the memory, wherein the two rows are prefetched to prevent the operation of acquiring new data from being performed once every row change, otherwise, the data of the row 5 is directly acquired from the memory;
a5, insert line 5 into browser B to display, scroll the list down one line, and end.
As shown in fig. 5, at another time, assuming that the row 6 is the row where the current focus point C is located, the following steps are performed:
b1, acquiring a pre-display fixed line number 2 upwards in the browser interface A, and acquiring a pre-display fixed line number 2 downwards, wherein the data to be displayed in the browser B is line 4- > line 9 at present, and the browser B displays a total line number 6, wherein two lines are displayed in the browser interface A;
b2, when the focus changes, calculating the line of the current focus, if the line changes, executing the step b3, otherwise, ending;
b3, if the line where the focus C is located is line 7, calculating the line 5- > line 10 of the display line required by the current browser B, and comparing the display line data change in the browser B: add new row 10, delete row 4; deleting line 4 here refers to deleting line 4 in the browser, and the data of line 4 is still reserved in the memory for subsequent use;
b4, judging whether the data of the line 10 is acquired in the memory, if not, calling an interface to acquire the data of the lines 10-12 and storing the data into the memory, wherein the two lines are prefetched to prevent the operation of acquiring new data from being performed every time the lines change, otherwise, the data of the line 10 is directly acquired from the memory;
b5, remove line 4 from browser B while inserting line 10; the data stored in the browser B is still 6 lines, and only two lines of data are always displayed in the browser interface A;
b6, judging the current browser version, wherein different browsers have two behaviors, because the new data and the old data are the same in 6 rows, the browser can keep the rolling state of the current list in one case, at the moment, the list is rolled downwards by one row, and the rolling is finished, and in the other case, the browser can automatically roll downwards by one row, at the moment, the list is not actively rolled, and the process is finished directly.
Based on the same inventive concept, the application also provides a device corresponding to the method in the first embodiment, which is detailed in the second embodiment.
Example two
The present embodiment provides a system for displaying and interacting long list data in TV application, as shown in fig. 2, the system includes:
the layout setting module is used for setting the arrangement direction of the list in the page according to the business requirement and determining the quantitative rolling direction of the list;
the data display module is used for calculating the total display line number of the browser page according to the displayable line number and the head and tail pre-display line number of the browser interface and loading corresponding data to the browser page for display when the quantitative rolling direction is line-based rolling; when the quantitative rolling direction is rolling according to the columns, calculating the total column number of the browser page display according to the displayable column number and the head and tail pre-displayed column number of the browser interface, and loading corresponding data to the browser page for display; and
and the focus changing module is used for performing adding and deleting operation on the data of the current browser page according to the total display line number or the total display column number of the browser page, judging the version of the current browser, and judging whether to execute automatic rolling operation along with the movement of the focus according to the version of the browser.
Preferably, when the quantitative rolling direction is row-wise rolling, all the acquired row data is whole-row data, and when the quantitative rolling direction is column-wise rolling, all the acquired column data is whole-column data.
Preferably, the data display module specifically includes:
when the quantitative rolling direction is line-based rolling, calculating the total display line number of a browser page according to the displayable line number and the head and tail pre-display line number of the browser interface, if a new display line in the total display line number of the browser page is not acquired into a memory, calling an interface to acquire the newly-added display line data for display, prefetching two lines and storing the two lines into the local area, and avoiding data acquisition operation during each focus change, otherwise, directly acquiring the newly-added display line from the memory to the browser page for display;
when the quantitative rolling direction is rolling according to rows, calculating the total row number of the browser page display according to the displayable row number and the head and tail pre-display row number of the browser interface, if a new display row in the total row number of the browser page display is not acquired into the memory, calling an interface to acquire data of the new display row for display, prefetching two rows to store into the local, avoiding data acquisition operation during each focus change, and otherwise, directly acquiring the new display row from the memory to the browser page for display.
Preferably, the number of the head and tail pre-display lines is a fixed number of upward pre-display lines and a fixed number of downward pre-display lines of the current browser interface, the fixed number of the lines and the fixed number of the lines are user-defined,
when the number of the fixed rows or the fixed columns is not enough to be obtained for displaying, only the currently obtained data rows or data columns are obtained as the new display rows or the new display columns.
Preferably, the step of "determining the current browser version and determining whether to execute the automatic scrolling operation along with the movement of the focus according to the browser version" includes:
judging the current browser version, if the browser is an automatic rolling browser, only updating data and not executing rolling operation when the focus moves, and if the browser is a non-automatic rolling browser, updating data and executing rolling operation when the focus moves.
For example, in one embodiment, there is a longer list, the quantitative scrolling direction is scrolling by rows, and an interface a is provided, where the interface a can display two rows of data (which can be customized as needed) and each row of data displays 5 items (which can be customized as needed), and if the pre-displayed fixed row number is 2 (which can be customized as needed), then the total display row number stored in the browser B is 6:
as shown in fig. 4, at a certain time, assuming that the row 2 is the row where the current focus C is located, the following steps are performed:
a1, obtaining a pre-display fixed line number 2 upwards in the browser interface a, but only line 1 exists in front of the browser interface a, so that the fixed line number cannot be obtained upwards, obtaining the pre-display fixed line number 2 downwards, and obtaining that data currently required to be displayed in the browser B is line 1- > line 4, because the required line number cannot be obtained upwards at the top end of the data, only 4 lines can be pre-displayed at the time, namely the required line number is less than a preset total display line number 6, where the pre-display 4 lines refer to data stored in the browser B, and only two lines are data displayed in the browser interface a;
a2, when the focus changes, calculating the line of the current focus, if the line changes, executing the step a3, otherwise, ending;
a3, if the line where the focus is located is changed to 3, calculating the display line 1- > line 5 required by the current browser, and comparing the display line data change in the known browser B: a new increment 5;
a4, judging whether the data of the row 5 is acquired in the memory, if not, calling an interface to acquire the data of the rows 5-7 and storing the data into the memory, wherein the two rows are prefetched to prevent the operation of acquiring new data from being performed once every row change, otherwise, the data of the row 5 is directly acquired from the memory;
a5, insert line 5 into browser B to display, scroll the list down one line, and end.
As shown in fig. 5, at another time, assuming that the row 6 is the row where the current focus point C is located, the following steps are performed:
b1, acquiring a pre-display fixed line number 2 upwards in the browser interface A, and acquiring a pre-display fixed line number 2 downwards, wherein the data to be displayed in the browser B is line 4- > line 9 at present, and the browser B displays a total line number 6, wherein two lines are displayed in the browser interface A;
b2, when the focus changes, calculating the line of the current focus, if the line changes, executing the step b3, otherwise, ending;
b3, if the line where the focus C is located is line 7, calculating the line 5- > line 10 of the display line required by the current browser B, and comparing the display line data change in the browser B: add new row 10, delete row 4; deleting line 4 here refers to deleting line 4 in the browser, and the data of line 4 is still reserved in the memory for subsequent use;
b4, judging whether the data of the line 10 is acquired in the memory, if not, calling an interface to acquire the data of the lines 10-12 and storing the data into the memory, wherein the two lines are prefetched to prevent the operation of acquiring new data from being performed every time the lines change, otherwise, the data of the line 10 is directly acquired from the memory;
b5, remove line 4 from browser B while inserting line 10; the data stored in the browser B is still 6 lines, and only two lines of data are always displayed in the browser interface A;
b6, judging the current browser version, wherein different browsers have two behaviors, because the new data and the old data are the same in 6 rows, the browser can keep the rolling state of the current list in one case, at the moment, the list is rolled downwards by one row, and the rolling is finished, and in the other case, the browser can automatically roll downwards by one row, at the moment, the list is not actively rolled, and the process is finished directly.
Based on the same inventive concept, the application provides a storage medium corresponding to the third embodiment.
EXAMPLE III
The present embodiment provides a computer-readable storage medium, as shown in fig. 3, on which a computer program is stored, and when the computer program is executed by a processor, any one of the embodiments can be implemented.
One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages: setting page arrangement modes according to user requirements, setting quantitative rolling directions according to the arrangement modes, calculating data required to be displayed by a next frame of browser when a focus is changed, comparing the data with current data, updating data only on different parts in the browser according to a comparison result, realizing quantitative data display (such as 6 rows/6 columns and the like which can be decided according to specific conditions), simultaneously calculating the rolling state of a current list, updating page elements and rolling to corresponding positions when the page is next frame, reducing the page display data of the browser every time, the data updated by the page every time and the operation times of reading the data to the least possible, even if the list data is overlarge, because the data more than the browser interface data is displayed on the browser page every time, the occupation of equipment resources is less, the method and the device effectively avoid the phenomenon of focus movement pause, dynamically pre-display, pre-fetch and maintain the current display data during each conversion, and enable a user not to perceive that only part of data is actually on the page.
Although specific embodiments of the invention have been described above, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, and that equivalent modifications and variations can be made by those skilled in the art without departing from the spirit of the invention, which is to be limited only by the appended claims.

Claims (10)

1. A method for displaying and interacting long list data in TV application is characterized in that: the method comprises the following steps:
step S10, setting the arrangement direction of the list in the page according to the service requirement, and determining the quantitative rolling direction;
step S20, when the quantitative scrolling direction is line-based scrolling, calculating the total line number of the browser page display according to the displayable line number and the head and tail pre-display line number of the browser interface, and loading the corresponding data to the browser page for display; when the quantitative rolling direction is rolling according to the columns, calculating the total column number of the browser page display according to the displayable column number and the head and tail pre-displayed column number of the browser interface, and loading corresponding data to the browser page for display;
and step S30, when the focus moving direction is consistent with the quantitative rolling direction, performing addition and deletion operation on the data of the current browser page according to the total display line number or the total display column number of the browser page, and simultaneously judging the version of the current browser, and judging whether to execute automatic rolling operation along with the focus moving according to the browser version.
2. A method for presentation and interaction of long list data in a TV application as claimed in claim 1, characterized in that: the step S20 specifically includes:
step 21, when the quantitative rolling direction is line-based rolling, calculating the total number of display lines of a browser page according to the number of displayable lines and the number of pre-displayed lines at the head and the tail of the browser interface, if a new display line in the total number of display lines of the browser page is not acquired into a memory, calling an interface to acquire the data of the new display line for display, prefetching two lines to store into the local, avoiding data acquisition operation during each focus change, and otherwise, directly acquiring the new display line from the memory to the browser page for display;
and step 22, when the quantitative rolling direction is rolling according to columns, calculating the total display column number of the browser page according to the displayable column number and the head and tail pre-display column number of the browser interface, if a newly added display column in the total display column number of the browser page is not acquired into the memory, calling the interface to acquire the data of the newly added display column for display, prefetching two columns for storing into the local, and avoiding performing data acquisition operation every time the focus changes, otherwise, directly acquiring the newly added display column from the memory to the browser page for display.
3. A method for presentation and interaction of long list data in a TV application as claimed in claim 1, characterized in that: the number of the head and tail pre-display lines is a fixed number of upward pre-display lines and a fixed number of downward pre-display lines of the current browser interface, the fixed number of the lines and the fixed number of the lines are defined by a user,
when the number of the fixed rows or the fixed columns is not enough to be obtained for displaying, only the currently obtained data rows or data columns are obtained as the new display rows or the new display columns.
4. A method for presentation and interaction of long list data in a TV application as claimed in claim 1, characterized in that: when the quantitative rolling direction is rolling according to rows, all the acquired row data are whole row data, and when the quantitative rolling direction is rolling according to columns, all the acquired column data are whole column data.
5. A method for presentation and interaction of long list data in a TV application as claimed in claim 1, characterized in that: the step of judging the current browser version and judging whether to execute the automatic scrolling operation along with the movement of the focus according to the browser version specifically comprises the following steps:
judging the current browser version, if the browser is an automatic rolling browser, only updating data and not executing rolling operation when the focus moves, and if the browser is a non-automatic rolling browser, updating data and executing rolling operation when the focus moves.
6. A system for presentation and interaction of long list data in a TV application, characterized by: the system comprises:
the layout setting module is used for setting the arrangement direction of the list in the page according to the business requirement and determining the quantitative rolling direction of the list;
the data display module is used for calculating the total display line number of the browser page according to the displayable line number and the head and tail pre-display line number of the browser interface and loading corresponding data to the browser page for display when the quantitative rolling direction is line-based rolling; when the quantitative rolling direction is rolling according to the columns, calculating the total column number of the browser page display according to the displayable column number and the head and tail pre-displayed column number of the browser interface, and loading corresponding data to the browser page for display; and
and the focus changing module is used for performing addition and deletion operation on the data of the current browser page according to the total display line number or the total display column number of the browser page when the focus moving direction is consistent with the quantitative rolling direction, judging the version of the current browser, and judging whether to execute automatic rolling operation along with the focus moving according to the browser version.
7. A presentation and interaction system for long lists of data in a TV application as claimed in claim 6, characterized in that: the data display module specifically comprises:
when the quantitative rolling direction is line-based rolling, calculating the total display line number of a browser page according to the displayable line number and the head and tail pre-display line number of the browser interface, if a new display line in the total display line number of the browser page is not acquired into a memory, calling an interface to acquire the newly-added display line data for display, prefetching two lines and storing the two lines into the local area, and avoiding data acquisition operation during each focus change, otherwise, directly acquiring the newly-added display line from the memory to the browser page for display;
when the quantitative rolling direction is rolling according to rows, calculating the total row number of the browser page display according to the displayable row number and the head and tail pre-display row number of the browser interface, if a new display row in the total row number of the browser page display is not acquired into the memory, calling an interface to acquire data of the new display row for display, prefetching two rows to store into the local, avoiding data acquisition operation during each focus change, and otherwise, directly acquiring the new display row from the memory to the browser page for display.
8. A presentation and interaction system for long lists of data in a TV application as claimed in claim 6, characterized in that: the number of the head and tail pre-display lines is a fixed number of upward pre-display lines and a fixed number of downward pre-display lines of the current browser interface, the fixed number of the lines and the fixed number of the lines are defined by a user,
when the number of the fixed rows or the fixed columns is not enough to be obtained for displaying, only the currently obtained data rows or data columns are obtained as the new display rows or the new display columns.
9. A presentation and interaction system for long lists of data in a TV application as claimed in claim 6, characterized in that: the step of judging the current browser version and judging whether to execute the automatic scrolling operation along with the movement of the focus according to the browser version specifically comprises the following steps:
judging the current browser version, if the browser is an automatic rolling browser, only updating data and not executing rolling operation when the focus moves, and if the browser is a non-automatic rolling browser, updating data and executing rolling operation when the focus moves.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 5.
CN202210133274.2A 2022-02-14 2022-02-14 Method, system and medium for displaying and interacting long list data in TV application Active CN114217724B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210133274.2A CN114217724B (en) 2022-02-14 2022-02-14 Method, system and medium for displaying and interacting long list data in TV application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210133274.2A CN114217724B (en) 2022-02-14 2022-02-14 Method, system and medium for displaying and interacting long list data in TV application

Publications (2)

Publication Number Publication Date
CN114217724A true CN114217724A (en) 2022-03-22
CN114217724B CN114217724B (en) 2022-07-05

Family

ID=80709131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210133274.2A Active CN114217724B (en) 2022-02-14 2022-02-14 Method, system and medium for displaying and interacting long list data in TV application

Country Status (1)

Country Link
CN (1) CN114217724B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101884023A (en) * 2007-12-05 2010-11-10 夏普株式会社 Display device and display packing
KR20140035183A (en) * 2012-09-13 2014-03-21 엘지전자 주식회사 Mobile terminal and control method thereof
CN106572381A (en) * 2016-11-07 2017-04-19 青岛海信电器股份有限公司 Processing method of photo thumbnail and intelligent television
US9769030B1 (en) * 2013-02-11 2017-09-19 Amazon Technologies, Inc. Page prefetching
US20200104092A1 (en) * 2018-10-02 2020-04-02 Bublup, Inc. Group Slideshow
CN111428167A (en) * 2020-03-05 2020-07-17 广州亚美信息科技有限公司 Page display method and device
CN112272329A (en) * 2020-10-28 2021-01-26 海看网络科技(山东)股份有限公司 Method for accelerating display speed of android list
CN112541140A (en) * 2019-09-23 2021-03-23 北京国双科技有限公司 List loading method, terminal device, electronic device and storage medium
CN114025212A (en) * 2021-11-03 2022-02-08 青岛聚看云科技有限公司 Server and page data issuing method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101884023A (en) * 2007-12-05 2010-11-10 夏普株式会社 Display device and display packing
KR20140035183A (en) * 2012-09-13 2014-03-21 엘지전자 주식회사 Mobile terminal and control method thereof
US9769030B1 (en) * 2013-02-11 2017-09-19 Amazon Technologies, Inc. Page prefetching
US10560344B1 (en) * 2013-02-11 2020-02-11 Amazon Technologies, Inc. Page prefetching
CN106572381A (en) * 2016-11-07 2017-04-19 青岛海信电器股份有限公司 Processing method of photo thumbnail and intelligent television
US20200104092A1 (en) * 2018-10-02 2020-04-02 Bublup, Inc. Group Slideshow
CN112541140A (en) * 2019-09-23 2021-03-23 北京国双科技有限公司 List loading method, terminal device, electronic device and storage medium
CN111428167A (en) * 2020-03-05 2020-07-17 广州亚美信息科技有限公司 Page display method and device
CN112272329A (en) * 2020-10-28 2021-01-26 海看网络科技(山东)股份有限公司 Method for accelerating display speed of android list
CN114025212A (en) * 2021-11-03 2022-02-08 青岛聚看云科技有限公司 Server and page data issuing method

Also Published As

Publication number Publication date
CN114217724B (en) 2022-07-05

Similar Documents

Publication Publication Date Title
US20180373804A1 (en) Method and device for loading information stream page
US9563327B1 (en) Intelligent adjustment of graphical user interfaces
US20070101289A1 (en) Maximizing window display area using window flowing
CN100412868C (en) Method for optimizing embedded browser page display effect
EP1914640A1 (en) Multiple screen size render-engine
US20130339898A1 (en) Slideshow display of images for user-defined groups of applications
CN105808110B (en) Table display method and display device
CN105389372A (en) Page display method and apparatus
CN102511169B (en) Video reproduction apparatus, and control method thereof
CN109614195B (en) Method, device and equipment for preloading list items and storage medium
CN112866815B (en) Video display method, device and storage medium
CN114071047A (en) Frame rate control method and related device
CN113687745A (en) Interface display method, system and terminal of split screen window
JP5563703B2 (en) Content distribution apparatus, content distribution method, content distribution program, and terminal program
CN114217724B (en) Method, system and medium for displaying and interacting long list data in TV application
CN109800039B (en) User interface display method and device, electronic equipment and storage medium
CN106708495B (en) Page display method and device based on mobile terminal
CN102736901A (en) Implementation method for WinCE platform self-defining desktop
CN102436369B (en) Method and device for displaying data
JP6339550B2 (en) Terminal program, terminal device, and terminal control method
CN113268194B (en) Split screen control interaction method and device based on mobile equipment and storage medium
CN110244895B (en) Method and device for controlling banner position of input method, mobile terminal and storage medium
CN113656020A (en) Reactnative-based picture display component development method and related components
US10628629B2 (en) Method, device, and client terminal apparatus for displaying page
CN112286603A (en) Table display method and device, electronic equipment and storage medium

Legal Events

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