CN102855224B - Display method and display device of electronic documents - Google Patents

Display method and display device of electronic documents Download PDF

Info

Publication number
CN102855224B
CN102855224B CN201110182663.6A CN201110182663A CN102855224B CN 102855224 B CN102855224 B CN 102855224B CN 201110182663 A CN201110182663 A CN 201110182663A CN 102855224 B CN102855224 B CN 102855224B
Authority
CN
China
Prior art keywords
page
size
display mode
electronic document
showing
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
CN201110182663.6A
Other languages
Chinese (zh)
Other versions
CN102855224A (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.)
New Founder Holdings Development Co ltd
Original Assignee
Founder Information Industry Holdings Co Ltd
Peking University Founder Group Co Ltd
Beijing Founder Apabi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Founder Information Industry Holdings Co Ltd, Peking University Founder Group Co Ltd, Beijing Founder Apabi Technology Co Ltd filed Critical Founder Information Industry Holdings Co Ltd
Priority to CN201110182663.6A priority Critical patent/CN102855224B/en
Publication of CN102855224A publication Critical patent/CN102855224A/en
Application granted granted Critical
Publication of CN102855224B publication Critical patent/CN102855224B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

An embodiment of the invention provides a display method and a display device of electronic documents. The display method and the display device relate to the field of computer image processing. The method and the device can achieve optimum display effects aiming at documents with different page sizes and improve user reading experience. The method includes determining a plurality of pages in the electronic documents to be reference pages and determining the display mode that pages of one size in the reference pages correspond to be the designated display mode used for displaying the electronic documents according to distribution conditions of pages in each size in the reference page. The display method and display device are used for simulation display of pages of an electronic book.

Description

