CN112988014A - Page turning processing method, computing device and storage medium - Google Patents

Page turning processing method, computing device and storage medium Download PDF

Info

Publication number
CN112988014A
CN112988014A CN202110343461.9A CN202110343461A CN112988014A CN 112988014 A CN112988014 A CN 112988014A CN 202110343461 A CN202110343461 A CN 202110343461A CN 112988014 A CN112988014 A CN 112988014A
Authority
CN
China
Prior art keywords
page
control
sliding operation
page turning
display
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
CN202110343461.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.)
Ireader Technology Co Ltd
Original Assignee
Ireader 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 Ireader Technology Co Ltd filed Critical Ireader Technology Co Ltd
Priority to CN202110343461.9A priority Critical patent/CN112988014A/en
Publication of CN112988014A publication Critical patent/CN112988014A/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/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
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a page turning processing method, a computing device and a storage medium, wherein the page turning processing method is executed by a preset container, the preset container is used for working in combination with a scrollable control, and the method comprises the following steps: monitoring sliding operation executed by a user, and determining a display page corresponding to the sliding operation; intercepting the sliding response of the system to the sliding operation, and mapping the sliding operation into a corresponding page turning operation instruction; calling a scrollable control, and performing paging processing on the display page; and responding to the page turning operation instruction, and displaying the result after the page turning processing page by page. According to the technical scheme provided by the invention, the sliding operation of the user is mapped into the corresponding page turning operation instruction, the scrollable control is called, the page turning processing is carried out on the display page, the corresponding display content is updated and displayed in a page turning mode, the screen refreshing frequency is reduced, and the problem of screen flickering ghost when the content is displayed by the equipment is conveniently and effectively solved.

Description

