CN110083290B - Method and equipment for processing page turning - Google Patents

Method and equipment for processing page turning Download PDF

Info

Publication number
CN110083290B
CN110083290B CN201910253322.XA CN201910253322A CN110083290B CN 110083290 B CN110083290 B CN 110083290B CN 201910253322 A CN201910253322 A CN 201910253322A CN 110083290 B CN110083290 B CN 110083290B
Authority
CN
China
Prior art keywords
page
turning
page turning
boundary
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.)
Active
Application number
CN201910253322.XA
Other languages
Chinese (zh)
Other versions
CN110083290A (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 Dianzhong Science And Technology Co ltd
Original Assignee
Beijing Dianzhong Science And Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dianzhong Science And Technology Co ltd filed Critical Beijing Dianzhong Science And Technology Co ltd
Priority to CN201910253322.XA priority Critical patent/CN110083290B/en
Publication of CN110083290A publication Critical patent/CN110083290A/en
Application granted granted Critical
Publication of CN110083290B publication Critical patent/CN110083290B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor
    • 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
    • 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)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A method of processing a page turn includes, at a first step S1, determining a page turn boundary according to a page turn action; a second step S2, acquiring partial pages in display areas at two sides of the page turning boundary; a third step S3, splicing the partial pages to form a display page. The invention reduces the rendering times and the rendering area, thereby reducing the occupation of the device resources in the rendering process; the selection of page turning boundaries is more flexible and changeable, and the user experience is enhanced; the operation is convenient and fast, and the occupation of resources is reduced; the accuracy of page turning is improved; the page turning operation effect is diversified, and the user experience is improved.

Description