The display packing of electronic document and device
Technical field
The present invention relates to Computer Image Processing field, relate in particular to a kind of display packing and device of electronic document.
Background technology
Current electronic reader, much all has the reading models of simulation paper book page-turning effect, this page intend the true feature showing be can books of true reappearance original appearance, give user the impression of original reading paper book.
Owing to being limited by the difference of screen size and resolution, the page of most of electronic reader is intended true demonstration and is all only supported streaming document, and book page size is carried out convergent-divergent or is simply full of whole screen within the scope of screen according to a certain fixed proportion.And for format document, be divided into again following two kinds of modes:
1) arbitrary proportioning.Preset acceptable page size within the scope of a screen, documentation page carries out Zoom display within the scope of this, is full of as far as possible viewing area, because filling by giving tacit consent to look in the region that the page and the inconsistent parent page causing of screen proportion cannot cover.
2) homepage method.Get the size of the first page (or page properties of appointing) of document, in the visual range allowing, amplify and show as far as possible at screen, other all pages all show according to this ratio.
At the existing this e-book page, intend in the true process showing, inventor finds: the second homepage method, for the single document of page size, such as books, effective, the page of the books that can see the former formula of master in terminal intended true demonstration, but can, because the size showing can not be applicable to most of pages and make the reading effect of whole document not reach the best, reduce user's reading impression for the inconsistent document of some each page sizes.
Summary of the invention
Embodiments of the invention provide a kind of display packing and device of electronic document, and the document varying in size for page size can reach best display effect, have improved user's reading impression.
For achieving the above object, embodiments of the invention adopt following technical scheme:
On the one hand, provide a kind of display packing of electronic document, comprising:
A plurality of pages in electronic document are defined as with reference to the page;
According to the distribution situation of the page with reference to every kind of size in the page, by described, with reference to display mode corresponding to the page of a kind of size in the page, be defined as for showing the appointment display mode of described electronic document.
On the one hand, provide a kind of display device of electronic document, comprising:
With reference to the page, choose unit, for a plurality of pages of electronic document are defined as with reference to the page;
Display mode determining unit, for according to the distribution situation of the page with reference to every kind of size of the page, is defined as for showing the appointment display mode of described electronic document with reference to display mode corresponding to the page of a kind of size in the page described.
The display packing of the electronic document that the embodiment of the present invention provides and device, be defined as a plurality of pages in electronic document with reference to the page; According to the distribution situation of the page with reference to every kind of size in the page, with reference to display mode corresponding to the page of a kind of size in the page, be defined as for showing the appointment display mode of described electronic document.Like this, when not of uniform size the causing of page size of the document that will show, can as prior art, with homepage size or fixed page size, not show all pages, but can be according to the distribution situation of the page with reference to every kind of size in the page, selecting a page displaying ratio the most applicable shows, thereby can make to greatest extent most of page show with best effect, and then improve user's reading impression.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The FB(flow block) of the display packing of the electronic document that Fig. 1 provides for the embodiment of the present invention one;
The FB(flow block) of the display packing of the electronic document that Fig. 2 provides for the present invention two embodiment;
The structured flowchart of the display device of the electronic document that Fig. 3 provides for the invention process three examples;
Another structured flowchart of the display device of the electronic document that Fig. 4 provides for the embodiment of the present invention three.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment mono-
The display packing of the electronic document that the embodiment of the present invention provides, as shown in Figure 1, the method step comprises:
S101, a plurality of pages in electronic document are defined as with reference to the page.
Concrete, can electronic document in the discrete or continuous page of certain proportion quantity as with reference to the page.
S102, according to the distribution situation of the page with reference to every kind of size in the page, this is defined as for showing the appointment display mode of electronic document with reference to display mode corresponding to the page of a kind of size in the page.
Concrete, can calculate this with reference to the shared number percent of the page of every kind of size in the page; Then, determine that percentage is more than or equal to display mode corresponding to the size of the page of predetermined percentage for for example, for showing the appointment display mode (, this predetermined percentage can for 50 percent to the arbitrary value between a hundred per cent) of this electronic document.
The display packing of the electronic document that the embodiment of the present invention provides, is defined as a plurality of pages in electronic document with reference to the page; According to the distribution situation of the page with reference to every kind of size in the page, with reference to display mode corresponding to the page of a kind of size in the page, be defined as for showing the appointment display mode of described electronic document.Like this, when not of uniform size the causing of page size of the document that will show, can as prior art, with homepage size or fixed page size, not show all pages, but can be according to the distribution situation of the page with reference to every kind of size in the page, selecting a page displaying ratio the most applicable shows, thereby can make to greatest extent most of page show with best effect, and then improve user's reading impression.
Embodiment bis-
The display packing of the electronic document that the embodiment of the present invention provides, can be applied to various terminals, as the format document page of PC, handheld reader, mobile phone etc. is intended in true reading method.Suppose take that handheld reader is as example, read an electronic document that has 100 pages, the size of each page in this electronic document is different.As shown in Figure 2, the present embodiment supplying method step comprises:
S201, get a certain proportion of continuous page as with reference to the page.
Concrete, can extract according to the page number quantity n of whole document the page number S ∈ [S of proper range 1, S 2] as with reference to the page, S wherein 1for start page, S 2for sign-off sheet, 0≤S 1≤ S 2≤ (n-1).Illustrate, in actual applications, the page number of document is generally started at from 0, thus a document with n page, and its page number is numbered 0~(n-1).As the electronic document of the present embodiment has 100 pages, if get 10% continuous page, can get the 1st page to the 10th page.
Therefore in theory, preferably all pages of power taking subdocument are with reference to the page, but are limited by the reasons such as existing processor speed and network blocks reading, do like this and do not conform to reality, can only get at present a certain proportion of partial page as with reference to the page.
Certainly, can be also to get a certain proportion of discrete page as with reference to the page, if still get total page number 10%, can randomly draw 10 pages.
The shared number percent of the page of every kind of size in S202, the computing reference page.
Concrete, in this step, the page that can be using page length breadth ratio same page as same size.Can integrate a part of page like this, make result of calculation more approach actual conditions.
Further, if the page of same size (comprising the page that length breadth ratio is identical) occur continuously, can to this page, be weighted processing according to the number of times of continuous appearance.Higher its weights of number of times that occur are continuously higher, occur continuously the weights score of twice output existing twice weights and want high.
For the electronic document in the present embodiment, calculate respectively the each weights that occur of each page size, computing method can be to enumerate since the 1st page, until with reference to the 10th page in the page, the number of times occurring continuously according to the identical page of length breadth ratio is multiplied by corresponding weighted value.
S203, determine that percentage is more than or equal to display mode corresponding to the size of the page of predetermined percentage for for showing the appointment display mode of this electronic document.
Concrete, the weights of each appearance of the page of same page ratio can be added.Suppose that x is page size numbering; P yweights while occurring y time continuously for the same size page; C nit is the read-around ratio while occurring continuously for the n time; ∑ P xthe page that is numbered x for size total weights in reference to the page.
Σ P x = P C 1 + P C 2 + . . . + P C n
Find out the page that number percent after weighting is more than or equal to predetermined percentage, and obtain the length-width ratio dimension of this page, according to screen size, this page is carried out to uniform zoom again, and the display mode of take after convergent-divergent is as for showing the appointment display mode of this electronic document.
In addition, also can find out number percent after weighting the highest a page, and show this electronic document with display mode corresponding to the size of this page.
Have again, have two special cases, as S ∈ [0,0], i.e. S 1=S 2=0 o'clock, according to screen resolution, obtain the page size of acquiescence, and display mode corresponding to the page of this default size is defined as for showing the appointment display mode of this electronic document.As S ∈ [0,1], i.e. S 1=0, S 2=1 o'clock, or S ∈ [1,1], i.e. S 1=S 2=1 o'clock, obtain the page size of this electronic document first page, and display mode corresponding to the page of this size is defined as for showing the appointment display mode of this electronic document.
The display packing of the electronic document that the embodiment of the present invention provides, is defined as a plurality of pages in electronic document with reference to the page; The shared number percent of the page of every kind of size in the computing reference page, determines that percentage is more than or equal to display mode corresponding to the size of the page of predetermined percentage for for showing the appointment display mode of this electronic document.Like this, when not of uniform size the causing of page size of the document that will show, can as prior art, with homepage size or fixed page size, not show all pages, but can be according to the percentage of the page with reference to every kind of size in the page, selecting a page displaying ratio the most applicable shows, thereby can make to greatest extent most of page show with best effect, and then improve user's reading impression.
It should be noted that, the statistical method that page size percentage is more than or equal to predetermined percentage of choosing in above-described embodiment just illustrates, and the embodiment of the present invention is not limited to this, also comprises other statistical method.
The display device 30 of the electronic document that the embodiment of the present invention provides, as shown in Figure 3, comprising:
With reference to the page, choose unit 301, for a plurality of pages of electronic document are defined as with reference to the page.
Display mode determining unit 302, for according to the distribution situation of the page with reference to every kind of size of the page, is defined as for showing the appointment display mode of this electronic document with reference to display mode corresponding to the page of a kind of size in the page.
The display device of the electronic document that the embodiment of the present invention provides, is defined as a plurality of pages in electronic document with reference to the page; According to the distribution situation of the page with reference to every kind of size in the page, with reference to display mode corresponding to the page of a kind of size in the page, be defined as for showing the appointment display mode of this electronic document.Like this, when not of uniform size the causing of page size of the document that will show, can as prior art, with homepage size or fixed page size, not show all pages, but can be according to the distribution situation of the page with reference to every kind of size in the page, selecting a page displaying ratio the most applicable shows, thereby can make to greatest extent most of page show with best effect, and then improve user's reading impression.
Further, as shown in Figure 4, this display mode determining unit 302 comprises:
Computing module 3021, for the shared number percent of the page of every kind of size of the computing reference page.
Determination module 3022, display mode corresponding to size that is more than or equal to the page of predetermined percentage for definite percentage is for showing the appointment display mode of electronic document.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of programmed instruction, aforesaid program can be stored in a computer read/write memory medium, this program, when carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CDs.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.