Page turning processing method, computing device and storage medium
Technical Field
The invention relates to the technical field of information processing, in particular to a page turning processing method, a computing device and a storage medium.
Background
The electronic ink screen is a screen which does not emit light and realizes the display effect by depending on external reflection, the display effect of the electronic ink screen is very similar to that of a paper material, and the electronic ink screen can be compared with the experience of reading of the paper material. The existing display content mostly adopts layout styles such as waterfall streaming type and the like, and the content can be refreshed and displayed along with the sliding operation of a user. However, the electronic ink screen has a problem of low refresh frequency due to the display principle, and in the sliding operation process of the user, the electronic ink screen device can have serious screen flickering ghost, which seriously affects the reading experience of the user. How to conveniently avoid the phenomenon that the screen flashes and ghosts appear when the device displays contents becomes a problem which needs to be solved urgently.
Disclosure of Invention
In view of the above, the present invention has been made to provide a page turning processing method, a computing device, and a storage medium that overcome or at least partially solve the above-mentioned problems.
According to an aspect of the present invention, there is provided a page turning processing method, performed by a preset container, the preset container being configured to work in conjunction with a scrollable control, the method including:
monitoring sliding operation executed by a user, and determining a display page corresponding to the sliding operation;
intercepting the sliding response of the system to the sliding operation, and mapping the sliding operation into a corresponding page turning operation instruction;
calling a scrollable control, and performing paging processing on the display page;
and responding to the page turning operation instruction, and displaying the result after the page turning processing page by page.
According to another aspect of the present invention, there is provided a computing device comprising: the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the following operations:
monitoring sliding operation executed by a user, and determining a display page corresponding to the sliding operation;
intercepting the sliding response of the system to the sliding operation, and mapping the sliding operation into a corresponding page turning operation instruction;
calling a scrollable control, and performing paging processing on the display page;
and responding to the page turning operation instruction, and displaying the result after the page turning processing page by page.
According to another aspect of the embodiments of the present invention, there is provided a computer storage medium, in which at least one executable instruction is stored, and the executable instruction causes a processor to perform an operation corresponding to the page turning processing method.
According to the technical scheme provided by the invention, a preset container is utilized to work in combination with a scrollable control, the sliding operation of a user is monitored, a display page corresponding to the sliding operation is determined, the sliding response of a system to the sliding operation is intercepted, the sliding operation is mapped into a corresponding page turning operation instruction, the scrollable control is called, the display page is subjected to paging processing, and the corresponding display content is updated and displayed in a page turning mode, so that the screen refreshing frequency is reduced, and the problem of screen flickering ghost when the device displays the content is conveniently and effectively solved; and the method is simple in implementation mode and applicable to various application programs, when the application programs need to be adapted to the electronic ink screen equipment, the preset container is utilized to work in combination with corresponding scrollable controls in the application programs, and the problem of screen flickering and ghosting can be solved while the small migration cost is realized.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a page turning processing method according to a first embodiment of the present invention;
FIG. 2a is a flowchart illustrating a page turning processing method according to a second embodiment of the present invention;
FIG. 2b shows a first schematic view of a book catalog page;
FIG. 2c is a second diagram of a book information introduction page;
FIG. 2d shows a schematic diagram three of a bookshelf page;
FIG. 2e shows a diagram four of a bookshelf page;
fig. 3 is a schematic structural diagram of a computing device according to a fourth embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
In order to conveniently solve the problem that a screen flash ghost occurs when the electronic ink screen device displays content, the inventor researches and discovers that in the prior art, the content is generally arranged or set by using a scrollable control, and a frame-type preset container is designed based on the content, the preset container is used for working in combination with the scrollable control, specifically, the scrollable control can be packaged in the preset container, the scrollable control can be a recyclewew control, a ScrollView control, a ListView control or a WebView control, and the scrollable control can also be other controls supporting scrolling, and the limitation is not made here. The invention provides a page turning processing method executed by a preset container, which monitors sliding operation executed by a user on a screen by using the preset container and determines a display page corresponding to the sliding operation, after the sliding operation is monitored, the sliding operation is not directly downloaded to a scrollable control, but the sliding operation is mapped into a corresponding page turning operation instruction, and then the scrollable control is called to perform paging processing on the display page, so that the corresponding display content is updated and displayed in a page turning mode, the screen refreshing frequency is reduced, and the problem of screen flickering ghosting when the content is displayed by equipment is conveniently and effectively solved. The page turning processing method provided by the invention is explained by a specific embodiment.
Example one
Fig. 1 is a flowchart illustrating a page turning processing method according to a first embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
step S101, monitoring the sliding operation executed by the user, and determining the display page corresponding to the sliding operation.
When a user needs to switch the current display content in the screen, the user can execute a sliding operation on the touch screen of the device through a finger, an electronic pen or the like, and a page targeted by the sliding operation is determined as a display page corresponding to the sliding operation. In this embodiment, the preset container works in conjunction with the scrollable control, and the sliding operation performed by the user can be monitored conveniently by using the preset container.
And S102, intercepting the sliding response of the system to the sliding operation, and mapping the sliding operation to a corresponding page turning operation instruction.
Generally, a scrollable control is used to perform layout or setting on content, and in the prior art, after a sliding operation is received, a system directly responds according to a control response mechanism corresponding to the scrollable control, and refreshes corresponding content to be displayed according to a sliding distance corresponding to the sliding operation, that is, refreshes a piece of content when the system slides for a certain distance. In this embodiment, after the sliding operation is monitored, the sliding response of the system to the sliding operation may be intercepted by not downloading the sliding operation to the scrollable control, and the sliding operation is mapped to a corresponding page turning operation instruction. Specifically, a help class corresponding to the scrollable control is set in the preset container, and after the sliding operation is monitored, the sliding operation is mapped to a corresponding page turning operation instruction through the help class.
And step S103, calling the scrollable control, and paging the display page.
After the page turning operation instruction is obtained through mapping, the scrollable control is called, and paging processing is performed on the displayed page, for example, the starting position and the ending position of the content corresponding to the page to be displayed or each page are determined, the typesetting style of the page is determined, and the result after paging processing is obtained.
And step S104, responding to the page turning operation instruction, and displaying the processed results page by page.
After the page is paged, the page-by-page processed result can be displayed page by page according to the original control response mechanism of the scrollable control in response to the page-turning operation instruction. The method can update and display the corresponding display content in a page turning mode without modifying the original control response mechanism of the scrollable control, reduces the screen refreshing times, and conveniently and effectively solves the problem that the screen flashes and ghosts appear when the equipment displays the content.
According to the page turning processing method provided by the embodiment, a preset container is utilized to work in combination with a scrollable control, the sliding operation of a user is monitored, a display page corresponding to the sliding operation is determined, the sliding response of a system to the sliding operation is intercepted, the sliding operation is mapped into a corresponding page turning operation instruction, the scrollable control is called, the page turning processing is carried out on the display page, the corresponding display content is updated and displayed in a page turning mode, the screen refreshing frequency is reduced, and the problem that a screen flickering ghost appears when the content is displayed by equipment is conveniently and effectively solved; and the method is simple in implementation mode and applicable to various application programs, when the application programs need to be adapted to the electronic ink screen equipment, the preset container is utilized to work in combination with corresponding scrollable controls in the application programs, and the problem of screen flickering and ghosting can be solved while the small migration cost is realized.
Example two
Fig. 2a is a schematic flowchart illustrating a page turning processing method according to a second embodiment of the present invention, and as shown in fig. 2a, the method includes the following steps:
step S201, a first sliding operation performed by a user for a currently displayed content in the scrollable control is monitored, and a display page corresponding to the first sliding operation is determined.
Specifically, the scrollable control is used for laying out or setting the content, in order to facilitate that the preset container can work in combination with the scrollable control, the scrollable control can be packaged in the preset container, and the scrollable control includes any one of the following controls: a RecycleView control, a ScrollView control, a ListView control, or a WebView control. In addition, the scrollable control may also be other controls supporting scrolling, and a person skilled in the art may set the scrollable control according to actual needs, which is not limited herein.
Since the scrollable control is packaged in the preset container, the preset container can conveniently monitor the sliding operation performed by the user on the currently displayed content in the scrollable control. When a user needs to switch the currently displayed content in the scrollable control displayed on the screen, the user can perform a sliding operation on the currently displayed content in the scrollable control through a finger, an electronic pen, or the like. For convenience of distinguishing from the sliding operation performed on the scroll bar hereinafter, in the present embodiment, the sliding operation performed on the currently displayed content in the scrollable control is referred to as a first sliding operation, and the sliding operation performed on the scroll bar is referred to as a second sliding operation. In step S201, a first sliding operation of the user is monitored by using a preset container, and since the first sliding operation is directed to the currently displayed content, a page corresponding to the currently displayed content (i.e., a page for displaying a scrollable control) is determined as a display page corresponding to the first sliding operation. For example, if the currently displayed content belongs to a book directory page, the book directory page is determined as the display page corresponding to the first sliding operation.
Step S202, intercepting the sliding response of the system to the first sliding operation, and mapping the first sliding operation to a corresponding page turning operation instruction.
After listening for the first swipe operation, a swipe response of the system to the first swipe operation can be intercepted by not downloading the first swipe operation to the scrollable control. The method comprises the steps that a help class corresponding to a scrollable control is arranged in a preset container, after a first sliding operation is monitored, the first sliding operation can be identified through the help class corresponding to the scrollable control, whether the first sliding operation is an upward sliding operation or a downward sliding operation is identified, and then the first sliding operation is mapped to be a corresponding page turning operation instruction according to an identification result. Specifically, if the first sliding operation is an upward sliding operation, which indicates that the user wants to view the content at the back, the first sliding operation may be mapped to a downward page-turning operation instruction; if the first sliding operation is a downward sliding operation, which indicates that the user wants to view the content at the front, the first sliding operation may be mapped to a page-up operation instruction.
Step S203, the scrollable control is called through the help class corresponding to the scrollable control, and the displayed page is subjected to paging processing.
After the page turning operation instruction is obtained through mapping, the scrollable control can be called through the help class corresponding to the scrollable control according to the page turning operation instruction, paging processing is carried out on the displayed page, in the paging processing process, the initial position, the ending position and the like of the page to be displayed or the content corresponding to each page can be determined specifically according to the original control response mechanism of the scrollable control, the typesetting style of the page is determined, and therefore the result after the paging processing is obtained.
Specifically, the display page may be paged according to the specific type of the scrollable control, the page turning requirement, and the like, and the start position of the content corresponding to the paging may be determined. Taking a scrollable control included in a display page as a recycle view control as an example, the recycle view control can support anchor point positioning, divide contents contained in the recycle view control into a plurality of content areas according to an arrangement sequence, and set a corresponding anchor point for each content area, wherein each anchor point is used for being linked to one content area of the recycle view control. If the content in the content area corresponding to a certain anchor point is not completely displayed in the current display content of the RecycleView control, taking the anchor point as the initial position of the content of the next page; and if the content in the content area corresponding to a certain anchor point is not completely displayed, taking the next anchor point of the currently displayed content as the initial position of the content of the next page. For the initial position of the content of the previous page, the anchor point corresponding to the initial position of the content of the previous page can be determined according to the initial anchor point of the currently displayed content, the height of the content area corresponding to the anchor point positioned before the initial anchor point and the height of the content display area of the preset container. That is to say, when the display content of the scrollable control is located by the anchor point, during the paging process, part of the content in the content area corresponding to the anchor point is not used as the start of paging, but all the content in the content area corresponding to the anchor point is used as the start of paging, so that the content area which is not completely displayed in the previous paging is completely displayed in the current paging, so that the user can view the content completely. In step S203, for the content included in the cycleview control, the start position, the end position, and the like of the content corresponding to each page may be sequentially determined according to the processing manner.
Taking the page turning requirement as an example of the continuous display requirement, the position of the next component (e.g., characters, pictures, etc.) of the currently displayed content of the scrollable control may be used as the starting position of the content of the next page, and the position of the last component of the currently displayed content of the scrollable control may be used as the starting position of the content to be displayed of the previous page. In this processing manner, the start position, the end position, and the like of the content corresponding to each page may be determined in sequence.
And step S204, responding to the page turning operation instruction, and displaying the processed results page by page.
After the page is paged, the page-by-page processed result can be displayed page by page according to the original control response mechanism of the scrollable control in response to the page-turning operation instruction, so that the corresponding display content is updated and displayed in a page-turning manner.
Optionally, the preset container further comprises: a scroll bar overlaid on top of the displayed page. The display page comprises a scrollable control, and when the height of all the contents contained in the scrollable control is larger than that of a content display area of a preset container, which indicates that the size of the content display area of the preset container is not enough to display all the contents contained in the scrollable control at one time, the scroll bar is displayed, so that a user can interact with the scroll bar to quickly control the replacement of the displayed contents; when the height of all the contents contained in the scrollable control is smaller than or equal to the height of the content display area of the preset container, it is indicated that the size of the content display area of the preset container is enough to display all the contents contained in the scrollable control at one time, and the scroll bar is not required to be displayed. In addition, the display page may be a page displayed on the whole screen of the screen, or may also be a pop-up window page, and those skilled in the art may set the display page according to actual needs, which is not limited herein.
Fig. 2b shows a schematic diagram i of a book directory page, as shown in fig. 2b, the book directory page is a page displayed on the whole screen, a scroll bar 21 is displayed on the page, specifically, at the left side position, and a user can quickly control the replacement of the directory by sliding the scroll bar 21. Fig. 2c shows a schematic diagram two of a book information introduction page, as shown in fig. 2c, the book information introduction page is a pop-up page, a scroll bar 23 is displayed on the pop-up page, and a user can quickly control the change of book information by sliding the scroll bar 23.
Optionally, the method further comprises: step S205-step S206.
Step S205, monitoring a second sliding operation performed by the user with respect to the scroll bar, and determining a display page corresponding to the second sliding operation.
When the preset container displays the scroll bar on the display page, the user can quickly control the replacement of the display content of the scrollable control in the display page by sliding the scroll bar. Specifically, the user may perform the second sliding operation with respect to the scroll bar by a finger, an electronic pen, or the like. In step S205, a preset container is used to monitor a second sliding operation of the user, and the display page covered by the scroll bar is determined as the display page corresponding to the second sliding operation.
And step S206, intercepting the sliding response of the system to the second sliding operation, and mapping the second sliding operation to a corresponding page turning operation instruction.
After the second sliding operation is monitored, the sliding response of the system to the second sliding operation is intercepted by not downloading the second sliding operation to the scrollable control, and then the second sliding operation for the scroll bar can be mapped to a corresponding page turning operation instruction through a help class corresponding to the scrollable control. According to the heights of all the contents contained in the scrollable control, the corresponding relation between the positions of the scroll bars and the positions of the contents contained in the scrollable control is preset. The second sliding operation corresponds to a starting position and an ending position, and the starting position of the content to be displayed of the display page can be obtained according to the ending position of the second sliding operation; and mapping the second sliding operation to a page turning operation instruction corresponding to the initial position of the content to be displayed, wherein the page turning operation instruction is specifically a page turning operation instruction taking the initial position of the content to be displayed as a page turning initial position.
After the page turning operation instruction is obtained through mapping, step S203 and step S204 are executed, the scrollable control is called through the help class corresponding to the scrollable control, page division processing is performed on the displayed page, and in response to the page turning operation instruction, the page-by-page display is performed on the result after the page division processing.
Taking the scrollable control as a recycle view control as an example, a corresponding relationship between the position of the scroll bar and the position of the content contained in the recycle view control may be preset, if the user slides the scroll bar to realize page turning, during specific implementation, the anchor point to which the content corresponding to the end position of the second sliding operation belongs may be used as the start position of the content to be displayed on the display page, and the page turning operation instruction obtained by mapping is specifically a page turning operation instruction taking the start position of the content to be displayed as the page turning start position.
Taking the page turning requirement as an example of a continuous display requirement, a corresponding relationship between the position of the scroll bar and the positions of the components (such as characters, pictures and the like) in the content of the scrollable control can be preset, if the user slides the scroll bar to turn the page, during specific implementation, the position of the component corresponding to the end position of the second sliding operation can be used as the start position of the content to be displayed of the display page, and the mapped page turning operation instruction is specifically a page turning operation instruction taking the start position of the content to be displayed as the page turning start position.
Optionally, the method may further comprise: step S207, updating the display position of the scroll bar according to the starting position of the content to be displayed on the display page. No matter the user executes the sliding operation aiming at the current display content of the scrollable control or the scroll bar, the display position of the scroll bar is updated in real time according to the initial position of the content to be displayed of the display page, so that the display position of the scroll bar and the display progress of the content in the display page can be kept synchronous, and the user can conveniently check the content.
Optionally, the preset container further comprises: a bottom control bar displayed in a lower area of the display page. The bottom control fence includes: and page up and down control options, wherein the page up and down control options may include a page up control option and a page down control option. The method then further comprises: and calling an execution body corresponding to the up-down page turning control option for execution in response to the interactive trigger operation of the user for the up-down page turning control option. The method comprises the steps that an execution body corresponding to a vertical page turning control option is arranged in a preset container, after the interactive triggering operation of a user for the vertical page turning control option is detected, the execution body corresponding to the vertical page turning control option is called, the execution body executes a corresponding page turning action, and the page-by-page display is carried out on the result after page turning processing.
Optionally, for the convenience of the user, the bottom control bar may further include: other function control options. Those skilled in the art can set the specific content of other function control options according to the actual scene needs, and is not limited herein. The method further comprises the following steps: and calling the executive bodies corresponding to the other function control options for execution in response to the interactive trigger operation of the user for the other function control options. Specifically, the preset container is provided with a bottom control bar and API interfaces for other function control options in the bottom control bar, and when other function control options are required to be provided in the bottom control bar, the external part only needs to call the API interfaces and provide corresponding executors. When detecting that the user interacts with other function control options by clicking and the like, responding to the interaction triggering operation of the user aiming at the other function control options, calling the executive bodies corresponding to the other function control options, and executing corresponding function actions by the executive bodies.
As shown in FIG. 2b, the bottom control bar 22 is displayed in the lower region of the book catalog page, and the bottom control bar 22 includes a "chapter screen" function control option, a "go to the book town" function control option, an up-page control option, and a down-page control option, wherein the up-page control option is represented by a "A" symbol, and the down-page control option is represented by a "V-cut" symbol. The user can screen the chapters displayed in the book directory page by clicking the chapter screening function control option, quickly jumps to the page of the book city by clicking the chapter returning function control option, and turns pages by clicking the page turning up or down function control option. As further shown in fig. 2c, the bottom control bar 24 is displayed in the lower area of the book information introduction page, and the bottom control bar 24 includes a page up control option and a page down control option.
In addition, fig. 2d shows a schematic diagram three of a bookshelf page, as shown in fig. 2d, a scroll bar 25 is displayed on the bookshelf page, and a user can quickly control the replacement of the bookshelf page by sliding the scroll bar 25. The bottom control bar 26 is displayed in the lower region of the bookshelf page, and the bottom control bar 26 includes a page up control option and a page down control option. When a user wants to sort books in the bookshelves, the user can click the "sorting bookshelves" control option on the upper left of the page to enter the bookshelves sorting state, the bookshelves in the bookshelves sorting state may be as shown in fig. 2e, in this state, the bottom control bar 26 further includes a "move to" function control option and a "delete" function control option, and at this time, the "move to" function control option and the "delete" function control option are in an unavailable state and are displayed in gray. The book to be sorted can be selected by clicking the selection control on the book cover by a user, after the book to be sorted is selected, the function control option of 'moving to' and the function control option of 'deleting' are changed from an unavailable state to an available state and displayed in black, then the book to be sorted can be moved to other positions by clicking the function control option of 'moving to', and the book to be sorted can be quickly deleted from the bookshelf page by clicking the function control option of 'deleting'.
According to the page turning processing method provided by the embodiment, the preset container is utilized to monitor the sliding operation executed by the user aiming at the current display content or the scroll bar of the scrollable control and intercept the sliding response of the system to the sliding operation, the sliding operation is mapped into the corresponding page turning operation instruction, the scrollable control is called, the page turning processing is carried out on the display page, the corresponding display content is updated and displayed in a page turning mode, the screen refreshing frequency is reduced, and the problem that the screen flickering ghost appears when the content is displayed by the equipment is conveniently and effectively solved; in addition, a bottom control bar is also provided, so that function control options can be conveniently set in the bottom control bar, the functions of the bottom control bar are greatly enriched, the use by a user is facilitated, and the full utilization of the bottom control bar area is realized; the method is simple in implementation mode, when the application program needs to be adapted to the electronic ink screen device, the preset container is utilized to work in combination with the corresponding scrollable control in the application program, the problem of screen flickering ghost shadow can be conveniently solved, meanwhile, the small transfer cost is achieved, and the method has high practical value.
EXAMPLE III
The third embodiment of the present invention provides a nonvolatile storage medium, where the storage medium stores at least one executable instruction, and the executable instruction may execute the page turning processing method in any of the above method embodiments. The method may be performed by a preset container for working in conjunction with a scrollable control.
The executable instructions may be specifically configured to cause the processor to: monitoring sliding operation executed by a user, and determining a display page corresponding to the sliding operation; intercepting the sliding response of the system to the sliding operation, and mapping the sliding operation into a corresponding page turning operation instruction; calling a scrollable control, and performing paging processing on the display page; and responding to the page turning operation instruction, and displaying the result after the page turning processing page by page.
In an alternative embodiment, the executable instructions further cause the processor to: monitoring a first sliding operation executed by a user aiming at the current display content in the scrollable control; if the first sliding operation is an upward sliding operation, mapping to be a downward page turning operation instruction; and if the first sliding operation is a downward sliding operation, mapping to be an upward page turning operation instruction.
In an alternative embodiment, the priming container further comprises: a scroll bar overlaid over the displayed page; the executable instructions further cause the processor to: monitoring a second sliding operation executed by the user aiming at the scroll bar; obtaining the initial position of the content to be displayed of the display page according to the termination position of the second sliding operation; and mapping the second sliding operation to be a page turning operation instruction corresponding to the initial position.
In an alternative embodiment, the executable instructions further cause the processor to: and updating the display position of the scroll bar according to the initial position of the content to be displayed of the display page.
In an alternative embodiment, the executable instructions further cause the processor to: and calling the scrollable control through the help class corresponding to the scrollable control, and paging the display page.
In an alternative embodiment, the scrollable control comprises any one of the following controls: a RecycleView control, a ScrollView control, a ListView control, or a WebView control.
In an alternative embodiment, the priming container further comprises: a bottom control bar displayed in a lower area of the display page; the bottom control fence includes: page up and down control options; the executable instructions further cause the processor to: and calling an execution body corresponding to the up-down page turning control option for execution in response to the interactive trigger operation of the user for the up-down page turning control option.
In an alternative embodiment, the bottom control bar further comprises: other function control options; the executable instructions further cause the processor to: and calling the executive bodies corresponding to the other function control options for execution in response to the interactive trigger operation of the user for the other function control options.
Example four
Fig. 3 is a schematic structural diagram of a computing device according to a fourth embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the computing device.
As shown in fig. 3, the computing device may include: a processor (processor)302, a communication Interface 304, a memory 306, and a communication bus 308.
Wherein:
the processor 302, communication interface 304, and memory 306 communicate with each other via a communication bus 308.
A communication interface 304 for communicating with network elements of other devices, such as clients or other servers.
The processor 302 is configured to execute the program 310, and may specifically execute relevant steps in the above-described page turning processing method embodiment.
In particular, program 310 may include program code comprising computer operating instructions.
The processor 302 may be a central processing unit CPU, or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement an embodiment of the present invention. The computing device includes one or more processors, which may be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 306 for storing a program 310. Memory 306 may comprise high-speed RAM memory and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 310 may specifically be configured to cause the processor 302 to perform the following operations: monitoring sliding operation executed by a user, and determining a display page corresponding to the sliding operation; intercepting the sliding response of the system to the sliding operation, and mapping the sliding operation into a corresponding page turning operation instruction; calling a scrollable control, and performing paging processing on the display page; and responding to the page turning operation instruction, and displaying the result after the page turning processing page by page.
In an alternative embodiment, program 310 further causes processor 302 to: monitoring a first sliding operation executed by a user aiming at the current display content in the scrollable control; if the first sliding operation is an upward sliding operation, mapping to be a downward page turning operation instruction; and if the first sliding operation is a downward sliding operation, mapping to be an upward page turning operation instruction.
In an alternative embodiment, the priming container further comprises: a scroll bar overlaid over the displayed page; program 310 further causes processor 302 to perform the following: monitoring a second sliding operation executed by the user aiming at the scroll bar; obtaining the initial position of the content to be displayed of the display page according to the termination position of the second sliding operation; and mapping the second sliding operation to be a page turning operation instruction corresponding to the initial position.
In an alternative embodiment, program 310 further causes processor 302 to: and updating the display position of the scroll bar according to the initial position of the content to be displayed of the display page.
In an alternative embodiment, program 310 further causes processor 302 to: and calling the scrollable control through the help class corresponding to the scrollable control, and paging the display page.
In an alternative embodiment, the scrollable control comprises any one of the following controls: a RecycleView control, a ScrollView control, a ListView control, or a WebView control.
In an alternative embodiment, the priming container further comprises: a bottom control bar displayed in a lower area of the display page; the bottom control fence includes: page up and down control options; program 310 further causes processor 302 to perform the following: and calling an execution body corresponding to the up-down page turning control option for execution in response to the interactive trigger operation of the user for the up-down page turning control option.
In an alternative embodiment, the bottom control bar further comprises: other function control options; program 310 further causes processor 302 to perform the following: and calling the executive bodies corresponding to the other function control options for execution in response to the interactive trigger operation of the user for the other function control options.
For specific implementation of each step in the program 310, reference may be made to the description corresponding to the corresponding step in the above page turning processing embodiment, which is not described herein again. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described device may refer to the corresponding process description in the foregoing method embodiment, and is not described herein again.
According to the scheme provided by the embodiment, the sliding operation of the user is mapped into the corresponding page turning operation instruction, the scrollable control is called, the page turning processing is carried out on the display page, the corresponding display content is updated and displayed in a page turning mode, the screen refreshing time is reduced, and the problem that the screen flickers and ghosts appear when the content is displayed by the equipment is conveniently and effectively solved.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The invention discloses:
A1. a page turning method, the method being performed by a preset container, the preset container being configured to work in conjunction with a scrollable control, the method comprising:
monitoring sliding operation executed by a user, and determining a display page corresponding to the sliding operation;
intercepting the sliding response of the system to the sliding operation, and mapping the sliding operation into a corresponding page turning operation instruction;
calling a scrollable control, and performing paging processing on the display page;
and responding to the page turning operation instruction, and displaying the result after the page turning processing page by page.
A2. The method of a1, the listening for a swipe operation performed by a user further comprising: monitoring a first sliding operation executed by a user aiming at the current display content in the scrollable control;
the mapping of the sliding operation to the corresponding page turning operation instruction further includes: if the first sliding operation is an upward sliding operation, mapping to be a downward page turning operation instruction; and if the first sliding operation is a downward sliding operation, mapping to be an upward page turning operation instruction.
A3. The method of a1 or a2, the pre-set container further comprising: a scrollbar overlaid over the display page;
the monitoring the sliding operation performed by the user further comprises: monitoring a second sliding operation executed by the user aiming at the scroll bar;
the mapping of the sliding operation to the corresponding page turning operation instruction further includes: obtaining the initial position of the content to be displayed of the display page according to the termination position of the second sliding operation; and mapping the second sliding operation to be a page turning operation instruction corresponding to the starting position.
A4. The method of a3, the method further comprising: and updating the display position of the scroll bar according to the initial position of the content to be displayed of the display page.
A5. The method of any of A1-A4, the invoking a scrollable control, paging the display page further comprising:
and calling the scrollable control through the help class corresponding to the scrollable control, and paging the display page.
A6. The method of any of a1-a5, the scrollable control comprising any of the following controls: a RecycleView control, a ScrollView control, a ListView control, or a WebView control.
A7. The method of any one of a1-a6, the programming container further comprising: a bottom control bar displayed in a lower area of the display page; the bottom control bar includes: page up and down control options; the method further comprises the following steps:
and calling an execution body corresponding to the up-and-down page turning control option for execution in response to the interactive triggering operation of the user for the up-and-down page turning control option.
A8. The method of a7, the bottom control bar further comprising: other function control options; the method further comprises the following steps:
and calling the executive bodies corresponding to the other function control options for execution in response to the interactive trigger operation of the user for the other function control options.
B9. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
monitoring sliding operation executed by a user, and determining a display page corresponding to the sliding operation;
intercepting the sliding response of the system to the sliding operation, and mapping the sliding operation into a corresponding page turning operation instruction;
calling a scrollable control, and performing paging processing on the display page;
and responding to the page turning operation instruction, and displaying the result after the page turning processing page by page.
B10. The computing device of B9, the executable instructions further cause the processor to:
monitoring a first sliding operation executed by a user aiming at the current display content in the scrollable control;
if the first sliding operation is an upward sliding operation, mapping to be a downward page turning operation instruction; and if the first sliding operation is a downward sliding operation, mapping to be an upward page turning operation instruction.
B11. The computing device of B9 or B10, the preset container further comprising: a scrollbar overlaid over the display page; the executable instructions further cause the processor to:
monitoring a second sliding operation executed by the user aiming at the scroll bar;
obtaining the initial position of the content to be displayed of the display page according to the termination position of the second sliding operation; and mapping the second sliding operation to be a page turning operation instruction corresponding to the starting position.
B12. The computing device of B11, the executable instructions further cause the processor to:
and updating the display position of the scroll bar according to the initial position of the content to be displayed of the display page.
B13. The computing device of any of B9-B12, the executable instructions further cause the processor to:
and calling the scrollable control through the help class corresponding to the scrollable control, and paging the display page.
B14. The computing device of any of B9-B13, the scrollable control comprising any of the following controls: a RecycleView control, a ScrollView control, a ListView control, or a WebView control.
B15. The computing device of any of B9-B14, the preset container further comprising: a bottom control bar displayed in a lower area of the display page; the bottom control bar includes: page up and down control options; the executable instructions further cause the processor to:
and calling an execution body corresponding to the up-and-down page turning control option for execution in response to the interactive triggering operation of the user for the up-and-down page turning control option.
B16. The computing device of B15, the bottom control bar further comprising: other function control options; the executable instructions further cause the processor to:
and calling the executive bodies corresponding to the other function control options for execution in response to the interactive trigger operation of the user for the other function control options.
C17. A computer storage medium, wherein the storage medium stores at least one executable instruction, and the executable instruction causes a processor to execute an operation corresponding to the page turning processing method as described in any one of a 1-A8.