Method and equipment for processing page turning
Technical Field
The present invention relates generally to the field of electronic document processing, and more particularly, to a method and apparatus for processing page turning.
Background
Electronic devices are widely popular for browsing and reading electronic documents. Electronic devices with electronic document reading functions include dedicated reading devices and various models of mobile devices with embedded reading software.
In reading of the current electronic document, the page turning function is indispensable, the page turning function is realized by firstly rendering a lower page based on the completed typesetting, then rendering a displayed area of an upper page, finally superposing the upper page and the lower page, and rendering the page turning effect, thereby completing the rendering of the whole effect and meeting the experience requirements of users.
For example, the conventional patent CN102221980B discloses a method and a system for realizing an electronic book simulated page turning effect, where the method includes the following steps: determining the boundary and a possible page turning starting point of the electronic book, detecting the initial page turning point, determining the page turning starting point and the page turning direction, and determining the page turning boundary; a calculation step …; a rendering step: rendering the part of the page area in the display area in a coloring way; and detecting the next page turning point, and repeatedly executing the calculating step and the rendering step until the page turning point disappears. The method does not need to use an embedded platform 3D graphic library to store a large number of graphs with page turning effects, simplifies the design of electronic products, and is beneficial to realizing the effect of simulating page turning of the electronic book on the electronic products with simpler configuration.
The above patent improves page turning to a certain extent, and limits the rendering of coloring in the aspect of page turning effect on the part of the page located in the display area, and reduces the rendering area, but still adopts the method of firstly rendering the part of the lower page as a whole, then rendering the part of the upper page, and finally performing superposition for processing.
In practical application, although the overlapped part of the upper page and the lower page is in the display area, whether the lower page of the overlapped area is rendered or not has no influence on an interface which can be observed by a user, but rendering the lower page of the overlapped area occupies computing and rendering resources of equipment.
How to reduce the occupation of equipment resources in the process of page turning and rendering, prolong the endurance time of a battery on the basis of simplifying electronic equipment, and meet the requirement of a user on the high performance of the equipment is a problem which needs to be solved urgently at present.
Disclosure of Invention
The problems to be solved by the present invention include at least one of the following problems: the problem of large occupation of equipment resources caused by repeated rendering in page turning and rendering processes is solved; increase the accuracy of page turning and provide multiple options.
The invention provides a method for processing page turning, which comprises a first step S1 of determining a page turning boundary according to a page turning action; a second step S2, acquiring partial pages in display areas at two sides of the page turning boundary; a third step S3, splicing the partial pages to form a display page.
According to one embodiment of the invention, the partial pages in the display area comprise a first page obtained from a lower page and a second page obtained from an upper page.
According to an embodiment of the present invention, the second step S2 includes cutting the lower page according to the area defined by the page turning boundary and the display boundary to obtain a first page, and cutting the upper page to obtain a second page.
According to one embodiment of the present invention, the partial pages in the display area include a first page obtained from a lower page, a second page obtained from an upper page, and a third page obtained from an upper page.
According to an embodiment of the present invention, the second step S2 includes cutting the lower page according to the area defined by the page turning boundary and the display boundary to obtain a first page, and cutting the upper page to obtain a second page and a third page.
According to an embodiment of the present invention, the first step S1 includes sensing a page turning action, and determining a page turning boundary between an upper page and a lower page; the page turning action at least comprises one of a page turning starting point, a page turning direction and a page turning speed.
According to an embodiment of the present invention, the page turning boundary is a straight line or a curved line passing through the page turning start point.
According to an embodiment of the present invention, the method further includes a fourth step S4 of rendering the display page; the fifth step S5, the first step S1 to the fourth step S4 are repeated until no page turning motion is detected.
According to an embodiment of the present invention, the method further includes rendering the page turning boundary such that both sides of the page turning boundary have at least one of a bright-dark distinction effect, a stereoscopic effect and a bending deformation effect.
According to one embodiment of the invention, the turning of the pages comprises at least an overlay turning of the pages and a simulated turning of the pages.
According to an embodiment of the present invention, the method further includes detecting a page-turning action, and determining whether to complete page turning according to the page-turning action.
According to another aspect of the present invention, there is provided an apparatus for processing a page turn, comprising a first device 1 for determining a page turn boundary according to a page turn action; the second device 2 is used for acquiring partial pages in display areas on two sides of the page turning boundary; third means 3 for stitching said partial pages to form a display page.
According to an embodiment of the present invention, the partial pages in the display area acquired by the second device 2 include a first page acquired from a lower page and a second page acquired from an upper page.
According to an embodiment of the present invention, the second device 2 is a device for cutting the lower page to obtain a first page and cutting the upper page to obtain a second page according to the area defined by the page turning boundary and the display boundary.
According to an embodiment of the present invention, the partial pages in the display area acquired by the second device 2 include a first page acquired from a lower page, a second page acquired from an upper page, and a third page acquired from an upper page.
According to an embodiment of the present invention, the second device 2 is configured to cut the lower page according to the area defined by the page turning boundary and the display boundary to obtain a first page, and cut the upper page to obtain a second page and a third page.
According to an embodiment of the present invention, the first device 1 is configured to sense a page turning action, and determine a page turning boundary between an upper page and a lower page; the page turning action at least comprises one of a page turning starting point, a page turning direction and a page turning speed.
According to an embodiment of the present invention, the apparatus further comprises a fourth means 4 for determining the page turning boundary as a straight line or a curved line passing through the page turning starting point.
According to an embodiment of the present invention, the apparatus further includes a fifth device 5, configured to render the display page; and the sixth device 6 is used for controlling the operation of the first device 1, the second device 2, the third device 3 and the fifth device 5 until the page turning action is not detected.
According to an embodiment of the present invention, the apparatus further includes a seventh means 7 for rendering the page turning boundary, so that both sides of the page turning boundary have at least one of bright and dark distinction, stereo and bending deformation effects.
According to an embodiment of the present invention, the apparatus further comprises an eighth means 8 for storing page turning modes, wherein the page turning modes at least include overlay page turning and simulation page turning.
According to an embodiment of the present invention, the apparatus further includes a ninth device 9, where the ninth device 9 is connected to the sixth device 6, and is configured to detect a page turning action, and obtain a determination result of whether to complete page turning according to the page turning action.
According to another aspect of the present invention, a terminal for processing page turning includes a memory; and a processor coupled to the memory, the processor configured to perform the method of any of claims 1-11 based on instructions stored in the memory.
According to another aspect of the invention, a computer-readable storage medium has stored thereon computer program instructions for execution by one or more processors to perform operations to implement the method of any one of claims 1 to 11.
According to the invention, the page is preprocessed in the page turning process, so that the rendering times are reduced, the rendered page area is reduced, and the occupation of system resources in the rendering process is reduced; by setting various page turning boundaries, the selection of the page turning boundaries is more flexible and changeable, and the user experience is enriched; the accuracy of page turning is improved through the setting of the ninth device and the sixth device; the eighth device prestores a plurality of page turning modes, and sets a plurality of schemes on page turning boundaries, so that the page turning operation effect has diversity and the user experience is enriched.
Drawings
FIG. 1 is a schematic diagram of an apparatus for processing a page turn;
FIG. 2 is an embodiment of a page turning;
FIG. 3 is a schematic view of a fourth apparatus;
FIG. 4 is a schematic illustration of a curved page turn boundary;
FIG. 5 is a schematic illustration of a process of cutting a sheet;
FIG. 6 is a schematic diagram of a fifth apparatus and a sixth apparatus;
FIG. 7 is a schematic view of a seventh apparatus;
FIG. 8 is a schematic diagram of an eighth apparatus and a ninth apparatus;
FIG. 9 is a schematic illustration of the steps of a method of processing a page turn;
FIG. 10 is a schematic view of a terminal for processing page turning; and
FIG. 11 is a schematic diagram of a computer-readable storage medium.
Detailed Description
In the following detailed description of the preferred embodiments of the invention, reference is made to the accompanying drawings that form a part hereof, and in which is shown by way of illustration, specific features of the invention, such that the advantages and features of the invention may be more readily understood and appreciated. The following description is an embodiment of the claimed invention, and other embodiments related to the claims not specifically described also fall within the scope of the claims.
Fig. 1 shows a schematic view of a device for handling page turning.
As shown in fig. 1, an apparatus for processing page turning includes a first device 1, configured to determine a page turning boundary according to a page turning motion; the second device 2 is used for acquiring partial pages in display areas on two sides of the page turning boundary; third means 3 for stitching said partial pages to form a display page.
The device for processing page turning can be connected with a display screen of the electronic device, and human-computer interaction with a user is realized through the display screen. The page turning process of the electronic document by the user is generally a process of turning a page of an upper page and displaying a lower page on a display screen.
In the invention, firstly, the first device 1 senses the page turning action of a user, including a page turning starting point, a page turning direction, a page turning speed and the like, and also senses the display boundary of a display screen. And then determining a page turning boundary according to the page turning action, for example, determining the page turning boundary along a page turning starting point, and determining the page turning boundary as a straight line or a curve passing through the page turning starting point. Then the second device 2 cuts the lower page along the page turning boundary, and the portion surrounded by the page turning interface and the display boundary in the direction away from the page turning direction is reserved as a portion of the display page, meanwhile, the second device 2 cuts the upper page along the page turning boundary, and the portion surrounded by the page turning interface and the display boundary in the page turning direction is reserved as another portion of the display page, and finally, the third device 3 splices the two portions into the display page, and the boundary of the display page is formed by the display boundary.
The fifth device 5 in the following text will directly render the display page to form uniform background color and text. In the rendering process, the part of the upper-layer page, which covers the lower-layer page in the display boundary, is not required to be rendered, and the rendering in the whole display interface can be completed through one-time rendering without separate rendering.
FIG. 2 illustrates an embodiment of turning pages.
The first device 1 senses a page turning action of a user on a screen of the electronic device, such as a touch screen, a gesture and the like, and determines a page turning starting point according to the page turning action of the user.
In fig. 2, taking a finger touch screen as an example, the left diagram shows a touch screen position and a sliding direction, where the point S is a starting point of page turning. The middle and right diagrams of fig. 2 show schematic views of page turning boundaries in the emulation page turning and overlay page turning modes, respectively. When the user touches the screen and slides to one side, the first device 1 first determines the user's motion. When the first device 1 determines the user's motion as a valid motion for turning a page, the position where the user touches the screen may be used as a starting point for turning a page. As a variation, the user touch screen position may also be used as a reference point, and the page turning starting point may be determined based on the reference point. The first device 1 may select a direction of the touch screen sliding as a page turning direction, as a variation, or may modify the direction to a default page turning direction stored in the system according to the direction of the touch screen sliding. The process of determining that the motion of the user is a valid motion of page turning may be a preset threshold of motion amplitude, and when the travel distance of the touch screen motion is greater than a certain threshold, the motion is determined to be the valid motion of page turning, otherwise, the motion is determined to be an invalid motion.
The display boundary refers to the outer periphery of a page that can be displayed on the screen, and usually coincides with the boundary of the screen, or may be a partial window within the screen.
According to another embodiment of the present invention, when pages are turned by using gestures, voice, and the like, the center of the screen of the electronic device may be set as a page turning starting point, or other points such as the lower right corner, the upper right corner, the lower left corner, the upper left corner, and the like in the screen may be selected and set as a page turning starting point as needed, and the page turning direction may be preset according to the typesetting of the electronic document, the usage habits of the user, and the like. For example, the layout of the electronic document is vertical, and the electronic document is aligned up, and the page may be turned from bottom to top by default.
In the present invention, the page turning direction may be preset to any angle of 360 degrees on the screen of the electronic device with the page turning starting point as a starting point, for example, as shown in fig. 2. The first device 1 may sense the layout of the text to limit a specific angle, such as left, right, upward and other specific angles, or may select the specific angle by the user, and parameters such as the direction of page turning are stored in the eighth device 8, and when the first device 1 senses the motion of the user, the motion determination of the user and the setting of the direction of page turning are calculated, so as to determine the direction of page turning of the page, for example, as shown in the right diagram in fig. 2.
The process of determining the effective action may also adopt other determination methods mentioned in the prior art, and the present invention is not described in detail.
Fig. 3 shows a schematic view of a fourth arrangement.
As shown in fig. 3, the apparatus further includes a fourth device 4, configured to determine the page turning boundary as a straight line or a curved line passing through the page turning starting point. In one embodiment of the present invention, the page turning boundary is mainly determined by two parameters, i.e., a page turning starting point and a page turning direction, and the page turning boundary is defined as a straight line or a curve passing through the page turning starting point. For example, when the page turning mode is the overlay page turning, the page turning boundary may be defined as a straight line; when the page turning mode is simulation page turning, the page turning boundary can be defined as an arc line; the page turning boundary may be defined as an S-shaped curve, an irregular curve, or other shapes in the page turning mode or other page turning modes.
FIG. 4 shows a schematic diagram of a curved page turn boundary.
The fourth device 4 is connected to the first device 1, and is configured to define a straight line passing through a page turning starting point in a page turning direction, and divide the screen into an upper half and a lower half, as shown in a left diagram in fig. 4, where a line drawn from the page turning starting point to the upper half randomly intersects with a display boundary of the screen; meanwhile, as shown in the middle graph in fig. 4, a line drawn out randomly from the page turning starting point to the lower half part intersects with the display boundary of the screen; as shown in the right diagram of fig. 4, one line is randomly selected from the lines in the upper half and the lines in the lower half, respectively, so as to form a complete page turning boundary.
The mode of randomly forming the page turning boundary in the invention enables a user to have richer user experience when using the invention.
The page turning boundary may be formed by using the existing scheme, for example, the scheme described in patent CN102221980B, and the present invention is not described in detail.
FIG. 5 shows a schematic diagram of a process for cutting a sheet.
As shown in fig. 5, in the present embodiment, a left slide is taken to take a covering page turning as an example, the left diagram in fig. 5 shows a schematic top view when a page is turned to the left, wherein an inside of a frame surrounded by a black thick frame line is divided into a display area defined by a display boundary, and the right diagram is a schematic diagram of a cutting process, the second device 2 cuts a lower page L along the page turning boundary, and a portion surrounded by the page turning interface and the display boundary in a direction away from the page turning direction is reserved as a first page, meanwhile, the second device 2 cuts an upper page T along the page turning boundary, and a portion surrounded by the page turning interface and the display boundary in the page turning direction is reserved as a second page, and finally, the third device 3 splices the first page and the second page into a display page, and a boundary of the display page is formed by the display boundary.
When the fifth device 5 renders the display page subsequently, it avoids rendering the upper page and the lower page separately, and also reduces rendering of the portion of the lower page that is covered by the upper page, that is, the portion of the lower page L that is covered by the grid portion in fig. 5.
Fig. 6 shows a schematic view of a fifth and a sixth arrangement.
As shown in fig. 6, the apparatus further includes a fifth device 5 and a sixth device 6, where the fifth device 5 is used for rendering the display page; the sixth device 6 is used for controlling the first device 1, the second device 2, the third device 3 and the fifth device 5 to operate until no page turning action is detected.
The sixth device 6 is connected to each of the other devices, and controls the other devices to operate in a predetermined logic. The fifth means 5 renders the background color and the text to make the page appear on the screen.
The sixth device 6 is respectively connected with the first device 1, the second device 2, the third device 3 and the fifth device 5, and logically ensures the normal operation of the equipment.
Fig. 7 shows a schematic view of a seventh arrangement.
As shown in fig. 7, the apparatus further includes a seventh means 7, where the seventh means 7 is configured to render the page turning boundary such that the page turning boundary has at least one of a bright-dark distinction effect, a stereoscopic effect, and a bending deformation effect.
The seventh means 7 may be independent from the fifth means 5 or may be a part of the fifth means 5, the fifth means 5 mainly functions to render the display page, and the seventh means 7 mainly renders the page turning boundary. Because the rendering objects are different and the calculation modes required to be adopted are different, the rendering objects and the calculation modes are separately arranged, so that the page rendering and the page turning boundary rendering can be separately calculated, the calculation target can be achieved by adopting a simpler algorithm to execute, the complex calculation is reduced, and the occupation of resources is reduced.
Fig. 8 shows a schematic view of an eighth and ninth device.
As shown in fig. 8, the apparatus further includes an eighth device 8, where the eighth device 8 is configured to store page turning manners, and the page turning manners at least include an overlay page turning manner and a simulation page turning manner.
The eighth device 8 is connected to the sixth device 6, and may store other information that needs to be set or stored in advance, such as a threshold for determining a user operation.
According to an embodiment of the present invention, the apparatus further includes a ninth device 9, where the ninth device 9 is connected to the sixth device 6, and is configured to detect a page turning action, and obtain a determination result of whether to complete page turning according to the page turning action.
The ninth device 9 is connected to the sixth device 6, and transmits the determination result to the sixth device 6, and the sixth device 6 controls the page turning execution process.
FIG. 9 is a schematic diagram illustrating steps in a method of processing a page turn.
As shown in fig. 8, a method of processing a page turn includes a first step S1 of determining a page turn boundary according to a page turn action; a second step S2, acquiring partial pages in display areas at two sides of the page turning boundary; a third step S3, splicing the partial pages to form a display page.
FIG. 10 is a schematic diagram of a terminal for processing page turning, including a memory; and a processor coupled to the memory, the processor configured to perform the method of any of claims 1-11 based on instructions stored in the memory.
As shown in fig. 10, the terminal is in the form of a general purpose computing device, such as a cell phone, computer, and other reading devices, including but not limited to: at least one processor 10, at least one memory 20, and a bus 60 connecting the various system components.
Bus 60 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures.
The memory 20 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)21 and/or cache memory 22, and may further include Read Only Memory (ROM) 23.
Memory 20 may also include program modules 24, such program modules 24 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The terminal may also communicate with one or more external devices 2 (e.g., keyboard, pointing device, Bluetooth device, etc.) and may also communicate with one or more other devices, such communication may be through AN input/output (I/O) interface 40 and displayed on a display unit 30. the terminal may also communicate with one or more networks (e.g., a local area network (L AN), a Wide Area Network (WAN) and/or a public network such as the Internet) through a network adapter 50. As shown, the network adapter 50 communicates with the other modules in the terminal over a bus 60. it should be understood that, although not shown, other hardware and/or software modules may be used in conjunction with the terminal, including, but not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code for causing a processor to perform the above described method when the program code is executed by the processor.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Fig. 11 shows a schematic diagram of a computer-readable storage medium having stored thereon computer program instructions for execution by one or more processors to perform operations implementing the method of any one of claims 1 to 11.
As shown in fig. 11, a computer-storable medium is shown which can employ a portable compact disc read only memory (CD-ROM) and which includes program code and which can be run on a terminal device such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including AN object oriented programming language such as Java, C + +, or the like, as well as conventional procedural programming languages, such as the "C" language or similar programming languages.
According to an embodiment of the present invention, as shown in the right diagram of fig. 2, when the overlay page turning is adopted, the display area only needs to display a part of the upper page, namely, the left half part of fig. 2; and a portion of the lower page, the right half of fig. 2. Therefore, the partial page in the display area includes a first page obtained from the lower page and a second page obtained from the upper page.
According to an embodiment of the present invention, the second step S2 includes cutting the lower page according to the area defined by the page turning boundary and the display boundary to obtain a first page, and cutting the upper page to obtain a second page. Taking the cutting of the lower page as an example, as shown in the right diagram of fig. 2, it is necessary to cut a part of the page surrounded by the AB link and the boundary line of the lower page.
According to one embodiment of the invention, as shown in the middle diagram in fig. 2, when the simulated page turning is adopted, the display area is formed by a part of the upper page and the back of the turned-up part of the upper page, and the part of the page of the lower page is exposed. Therefore, the partial pages in the display area include a first page obtained from the lower page, a second page obtained from the upper page, and a third page obtained from the upper page.
According to an embodiment of the present invention, the second step S2 includes cutting the lower page according to the area defined by the page turning boundary and the display boundary to obtain a first page, and cutting the upper page to obtain a second page and a third page.
According to an embodiment of the present invention, the first step S1 includes sensing a page turning action, and determining a page turning boundary between an upper page and a lower page; the page turning action at least comprises one of a page turning starting point, a page turning direction and a page turning speed.
According to an embodiment of the present invention, the page turning boundary is a straight line or a curved line passing through the page turning start point.
According to an embodiment of the present invention, the method further comprises a fourth step S4 of rendering the display page; the fifth step S5, the first step S1 to the fourth step S4 are repeated until no page turning motion is detected.
According to an embodiment of the present invention, the method further includes rendering the page turning boundary such that both sides of the page turning boundary have at least one of a bright-dark distinction effect, a stereoscopic effect and a bending deformation effect.
According to one embodiment of the invention, the turning of the pages comprises at least an overlay turning of the pages and a simulated turning of the pages.
According to an embodiment of the present invention, the method further includes detecting a page turning action, and determining whether to complete page turning according to the page turning action. The detection of the page turning action means detecting whether the effective page turning action of the user meets the requirement for completing page turning, for example, whether parameters such as the sliding distance and speed of the touch screen are met. And if the page turning starting point is not satisfied, executing the operation executed at each page turning starting point in the reverse order, and gradually recovering the original page.
According to the invention, the page is preprocessed in the page turning process, so that the rendering times are reduced, the rendered page area is reduced, and the occupation of system resources in the rendering process is reduced; by setting various page turning boundaries, the selection of the page turning boundaries is more flexible and changeable, and the user experience is enriched; the accuracy of page turning is improved through the setting of the ninth device and the sixth device; the eighth device prestores a plurality of page turning modes, and sets a plurality of schemes on page turning boundaries, so that the page turning operation effect has diversity and the user experience is enriched.
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.

