CN102981718A - Method for imitating real book page-turning effect of electronic books - Google Patents

Method for imitating real book page-turning effect of electronic books Download PDF

Info

Publication number
CN102981718A
CN102981718A CN201210426545XA CN201210426545A CN102981718A CN 102981718 A CN102981718 A CN 102981718A CN 201210426545X A CN201210426545X A CN 201210426545XA CN 201210426545 A CN201210426545 A CN 201210426545A CN 102981718 A CN102981718 A CN 102981718A
Authority
CN
China
Prior art keywords
point
page
turning
touch
touch screen
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
CN201210426545XA
Other languages
Chinese (zh)
Inventor
刘伟平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zhang Zhonghaoyue Science And Technology Ltd
Original Assignee
Beijing Zhang Zhonghaoyue Science And Technology 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 Zhang Zhonghaoyue Science And Technology Ltd filed Critical Beijing Zhang Zhonghaoyue Science And Technology Ltd
Priority to CN201210426545XA priority Critical patent/CN102981718A/en
Publication of CN102981718A publication Critical patent/CN102981718A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method for imitating a real book page-turning effect of electronic books. The method includes the following steps: obtaining a touch point C, taking a page-turning start point as an original point O, connecting the touch point C and the original point O, taking a point G as a midpoint, drawing a perpendicular bisector of a line segment OC passing through the point G, calculating coordinates of a point A1 and a point B1 wherein the perpendicular bisector intersects with the X-axis and the Y-axis to form the point A1 and the point B1, connecting the touch point C with the point A1 and the point B1 to calculate the coordinates of a midpoint D and a midpoint E of a line segment CA1 and a line segment CB1, connecting the point D and the point E, calculating the coordinates of a point A2 and a point B2 wherein an extended line of the line segment DE intersects with the X-axis and the Y-axis to from the point A2 and the point B2, obtaining two curves formed by respectively passing through the point A1, the point A2 and the point D, and the point B1, point B2 and the point E by means of a bezier curve function, respectively calculating the coordinates of a midpoint F and a midpoint H of the two curves, forming a page-turning page by enclosing the point C, the point D, the point E and the point F, obtaining a next touch point, and repeating steps from the first step (S1) to the six step (S6) till the end. Users can have real reading effects through the method.

Description