Claims (6)

1. a display packing for electronic document, is characterized in that, comprising:
A plurality of pages in electronic document are defined as with reference to the page;
According to the distribution situation of the page with reference to every kind of size in the page, by described, with reference to display mode corresponding to the page of a kind of size in the page, be defined as for showing the appointment display mode of described electronic document;
Wherein, described according to the distribution situation of the page with reference to every kind of size in the page, by described, with reference to display mode corresponding to the page of a kind of size in the page, be defined as, for showing the appointment display mode of described electronic document, comprising:
Calculate described with reference to the shared number percent of the page of every kind of size in the page;
Determine that percentage is more than or equal to display mode corresponding to the size of the page of predetermined percentage for for showing the appointment display mode of described electronic document.
2. method according to claim 1, is characterized in that, described is the discrete or continuous page of regulation ratio quantity in described electronic document with reference to the page.
3. method according to claim 1 and 2, is characterized in that, calculate described during with reference to the shared number percent of the page of every kind of size in the page, the page using the identical page of page length breadth ratio as same size.
4. method according to claim 1 and 2, is characterized in that, calculate described during with reference to the shared number percent of the page of every kind of size in the page, if the page of same size occur continuously, according to the number of times occurring continuously, the described page is weighted to processing.
5. method according to claim 1 and 2, is characterized in that, determines that percentage is more than or equal to display mode corresponding to the size of the page of predetermined percentage for for showing that the appointment display mode of described electronic document comprises:
According to screen size, the size that described percentage is more than or equal to the page of predetermined percentage is carried out uniform zoom, by the display mode after convergent-divergent, is for showing the appointment display mode of described electronic document.
6. a display device for electronic document, is characterized in that, comprising:
With reference to the page, choose unit, for a plurality of pages of electronic document are defined as with reference to the page;
Display mode determining unit, for according to the distribution situation of the page with reference to every kind of size of the page, is defined as for showing the appointment display mode of described electronic document with reference to display mode corresponding to the page of a kind of size in the page described;
Wherein, described display mode determining unit comprises:
Computing module, described with reference to the shared number percent of the page of every kind of size of the page for calculating;
Determination module, display mode corresponding to size that is more than or equal to the page of predetermined percentage for definite percentage is for showing the appointment display mode of described electronic document.
CN201110182663.6A 2011-06-30 2011-06-30 Display method and display device of electronic documents Active CN102855224B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110182663.6A CN102855224B (en) 2011-06-30 2011-06-30 Display method and display device of electronic documents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110182663.6A CN102855224B (en) 2011-06-30 2011-06-30 Display method and display device of electronic documents