Claims (22)

1. A method of processing a page turn, comprising,
a first step (S1) of determining a page-turning boundary according to a page-turning action;
a second step (S2) of acquiring partial pages in display areas on both sides of the page turning boundary;
a third step (S3) of splicing the partial pages to form a display page,
also comprises
A fourth step (S4) of rendering the entire display page once;
a fifth step (S5) of repeating the first step (S1) to the fourth step (S4) until no page turning motion is detected,
the first step (S1) of determining a page turning boundary along a page turning start point, determining the page turning boundary as a straight line or a curved line passing through the page turning start point,
in a second step (S2), the lower page is cut along the page turning boundary, a portion surrounded by the page turning boundary and the display boundary in a direction away from the page turning is reserved as a part of the display page, the upper page is cut along the page turning boundary, a portion surrounded by the page turning boundary and the display boundary in the page turning direction is reserved as another part of the display page,
in the third step (S3), the two parts are spliced into a display page.
2. The method of claim 1, wherein the portion of the page within the display area includes a first page obtained from a lower page and a second page obtained from an upper page.
3. The method of claim 2, wherein said second step (S2) includes cutting said lower page to obtain a first page and cutting said upper page to obtain a second page, based on the area defined by said page turn border and said display border.
4. The method of claim 1, wherein the partial pages within the display area include a first page obtained from a lower page, a second page obtained from an upper page, and a third page obtained from an upper page.
5. The method of claim 4, wherein said second step (S2) includes cutting said lower page to obtain a first page and cutting said upper page to obtain a second page and a third page, based on the area defined by said page turning border and said display border.
6. The method of claim 1, wherein the first step (S1) includes sensing a page turning action, determining a page turning boundary between an upper page and a lower page;
the page turning action at least comprises one of a page turning starting point, a page turning direction and a page turning speed.
7. The method of claim 6, wherein the page turning boundary is a straight line or a curved line passing through the page turning start point.
8. The method of claim 1, further comprising rendering the page turn boundary with at least one of light and dark differentiation, stereo, and bending deformation effects on both sides of the page turn boundary.
9. The method of claim 1, the turning pages comprising at least an overlay turning page and a simulated turning page.
10. The method of claim 1, further comprising detecting a page flip action and determining whether to complete a page flip based on the page flip action.
11. An apparatus for processing page turning, comprising,
the first device (1) is used for determining a page turning boundary according to a page turning action;
the second device (2) is used for acquiring partial pages in display areas on two sides of the page turning boundary;
-third means (3) for stitching said partial pages to form a display page,
also comprises the following steps of (1) preparing,
fifth means (5) for rendering said display page;
a sixth device (6) for controlling the operation of the first device (1), the second device (2), the third device (3) and the fifth device (5) until no page turning action is detected,
the first device (1) determines a page turning boundary along a page turning starting point, determines the page turning boundary as a straight line or a curve passing through the page turning starting point,
the second device 2 cuts the lower page along the page turning boundary, retains the part surrounded by the page turning interface and the display boundary in the direction away from the page turning direction as a part of the display page, cuts the upper page along the page turning boundary, retains the part surrounded by the page turning interface and the display boundary in the page turning direction as another part of the display page,
the third device 3 splices the two parts into a display page.
12. The apparatus according to claim 11, wherein the portion of the page within the display area obtained by the second device (2) comprises a first page obtained from a lower page and a second page obtained from an upper page.
13. Apparatus according to claim 12, said second means (2) being adapted to cut said lower page to obtain a first page and said upper page to obtain a second page, according to the area defined by said page turning and display boundaries.
14. The apparatus of claim 11, the portion of the page within the display area obtained by the second device (2) comprising a first page obtained from a lower page, a second page obtained from an upper page and a third page obtained from an upper page.
15. The apparatus according to claim 14, said second means (2) being adapted to crop said lower page to obtain a first page and said upper page to obtain a second page and a third page, according to the area defined by said page turning border and said display border.
16. The apparatus according to claim 11, said first means (1) being configured to sense a page turning action, determine a page turning boundary between an upper page and a lower page;
the page turning action at least comprises one of a page turning starting point, a page turning direction and a page turning speed.
17. The apparatus according to claim 11, further comprising fourth means (4) for determining said page turning boundary as a straight line or a curved line passing through said page turning start point.
18. The apparatus according to claim 11, further comprising seventh means (7) for rendering said page turning border with at least one of light and dark differentiation, stereo, and bending deformation effects on both sides of said page turning border.
19. The apparatus according to claim 11, further comprising eighth means (8) for storing the means for turning pages, said means for turning pages comprising at least overlay turning pages and simulated turning pages.
20. The apparatus according to claim 11, further comprising a ninth device (9), wherein said ninth device (9) is connected to said sixth device (6) and configured to detect a page turning action and obtain a determination result of whether to complete the page turning according to said page turning action.
21. A terminal for processing page turning includes a memory; and a processor coupled to the memory, the processor configured to perform the method of any of claims 1-10 based on instructions stored in the memory.
22. A computer-readable storage medium having stored thereon computer program instructions to be executed by one or more processors to perform operations to implement the method of any of claims 1 to 10.
CN201910253322.XA 2019-03-29 2019-03-29 Method and equipment for processing page turning Active CN110083290B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910253322.XA CN110083290B (en) 2019-03-29 2019-03-29 Method and equipment for processing page turning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910253322.XA CN110083290B (en) 2019-03-29 2019-03-29 Method and equipment for processing page turning