Claims (10)

1. A page turning method, the method being performed by a preset container, the preset container being configured to work in conjunction with a scrollable control, the method comprising:
monitoring sliding operation executed by a user, and determining a display page corresponding to the sliding operation;
intercepting the sliding response of the system to the sliding operation, and mapping the sliding operation into a corresponding page turning operation instruction;
calling a scrollable control, and performing paging processing on the display page;
and responding to the page turning operation instruction, and displaying the result after the page turning processing page by page.
2. The method of claim 1, the listening for a swipe operation performed by a user further comprising: monitoring a first sliding operation executed by a user aiming at the current display content in the scrollable control;
the mapping of the sliding operation to the corresponding page turning operation instruction further includes: if the first sliding operation is an upward sliding operation, mapping to be a downward page turning operation instruction; and if the first sliding operation is a downward sliding operation, mapping to be an upward page turning operation instruction.
3. The method of claim 1 or 2, the presetting container further comprising: a scrollbar overlaid over the display page;
the monitoring the sliding operation performed by the user further comprises: monitoring a second sliding operation executed by the user aiming at the scroll bar;
the mapping of the sliding operation to the corresponding page turning operation instruction further includes: obtaining the initial position of the content to be displayed of the display page according to the termination position of the second sliding operation; and mapping the second sliding operation to be a page turning operation instruction corresponding to the starting position.
4. The method of claim 3, further comprising: and updating the display position of the scroll bar according to the initial position of the content to be displayed of the display page.
5. The method of any of claims 1-4, the invoking a scrollable control, the paging the display page further comprising:
and calling the scrollable control through the help class corresponding to the scrollable control, and paging the display page.
6. The method of any of claims 1-5, the scrollable control comprising any of the following controls: a RecycleView control, a ScrollView control, a ListView control, or a WebView control.
7. The method of any of claims 1-6, the priming container further comprising: a bottom control bar displayed in a lower area of the display page; the bottom control bar includes: page up and down control options; the method further comprises the following steps:
and calling an execution body corresponding to the up-and-down page turning control option for execution in response to the interactive triggering operation of the user for the up-and-down page turning control option.
8. The method of claim 7, the bottom control bar further comprising: other function control options; the method further comprises the following steps:
and calling the executive bodies corresponding to the other function control options for execution in response to the interactive trigger operation of the user for the other function control options.
9. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to:
monitoring sliding operation executed by a user, and determining a display page corresponding to the sliding operation;
intercepting the sliding response of the system to the sliding operation, and mapping the sliding operation into a corresponding page turning operation instruction;
calling a scrollable control, and performing paging processing on the display page;
and responding to the page turning operation instruction, and displaying the result after the page turning processing page by page.
10. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the page turning processing method according to any one of claims 1 to 8.
CN202110343461.9A 2021-03-30 2021-03-30 Page turning processing method, computing device and storage medium Pending CN112988014A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110343461.9A CN112988014A (en) 2021-03-30 2021-03-30 Page turning processing method, computing device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110343461.9A CN112988014A (en) 2021-03-30 2021-03-30 Page turning processing method, computing device and storage medium

