CN107608596A - A kind of method, terminal and the storage medium of e-book page turning - Google Patents
A kind of method, terminal and the storage medium of e-book page turning Download PDFInfo
- Publication number
- CN107608596A CN107608596A CN201710861750.1A CN201710861750A CN107608596A CN 107608596 A CN107608596 A CN 107608596A CN 201710861750 A CN201710861750 A CN 201710861750A CN 107608596 A CN107608596 A CN 107608596A
- Authority
- CN
- China
- Prior art keywords
- page
- turn over
- over operation
- current page
- page turning
- 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
Links
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of method, terminal and the storage medium of e-book page turning.Methods described includes:Identify the type of the current page turn over operation of user;If the current page turn over operation is first kind page turn over operation, use level page turning pattern carries out whole page page turning in the horizontal direction;If the current page turn over operation is the second class page turn over operation, continuous rolling page turning is carried out in vertical direction using vertical scrolling page turning pattern.Technical scheme provided by the invention, first kind page turn over operation and the second class page turn over operation directly can be used in mixed way in read interface, without by setting menu to select or switch two kinds of page turning patterns, alleviate the operating burden of user, operating flexibility is improved, so as to improve the fluency of Consumer's Experience.
Description
Technical field
The present invention relates to field of computer technology, and in particular to a kind of method, terminal and the storage medium of e-book page turning.
Background technology
E-book is to utilize computer technology by the publication of the information content digitizations such as word, picture, sound, image.
With Internet technology application it is more and more extensive, it is more and more general by being read for the reading application of reading electronic book
Time.
The continuous rolling that reading the page turning mode of application is mainly included in horizontal direction in whole page page turning and vertical direction turns over
Page, it is frequently necessary to carry out the switching of both of which in reading process.For example, in reading electronic book, in e-book often
There are picture or form, and above or below photo table, there are corresponding explanation picture or the word of table content, such as pass through text
Word is described to image content or the data in form or formula is explained by word.In this case it is past
Toward needing picture and corresponding word while be illustrated in a page and just facilitate user to read.Under flip horizontal pattern, figure
Piece and corresponding word may be divided into priority page two, left and right page turning back and forth is just needed when so linkage is checked, very
It is inconvenient.
At present, in this case, it is necessary to set by page turning pattern and realize page turning pattern switching, such as open e-book
Default level page turning pattern afterwards, if desired using vertical scrolling page turning pattern, then user, which needs to recall, sets menu and in menu
Currently used page turning model is vertical scrolling page turning pattern by flip horizontal schema modification by relevant position.Therefore, existing electricity
Philosophical works page turning method complex operation, the fluency of Consumer's Experience are poor.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on
State the terminal and storage medium and the method for corresponding e-book page turning of problem.
According to an aspect of the invention, there is provided a kind of method of e-book page turning, including:
Identify the type of the current page turn over operation of user;
If the current page turn over operation is first kind page turn over operation, use level page turning pattern is carried out in the horizontal direction
Whole page page turning;
If the current page turn over operation is the second class page turn over operation, using vertical scrolling page turning pattern in vertical direction
Carry out continuous rolling page turning.
According to another aspect of the present invention, there is provided a kind of terminal, including:Processor, memory, communication interface and communication
Bus, the processor, the memory and the communication interface complete mutual communication by the communication bus;
The memory is used to deposit an at least executable instruction, and the executable instruction makes below the computing device
Operation:
Identify the type of the current page turn over operation of user;
If the current page turn over operation is first kind page turn over operation, use level page turning pattern is carried out in the horizontal direction
Whole page page turning;
If the current page turn over operation is the second class page turn over operation, using vertical scrolling page turning pattern in vertical direction
Carry out continuous rolling page turning.
According to another aspect of the invention, there is provided a kind of computer-readable storage medium, be stored with the storage medium to
A few executable instruction, the executable instruction make to operate below computing device:
Identify the type of the current page turn over operation of user;
If the current page turn over operation is first kind page turn over operation, use level page turning pattern is carried out in the horizontal direction
Whole page page turning;
If the current page turn over operation is the second class page turn over operation, using vertical scrolling page turning pattern in vertical direction
Carry out continuous rolling page turning.
According to technical scheme provided by the invention, user can carry out a left side by first kind page turn over operation in read interface
Right page turning, or vertical scrolling page turning, first kind page turn over operation and are carried out in read interface by the second class page turn over operation
Two class page turn over operation directly can be used in mixed way in read interface, without by setting menu to select two kinds of page turning patterns
Select or switch, alleviate the operating burden of user, improve operating flexibility, so as to improve the fluency of Consumer's Experience.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this area
Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 a show the flow chart of the method for according to embodiments of the present invention one e-book page turning;
Fig. 1 b show the schematic diagram of the page turn over operation type identification according to embodiments of the present invention one;
Fig. 2 a show the flow chart of the method for according to embodiments of the present invention two e-book page turning;
Fig. 2 b show the incomplete schematic diagram of first trip text importing in the embodiment of the present invention two;
Fig. 2 c show the incomplete schematic diagram of tail row text importing in the embodiment of the present invention two;
Fig. 2 d show the complete schematic diagram of head and the tail row text importing in the embodiment of the present invention two;
Fig. 3 a show the flow chart of the method for according to embodiments of the present invention three e-book page turning;
Fig. 3 b show the incomplete schematic diagram of tail row text importing in the embodiment of the present invention three;
Fig. 3 c show the schematic diagram of new page under the page turn over operation of left and right in the embodiment of the present invention three;
Fig. 3 d show the schematic diagram of new page under the page turn over operation of left and right in the embodiment of the present invention three;
Fig. 4 shows the structure chart of according to embodiments of the present invention five terminal.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
Embodiment one
Fig. 1 a show the flow chart of the method for according to embodiments of the present invention one e-book page turning.With reference to figure 1a, this reality
The method for applying the e-book page turning of example may include steps of:
The type of step 101, the current page turn over operation of identification user.
In the present embodiment, it can use to read and be read using opening e-book.In the process of user's reading electronic book
In, the page turn over operation of user is monitored in real time, and identifies the type of the current page turn over operation monitored.
In a kind of embodiment of the present embodiment, if detect user's slide to the left on the touchscreen or
Slide to the right, it is determined that the current page turn over operation is first kind page turn over operation;If detect user on the touchscreen
Upward sliding operates or slide downward operation, it is determined that the current page turn over operation is the second class page turn over operation.
The slide of user typically simultaneously contain horizontal direction displacement and vertical direction displacement, can according to it is identical when
Which interior dimension displacement identifies more greatly the glide direction of user's operation.Slided to the left on screen with user's finger and be
Example, although movement tendency is to produce displacement to the left, contact area has increase tendency or existed not during due to finger down
Perceive towards the micro-displacement on other directions, so the displacement in multiple directions can be produced.But displacement to the left can be bright
The aobvious displacement more than on other directions, based on this, it can correctly screen the moving direction for meeting operation intention of user.
Specifically, user can produce touch event when carrying out touch operation on touch screen, caught if operating system is monitored
To touch event, for clicking operation, the information of seizure includes touch point coordinate, is operated for sliding trace, the information of seizure
Include a series of coordinate of tracing points between starting point to terminal (position when finger frames out).Read application and pass through spy
Coordinate information caused by stationary interface to operating system acquisition request touch event, can be ignored for clicking operation, for cunning
Dynamic rail mark operates, and can calculate glide direction by a series of coordinate points, thereby determine that the page turning direction of user.
The slide being related in the present embodiment can include four direction up and down, and user triggers in practical application
Glide direction be not abswolute level or vertical, it is possible to real sliding trace is to upper left side or a left side when sliding to the left
(other directions are similar to be repeated no more) that lower section is carried out.This just needs the allowed band and non-Tongfang that further consider operating error
Defining between upward error range.
With reference to figure 1b, step 101 can further include:Obtain the default value sliding trace of user on the touchscreen
Point, wherein sliding trace point includes sliding starting point;It is the origin of coordinates (referring to O in Fig. 1 b using the slip starting point
Point), horizontal right direction is X-direction, vertically upward establishes coordinate system for Y direction;For sliding starting except described
Other each sliding trace points outside point, if connection is described to slide starting point and the line segment and X-axis of other sliding trace points
Between angle in (315 °, 360 °) or (0,45 °), it is determined that detect the behaviour of slip to the right of user on the touchscreen
Make;For other each sliding trace points in addition to the slip starting point, if the connection slip starting point and this other
Angle between the line segment and X-axis of sliding trace point is in (45 °, 135 °), it is determined that detects user on the touchscreen
Upward sliding operates;For other each sliding trace points in addition to the slip starting point, if connecting the slip starting point
And the angle between the line segment and X-axis of other sliding trace points is in (135 °, 225 °), it is determined that detects that user exists
Slide to the left on touch-screen;For other each sliding trace points in addition to the slip starting point, if described in connection
The angle between starting point and the line segment and X-axis of other sliding trace points is slided in (225 °, 315 °), it is determined that inspection
Measure the slide downward operation of user on the touchscreen.Touch-screen is divided into up and down four by the program by 45 ° of diagonal
Individual region, and determine glide direction according to the region where preceding several tracing points in sliding trace.
Alternatively, it is also possible to determine each tracing point region in the sliding trace of user on the touchscreen, rail will be included
The most region of mark point is defined as region corresponding to sliding trace, then determines slip side according to region corresponding to sliding trace
To.
In a kind of embodiment of the present embodiment, if detecting, volume plus key or volume down key are pressed, can
To determine that the current page turn over operation is the second class page turn over operation.For example, the continuous rolling by volume plus key realization vertically upward
Dynamic page turning, pass through the continuous rolling page turning of volume down key realization vertically downward.The advantage so set is:Simplify page turning behaviour
Make the identification process of type, while volume key mode of operation also complies with the use habit of down operation.
Furthermore it is also possible to the type of user's page turn over operation is identified by gravity accelerometer, if such as passing through gravity
Acceleration transducer recognizes user to the left or the terminal of application is read in right bank carrying, it is determined that recognizes first kind page turning behaviour
Make;If user is recognized forward or rear-inclined terminal by gravity accelerometer, it is determined that recognize the second class page turning behaviour
Make.
If step 102, the current page turn over operation are first kind page turn over operation, use level page turning pattern is in level side
Whole page page turning is carried out upwards.
Wherein, each page turning carries out overall replacement to whole page word content under flip horizontal pattern.If specifically, currently turn over
Page operations are horizontal page turnings to the left, then replace with lower one page word;If current page turn over operation is horizontal page turning to the right, replace with
Page up word.
If step 103, the current page turn over operation are the second class page turn over operation, hung down using vertical scrolling page turning pattern
Nogata carries out continuous rolling page turning upwards.
Wherein, vertical scrolling page turning pattern is replaced line by line to word content.If specifically, current page turn over operation be to
Upper slide or by volume plus key, then replace subsequent rows word line by line;If current page turn over operation be slide downward operation or by
Volume down key, then replace line by line in forward word.
First kind page turn over operation (i.e. left and right page turn over operation) and the second class page turn over operation (rolling page turn over operation) can be straight
It is connected in read interface and is used in mixed way.When turning to rolling page turn over operation by the change of left and right page turn over operation, with page up end position
Starting position generation and display scrolling page turning as next page scrolling page;Left and right page turning behaviour is turned to when rolling page turn over operation change
When making, generated using the starting position of scroll through pages end position as next overall page and show next overall page.
If user wants to realize page turning pattern switching in the present embodiment, page turn over operation only need to be adjusted, without passing through
Set menu to select or switch two kinds of page turning patterns, the reading behavior of user will not be interrupted, be advantageous to improve what is read
Experience is smooth, and feeling of immersion is read in enhancing.
Embodiment two
It is continuously slipping in traditional vertical scrolling page turning pattern lower page, is sometime possible to a line word and is hanging down
Display is not complete upwards for Nogata, and to be whole page stir flip horizontal pattern lower page, and what is shown every time is all complete one page of content.
Thus by vertical scrolling page turning pattern switching to flip horizontal pattern partial content may be caused to show incomplete problem.
For the imperfect problem of content displaying caused by solving page turning pattern switching, the present embodiment is to vertical scrolling page turning mould
Formula is adjusted, and makes each row content intact displaying under vertical scrolling page turning model.
Fig. 2 a show the flow chart of the method for according to embodiments of the present invention two e-book page turning.With reference to figure 2a, this reality
The method for applying the e-book page turning of example offer may include steps of:
The type of step 201, the current page turn over operation of identification user.
If step 202, the current page turn over operation are first kind page turn over operation, use level page turning pattern is in level side
Whole page page turning is carried out upwards.
If step 203, the current page turn over operation are the second class page turn over operation, according to the current page turn over operation, really
The fixed shift value rolled to display content.
Specifically, during user performs the second class page turn over operation, determine in real time and update display content rolling
Shift value, such as can be according to the time span and/or path length of current page turn over operation, it is determined that the displacement rolled to display content
Value.It is on touch-screen exemplified by the slide of vertical direction by the second class page turn over operation, the shift value rolled to display content can
With proportional with the time span and/or path length of slide.
Step 204, when the current page turn over operation stops, the shift value is adjusted to obtain new shift value.
Specifically, when the current page turn over operation stops, if first trip text in the page corresponding to the shift value of display content
Word or tail row text importing are imperfect (with reference to figure 2b and Fig. 2 c), then displacement that can be new by increasing or reducing shift value
First trip word and tail style of writing word are shown complete (with reference to figure 2d) in the page corresponding to value.It should be noted that described current
When page turn over operation stops, if first trip word and tail style of writing word are shown completely in the page corresponding to the shift value of display content,
Adjustment amplitude to shift value is zero, directly using the shift value determined in step 203 as new shift value.
In a kind of embodiment of the present embodiment, step 204 can include:According to equation below to the displacement
Value is adjusted to obtain new shift value:
S=round (s/ (h+i)) × (h+i)
Wherein, S is new shift value, and s is the shift value rolled to display content, and h is word height, and i is line space,
Round (x) is to nearly bracket function.
In the state of row display from beginning to end is complete in the previous page of current rolling page turn over operation, in current page turn over operation
At the time of stopping, it is determined that whether the shift value s rolled to display content is the integral multiple of (h+i), if it is not, then s is finely tuned
New shift value S is obtained to immediate integral multiple.After subsequently being slided based on new shift value, it can still ensure in reading window
The effect of some row reading contents is inside just completely shown, the problem of not having the imperfect display of a certain row content.
Specifically, if current scrolling page turn over operation is left and right page turn over operation before, row has been shown from beginning to end in the previous page
It is whole.If it is to roll page turn over operation before current scrolling page turn over operation, and row display from beginning to end is complete in the page after rolling page turning, then
Row display from beginning to end is complete in the previous page.
In addition, in order that the head and the tail row of the page shows that the head and the tail row that can completely make initial read interface is completely shown.
Exemplary, when detecting that file reads event, generate and show initial reading page, wherein the initial reading page
First trip and tail row are completely shown.
Wherein it is possible to when detecting file open operation, generation file reads event.Specifically, can be according to newly beating
The history of open file reads progress, it is determined that initial reading position, and generated according to initial reading position and show initial read page
Face, wherein the first trip of initial reading page and tail row are completely shown.Initial reading position refers to that this reads first display
Position of the word in whole book contents.The first trip of initial reading page and tail row are completely shown, can not only be avoided
Hemistich displaying in initial reading page be present, lift Consumer's Experience, can also be easy under vertical scrolling page turning pattern
Keep the integrality of the page.
Step 205, based on new shift value to display content carry out continuous rolling page turning, head and the tail row text importing is complete
It is whole.
By being finely adjusted to the shift value that display content rolls under vertical scrolling page turning pattern, it is ensured that vertical rolling
The page under dynamic page turning pattern is shown completely.When turning to left and right page turn over operation by arbitrarily rolling page turn over operation change, to roll page
Face end position generates as the starting position of next overall page and shows next overall page, can avoid content displaying
Imperfect problem.The technical scheme that the present embodiment provides, the position under vertical scrolling page turning pattern by being rolled to display content
Shifting value is finely adjusted, it is ensured that the page under vertical scrolling page turning pattern is shown completely, so as to avoid by vertical scrolling page turning
There is the incomplete problem of content displaying in pattern switching, this programme allows users to turn at two kinds at any time to flip horizontal pattern
Switch between page mode, improve the convenience of user's operation.
Embodiment three
For the imperfect problem of content displaying caused by solving page turning pattern switching, the present embodiment additionally provides a kind of new
The method of e-book page turning.
Fig. 3 a show the flow chart of the method for according to embodiments of the present invention three e-book page turning.With reference to figure 3a, this reality
The method for applying the e-book page turning of example offer may include steps of:
The type of step 301, the current page turn over operation of identification user.
If step 302, the current page turn over operation are first kind page turn over operation, use level page turning pattern is in level side
Whole page page turning is carried out upwards.
If step 303, the current page turn over operation are the second class page turn over operation, according to the current page turn over operation, it is determined that
The shift value rolled to display content, and continuous rolling page turning is carried out to display content according to the shift value.
To display content roll shift value can according to current page turn over operation time span and/or path length it is true
It is fixed.
Step 304, it will show that complete first trip row first place is put in current page and be defined as the start bit of the current page
Put, the next position that complete tail every trade tail position is shown in the current page is defined as to the stop bits of the current page
Put.
With reference to figure 3b and Fig. 3 c, during page turn over operation is rolled, if directly incomplete tail will be shown in current page
The next position of every trade tail position is defined as the end position of current page, and next page turn over operation is page turn over operation to the left, then
Partial content is caused to show imperfect.If it is defined as in addition, will directly show that incomplete first trip row first place is put in current page
The starting position of current page, and next page turn over operation is page turn over operation to the right, also result in partial content show it is imperfect.
With reference to figure 3b and Fig. 3 d, during page turn over operation is rolled, by the starting position and the end that update current page
Position so that if follow-up be switched to left and right page turn over operation by rolling page turn over operation, the start bit according to the current page after renewal
Put the content for being included in the new content of pages generated with end position and not showing complete line in current page.
In addition, during the page turn over operation of left and right, directly first trip row first place in current page is put and is defined as current page
Starting position, the next position of tail every trade tail position is defined as the end position of current page, without to current page
Starting position and end position are adjusted.
In a kind of specific embodiment mode of the present embodiment, step 304 can include:It is current according to equation below renewal
The starting position of the page and end position:
N=floor (D/ (h+i));
Wherein, P1 is newIt is the starting position of current page, P2 is newIt is the end position of current page, PAt the beginning of 1It is newest once by water
Flat page turning pattern switching is to the starting position of initial scroll through pages during vertical scrolling page turning pattern, PAt the beginning of 2It is the initial rolling page
The end position in face, D are accumulative roll displacement of the initial scroll through pages to current page, and floor (x) is downward bracket function, h
Word height is represented, i represents line space, WjFor the word quantity of jth row, n is that current page exists relative to initial scroll through pages
The full line number that vertical direction rolls.The starting position of the wherein page refers to the word of first display in the page in whole books
Position in appearance, after the completion of the end position of the page refers to that the page is shown, the word of first display is whole in next page
Position in book contents, current page refer to read the page that application is being shown.
Specifically, when by flip horizontal pattern switching to vertical scrolling page turning pattern, it is determined that initial scroll through pages are opened
Beginning position and end position, and determine following vertical roll page turn over operation corresponding to roll displacement, roll displacement is added up
Initial scroll through pages are obtained to the accumulative roll displacement D of current page.Then, accumulative roll displacement D is carried out to (h+i) downward
Round to obtain the full line number n that current page rolls relative to initial scroll through pages in vertical direction.Also, will be complete in current page
The starting position for being defined as current page is put in first every trade first place of whole display, by the not complete display line of page footing in current page
The end position for being defined as current page is put in row first place, is easy to subsequently by vertical scrolling page turning pattern switching to flip horizontal pattern
Afterwards, a line not shown completely in current page (the first row or last column) can be shown again under flip horizontal pattern
Show, so as to avoid content part show the problem of.
If step 305, detecting by the vertical scrolling page turning pattern switching to the flip horizontal pattern, according to working as
The starting position of the preceding page or end position determine and generate new content of pages.
If specifically, detect by the vertical scrolling page turning pattern switching to the flip horizontal pattern, and new work as
Preceding page turn over operation is that level operates to the left, then the end position according to current page determines and generates new content of pages, will
Starting position of the end position of current page as the new page, generate and show lower one page of content.If detect by described
Vertical scrolling page turning pattern switching to the flip horizontal pattern, and new current page turn over operation be it is horizontal operate to the right, then according to
Determined according to the starting position of current page and generate new content of pages, i.e., using the starting position of current page as the new page
End position, generate and show page up content.
The technical scheme that the present embodiment provides, by will completely be shown in current page under the vertical scrolling page turning pattern
The starting position for being defined as current page is put in first every trade first place, and the row first place of the not complete display line of page footing in current page is put
It is defined as the end position of current page, and after by vertical scrolling page turning pattern switching to flip horizontal pattern, will be vertical
Roll a line not shown completely under page turning pattern and show that avoiding page turning pattern switching causes again under flip horizontal pattern
Content part display the problem of so that user can switch page turning pattern at any time, improve user operation convenience.
Example IV
The embodiment of the present application four provides a kind of nonvolatile computer storage media, the computer-readable storage medium storage
There is an at least executable instruction, the computer executable instructions can perform the e-book page turning in above-mentioned any means embodiment
Method.
Executable instruction specifically can be used for so that being operated below computing device:
Identify the type of the current page turn over operation of user;
If the current page turn over operation is first kind page turn over operation, use level page turning pattern is carried out in the horizontal direction
Whole page page turning;
If the current page turn over operation is the second class page turn over operation, using vertical scrolling page turning pattern in vertical direction
Carry out continuous rolling page turning.
Exemplary, the executable instruction further makes to operate below the computing device:
According to the current page turn over operation, it is determined that the shift value rolled to display content;
When the current page turn over operation stops, the shift value is adjusted to obtain new shift value;
Continuous rolling page turning is carried out to display content based on new shift value, head and the tail row text importing is complete.
Exemplary, the executable instruction further makes to operate below the computing device:
When the current page turn over operation stops, the shift value is adjusted to obtain new displacement according to equation below
Value:
S=round (s/ (h+i)) × (h+i)
Wherein, S is new shift value, and s is the shift value rolled to display content, and h is word height, and i is line space,
Round (x) is to nearly bracket function.
Exemplary, the executable instruction further makes to operate below the computing device:
According to the current page turn over operation, it is determined that the shift value rolled to display content, and according to the shift value to aobvious
Show that content carries out continuous rolling page turning;
To show that complete first trip row first place is put in current page and be defined as the starting position of the current page, will described in
Show that the next position of complete tail every trade tail position is defined as the end position of the current page in current page.
Exemplary, the executable instruction further makes to operate below the computing device:
Starting position and end position according to equation below renewal current page:
N=floor (D/ (h+i));
Wherein, P1 is newIt is the starting position of current page, P2 is newIt is the end position of current page, PAt the beginning of 1It is newest once by water
Flat page turning pattern switching is to the starting position of initial scroll through pages during vertical scrolling page turning pattern, PAt the beginning of 2It is the initial rolling page
The end position in face, D are by the accumulative roll displacement of the initial scroll through pages to current page, and floor (x) is rounds downwards
Function, h represent word height, and i represents line space, WjFor the word quantity of jth row.
Exemplary, the executable instruction further makes to operate below the computing device:
If detect by the vertical scrolling page turning pattern switching to the flip horizontal pattern, according to current page
Starting position or end position determine and generate new content of pages.
Exemplary, the executable instruction further makes to operate below the computing device:
If detect user's slide to the left on the touchscreen or to the right slide, it is determined that the current page turning
Operation is first kind page turn over operation;
If detect the upward sliding operation or slide downward operation of user on the touchscreen, it is determined that the current page turning
Operation is the second class page turn over operation.
Embodiment five
Fig. 4 shows a kind of structural representation of according to embodiments of the present invention five terminal, and the specific embodiment of the invention is simultaneously
The specific implementation to terminal does not limit.
As shown in figure 4, the terminal can include:Processor (processor) 502, communication interface (Communications
Interface) 504, memory (memory) 506 and communication bus 508.
Wherein:
Processor 502, communication interface 504 and memory 506 complete mutual communication by communication bus 508.
Communication interface 504, for being communicated with the network element of miscellaneous equipment such as client or other servers etc..
Processor 502, for configuration processor 510, in the embodiment of the method that can specifically perform above-mentioned e-book page turning
Correlation step.
Specifically, program 510 can include program code, and the program code includes computer-managed instruction.
Processor 502 is probably central processor CPU, or specific integrated circuit ASIC (Application
Specific Integrated Circuit), or it is arranged to implement the integrated electricity of one or more of the embodiment of the present invention
Road.The one or more processors that terminal includes, can be same type of processor, such as one or more CPU;Can also be
Different types of processor, such as one or more CPU and one or more ASIC.
Memory 506, for depositing program 510.Memory 506 may include high-speed RAM memory, it is also possible to also include
Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 510 specifically can be used for so that processor 502 performs following operation:
Identify the type of the current page turn over operation of user;
If the current page turn over operation is first kind page turn over operation, use level page turning pattern is carried out in the horizontal direction
Whole page page turning;
If the current page turn over operation is the second class page turn over operation, using vertical scrolling page turning pattern in vertical direction
Carry out continuous rolling page turning.
Exemplary, the executable instruction further makes to operate below the computing device:
According to the current page turn over operation, it is determined that the shift value rolled to display content;
When the current page turn over operation stops, the shift value is adjusted to obtain new shift value;
Continuous rolling page turning is carried out to display content based on new shift value, head and the tail row text importing is complete.
Exemplary, the executable instruction further makes to operate below the computing device:
When the current page turn over operation stops, the shift value is adjusted to obtain new displacement according to equation below
Value:
S=round (s/ (h+i)) × (h+i)
Wherein, S is new shift value, and s is the shift value rolled to display content, and h is word height, and i is line space,
Round (x) is to nearly bracket function.
Exemplary, the executable instruction further makes to operate below the computing device:
According to the current page turn over operation, it is determined that the shift value rolled to display content, and according to the shift value to aobvious
Show that content carries out continuous rolling page turning;
To show that complete first trip row first place is put in current page and be defined as the starting position of the current page, will described in
Show that the next position of complete tail every trade tail position is defined as the end position of the current page in current page.
Exemplary, the executable instruction further makes to operate below the computing device:
Starting position and end position according to equation below renewal current page:
N=floor (D/ (h+i));
Wherein, P1 is newIt is the starting position of current page, P2 is newIt is the end position of current page, PAt the beginning of 1It is newest once by water
Flat page turning pattern switching is to the starting position of initial scroll through pages during vertical scrolling page turning pattern, PAt the beginning of 2It is the initial rolling page
The end position in face, D are by the accumulative roll displacement of the initial scroll through pages to current page, and floor (x) is rounds downwards
Function, h represent word height, and i represents line space, WjFor the word quantity of jth row.
Exemplary, the executable instruction further makes to operate below the computing device:
If detect by the vertical scrolling page turning pattern switching to the flip horizontal pattern, according to current page
Starting position or end position determine and generate new content of pages.
Exemplary, the executable instruction further makes to operate below the computing device:
If detect user's slide to the left on the touchscreen or to the right slide, it is determined that the current page turning
Operation is first kind page turn over operation;
If detect the upward sliding operation or slide downward operation of user on the touchscreen, it is determined that the current page turning
Operation is the second class page turn over operation.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with teaching based on this.As described above, this kind of system is constructed
The required structure of system is obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that can be with
Realize the content of invention described herein using various programming languages, and the description done above to language-specific be in order to
Disclose the preferred forms of the present invention.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The application claims of shield features more more than the feature being expressly recited in each claim.It is more precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself
Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit requires, summary and accompanying drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
Replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
One of meaning mode can use in any combination.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real
It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
Claims (10)
1. a kind of method of e-book page turning, including:
Identify the type of the current page turn over operation of user;
If the current page turn over operation is first kind page turn over operation, use level page turning pattern carries out whole page in the horizontal direction
Page turning;
If the current page turn over operation is the second class page turn over operation, carried out in vertical direction using vertical scrolling page turning pattern
Continuous rolling page turning.
2. according to the method for claim 1, wherein, continuously rolled in vertical direction using vertical scrolling page turning pattern
Dynamic page turning, including:
According to the current page turn over operation, it is determined that the shift value rolled to display content;
When the current page turn over operation stops, the shift value is adjusted to obtain new shift value;
Continuous rolling page turning is carried out to display content based on new shift value, head and the tail row text importing is complete.
3. according to the method for claim 2, wherein, when the current page turn over operation stops, the shift value is carried out
Adjustment obtains new shift value, including:
When the current page turn over operation stops, the shift value is adjusted to obtain new shift value according to equation below:
S=round (s/ (h+i)) × (h+i)
Wherein, S is new shift value, and s is the shift value rolled to display content, and h is word height, and i is line space, round
(x) it is to nearly bracket function.
4. according to the method for claim 1, wherein, continuously rolled in vertical direction using vertical scrolling page turning pattern
Dynamic page turning, including:
According to the current page turn over operation, it is determined that the shift value rolled to display content, and according to the shift value in display
Hold and carry out continuous rolling page turning;
It will show that complete first trip row first place is put in current page and be defined as the starting position of the current page, will be described current
Show that the next position of complete tail every trade tail position is defined as the end position of the current page in the page.
5. according to the method for claim 4, wherein, it will show that complete first trip row first place is put in current page and be defined as institute
The starting position of current page is stated, the next position that complete tail every trade tail position is shown in the current page is defined as institute
The end position of current page is stated, including:
Starting position and end position according to equation below renewal current page:
N=floor (D/ (h+i));
Wherein, P1 is newIt is the starting position of current page, P2 is newIt is the end position of current page, PAt the beginning of 1It is newest once to be turned over by level
The starting position of initial scroll through pages, P when page mode is switched to vertical scrolling page turning patternAt the beginning of 2It is the initial scroll through pages
End position, D are by the accumulative roll displacement of the initial scroll through pages to current page, and floor (x) is rounds letter downwards
Number, h represent word height, and i represents line space, WjFor the word quantity of jth row.
6. according to the method for claim 4, wherein, it will show that complete first trip row first place is put in current page and be defined as institute
The starting position of current page is stated, the next position that complete tail every trade tail position is shown in the current page is defined as institute
After the end position for stating current page, methods described also includes:
If detect by the vertical scrolling page turning pattern switching to the flip horizontal pattern, the beginning according to current page
Position or end position determine and generate new content of pages.
7. the method according to claim 11, wherein,
If detect user's slide to the left on the touchscreen or to the right slide, it is determined that the current page turn over operation
It is first kind page turn over operation;
If detect the upward sliding operation or slide downward operation of user on the touchscreen, it is determined that the current page turn over operation
It is the second class page turn over operation.
8. a kind of terminal, including:Processor, memory, communication interface and communication bus, the processor, the memory and
The communication interface completes mutual communication by the communication bus;
The memory is used to deposit an at least executable instruction, and the executable instruction makes to grasp below the computing device
Make:
Identify the type of the current page turn over operation of user;
If the current page turn over operation is first kind page turn over operation, use level page turning pattern carries out whole page in the horizontal direction
Page turning;
If the current page turn over operation is the second class page turn over operation, carried out in vertical direction using vertical scrolling page turning pattern
Continuous rolling page turning.
9. terminal according to claim 8, the executable instruction further makes to operate below the computing device:
According to the current page turn over operation, it is determined that the shift value rolled to display content;
When the current page turn over operation stops, the shift value is adjusted to obtain new shift value;
Continuous rolling page turning is carried out to display content based on new shift value, head and the tail row text importing is complete.
10. a kind of computer-readable storage medium, an at least executable instruction, the executable instruction are stored with the storage medium
Make to operate below computing device:
Identify the type of the current page turn over operation of user;
If the current page turn over operation is first kind page turn over operation, use level page turning pattern carries out whole page in the horizontal direction
Page turning;
If the current page turn over operation is the second class page turn over operation, carried out in vertical direction using vertical scrolling page turning pattern
Continuous rolling page turning.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710861750.1A CN107608596A (en) | 2017-09-21 | 2017-09-21 | A kind of method, terminal and the storage medium of e-book page turning |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710861750.1A CN107608596A (en) | 2017-09-21 | 2017-09-21 | A kind of method, terminal and the storage medium of e-book page turning |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107608596A true CN107608596A (en) | 2018-01-19 |
Family
ID=61061657
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710861750.1A Pending CN107608596A (en) | 2017-09-21 | 2017-09-21 | A kind of method, terminal and the storage medium of e-book page turning |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107608596A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109144352A (en) * | 2018-07-05 | 2019-01-04 | 腾讯科技(上海)有限公司 | A kind of automatic reading method, apparatus, terminal and storage medium |
CN109491952A (en) * | 2018-11-27 | 2019-03-19 | 掌阅科技股份有限公司 | Cross-page selection text method, electronic equipment and computer storage medium |
CN109992182A (en) * | 2019-03-28 | 2019-07-09 | 掌阅科技股份有限公司 | E-book batch page turning method, electronic equipment and computer storage medium |
CN110083291A (en) * | 2019-04-23 | 2019-08-02 | 掌阅科技股份有限公司 | Page turning processing method, electronic equipment and the computer storage medium of e-book |
CN110196666A (en) * | 2019-05-20 | 2019-09-03 | 努比亚技术有限公司 | Wearable device and its icon display method and computer readable storage medium |
CN110209452A (en) * | 2019-05-29 | 2019-09-06 | 维沃移动通信有限公司 | The page display method and mobile terminal of mobile terminal |
CN110413177A (en) * | 2019-07-31 | 2019-11-05 | 上海连尚网络科技有限公司 | A kind of method and apparatus for e-book page turning |
CN113111624A (en) * | 2021-04-19 | 2021-07-13 | 北京字节跳动网络技术有限公司 | Text display method and device, electronic equipment and storage medium |
CN113157184A (en) * | 2021-04-26 | 2021-07-23 | 维沃移动通信有限公司 | Content display method and device, electronic equipment and readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1274124A (en) * | 1999-05-13 | 2000-11-22 | 松下电器产业株式会社 | Mobile communicating text processing device and pictures displaying method for same |
CN103268185A (en) * | 2013-04-26 | 2013-08-28 | 珠海全志科技股份有限公司 | Text display method and text display device for e-book reader |
KR20140053456A (en) * | 2012-10-26 | 2014-05-08 | 리아컴즈 주식회사 | The display scrolling method of e-book on device using inclination of geomanetic sensor |
CN103885677A (en) * | 2014-03-10 | 2014-06-25 | 小米科技有限责任公司 | Input processing method, input processing device and terminal equipment |
US20150058721A1 (en) * | 2011-03-03 | 2015-02-26 | Bob Wolter | Scroll-based serialized book reader |
CN104731445A (en) * | 2013-12-24 | 2015-06-24 | 惠州市德赛西威汽车电子有限公司 | Method for displaying long texts |
CN106201234A (en) * | 2015-04-29 | 2016-12-07 | 阿里巴巴集团控股有限公司 | The inspection method of content of pages and device |
CN106527914A (en) * | 2015-09-09 | 2017-03-22 | 阿里巴巴集团控股有限公司 | A page turning method and device and an electronic apparatus |
-
2017
- 2017-09-21 CN CN201710861750.1A patent/CN107608596A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1274124A (en) * | 1999-05-13 | 2000-11-22 | 松下电器产业株式会社 | Mobile communicating text processing device and pictures displaying method for same |
US20150058721A1 (en) * | 2011-03-03 | 2015-02-26 | Bob Wolter | Scroll-based serialized book reader |
KR20140053456A (en) * | 2012-10-26 | 2014-05-08 | 리아컴즈 주식회사 | The display scrolling method of e-book on device using inclination of geomanetic sensor |
CN103268185A (en) * | 2013-04-26 | 2013-08-28 | 珠海全志科技股份有限公司 | Text display method and text display device for e-book reader |
CN104731445A (en) * | 2013-12-24 | 2015-06-24 | 惠州市德赛西威汽车电子有限公司 | Method for displaying long texts |
CN103885677A (en) * | 2014-03-10 | 2014-06-25 | 小米科技有限责任公司 | Input processing method, input processing device and terminal equipment |
CN106201234A (en) * | 2015-04-29 | 2016-12-07 | 阿里巴巴集团控股有限公司 | The inspection method of content of pages and device |
CN106527914A (en) * | 2015-09-09 | 2017-03-22 | 阿里巴巴集团控股有限公司 | A page turning method and device and an electronic apparatus |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109144352A (en) * | 2018-07-05 | 2019-01-04 | 腾讯科技(上海)有限公司 | A kind of automatic reading method, apparatus, terminal and storage medium |
CN109491952A (en) * | 2018-11-27 | 2019-03-19 | 掌阅科技股份有限公司 | Cross-page selection text method, electronic equipment and computer storage medium |
CN109992182A (en) * | 2019-03-28 | 2019-07-09 | 掌阅科技股份有限公司 | E-book batch page turning method, electronic equipment and computer storage medium |
CN110083291A (en) * | 2019-04-23 | 2019-08-02 | 掌阅科技股份有限公司 | Page turning processing method, electronic equipment and the computer storage medium of e-book |
CN110196666A (en) * | 2019-05-20 | 2019-09-03 | 努比亚技术有限公司 | Wearable device and its icon display method and computer readable storage medium |
CN110196666B (en) * | 2019-05-20 | 2022-03-18 | 努比亚技术有限公司 | Wearable device, icon display method thereof, and computer-readable storage medium |
CN110209452A (en) * | 2019-05-29 | 2019-09-06 | 维沃移动通信有限公司 | The page display method and mobile terminal of mobile terminal |
CN110209452B (en) * | 2019-05-29 | 2022-10-14 | 维沃移动通信有限公司 | Page display method of mobile terminal and mobile terminal |
CN110413177A (en) * | 2019-07-31 | 2019-11-05 | 上海连尚网络科技有限公司 | A kind of method and apparatus for e-book page turning |
CN110413177B (en) * | 2019-07-31 | 2021-06-25 | 上海连尚网络科技有限公司 | Method and equipment for turning pages of electronic book |
CN113111624A (en) * | 2021-04-19 | 2021-07-13 | 北京字节跳动网络技术有限公司 | Text display method and device, electronic equipment and storage medium |
CN113157184A (en) * | 2021-04-26 | 2021-07-23 | 维沃移动通信有限公司 | Content display method and device, electronic equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107608596A (en) | A kind of method, terminal and the storage medium of e-book page turning | |
US20170220238A1 (en) | User interface for editing a value in place | |
US10891423B2 (en) | Portlet display on portable computing devices | |
US20150058807A1 (en) | Combination color and pen palette for electronic drawings | |
WO2016145832A1 (en) | Method of operating terminal and device utilizing same | |
JP4895211B2 (en) | Display processing apparatus and display control method | |
TW201633066A (en) | 3D visualization | |
CN106716493B (en) | Method for stylizing content and touch screen device for stylizing content | |
AU2012205811A1 (en) | User interface interaction behavior based on insertion point | |
US9921719B2 (en) | Touch display apparatus and wallpaper replacing method thereof | |
TWI545450B (en) | Browser and method for displaying subsites | |
Helmers | Microsoft Visio 2013 Step by Step | |
CN103605461A (en) | Method and terminal for displaying application interfaces | |
CN103677491B (en) | A kind of method and apparatus for rendering webpage | |
CN103135929A (en) | Method and device for controlling application interface to move and terminal device | |
CN106527914A (en) | A page turning method and device and an electronic apparatus | |
EP3278203B1 (en) | Enhancement to text selection controls | |
CN107180041A (en) | Web page content review method and system | |
CN106681616A (en) | Browser function bar display method, browser function bar display device and processing equipment | |
CN107678637A (en) | Method, equipment, browser and the electronic equipment of handoff options card | |
US10241651B2 (en) | Grid-based rendering of nodes and relationships between nodes | |
CN108073347A (en) | Processing method, computing device and the computer storage media of multi-point touch | |
CN106775256A (en) | Icon is across screen sliding method and device | |
CN104778198A (en) | Method and device for viewing page information of mobile terminal | |
WO2014103635A1 (en) | Object selection method, storage medium storing program, and information processing 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: 20180119 |
|
RJ01 | Rejection of invention patent application after publication |