A kind of method of simulation regular script page-turning effect of electron reading
Technical field
The present invention relates to a kind of method of simulation regular script page-turning effect of electron reading.
Background technology
Along with popularizing and development of portable type electronic product, increasing electron reading replaces traditional paper Jie reading matter and is widely used, such as e-magazine, e-book etc.E-book in the past, in page flip, often can only realize simple plane passing page effect, as shown in Figure 1, the page turning page 1 that the employed page turning algorithm of this type of e-book is drawn out is triangle, and it can't realize the crimping page such as the consistent solid of regular script page-turning effect.Therefore can't give the user enjoys as the reading of browsing the regular script.
Summary of the invention
Problem to be solved by this invention is, a kind of method of simulation regular script page-turning effect of electron reading is provided, and by using the method, can give the user as the reading effect of browsing the regular script.
In order to address the above problem, the invention provides a kind of method of electron reading simulation regular script page-turning effect, may further comprise the steps: S1: obtain the touch screen point C that clicks, and with the page turning starting point of the page as initial point O, be respectively x axle and y axle through the page boundary of initial point O; S2: connect touch screen point C and initial point 0, get mid point G, cross the perpendicular bisector that the G point is line segment OC, the intersection point of described perpendicular bisector and x axle is A 1, with the intersection point of y axle be B 1, calculate respectively A 1And B 1Coordinate; S3: connect respectively C point and A 1Point and C point and B 1Point calculates respectively two line segment CA 1And CB 1Mid point D and the coordinate of E; S4: connect D point and E point, the intersection point of the extended line of line segment DE and x axle is A 2, with the intersection point of y axle be B 2, calculate respectively A 2And B 2Coordinate; S5: utilize the Bezier function, by an A 1, A 2And D, obtain the first curve, again by a B 1, B 2Obtain the second curve with E, and calculate respectively the mid point F of the first curve and the second curve, the coordinate of H; S6: the zone that some C, D, E, F and H surround is the page turning page; S7: obtain next touch screen point, and repeat the step of above-mentioned S1 to S6, until touch screen point disappears.
As preferably, further comprising the steps of before described step S1: S01: the close region at four page or leaf angles of delimiting the page of electron reading is four page turning touch areas, and the zone that is positioned at page middle part is the exhalation menu area; S02: detect the touch screen point and drop on which zone, the touch screen point is in arbitrary page turning touch area as described, then with the page turning starting point of the page in the described page turning touch area as initial point, then continue execution in step S1 to S7, the touch screen point is in exhalation menu area, then popup menu as described.
As preferably, further comprising the steps of before described step S1: S001: the close region at two page or leaf angles on right side of delimiting the page of electron reading is that the left field of page turning touch area, the page be back to turn over the touch area and the zone that is positioned in the middle part of the page is the exhalation menu area; S002: detect the touch screen point and drop on which zone, the touch screen point is in arbitrary page turning touch area as described, then with the page turning starting point of the page in the described page turning touch area as initial point, then continue execution in step S1 to S7, the touch screen point is in exhalation menu area, then popup menu as described; The touch screen point is in back and turns over the touch area as described, and then prevpage stirs the covering current page towards returning.
The beneficial effect of the method for the simulation regular script page-turning effect of electron reading of the present invention is, by this method, can make the user when using electronic product to read the electrical type reading matter, obtain to match in excellence or beauty read regular script general browse effect.
Description of drawings
Fig. 1 is the synoptic diagram according to the page-turning effect of the e-book of prior art.
Fig. 2 is the process flow diagram according to the computation process of the method for the simulation regular script page-turning effect of electron reading of the present invention.
Fig. 3 is the coordinate diagram according to the computation process of the method for the simulation regular script page-turning effect of electron reading of the present invention.
Fig. 4 is the process flow diagram of the method according to the simulation regular script page-turning effect of electron reading of the present invention when adopting 4 touch-control page turnings.
Fig. 5 is the synoptic diagram that the page area of the method for the simulation regular script page-turning effect of electron reading of the present invention when adopting 4 touch-control page turnings divided.
Fig. 6 is the synoptic diagram that the page of the method for the simulation regular script page-turning effect of electron reading of the present invention when clicking touch area, the lower right corner when 4 touch-control page turnings dug.
Fig. 7 is the synoptic diagram that the page of the method for the simulation regular script page-turning effect of electron reading of the present invention when clicking touch area, the upper left corner when 4 touch-control page turnings dug.
Fig. 8 is the process flow diagram of the method according to the simulation regular script page-turning effect of electron reading of the present invention when adopting 3 touch-control page turnings.
Fig. 9 is the synoptic diagram that the page area of employing three electric touch-control page turnings of method of the simulation regular script page-turning effect of electron reading of the present invention is divided.
Figure 10 is that the method for the simulation regular script page-turning effect of electron reading of the present invention is clicked the prevpage of left side during the touch area towards returning the synoptic diagram that stirs when 4 touch-control page turnings.
Embodiment
Be described in detail below in conjunction with the method for accompanying drawing to the simulation regular script page-turning effect of electron reading of the present invention.
Fig. 2 is the process flow diagram according to the method for electron reading simulation regular script page-turning effect of the present invention.Fig. 3 is the coordinate diagram according to the computation process of the method for the simulation regular script page-turning effect of electron reading of the present invention.
As shown in Figures 2 and 3, in step S1, at first obtain the touch screen point C(x, the y that click), and with the page turning starting point of the page as initial point O(x, y), through initial point O(x, y) page boundary be respectively x axle and y axle.
In step S2, connect touch screen point C(x, y) and initial point 0(x, y), get mid point G(x, y), mistake G(x, y) put the perpendicular bisector of being line segment OC, G(x, y) and coordinate can obtain by following equation:
G(x)=(C(x)+O(x))/2;
G(y)=(C(y)+O(y))/2;
The intersection point of described perpendicular bisector and x axle is A 1(x, y), with the intersection point of y axle be B 1(x, y) can calculate A by following equation 1And B 1Coordinate:
A 1(x)=G(x)+G(y)*G(y)/G(x);
A 1(y)=O(y);
B 1(x)=O(x);
B 1(y)=G(y)+G(x)*G(x)/G(y);
In step S3, connect respectively C(x, y) point and A1(x, y) point and C(x, y) point and B 1(x, y) point calculates respectively two line segment CA by following equation 1And CB 1Mid point D(x, y) and E(x, y) coordinate:
D(x)=(G(x)+A 1(x))/2;
D(y)=(G(y)+A 1(y))/2;
E(x)=(G(x)+B 1(x))/2;
E(y)=(G(y)+B 1(y))/2;
In step S4, connect D(x, y) point and E(x, y) point, the intersection point of the extended line of line segment DE and x axle is A 2(x, y), with the intersection point of y axle be B 2(x, y) calculates respectively A by following equation 2And B 2Coordinate:
A 2(x)=A 1(x)+A 1(x)/2;
A 2(y)=O(y);
B 2(x)=O(x);
B 2(y)=B 1(y)+B 1(y)/2;
In step S5, utilize the Bezier function, by an A 1(x, y), A 2(x, y) and D, (x, y) obtain the first curve, again by a B 1(x, y), B 2(x, y) and E(x, y) obtain the second curve, and calculate respectively mid point F(x, the y of the first curve and the second curve by following equation), H(x, y) coordinate:
F(x)=(D(x)+A 2(x)/2+A 1(x))/2;
F(y)=(D(y)+A 2(y)/2+A 1(y))/2;
In step S6, some C(x, y), D(x, y), E(x, y), F(x, y) and H(x, y) zone that surrounds is the page turning page and in step S7, obtain next touch screen point, and repeat the step of above-mentioned S1 to S6, until touch screen point disappearance.
In order to improve the page-turning effect of the regular script that matches in excellence or beauty, the page turning touch-control of the method for the simulation regular script page-turning effect of electron reading of the present invention also is divided into 4 touch-control page turnings and two kinds of situations of 3 touch-control page turnings.
4 touch-control page turnings are applicable to the electron reading of single page, and are different with the reading method of conventional books, adopt 4 touch-control page turning methods, and each of the page page angle can start page turning.
Fig. 4 is the process flow diagram of the method according to the simulation regular script page-turning effect of electron reading of the present invention when adopting 4 touch-control page turnings.Fig. 5 is the synoptic diagram that the page area of the method for the simulation regular script page-turning effect of electron reading of the present invention when adopting 4 touch-control page turnings divided.
As shown in Figure 4 and Figure 5, further comprising the steps of before abovementioned steps S1:
In step S01, the close region at four page or leaf angles of the page of delimitation electron reading is four page turning touch areas 5,6,7,8, and the zone that is positioned at page middle part is exhalation menu area 9.
Next in step S02, detect the touch screen point and drop on which zone, the touch screen point is in arbitrary page turning touch area 5 as described, 6, in 7,8, then with described page turning touch area 5,6, then the page turning starting point of the page in 7,8 continues execution in step S1 to S7 as initial point, the touch screen point is in exhalation menu area 9, then popup menu as described.
Fig. 6 is the synoptic diagram that the page of the method for the simulation regular script page-turning effect of electron reading of the present invention when clicking touch area, the lower right corner when 4 touch-control page turnings dug.Fig. 7 is the synoptic diagram that the page of the method for the simulation regular script page-turning effect of electron reading of the present invention when clicking touch area, the upper left corner when 4 touch-control page turnings dug.In Fig. 6 and Fig. 7, current page 2 is dug, and expose the nextpage page 4, and the hypographous page area of tool is the page turning page 3.
3 touch-control page turning methods are consistent with the page turning method of general books, are page left side for binding side, only have two page or leaf angles on right side to stir in a page.
Fig. 8 is the process flow diagram of the method according to the simulation regular script page-turning effect of electron reading of the present invention when adopting 3 touch-control page turnings.Fig. 9 is the synoptic diagram that the page area of employing three electric touch-control page turnings of method of the simulation regular script page-turning effect of electron reading of the present invention is divided.
Such as Fig. 8 and shown in Figure 9, further comprising the steps of before abovementioned steps S1:
In step S001, the close region at two page or leaf angles on right side of delimiting the page of electron reading is that the left field of page turning touch area 11 and 12, the page be back to turn over touch area 13 and the zone that is positioned in the middle part of the page is exhalation menu area 10.
Next in step S002, detect the touch screen point and drop on which zone, the touch screen point is in arbitrary page turning touch area 11 and 12 as described, then with the page turning starting point of the page in described page turning touch area 11 and 12 as initial point, then continue execution in step S1 to S7, the touch screen point is in exhalation menu area 10, then popup menu as described; The touch screen point is in back and turns over touch area 13 as described, and then prevpage stirs the covering current page towards returning.
When adopting 3 touch-control page turning methods, the page to dig effect consistent with effect illustrated in fig. 6.Figure 10 is that the method for the simulation regular script page-turning effect of electron reading of the present invention is clicked the prevpage of left side during the touch area towards returning the synoptic diagram that stirs when 4 touch-control page turnings.As shown in figure 10, when the touch screen point is in back when turning over the touch area, the front page or leaf page 14 stirs to returning, and covers current page 15.
The beneficial effect of the method for the simulation regular script page-turning effect of electron reading of the present invention is, by this method, can make the user when using electronic product to read the electrical type reading matter, obtain to match in excellence or beauty read regular script general browse effect.
Above embodiment is exemplary embodiment of the present invention only, is not used in restriction the present invention, and protection scope of the present invention is defined by the claims.Those skilled in the art can make various modifications or be equal to replacement the present invention in essence of the present invention and protection domain, this modification or be equal to replacement and also should be considered as dropping in protection scope of the present invention.