Publications (1)

Publication Number Publication Date
CN112988014A true CN112988014A (en) 2021-06-18

Family

ID=76338531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110343461.9A Pending CN112988014A (en) 2021-03-30 2021-03-30 Page turning processing method, computing device and storage medium

Country Status (1)

Country Link
CN (1) CN112988014A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113946774A (en) * 2021-10-26 2022-01-18 掌阅科技股份有限公司 Book webpage skipping method, computing device and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799687A (en) * 2012-07-30 2012-11-28 北界创想(北京)软件有限公司 Method and device for displaying webpage
CN104102419A (en) * 2013-04-09 2014-10-15 腾讯科技(深圳)有限公司 Page display method and device and terminal equipment
CN106775394A (en) * 2016-12-09 2017-05-31 掌阅科技股份有限公司 Content revealing method, device and electronic equipment, storage medium
US20170364485A1 (en) * 2015-07-01 2017-12-21 Tnq Books And Journals Private Limited Transformation Of Marked-Up Content Into A File Format That Enables Automated Browser Based Pagination
CN110221758A (en) * 2019-04-29 2019-09-10 平安科技(深圳)有限公司 Scroll bar control method, device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799687A (en) * 2012-07-30 2012-11-28 北界创想(北京)软件有限公司 Method and device for displaying webpage
CN104102419A (en) * 2013-04-09 2014-10-15 腾讯科技(深圳)有限公司 Page display method and device and terminal equipment
US20170364485A1 (en) * 2015-07-01 2017-12-21 Tnq Books And Journals Private Limited Transformation Of Marked-Up Content Into A File Format That Enables Automated Browser Based Pagination
CN106775394A (en) * 2016-12-09 2017-05-31 掌阅科技股份有限公司 Content revealing method, device and electronic equipment, storage medium
CN110221758A (en) * 2019-04-29 2019-09-10 平安科技(深圳)有限公司 Scroll bar control method, device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113946774A (en) * 2021-10-26 2022-01-18 掌阅科技股份有限公司 Book webpage skipping method, computing device and computer storage medium

