CN111580732A - Page content display method and device, electronic equipment and computer storage medium - Google Patents

Page content display method and device, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN111580732A
CN111580732A CN202010372228.9A CN202010372228A CN111580732A CN 111580732 A CN111580732 A CN 111580732A CN 202010372228 A CN202010372228 A CN 202010372228A CN 111580732 A CN111580732 A CN 111580732A
Authority
CN
China
Prior art keywords
sliding
current display
page
current
block
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.)
Pending
Application number
CN202010372228.9A
Other languages
Chinese (zh)
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 QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202010372228.9A priority Critical patent/CN111580732A/en
Publication of CN111580732A publication Critical patent/CN111580732A/en
Pending legal-status Critical Current

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/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/74Browsing; Visualisation therefor
    • 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/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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

Landscapes

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

Abstract

The embodiment of the invention provides a page content display method, a page content display device, electronic equipment and a computer storage medium, wherein the method comprises the following steps: receiving a sliding instruction of a user for a current display page, wherein a current display block is displayed in the current display page and is used for displaying video content; and sliding the current display block in the current display page according to a sliding amount preset by a user, wherein the sliding amount is used for representing the sliding distance of the current display block. The embodiment of the invention can enable the user to customize the sliding amount of the display page according to the self requirement.

Description

Page content display method and device, electronic equipment and computer storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method and an apparatus for displaying page content, an electronic device, and a computer storage medium.
Background
In a video APP (Application), a plurality of presentation pages are usually included, where each presentation page may be, for example, a channel page, each presentation page includes a plurality of presentation blocks, each presentation block is presented in the presentation page according to a certain rule, and each presentation block presents different video contents, for example, some presentation blocks present movie contents, some presentation blocks present short video contents, some presentation blocks present tv show contents, and the like.
In the prior art, the display blocks in each display page are usually and fixedly displayed according to a certain ordering rule, for example, each display block is displayed in a classified manner, a hot play, or a recommended video is usually displayed on a first page of each display page, that is, after a user opens a certain display page, the display blocks can be seen, and the remaining display blocks in the display page are displayed in a classified manner according to the types of dramas, movies, and art programs. When the user wants to browse all the display blocks in the display page, the user needs to slide upwards or downwards in the display page by using a finger, and the display blocks in the display page slide along with the finger. Therefore, the terminal slides the display page after receiving the sliding instruction of the user, and the terminal may need to receive the sliding instruction multiple times and slide the display page multiple times to slide the display block of interest to the user into the display area, for example, to display the display block of interest to the user on the screen.
The inventor finds that the prior art at least has the following problems in the process of implementing the invention:
in the prior art, the terminal usually slides the display page after receiving the sliding instruction of the user, and the display page needs to be slid for multiple times to slide the display block in which the user is interested in the display area, so that the method in the prior art cannot enable the user to customize the sliding amount of the display page according to the self requirement, and further causes poor user experience.
Disclosure of Invention
The embodiment of the invention aims to provide a page content display method, a page content display device, electronic equipment and a computer storage medium, so that a user can customize the sliding amount of a displayed page according to the self requirement. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a method for displaying page content, where the method includes:
receiving a sliding instruction of a user for a current display page, wherein a current display block is displayed in the current display page and is used for displaying video content;
and sliding the current display block in the current display page according to a sliding amount preset by a user, wherein the sliding amount is used for representing the sliding distance of the current display block.
Optionally, the step of sliding the current display block in the current display page according to a sliding amount preset by a user includes:
sliding the current display block out of the current display page according to a sliding amount preset by a user;
and sliding a new display block into the current display page, wherein the display content of the new display block is different from that of the current display block.
Optionally, the step of sliding the current display block in the current display page according to a sliding amount preset by a user includes:
acquiring the size of a new display block which is not displayed in the current display page;
calculating the size sum of the current number of new display blocks, wherein the new display block positioned at the head of the current number of new display blocks is adjacent to the current display block positioned at the tail of the current display page;
judging whether the sum of the sizes is larger than or equal to the sliding amount;
if the sum of the sizes is larger than or equal to the sliding amount, sliding a new display block located at the last position in the current number of new display blocks to a position where the current display block located at the last position in the current display page is located;
if the sum of the sizes is less than the sliding amount, adding one to the current number, and performing the step of calculating the sum of the sizes of the current number of new display blocks.
Optionally, before the sliding the current display block in the current display page by a sliding amount preset by a user, the method further includes:
and acquiring the slide quantity aiming at the current display page input by the user in the current display page, wherein the change range of the slide quantity is displayed in the current display page.
Optionally, the step of obtaining a sliding amount of the current presentation page input by the user in the current presentation page includes:
acquiring a horizontal sliding amount or a vertical sliding amount which is input in a current display page by a user and aims at a current display block;
the step of sliding the current display block in the current display page according to a sliding amount preset by a user includes:
and sliding the current display block in the current display page transversely or vertically.
Optionally, the step of sliding the new display block into the current display page includes:
judging whether the new display block is a preset display block or not, wherein the preset display block is used for displaying preset content;
if so, sliding the new display block into the current display page;
and if not, sliding the preset display block into the current display page.
Optionally, a function option is set in the current display page; before the step of sliding the current display block in the current display page by a sliding amount preset by a user, the method further includes:
acquiring the duration of the continuous operation of the function options by the user;
determining the sliding times of the current display block by using the time length and the corresponding relation between the pre-stored time length and the sliding times;
the step of sliding the current display block in the current display page according to a sliding amount preset by a user comprises the following steps:
and sliding the current display block in the current display page for multiple times by using the sliding times of the current display block.
In a second aspect, an embodiment of the present invention provides a device for displaying page content, where the device includes:
the display device comprises a receiving module, a display module and a display module, wherein the receiving module is used for receiving a sliding instruction of a user for a current display page, a current display block is displayed in the current display page, and the display block is used for displaying video content;
and the sliding module is used for sliding the current display block in the current display page according to a sliding amount preset by a user, wherein the sliding amount is used for representing the sliding distance of the current display block.
Optionally, the sliding module comprises:
the sliding-out submodule is used for sliding out the current display block from the current display page according to a sliding amount preset by a user;
and the sliding-in submodule is used for sliding a new display block into the current display page, wherein the display content of the new display block is different from that of the current display block.
Optionally, the sliding module comprises:
the obtaining submodule is used for obtaining the size of a new display block which is not displayed in the current display page;
the calculation submodule is used for calculating the size sum of the current number of new display blocks, wherein the new display block positioned at the head of the current number of new display blocks is adjacent to the current display block positioned at the tail of the current display page;
the judgment submodule is used for judging whether the sum of the sizes is larger than or equal to the sliding amount or not;
the sliding submodule is used for sliding a new display block located at the last position in the current number of new display blocks to the position of the current display block located at the last position in the current display page if the sum of the sizes is larger than or equal to the sliding amount;
and the triggering submodule is used for adding one to the current number and triggering the calculating submodule to execute the step of calculating the sum of the sizes of the current number of new display blocks if the sum of the sizes is smaller than the sliding amount.
Optionally, the apparatus further comprises:
the first obtaining module is used for obtaining the sliding quantity of the current display page input by a user in the current display page, and the change range of the sliding quantity is displayed in the current display page.
Optionally, the first obtaining module is specifically configured to:
acquiring a horizontal sliding amount or a vertical sliding amount which is input in a current display page by a user and aims at a current display block;
the sliding module is specifically configured to:
and sliding the current display block in the current display page transversely or vertically.
Optionally, the slide-in submodule comprises:
the judging unit is used for judging whether the new display block is a preset display block or not, and the preset display block is used for displaying preset content;
a first sliding-in unit, configured to slide the new display block into the current display page if the current display page is the current display page;
and the second sliding-in unit is used for sliding the preset display block into the current display page if the current display page is not the current display page.
Optionally, a function option is set in the current display page; the device further comprises:
the second acquisition module is used for acquiring the duration of the continuous operation of the function options by the user;
the determining module is used for determining the sliding times of the current display block by using the time length and the corresponding relation between the pre-stored time length and the sliding times;
the sliding module is specifically configured to:
and sliding the current display block in the current display page for multiple times by using the sliding times of the current display block.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor and the communication interface complete communication between the memory and the processor through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the method steps of any page content display method when executing the program stored in the memory.
In a fourth aspect, the present invention further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of any one of the page content presentation methods described above.
In a fifth aspect, an embodiment of the present invention further provides a computer program product containing instructions, which when run on a computer, causes the computer to perform the method steps of any of the above page content presentation methods.
The embodiment of the invention has the following beneficial effects:
according to the page content display method, the page content display device, the electronic equipment and the computer storage medium, the user terminal receives the sliding instruction of the user for the current display page, the current display block is displayed in the current display page, and the display block is used for displaying video content; and sliding the current display block in the current display page according to the sliding amount preset by the user. In the embodiment of the invention, the user can set the sliding amount according to the self requirement, and the user terminal can slide the current display block in the current display page according to the preset sliding amount.
Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a page content display method according to an embodiment of the present invention;
fig. 2a is a schematic flowchart of S120 in the page content display method according to the embodiment of the present invention;
FIG. 2b is a schematic diagram of a current display page according to an embodiment of the present invention;
FIG. 2c is a schematic diagram of another currently displayed page according to an embodiment of the present invention;
fig. 3 is another schematic flow chart of S120 in the page content display method according to the embodiment of the present invention;
fig. 4 is a schematic flowchart of another page content display method according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a structure of a dialog box according to an embodiment of the present invention;
fig. 6 is a schematic flowchart of S122 in the page displaying method according to the embodiment of the present invention;
fig. 7 is a schematic flowchart of another page content display method according to an embodiment of the present invention;
fig. 8 is a schematic flowchart of a page content display method according to another embodiment of the present invention;
fig. 9 is a schematic flowchart of a page content display method according to another embodiment of the present invention;
FIG. 10 is a schematic structural diagram of a page content display apparatus according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a sliding module according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of another sliding module according to an embodiment of the present invention;
FIG. 13 is a schematic structural diagram of another page content display apparatus according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of a slide-in submodule according to an embodiment of the present invention;
FIG. 15 is a schematic structural diagram of a page content display apparatus according to another embodiment of the present invention;
fig. 16 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the prior art, the display blocks in each display page are usually and fixedly displayed according to a certain ordering rule, for example, each display block is displayed in a classified manner, a hot play, or a recommended video is usually displayed on a first page of each display page, that is, after a user opens a certain display page, the display blocks can be seen, and the remaining display blocks in the display page are displayed in a classified manner according to the types of dramas, movies, and art programs. When the user wants to browse all the display blocks in the display page, the user needs to slide upwards or downwards in the display page by using a finger, and the display blocks in the display page slide along with the finger. Therefore, the terminal slides the display page after receiving the sliding instruction of the user, and the terminal may need to receive the sliding instruction multiple times and slide the display page multiple times to slide the display block of interest to the user into the display area, for example, to display the display block of interest to the user on the screen.
The inventor finds that the prior art at least has the following problems in the process of implementing the invention:
in the prior art, the terminal usually slides the display page after receiving the sliding instruction of the user, and the display page needs to be slid for multiple times to slide the display block in which the user is interested in the display area, so that the method in the prior art cannot enable the user to customize the sliding amount of the display page according to the self requirement, and further causes poor user experience.
In view of this, an embodiment of the present invention provides a page content display method, in general, a user terminal receives a sliding instruction of a user for a current display page, where a current display block is displayed in the current display page, and the display block is used for displaying video content; and sliding the current display block in the current display page according to the sliding amount preset by the user. In the embodiment of the present invention, the user may set the sliding amount according to the own requirement, and the user terminal may slide the current display block in the current display page according to the preset sliding amount, that is, the sliding amount of the current display block is the preset sliding amount.
As shown in fig. 1, an embodiment of the present invention provides a page content display method, which is applied to a user terminal, and the process may include:
s110, receiving a sliding instruction of a user for a current display page, wherein a current display block is displayed in the current display page and is used for displaying video content.
And S120, sliding the current display block in the current display page according to a sliding amount preset by a user, wherein the sliding amount is used for indicating the sliding distance of the current display block.
According to the page content display method provided by the embodiment of the invention, a user terminal receives a sliding instruction of a user for a current display page, wherein a current display block is displayed in the current display page, and the display block is used for displaying video content; and sliding the current display block in the current display page according to the sliding amount preset by the user. In the embodiment of the invention, the user can preset the sliding amount according to the self requirement, and the user terminal can slide the current display block in the current display page according to the preset sliding amount.
Further, in step S110 of the flow of the embodiment shown in fig. 1, the current display page is a display page displayed in the screen of the user terminal at the current time, and the current display page may be a page of each channel in the video APP, for example, a recommendation page, a movie page, a drama page, or a variety program page. The recommendation page may display various types of display blocks (including movie content, television content and the like), when a user opens the video APP, the user directly enters the recommendation page, the recommendation page is the current display page, and when the user selects to enter another channel page, the entered channel page is the current display page.
The current display block is displayed in the current display page, and it can be understood that a plurality of display blocks are usually arranged in one display interface, but because the screen size of the user terminal is small, if all the display blocks are displayed in the current display page, each display block is too small, and then the user may not be able to identify the content displayed by the display block by naked eyes, so that a preset number of current display blocks are usually displayed in the current display interface, and new display blocks in all the display blocks are not displayed in the current display interface.
The presentation blocks may be used for presenting video content, for example, when the current presentation page is a drama page, the dramas presented by the plurality of presentation blocks may be identical dramas or different dramas, for example, dramas with different names or different episodes of a drama with the same name. Of course, other than the implementations shown in the examples given, ways of implementing this feature are within the scope of the embodiments of the invention.
The embodiment of the present invention does not limit the specific form of the sliding instruction of the user for the current display page, and exemplarily, a button may be set in the current display page, and the button may be marked with a sliding typeface or marked with an arrow icon or the like, and the marks are used for the user to know conveniently, and the current display block in the current display page may be slid by clicking the button.
Further, in step S120 of the flow of the embodiment shown in fig. 1, a sliding amount preset by the user may be obtained in advance, and then the current display block in the current display page is slid according to the sliding amount, because all the display blocks in the current display page slide along with the current display page synchronously, when the current display block slides, a new display block that is not displayed in the current display page slides along with the current display block, and the sliding amounts of the current display block and the new display block are the same and are both the sliding amounts preset by the user.
The sliding amount may be used to indicate a sliding distance of the current display block, and the sliding amount may be a length size of the current display block sliding on the screen, for example, the sliding amount may be set to a size of 10mm, 20mm, and the like, and the current display block slides by 10mm or 20mm each time the user terminal receives a sliding instruction. The sliding amount may also be the number of the display blocks, that is, each time the user terminal receives a sliding instruction, a certain number of the display blocks are slid, and the number of the slid display blocks is the same as the sliding amount. In addition, the sliding amount may have a one-to-one correspondence relationship with the number of the display blocks that need to be slid, and the larger the sliding amount, the larger the number of the display blocks that need to be slid is, and therefore, the faster the sliding speed of the current display page is. It should be noted that, because it may be necessary to vertically slide the current display page or horizontally slide the current display page, when the sliding direction is vertical, a sliding instruction is received once, and the sliding amount of the vertical sliding of the current display block is the preset sliding amount.
As an optional implementation manner of the embodiment of the present invention, as shown in fig. 2a, step S120 of the embodiment flow shown in fig. 1 may include:
and S121, sliding the current display block out of the current display page according to the sliding amount preset by the user.
After a sliding instruction of a user for the current display page is received, the current display block can slide out of the current display page according to a sliding amount preset by the user, namely, the current display block is not displayed in a screen. If the number of the display blocks needing to slide corresponding to the sliding amount is larger than or equal to the number of the current display blocks, sliding all the current display blocks in the current display page out of the current display page; and if the number of the display blocks needing to be slid corresponding to the sliding amount is smaller than the number of the current display blocks, sliding out a plurality of current display blocks positioned at the front end in the current display blocks from the current display page, wherein one end facing the sliding direction is the front end. When the sliding direction is upward sliding, the upward end (i.e. the top end) of the current display page is the front end; similarly, when the sliding direction is downward sliding, the downward end (i.e., the bottom end) of the currently displayed page is the front end.
And S122, sliding the new display block into the current display page.
Since the contents of the display blocks in the current display page may be different, the display contents of the new display block and the current display block may be different. Corresponding to step S121 in the embodiment of the process of fig. 2a, when the sizes of all the display blocks in the current display page are the same, how many current display blocks slide out of the current display page, and the same number of new display blocks may slide into the current display page, that is, the same number of new display blocks are displayed in the current display page.
As shown in fig. 2b, there are 4 current display blocks shown in the current display page, which are: current show block 1, current show block 2, current show block 3, and current show block 4, at which time the new show block is not shown in the current show page. If a current display block needs to be slid out of the current display page and the sliding direction is upward sliding, the current display block 1 is slid out of the current display page, fig. 2c is the current display page obtained after the current display block in fig. 2b is slid, and as shown in fig. 2c, the current display block 1 is not displayed in the current display page. In addition, when the current display block 1 slides out of the current display page, a new display block slides into the current display page, as shown in fig. 2c, the new display block 1 slides into the current display page for display. By adopting the above embodiment flow steps S121 and S122, the sliding process of the current display block in the current display page is simpler.
As an optional implementation manner of the embodiment of the present invention, as shown in fig. 3, step S120 of the embodiment flow shown in fig. 1 may include:
and S123, acquiring the size of a new display block which is not displayed in the current display page.
The slippage preset by the user may be obtained, and a request for obtaining the display page data may be sent to the server after the slippage is obtained, and the server sends the display page data to the user terminal after receiving the request, where the display page data may include: the size of each presentation block, e.g., the size of the presentation block that presents the video content; or the display page data may also include: the size of the space between the display blocks showing the same type of content, for example, the size of the space between two adjacent display blocks showing advertising content. The size and the interval size of each display block can be pre-stored in the identification information of the display page, and the identification information can also store the video name, the video duration and other information of each display block. The server may extract the size of the presentation block from the identification information of the presentation page and generate presentation page data.
When the current display block needs to be vertically slid, the height of each display block needs to be obtained, the height of each display block can be preset and stored in the identification information of the current display page; when the current display block needs to be transversely slid, the width of each display block needs to be known, and the width of each display block can be preset and stored in the identification information of the current display page. It should be noted that the size of each display block may be determined according to the actual display size of the display block in the current display page, the sizes of different display blocks may be different, and in addition, in order to reduce the amount of calculation, the height or the width of each display block may be set to a value of 1, 2, or 3 according to the actual display size of each display block.
In the process of sliding the current display block, whether the size of a new display block adjacent to the current display block at the last position in the current display page is larger than the sliding amount or not can be judged, and if so, the new display block adjacent to the current display block at the last position is slid to the position of the current display block at the last position; if not, step S124 is performed. It should be noted that, in the presentation page, each presentation block is usually presented in a row or a column, and for the presentation page sliding upwards, each presentation block is usually presented in multiple rows, where the current presentation block located at the last position may refer to the current presentation block located at the lowest position in the current presentation page. For a display page that slides to the left, each display block is typically displayed in multiple columns, where the current display block at the last position may refer to the current display block at the rightmost position in the current display page.
And S124, calculating the sum of the sizes of the current number of new display blocks.
The current number may be the number of new display blocks for which the sum of sizes needs to be calculated, the current number is a variable, the initial value of the current number may be 2, and after calculating the sum of sizes of the current number of new display blocks and in the case that the sum of sizes is smaller than the sliding amount, the current number is increased by one, and the sum of sizes of the increased current number of new display blocks continues to be calculated, and so on.
The new display block located at the head of the current number of new display blocks is adjacent to the current display block located at the last of the current display pages. Here, the last position may be the last position facing the sliding direction, and the first position may be the first position facing the sliding direction, for example, when the sliding direction is upward, the current display block located at the last position is the current display block located at the lowest position of the current display page. The new display block located at the head of the current number of new display blocks is the next display block of the current display block located at the lowest position of the current display page.
When the current display block is vertically slid, because each display block may be displayed in multiple rows in the display page, multiple different display blocks may be displayed in the same row of display blocks, and the heights of the multiple display blocks in the row may be the same. Therefore, when the sum of the sizes of the plurality of new display blocks is calculated, the sum of the sizes of the plurality of rows of new display blocks can be calculated, and when the sum of the sizes is greater than or equal to the sliding amount, the number of rows of the display blocks needing to be slid is the number of rows of the plurality of new display blocks. For example, if the height of three new display blocks is calculated, and the height of each new display block is 1, the sum of the heights of the three new display blocks is 3.
And S125, judging whether the sum of the sizes is larger than or equal to the sliding amount.
Whether the sum of the sizes of the new display blocks is larger than or equal to the sliding amount can be judged, and whether the current display block is slid or the number of the current display blocks is updated is determined according to the judgment result.
And S126, if the sum of the sizes is larger than or equal to the sliding amount, sliding the new display block located at the last position in the current number of new display blocks to the position where the current display block located at the last position in the current display page is located.
If the sum of the sizes is greater than or equal to the sliding amount, which indicates that the sliding can be performed, the new display block located at the last position in the current number of new display blocks can be slid to the position of the current display block located at the last position in the current display page. For example, when the current number is 3 and 4 rows of current display blocks are displayed in the current display page, the new display block (new display block in row 3) located at the bottom of the 3 rows of new display blocks may be slid to the position of the 4 th row of current display block in the current display page.
S127, if the sum of the sizes is smaller than the slip amount, the current number is increased by one, and the step of S124 is performed.
If the sum of the sizes is less than the amount of sliding, then the current number is incremented by one and the sum of the sizes of the current number of new show blocks is calculated. For example, if the sum of the sizes of two new display blocks is less than the amount of sliding, the sum of the sizes of three new display blocks is calculated.
In the embodiment of the invention, the user terminal can calculate the new position of the new display block which needs to slide to the current display page according to the sliding amount preset by the user and the sum of the sizes of the new display blocks, so that the sliding of the current display block in the current display interface can be more accurate by the method provided by the embodiment of the invention.
As an optional implementation manner of the embodiment of the present invention, a slide prompt block may be displayed in the current display page, and the slide prompt block may be provided with a plurality of icons for prompting a user that the icons can be clicked, so that the current display page slides or a slide amount is set. For example, one of the icons arranged in the slide prompt block may be represented by a double-headed arrow, and when the user wants to set the slide amount, the double-headed arrow may be pressed for a long time, and after the user terminal detects that the user presses the double-headed arrow for a long time and the operation time of the double-headed arrow by the user exceeds a preset time, which may be 2s, for example, a dialog box for prompting the user that the slide amount may be manually input is displayed in the currently displayed page.
As an optional implementation manner in the embodiment of the present invention, as shown in fig. 4, before step S120 of the flowchart in the embodiment shown in fig. 1, the page content display method provided in the embodiment of the present invention may further include:
and S210, acquiring the sliding quantity aiming at the current display page input by the user in the current display page.
In the embodiment of the invention, the variation range of the sliding amount can be displayed in the current display page. A dialog box can be arranged in the current display page, as shown in fig. 5, a variation range of the sliding amount can be displayed in the dialog box, for example, a user can know the variation range of the sliding amount by vertically sliding numbers, and then the user can slide 2 into a smaller frame in fig. 5 according to the user's own needs, so that the sliding amount input by the user is represented as 2.
After acquiring the amount of swipe input by the user, a JSON (JS object Notation) file may be set in the user terminal and the amount of swipe may be stored in the JSON file. In addition, the slippage may be updated to a preset database, which may be a database preset in the server. The JSON file is a data exchange format, so that a user can read and write the JSON file easily, and a machine can analyze the JSON file easily.
As an optional implementation manner of the embodiment of the present invention, step S210 of the embodiment shown in fig. 4 may include:
and acquiring the horizontal sliding amount or the vertical sliding amount of the current display block input by the user in the current display page.
Because in video APP, not only there is the condition that need the current show page of vertical slip, also there is the condition that needs carry out horizontal slip to the current show page, and the width dimension and the height dimension of show block are probably different moreover, consequently, in the current show page, can set up horizontal slip volume according to the gliding direction of actual need, perhaps set up vertical slip volume, when setting up the completion back, user terminal can acquire this horizontal slip volume or vertical slip volume.
The embodiment flow step S120 shown in fig. 1 may include:
and sliding the current display block horizontally or vertically in the current display page.
When the sliding instruction sent by the user is a vertical sliding instruction, the user terminal acquires the vertical sliding instruction, and then the user terminal vertically slides the current display block in the current display page according to the vertical sliding amount; similarly, when the obtained horizontal sliding instruction is obtained, the user terminal horizontally slides the current display block in the current display page according to the horizontal sliding amount.
It should be noted that, a plurality of icons for indicating the sliding direction of the current display block may also be provided in the sliding prompt block, and the icons may be represented by unidirectional arrows, where the direction indicated by the unidirectional arrows is the direction in which the user desires the sliding of the current display block. For example, when the currently displayed block slides vertically, two icons represented by one-way arrows may be set, wherein one icon arrow faces downward and one icon arrow faces upward. When the user clicks on the arrow down icon, the current show block is slid down.
In addition, a double-click instruction of the user for the icon with the arrow facing downwards can be received, and the display block located at the last position in the current display page is slid to the last row in the current display page; and receiving a double-click instruction of the user for the icon with the upward arrow, and sliding the display block located at the head position in the current display page to the first row in the current display page.
The embodiment of the invention fully considers different sliding directions of the current display page, and vertically slides or transversely slides the current display block according to the vertical sliding amount or the transverse sliding amount input by the user.
As an alternative implementation manner of the embodiment of the present invention, as shown in fig. 6, step S122 of the embodiment shown in fig. 2a may include:
s1221, determine whether the new display block is a preset display block.
In the embodiment of the present invention, the preset display block may be used for displaying the preset content. The preset display block may be a display block that the video APP operator wants to see each time the user slides the current display page, for example, the preset display block may be a display block that displays advertisement content, or the preset display block may also be a display block that displays a hot play.
Because each display block is stored in the server in a one-to-one correspondence manner between the display block and the index, the display blocks are displayed according to the size sequence of the index, for example, in a vertically slidable display page, the smaller the index value is, the closer the position of the display block corresponding to the display block to the front end of the current display page is, after the sliding instruction of the user is obtained, whether the new display block is the preset display block can be judged according to the index value, and the following steps are adopted to enable the preset display content to be displayed in the current display page all the time.
S1222, if yes, sliding the new show block into the current show page.
If the new display block is the preset display block, the new display block to be slid into the current display page is the display block expected to be displayed in the current display page, and therefore the new display block can be slid into the current display page.
S1223, if not, sliding the preset display block into the current display page.
After the judgment, if the new display block is not the preset display block, it indicates that the new display block to be slid into the current display page is not the display block that is expected to be displayed in the current display page, and therefore, the preset display block can be slid into the current display page by modifying the index value of the preset display block and the index value of the new display block.
In the embodiment of the invention, the preset display block is always displayed in the current display page by judging whether the new display block is the preset display block or not, so that the special requirement in the video APP can be met.
As an optional implementation manner of the embodiment of the present invention, a function option is set in the current display page, where the function option may be an icon for indicating sliding, and a user may click the function option, and the terminal obtains a click operation for the function option, so that the display block may be slid.
As shown in fig. 7, before step S120 of the flowchart in the embodiment shown in fig. 1, the page content display method provided in the embodiment of the present invention may further include:
and S220, acquiring the duration of the continuous operation of the function options by the user.
The user terminal can determine the sliding times of the current display block according to the duration of the user operating the function options. When the user wants that the current display area can slide for a plurality of times, the function option can be continuously operated, namely, the function option can be pressed for a long time. The user terminal can obtain the duration of the continuous operation function options of the user.
And S230, determining the sliding times of the current display block by using the time length and the corresponding relation between the pre-stored time length and the sliding times.
After the duration of the continuous operation function option of the user is obtained, the sliding times of the current display block can be determined by using the duration and the corresponding relationship between the pre-stored duration and the sliding times. The correspondence between the time length and the number of times of sliding may be stored in advance, and in the correspondence, both the time length and the number of times of sliding may be integers. However, in the process of operating the function option, the duration of the continuous operation may not be an integer, and after the duration is obtained, the duration may be rounded, and then the corresponding relationship between the duration and the sliding times is searched by using the integer duration obtained after the rounding operation, so as to obtain the sliding times of the current display block.
The embodiment of the flowchart of fig. 1, step S120, may include:
and S128, sliding the current display block in the current display page for multiple times by using the sliding times of the current display block.
After the sliding times of the current display block are obtained, the sliding times of the current display block can be utilized to slide the current display block for multiple times, that is, the sliding times of the current display block are the number of times of sliding the current display block.
In the embodiment of the invention, the sliding times of the current display block are obtained by obtaining the duration of the continuous operation function options of the user and searching the corresponding relation between the duration and the sliding times, and then the sliding of the current display block is carried out for multiple times according to the sliding times, so that the embodiment of the invention can improve the convenience of the sliding of the current display block and further improve the experience of the user.
As an optional implementation manner of the embodiment of the present invention, as shown in fig. 8, step S120 of the embodiment flow shown in fig. 1 may include:
and S1291, reading the sliding amount from the user terminal, and sliding the current display block in the current display page according to the sliding amount.
The user usually needs to set the slippage when sliding the current display page for the first time, and after the slippage is set and completed, and when the slippage is used for sliding the current display block in the current display page, the slippage is found to be slow due to the fact that the numerical value set by the slippage is small, or the slippage is fast due to the fact that the numerical value set by the slippage is large, and the slippage needs to be set again in the current display page. However, since the slide amount set by the user for the first time and the slide amount reset by the user can be generally stored in the user terminal, the slide amount needs to be read in advance when the current display area is slid, and thus, the slide amount can be read from the user terminal.
Or, S1292, obtaining the historical upload sliding amount of the user from the server, and sliding the current display block in the current display page according to the historical upload sliding amount.
Since the slippage input by the user is usually updated in the database of the server, the historical upload slippage of the user may also be obtained from the database of the server, and the current display block in the current display page may be slid according to the historical upload slippage.
In addition, when the user terminal detects that the user does not reset the sliding amount, the sliding amount can be read from the JSON file stored in the user terminal, so that the time for reading the sliding amount can be shortened, and the user terminal can respond to the sliding instruction sent by the user more quickly.
As an optional implementation manner in the embodiment of the present invention, as shown in fig. 9, after step S110 of the flowchart in the embodiment shown in fig. 1, the page content display method provided in the embodiment of the present invention may further include:
s240, judging whether the current display page supports user-defined sliding.
Since there may be a feed stream presentation block in the current presentation page, a feed stream presentation block is a presentation block in which the video content presented by the feed stream presentation block can be previewed, and the feed stream presentation block is generally required to be a presentation block that cannot support custom sliding; or a display block whose position cannot be customized due to a special reason may exist in the current display page, for example, part of the display blocks in the current display interface are required to be displayed in the current display page as much as possible, and the part of the display blocks are display blocks whose positions cannot be customized, but if the sliding amount is set to a larger value by the user, the number of rows of the display blocks which need to be slid after the sliding instruction of the user is obtained may be larger than twice the number of rows of the current display blocks in the current display page, so that the part of the display blocks may not be displayed to the user, and therefore, it may be determined whether the current display page supports customized sliding or not at first.
And S250, if so, sliding the current display block in the current display page according to the sliding amount preset by the user.
And if the current display page supports the user-defined sliding, acquiring the sliding quantity input by the user, and sliding the current display block in the current display page according to the sliding quantity preset by the user.
And S260, if the current display block is not supported, sliding the current display block in the current display page according to a preset sliding mode.
In the embodiment of the invention, the preset sliding mode is a default sliding mode of the system. If the current display page does not support the user-defined sliding, sliding the current display block in the current display page according to a preset sliding mode, where the preset sliding mode may be a default sliding mode of the system, for example, sliding the current display block in the current display page according to a sliding direction and a sliding speed of a finger of a user on the current display interface.
In the embodiment of the invention, whether the current display interface supports the user-defined sliding can be judged, and the sliding mode of the current display page can be determined according to the judgment result, so that the business requirement that a video APP developer needs to display part of the display blocks on the current display interface can be met on the basis of satisfying the user-defined sliding of the current display blocks of the current display page as much as possible and improving the user experience.
As an optional implementation manner of the embodiment of the present invention, step S240 of the flowchart in the embodiment shown in fig. 9 may include:
and judging whether the current display page supports user-defined sliding or not according to the attribute identification of the current display page acquired from the server.
The server usually stores identification information of the currently displayed page, and the identification information may include: the name of each display block, the video duration and other contents can be added with an attribute identifier in the identification information of the display block, and the attribute identifier can be used for identifying whether the current display page supports user-defined sliding or not. For example, an is _ custom field is added to the identification information, the is _ custom field may be selected to be 0 or 1, 0 indicates that the current presentation page does not support the custom slide, 1 indicates that the current presentation page supports the custom slide, and if the attribute identifier is not added to the identification information, that is, the default attribute identifier is empty, it indicates that the current presentation page does not support the custom slide.
After receiving an opening instruction of a user to the video APP, the user terminal opens the video APP and enters a current display page, whether the current display page supports user-defined sliding is judged according to the attribute identifier, when the current display page supports the user-defined sliding, a sliding prompt block is displayed, and the current display block of the current display page is slid according to an icon clicked by the user in the sliding prompt block.
According to the embodiment of the invention, the attribute identifier of the current display page preset in the server is obtained through the user terminal, and whether the current display page supports the user-defined sliding or not is judged according to the attribute identifier, so that the process is simpler.
An embodiment of the present invention provides a specific embodiment of a page content display apparatus, which is applied to a user terminal, and corresponds to the flow shown in fig. 1, with reference to fig. 10, fig. 10 is a schematic structural diagram of a page content display apparatus according to an embodiment of the present invention, and the page content display apparatus may include:
the receiving module 310 is configured to receive a sliding instruction of a user for a current display page, where a current display block is displayed in the current display page, and the display block is used for displaying video content.
The sliding module 320 is configured to slide a current display block in the current display page according to a sliding amount preset by a user, where the sliding amount is used to indicate a sliding distance of the current display block.
According to the page content display device provided by the embodiment of the invention, the user terminal receives the sliding instruction of the user for the current display page, the current display block is displayed in the current display page, and the display block is used for displaying video content; and sliding the current display block in the current display page according to the sliding amount preset by the user. In the embodiment of the invention, the user can set the sliding amount according to the self requirement, and the user terminal can slide the current display block in the current display page according to the preset sliding amount.
As an optional implementation manner of the embodiment of the present invention, as shown in fig. 11, the sliding module 320 may include:
and a sliding-out submodule 321, configured to slide out the current display block from the current display page according to a sliding amount preset by the user.
And a sliding-in sub-module 322, configured to slide a new display block into the current display page, where the new display block and the current display block have different display contents.
As an optional implementation manner of the embodiment of the present invention, as shown in fig. 12, the sliding module 320 may include:
an obtaining sub-module 323 is used for obtaining the size of a new display block that is not displayed in the current display page.
The calculating sub-module 324 is configured to calculate a sum of sizes of a current number of new display blocks, where a new display block located at a first position in the current number of new display blocks is adjacent to a current display block located at a last position in the current display page.
A decision submodule 325 determines whether the sum of the sizes is greater than or equal to the amount of slippage.
And the sliding sub-module 326 is configured to slide a new display block located at the last position in the current number of new display blocks to a position where the current display block located at the last position in the current display page is located, if the sum of the sizes is greater than or equal to the sliding amount.
A trigger submodule 327, configured to add one to the current number if the sum of the sizes is smaller than the sliding amount, and trigger the calculation submodule 324 to perform the step of calculating the sum of the sizes of the current number of new display blocks.
As an optional implementation manner of the embodiment of the present invention, on the basis of the apparatus in the embodiment shown in fig. 10, as shown in fig. 13, the apparatus provided in the embodiment of the present invention may further include:
the first obtaining module 330 is configured to obtain a sliding amount, which is input by a user in a current display page and is for the current display page, where a variation range of the sliding amount is displayed in the current display page.
As an optional implementation manner of the embodiment of the present invention, the first obtaining module 330 is specifically configured to:
and acquiring the horizontal sliding amount or the vertical sliding amount of the current display block input by the user in the current display page.
The sliding module 320 is specifically configured to:
and sliding the current display block horizontally or vertically in the current display page.
As an alternative implementation manner of the embodiment of the present invention, as shown in fig. 14, the sliding-in sub-module 322 may include:
the determining unit 3221 is configured to determine whether the new display block is a preset display block, where the preset display block is used for displaying preset content.
A first sliding-in unit 3222 is used for sliding the new display block into the current display page if yes.
A second sliding-in unit 3223, configured to slide the preset display block into the current display page if not.
As an optional implementation manner of the present invention, a function option is set in the current presentation page. On the basis of the apparatus in the embodiment shown in fig. 10, as shown in fig. 15, the apparatus for displaying page content provided in the embodiment of the present invention may further include:
and the second obtaining module 340 is configured to obtain a duration of the user continuously operating the function option.
The determining module 350 is configured to determine the sliding times for the current display block by using the duration and the pre-stored correspondence between the duration and the sliding times.
The sliding module 320 is specifically configured to:
and sliding the current display block in the current display page for multiple times by using the sliding times of the current display block.
An embodiment of the present invention further provides an electronic device, as shown in fig. 16, including a processor 401, a communication interface 402, a memory 403, and a communication bus 404, where the processor 401, the communication interface 402, and the memory 403 complete mutual communication through the communication bus 404.
A memory 403 for storing a computer program.
The processor 401, when executing the program stored in the memory 403, implements the following steps:
and receiving a sliding instruction of a user for the current display page, wherein the current display block is displayed in the current display page and is used for displaying the video content.
And sliding the current display block in the current display page according to a sliding amount preset by a user, wherein the sliding amount is used for representing the sliding distance of the current display block.
According to the electronic equipment provided by the embodiment of the invention, the user terminal receives the sliding instruction of the user for the current display page, the current display block is displayed in the current display page, and the display block is used for displaying the video content; and sliding the current display block in the current display page according to the sliding amount preset by the user. In the embodiment of the invention, the user can set the sliding amount according to the self requirement, and the user terminal can slide the current display block in the current display page according to the preset sliding amount.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
In another embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of any one of the above page content presentation methods.
In another embodiment of the present invention, there is also provided a computer program product containing instructions, which when run on a computer, causes the computer to execute any one of the above-mentioned page content presentation methods.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A method for displaying page content, the method comprising:
receiving a sliding instruction of a user for a current display page, wherein a current display block is displayed in the current display page and is used for displaying video content;
and sliding the current display block in the current display page according to a sliding amount preset by a user, wherein the sliding amount is used for representing the sliding distance of the current display block.
2. The method of claim 1, wherein the step of sliding the currently displayed block in the currently displayed page by a sliding amount preset by a user comprises:
sliding the current display block out of the current display page according to a sliding amount preset by a user;
and sliding a new display block into the current display page, wherein the display content of the new display block is different from that of the current display block.
3. The method of claim 1, wherein the step of sliding the currently displayed block in the currently displayed page by a sliding amount preset by a user comprises:
acquiring the size of a new display block which is not displayed in the current display page;
calculating the size sum of the current number of new display blocks, wherein the new display block positioned at the head of the current number of new display blocks is adjacent to the current display block positioned at the tail of the current display page;
judging whether the sum of the sizes is larger than or equal to the sliding amount;
if the sum of the sizes is larger than or equal to the sliding amount, sliding a new display block located at the last position in the current number of new display blocks to a position where the current display block located at the last position in the current display page is located;
if the sum of the sizes is less than the sliding amount, adding one to the current number, and performing the step of calculating the sum of the sizes of the current number of new display blocks.
4. The method of claim 1, wherein before the step of sliding the currently displayed block in the currently displayed page by a sliding amount preset by a user, the method further comprises:
and acquiring the slide quantity aiming at the current display page input by the user in the current display page, wherein the change range of the slide quantity is displayed in the current display page.
5. The method according to claim 4, wherein the step of obtaining the sliding amount of the current presentation page inputted by the user in the current presentation page comprises:
acquiring a horizontal sliding amount or a vertical sliding amount which is input in the current display page by a user and aims at the current display block;
the step of sliding the current display block in the current display page according to a sliding amount preset by a user includes:
and sliding the current display block in the current display page transversely or vertically.
6. The method of claim 2, wherein the step of sliding the new display block into the current display page comprises:
judging whether the new display block is a preset display block or not, wherein the preset display block is used for displaying preset content;
if so, sliding the new display block into the current display page;
and if not, sliding the preset display block into the current display page.
7. The method of claim 1, wherein a function option is set in the current presentation page; before the step of sliding the current display block in the current display page by a sliding amount preset by a user, the method further includes:
acquiring the duration of the continuous operation of the function options by the user;
determining the sliding times of the current display block by using the time length and the corresponding relation between the pre-stored time length and the sliding times;
the step of sliding the current display block in the current display page according to a sliding amount preset by a user comprises the following steps:
and sliding the current display block in the current display page for multiple times by using the sliding times of the current display block.
8. An apparatus for presenting page content, the apparatus comprising:
the display device comprises a receiving module, a display module and a display module, wherein the receiving module is used for receiving a sliding instruction of a user for a current display page, a current display block is displayed in the current display page, and the display block is used for displaying video content;
and the first sliding module is used for sliding the current display block in the current display page according to a sliding amount preset by a user, wherein the sliding amount is used for representing the sliding distance of the current display block.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 7 when executing a program stored in the memory.
10. A computer storage medium, characterized in that a computer program is stored in the computer readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-7.
CN202010372228.9A 2020-05-06 2020-05-06 Page content display method and device, electronic equipment and computer storage medium Pending CN111580732A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010372228.9A CN111580732A (en) 2020-05-06 2020-05-06 Page content display method and device, electronic equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010372228.9A CN111580732A (en) 2020-05-06 2020-05-06 Page content display method and device, electronic equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN111580732A true CN111580732A (en) 2020-08-25