Claims (3)

1. the method for an electron reading simulation regular script page-turning effect is characterized in that, may further comprise the steps:
S1: obtain the touch screen point C that clicks, and with the page turning starting point of the page as initial point O, be respectively x axle and y axle through the page boundary of initial point O;
S2: connect touch screen point C and initial point 0, get mid point G, cross the perpendicular bisector that the G point is line segment OC, the intersection point of described perpendicular bisector and x axle is A 1, with the intersection point of y axle be B 1, calculate respectively A 1And B 1Coordinate;
S3: connect respectively C point and A 1Point and C point and B 1Point calculates respectively two line segment CA 1And CB 1Mid point D and the coordinate of E;
S4: connect D point and E point, the intersection point of the extended line of line segment DE and x axle is A 2, with the intersection point of y axle be B 2, calculate respectively A 2And B 2Coordinate;
S5: utilize the Bezier function, by an A 1, A 2And D, obtain the first curve, again by a B 1, B 2Obtain the second curve with E, and calculate respectively the mid point F of the first curve and the second curve, the coordinate of H;
S6: the zone that some C, D, E, F and H surround is the page turning page;
S7: obtain next touch screen point, and repeat the step of above-mentioned S1 to S6, until touch screen point disappears.
2. the method for electron reading simulation regular script page-turning effect as claimed in claim 1 is characterized in that, and is further comprising the steps of before described step S1:
S01: the close region at four page or leaf angles of the page of delimitation electron reading is four page turning touch areas, and the zone that is positioned at page middle part is the exhalation menu area;
S02: detect the touch screen point and drop on which zone, the touch screen point is in arbitrary page turning touch area as described, then with the page turning starting point of the page in the described page turning touch area as initial point, then continue execution in step S1 to S7, the touch screen point is in exhalation menu area, then popup menu as described.
3. the method for electron reading simulation regular script page-turning effect as claimed in claim 1 is characterized in that, and is further comprising the steps of before described step S1:
S001: the close region at two page or leaf angles on right side of delimiting the page of electron reading is that the left field of page turning touch area, the page be back to turn over the touch area and the zone that is positioned in the middle part of the page is the exhalation menu area;
S002: detect the touch screen point and drop on which zone, the touch screen point is in arbitrary page turning touch area as described, then with the page turning starting point of the page in the described page turning touch area as initial point, then continue execution in step S1 to S7, the touch screen point is in exhalation menu area, then popup menu as described; The touch screen point is in back and turns over the touch area as described, and then prevpage stirs the covering current page towards returning.
CN201210426545XA 2012-10-11 2012-10-11 Method for imitating real book page-turning effect of electronic books Pending CN102981718A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210426545XA CN102981718A (en) 2012-10-11 2012-10-11 Method for imitating real book page-turning effect of electronic books

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210426545XA CN102981718A (en) 2012-10-11 2012-10-11 Method for imitating real book page-turning effect of electronic books

