CN105912227A - Text information display method, device and mobile device - Google Patents
Text information display method, device and mobile device Download PDFInfo
- Publication number
- CN105912227A CN105912227A CN201610230309.9A CN201610230309A CN105912227A CN 105912227 A CN105912227 A CN 105912227A CN 201610230309 A CN201610230309 A CN 201610230309A CN 105912227 A CN105912227 A CN 105912227A
- Authority
- CN
- China
- Prior art keywords
- view data
- text message
- paging
- viewing area
- paging text
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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/0483—Interaction with page-structured environments, e.g. book metaphor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
An embodiment of the invention provides a text information display method, device, and mobile device. The method includes display first image data rendered with a first paging text information in a display area; detecting determined page turning operation; moving at least one part of the first image data out of the display area according to the page turning operation; obtaining second image data rendered with second paging text information according to the page turning operation; moving the at least one part of the second paging text information into the display area after the first image data is moved out. According to the inventing, image data acts as a carrier of text information, direct rendering of text information is avoided, so that page turning responding speed is increased. A stuck condition during a page turning process is avoided and reading smoothness is improved.
Description
Technical field
The present invention relates to the technical field of computer disposal, particularly relate to the display side of a kind of text message
Method, the display device of a kind of text message and a kind of mobile device.
Background technology
Along with the development of science and technology, such as the electronic equipment such as mobile phone, panel computer, intelligent watch is extensive
Universal, people life, learn, work in application more and more.
Living, learn, the aspect such as work, people it is frequently necessary to read the literary compositions such as news, novel, report
This so that in these electronic equipments, reading class application is one of conventional application.
In current reading class application, it is directly text message to be directly rendered on screen mostly.
As a example by Android (Android) system, on self-defining View (view), use API
(Application Programming Interface, application programming interface) interface drawText side
Method renders text message.
Therefore, when carrying out page turning in reading class application, when needing to detect page turn over operation, then enter immediately
Rendering of row text message, the response speed of page turning is relatively slow, especially during rapid page, easily
Cause card, read the most smooth.
Summary of the invention
The embodiment of the present application provides the display packing of a kind of text message, device and mobile device, in order to solve
Certainly the response speed of page turning is relatively slow, page turning easily operates the problem that card pauses.
In order to solve the problems referred to above, the embodiment of the present application discloses the display packing of a kind of text message, bag
Include:
In viewing area, display renders the first view data of the first paging text message;
The page turn over operation specified detected;
According to described page turn over operation, the most described first view data is removed described viewing area;
The second view data rendering the second paging text message is obtained according to described page turn over operation;
After described first view data, the most described second paging text message is moved into described
Viewing area.
Preferably, described in viewing area display render the first picture number of the first paging text message
According to step include:
Using the most front paging text message of sequence as the first paging text message in the first view data
Render;
The first view data rendering the first paging text message is shown in viewing area;
Or,
At the end of reading last time display, the paging of record indexes;
Described paging is indexed corresponding paging text message as the first paging text message at the first figure
Render as in data;
The first view data rendering the first paging text message is shown in viewing area.
Preferably, described page turn over operation includes slide;
Described according to the most described first described viewing area of view data removal of described page turn over operation general
The step in territory includes:
Calculate the glide direction of described slide;
Along described glide direction, at least part of first view data is removed described viewing area;
The step of the second view data that described acquisition renders the second paging text message includes:
The second paging text adjacent with described first paging text message is searched according to described glide direction
Information;
Described second paging text message is rendered in described second view data;
Or,
The second view data rendering the second paging text message in advance is searched according to described glide direction;
The described step by the most described second described viewing area of paging text message immigration includes:
Calculate described first view data and remove the distance of described viewing area;
Along described glide direction, described second view data is moved into described viewing area to described distance.
Preferably, also include:
According to described page turn over operation, the 3rd paging text message is rendered in the 3rd view data.
Preferably, described page turn over operation includes that slide, described slide have glide direction;
Described according to described page turn over operation, the 3rd paging text message is carried out wash with watercolours in the 3rd view data
The step of dye includes:
The threeth paging text adjacent with described second paging text message is searched according to described glide direction
Information;
Search the 3rd view data not rendering paging text message;
Described 3rd paging text message is rendered in described 3rd view data.
Preferably, also include:
When the most described first view data removes described viewing area, remove in described first picture number
The the first paging text message rendered according to.
Preferably, also include:
Read urtext information;
Described urtext information is divided into the paging text envelope that one page or multipage are adaptive with viewing area
Breath.
Preferably, described one page or the multipage of described urtext information being divided into is with viewing area adaptive
The step of paging text message includes:
At least according to the width of viewing area, described urtext information is carried out typesetting;
According to the height of viewing area the urtext information after typesetting is divided into one page or multipage divides
Page text message.
The embodiment of the present application also discloses the display device of a kind of text message, including:
First view data display module, has rendered the first paging text envelope for display in viewing area
First view data of breath;
Page turn over operation detection module, for detecting the page turn over operation specified;
First view data mobile module, is used for the most described first figure according to described page turn over operation
As data remove described viewing area;
Second image data acquisition module, has rendered the second paging literary composition for obtaining according to described page turn over operation
Second view data of this information;
Second view data mobile module, for after described first view data, by least part of institute
State the second paging text message and move into described viewing area.
Preferably, described first view data display module includes:
First renders submodule, is used for paging text message the most front for sequence as the first paging text envelope
Breath renders in the first view data;
First display sub-module, for the first view data by rendering the first paging text message aobvious
Show in region and show;
Or,
Paging index submodule, the paging index of record at the end of reading last display;
Second renders submodule, for described paging is indexed corresponding paging text message as first point
Page text message renders in the first view data;
Second display sub-module, for the first view data by rendering the first paging text message aobvious
Show in region and show.
Preferably, described page turn over operation includes slide;
Described first view data mobile module includes:
Glide direction calculating sub module, for calculating the glide direction of described slide;
Removal submodule, for showing described at least part of first view data removal along described glide direction
Show region;
Described second image data acquisition module includes:
First searches submodule, for searching and described first paging text message according to described glide direction
The second adjacent paging text message;
3rd renders submodule, is used for described second paging text message in described second view data
Render;
Or,
Second searches submodule, has rendered the second paging text in advance for searching according to described glide direction
Second view data of information;
Described second display sub-module includes:
Distance calculating sub module, for calculate described first view data remove described viewing area away from
From;
Move into submodule, for described second view data being moved into described viewing area along described glide direction
Territory is to described distance.
Preferably, also include:
3rd view data rendering module, for existing the 3rd paging text message according to described page turn over operation
3rd view data renders.
Preferably, described page turn over operation includes that slide, described slide have glide direction;
Described 3rd view data rendering module includes:
3rd searches submodule, for searching and described second paging text message according to described glide direction
The 3rd adjacent paging text message;
4th searches submodule, for searching the 3rd view data not rendering paging text message;
4th renders submodule, is used for described 3rd paging text message in described 3rd view data
Render.
Preferably, also include:
First view data removes module, for removing described viewing area in the most described first view data
During territory, remove the first paging text message rendered in described first view data.
Preferably, also include:
Urtext information reading module, is used for reading urtext information;
Urtext information divides module, for described urtext information is divided into one page or multipage with
The paging text message that viewing area is adaptive.
Preferably, described urtext information division module includes:
Typesetting submodule, at least arranging described urtext information according to the width of viewing area
Version;
Divide submodule, for the height according to viewing area, the urtext information after typesetting is divided
For one page or multipage paging text message.
The embodiment of the present application also discloses a kind of mobile device, including:
First view data display module, has rendered the first paging text envelope for display in viewing area
First view data of breath;
Page turn over operation detection module, for detecting the page turn over operation specified;
First view data mobile module, is used for the most described first figure according to described page turn over operation
As data remove described viewing area;
Second image data acquisition module, has rendered the second paging literary composition for obtaining according to described page turn over operation
Second view data of this information;
Second view data mobile module, for after described first view data, by least part of institute
State the second paging text message and move into described viewing area.
Preferably, described first view data display module includes:
First renders submodule, is used for paging text message the most front for sequence as the first paging text envelope
Breath renders in the first view data;
First display sub-module, for the first view data by rendering the first paging text message aobvious
Show in region and show;
Or,
Paging index submodule, the paging index of record at the end of reading last display;
Second renders submodule, for described paging is indexed corresponding paging text message as first point
Page text message renders in the first view data;
Second display sub-module, for the first view data by rendering the first paging text message aobvious
Show in region and show.
Preferably, described page turn over operation includes slide;
Described first view data mobile module includes:
Glide direction calculating sub module, for calculating the glide direction of described slide;
Removal submodule, for showing described at least part of first view data removal along described glide direction
Show region;
Described second image data acquisition module includes:
First searches submodule, for searching and described first paging text message according to described glide direction
The second adjacent paging text message;
3rd renders submodule, is used for described second paging text message in described second view data
Render;
Or,
Second searches submodule, has rendered the second paging text in advance for searching according to described glide direction
Second view data of information;
Described second display sub-module includes:
Distance calculating sub module, for calculate described first view data remove described viewing area away from
From;
Move into submodule, for described second view data being moved into described viewing area along described glide direction
Territory is to described distance.
Preferably, also include:
3rd view data rendering module, for existing the 3rd paging text message according to described page turn over operation
3rd view data renders.
Preferably, described page turn over operation includes that slide, described slide have glide direction;
Described 3rd view data rendering module includes:
3rd searches submodule, for searching and described second paging text message according to described glide direction
The 3rd adjacent paging text message;
4th searches submodule, for searching the 3rd view data not rendering paging text message;
4th renders submodule, is used for described 3rd paging text message in described 3rd view data
Render.
Preferably, also include:
First view data removes module, for removing described viewing area in the most described first view data
During territory, remove the first paging text message rendered in described first view data.
Preferably, also include:
Urtext information reading module, is used for reading urtext information;
Urtext information divides module, for described urtext information is divided into one page or multipage with
The paging text message that viewing area is adaptive.
In an embodiment of the application, described urtext information divides module and includes:
Typesetting submodule, at least arranging described urtext information according to the width of viewing area
Version;
Divide submodule, for the height according to viewing area, the urtext information after typesetting is divided
For one page or multipage paging text message.
The embodiment of the present application includes advantages below:
The embodiment of the present application uses the first view data to render the first paging text message, uses the second image
Data render the second paging text message, by mobile first view data and the second view data, it is achieved
Page turn over operation, using view data as the carrier of text message, it is to avoid directly text message is carried out wash with watercolours
Dye, improves the response speed of page turning, it is to avoid causes card to pause during page turning, improves reading
Fluency.
The embodiment of the present application uses the 3rd view data to render the 3rd paging text message in advance so that rear
Can directly show during page turning, further increasing the response speed of page turning, the internal memory taken will not
Producing EMS memory occupation too much causes system card to pause problem, reasonably uses internal memory to further increase and turns over
Page, the fluency read.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of the display packing embodiment 1 of a kind of text message of the application;
Fig. 2 A-Fig. 2 D is a kind of page turning exemplary plot of the embodiment of the present application;
Fig. 3 is the flow chart of steps of the display packing embodiment 2 of a kind of text message of the application
Fig. 4 is the structured flowchart of the display device embodiment 1 of a kind of text message of the application;
Fig. 5 is the structured flowchart of the display device embodiment 2 of a kind of text message of the application;
Fig. 6 is the structural representation of a kind of mobile device of the application.
Detailed description of the invention
Understandable, below in conjunction with the accompanying drawings for enabling the above-mentioned purpose of the application, feature and advantage to become apparent from
With detailed description of the invention, the application is described in further detail.
With reference to Fig. 1, it is shown that the step stream of the display packing embodiment 1 of a kind of text message of the application
Cheng Tu, specifically may include steps of:
Step 101, in viewing area, display renders the first view data of the first paging text message;
The embodiment of the present application can be applied in various mobile devices, such as, mobile phone, panel computer, individual
Personal digital assistant, wearable device (such as glasses, wrist-watch etc.) etc., it is also possible to apply and set various fixing
In Bei, such as, intelligent television, PC etc..
These mobile devices, the operating system of fixing equipment can include Android (Android), IOS,
Windows Phone, Windows etc., can install reading class application, in such systems as browsed
Device, E-book reader etc., to show that text message is read for user.
Application the embodiment of the present application, can be in advance by urtext information (a certain chapters and sections, solely such as novel
Vertical document etc.) it is cut into one page or multipage paging text message, each paging text message can letter
Being referred to as a paging, every one page paging text message can be at a view data (such as bitmap Bitmap)
In render.
It should be noted that the first paging text message, the second paging text message, the 3rd paging text
Information etc. are all belonging to paging text message, the first view data, the second view data, the 3rd picture number
View data all it is belonging to according to waiting.
In the embodiment of the present application, these render the view data of paging text message, can move
Viewing area in equipment, fixing equipment shows, to show that text message is read for user.
Wherein, this viewing area can be full frame, it is also possible to for occupying part of screen, such as the screen of mobile phone
The position such as top, bottom can remain with subregion display electricity, signal, section name, read into
The information such as degree, remainder could be arranged to viewing area.
It is said that in general, view data and viewing area is equal in magnitude, certainly, view data can also be little
In viewing area, this is not any limitation as by the embodiment of the present application.
In oneainstance, if user newly opens a urtext information in reading class application, then read
Read class application and this urtext information can be cut into one page or multipage paging text message.
The most in this case, can be using the paging text message of (i.e. sort first) before sequence as the
One paging text message renders in the first view data;
The first view data rendering the first paging text message is shown in viewing area, example
As, if applying in android system, the first view data is bitmap Bitmap, then can rewrite
The onDraw method of View in Android, calls drawBitmap method and is drawn by bitmap Bitmap
On the View of viewing area, display.
In another scenario, if user opens an original literary composition formerly read in reading class application
This information.
The most in this case, when display paging text message terminates (i.e. terminating to read), as exited reading
Class is applied or switches to other pages, can record current paging text message (such as the first row text message
Belonging to paging) paging index, i.e. the index information of certain paging text message.
Being typically to organize according to chapters and sections owing to reading the article (such as novel) of class, an article includes
Multiple chapters and sections, therefore, it can index as paging using chapters and sections with number of pages, certainly, and chapters and sections, number of pages and row
The information such as number can also index as paging, and this is not any limitation as by the embodiment of the present application.
Therefore, at the end of can reading last display in the embodiment of the present application, the paging of record indexes, and looks into
Look for the paging text message that this paging index is corresponding, call rendering engine by paging literary composition corresponding for paging index
This information renders in the first view data as the first paging text message.
The first view data rendering the first paging text message is shown in viewing area, example
As, if applying in android system, the first view data is bitmap Bitmap, then can rewrite
The onDraw method of View in Android, calls drawBitmap method and is drawn by bitmap Bitmap
On the View of viewing area, display.
If it is it should be noted that index as paging using chapters and sections with number of pages, complete when showing access into next time
Display, when the paging of paging index correspondence, so can preserve the paging text message exited last time again
In the paging entered, but, it is not necessary to can ensure that the first row text message when exiting is in current paging
The first row shows.
In another situation, if user carries out page turning in reading class application, first point will be rendered
First view data of page text message moves to show in viewing area.
Step 102, detects the page turn over operation specified;
Page turn over operation, can refer to check a upper paging of paging text message, next paging or any
The operation of the paging text message of the non-present page existed.
In implementing, page turn over operation can include following at least one:
1, slide;
In this example, page turning can be carried out by slip, as upwards carried out sliding, check a paging
Paging text message, slide downward then checks the paging text message of next paging.
In implementing, mobile device or fixing equipment have touch screen, touch screen can detect via
Touch event produced by user's touch on the touchscreen, and judge whether to occur according to this touch event
Slide.
Wherein, press event (Down) and can represent to press at touch screen and do not move, do not lift, move
Dynamic event (Move) can represent and starts mobile (or sliding) after touch screen is pressed, and lifts event (Up)
Can represent and lift at touch screen.
2, button operation;
In this example, page turning can be carried out by button, as pressed (upper such as volume key of some key
Key) then check the paging text message of a paging, to pressing another key (such as the lower key of volume key)
Then check the paging text message of next paging.
In implementing, can judge whether button operation by the event monitoring button.
As a example by volume key, if KEYCODE_VOLUME_UP event being detected, then it represents that touch
Send out the upper key of volume key, if KEYCODE_VOLUME_DOWN event, then table being detected
Show the lower key triggering volume key.
3, operation is rocked;
In this example, page turning can be carried out by rocking mobile device, check upper one point as rocked to the right
The paging text message of page, rocks to the left, checks the paging text message of next paging.
In implementing, mobile device has gyroscope, gyroscope can measure mobile device X,
The anglec of rotation on Y, Z component, judges whether to rock operation by the anglec of rotation.
Certainly, above-mentioned page turn over operation is intended only as example, when implementing the embodiment of the present application, and can basis
Practical situation arranges other page turn over operation, such as tilt operation (carrying out page turning by inclination movement equipment) etc.,
This is not any limitation as by the embodiment of the present application.It addition, except above-mentioned sentence page turn over operation in addition to, art technology
Personnel can also use other page turn over operation according to actual needs, and this is not limited by the embodiment of the present application
System.
Step 103, according to described page turn over operation by described aobvious for the most described first view data removal
Show region;
In the embodiment of the present application, according to page turn over operation, the first view data can be removed viewing area,
To remove its first paging text message rendered.
For making those skilled in the art be more fully understood that the embodiment of the present application, in this manual, will slide
Operate a kind of example as page turn over operation to illustrate.
The most in this example, step 103 can include following sub-step:
Sub-step S11, calculates the glide direction of described slide;
Sub-step S12, removes described viewing area along described glide direction by least part of first view data
Territory.
In implementing, the position (coordinate information) every time touching touch screen can be recorded, if application
In android system, then the View reading class application rewrites the onTouch of View class in Android
Method, the onTouch method after rewriting can record the position (coordinate information) every time touching touch screen.
Slide can be broken down into multiple touch event, and each touch event has coordinate information, currently
The coordinate information of touch event contrasts with the coordinate information coordinate at first touch event, it is judged that slide
Direction.
Such as, if coordinate information is X, Y coordinate, then the Y coordinate of changing coordinates information is sat with upper one
The Y coordinate of mark information contrasts, if both are kept to negative mutually, the glide direction of slide is for sliding up
It is dynamic, if both are kept to the glide direction of canonical slide mutually is slide downward.
If text message carries out horizontal typesetting as shown in Figure 2 A, read based on above-below direction.
In one example, if line of travel is from up to down, then can be from up to down by least part of
One view data removal viewing area;
In another example, if line of travel is bottom-up, then can be bottom-up by least partly
First view data removal viewing area.
Such as, as shown in Figure 2 B, display the first picture number in viewing area 201 (black surround part)
According to 202, as shown in Figure 2 C, if the direction of slide is as shown by arrows bottom-up, then may be used
With bottom-up, at least part of first view data 202 is removed viewing area 201.
Certainly, the move mode of above-mentioned first view data is intended only as example, implements implementing the application
During example, the move mode of other the first view data can be set according to practical situation, if text message
Carry out vertical typesetting, read based on left and right directions, if line of travel is from left to right, the most from left to right
By at least part of first view data removal viewing area, or, if line of travel is right-to-left, then
At least part of first view data is removed viewing area by right-to-left, etc., the embodiment of the present application is to this
It is not any limitation as.It addition, in addition to the move mode of above-mentioned first view data, those skilled in the art
Can also use the move mode of other the first view data according to actual needs, the embodiment of the present application is to this
It is not any limitation as.
Step 104, obtains the second image rendering the second paging text message according to described page turn over operation
Data;
In implementing, for ensureing the continuity read, the first paging information and the second paging information
Content is usually coherent, i.e. goes up a paging or next paging, in the second view data (such as bitmap
Bitmap) render in.
It should be noted that the second view data is the view data in addition to the first view data.
As a example by slide, the most in this example, step 104 can include following sub-step:
Sub-step S21, searches adjacent with described first paging text message the according to described glide direction
Two paging text messages;
Sub-step S22, renders described second paging text message in described second view data;
In oneainstance, if view data only has two, the i.e. first view data and the second view data
Show in turn, therefore, after slide being detected, can search according to its glide direction another in real time
One paging (the i.e. second paging text message), calls rendering engine and renders in the second view data.
In another scenario, if view data is three and more than three, aobvious in the first view data
When showing first paging (the i.e. first paging text message), owing to the page turning of unknown subscriber is intended to, therefore,
After slide being detected, another paging (i.e. second point can be searched according to its glide direction in real time
Page text message), call rendering engine and render in the second view data.
Wherein, if text message carries out horizontal typesetting as shown in Figure 2 A, read based on above-below direction.
In one example, if line of travel is from up to down, then the first paging text message can be searched
A upper paging as the second paging text message;
In another example, if line of travel is bottom-up, then can search the first paging text envelope
Next paging of breath is as the second paging text message.
Such as, as shown in Figure 2 B, display the first picture number in viewing area 201 (black surround part)
According to 202, as shown in Figure 2 C, if the direction of slide is as shown by arrows bottom-up, then may be used
To search next paging of the first paging text message 202 as the second paging text message.
Certainly, the lookup mode of above-mentioned second paging text message is intended only as example, is implementing the application
During embodiment, the lookup mode of other the second paging text messages can be set according to practical situation, if
Text message carries out vertical typesetting, reads based on left and right directions, if line of travel is from left to right, then
A upper paging of the first paging text message can be searched as the second paging text message, or, if sliding
Line direction is right-to-left, then can search next paging of the first paging text message as the second paging
Text message, etc., this is not any limitation as by the embodiment of the present application.It addition, except above-mentioned second paging
Outside the lookup mode of text message, those skilled in the art can also use according to actual needs other second
The lookup mode of paging text message, this is not any limitation as by the embodiment of the present application.
Or,
Sub-step S23, searches according to described glide direction and renders the of the second paging text message in advance
Two view data;
In this example, if view data is three or more than three, show non-in the first view data
During first paging (the i.e. first paging text message), owing to the page turning of known users is intended to, therefore,
After having previously detected slide, another paging (i.e. second can be searched according to its glide direction in advance
Paging text message) render in the second view data, it is stored in internal memory, carries from internal memory time to be shown
Take.
Step 105, after described first view data, by the most described second paging text envelope
Breath moves into described viewing area.
In the embodiment of the present application, after the first view data removal viewing area, viewing area has
At least partly white space, then can move into this clear area according to page turn over operation by the second paging text message
Territory, to remove its second paging text message rendered.
In implementing, as shown in Figure 2 C, the first view data removal viewing area can be calculated
Distance Y, moves into viewing area (height is H) to this distance along this glide direction by the second view data
Y。
It should be noted that for ensureing the continuity read, the first text message and the second text message one
As be continuously (distance between the two is less than a threshold value), therefore, the first view data and the second figure
As data are usually continuous print, move at a same speed.
If text message carries out horizontal typesetting as shown in Figure 2 A, read based on above-below direction.
User triggers the display of another paging through slide, can according to the original position of current paging,
The height of each paging and glide direction, calculate the original position of another paging, as glide direction be to
Lower slider, then the original position of another paging is the original position equal to current paging and paging height
With, glide direction is upward sliding, then the original position of another paging is the start bit equal to current paging
Put and the difference of paging height, again call drawBitmap method and be plotted to show by bitmap Bitmap
Showing on the View in region, the original position in another paging starts to show this paging.
If for paging as shown in Figure 2 A, according to direction of arrow upward sliding as that shown in fig. 2 c,
The most as shown in Figure 2 D, the content of next paging can be shown.
The embodiment of the present application uses the first view data to render the first paging text message, uses the second image
Data render the second paging text message, by mobile first view data and the second view data, it is achieved
Page turn over operation, using view data as the carrier of text message, it is to avoid directly text message is carried out wash with watercolours
Dye, improves the response speed of page turning, it is to avoid causes card to pause during page turning, improves reading
Fluency.
With reference to Fig. 3, it is shown that the step stream of the display packing embodiment 2 of a kind of text message of the application
Cheng Tu, specifically may include steps of:
Step 301, reads urtext information;
The article (such as novel) reading class is typically to organize according to chapters and sections, and the creation of article is the most usual
It is concepts based on chapters and sections, say, that an article typically at least has the content of chapters and sections.
When getting the data of article, can remove to obtain the directory information of this article, then according to catalogue
In chapters and sections ID in each entry go to obtain the content of chapters and sections, as urtext information.
Certainly, in addition to chapters and sections, it is also possible to directly read whole document as urtext information, etc.
Deng, this is not any limitation as by the embodiment of the present application.
Step 302, is divided into divide adaptive with viewing area of one page or multipage by described urtext information
Page text message;
Owing to viewing area is limited, be generally not capable of disposable by all of urtext information in viewing area
Show.
Therefore, for the urtext information read, generally it is divided into one page or multipage according to viewing area
Paging text message, Pagination Display.
In an example of the embodiment of the present application, step 302 can include following sub-step:
Sub-step S31, at least carries out typesetting according to the width of viewing area to described urtext information;
Sub-step S32, is divided into one according to the height of viewing area by the urtext information after typesetting
Page or multipage paging text message.
In this example, text message carries out horizontal typesetting as shown in Figure 2 A.
In implementing, reading class application and can configure based on typesetting engine, this typesetting engine can be
So storehouse (dynamic link libraries of unix, for binary file) that one bottom C++ realizes, application layer is led to
The mode crossing JNI (Java Native Interface, JAVA call this locality) uses.
Typesetting engine according to the width (such as the width of screen) of viewing area, and, certain distance, in the ranks
Away from configuration parameters such as, word sizes, the content of urtext information is carried out typesetting, i.e. determines original
The position of each word of text message.
Typesetting engine (deducts the letters such as the upper and lower time battery of display with the height of viewing area such as the height of screen
The height of breath) as the height of paging text message, the original document after typesetting is carried out cutting.
Certainly, above-mentioned dividing mode is intended only as example, when implementing the embodiment of the present application, and can basis
Practical situation arranges other dividing mode, if text message carries out vertical typesetting, then can at least according to
The height of viewing area carries out typesetting to described urtext information, according to the width of viewing area by typesetting
Urtext information afterwards is divided into one page or multipage paging text message, etc., the embodiment of the present application
This is not any limitation as.It addition, in addition to above-mentioned dividing mode, those skilled in the art can also basis
Being actually needed other dividing mode of employing, this is not any limitation as by the embodiment of the present application.
Step 303, in viewing area, display renders the first view data of the first paging text message;
Step 304, detects the page turn over operation specified;
Step 305, according to described page turn over operation by described aobvious for the most described first view data removal
Show region;
Step 306, obtains the second image rendering the second paging text message according to described page turn over operation
Data;
Step 307, after described first view data, by the most described second paging text envelope
Breath moves into described viewing area;
Step 308, enters the 3rd paging text message according to described page turn over operation in the 3rd view data
Row renders;
In the embodiment of the present application, the view data that three frames are different can be configured, the i.e. first view data,
Second view data and the 3rd view data (such as bitmap Bitmap).
Therefore, when showing the second view data, the 3rd point can be rendered when three view data in advance
Page text message.
Example with page turn over operation as slide, in this example, slide has glide direction,
Then step 308 can include following sub-step:
Sub-step S41, searches adjacent with described second paging text message the according to described glide direction
Three paging text messages;
In implementing, for ensureing the continuity read, the second paging information and the 3rd paging information
Content is usually coherent, i.e. goes up a paging or next paging.
Sub-step S42, searches the 3rd view data not rendering paging text message;
View data can recycle, for avoiding using mistake (such as to have selected and rendered paging text envelope
The view data of breath so that mistake covers the paging text message formerly rendered, causes text message to show
Show mistake), each view data can be configured serial number, the view data that the record last time uses
Serial number, the content of the view data in addition to this serial number is empty, has not i.e. rendered paging text message.
As a example by three frame Bitmap, each Bitmap has the sequence number of oneself, is 1,2,3 respectively.
This three frame Bitmap can be recycled, i.e. Bitmap1 → Bitmap2 → Bitmap3 → Bitmap1
→... ..., sequence number i (i is positive integer) of last use can be remembered after using, because current display area
Territory represents at most two Bitmap, so, when rendering a next time, (i+1) %3 frame Bitmap
Content be empty.
Sub-step S43, renders described 3rd paging text message in described 3rd view data.
If view data is bitmap Bitmap, then reading the rendering engine in class application can be with binary stream
Form, the paging text message after typesetting is filled in bitmap Bitmap.
The view data rendered returns to application layer, and view data is plotted on screen by application layer.
Step 309, when the most described first view data removes described viewing area, removes described
The the first paging text message rendered in first view data.
In the embodiment of the present application, if the first view data all removes viewing area, then can remove
The the first paging text message rendered in first view data so that the content of the first view data is empty,
For rendering of posterior paging text message.
In actual applications, if user's page turning, will be by a part for a frame image data and another frame
A part for view data is simultaneously displayed on screen, so at least needing two frame image datas.
In order to promote the fluency of page turning, reading, at least three frame image datas, wherein a frame can be created
View data is made prestrain and is used, and render engine renders one frame image data such as (such as bitmap Bitmap) accounts for
Internal memory probably at about 2M, the internal memory that three frame image datas take is probably at about 6M, and mesh
The front maximum memory that default application takies in android system is 16M, and reader (i.e. renders
The module of view data) as reading the most crucial module that class is applied, take 6M internal memory to performance not
Significantly impact can be produced.
Render time of one page the chances are about 20ms, read the page turning behaviour that class application triggers according to user
The data (such as the data of slide) made, carry out page turning to the interface content of reader and (as above move down
Dynamic).
As a example by three frame image datas, it is generally the case that show whole N (N is for just in viewing area
Integer) frame image data time, N+1 frame image data has rendered the most in advance, N+2 frame figure
As data render not yet.
(show part nth frame view data and portion when N+1 frame image data starts to show simultaneously
Divide N+1 frame image data), open asynchronous thread simultaneously and render N+2 frame image data.
When viewing area shows whole N+1 frame image data, i.e. nth frame view data exits screen
Curtain (N+2 frame image data is the most rendered good), and the nth frame view data having had logged out
Emptying of text message can be carried out, then spent render N+3 frame image data (if only 3 frame figure
As data, then N+3 frame image data is identical with nth frame view data, otherwise, if having 3 frames with
Epigraph data, then N+3 frame image data may be different from nth frame view data).
In some cases, as when first entering into reading class application, shown nth frame view data, institute
With when page turn over operation first, load N+1 frame image data immediately according to page turn over operation, then simultaneously
Pre-loaded N+2 frame image data.
In order to protect the stability reading class application, typically the maximal rate of page turning can be limited, anti-
Only produce, in abnormal conditions, the situation that page-turning speed is too fast, like this, substantially without occurring at 20ms
Within slide past the situation of one page, it is ensured that the fluency of page turning.
Certainly, if mobile device, the fixing internal memory of equipment, CPU (Central Processing Unit,
Central processing unit) etc. performance sufficiently high, the view data that more than three frames are different can be configured, the most permissible
Prestrain two paging, also can guarantee that under page-turning speed faster and renders in advance, with improve further page turning,
The fluency read.
As can be seen here, carry out page turning by least three frame image datas and can reach a performance and fluency
Balance.
The embodiment of the present application uses the 3rd view data to render the 3rd paging text message in advance so that rear
Can directly show during page turning, further increasing the response speed of page turning, the internal memory taken will not
Producing EMS memory occupation too much causes system card to pause problem, reasonably uses internal memory to further increase and turns over
Page, the fluency read.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as one it be
The combination of actions of row, but those skilled in the art should know, and the embodiment of the present application is not by described
The restriction of sequence of movement because according to the embodiment of the present application, some step can use other orders or
Person is carried out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description
Belong to preferred embodiment, necessary to involved action not necessarily the embodiment of the present application.
With reference to Fig. 4, it is shown that the knot of the display device device embodiment 1 of a kind of text message of the application
Structure block diagram, specifically can include such as lower module:
First view data display module 401, has rendered the first paging literary composition for display in viewing area
First view data of this information;
Page turn over operation detection module 402, for detecting the page turn over operation specified;
First view data mobile module 403, for will the most described the according to described page turn over operation
One view data removes described viewing area;
Second image data acquisition module 404, has rendered second point for obtaining according to described page turn over operation
Second view data of page text message;
Second view data mobile module 405, for after described first view data, by least portion
Described second paging text message is divided to move into described viewing area.
In an embodiment of the application, described first view data display module 401 can include as
Lower submodule:
First renders submodule, is used for paging text message the most front for sequence as the first paging text envelope
Breath renders in the first view data;
First display sub-module, for the first view data by rendering the first paging text message aobvious
Show in region and show;
Or,
Paging index submodule, the paging index of record at the end of reading last display;
Second renders submodule, for described paging is indexed corresponding paging text message as first point
Page text message renders in the first view data;
Second display sub-module, for the first view data by rendering the first paging text message aobvious
Show in region and show.
In an example of the embodiment of the present application, described page turn over operation includes slide;
Described first view data mobile module 403 can include following submodule:
Glide direction calculating sub module, for calculating the glide direction of described slide;
Removal submodule, for showing described at least part of first view data removal along described glide direction
Show region;
Described second image data acquisition module 404 can include following submodule:
First searches submodule, for searching and described first paging text message according to described glide direction
The second adjacent paging text message;
3rd renders submodule, is used for described second paging text message in described second view data
Render;
Or,
Second searches submodule, has rendered the second paging text in advance for searching according to described glide direction
Second view data of information;
Described second display sub-module 405 can include following submodule:
Distance calculating sub module, for calculate described first view data remove described viewing area away from
From;
Move into submodule, for described second view data being moved into described viewing area along described glide direction
Territory is to described distance.
With reference to Fig. 5, it is shown that the knot of the display device device embodiment 2 of a kind of text message of the application
Structure block diagram, specifically can include such as lower module:
Urtext information reading module 501, is used for reading urtext information;
Urtext information divides module 502, for described urtext information is divided into one page or many
The paging text message that page is adaptive with viewing area;
First view data display module 503, has rendered the first paging literary composition for display in viewing area
First view data of this information;
Page turn over operation detection module 504, for detecting the page turn over operation specified;
First view data mobile module 505, for will the most described the according to described page turn over operation
One view data removes described viewing area;
Second image data acquisition module 506, has rendered second point for obtaining according to described page turn over operation
Second view data of page text message;
Second view data mobile module 507, for after described first view data, by least portion
Described second paging text message is divided to move into described viewing area;
3rd view data rendering module 508, is used for the 3rd paging text envelope according to described page turn over operation
Breath renders in the 3rd view data;
First view data removes module 509, for described aobvious in the most described first view data removal
When showing region, remove the first paging text message rendered in described first view data.
In an example of the embodiment of the present application, described page turn over operation includes slide, described slip
Operation has glide direction;
Described 3rd view data rendering module 508 can include following submodule:
3rd searches submodule, for searching and described second paging text message according to described glide direction
The 3rd adjacent paging text message;
4th searches submodule, for searching the 3rd view data not rendering paging text message;
4th renders submodule, is used for described 3rd paging text message in described 3rd view data
Render.
In an example of the embodiment of the present application, described urtext information divides module 502 and can wrap
Include following submodule:
Typesetting submodule, at least arranging described urtext information according to the width of viewing area
Version;
Divide submodule, for the height according to viewing area, the urtext information after typesetting is divided
For one page or multipage paging text message.
With reference to Fig. 6, it is shown that the structural representation of a kind of mobile device 600 of the application, this moves and sets
Standby 600 have display screen, such as touch screen, specifically can include such as lower module:
First view data display module 601, has rendered the first paging literary composition for display in viewing area
First view data of this information;
Page turn over operation detection module 602, for detecting the page turn over operation specified;
First view data mobile module 603, for will the most described the according to described page turn over operation
One view data removes described viewing area;
Second image data acquisition module 604, has rendered second point for obtaining according to described page turn over operation
Second view data of page text message;
Second view data mobile module 605, for after described first view data, by least portion
Described second paging text message is divided to move into described viewing area.
In an embodiment of the application, described first view data display module 601 includes:
First renders submodule, is used for paging text message the most front for sequence as the first paging text envelope
Breath renders in the first view data;
First display sub-module, for the first view data by rendering the first paging text message aobvious
Show in region and show;
Or,
Paging index submodule, the paging index of record at the end of reading last display;
Second renders submodule, for described paging is indexed corresponding paging text message as first point
Page text message renders in the first view data;
Second display sub-module, for the first view data by rendering the first paging text message aobvious
Show in region and show.
In an embodiment of the application, described page turn over operation includes slide;
Described first view data mobile module 603 includes:
Glide direction calculating sub module, for calculating the glide direction of described slide;
Removal submodule, for showing described at least part of first view data removal along described glide direction
Show region;
Described second image data acquisition module includes:
First searches submodule, for searching and described first paging text message according to described glide direction
The second adjacent paging text message;
3rd renders submodule, is used for described second paging text message in described second view data
Render;
Or,
Second searches submodule, has rendered the second paging text in advance for searching according to described glide direction
Second view data of information;
Described second display sub-module includes:
Distance calculating sub module, for calculate described first view data remove described viewing area away from
From;
Move into submodule, for described second view data being moved into described viewing area along described glide direction
Territory is to described distance.
In an embodiment of the application, also include:
3rd view data rendering module, for existing the 3rd paging text message according to described page turn over operation
3rd view data renders.
In an embodiment of the application, described page turn over operation includes slide, described slide
There is glide direction;
Described 3rd view data rendering module includes:
3rd searches submodule, for searching and described second paging text message according to described glide direction
The 3rd adjacent paging text message;
4th searches submodule, for searching the 3rd view data not rendering paging text message;
4th renders submodule, is used for described 3rd paging text message in described 3rd view data
Render.
In an embodiment of the application, also include:
First view data removes module, for removing described viewing area in the most described first view data
During territory, remove the first paging text message rendered in described first view data.
In an embodiment of the application, also include:
Urtext information reading module, is used for reading urtext information;
Urtext information divides module, for described urtext information is divided into one page or multipage with
The paging text message that viewing area is adaptive.
In an embodiment of the application, described urtext information divides module and includes:
Typesetting submodule, at least arranging described urtext information according to the width of viewing area
Version;
Divide submodule, for the height according to viewing area, the urtext information after typesetting is divided
For one page or multipage paging text message.
For device, mobile device embodiment, due to itself and embodiment of the method basic simlarity, so
Describe is fairly simple, and relevant part sees the part of embodiment of the method and illustrates.
Each embodiment in this specification all uses the mode gone forward one by one to describe, and each embodiment stresses
Be all the difference with other embodiments, between each embodiment, identical similar part sees mutually
?.
Those skilled in the art are it should be appreciated that the embodiment of the embodiment of the present application can be provided as method, dress
Put or computer program.Therefore, the embodiment of the present application can use complete hardware embodiment, completely
Software implementation or the form of the embodiment in terms of combining software and hardware.And, the embodiment of the present application
Can use and can be situated between with storage at one or more computers wherein including computer usable program code
The upper computer journey implemented of matter (including but not limited to disk memory, CD-ROM, optical memory etc.)
The form of sequence product.
In a typical configuration, described computer equipment includes one or more processor
(CPU), input/output interface, network interface and internal memory.Internal memory potentially includes computer-readable medium
In volatile memory, the shape such as random access memory (RAM) and/or Nonvolatile memory
Formula, such as read only memory (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium
Example.Computer-readable medium includes removable media permanent and non-permanent, removable and non-
Information storage can be realized by any method or technology.Information can be computer-readable instruction,
Data structure, the module of program or other data.The example of the storage medium of computer includes, but
Be not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random are deposited
Access to memory (DRAM), other kinds of random access memory (RAM), read only memory
(ROM), Electrically Erasable Read Only Memory (EEPROM), fast flash memory bank or other in
Deposit technology, read-only optical disc read only memory (CD-ROM), digital versatile disc (DVD) or other
Optical storage, magnetic cassette tape, tape magnetic rigid disk storage other magnetic storage apparatus or any its
His non-transmission medium, can be used for the information that storage can be accessed by a computing device.According to herein
Defining, computer-readable medium does not include the computer readable media (transitory media) of non-standing,
Data signal and carrier wave such as modulation.
The embodiment of the present application is with reference to the method according to the embodiment of the present application, terminal unit (system) and meter
The flow chart of calculation machine program product and/or block diagram describe.It should be understood that can be by computer program instructions
Each flow process in flowchart and/or block diagram and/or square frame and flow chart and/or square frame
Flow process in figure and/or the combination of square frame.Can provide these computer program instructions to general purpose computer,
The processor of special-purpose computer, Embedded Processor or other programmable data processing terminal equipment is to produce
One machine so that performed by the processor of computer or other programmable data processing terminal equipment
Instruction produce for realizing at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or
The device of the function specified in multiple square frames.
These computer program instructions may be alternatively stored in and computer or other programmable datas can be guided to process
In the computer-readable memory that terminal unit works in a specific way so that be stored in this computer-readable
Instruction in memorizer produces the manufacture including command device, and this command device realizes flow chart one
The function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded into computer or other programmable data processing terminals set
Standby upper so that on computer or other programmable terminal equipment, to perform sequence of operations step in terms of producing
The process that calculation machine realizes, thus the instruction performed on computer or other programmable terminal equipment provides and uses
In realizing in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame
The step of the function specified.
Although having been described for the preferred embodiment of the embodiment of the present application, but those skilled in the art being once
Know basic creative concept, then these embodiments can be made other change and amendment.So,
Claims are intended to be construed to include preferred embodiment and fall into the institute of the embodiment of the present application scope
There are change and amendment.
Finally, in addition it is also necessary to explanation, in this article, the relational terms of such as first and second or the like
It is used merely to separate an entity or operation with another entity or operating space, and not necessarily requires
Or imply relation or the order that there is any this reality between these entities or operation.And, art
Language " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that
Process, method, article or terminal unit including a series of key elements not only include those key elements, and
Also include other key elements being not expressly set out, or also include for this process, method, article or
The key element that person's terminal unit is intrinsic.In the case of there is no more restriction, statement " include one
It is individual ... " key element that limits, it is not excluded that including the process of described key element, method, article or end
End equipment there is also other identical element.
Method, the device of a kind of text message and to a kind of text message provided herein above
Kind of mobile device, is described in detail, and specific case used herein is to the principle of the application and reality
The mode of executing is set forth, the explanation of above example be only intended to help understand the present processes and
Core concept;Simultaneously for one of ordinary skill in the art, according to the thought of the application, specifically
All will change on embodiment and range of application, in sum, this specification content should not be understood
For the restriction to the application.
Claims (17)
1. the display packing of a text message, it is characterised in that including:
In viewing area, display renders the first view data of the first paging text message;
The page turn over operation specified detected;
According to described page turn over operation, the most described first view data is removed described viewing area;
The second view data rendering the second paging text message is obtained according to described page turn over operation;
After described first view data, the most described second paging text message is moved into described
Viewing area.
Method the most according to claim 1, it is characterised in that described display in viewing area
The step of the first view data rendering the first paging text message includes:
Using the most front paging text message of sequence as the first paging text message in the first view data
Render;
The first view data rendering the first paging text message is shown in viewing area;
Or,
At the end of reading last time display, the paging of record indexes;
Described paging is indexed corresponding paging text message as the first paging text message at the first figure
Render as in data;
The first view data rendering the first paging text message is shown in viewing area.
Method the most according to claim 1 and 2, it is characterised in that described page turn over operation includes
Slide;
Described according to the most described first described viewing area of view data removal of described page turn over operation general
The step in territory includes:
Calculate the glide direction of described slide;
Along described glide direction, at least part of first view data is removed described viewing area;
The step of the second view data that described acquisition renders the second paging text message includes:
The second paging text adjacent with described first paging text message is searched according to described glide direction
Information;
Described second paging text message is rendered in described second view data;
Or,
The second view data rendering the second paging text message in advance is searched according to described glide direction;
The described step by the most described second described viewing area of paging text message immigration includes:
Calculate described first view data and remove the distance of described viewing area;
Along described glide direction, described second view data is moved into described viewing area to described distance.
Method the most according to claim 1, it is characterised in that also include:
According to described page turn over operation, the 3rd paging text message is rendered in the 3rd view data.
Method the most according to claim 4, it is characterised in that described page turn over operation includes sliding
Operation, described slide has glide direction;
Described according to described page turn over operation, the 3rd paging text message is carried out wash with watercolours in the 3rd view data
The step of dye includes:
The threeth paging text adjacent with described second paging text message is searched according to described glide direction
Information;
Search the 3rd view data not rendering paging text message;
Described 3rd paging text message is rendered in described 3rd view data.
6. according to the method described in claim 1 or 2 or 4 or 5, it is characterised in that also include:
When the most described first view data removes described viewing area, remove in described first picture number
The the first paging text message rendered according to.
7. according to the method described in claim 1 or 2 or 4 or 5, it is characterised in that also include:
Read urtext information;
Described urtext information is divided into the paging text envelope that one page or multipage are adaptive with viewing area
Breath.
Method the most according to claim 7, it is characterised in that described described urtext is believed
Breath is divided into the step of one page or the multipage paging text message adaptive with viewing area and includes:
At least according to the width of viewing area, described urtext information is carried out typesetting;
According to the height of viewing area the urtext information after typesetting is divided into one page or multipage divides
Page text message.
9. the display device of a text message, it is characterised in that including:
First view data display module, has rendered the first paging text envelope for display in viewing area
First view data of breath;
Page turn over operation detection module, for detecting the page turn over operation specified;
First view data mobile module, is used for the most described first figure according to described page turn over operation
As data remove described viewing area;
Second image data acquisition module, has rendered the second paging literary composition for obtaining according to described page turn over operation
Second view data of this information;
Second view data mobile module, for after described first view data, by least part of institute
State the second paging text message and move into described viewing area.
Device the most according to claim 9, it is characterised in that described first view data shows
Module includes:
First renders submodule, is used for paging text message the most front for sequence as the first paging text envelope
Breath renders in the first view data;
First display sub-module, for the first view data by rendering the first paging text message aobvious
Show in region and show;
Or,
Paging index submodule, the paging index of record at the end of reading last display;
Second renders submodule, for described paging is indexed corresponding paging text message as first point
Page text message renders in the first view data;
Second display sub-module, for the first view data by rendering the first paging text message aobvious
Show in region and show.
11. according to the device described in claim 9 or 10, it is characterised in that described page turn over operation bag
Include slide;
Described first view data mobile module includes:
Glide direction calculating sub module, for calculating the glide direction of described slide;
Removal submodule, for showing described at least part of first view data removal along described glide direction
Show region;
Described second image data acquisition module includes:
First searches submodule, for searching and described first paging text message according to described glide direction
The second adjacent paging text message;
3rd renders submodule, is used for described second paging text message in described second view data
Render;
Or,
Second searches submodule, has rendered the second paging text in advance for searching according to described glide direction
Second view data of information;
Described second display sub-module includes:
Distance calculating sub module, for calculate described first view data remove described viewing area away from
From;
Move into submodule, for described second view data being moved into described viewing area along described glide direction
Territory is to described distance.
12. devices according to claim 9, it is characterised in that also include:
3rd view data rendering module, for existing the 3rd paging text message according to described page turn over operation
3rd view data renders.
13. devices according to claim 12, it is characterised in that described page turn over operation includes sliding
Dynamic operation, described slide has glide direction;
Described 3rd view data rendering module includes:
3rd searches submodule, for searching and described second paging text message according to described glide direction
The 3rd adjacent paging text message;
4th searches submodule, for searching the 3rd view data not rendering paging text message;
4th renders submodule, is used for described 3rd paging text message in described 3rd view data
Render.
14. according to the device described in claim 9 or 10 or 12 or 13, it is characterised in that also wrap
Include:
First view data removes module, for removing described viewing area in the most described first view data
During territory, remove the first paging text message rendered in described first view data.
15. according to the device described in claim 9 or 10 or 12 or 13, it is characterised in that also wrap
Include:
Urtext information reading module, is used for reading urtext information;
Urtext information divides module, for described urtext information is divided into one page or multipage with
The paging text message that viewing area is adaptive.
16. devices according to claim 15, it is characterised in that described urtext information is drawn
Sub-module includes:
Typesetting submodule, at least arranging described urtext information according to the width of viewing area
Version;
Divide submodule, for the height according to viewing area, the urtext information after typesetting is divided
For one page or multipage paging text message.
17. 1 kinds of mobile devices, it is characterised in that including:
First view data display module, has rendered the first paging text envelope for display in viewing area
First view data of breath;
Page turn over operation detection module, for detecting the page turn over operation specified;
First view data mobile module, is used for the most described first figure according to described page turn over operation
As data remove described viewing area;
Second image data acquisition module, has rendered the second paging literary composition for obtaining according to described page turn over operation
Second view data of this information;
Second view data mobile module, for after described first view data, by least part of institute
State the second paging text message and move into described viewing area.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610230309.9A CN105912227A (en) | 2016-04-13 | 2016-04-13 | Text information display method, device and mobile device |
PCT/CN2017/080330 WO2017177931A1 (en) | 2016-04-13 | 2017-04-13 | Text information display method and apparatus, and mobile device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610230309.9A CN105912227A (en) | 2016-04-13 | 2016-04-13 | Text information display method, device and mobile device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105912227A true CN105912227A (en) | 2016-08-31 |
Family
ID=56746104
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610230309.9A Pending CN105912227A (en) | 2016-04-13 | 2016-04-13 | Text information display method, device and mobile device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105912227A (en) |
WO (1) | WO2017177931A1 (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017177931A1 (en) * | 2016-04-13 | 2017-10-19 | 广州阿里巴巴文学信息技术有限公司 | Text information display method and apparatus, and mobile device |
CN107728988A (en) * | 2017-10-12 | 2018-02-23 | 青岛海信移动通信技术股份有限公司 | Content display method and device for ink screen |
CN109543027A (en) * | 2018-11-23 | 2019-03-29 | 苏州好玩友网络科技有限公司 | The acquisition methods and device of paged data, equipment and storage medium |
CN109597981A (en) * | 2017-09-30 | 2019-04-09 | 腾讯科技(深圳)有限公司 | A kind of methods of exhibiting, device and the storage medium of text interactive information |
CN109992702A (en) * | 2019-03-20 | 2019-07-09 | 北京奇安信科技有限公司 | Data visualization method, device and electronic equipment |
WO2019214417A1 (en) * | 2018-05-10 | 2019-11-14 | Shanghai Jinsheng Communications Technology Co., Ltd. | Method for preloading application, storage medium, and terminal |
CN111124122A (en) * | 2019-12-24 | 2020-05-08 | 掌阅科技股份有限公司 | Multi-page object control method realized based on manager and electronic equipment |
CN113012651A (en) * | 2021-03-09 | 2021-06-22 | 广州文石信息科技有限公司 | Display method and device of electronic ink screen, electronic equipment and storage medium |
US11397590B2 (en) | 2018-05-10 | 2022-07-26 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for preloading application, storage medium, and terminal |
US11442747B2 (en) | 2018-05-10 | 2022-09-13 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for establishing applications-to-be preloaded prediction model based on preorder usage sequence of foreground application, storage medium, and terminal |
US11467855B2 (en) | 2018-06-05 | 2022-10-11 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Application preloading method and device, storage medium and terminal |
CN115357327A (en) * | 2022-08-24 | 2022-11-18 | 广州文石信息科技有限公司 | Page display method and device of electronic ink screen, storage medium and related equipment |
US11604660B2 (en) | 2018-05-15 | 2023-03-14 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for launching application, storage medium, and terminal |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112506399B (en) * | 2020-12-04 | 2022-05-17 | 掌阅科技股份有限公司 | Information publishing method of book reading page, computing device and storage medium |
CN114510309B (en) * | 2022-01-29 | 2023-08-22 | 建信金融科技有限责任公司 | Animation effect setting method, device, equipment and medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102184104A (en) * | 2011-05-13 | 2011-09-14 | 北京瑞信在线***技术有限公司 | Method and device for realizing simulated page turning effect on display screen |
CN102955672A (en) * | 2012-11-06 | 2013-03-06 | 北京京东世纪贸易有限公司 | Method and device for displaying pages on equipment with touch screen |
CN103268185A (en) * | 2013-04-26 | 2013-08-28 | 珠海全志科技股份有限公司 | Text display method and text display device for e-book reader |
CN103970431A (en) * | 2013-01-25 | 2014-08-06 | 腾讯科技(深圳)有限公司 | Electronic document display method and device supporting automatic reading |
CN105069023A (en) * | 2015-07-17 | 2015-11-18 | 孙巍 | Method, device and system for playing webpage image-text in television |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105912227A (en) * | 2016-04-13 | 2016-08-31 | 广州阿里巴巴文学信息技术有限公司 | Text information display method, device and mobile device |
-
2016
- 2016-04-13 CN CN201610230309.9A patent/CN105912227A/en active Pending
-
2017
- 2017-04-13 WO PCT/CN2017/080330 patent/WO2017177931A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102184104A (en) * | 2011-05-13 | 2011-09-14 | 北京瑞信在线***技术有限公司 | Method and device for realizing simulated page turning effect on display screen |
CN102955672A (en) * | 2012-11-06 | 2013-03-06 | 北京京东世纪贸易有限公司 | Method and device for displaying pages on equipment with touch screen |
CN103970431A (en) * | 2013-01-25 | 2014-08-06 | 腾讯科技(深圳)有限公司 | Electronic document display method and device supporting automatic reading |
CN103268185A (en) * | 2013-04-26 | 2013-08-28 | 珠海全志科技股份有限公司 | Text display method and text display device for e-book reader |
CN105069023A (en) * | 2015-07-17 | 2015-11-18 | 孙巍 | Method, device and system for playing webpage image-text in television |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017177931A1 (en) * | 2016-04-13 | 2017-10-19 | 广州阿里巴巴文学信息技术有限公司 | Text information display method and apparatus, and mobile device |
CN109597981A (en) * | 2017-09-30 | 2019-04-09 | 腾讯科技(深圳)有限公司 | A kind of methods of exhibiting, device and the storage medium of text interactive information |
CN107728988A (en) * | 2017-10-12 | 2018-02-23 | 青岛海信移动通信技术股份有限公司 | Content display method and device for ink screen |
CN107728988B (en) * | 2017-10-12 | 2020-11-06 | 青岛海信移动通信技术股份有限公司 | Content display method and device for ink screen |
US11397590B2 (en) | 2018-05-10 | 2022-07-26 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for preloading application, storage medium, and terminal |
WO2019214417A1 (en) * | 2018-05-10 | 2019-11-14 | Shanghai Jinsheng Communications Technology Co., Ltd. | Method for preloading application, storage medium, and terminal |
US11442747B2 (en) | 2018-05-10 | 2022-09-13 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for establishing applications-to-be preloaded prediction model based on preorder usage sequence of foreground application, storage medium, and terminal |
US11086663B2 (en) | 2018-05-10 | 2021-08-10 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Preloading application using active window stack |
US11604660B2 (en) | 2018-05-15 | 2023-03-14 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method for launching application, storage medium, and terminal |
US11467855B2 (en) | 2018-06-05 | 2022-10-11 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Application preloading method and device, storage medium and terminal |
CN109543027A (en) * | 2018-11-23 | 2019-03-29 | 苏州好玩友网络科技有限公司 | The acquisition methods and device of paged data, equipment and storage medium |
CN109543027B (en) * | 2018-11-23 | 2020-02-07 | 苏州好玩友网络科技有限公司 | Method, device and equipment for acquiring paging data and storage medium |
CN109992702A (en) * | 2019-03-20 | 2019-07-09 | 北京奇安信科技有限公司 | Data visualization method, device and electronic equipment |
CN111124122B (en) * | 2019-12-24 | 2020-10-23 | 掌阅科技股份有限公司 | Multi-page object control method realized based on manager and electronic equipment |
CN111124122A (en) * | 2019-12-24 | 2020-05-08 | 掌阅科技股份有限公司 | Multi-page object control method realized based on manager and electronic equipment |
CN113012651A (en) * | 2021-03-09 | 2021-06-22 | 广州文石信息科技有限公司 | Display method and device of electronic ink screen, electronic equipment and storage medium |
CN115357327A (en) * | 2022-08-24 | 2022-11-18 | 广州文石信息科技有限公司 | Page display method and device of electronic ink screen, storage medium and related equipment |
CN115357327B (en) * | 2022-08-24 | 2023-06-27 | 广州文石信息科技有限公司 | Page display method and device of electronic ink screen, storage medium and related equipment |
Also Published As
Publication number | Publication date |
---|---|
WO2017177931A1 (en) | 2017-10-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105912227A (en) | Text information display method, device and mobile device | |
CN105511784B (en) | A kind of data inputting method based on pressure detecting, device and mobile terminal | |
JP6427559B2 (en) | Permanent synchronization system for handwriting input | |
CN104238927B (en) | The control method and device of intelligent terminal application program | |
CN107291347B (en) | Information display method and device | |
CN106502493A (en) | A kind of multi-screen display method and terminal | |
CN106569659A (en) | Information display method and apparatus | |
CN105426033A (en) | Method and apparatus for displaying prompt information | |
CN103309616A (en) | Soft keyboard display method and terminal | |
CN105573574A (en) | Application interface navigation method and apparatus | |
CN106681589A (en) | Functional icon displaying method and device | |
CN109582305B (en) | Encoding method and device for mobile application page elements and electronic equipment | |
CN106445972A (en) | Page display method and apparatus | |
CN106873883A (en) | A kind of method, device across screen sectional drawing long based on gesture | |
CN107765946A (en) | A kind of method and apparatus for triggering communication | |
CN110032673A (en) | Page index, address list, client, data processing method and device | |
CN110110000A (en) | Methods of exhibiting and device | |
CN112528614A (en) | Table editing method and device and electronic equipment | |
CN106095744B (en) | Irregular control icons processing unit and method | |
CN105573705A (en) | Display control method and terminal | |
CN105320405A (en) | Icon display method and terminal | |
CN104618558A (en) | Terminal | |
CN106569990B (en) | Mobile terminal and document edit method | |
JP2014179036A (en) | Information processor | |
CN114003718A (en) | Relation map drawing method and device, computer storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160831 |