Family

ID=72122742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010372228.9A Pending CN111580732A (en) 2020-05-06 2020-05-06 Page content display method and device, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN111580732A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112711726A (en) * 2020-12-17 2021-04-27 北京奇艺世纪科技有限公司 Method and device for caching video data, computer equipment and storage medium
CN114816635A (en) * 2022-04-26 2022-07-29 北京金堤科技有限公司 Page display method and device, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107783714A (en) * 2017-10-13 2018-03-09 北京金山安全软件有限公司 Page display method and device, electronic equipment and storage medium
CN108021322A (en) * 2016-10-31 2018-05-11 北京小米移动软件有限公司 Control the method and touch control terminal that display interface slides
CN109324742A (en) * 2018-07-30 2019-02-12 上海哔哩哔哩科技有限公司 Object methods of exhibiting, device and storage medium based on Surface active component

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108021322A (en) * 2016-10-31 2018-05-11 北京小米移动软件有限公司 Control the method and touch control terminal that display interface slides
CN107783714A (en) * 2017-10-13 2018-03-09 北京金山安全软件有限公司 Page display method and device, electronic equipment and storage medium
CN109324742A (en) * 2018-07-30 2019-02-12 上海哔哩哔哩科技有限公司 Object methods of exhibiting, device and storage medium based on Surface active component

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112711726A (en) * 2020-12-17 2021-04-27 北京奇艺世纪科技有限公司 Method and device for caching video data, computer equipment and storage medium
CN112711726B (en) * 2020-12-17 2023-09-01 北京奇艺世纪科技有限公司 Method, device, computer equipment and storage medium for caching video data
CN114816635A (en) * 2022-04-26 2022-07-29 北京金堤科技有限公司 Page display method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN108021626B (en) Page layout method, device and equipment
CN104965630B (en) Method and system for layout of desktop application icons
CN113536136B (en) Method, device and equipment for realizing search
CN109753601B (en) Method and device for determining click rate of recommended information and electronic equipment
WO2017215175A1 (en) Page processing method and device, terminal, and server
CN110996154B (en) Video playing method and device and electronic equipment
CN108668172B (en) Video playing method and device
CN111580732A (en) Page content display method and device, electronic equipment and computer storage medium
US10713417B2 (en) Contextual font filtering in a digital medium environment
US20170287041A1 (en) Information processing apparatus, information processing method, and information processing program
CN111414727A (en) Method and device for editing header and footer of PDF (Portable document Format) document and electronic equipment
US8707210B2 (en) Display control apparatus and method for selecting an interactive object on a display frame by a numeric controller
CN111259274A (en) Information processing method, device, equipment and information display device
CN106970985B (en) Information flow channel classification interaction method and device based on demand guidance and server
CN111026964B (en) Display method of list page, electronic equipment and computer storage medium
CN112329409B (en) Cell color conversion method and device and electronic equipment
CN115270737B (en) Method and device for modifying format of target object
CN111061414A (en) Skin replacement method and device, electronic equipment and readable storage medium
CN112783396B (en) Object format modification method and device
JP6147904B1 (en) Server apparatus, control method, and program
WO2021051744A1 (en) Dish recommendation method and apparatus, recommended content uploading method and apparatus, and electronic device
EP4033438A1 (en) Video generation method and device, and terminal and storage medium
WO2016029705A1 (en) Method and device for inserting webpage toolbar, and storage medium
CN112464127A (en) Method and device for adjusting sequence of components in webpage, electronic equipment and storage medium
CN110795922B (en) Form information display method and device for PDF document and electronic equipment

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