Publications (2)

Publication Number Publication Date
CN110083290A CN110083290A (en) 2019-08-02
CN110083290B true CN110083290B (en) 2020-07-10

Family

ID=67414005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910253322.XA Active CN110083290B (en) 2019-03-29 2019-03-29 Method and equipment for processing page turning

Country Status (1)

Country Link
CN (1) CN110083290B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110909276A (en) * 2019-10-24 2020-03-24 浙江大搜车软件技术有限公司 Data rendering method and device, computer equipment and storage medium
CN113485778B (en) * 2021-06-25 2023-06-13 青岛海尔科技有限公司 Page data processing method and device, storage medium and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102221980A (en) * 2011-07-29 2011-10-19 深圳芯智汇科技有限公司 Electronic book simulated flipping-over effect realization method and system
CN104346046A (en) * 2013-08-05 2015-02-11 北京易天新动网络科技有限公司 Three-dimensional simulation page turning method and system
CN108664454A (en) * 2017-03-30 2018-10-16 掌阅科技股份有限公司 E-book page display method, device and terminal device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107608620B (en) * 2017-09-30 2018-11-27 掌阅科技股份有限公司 Page turning processing method, electronic equipment and computer storage medium based on e-book
CN109213720A (en) * 2018-08-16 2019-01-15 咪咕数字传媒有限公司 Page turning method, device and the storage medium of e-book

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102221980A (en) * 2011-07-29 2011-10-19 深圳芯智汇科技有限公司 Electronic book simulated flipping-over effect realization method and system
CN104346046A (en) * 2013-08-05 2015-02-11 北京易天新动网络科技有限公司 Three-dimensional simulation page turning method and system
CN108664454A (en) * 2017-03-30 2018-10-16 掌阅科技股份有限公司 E-book page display method, device and terminal device