Similar Documents

Publication Publication Date Title
US11762544B2 (en) Auto-grouping of application windows
US9874995B2 (en) Maintaining context for maximize interactions on grid-based visualizations
JP6453406B2 (en) Tile array
JP3373711B2 (en) Slide-out interface bar
KR920007280B1 (en) Display with enhanced scrolling capability
US8365084B1 (en) Method and apparatus for arranging the display of sets of information while preserving context
US10324581B2 (en) Menu display method, apparatus and system
CN110992112B (en) Advertisement information processing method and device
CN105808110B (en) Table display method and display device
US11710264B2 (en) Multi-graph display method and computer-readable storage medium
CN113467871A (en) H5 page display method, device, equipment and storage medium
CN111190516B (en) Tabular data display method
CN104866206A (en) Method for moving picture data, and mobile terminal
US20150379097A1 (en) Dual timeline
CN108491140B (en) Interactive content display method and device
CN112988014A (en) Page turning processing method, computing device and storage medium
CN113934357B (en) Refreshing processing method of ink screen device, electronic device and storage medium
WO2022252775A1 (en) Display control method and apparatus in game, and electronic device
CN111603757B (en) Processing method, device and equipment for equipment in game
CN111753219A (en) Method and system for displaying search result page
CN111767490B (en) Method, apparatus, device and storage medium for displaying image
CN109800039B (en) User interface display method and device, electronic equipment and storage medium
CN111142754A (en) Screenshot processing method and device and storage medium
CN109992182A (en) E-book batch page turning method, electronic equipment and computer storage medium
CN109032455B (en) Menu display method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210618

RJ01 Rejection of invention patent application after publication