Publications (1)

Publication Number Publication Date
CN102981718A true CN102981718A (en) 2013-03-20

Family

ID=47855816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210426545XA Pending CN102981718A (en) 2012-10-11 2012-10-11 Method for imitating real book page-turning effect of electronic books

Country Status (1)

Country Link
CN (1) CN102981718A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156144A (en) * 2013-05-14 2014-11-19 腾讯科技(深圳)有限公司 Electronic document page-turning effect realizing method and device
CN105955599A (en) * 2016-05-13 2016-09-21 锐达互动科技股份有限公司 Realization method for simulating document reading mode in electronic device
CN103970432B (en) * 2014-04-28 2017-06-16 深圳市云宙多媒体技术有限公司 A kind of method and apparatus of simulating real page turning effect
CN112433657A (en) * 2020-11-23 2021-03-02 掌阅科技股份有限公司 Electronic book simulation page turning method, electronic equipment and computer storage medium
CN112543249A (en) * 2019-09-23 2021-03-23 腾讯科技(深圳)有限公司 Screen display method, device, terminal and storage medium
WO2022105514A1 (en) * 2020-11-23 2022-05-27 掌阅科技股份有限公司 Page turning simulation method for electronic book, and electronic device and computer storage medium
CN116755595A (en) * 2023-08-11 2023-09-15 江苏中威科技软件系统有限公司 Method for dynamically turning page based on distance between passing content and page frame

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102364428A (en) * 2011-10-28 2012-02-29 鸿富锦精密工业(深圳)有限公司 Electronic equipment and page processing method thereof
CN102385473A (en) * 2010-09-02 2012-03-21 腾讯科技(深圳)有限公司 Page switching method and device
US20120084703A1 (en) * 2010-10-01 2012-04-05 Samsung Electronics Co., Ltd. Apparatus and method for turning e-book pages in portable terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102385473A (en) * 2010-09-02 2012-03-21 腾讯科技(深圳)有限公司 Page switching method and device
US20120084703A1 (en) * 2010-10-01 2012-04-05 Samsung Electronics Co., Ltd. Apparatus and method for turning e-book pages in portable terminal
CN102364428A (en) * 2011-10-28 2012-02-29 鸿富锦精密工业(深圳)有限公司 Electronic equipment and page processing method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
DONG0812: "《百度文库(http://wenku.baidu.com/view/6339c9d1195f312b3169a529.html?re=view)》", 28 August 2012 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156144A (en) * 2013-05-14 2014-11-19 腾讯科技(深圳)有限公司 Electronic document page-turning effect realizing method and device
CN104156144B (en) * 2013-05-14 2018-02-27 腾讯科技(深圳)有限公司 Electric document page-turning effect implementation method and device
CN103970432B (en) * 2014-04-28 2017-06-16 深圳市云宙多媒体技术有限公司 A kind of method and apparatus of simulating real page turning effect
CN105955599A (en) * 2016-05-13 2016-09-21 锐达互动科技股份有限公司 Realization method for simulating document reading mode in electronic device
CN105955599B (en) * 2016-05-13 2019-06-07 锐达互动科技股份有限公司 A kind of implementation method for simulating document reading method on an electronic device
CN112543249A (en) * 2019-09-23 2021-03-23 腾讯科技(深圳)有限公司 Screen display method, device, terminal and storage medium
CN112433657A (en) * 2020-11-23 2021-03-02 掌阅科技股份有限公司 Electronic book simulation page turning method, electronic equipment and computer storage medium
CN112433657B (en) * 2020-11-23 2022-03-29 掌阅科技股份有限公司 Electronic book simulation page turning method, electronic equipment and computer storage medium
WO2022105514A1 (en) * 2020-11-23 2022-05-27 掌阅科技股份有限公司 Page turning simulation method for electronic book, and electronic device and computer storage medium
CN116755595A (en) * 2023-08-11 2023-09-15 江苏中威科技软件系统有限公司 Method for dynamically turning page based on distance between passing content and page frame
CN116755595B (en) * 2023-08-11 2023-10-27 江苏中威科技软件系统有限公司 Method for dynamically turning page based on distance between passing content and page frame