Publications (2)

Publication Number Publication Date
CN102855224A CN102855224A (en) 2013-01-02
CN102855224B true CN102855224B (en) 2014-11-19

Family

ID=47401818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110182663.6A Active CN102855224B (en) 2011-06-30 2011-06-30 Display method and display device of electronic documents

Country Status (1)

Country Link
CN (1) CN102855224B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109597980A (en) * 2018-12-07 2019-04-09 万兴科技股份有限公司 PDF document dividing method, device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1790336A (en) * 2005-12-20 2006-06-21 无锡永中科技有限公司 Document display method
CN101359276A (en) * 2008-09-27 2009-02-04 北大方正集团有限公司 Method and apparatus for displaying electronic document
CN101903861A (en) * 2007-10-24 2010-12-01 造型逻辑有限公司 Electronic document reader

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4328426B2 (en) * 1999-11-02 2009-09-09 キヤノン株式会社 Printing control method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1790336A (en) * 2005-12-20 2006-06-21 无锡永中科技有限公司 Document display method
CN101903861A (en) * 2007-10-24 2010-12-01 造型逻辑有限公司 Electronic document reader
CN101359276A (en) * 2008-09-27 2009-02-04 北大方正集团有限公司 Method and apparatus for displaying electronic document

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Nobuo Funabiki 等.A Proposal of a Web-page Layout Optimization Method for Multimodal Browsing Sizes.《The 13th IEEE International Symposium on Consumer Electronics(ISCE2009)》.2009,第894-898页. *
数字签名中电子文档的可信显示;邵旭东 等;《信息网络安全》;20080526(第3期);第62-64页 *
邵旭东 等.数字签名中电子文档的可信显示.《信息网络安全》.2008,(第3期),第62-64页. *

Also Published As

Publication number Publication date
CN102855224A (en) 2013-01-02

Similar Documents

Publication Publication Date Title
CN103631958B (en) A kind of page automatic adaptation realizes the method that content multi-screen is shown
JP6093873B2 (en) Typesetting method, apparatus, program and recording medium
US20130139045A1 (en) Information browsing apparatus and recording medium for computer to read, storing computer program
EP2874054B1 (en) Application text adjusting method, device, and terminal
US10878532B2 (en) Display device, system and controlling method therefor
CN105740213A (en) Presentation template providing method and device
EP2203984A1 (en) Method and apparatus for dynamically adjusting resolution of display device in mobile computing devices
US20160232151A1 (en) Responsive course design system and method
CN102855224B (en) Display method and display device of electronic documents
CN102236509A (en) Device and method for full-window horizontal touch scroll of stock name fields of financial tape reading software of touch mobile equipment
CN102736819B (en) Electronic document display method and device
CN104317581B (en) Display method and electronic equipment
CN109522532B (en) Method and device for calculating selection range of line drawing frame
CN104462089A (en) Data processing method and device
CN104123287A (en) Document data downloading device, terminal and document data downloading method
CN104808924A (en) Method and system for controlling webpage rolling
CN110321125B (en) Data configuration method and device for cells and readable storage medium
CN104281562A (en) Electronic document processing method and device
CN103280208B (en) A kind of method of automatic adjustment text importing size and device
CN104063160A (en) Electronic device and information browsing method
CN102455844B (en) Electronic book and control method thereof
CN110020285B (en) Histogram processing method and device
EP3623925A1 (en) Picture presentation method and device
CN111444452A (en) Conversion method, device and storage medium of webpage
CN110309449A (en) Page rendering method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100871, Beijing, Haidian District Cheng Fu Road 298, founder building, 5 floor

Patentee after: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee after: PKU FOUNDER INFORMATION INDUSTRY GROUP CO.,LTD.

Patentee after: FOUNDER APABI TECHNOLOGY Ltd.

Address before: 100871, Beijing, Haidian District Cheng Fu Road 298, founder building, 5 floor

Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee before: FOUNDER INFORMATION INDUSTRY HOLDINGS Co.,Ltd.

Patentee before: FOUNDER APABI TECHNOLOGY Ltd.

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20220914

Address after: 3007, Hengqin international financial center building, No. 58, Huajin street, Hengqin new area, Zhuhai, Guangdong 519031

Patentee after: New founder holdings development Co.,Ltd.

Patentee after: FOUNDER APABI TECHNOLOGY Ltd.

Address before: 100871, Beijing, Haidian District Cheng Fu Road 298, founder building, 5 floor

Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee before: PKU FOUNDER INFORMATION INDUSTRY GROUP CO.,LTD.

Patentee before: FOUNDER APABI TECHNOLOGY Ltd.

TR01 Transfer of patent right