CN104102419B - Page display method, device and terminal device - Google Patents

Page display method, device and terminal device Download PDF

Info

Publication number
CN104102419B
CN104102419B CN201310121462.4A CN201310121462A CN104102419B CN 104102419 B CN104102419 B CN 104102419B CN 201310121462 A CN201310121462 A CN 201310121462A CN 104102419 B CN104102419 B CN 104102419B
Authority
CN
China
Prior art keywords
page
subpage frame
specified
current reading
info
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310121462.4A
Other languages
Chinese (zh)
Other versions
CN104102419A (en
Inventor
张春玮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201310121462.4A priority Critical patent/CN104102419B/en
Publication of CN104102419A publication Critical patent/CN104102419A/en
Application granted granted Critical
Publication of CN104102419B publication Critical patent/CN104102419B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of page display method, device and terminal devices, belong to network technique field.The described method includes: receiving the idsplay order to specified page;Obtain the page info of the specified page;Template is read accordingly according to current reading area and the current reading method, and typesetting is carried out to the page info of the specified page, obtains at least one subpage frame;Show any subpage frame at least one described subpage frame.Using technical solution of the present invention, typesetting again is carried out to specified page by determining according to current reading method, it is shown in the form of multiple subpage frames, to realize without moving up and down the page, and it is only read with the method for direct page turning and current reading area is determined according to the screen of the terminal device of user, the page info of the specified page is retrieved as at least one subpage frame, at least one subpage frame is intuitively shown, optimizes the reading experience of user.

Description

Page display method, device and terminal device
Technical field
The present invention relates to network technique field, in particular to a kind of page display method, device and terminal device.
Background technique
With the development of internet technology, more and more users browse information by the way of network online reading, existing Some reading websites generally use the method longitudinally shown, and support the reading method of lateral page turning or longitudinal page turning, laterally Each page turning of page turning shows the complete page info of lower one page, and in the reading method of longitudinal page turning, reading page is vertical It is continuously displayed to multipage, each page turning can show the complete page info of next page, can also show the portion of current page Divide the partial page information of page info and the next page adjacent with the current page.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
During the page of the prior art is shown, since every page of length, width are fixed, and the terminal device as reading carrier Screen width it is widely different, therefore when reading only simple laterally or longitudinally page turning can not complete view full page, It also needs to carry out slide using in the direction vertical with page turning direction, user could be assisted to browse full page, the page is aobvious Show that effect is not intuitive, and cumbersome.
Summary of the invention
In order to solve the problems, such as that webpage representation effect is not intuitive, cumbersome in online reading, the embodiment of the present invention is provided A kind of page display method, device and terminal device.The technical solution is as follows:
In a first aspect, providing a kind of page display method, which comprises
Receive the idsplay order to specified page;
Obtain the page info of the specified page;
Template is read accordingly according to current reading area and the current reading method, to the page of the specified page Information carries out typesetting, obtains at least one subpage frame;
Show any subpage frame at least one described subpage frame.
With reference to first aspect, in the first possible implementation of the embodiment of the present invention, according to current reading area and institute The page info progress typesetting that current reading method reads template to the specified page accordingly is stated, at least one subpage is obtained Face, comprising:
According to the paragraph sequence of the page info and the format of each paragraph, by each paragraph of the page info In filling at least two subtemplates for reading template corresponding with the current reading area, the specified page is obtained extremely A few subpage frame.
With reference to first aspect, in second of the embodiment of the present invention possible implementation, at least one described subpage is shown Any subpage frame in face, comprising:
Show the subpage frame at least one described subpage frame as homepage;
When receiving the page-turning instruction to current display subpage frame, page turning described at least one described subpage frame is shown Instruct corresponding subpage frame.
With reference to first aspect, in the third possible implementation of the embodiment of the present invention, the method also includes:
When receiving the idsplay order to specified page, opinion is shown in the first specified region of the current reading area Feed back key;
It is default face by the color change of the suggestion feedback key when cursor is moved to the suggestion feedback key Color.
With reference to first aspect, in the 4th kind of possible implementation of the embodiment of the present invention, the method also includes:
When receiving the idsplay order to specified page, read in the second specified region display of the current reading area Function Identification, each read function mark is for mapping different read functions.
With reference to first aspect, in the 5th kind of possible implementation of the embodiment of the present invention, the method also includes:
When receiving the idsplay order to specified page, region display is specified to read in the third of the current reading area Progress scroll bar and sliding block, the reading progress scroll bar and sliding block are used to indicate current reading chapters and sections and read progress Percentage.
With reference to first aspect, in the 6th kind of possible implementation of the embodiment of the present invention, the method also includes:
When receiving the idsplay order to specified page, user is shown in the 4th specified region of the current reading area Prompt information.
With reference to first aspect, in the 7th kind of possible implementation of the embodiment of the present invention, the method is applied to laterally turn over The reading method of page or the reading method of longitudinal page turning.
Second aspect provides a kind of page display device, and described device includes: command reception module, for reception pair The idsplay order of specified page;
Page info acquisition module block, for obtaining the page info of the specified page;
Subpage frame obtains module, for reading template accordingly according to current reading area and the current reading method, Typesetting is carried out to the page info of the specified page, obtains at least one subpage frame;
Subpage frame display module, for showing any subpage frame at least one described subpage frame.
In conjunction with second aspect, in the possible implementation of the first of the embodiment of the present invention, the subpage frame obtains module packet It includes:
Subpage frame acquiring unit, for the format of paragraph sequence and each paragraph according to the page info, by institute The each paragraph for stating page info is filled at least two subtemplates for reading template corresponding with the current reading area, Obtain at least one subpage frame of the specified page.
In conjunction with second aspect, in the possible implementation of second of the embodiment of the present invention, the subpage frame display module packet It includes:
Homepage display unit, for showing the subpage frame at least one described subpage frame as homepage;
Subpage frame display unit, for when receiving the page-turning instruction to current display subpage frame, display to be described at least The corresponding subpage frame of page-turning instruction described in one subpage frame.
In conjunction with second aspect, in the third possible implementation of the embodiment of the present invention, described device further include:
Key display module is fed back, for when receiving to the idsplay order of specified page, in the current reading area The first specified region show suggestion feedback key;
Key color change module, for when cursor is moved to the suggestion feedback key, the suggestion feedback to be pressed The color change of key is pre-set color.
In conjunction with second aspect, in the 4th kind of possible implementation of the embodiment of the present invention, described device further include:
Function Identification display module, for when receiving to the idsplay order of specified page, in the current reading area The second specified region show read function mark, each read function mark is for mapping different read functions.
In conjunction with second aspect, in the 5th kind of possible implementation of the embodiment of the present invention, described device further include:
Scroll bar display module, for when receiving to the idsplay order of specified page, in the current reading area Third specifies region to show that reading progress scroll bar and sliding block, the reading progress scroll bar and sliding block are used to indicate current It reads chapters and sections and reads progress percentage.
In conjunction with second aspect, in the 6th kind of possible implementation of the embodiment of the present invention, described device further include:
Prompt information display module, for when receiving to the idsplay order of specified page, in the current reading area The 4th specified region show user's prompt information.
In conjunction with second aspect, in the 7th kind of possible implementation of the embodiment of the present invention, described device is applied to laterally turn over The reading method of page or the reading method of longitudinal page turning.
The third aspect, provides a kind of terminal device, and the terminal device includes memory and one or one Above program,
One of them or more than one program is stored in memory,
And it is configured to execute the one or more programs by one or more than one processor to include to use In the instruction performed the following operation:
Receive the idsplay order to specified page;
Obtain the page info of the specified page;
Template is read accordingly according to current reading area and the current reading method, to the page of the specified page Information carries out typesetting, obtains at least one subpage frame;
Show any subpage frame at least one described subpage frame.
Method, apparatus provided in an embodiment of the present invention and terminal device, by receiving the idsplay order to specified page;It obtains Take the page info of the specified page;Template is read accordingly according to current reading area and the current reading method, it is right The page info of the specified page carries out typesetting, obtains at least one subpage frame;It shows at least one described subpage frame and appoints One subpage frame.Using technical solution of the present invention, by being arranged again according to current reading method determination specified page Version, is shown in the form of multiple subpage frames, to realize without moving up and down the page, and is only carried out with the method for direct page turning It reads and current reading area is determined according to the screen of the terminal device of user, the page info of the specified page is retrieved as at least One subpage frame intuitively shows at least one subpage frame, optimizes the reading experience of user.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of flow chart of page display method provided in an embodiment of the present invention;
Fig. 2 a is page display schematic diagram provided in an embodiment of the present invention;
Fig. 2 b is page display schematic diagram provided in an embodiment of the present invention;
Fig. 3 a is a kind of flow chart of page display method provided in an embodiment of the present invention;
Fig. 3 b is page display schematic diagram provided in an embodiment of the present invention;
Fig. 4 is page display schematic diagram provided in an embodiment of the present invention;
Fig. 5 is a kind of page display device structural schematic diagram provided in an embodiment of the present invention;
Fig. 6 is a kind of terminal device structural schematic diagram provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Fig. 1 is a kind of flow chart of page display method provided in an embodiment of the present invention.The execution master of the embodiment of the present invention Body is terminal device, referring to Fig. 1, which comprises
101: receiving the idsplay order to specified page;
Wherein, which can be clicked the corresponding key triggering of the specified page by user, e.g., " chapter 2 " key is hit in the list, point of the electronic document of reading, triggers the idsplay order to chapter 2 respective page;May be used also To be to be triggered when showing a upper page for the specified page by user, the last one page of chapter 1 is such as read in user When, lower one page key triggering is turned to the idsplay order of chapter 2 respective page by clicking.
The idsplay order is used to indicate display specified page, and specifically, which can serve to indicate that will be current aobvious The page shown turns to corresponding adjacent page, to show the adjacent page, the page up or lower one page of the page such as currently shown, It may be used to indicate that and continuously display the page currently shown and adjacent page according to the rotating direction of the idsplay order, such as downwards It rolls instruction instruction and continuously displays the page currently shown and lower one page.
102: obtaining the page info of the specified page;
Wherein, which includes at least the text information and paragraph of the paragraph sequence of the specified page, each paragraph Format etc., the paragraph format can be that title or common language under normal circumstances can be by first paragraphs of the specified page Regard title as.
For example, the specified page includes paragraph A, B and C, the page info of the specified page got includes paragraph A, B With the format of text information and each paragraph in the sequence of C, each paragraph, the format of paragraph A is title, the lattice of paragraph B and C Formula is plain text.
103: template being read according to current reading area and the current reading method accordingly, to the page of the specified page Face information carries out typesetting, obtains at least one subpage frame;
Wherein, for the current reading area for showing the specified page, the height of the current reading area can be according to end The visible height of the current browser of end equipment determines that the width of the current reading area can be wide according to the screen of terminal device Degree is preset, if the width of the visibility region of current browser and height change, which is correspondingly sent out Changing.
Wherein, reading method refers to the reading method of lateral page turning and the reading method of longitudinal page turning, different reading sides Formula can correspond to different reading templates.For the reading method of lateral page turning, the height of reading template and current read area The height in domain is identical, and for the reading method of longitudinal page turning, read the width and the width phase of current reading area of template Together.
Specifically, according to current reading method obtain it is corresponding read template, according to current reading area and described current Reading method reads template accordingly, the page info of the specified page is carried out typesetting, the typesetting process is to the specific page Particular content in the page info in face and sequence are not made an amendment, and the particular content of the page info of the specified page is not after typesetting It changes, is only the display mode for changing specified page, the specified page after typesetting is retrieved as at least one subpage Face, the height of at least one subpage frame is identical as the height of character area in the current reading area, so that user can Any complete subpage frame of the specified page is read with reading area in this prior.
For example, the height of the character area in the current reading area is h, according to the width of the current reading area to this After the page info of specified page carries out typesetting, the width of the specified page is of same size with the current reading area, if row The height of the specified page is 3h after version, then obtains three subpage frames, can show three sons in reading area in this prior Any subpage frame in the page, or continuously display the segment word letter of any two adjacent subpage frames in three subpage frames Breath.
It should be noted that including the subpage frame as homepage and the subpage as last page at least one subpage frame Face, when only getting a subpage frame according to the page info of specified page, which is both the son as homepage The page, and the subpage frame as last page.When showing the subpage frame as last page, if text information be not enough to fill up it is whole A current reading area, then the subpage frame as last page may include text information and blank parts.
For example, the chapter 1 content for the document that user currently reads is less, according to the current reading area to chapter 1 After page info carries out typesetting, the height of the page of chapter 1 is less than the height of the current reading area, only gets one at this time A subpage frame, the homepage and last page of the subpage frame are the subpage frame, the subpage frame include chapter 1 complete page info and Blank parts.
104: showing any subpage frame at least one subpage frame.
Specifically, any subpage frame of the specified page got is shown in reading area in this prior, is convenient for user The page info of any subpage frame is read, and shows the adjacent page of any subpage frame by idsplay order.
Preferably, it shows the subpage frame at least one subpage frame as homepage face, and is shown according to the instruction of user Other subpage frames at least one subpage frame other than homepage face.
Method provided in an embodiment of the present invention, by receiving the idsplay order to specified page;Obtain the specified page Page info;Template is read accordingly according to current reading area and the current reading method, to the specified page Page info carries out typesetting, obtains at least one subpage frame;Show any subpage frame at least one described subpage frame.Using this The technical solution of invention carries out typesetting again to specified page by determining according to current reading method, with multiple subpage frames Form shown, to realize without moving up and down the page, and only read with the method for direct page turning according to user's The screen of terminal device determines current reading area, the page info of the specified page is retrieved as at least one subpage frame, directly It sees ground and shows at least one subpage frame, optimize the reading experience of user.
Page which provides following functions key, each function button can receive the idsplay order to specified page When show, can be using the display mode of transverse direction page turning provided by the embodiment of the present invention or longitudinal direction page turning:
(1) suggestion feedback key is shown.The first of reading area the specified region shows suggestion feedback key in this prior;It should When suggestion feedback key can be hovered on the suggestion feedback key by the clicking trigger feedback function of user, cursor, the meaning The color change for seeing feedback key is default change color, when the suggestion feedback key is triggered, it is possible to provide for inputting text Guiding information can also be provided in the input frame of word information, so that the respective option that user provides default selects.It is preferred that Ground, as shown in Figure 2 a, the first specified region are the header region of the preset height of the current reading area.
(2) read function identifies.The second of reading area the specified region shows read function mark in this prior, each reads Function Identification is read for mapping different read functions, e.g., chapters and sections jump, reading method switching etc.;Optionally, the reading function Can identify longitudinal arrangement to be shown in the second specified region in the form of menus, and corresponding sub- dish can be popped up by clicking menu identification Single, which covers and shows multiple functions option in reading area in this prior, to map different functions.Wherein, the function Energy option may include that option is read in horizontal read option and longitudinal direction, so that user is by the click horizontal read option and indulges Corresponding reading method is selected to any option read in option.Preferably, as shown in Figure 2 a, which is The upper left side and lower right of the current reading area, wherein the read function for mapping different read functions identifies can be with It is indicated with " menu 1 "-" menu 8 ".
(3) third of reading area specifies region to show reading progress scroll bar and sliding block in this prior, the reading into Degree scroll bar and sliding block are used to indicate current reading chapters and sections and read progress percentage;It, can basis when pressing the sliding block Position of the sliding block in the scroll bar shows the section number currently read and reading progress percentage near the sliding block, Current reading progress is understood convenient for user.When mouse rollovers or when dragging the sliding block, the position of the sliding block accordingly changes, according to working as Position of the preceding sliding block in the scroll bar shows the corresponding section number of current slide and reads progress percentage, works as mouse up When the sliding block, which is jumped according to the section number and reading progress percentage that currently show.Preferably, As shown in Figure 2 b, it is the right of the current reading area which, which specifies region, and in Fig. 2 b, current section number of reading is the One chapter, reading progress percentage is 10%.
The display of slider bar is described below with reference to actual algorithm: it is maximum S1) to obtain books by metadata first Chapters and sections are denoted as maxcid;S2 the height for) obtaining sliding rail, can be obtained by js code track.style.height, be denoted as slideH;S3 slidably region height) is calculated, can be obtained by js code slider.style.height-slideH, is remembered For trackH;S4 the chapters and sections (being denoted as cid) and chapter bias internal (being denoted as offset) that) active user reads can be by currently showing The attribute of page object obtain, page bias internal (being denoted as poffset) can pass through current page object visual length (being denoted as vlen) It is obtained relative to page length degree (len).The above variable meets following relationship:
slider.style.top=slideH*(1.0/cid*(vlen/len)+vlen/len)*1/maxcid+(cid- 1)*1.0/maxcid);
Slider.style.top is exactly sliding block relative to the height value at the top of sliding rail, when each idler wheel rolls in this way, just It can refer to the position of synchronous vacations sliding block, to show the reading progress of user, alternatively, it is also possible to be dragged by sliding block to jump to Reading is set in positioning.
(4) user's prompt information.The 4th of reading area the specified region shows user's prompt information in this prior.It is preferred that Ground, as shown in Figure 2 a and 2 b, the 4th specified region are the top of the current reading area.
It should be noted that display page when Fig. 2 a in the embodiment of the present invention can regard lateral page turning as, and scheme 2b can regard display page when longitudinal page turning as, in lateral page turning, can be pressed with left and right page turning shown in a according to fig. 2 Button turns to page up or lower one page, and in longitudinal page turning, it can be slided according to the progress bar of display come page turning.
Embodiment as shown in connection with fig. 1, step (1)-(4) provide the interaction behaviour that can satisfy pc user's use habit Make, so that can intuitively realize the browsing and various operations to the page in current reading area, user can be allowed by providing Immerse the interactive experience of reading.
Fig. 3 a is a kind of flow chart of page display method provided in an embodiment of the present invention.The embodiment of the present invention is set with terminal It is illustrated under the scene of the reading method of standby current application transverse direction page turning, referring to Fig. 3 a, which comprises
301: terminal device receives the idsplay order to specified page;
The idsplay order can be clicked respective keys by user or execute corresponding slide and triggered, and can also be rolled in mouse Wheel triggers when rolling, as user clicks right side arrow key, sliding or mouse roller roll downwards to the right in touch display screen The dynamic idsplay order that can trigger the next page to the page currently shown, specific triggering mode can be set according to terminal Standby default or user's self-setting.
302: obtaining the page info of the specified page;
The page info includes text information, paragraph sequence and paragraph format, can also include section number, chapters and sections offset Amount etc..Wherein, the text information of the page info is divided into multiple paragraphs, the paragraph sequence of multiple paragraph by using newline It is determined according to the sequence of the text information of the page info.The paragraph format of each paragraph can be title or common language.
303: obtaining current reading method and read template accordingly, which includes at least two subtemplates;
The reading template is determined according to the current reading method, to fill the page info of the specified page, and is shown In this prior in reading area, read for user.
The number for the subtemplate that the reading template is included can be preset, and multiple subtemplate arranges in sequence, Preferably, which is 3.
Step 302-303 is the process initialized to the page, right for reading template and include three subtemplates The step 302 and 303 specific implementation are illustrated: for step 302, being specifically included: when terminal device is received to specified When the idsplay order of the page, start to initialize specified page, that is to say obtain the specified page page info and Typesetting is carried out according to page info, and before getting at least one subpage frame, it is local that the page loaded is not present, because This, can show waiting effect on the terminal device, with text prompt inform user wait as " in load " or with buffer figure Inform that user waits.And it is directed to step 303, it specifically includes: generating 3 page objects according to the subtemplate for reading template is synchronous, point Not Wei page up, current page, lower one page, in order to improve page turning efficiency, page width is identical with height, it is assumed here that page width For w, then the page object abscissa of page up is-w, and current page object abscissa is 0, and the abscissa of lower one page is w, and ordinate is equal It is 0, generates with page object size (width and height) identical template m, use here
Sprite.mask=m
m.x=0;
m.y=0
Mode can guarantee only display current page, and this completes the initialization of lateral page turning, and be subsequent page turning Do lower preparation.
It should be noted that the acquisition read the step of template only need to be before step 304, the uninevitable time Serial relation, certainly, terminal device can be read according to the current reading area acquisition before user's online reading process starts Template is read, is saved in the database.
304: according to the paragraph sequence of the page info and the format of each paragraph, by each paragraph of the page info In filling at least two subtemplates for reading template corresponding with the current reading area, at least the one of the specified page is obtained A subpage frame;
According to the paragraph sequence of the page info, successively each paragraph is filled according to the format of each paragraph to the reading Template, in filling process, which can be used for marking text information, as the text of title can mark as overstriking Format.Optionally, the first trip of each paragraph is labeled as first trip retraction display.
Preferably, according to the paragraph of page info sequence and the format of each paragraph, paragraph catalogue, Mei Geduan are generated Corresponding sequence identification, format and text information are fallen, it is according to the paragraph catalogue, each paragraph of the page info is suitable according to paragraph Sequence is filled to the reading template.
In order to further illustrate the detailed process of the typesetting, below with reference to specific algorithm to above-mentioned acquisition, again typesetting And generate the process of at least one subpage frame and be described: S1) obtaining subtemplate, generated using TextField constructed fuction, Width is fixed size, and the height of header and footer is highly deducted for user browser visible height.S2 page info) is analyzed, Paragraph catalogue is generated according to newline, the text information of each paragraph of the page info is filled into subtemplate, is filled out at this During filling, pervious part of entering a new line when first is title, marks overstriking format placed in the middle;It is positive when general character needs to mark Text, not first trip retraction display;When the place of newline segmentation, paragraph is generated, is retracted and shows according to first trip.It is every by successively analyzing A paragraph, until last character string.Above-mentioned filling and the judgement of format etc. to paragraph, can apply The API of TextField.setTextFormat (format, begin, end) is realized.S3) filled according to S2 as a result, can be with The index of the last character of current TextField is obtained in the following manner.The process specifically includes: obtaining TextField.ScrollV, i.e. visibility region last line;According to the line number got, the row last character is obtained Index getLineOffset(line index)+getLineLength(line index).S4 page object) is generated by the index in S3 (including format in head and the tail character index, S2).S5) judge whether tail index character is the last character for rendering character string, If it is, terminating, if it is not, then turning to S6);S6 the page data) is deleted by TextField.replaceText, is turned to S3。
The process is greatly saved memory, reduces user and reading due to only having reused a small amount of subtemplate Waiting time in journey.
305: showing the subpage frame at least one subpage frame as homepage;
The subpage frame got respectively corresponds a reading template, arranges according to the sequence of the reading template, the specific page First subpage frame in face is the subpage frame for being used as homepage.
306: when receiving the page-turning instruction to current display subpage frame, showing the page turning at least one subpage frame Instruct corresponding subpage frame;
The page-turning instruction can be understood as the idsplay order in above-mentioned steps 301, which is directed to subpage frame Page turning, the idsplay order in step 301 are directed to the page turning of specified page, and the triggering mode of the two is similar, and details are not described herein.
When one page instructs under receiving to turning to of current display subpage frame, the next of current display subpage frame is shown Subpage frame;When receiving to current display subpage frame when turning to page up instruction, upper one of current display subpage frame is shown Subpage frame shows the subpage frame in a upper page for the specified page as last page.
As shown in Figure 3b, in the reading method of lateral page turning, according to three sub- template generations, three page objects, respectively Page up, current page, lower one page, wherein current page is directed toward (2) region, i.e., current reading area shows (2) region, (1) region (3) region is invisible area;When receiving the instruction for showing lower one page, subpage frame is laterally rolled, then current page is directed toward (3) region, i.e., current reading area show (3) region, and page up is directed toward (2) region, and lower one page is directed toward the lower one page in (3) region Region, i.e. (4) region pass through 3 page object implementatio8s page-turning function of horizontal read mode.
It should be noted that terminal device is obtained by way of on-line loaded in the implementation procedure of step 302-306 Page info, when loading for the first time, terminal device is sequentially filled according to the subtemplate in the reading template to each subtemplate, is obtained Take the subpage frame of the specified page after by all subtemplate fillings completely, terminal device stops load, if in this prior The corresponding sequence for reading template of the subpage frame that reading area is shown is to receive turning over for user at the centre of multiple subtemplates Page instruction, then show next subpage frame of the subpage frame currently shown according to the direction of the page-turning instruction, and by the first subtemplate It is placed on after last son reading template, next subpage frame of the last one acquired subpage frame is filled to the first subtemplate In, get a new subpage frame.According to the direction of the page-turning instruction and the current location of multiple subtemplates, first submodule Plate is first subtemplate in multiple subtemplate, which is the last one submodule in multiple subtemplate Plate.
Reading template of the terminal device by setting predetermined number, loading page information, without owning reading content Page info all loads, and saves memory, and reading area shows that the reading template in middle position is corresponding in this prior When subpage frame, page info is reloaded, filling saves the waiting time of user to the first reading template.
For example, terminal device obtains 3 subtemplates, is followed successively by template A, B and C, loads the specified page for the first time When page info, by being sequentially filled the paragraph of the specified page to the subtemplate A, B and C, three subpage frames 1,2 are got With 3, stop load at this time, which shows subpage frame 1, when receive turn to the instruction of lower one page when, this is currently read Reading field shows subpage frame 2, and the corresponding subtemplate B of subpage frame is in the centre of template A and C, and the first subtemplate is template A at this time, After template A is placed on template C, the page info not loaded also in the specified page is filled to template A, subpage frame is obtained 3 next subpage frame 4 turns to lower one page instruction, the then current reading when receiving when current reading area shows subpage frame 3 Region can show subpage frame 4.
In addition, triggering loads under the specified page after all having loaded all page infos of the specified page The page info of the next page is sequentially filled to remaining idle subtemplate by one page, so that user refers to reading this Determine the subpage frame that can read the next page after the page without waiting.
When receiving the instruction for turning to target subpage frame, but when target subpage frame does not load completion also, read in this prior Region display waits effect, user waiting prompt load, until target subpage frame load is completed.
Above-mentioned page turning process is described below with reference to specific algorithm, it is simple in order to describe, it is assumed here that lower one page Page object is N, and current page page object is C, and page up object is P, and lower page turning algorithm is as follows:
S1) judge whether N is any subpage frame in the multiple subpage frames got, if it is, S2 is carried out, if It is no, step 302 is executed, to obtain the page info of next page.Wherein it is possible to using the text recorded in section number and page object This offset continuity judges.S2) x coordinate of the parent object where N increases N.width, and N is thus become current Page.S3) after page turning, the data of lower one page may be not present, and for subsequent page turning efficiency, need exist for initiating lower one page in advance Asynchronous Request.S4 P.x=N.x+N.width) is modified by coordinate, lower one page after P to be become to page turning.Upper page turning algorithm with The lower page turning algorithm is similar, and details are not described herein.
Method provided in an embodiment of the present invention, by receiving the idsplay order to specified page;Obtain the specified page Page info;Template is read accordingly according to current reading area and the current reading method, to the specified page Page info carries out typesetting, obtains at least one subpage frame;Show any subpage frame at least one described subpage frame.Using this The technical solution of invention determines current reading area by the screen of the terminal device according to user, by the page of the specified page Face acquisition of information is at least one subpage frame, intuitively shows at least one subpage frame, optimizes the reading experience of user, and Page info is filled using reading template in loading page information, without all loading all page infos, is saved interior Deposit the waiting time with user.Further, by the way that specified page is divided into width and is highly suitable for current reading area Subpage frame provides the interactive experience that can be immersed in reading for user, and since a small amount of subtemplate is utilized, and uses page The form of object can save the waiting time of user, and the load of the page and the display of the page are completed with most fast speed.
It is similar with the process of above-mentioned Fig. 3 a illustrated embodiment, for the reading method of longitudinal page turning, with lateral page turning Reading method the difference is that, for the reading method of longitudinal page turning, page-turning instruction generally roll instruction, such as It scrolls up and instructs and scroll down through instruction.With the rolling distance variation of rolling instruction, the rolling instructed according to the rolling Direction continuously displays the adjacent page of the subpage frame currently shown and the subpage frame currently shown.As shown in figure 4, current read area Domain shows that second page continuously displays second page and third page when receiving lower page-turning instruction, and the right part of flg in Fig. 4 indicates The page display schematic diagram at a certain moment before completely showing third page.
For the reading method of longitudinal page turning, which can continuously display two adjacent subpage frames Partial page information, therefore, the embodiment of the present invention are different from the new trigger point of subpage frame of the acquisition of above-described embodiment, specifically Are as follows: if the corresponding sequence for reading template of the subpage frame that reading area is shown in this prior is to connect at the centre of multiple subtemplates Receive user rolling instruction, then according to the rolling instruction rotating direction and rolling distance show the subpage frame currently shown and Its adjacent subpage frame, the rolling distance with rolling instruction increases, when the adjacent subpage is shown in the current reading area When the complete page in face, after the first subtemplate is placed on last subtemplate, by what is do not loaded also in second specified page Page info is filled to first subtemplate, and a new subpage frame is obtained.Direction and multiple submodules according to rolling instruction The current location of plate.Preferably, it is illustrated so that the number of subtemplate is 7 as an example, when the number of the subtemplate is 7, terminal When equipment loads the page info of second specified page for the first time, by being sequentially filled the paragraph of second specified page to 7 A subtemplate gets 7 subpage frame 1-7, stops load at this time, the 4th subtemplate is in the middle position of all subtemplates.When The current reading area shows subpage frame 4 and receives when turning to the instruction of lower one page that the current reading area continuously displays subpage Face 4 and subpage frame 5, the rolling distance with rolling instruction increases, when subpage frame 5 is currently shown in the current reading area The complete page when, after the first subtemplate is placed on last subtemplate, the page that will not also be loaded in second specified page Face information is filled to first subtemplate, and next subpage frame 8 of subpage frame 7 is obtained.
The initialization procedure of the reading method of the longitudinal direction page turning and the reading method of above-mentioned lateral page turning similarly, difference The value that place also resides in subtemplate number is different, and in order to guarantee user, N-free diet method, longitudinal page turning are read as far as possible in page scroll The corresponding subtemplate number of read mode is greater than laterally corresponding subtemplate.Another the difference is that page object arrangement, Longitudinal page object uses longitudinal arrangement, i.e. the abscissa of page object is 0, and ordinate successively, is protected according to the height of page object Card is cumulative not to be overlapped.Additionally need and define two values: maxY, minY respectively indicate the maximum and minimum value of rolling, the maximum value It can be preset by technical staff with minimum value, if it exceeds the two values just need user to wait and asynchronous load.maxY= Max (page object .y)-page object height, minY=min (page object .y), then its specific page turning algorithm can be such that S1) it calculates The distance that user rolls, that is to say Y value;S2) judge whether the Y value rolled has exceeded the size of maxY, scroll down through here, So only needing to see if fall out maxY, if it is upper rolling, need to judge whether to be less than minY, it is no if it is steering S3 Then turn to S6.S3) display waits effect;S4) the page info of the page needed for asynchronous acquisition, here with being shown displayed across when algorithm It is identical;S5) after S4 obtains page info success, lower one page is rendered, and is current maximum by the page object modification of minimum y-coordinate Lower one page of y-coordinate page object, modification minY and maxY turn to S2 at this time and judge whether the new page meets the condition of S2;S6) The y-coordinate of the parent object of move page object is to new Y value.S7) terminate.
Method provided in an embodiment of the present invention, by receiving the idsplay order to specified page;Obtain the specified page Page info;Template is read accordingly according to current reading area and the current reading method, to the specified page Page info carries out typesetting, obtains at least one subpage frame;Show any subpage frame at least one described subpage frame.Using this The technical solution of invention determines current reading area by the screen of the terminal device according to user, by the page of the specified page Face acquisition of information is at least one subpage frame, intuitively shows at least one subpage frame, optimizes the reading experience of user, and Page info is filled using reading template in loading page information, without all loading all page infos, is saved interior Deposit the waiting time with user.
Fig. 5 is a kind of page display device structural schematic diagram provided in an embodiment of the present invention.The execution of the embodiment of the present invention Main body is terminal device, and referring to Fig. 5, described device includes:
Command reception module 51, for receiving the idsplay order to specified page;
Page info acquisition module block 52, for obtaining the page info of the specified page;
Subpage frame obtains module 53, for reading template accordingly according to current reading area and the current reading method, Typesetting is carried out to the page info of the specified page, obtains at least one subpage frame;
Subpage frame display module 54, for showing any subpage frame at least one subpage frame.
Optionally, subpage frame acquisition module 53 includes:
Subpage frame acquiring unit, for the format of paragraph sequence and each paragraph according to the page info, by the page Each paragraph of face information is filled at least two subtemplates for reading template corresponding with the current reading area, and obtaining should At least one subpage frame of specified page.
Optionally, which includes:
Homepage display unit, for showing the subpage frame at least one subpage frame as homepage;
Subpage frame display unit, for when receiving the page-turning instruction to current display subpage frame, show this at least one The corresponding subpage frame of the page-turning instruction in a subpage frame.
Optionally, the device further include:
Key display module is fed back, for when receiving to the idsplay order of specified page, reading area in this prior First specified region shows suggestion feedback key;
Key color change module, for when cursor is moved to the suggestion feedback key, by the suggestion feedback key Color change is pre-set color.
Optionally, the device further include:
Function Identification display module, for when receiving to the idsplay order of specified page, reading area in this prior Second specified region shows read function mark, and each read function mark is for mapping different read functions.
Optionally, the device further include:
Scroll bar display module, for when receiving to the idsplay order of specified page, the of reading area in this prior Three specified regions show that reading progress scroll bar and sliding block, the reading progress scroll bar and sliding block are used to indicate current reading Chapters and sections and reading progress percentage.
Optionally, the device further include:
Prompt information display module, for when receiving to the idsplay order of specified page, reading area in this prior 4th specified region shows user's prompt information.
Optionally, which is applied to the reading method of lateral page turning or the reading method of longitudinal page turning.
Device provided in an embodiment of the present invention, by receiving the idsplay order to specified page;Obtain the specified page Page info;Template is read accordingly according to current reading area and the current reading method, and the page of the specified page is believed Breath carries out typesetting, obtains at least one subpage frame;Show any subpage frame at least one subpage frame.Using skill of the invention Art scheme determines current reading area by the screen of the terminal device according to user, the page info of the specified page is obtained It is taken as at least one subpage frame, at least one subpage frame is intuitively shown, optimizes the reading experience of user, and in loaded page Using template filling page info is read when the information of face, without all loading all page infos, memory and user are saved Waiting time.
It should be understood that the device that shows of the page provided by the above embodiment is in page display, only with above-mentioned each function Can module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different functions Module is completed, i.e., the internal structure of terminal device is divided into different functional modules, with complete it is described above whole or Partial function.In addition, the embodiment of the method that device and the page that the page provided by the above embodiment is shown are shown belongs to same structure Think, specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Fig. 6 is a kind of terminal device structural schematic diagram provided in an embodiment of the present invention.Referring to Fig. 6, which can be with For implementing the page display method provided in above-described embodiment.Specifically:
Terminal device 600 may include communication unit 110, include one or more computer readable storage medium Memory 120, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160, wireless communication unit 170, packet Include the components such as processor 180 and the power supply 190 of one or more than one processing core.Those skilled in the art can be with Understand, terminal device structure shown in Fig. 6 does not constitute the restriction to terminal device, may include more more or less than illustrating Component, perhaps combine certain components or different component layouts.Wherein:
Communication unit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, the communication unit 110 Can be RF(Radio Frequency, radio frequency) network communication equipments such as circuit, router, modem.Particularly, when When communication unit 110 is RF circuit, after the downlink information of base station is received, transfer at one or more than one processor 180 Reason;In addition, the data for being related to uplink are sent to base station.RF circuit usually as communication unit include but is not limited to antenna, At least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, LNA(LowNoise Amplifier, low-noise amplifier), duplexer etc..In addition, communication unit 110 can also be by wireless Communication is communicated with network and other equipment.Any communication standard or agreement can be used in the wireless communication, including but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, code Point multiple access), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short Messaging Service, short message service) etc.. Memory 120 can be used for storing software program and module, and processor 180 is stored in the software journey of memory 120 by operation Sequence and module, thereby executing various function application and data processing.Memory 120 can mainly include storing program area and deposit Store up data field, wherein storing program area can application program needed for storage program area, at least one function (for example sound is broadcast Playing function, image player function etc.) etc.;Storage data area, which can be stored, uses created data (ratio according to terminal device 600 Such as audio data, phone directory) etc..In addition, memory 120 may include high-speed random access memory, it can also include non- Volatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.Accordingly Ground, memory 120 can also include Memory Controller, to provide processor 180 and input unit 130 to memory 120 Access.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 130 may include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and terminal device that are supplied to user 600 various graphical user interface, these graphical user interface can by figure, text, icon, video and any combination thereof Lai It constitutes.Display unit 140 may include display panel 141, optionally, can using LCD (Liquid Crystal Display, Liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display Panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detect on it or near Touch operation after, send processor 180 to determine the type of touch event, be followed by subsequent processing device 180 according to touch event Type provides corresponding visual output on display panel 141.Although in Fig. 6, touch sensitive surface 131 is with display panel 141 Realize input and input function as two independent components, but in some embodiments it is possible to by touch sensitive surface 131 with Display panel 141 is integrated and realizes and outputs and inputs function.
Terminal device 600 may also include at least one sensor 150, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can basis The light and shade of ambient light adjusts the brightness of display panel 141, proximity sensor can when terminal device 600 is moved in one's ear, Close display panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect all directions The size of upper (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when static Application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (for example pedometer, strikes Hit) etc.;Gyroscope, barometer, hygrometer, thermometer, infrared sensor for can also configure as terminal device 600 etc. other Sensor, details are not described herein.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal device 600. Electric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted by loudspeaker 161 by voicefrequency circuit 160 For voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, is connect by voicefrequency circuit 160 Audio data is converted to after receipts, then by after the processing of audio data output processor 180, is sent to through RF circuit 110 such as another One terminal device, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that Earphone jack, to provide the communication of peripheral hardware earphone Yu terminal device 600.
In order to realize wireless communication, wireless communication unit 170, the wireless communication unit can be configured on the terminal device 170 can be WiFi module.WiFi belongs to short range wireless transmission technology, and unit 170 can by wireless communication for terminal device 600 To help user to send and receive e-mail, browse webpage and access streaming video etc., it provides wireless broadband for user and interconnects Net access.Although Fig. 6 shows wireless communication unit 170, but it is understood that, and it is not belonging to terminal device 600 It must be configured into, can according to need within the scope of not changing the essence of the invention and omit completely.
Processor 180 is the control centre of terminal device 600, utilizes each of various interfaces and connection whole mobile phone Part by running or execute the software program and/or module that are stored in memory 120, and calls and is stored in memory Data in 120 execute the various functions and processing data of terminal device 600, to carry out integral monitoring to mobile phone.It is optional , processor 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modulatedemodulate Adjust processor, wherein the main processing operation system of application processor, user interface and application program etc., modem processor Main processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal device 600 further includes the power supply 190(such as battery powered to all parts), it is preferred that power supply can lead to Cross power-supply management system and processor 180 be logically contiguous, thus by power-supply management system realize management charging, electric discharge and The functions such as power managed.Power supply 190 can also include one or more direct current or AC power source, recharging system, electricity The random components such as source fault detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal device 600 can also include camera, bluetooth module etc., and details are not described herein.Specifically exist In the present embodiment, the display unit of terminal device is touch-screen display, terminal device further include have memory and one or The more than one program of person, one of them perhaps more than one program be stored in memory and be configured to by one or It includes the instruction for performing the following operation that more than one processor, which executes the one or more programs:
Receive the idsplay order to specified page;
Obtain the page info of the specified page;
Template is read accordingly according to current reading area and the current reading method, to the page info of the specified page Typesetting is carried out, at least one subpage frame is obtained;
Show any subpage frame at least one subpage frame.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, in the memory of the terminal device, also include instructions for performing the following operations:
According to the paragraph sequence of the page info and the format of each paragraph, each paragraph of the page info is filled To at least one son at least two subtemplates for reading template corresponding with the current reading area, obtaining the specified page The page.
In the third the possible embodiment provided based on the first possible embodiment, which is set Also include instructions for performing the following operations in standby memory:
Show the subpage frame at least one subpage frame as homepage;
When receiving the page-turning instruction to current display subpage frame, the page-turning instruction at least one subpage frame is shown Corresponding subpage frame.
In the 4th kind of possible embodiment provided based on the first possible embodiment, which is set Also include instructions for performing the following operations in standby memory:
When receiving the idsplay order to specified page, the specified region of the first of reading area shows that opinion is anti-in this prior Present key;
It is pre-set color by the color change of the suggestion feedback key when cursor is moved to the suggestion feedback key.
In the 5th kind of possible embodiment provided based on the first possible embodiment, which is set Also include instructions for performing the following operations in standby memory:
When receiving the idsplay order to specified page, function is read in the specified region display of the second of reading area in this prior It can identify, each read function mark is for mapping different read functions.
In the 6th kind of possible embodiment provided based on the first possible embodiment, which is set Also include instructions for performing the following operations in standby memory:
When receiving to the idsplay order of specified page, in this prior the third of reading area specify region show read into Scroll bar and sliding block are spent, the reading progress scroll bar and sliding block are used to indicate current reading chapters and sections and read progress percentage Than.
In the 7th kind of possible embodiment provided based on the first possible embodiment, which is set Also include instructions for performing the following operations in standby memory:
When receiving the idsplay order to specified page, the specified region of the 4th of reading area shows that user mentions in this prior Show information.
In the 8th kind of possible embodiment provided based on the first possible embodiment, which is set Standby memory application is in the reading method of lateral page turning or the reading method of longitudinal page turning.
As on the other hand, yet another embodiment of the invention additionally provides a kind of computer readable storage medium, the computer Readable storage medium storing program for executing can be computer readable storage medium included in the memory in above-described embodiment;It is also possible to list Solely exist, without the computer readable storage medium in supplying terminal.The computer-readable recording medium storage have one or More than one program of person, the one or more programs are used to execute one by one or more than one processor Page display method, which comprises
Receive the idsplay order to specified page;
Obtain the page info of the specified page;
Template is read accordingly according to current reading area and the current reading method, to the page of the specified page Information carries out typesetting, obtains at least one subpage frame;
Show any subpage frame at least one described subpage frame.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, template is read to institute according to current reading area and the current reading method accordingly The page info for stating specified page carries out typesetting, obtains at least one subpage frame, comprising:
According to the paragraph sequence of the page info and the format of each paragraph, by each paragraph of the page info In filling at least two subtemplates for reading template corresponding with the current reading area, the specified page is obtained extremely A few subpage frame.
In the third the possible embodiment provided based on the first possible embodiment, described in display Any subpage frame at least one subpage frame, comprising:
Show the subpage frame at least one described subpage frame as homepage;
When receiving the page-turning instruction to current display subpage frame, page turning described at least one described subpage frame is shown Instruct corresponding subpage frame.
In the 4th kind of possible embodiment provided based on the first possible embodiment, the method Further include:
When receiving the idsplay order to specified page, opinion is shown in the first specified region of the current reading area Feed back key;
It is default face by the color change of the suggestion feedback key when cursor is moved to the suggestion feedback key Color.
In the 5th kind of possible embodiment provided based on the first possible embodiment, the method Further include:
When receiving the idsplay order to specified page, read in the second specified region display of the current reading area Function Identification, each read function mark is for mapping different read functions.
In the 6th kind of possible embodiment provided based on the first possible embodiment, the method Further include:
When receiving the idsplay order to specified page, region display is specified to read in the third of the current reading area Progress scroll bar and sliding block, the reading progress scroll bar and sliding block are used to indicate current reading chapters and sections and read progress Percentage.
In the 7th kind of possible embodiment provided based on the first possible embodiment, the method Further include:
When receiving the idsplay order to specified page, user is shown in the 4th specified region of the current reading area Prompt information.
In the 8th kind of possible embodiment provided based on the first possible embodiment, the method Applied to the reading method of lateral page turning or the reading method of longitudinal page turning.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (18)

1. a kind of page display method, which is characterized in that the described method includes:
Receive the idsplay order to specified page;
Obtain the page info of the specified page;
Template is read accordingly according to current reading area and current reading method, and the page info of the specified page is carried out Typesetting obtains at least one subpage frame;Wherein, the page info read template and be used to fill the specified page, and show Show in the current reading area, the typesetting process change display mode of the specified page, to the specific page Particular content and sequence in the page info in face are not made an amendment, the particular content of the page info of the specified page after typesetting It does not change;
Show any subpage frame at least one described subpage frame.
2. the method according to claim 1, wherein according to current reading area and the current reading method phase The reading template answered carries out typesetting to the page info of the specified page, obtains at least one subpage frame, comprising:
According to the paragraph sequence of the page info and the format of each paragraph, each paragraph of the page info is filled To at least two subtemplates for reading template corresponding with the current reading area, at least the one of the specified page is obtained A subpage frame.
3. the method according to claim 1, wherein show any subpage frame at least one described subpage frame, Include:
Show the subpage frame at least one described subpage frame as homepage;
When receiving the page-turning instruction to current display subpage frame, page-turning instruction described at least one described subpage frame is shown Corresponding subpage frame.
4. the method according to claim 1, wherein the method also includes:
When receiving the idsplay order to specified page, suggestion feedback is shown in the first specified region of the current reading area Key;
It is pre-set color by the color change of the suggestion feedback key when cursor is moved to the suggestion feedback key.
5. the method according to claim 1, wherein the method also includes:
When receiving the idsplay order to specified page, read function is shown in the second specified region of the current reading area Mark, each read function mark is for mapping different read functions.
6. the method according to claim 1, wherein the method also includes:
When receiving the idsplay order to specified page, region is specified to show reading progress in the third of the current reading area Scroll bar and sliding block, the reading progress scroll bar and sliding block are used to indicate current reading chapters and sections and read progress percentage Than.
7. the method according to claim 1, wherein the method also includes:
When receiving the idsplay order to specified page, user's prompt is shown in the 4th specified region of the current reading area Information.
8. the method according to claim 1, wherein the method is applied to the reading method or vertical of lateral page turning To the reading method of page turning.
9. a kind of page display device, which is characterized in that described device includes:
Command reception module, for receiving the idsplay order to specified page;
Page info acquisition module block, for obtaining the page info of the specified page;
Subpage frame obtains module, for reading template accordingly according to current reading area and current reading method, to the finger The page info for determining the page carries out typesetting, obtains at least one subpage frame;Wherein, the reading template is described specified for filling The page info of the page, and being shown in the current reading area, the typesetting process change specified page it is aobvious Show mode, the particular content in the page info of the specified page is not made an amendment with sequence, the specified page after typesetting The particular content of page info do not change;
Subpage frame display module, for showing any subpage frame at least one described subpage frame.
10. device according to claim 9, which is characterized in that the subpage frame obtains module and includes:
Subpage frame acquiring unit, for the format of paragraph sequence and each paragraph according to the page info, by the page Each paragraph of face information is filled at least two subtemplates for reading template corresponding with the current reading area, is obtained At least one subpage frame of the specified page.
11. device according to claim 9, which is characterized in that the subpage frame display module includes:
Homepage display unit, for showing the subpage frame at least one described subpage frame as homepage;
Subpage frame display unit, for when receiving the page-turning instruction to current display subpage frame, display it is described at least one The corresponding subpage frame of page-turning instruction described in subpage frame.
12. device according to claim 9, which is characterized in that described device further include:
Key display module is fed back, for when receiving to the idsplay order of specified page, the of the current reading area One specified region shows suggestion feedback key;
Key color change module, for when cursor is moved to the suggestion feedback key, by the suggestion feedback key Color change is pre-set color.
13. device according to claim 9, which is characterized in that described device further include:
Function Identification display module, for when receiving to the idsplay order of specified page, the of the current reading area Two specified regions show read function mark, and each read function mark is for mapping different read functions.
14. device according to claim 9, which is characterized in that described device further include:
Scroll bar display module, for when receiving to the idsplay order of specified page, in the third of the current reading area Specified region shows that reading progress scroll bar and sliding block, the reading progress scroll bar and sliding block are used to indicate current reading Chapters and sections and reading progress percentage.
15. device according to claim 9, which is characterized in that described device further include:
Prompt information display module, for when receiving to the idsplay order of specified page, the of the current reading area Four specified regions show user's prompt information.
16. device according to claim 9, which is characterized in that described device be applied to lateral page turning reading method or The reading method of longitudinal page turning.
17. a kind of terminal device, which is characterized in that the terminal device include memory and one or more than one Program,
One of them or more than one program is stored in memory,
And be configured to be executed by one or more than one processor the one or more programs include for into The following instruction operated of row:
Receive the idsplay order to specified page;
Obtain the page info of the specified page;
Template is read accordingly according to current reading area and current reading method, and the page info of the specified page is carried out Typesetting obtains at least one subpage frame;Wherein, the page info read template and be used to fill the specified page, and show Show in the current reading area, the typesetting process change display mode of the specified page, to the specific page Particular content and sequence in the page info in face are not made an amendment, the particular content of the page info of the specified page after typesetting It does not change;
Show any subpage frame at least one described subpage frame.
18. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium includes at least one finger It enables, claim 1-8 any page display method is realized when described instruction is executed by processor.
CN201310121462.4A 2013-04-09 2013-04-09 Page display method, device and terminal device Active CN104102419B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310121462.4A CN104102419B (en) 2013-04-09 2013-04-09 Page display method, device and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310121462.4A CN104102419B (en) 2013-04-09 2013-04-09 Page display method, device and terminal device

Publications (2)

Publication Number Publication Date
CN104102419A CN104102419A (en) 2014-10-15
CN104102419B true CN104102419B (en) 2019-02-26

Family

ID=51670607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310121462.4A Active CN104102419B (en) 2013-04-09 2013-04-09 Page display method, device and terminal device

Country Status (1)

Country Link
CN (1) CN104102419B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105786774B (en) * 2014-12-16 2018-11-16 珠海金山办公软件有限公司 Text first trip is retracted method and device
CN106201234A (en) * 2015-04-29 2016-12-07 阿里巴巴集团控股有限公司 The inspection method of content of pages and device
CN106469067A (en) * 2015-08-14 2017-03-01 广州市动景计算机科技有限公司 Context progress update method and device
CN106897330A (en) * 2016-06-07 2017-06-27 阿里巴巴集团控股有限公司 A kind of tag information processing method, device
CN106648343A (en) * 2016-12-29 2017-05-10 广州阿里巴巴文学信息技术有限公司 Rolling page turning display method and apparatus for electronic book reading
CN108038134B (en) * 2017-11-20 2020-06-26 东软集团股份有限公司 Page display method and device, storage medium and electronic equipment
CN108762756B (en) * 2018-05-14 2020-04-14 蜂助手股份有限公司 Application program display method and device
CN108845968B (en) * 2018-05-31 2019-03-15 掌阅科技股份有限公司 Book cover display methods, electronic equipment and computer storage medium
CN110727484B (en) * 2018-07-17 2023-05-05 阿里巴巴(中国)有限公司 Information display method and device and electronic equipment
CN109213957B (en) * 2018-09-18 2021-06-29 福建天泉教育科技有限公司 Method and terminal for acquiring sub-page size in page nesting environment
CN109857578B (en) * 2019-01-31 2021-07-23 维沃移动通信有限公司 Text copying method and electronic equipment
CN109840168B (en) * 2019-02-14 2021-11-02 北京字节跳动网络技术有限公司 Software recovery method, device, terminal and medium
CN111368240B (en) * 2019-09-19 2024-03-22 杭州海康威视***技术有限公司 Page display method, device and equipment and storage medium
CN111124239A (en) * 2019-12-06 2020-05-08 广州柏视医疗科技有限公司 Medical film reading method and device
CN113867827A (en) * 2020-06-29 2021-12-31 北京字节跳动网络技术有限公司 Method and device for loading webpage
CN112437148B (en) * 2020-11-20 2023-03-07 北京奇艺世纪科技有限公司 Service request processing method and device, service server and system
CN112988014A (en) * 2021-03-30 2021-06-18 掌阅科技股份有限公司 Page turning processing method, computing device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101587490A (en) * 2009-07-01 2009-11-25 优视动景(北京)技术服务有限公司 Web page rearrangement processing method and acting server
CN101833586A (en) * 2010-05-26 2010-09-15 卓望数码技术(深圳)有限公司 HTML (Hypertext Markup Language) small screen self-adaption typesetting method and typesetting server
CN102045388A (en) * 2010-11-25 2011-05-04 汉王科技股份有限公司 Online reading device and method
CN102156716A (en) * 2010-12-02 2011-08-17 广州市动景计算机科技有限公司 Method and device for re-typesetting web page
CN102457613A (en) * 2010-10-27 2012-05-16 腾讯科技(深圳)有限公司 Method and system for displaying web pages on mobile communication terminal
US8489985B2 (en) * 2010-06-30 2013-07-16 International Business Machines Corporation Automatically adjusting a webpage

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101587490A (en) * 2009-07-01 2009-11-25 优视动景(北京)技术服务有限公司 Web page rearrangement processing method and acting server
CN101833586A (en) * 2010-05-26 2010-09-15 卓望数码技术(深圳)有限公司 HTML (Hypertext Markup Language) small screen self-adaption typesetting method and typesetting server
US8489985B2 (en) * 2010-06-30 2013-07-16 International Business Machines Corporation Automatically adjusting a webpage
CN102457613A (en) * 2010-10-27 2012-05-16 腾讯科技(深圳)有限公司 Method and system for displaying web pages on mobile communication terminal
CN102045388A (en) * 2010-11-25 2011-05-04 汉王科技股份有限公司 Online reading device and method
CN102156716A (en) * 2010-12-02 2011-08-17 广州市动景计算机科技有限公司 Method and device for re-typesetting web page

Also Published As

Publication number Publication date
CN104102419A (en) 2014-10-15

Similar Documents

Publication Publication Date Title
CN104102419B (en) Page display method, device and terminal device
US10275295B2 (en) Method and apparatus for presenting clipboard contents on a mobile terminal
CN105095432B (en) Web page annotation display methods and device
CN104965843B (en) A kind of method and device obtaining comment information
TWI624781B (en) Method, apparatus and computer program product for joining the displays of multiple devices
CN104519404B (en) The player method and device of graphic interchange format file
CN105446726B (en) The method and apparatus for generating webpage
US11100955B2 (en) Method, apparatus and smart mobile terminal for editing video
KR20170089929A (en) Method for scaling video image, and mobile terminal
CN104869465B (en) video playing control method and device
CN104238893B (en) A kind of method and apparatus that video preview picture is shown
CN104881844B (en) Picture combination method and device and terminal equipment
US20150301991A1 (en) Webapp startup method and device
CN104021129B (en) Show the method and terminal of group picture
CN111580815B (en) Page element editing method and related equipment
CN104104711B (en) Reading histories treating method and apparatus
CN105955597B (en) Information display method and device
US20150089431A1 (en) Method and terminal for displaying virtual keyboard and storage medium
US9977661B2 (en) Method and system for generating a user interface
CN104007887B (en) The method and terminal that floating layer is shown
US20140181726A1 (en) Method and electronic device for providing quick launch access and storage medium
CN107908330A (en) The management method and mobile terminal of application icon
CN104346028B (en) Address field display methods, device and mobile terminal
CN105487770B (en) Picture sending method and device
CN113050863A (en) Page switching method and device, 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
GR01 Patent grant
GR01 Patent grant