CN109375973B - Page display method and device, computer equipment and computer readable storage medium - Google Patents

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

Info

Publication number
CN109375973B
CN109375973B CN201811101428.XA CN201811101428A CN109375973B CN 109375973 B CN109375973 B CN 109375973B CN 201811101428 A CN201811101428 A CN 201811101428A CN 109375973 B CN109375973 B CN 109375973B
Authority
CN
China
Prior art keywords
page
display area
page display
display
hidden
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811101428.XA
Other languages
Chinese (zh)
Other versions
CN109375973A (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 Chengshi Wanglin Information Technology Co Ltd
Original Assignee
Beijing Chengshi Wanglin 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 Chengshi Wanglin Information Technology Co Ltd filed Critical Beijing Chengshi Wanglin Information Technology Co Ltd
Priority to CN201811101428.XA priority Critical patent/CN109375973B/en
Publication of CN109375973A publication Critical patent/CN109375973A/en
Application granted granted Critical
Publication of CN109375973B publication Critical patent/CN109375973B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention provides a page display method, which comprises the following steps: receiving page data and corresponding page configuration information sent by a server; setting a page presented according to the page data into a plurality of page display areas based on the page configuration information; and when the page is controlled to be scrolled and displayed, hiding a set page display area scrolled out of the display screen in the plurality of page display areas according to the page configuration information. The invention also discloses a page display device, computer equipment and a computer readable storage medium, and by implementing the scheme, the flexible configuration of different display areas of the page in the application program is realized, and the page display efficiency is effectively improved.

Description

Page display method and device, computer equipment and computer readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a page display method and apparatus, a computer device, and a computer-readable storage medium.
Background
With the rapid development of computer devices (e.g., mobile terminals), applications installed in the computer devices have also become rapidly widespread. When an application program displays a page, the page layout is usually set to a plurality of display areas, wherein one display area (including a navigation bar or a navigation picture, etc.) is fixedly set and does not scroll along with the scrolling display of the page; the other display regions are capable of scrolling through content in the displayed page. Therefore, when the height of the fixedly set display area is set to be too large, other display areas are too small, and the user is not convenient to read the page contents in the other display areas; even in the case where the fixedly set display area height exceeds the height of the user's computer device display screen, this results in the user being unable to read page content in other display areas.
Disclosure of Invention
The invention provides a page display method, a page display device, computer equipment and a computer readable storage medium, which are used for solving the problem that a page display area in the existing application program in the prior art can not be flexibly configured.
The technical scheme adopted by the invention is to provide a page display method, which comprises the following steps:
setting a currently presented page as a plurality of page display areas based on preset page configuration information;
and when the page is controlled to be scrolled and displayed, hiding a set page display area of the scrolled display screen in the multiple page display areas according to the page configuration information.
Optionally, after hiding the set page display area scrolled out of the display screen in the multiple page display areas, when a preset display restoring instruction is received, the hidden set page display area is presented.
Optionally, the number of the set page display areas is multiple; and setting a display restoring instruction corresponding to each set page display area according to the page configuration information.
Optionally, when a preset display resuming instruction is received, presenting the hidden setting page display area includes: and when a display recovery instruction corresponding to any set page display area is received, presenting the hidden any set page display area.
Optionally, the set page display area is arranged in an edge area of the page; when a preset display restoring instruction is received, the hidden set page display area is presented, including: when the page is controlled to be displayed in a rolling mode in the direction opposite to the set page display area, detecting the displacement distance of the current edge of the presented page deviating from the edge of the display screen; wherein the current edge is connected with the set page display area; and presenting the hidden setting page display area under the condition that the displacement distance is detected to be larger than or equal to a setting threshold value.
The invention also provides a page display device, comprising:
the setting module is used for setting the currently presented page into a plurality of page display areas based on preset page configuration information;
and the hiding module is used for hiding a set page display area of the display screen which is scrolled out of the multiple page display areas according to the page configuration information when the page is controlled to be scrolled and displayed.
Optionally, the apparatus further comprises:
and the restoration module is used for presenting the hidden set page display area when a preset restoration display instruction is received after the hiding module hides the set page display area which is scrolled out of the display screen in the plurality of page display areas.
Optionally, the number of the set page display areas is multiple; the device further comprises:
and the configuration module is used for setting a display recovery instruction corresponding to each set page display area according to the page configuration information.
Optionally, the recovery module is specifically configured to:
and when a display recovery instruction corresponding to any set page display area is received, presenting the hidden any set page display area.
Optionally, the set page display area is arranged in an edge area of the page; the recovery module is specifically configured to:
when the page is controlled to be displayed in a rolling mode in the direction opposite to the set page display area, detecting the displacement distance of the current edge of the presented page deviating from the edge of the display screen; wherein the current edge is connected with the set page display area;
and presenting the hidden set page display area under the condition that the displacement distance is detected to be larger than or equal to a set threshold value.
The invention also provides a computer device comprising a processor and a memory; the processor is used for executing the page display program stored in the memory so as to realize the steps of the page display method.
The present invention also provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the page presentation method described above.
By adopting the technical scheme, the invention at least has the following advantages:
according to the page display method, the device, the equipment and the computer readable storage medium, the preset page display area corresponding to the information with low relevance to the page information is hidden, so that a user can conveniently and rapidly scroll and browse the page display area corresponding to the information with high relevance to the page information, and the efficiency of acquiring key information in a page and the scroll browsing efficiency of the page by the user are improved; the flexible configuration of different display areas of the page in the application program is realized, and the display efficiency of the page is effectively improved.
Drawings
FIG. 1 is a flowchart of a page display method according to a first embodiment of the present invention;
FIG. 2 is a flowchart of a page display method according to a second and a third embodiment of the present invention;
FIG. 3 is a flowchart of a page display method according to a fourth embodiment of the present invention;
FIG. 4 is a flowchart of a page display method according to a fifth embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating a page according to a sixth embodiment of the present invention;
FIG. 6 is a schematic view of a page displaying apparatus according to a seventh embodiment of the present invention;
FIG. 7 is a schematic view of a page displaying apparatus according to an eighth embodiment of the present invention;
FIG. 8 is a schematic view of a page displaying apparatus according to the ninth embodiment to the eleventh embodiment of the present invention;
fig. 9 is a schematic structural diagram of a computer device according to a twelfth embodiment of the present invention.
Detailed Description
To further explain the technical means and effects of the present invention adopted to achieve the intended purpose, the present invention will be described in detail with reference to the accompanying drawings and preferred embodiments.
A first embodiment of the present invention provides a page display method, as shown in fig. 1, including the following specific steps:
step S101, setting the currently presented page as a plurality of page display areas based on the preset page configuration information.
In this embodiment, the page configuration information may be page configuration information preset for each type of page in the application program, or page configuration information preset for each page in the application program, or page configuration information corresponding to each type of page issued by the server, or page configuration information corresponding to each page issued by the server. The server dynamically issues the page configuration information, so that the dynamic configuration of different page display areas in the page is realized, and the inconvenience that the application program configures different page display areas in the page by releasing a new installation version is avoided.
And step S102, when the page is controlled to be scrolled and displayed, hiding a set page display area scrolled out of the display screen in the plurality of page display areas according to the page configuration information.
In this embodiment, the setting display area is not specifically limited, and may be a navigation information area for displaying a category to which the web page belongs, a category navigation information area for displaying a dependency relationship with the category to which the web page belongs, an advertisement display area, or the like. Next, the number of the set page display areas is not limited, and may be one or more. The position of the page display area in the page is not specifically limited, and the page display area may be set in the top area of the page, the bottom area of the page, the left area of the page, the middle area of the page, or the right area of the page. Finally, the shape of the setting page display area is not particularly limited, and may be a regular geometric shape (for example, a rectangle) or an irregular geometric shape.
For example, step S102 includes: and when the page is controlled to be scrolled and displayed, hiding the advertisement display area scrolled out of the display screen in the plurality of page display areas according to the page configuration information.
As another example, step S102 includes: and when the page is controlled to be scrolled and displayed, hiding the navigation information area scrolled out of the display screen in the plurality of page display areas according to the page configuration information.
The display control of different page display areas is realized by hiding the set page display area which is scrolled out of the display screen, the information with low relevance with the page information can be hidden under the condition that the page is too long, the information with high relevance with the page information is only displayed, the user can conveniently and conveniently scroll and browse the information with high relevance with the page information, and the efficiency of acquiring the page information by the user and the scroll and browse efficiency of the page are improved.
According to the page display method provided by the first embodiment of the invention, the preset page display area corresponding to the information with low relevance to the page information is hidden, so that a user can conveniently and rapidly scroll and browse the page display area corresponding to the information with high relevance to the page information, and the efficiency of acquiring key information in a page by the user and the scroll browsing efficiency of the page are improved; the flexible configuration of different display areas of the page in the application program is realized, and the display efficiency of the page is effectively improved.
A second embodiment of the present invention provides a page display method, as shown in fig. 2, including the following steps:
step S201, setting the currently presented page as a plurality of page display areas based on preset page configuration information.
Step S202, when the page is controlled to be scrolled and displayed, hiding a set page display area scrolled out of the display screen in the plurality of page display areas according to the page configuration information.
In step S203, when a preset display resuming instruction is received, the hidden display area of the set page is presented.
In this embodiment, the resume display instruction is not specifically limited, and the resume display instruction may be received by a resume display instruction button provided in the page, or may be received by a touch operation of setting a shape, a sliding direction, or a sliding stroke on the touch display screen.
For example, step S203 includes: and when a display restoring instruction received by triangular touch operation on the touch display screen is received, presenting the hidden navigation information area.
And under the condition that a preset display recovery instruction is received, presenting a hidden set page display area, and under the condition that a user acquires information in a page or the user wants to finish page browsing, presenting the hidden set page display area so that the user can control the page according to a control key or a navigation key or a jump link in the set page display area.
According to the page display method provided by the second embodiment of the invention, the preset page display area corresponding to the information with low relevance to the page information is hidden, so that a user can conveniently and rapidly scroll and browse the page display area corresponding to the information with high relevance to the page information, and the efficiency of acquiring key information in a page and the scroll browsing efficiency of the page by the user are improved; the hidden page display area is restored by presetting a restoration display instruction, so that the hidden page display area is quickly restored under the condition that a user needs to acquire the hidden page display area; the flexible configuration of different display areas of the page in the application program is realized, and the display efficiency of the page is effectively improved.
A third embodiment of the present invention provides a page display method, as shown in fig. 2, including the following steps:
step S201, setting the currently presented page as a plurality of page display areas based on preset page configuration information.
Step S202, when the page is controlled to be scrolled and displayed, hiding a set page display area scrolled out of the display screen in the plurality of page display areas according to the page configuration information.
In step S203, when a preset display resuming instruction is received, the hidden display area of the set page is presented.
In this embodiment, before step S203, the method may further include:
step S204, setting a display restoring instruction corresponding to each set page display area in the plurality of page display areas according to the page configuration information.
Wherein, the number of the page display areas is set to be a plurality.
In this embodiment, the execution sequence of step S204 with respect to other steps is not particularly limited, and may be executed between step S202 and step S203, or may be executed between step S201 and step S202.
By setting the corresponding restoration display instruction for each set page display area, different hidden set page display areas can be restored and displayed through different restoration display instructions, and independent control of different set page display areas is achieved. According to the page display method provided by the third embodiment of the invention, the preset page display area corresponding to the information with low relevance to the page information is hidden, so that a user can conveniently and rapidly scroll and browse the page display area corresponding to the information with high relevance to the page information, and the efficiency of acquiring key information in the page by the user and the scroll browsing efficiency of the page are improved; the hidden page display area is restored by presetting a restoration display instruction, so that the hidden page display area is quickly restored under the condition that a user needs to acquire the hidden page display area; the flexible configuration of different display areas of the page in the application program is realized, and the display efficiency of the page is effectively improved.
A fourth embodiment of the present invention provides a page display method, as shown in fig. 3, including the following steps:
step S401, setting the currently presented page as a plurality of page display areas based on preset page configuration information.
Step S402, when the page is controlled to be scrolled and displayed, hiding a set page display area scrolled out of the display screen in the plurality of page display areas according to the page configuration information.
Step S403, when a display resuming instruction corresponding to any one of the set page display areas is received, presenting the hidden any one of the set page display areas. By independently displaying and controlling different hidden set page display areas, a user can conveniently and respectively control the page display areas to be displayed, the flexible configuration of different display areas of the page in an application program is realized, and the page display efficiency is effectively improved.
In this embodiment, before step S403, the method may further include:
step S404, setting a display resuming instruction corresponding to each set page display area in the multiple page display areas according to the page configuration information.
Wherein, the number of the page display areas is set to be a plurality.
In this embodiment, the execution sequence of step S404 with respect to other steps is not particularly limited, and may be executed between step S402 and step S403, or may be executed between step S401 and step S402. According to the page display method in the fourth embodiment of the present invention, by hiding the preset page display area corresponding to the information with low relevance to the page information, the user can conveniently and quickly scroll and browse the page display area corresponding to the information with high relevance to the page information, so that the efficiency of obtaining key information in the page by the user and the scroll browsing efficiency of the page are improved; the hidden page display area is restored by presetting a restoration display instruction, so that the hidden page display area is quickly restored under the condition that a user needs to acquire the hidden page display area; the flexible configuration of different display areas of the page in the application program is realized, and the display efficiency of the page is effectively improved.
A fifth embodiment of the present invention provides a page display method, as shown in fig. 4, including the following steps:
step S501, setting the currently presented page as a plurality of page display areas based on preset page configuration information.
Step S502, when the page is controlled to be scrolled and displayed, hiding a set page display area scrolled out of the display screen in the multiple page display areas according to the page configuration information.
Step S503, when the control page is in scrolling display towards the direction opposite to the set page display area, detecting the displacement distance of the current edge of the presented page deviating from the edge of the display screen; wherein, the current edge of the page is connected with the set page display area; and under the condition that the displacement distance is detected to be larger than or equal to the set threshold value, presenting the hidden set page display area.
The set page display area is arranged in the edge area of the page.
Optionally, step S503 includes:
when the control page is in rolling display towards the opposite direction of the set page display area, detecting the displacement distance of the current edge of the presented page deviating from the edge of the display screen; wherein, the current edge of the page is connected with the set page display area;
if the displacement distance is detected to be smaller than the set threshold value, prompting the user to continue the scrolling operation, and presenting the hidden set page display area;
if the displacement distance is detected to be larger than or equal to the set threshold value, prompting a user to stop the scrolling operation, and presenting the hidden set page display area;
the set page display area is arranged in the edge area of the page.
And under the condition that a preset display recovery instruction is received, presenting a hidden set page display area, and under the condition that a user acquires information in a page or the user wants to finish page browsing, presenting the hidden set page display area so that the user can control the page according to a control key or a navigation key or a jump link in the set page display area.
In this embodiment, before step S503, the method may further include:
step S504, according to the page configuration information, a display restoring instruction corresponding to each set page display area in the plurality of page display areas is set.
Wherein, the number of the page display areas is set to be a plurality.
In this embodiment, the execution sequence of step S504 with respect to other steps is not particularly limited, and may be executed between step S502 and step S503, or may be executed between step S501 and step S502.
According to the page display method in the fifth embodiment of the present invention, by hiding the preset page display area corresponding to the information with low relevance to the page information, the user can conveniently and quickly scroll and browse the page display area corresponding to the information with high relevance to the page information, so that the efficiency of obtaining key information in the page by the user and the scroll browsing efficiency of the page are improved; the hidden page display area is restored by presetting a restoration display instruction, so that the hidden page display area is quickly restored under the condition that a user needs to acquire the hidden page display area; the flexible configuration of different display areas of the page in the application program is realized, and the display efficiency of the page is effectively improved.
A sixth embodiment of the present invention is based on the above embodiments, and an application example of the present invention is described with reference to fig. 5 by taking a page display method as an example.
Step S601, setting the currently presented page as two page display areas based on the page configuration information issued by the server.
Wherein the two page display areas include a top page display area and a bottom page display area.
In this embodiment, the root view container of the page is generated by the ScrollView component. When the root view container is initialized, the user can control the root view container to roll through gesture operation; the root view container is composed of a top page display area and a bottom page display area. The top page display area is generated by a View component, the height of the top page display area is determined by page configuration information, and the content height is not limited; the bottom page display area is generated by a ScrollView component, the height of the bottom page display area is just the height of a display screen visual area, and a user can not freely scroll through gesture operation during initialization.
Step S602, a scroll event of the root view container is monitored. When the Y-axis scrolling offset of the root view container is greater than the height of the top page display area, that is, when the user scrolls the root view container to move the top page display area out of the visible area, an instruction for scrolling to the bottom page display area is triggered. In the instruction, a parameter of the Y-axis offset is first introduced into the scrollTo function of the root view container, and the value of the Y-axis offset is the height of the top page display area, and then the scrollTo function is executed. The scrollTo function scrolls the root view container to the specified position such that the top page display area is just not visible in the display screen viewable area. In order to ensure that scrolling is performed normally and not interfered by user gesture operation, the scrollEnabled attribute of the root view container and the top page display area need to be set to false at the same time. And when the scrolling is finished, setting the scrollEnabled attribute of the bottom page display area to true, so that the user can operate the scrolling of the bottom page display area.
Note, however, that at this point the scrollEnabled property of the root view container is still false, i.e., the user cannot cause the root view container to scroll through gestures. If the scrollEnabled attribute of the root view container is "true" at this time, the user may control the root view container and the bottom page display area to scroll through gesture operation at the same time, which does not meet the psychological expectation of the user.
Step S603, a scroll event and a scroll end event of the bottom page display area are monitored. A threshold is set that triggers scrolling to the top of the root view container. In monitoring the rolling event, the following judgment is made: if the Y-axis scrolling offset of the bottom page display area is less than a threshold, prompting the user that "the pull down can be returned to the top"; if the Y-axis roll offset is greater than or equal to the threshold, the user is prompted to "top immediately after release".
When a scroll end event is monitored, namely when a user finger leaves the screen to finish the action of dragging the page to scroll, the following judgment is made: if the Y-axis roll offset is greater than or equal to the threshold, a command is directly triggered back to the top of the root container. In the instruction, firstly, a parameter of a Y-axis offset is introduced into a scrollTo function of a root view container, and the value of the Y-axis offset is the position of the top of the root view, namely a 0 value; and then execute the scrollTo function. In order to ensure that scrolling is performed normally and not interfered by user gesture operation, the scrollEnabled attribute of the root view container and the bottom page display area needs to be set to false at the same time. And when the scrolling is finished, setting the scrollEnabled attribute of the root view container to true, so that the user can operate the scrolling of the root view container. Note, however, that at this point the scrollEnabled attribute of the bottom page display area remains false, i.e., the user can only manipulate scrolling of the root view container, but not the bottom page display area.
According to the page display method in the sixth embodiment of the invention, the preset page display area corresponding to the information with low relevance to the page information is hidden, so that the user can conveniently and rapidly scroll and browse the page display area corresponding to the information with high relevance to the page information, and the efficiency of acquiring the key information in the page by the user and the scroll browsing efficiency of the page are improved; the hidden page display area is recovered by presetting a recovery display instruction, so that the hidden page display area is quickly recovered under the condition that a user needs to acquire the hidden page display area; the flexible configuration of different display areas of the page in the application program is realized, and the display efficiency of the page is effectively improved.
A seventh embodiment of the present invention is a page displaying apparatus, as shown in fig. 6, including the following components:
and the setting module 10 is configured to set the currently presented page as a plurality of page display areas based on preset page configuration information.
In this embodiment, the page configuration information may be page configuration information preset for each type of page in the application program, or page configuration information preset for each page in the application program, or page configuration information corresponding to each type of page issued by the server, or page configuration information corresponding to each page issued by the server. The server dynamically issues the page configuration information, so that the dynamic configuration of different page display areas in the page is realized, and the inconvenience that the application program configures different page display areas in the page by releasing a new installation version is avoided.
And a hiding module 20, configured to hide a set page display area, which has scrolled out of the display screen, in the multiple page display areas according to the page configuration information when the page is controlled to be scrolled and displayed.
In this embodiment, the setting display area is not specifically limited, and may be a navigation information area for displaying a category to which the web page belongs, a category navigation information area for displaying a dependency relationship with the category to which the web page belongs, an advertisement display area, or the like. Next, the number of the set page display areas is not limited, and may be one or more. The position of the page display area in the page is not specifically limited, and the page display area may be set in the top area of the page, the bottom area of the page, the left area of the page, the middle area of the page, or the right area of the page. Finally, the shape of the setting page display area is not particularly limited, and may be a regular geometric shape (for example, a rectangle) or an irregular geometric shape.
For example, the concealment module 20 may be configured to: and when the page is controlled to be scrolled and displayed, hiding the advertisement display area scrolled out of the display screen in the plurality of page display areas according to the page configuration information.
As another example, the concealment module 20 may be configured to: and when the page is controlled to be scrolled and displayed, hiding the navigation information area scrolled out of the display screen in the plurality of page display areas according to the page configuration information.
The display control of different page display areas is realized by hiding the set page display area which is rolled out of the display screen, the information with low relevance with the page information can be hidden under the condition of overlong page, the information with high relevance with the page information is only displayed, the user can conveniently and conveniently scroll and browse the information with high relevance with the page information, and the efficiency of acquiring the page information by the user and the scroll and browse efficiency of the page are improved.
According to the page display device in the seventh embodiment of the invention, the preset page display area corresponding to the information with low relevance to the page information is hidden, so that a user can conveniently and rapidly scroll and browse the page display area corresponding to the information with high relevance to the page information, and the efficiency of acquiring key information in a page by the user and the scroll browsing efficiency of the page are improved; the flexible configuration of different display areas of the page in the application program is realized, and the display efficiency of the page is effectively improved.
An eighth embodiment of the present invention is a page displaying apparatus, as shown in fig. 7, including the following components:
and the setting module 10 is configured to set the currently presented page as a plurality of page display areas based on preset page configuration information.
And a hiding module 20, configured to hide a set page display area, which has scrolled out of the display screen, in the multiple page display areas according to the page configuration information when the page is controlled to be scrolled and displayed.
The recovery module 30 is configured to present the hidden set page display area when receiving a preset recovery display instruction.
In this embodiment, the resume display instruction is not specifically limited, and the resume display instruction may be received by a resume display instruction button provided in the page, or may be received by a touch operation of setting a shape, a sliding direction, or a sliding stroke on the touch display screen.
For example, recovery module 30 may be configured to: and when a display restoring instruction received by triangular touch operation on the touch display screen is received, presenting the hidden navigation information area.
And under the condition that a preset display recovery instruction is received, presenting a hidden set page display area, and under the condition that a user acquires information in a page or the user wants to finish page browsing, presenting the hidden set page display area so that the user can control the page according to a control key or a navigation key or a jump link in the set page display area.
According to the page display device in the eighth embodiment of the invention, the preset page display area corresponding to the information with low relevance to the page information is hidden, so that a user can conveniently and rapidly scroll and browse the page display area corresponding to the information with high relevance to the page information, and the efficiency of acquiring key information in a page by the user and the scroll browsing efficiency of the page are improved; the hidden page display area is restored by presetting a restoration display instruction, so that the hidden page display area is quickly restored under the condition that a user needs to acquire the hidden page display area; the flexible configuration of different display areas of the page in the application program is realized, and the display efficiency of the page is effectively improved.
A ninth embodiment of the present invention, as shown in fig. 8, is a page display apparatus, including the following components:
the setting module 100 is configured to set a currently presented page as a plurality of page display areas based on preset page configuration information.
The hiding module 300 is configured to hide a set page display area, which has scrolled out of the display screen, in the multiple page display areas according to the page configuration information when the page is controlled to be scrolled and displayed.
The recovery module 400 is configured to present the hidden display area of the set page when receiving a preset recovery display instruction.
In this embodiment, the apparatus further comprises: the configuration module 200 is configured to set a display resuming instruction corresponding to each set page display area in the multiple page display areas according to the page configuration information.
Wherein, the number of the page display areas is set to be a plurality.
In this embodiment, the configuration module 200 may be triggered by the setup module 100 or triggered by the hidden module 300.
By setting the corresponding restoration display instruction for each set page display area, different hidden set page display areas can be restored and displayed through different restoration display instructions, and independent control of different set page display areas is achieved.
According to the page display device in the ninth embodiment of the present invention, by hiding the preset page display area corresponding to the information with low relevance to the page information, the user can conveniently and quickly scroll and browse the page display area corresponding to the information with high relevance to the page information, so that the efficiency of obtaining key information in the page by the user and the scroll browsing efficiency of the page are improved; the hidden page display area is recovered by presetting a recovery display instruction, so that the hidden page display area is quickly recovered under the condition that a user needs to acquire the hidden page display area; the flexible configuration of different display areas of the page in the application program is realized, and the display efficiency of the page is effectively improved.
A tenth embodiment of the present invention provides a page displaying apparatus, as shown in fig. 8, including the following components:
the setting module 100 is configured to set a currently presented page as a plurality of page display areas based on preset page configuration information.
The hiding module 300 is configured to hide a set page display area, which has scrolled out of the display screen, in the multiple page display areas according to the page configuration information when the page is controlled to be scrolled and displayed.
The recovery module 400 is configured to, when a recovery display instruction corresponding to any one of the set page display areas is received, present the hidden any one of the set page display areas.
By independently displaying and controlling different hidden set page display areas, a user can conveniently and respectively control the page display areas to be displayed, the flexible configuration of different display areas of the page in the application program is realized, and the page display efficiency is effectively improved.
In this embodiment, the apparatus further includes: the configuration module 200 is configured to set a display resuming instruction corresponding to each set page display area in the multiple page display areas according to the page configuration information.
Wherein, the number of the page display areas is set to be a plurality.
In this embodiment, the configuration module 200 may be triggered by the setup module 100 or triggered by the hidden module 300. According to the page display device in the tenth embodiment of the invention, the preset page display area corresponding to the information with low relevance to the page information is hidden, so that a user can conveniently and rapidly scroll and browse the page display area corresponding to the information with high relevance to the page information, and the efficiency of acquiring key information in a page by the user and the scroll browsing efficiency of the page are improved; the hidden page display area is restored by presetting a restoration display instruction, so that the hidden page display area is quickly restored under the condition that a user needs to acquire the hidden page display area; the flexible configuration of different display areas of the page in the application program is realized, and the display efficiency of the page is effectively improved.
An eleventh embodiment of the present invention is a page displaying apparatus, as shown in fig. 8, including the following components:
the setting module 100 is configured to set a currently presented page as a plurality of page display areas based on preset page configuration information.
The hiding module 300 is configured to hide a set page display area, which has scrolled out of the display screen, in the multiple page display areas according to the page configuration information when the page is controlled to be scrolled and displayed.
A restoring module 400, configured to detect a displacement distance by which a current edge of a presented page deviates from an edge of a display screen when the page is controlled to perform scrolling display in a direction opposite to a set page display area; wherein, the current edge of the page is connected with the set page display area; and under the condition that the displacement distance is detected to be larger than or equal to the set threshold value, presenting the hidden set page display area.
The set page display area is arranged in the edge area of the page.
Optionally, the recovery module 400 is specifically configured to:
when the control page is in rolling display towards the opposite direction of the set page display area, detecting the displacement distance of the current edge of the presented page deviating from the edge of the display screen; wherein, the current edge of the page is connected with the set page display area;
if the displacement distance is detected to be smaller than the set threshold value, prompting the user to continue the scrolling operation, and presenting the hidden set page display area;
if the displacement distance is detected to be larger than or equal to the set threshold value, prompting a user to stop the scrolling operation, and presenting the hidden set page display area;
the set page display area is arranged in the edge area of the page.
And under the condition that a preset display recovery instruction is received, presenting a hidden set page display area, and under the condition that a user acquires information in a page or the user wants to finish page browsing, presenting the hidden set page display area so that the user can control the page according to a control key or a navigation key or a jump link in the set page display area.
In this embodiment, the apparatus further comprises: the configuration module 200 is configured to set a display resuming instruction corresponding to each set page display area in the multiple page display areas according to the page configuration information.
Wherein, the number of the page display areas is set to be a plurality.
In this embodiment, the configuration module 200 may be triggered by the setup module 100 or triggered by the hidden module 300.
According to the page display device in the eleventh embodiment of the invention, by hiding the preset page display area corresponding to the information with low relevance to the page information, the user can conveniently and rapidly scroll and browse the page display area corresponding to the information with high relevance to the page information, so that the efficiency of acquiring key information in the page by the user and the scroll browsing efficiency of the page are improved; the hidden page display area is restored by presetting a restoration display instruction, so that the hidden page display area is quickly restored under the condition that a user needs to acquire the hidden page display area; the flexible configuration of different display areas of the page in the application program is realized, and the display efficiency of the page is effectively improved.
A twelfth embodiment of the present invention, a computer device, as shown in fig. 9, includes the following components:
a processor 501 and a memory 502. In some embodiments of the invention, the processor 501 and the memory 502 may be connected by a bus or other means.
Processor 501 may be a general-purpose Processor, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present invention. Wherein, the memory 502 is used for storing executable instructions of the processor 501;
a memory 502 for storing program code and transferring the program code to the processor 501. Memory 502 may include Volatile Memory (Volatile Memory), such as Random Access Memory (RAM); the Memory 502 may also include a Non-Volatile Memory (Non-Volatile Memory), such as a Read-Only Memory (ROM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, HDD), or a Solid-State Drive (SSD); the memory 502 may also comprise a combination of memories of the kind described above.
The processor 501 is configured to call the program code management code stored in the memory 502, and perform some or all of the steps in any of the first embodiment to the sixth embodiment of the present invention.
According to the computer device in the twelfth embodiment of the present invention, by hiding the preset page display area corresponding to the information with low relevance to the page information, the user can conveniently and quickly scroll and browse the page display area corresponding to the information with high relevance to the page information, so that the efficiency of obtaining the key information in the page by the user and the scroll and browse efficiency of the page are improved; the hidden page display area is restored by presetting a restoration display instruction, so that the hidden page display area is quickly restored under the condition that a user needs to acquire the hidden page display area; the flexible configuration of different display areas of the page in the application program is realized, and the display efficiency of the page is effectively improved.
A thirteenth embodiment of the present invention is a computer-readable storage medium.
The computer storage media may be RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage media known in the art.
The computer readable storage medium stores one or more programs which are executable by one or more processors to implement some or all of the steps in any of the first to sixth embodiments of the present invention.
The computer-readable storage medium according to the thirteenth embodiment of the present invention stores one or more programs, where the one or more programs are executable by one or more processors, and can facilitate a user to conveniently and quickly scroll and browse a page display area corresponding to information with high relevance to page information by hiding a preset page display area corresponding to information with low relevance to page information, thereby improving efficiency of obtaining key information in a page by the user and efficiency of scrolling and browsing a page; the hidden page display area is recovered by presetting a recovery display instruction, so that the hidden page display area is quickly recovered under the condition that a user needs to acquire the hidden page display area; the flexible configuration of different display areas of the page in the application program is realized, and the display efficiency of the page is effectively improved.
It should be noted that, in this document, 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 like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the particular illustrative embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but is intended to cover various modifications, equivalent arrangements, and equivalents thereof, which may be made by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (6)

1. A page display method is characterized by comprising the following steps:
receiving page configuration information dynamically issued by a server, and setting a currently presented page as a plurality of page display areas based on the page configuration information;
when the page is controlled to be displayed in a rolling mode, hiding a set page display area of the display screen which is rolled out from the plurality of page display areas according to the page configuration information; the number of the set page display areas is multiple;
setting a display restoring instruction corresponding to each set page display area according to the page configuration information;
and when a display recovery instruction corresponding to any set page display area is received, presenting the hidden any set page display area.
2. The method according to claim 1, wherein if the set page display area is located in an edge area of the page, the presenting the hidden set page display area when receiving a preset display resuming instruction specifically includes:
when the page is controlled to be displayed in a rolling mode in the direction opposite to the set page display area, detecting the displacement distance of the current edge of the presented page deviating from the edge of the display screen; wherein the current edge is connected with the set page display area;
and presenting the hidden setting page display area under the condition that the displacement distance is detected to be larger than or equal to a setting threshold value.
3. A page display apparatus, comprising:
the setting module is used for receiving page configuration information dynamically issued by the server and setting a currently presented page into a plurality of page display areas based on the page configuration information;
the hiding module is used for hiding a set page display area of the display screen which is scrolled out of the multiple page display areas according to the page configuration information when the page is controlled to be scrolled and displayed; the number of the set page display areas is multiple;
the configuration module is used for setting a display recovery instruction corresponding to each set page display area according to the page configuration information;
and the recovery module is used for presenting the hidden display area of any set page when a recovery display instruction corresponding to the display area of any set page is received.
4. The apparatus of claim 3, wherein if the set page display area is located in an edge area of the page, the recovery module is specifically configured to:
when the page is controlled to be displayed in a rolling mode in the direction opposite to the set page display area, detecting the displacement distance of the current edge of the presented page deviating from the edge of the display screen; wherein the current edge is connected with the set page display area;
and presenting the hidden setting page display area under the condition that the displacement distance is detected to be larger than or equal to a setting threshold value.
5. A computer device, wherein the computer device comprises a processor and a memory; the processor is used for executing a page display program stored in the memory to realize the steps of the page display method according to any one of claims 1-2.
6. A computer readable storage medium, storing one or more programs, which are executable by one or more processors, for performing the steps of the page presentation method according to any one of claims 1-2.
CN201811101428.XA 2018-09-20 2018-09-20 Page display method and device, computer equipment and computer readable storage medium Active CN109375973B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811101428.XA CN109375973B (en) 2018-09-20 2018-09-20 Page display method and device, computer equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811101428.XA CN109375973B (en) 2018-09-20 2018-09-20 Page display method and device, computer equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109375973A CN109375973A (en) 2019-02-22
CN109375973B true CN109375973B (en) 2022-09-02

Family

ID=65405710

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811101428.XA Active CN109375973B (en) 2018-09-20 2018-09-20 Page display method and device, computer equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109375973B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112579851B (en) * 2019-09-29 2024-07-26 北京国双科技有限公司 Page content crawling method and device, storage medium and equipment
CN110806872A (en) * 2019-10-29 2020-02-18 爱钱进(北京)信息科技有限公司 Webpage content display method and device and storage medium
CN110955849B (en) * 2019-11-29 2021-01-01 拉扎斯网络科技(上海)有限公司 Object display method and device, electronic equipment and computer readable storage medium
CN111026993A (en) * 2019-12-26 2020-04-17 政采云有限公司 Method and related device for displaying options of webpage selection frame
CN112987992B (en) * 2021-03-09 2022-08-05 北京金山云网络技术有限公司 Navigation element display method and device and electronic equipment
CN114296852B (en) * 2021-12-28 2024-08-23 挂号网(杭州)科技有限公司 Method and device for displaying target page, electronic equipment and storage medium
CN114816635A (en) * 2022-04-26 2022-07-29 北京金堤科技有限公司 Page display method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004092338A2 (en) * 2003-04-11 2004-10-28 Diadexus, Inc. Compositions, splice variants and methods relating to cancer specific genes and proteins
CN101859230A (en) * 2010-06-23 2010-10-13 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for controlling display interface
CN102184075A (en) * 2011-05-12 2011-09-14 北京瑞信在线系统技术有限公司 User interface display method and device
CN105677893A (en) * 2016-02-02 2016-06-15 深圳市万普拉斯科技有限公司 Web page display method and device
CN107153704A (en) * 2017-05-11 2017-09-12 腾讯科技(深圳)有限公司 A kind of page display method and its equipment, storage medium, terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8689132B2 (en) * 2007-01-07 2014-04-01 Apple Inc. Portable electronic device, method, and graphical user interface for displaying electronic documents and lists
US7877702B2 (en) * 2007-11-20 2011-01-25 International Business Machines Corporation Tree widget data population
CN104346028B (en) * 2013-07-31 2019-02-26 腾讯科技(深圳)有限公司 Address field display methods, device and mobile terminal
CN103678646A (en) * 2013-12-20 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and device for presenting pages
CN103986962B (en) * 2014-06-03 2016-03-02 合一网络技术(北京)有限公司 Show the method and system of floated broadcast window
CN107402962B (en) * 2017-06-16 2020-09-22 浙江口碑网络技术有限公司 Page display method and device
CN107783714B (en) * 2017-10-13 2021-03-23 北京乐蜜科技有限责任公司 Page display method and device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004092338A2 (en) * 2003-04-11 2004-10-28 Diadexus, Inc. Compositions, splice variants and methods relating to cancer specific genes and proteins
CN101859230A (en) * 2010-06-23 2010-10-13 宇龙计算机通信科技(深圳)有限公司 Method, system and mobile terminal for controlling display interface
CN102184075A (en) * 2011-05-12 2011-09-14 北京瑞信在线系统技术有限公司 User interface display method and device
CN105677893A (en) * 2016-02-02 2016-06-15 深圳市万普拉斯科技有限公司 Web page display method and device
CN107153704A (en) * 2017-05-11 2017-09-12 腾讯科技(深圳)有限公司 A kind of page display method and its equipment, storage medium, terminal

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
"Targeting tablet devices with a template-based column layout approach";István Albert.etc;《2012 IEEE 10th Jubilee International Symposium on Intelligent Systems and Informatics》;20121025;第129-134页 *
"基于Android平台webkit核心的浏览器的设计与实现";高胜寒;《中国优秀硕士学位论文全文数据库 信息科技辑》;20130115;I138-389 *
"面向用户体验的网页界面优化设计方法研究";陈烨;《中国优秀硕士学位论文全文数据库 信息科技辑》;20110315;I139-412 *

Also Published As

Publication number Publication date
CN109375973A (en) 2019-02-22

Similar Documents

Publication Publication Date Title
CN109375973B (en) Page display method and device, computer equipment and computer readable storage medium
EP2754025B1 (en) Pinch to adjust
US11379108B2 (en) Display controlling method, terminal, information processing apparatus, and storage medium
WO2020000969A1 (en) Method and device for controlling information flow display panel, terminal apparatus, and storage medium
US20180276228A1 (en) Page loading method and system, and computer-readable storage medium
EP2854372B1 (en) Method and device for displaying pushed information
US8769403B2 (en) Selection-based resizing for advanced scrolling of display items
CN108829327B (en) Writing method and device of interactive intelligent equipment
CN111625163B (en) Display equipment and application program interface display method
CN105373326B (en) Data processing system and method
JP6828150B2 (en) Screen display method and terminal
CN107613117A (en) A kind of interface display method and mobile terminal based on multitask
US20120272183A1 (en) Jump to top/jump to bottom scroll widgets
CN102654822A (en) Display method, display device and terminal
CN104992094A (en) Terminal operation method and terminal
US10331327B2 (en) Message display method, apparatus and terminal
CN106547429B (en) Display method and device for electronic terminal
CN105488051B (en) Webpage processing method and device
CN109697004B (en) Method, device and equipment for writing annotation by touch equipment and storage medium
US20150121302A1 (en) Information processing methods and electronic devices
WO2022242542A1 (en) Application icon management method and electronic device
CN111143731B (en) Display method and device for webpage interface zooming and terminal equipment
CN107340955B (en) Method and device for acquiring position information of view after position change on screen
CN110007831B (en) Page turning control method and device and terminal equipment
US20140351745A1 (en) Content navigation having a selection function and visual indicator thereof

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