Also Published As

Publication number Publication date
CN110083290A (en) 2019-08-02

Similar Documents

Publication Publication Date Title
US10444961B2 (en) Hover-based interaction with rendered content
US10042546B2 (en) Systems and methods to present multiple frames on a touch screen
US9766707B2 (en) Method for using the GPU to create haptic friction maps
US20180024719A1 (en) User interface systems and methods for manipulating and viewing digital documents
US8358290B2 (en) User interface systems and methods for manipulating and viewing digital documents
US20210049321A1 (en) Device, method, and graphical user interface for annotating text
CN102902480B (en) Control area for a touch screen
US10706811B2 (en) Method and device for controlling display of a flexible display screen
US9134903B2 (en) Content selecting technique for touch screen UI
KR102205283B1 (en) Electro device executing at least one application and method for controlling thereof
CN104679485A (en) Page element control method and device
JP5992934B2 (en) 3D viewing method
CN111475097A (en) Handwriting selection method and device, computer equipment and storage medium
EP2759920B1 (en) Method and apparatus for controlling content playback
US20140013272A1 (en) Page Editing
CN110083290B (en) Method and equipment for processing page turning
CN114415886A (en) Application icon management method and electronic equipment
CN103279304B (en) Method and device for displaying selected icon and mobile device
CN110908568B (en) Control method and device for virtual object
EP3734431A1 (en) Image panning method
CN112130741A (en) Control method of mobile terminal and mobile terminal
CN109359187A (en) Sentence entry exchange method and device, electronic equipment, storage medium
KR20120041966A (en) Terminal and method for compression of files using multi touch
CN113238694A (en) Interface comparison method and device and mobile terminal
CN113312130A (en) Window display method and computing 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
GR01 Patent grant
GR01 Patent grant