Similar Documents

Publication Publication Date Title
CN102981718A (en) Method for imitating real book page-turning effect of electronic books
CN102033651B (en) Negative pixel compensation method and apparatus, and touch sensor panel
JP2023101829A (en) Information processing device
Wiethoff et al. Sketch-a-TUI: low cost prototyping of tangible interactions using cardboard and conductive ink
US20110074719A1 (en) Gesture detecting method for touch panel
Moscovich Principles and applications of multi-touch interaction
US8638302B2 (en) Apparatus with multiple displays
CN104035562B (en) Method and system for mapping three-dimensional desktop touch events
WO2013143290A1 (en) Method for unlocking screen protection and user equipment thereof
CN110493018B (en) Group chat creating method and device
CN107340964A (en) The animation effect implementation method and device of a kind of view
CN106775088A (en) Contactor control device
CN106657472A (en) handheld terminal and control method thereof
CN105278751A (en) Method and apparatus for implementing human-computer interaction, and protective case
CN107219970A (en) Operating method and device, readable storage medium storing program for executing, the terminal of visual analyzing chart
CN102938157A (en) Method and system for generating stylized freehand sketching based on circular region B spline curves
TWM368849U (en) Multi-point capacitive touch sensor
WO2015176376A1 (en) Method and device for automatically adjusting valid touch point, and computer storage medium
CN109801300A (en) Coordinate extraction method, device, equipment and the computer readable storage medium of X-comers
CN104615318A (en) Touch screen and terminal provided with same
CN104750905B (en) Computer-implemented method for designing a three-dimensional modeled object
JP2020535506A (en) Touch panel and touch device
CN104572598A (en) Typesetting method and device for digitally published product
CN105446460B (en) A kind of information processing method, interactive class attachment and electronic equipment
Giachetti et al. Shape retrieval and 3d gestural interaction: position paper

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130320