CN102999478B - A kind of electronic document display method and display processing unit - Google Patents

A kind of electronic document display method and display processing unit Download PDF

Info

Publication number
CN102999478B
CN102999478B CN201110274264.2A CN201110274264A CN102999478B CN 102999478 B CN102999478 B CN 102999478B CN 201110274264 A CN201110274264 A CN 201110274264A CN 102999478 B CN102999478 B CN 102999478B
Authority
CN
China
Prior art keywords
display
complexity
electronic document
unit
described electronic
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
CN201110274264.2A
Other languages
Chinese (zh)
Other versions
CN102999478A (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 CN201110274264.2A priority Critical patent/CN102999478B/en
Publication of CN102999478A publication Critical patent/CN102999478A/en
Application granted granted Critical
Publication of CN102999478B publication Critical patent/CN102999478B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the present invention provides a kind of electronic document display method and display processing unit, relates to computer information processing field, it is possible to ensure display speed faster on various display devices, improves user's impression.Its method is: load electronic document;Obtain the desired display complexity of display device;Obtain described electronic document display complexity under various display patterns;According to described desired display complexity, from described display complexity, select selected display complexity, show described electronic document with the display pattern that described selected display complexity is corresponding.The embodiment of the present invention is used for showing electronic document.

Description

A kind of electronic document display method and display processing unit
Technical field
The present invention relates to computer information processing field, particularly relate to a kind of electronic document display method and display processing unit.
Background technology
Along with mobile technology and the development of mobile Internet, increasing people begins to use mobile device as office, the platform of reading, and a typical application is to read on the mobile apparatus and show electronic document.At present, conventional mobile device, such as smart mobile phone, MID (MobileInternetDevice, mobile internet device) etc., there is a big difference with PC (PC) for its computing capability, and the existing electronic document for PC does not often account for the feature of mobile device on content production.
Therefore, inventor has been found that in electronic document display units such as containing the figure of complexity, image, and display speed the most on the mobile apparatus can be substantially reduced, and this will bring very big inconvenience to the use of user.
Summary of the invention
Embodiments of the invention provide a kind of electronic document display method and display processing unit, it is possible to ensure display speed faster on various display devices, improve user's impression.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
A kind of electronic document display method, including:
Load electronic document;
Obtain the desired display complexity of display device;
Obtain described electronic document display complexity under various display patterns;
According to described desired display complexity, from described display complexity, select selected display complexity,
Described electronic document is shown with the display pattern that described selected display complexity is corresponding.
A kind of display processing unit, including:
Loading unit, is used for loading electronic document;
First acquiring unit, for obtaining the desired display complexity of display device;
Second acquisition unit, for obtaining described electronic document display complexity under various display patterns;
Select unit, for according to described desired display complexity, from described display complexity, select selected display complexity;
Display unit, for showing described electronic document with the display pattern that described selected display complexity is corresponding.
The electronic document display method of embodiment of the present invention offer and display processing unit, after loading electronic document, obtain the desired display complexity of display device and obtain described electronic document display complexity under various display patterns, afterwards, according to desired display complexity, selected display complexity is selected from display complexity, then with this selected display pattern display electronic document showing that complexity is corresponding.So, owing to electronic document take into account the display performance of display device during display, have employed suitable display pattern, it is thus possible to ensure display speed faster.And the space of a whole page to electronic document does not does any change, it is possible to show according to the space of a whole page of original text shelves, improve user's impression.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in describing below is only some embodiments of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
The FB(flow block) of the electronic document display method that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is the schematic diagram of electronic document;
Fig. 3 represents the display mode contents of the electronic document display method that the embodiment of the present invention provides;
Fig. 4 represents the circular of the complexity of T1, T2 display mode of word segment display unit;
Fig. 5 represents the circular of the complexity of M1, M2 display mode of image section display unit;
Fig. 6 represents the circular of the complexity of G1, G2 display mode of transition display unit;
Fig. 7 represents each display complexity showing pattern of the electronic document display method that the embodiment of the present invention provides;
The structural representation of the display processing unit that Fig. 8 provides for the embodiment of the present invention;
Another structural representation of the display processing unit that Fig. 9 provides for the embodiment of the present invention.
Detailed description of the invention
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, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art are obtained under not making creative work premise, broadly fall into the scope of protection of the invention.
A kind of electronic document display method that the embodiment of the present invention provides, as it is shown in figure 1, the method step includes:
S101, loading electronic document.
S102, the desired display complexity of acquisition display device.
This desired display complexity reflects user and uses the desired display speed of this display device, can calculate with default computational methods according to the performance parameter etc. of display device.
S103, acquisition electronic document display complexity under various display patterns.
Electronic document has comprised multiple display unit, such as text, vector graphics, raster graphic etc..
Plurality of display modes can be set according to display quality from high to low.In every kind of display pattern, the display mode of various display units under each display pattern according to the importance of various display units, can be determined.
Electronic document display complexity under various display patterns reflects its display speed under various display patterns, can be calculated according to the relevant parameter etc. of the various display unit of the performance parameter of display device and electronic document.Concrete, such as under a certain display pattern, different display modes for various display units, it is calculated various display unit complexity under corresponding display mode respectively, the complexity of all display units is added and just obtains this electronic document display complexity under this display pattern.
S104, according to desired display complexity, from above-mentioned display complexity, select selected display complexity.
Concrete, can be from above-mentioned display complexity, select the conduct selected display complexity equal to desired display complexity;Or, select from above-mentioned display complexity less than and closest to the conduct selected display complexity of desired display complexity;Or, if above-mentioned display complexity is all higher than desired display complexity, then the conduct selected display complexity that selective value is minimum.
S105, show this electronic document with the display pattern that selected display complexity is corresponding.
The electronic document display method that the embodiment of the present invention provides, after loading electronic document, obtain the desired display complexity of display device and obtain described electronic document display complexity under various display patterns, afterwards, according to desired display complexity, selected display complexity is selected from display complexity, then with this selected display pattern display electronic document showing that complexity is corresponding.So, owing to electronic document take into account the display performance of display device during display, have employed suitable display pattern, it is thus possible to ensure display speed faster.And the space of a whole page to electronic document does not does any change, it is possible to show according to the space of a whole page of original text shelves, improve user's impression.
The electronic document display method that another embodiment of the present invention provides, electronic document is as in figure 2 it is shown, including three display units: word segment display unit 201, image section display unit 202, transition display unit 203.Display packing step is as follows:
Step one, pre-sets display pattern as shown in Figure 3.
In figure 3, display pattern according to display quality from high to low, has been divided into four kinds of display patterns, i.e. A, B, C, D.In every kind of display pattern, it is provided with different display modes according to the importance difference of display unit again.Concrete: in display Mode A, word segment display unit T1 mode shows, image section display unit M1 mode shows, transition display unit G1 mode shows;In display Mode B, word segment display unit T1 mode shows, image section display unit M1 mode shows, transition display unit G2 mode shows;In display pattern C, word segment display unit T1 mode shows, image section display unit M2 mode shows, transition display unit G2 mode shows;In display pattern D, word segment display unit T2 mode shows, image section display unit M2 mode shows, transition display unit G2 mode shows.
Fig. 4 is the circular of the complexity of T1, T2 display mode of word segment display unit.
T1 is reverse sawtooth flow display in the diagram, and its complexity calculating method is C × S2×50;T2 is non-flow display, and its complexity calculating method is C × S2×30.Wherein, C is character number, and S is font size.
Fig. 5 is the circular of the complexity of M1, M2 display mode of image section display unit.
M1 is that bilinear interpolation shows in Figure 5, and its complexity calculating method is W × H × 200;M2 is that arest neighbors difference shows, its complexity calculating method is W × H × 50.Wherein, W is picture traverse, and H is picture altitude.
Fig. 6 is the circular of the complexity of G1, G2 display mode of transition display unit.
G1 is that interpolation calculation gradual change shows in figure 6, and its complexity calculating method is W ' × H ' × 400;G2 is to fill display by Neutral colour, and its complexity calculating method is W ' × H ' × 10.Wherein, W ' is gradual change width, and H ' is gradual change height.
It should be noted that, the computational methods of the present embodiment each display complexity as used herein are merely illustrative, the embodiment of the present invention is not restricted to this, other computational methods can also, the complexity etc. of various display units such as with display quality grade as parameter, can be calculated with computational methods.And the relevant parameter of display unit is also not necessarily limited to this, it is also possible to be other relevant parameters.Additionally, the complexity calculating display unit can also be with further reference to the performance parameter etc. of display device.
Step 2, loads the electronic document shown in Fig. 2.
Then, the desired display complexity of display device is obtained.In the present embodiment, it is desirable to the computational methods of display complexity are F × T, and wherein, F is the CPU frequency of display device, T is that the desired page shows the time.In this example, it is assumed that CPU frequency is 300MHz (F), it is desirable to the page display time be 50 milliseconds (T), then the desired display complexity of the display device got is F × T=15,000,000.
It should be noted that the present embodiment desired display as used herein complexity calculating method is merely illustrative, the embodiment of the present invention is not restricted to this, and other computational methods can also.And the performance parameter of display device is also not necessarily limited to this, can be the various parameters of reflection operation time expense.
Step 3, obtains electronic document display complexity under various display patterns.
Concrete, first get the relevant parameter of the various display units of electronic document, in the present embodiment, the character number of word segment display unit 201 is 84 (C), and font size is 36 pixels (S);The display width of image section display unit 202 is 250 pixels (W), and display height is 150 pixels (H);The display width of transition display unit 203 is 500 pixels (W '), and display height is 40 pixels (H ').
Then, it is calculated various display unit complexity under various display patterns, and the display complexity that electronic document is under various display patterns according to Fig. 3 to Fig. 6, as shown in Figure 7.Wherein, the complexity sum of all display units under the display complexity of electronic document is this display pattern.
Step 4, according to desired display complexity 15,000,000, from display complexity 20,943,200,13,143,200,7,518,200,5, in 340,920, select selected display complexity.Concrete, can be according to the order of display quality A, B, C, D from high to low, one by one by the display complexity of calculated electronic document compared with desired display complexity, in the present embodiment, using less than and closest to desired display complexity as selected display complexity.This it appears that 13,143,200 meet the requirements from Fig. 7.
The present embodiment selects selected display complexity by this way, is to, on the premise of showing with fast speed, ensure display quality to greatest extent.
Step 5, shows pattern display electronic document with the B of selected display complexity 13,143,200 correspondence.The i.e. word segment display unit 201 of electronic document uses T1 reverse sawtooth flow display mode to show, image section display unit 202 uses bilinear interpolation mode to show, transition display unit 203 uses Neutral colour filling mode to show.
So, important writings and image part is shown by final display effect with better quality, shows the most unessential transition lower quality, makes reader on the premise of reaching desired display speed, reads most quantity of information.
Further, since the embodiment of the present invention does not carry out typesetting again to the content of the page, thus maintain the whole structure of original space of a whole page.
The display processing unit 80 that the embodiment of the present invention provides, as shown in Figure 8, including:
Loading unit 801, is used for loading electronic document;
First acquiring unit 802, for obtaining the desired display complexity of display device;
Second acquisition unit 803, for obtaining this electronic document display complexity under various display patterns;
Select unit 804, for according to desired display complexity, from display complexity, select selected display complexity;
Display unit 805, for the display pattern display electronic document corresponding with this selected display complexity.
The display processing unit that the embodiment of the present invention provides, after loading electronic document, obtain the desired display complexity of display device and obtain described electronic document display complexity under various display patterns, afterwards, according to desired display complexity, selected display complexity is selected from display complexity, then with this selected display pattern display electronic document showing that complexity is corresponding.So, owing to electronic document take into account the display performance of display device during display, have employed suitable display pattern, it is thus possible to ensure display speed faster.And the space of a whole page to electronic document does not does any change, it is possible to show according to the space of a whole page of original text shelves, improve user's impression.
Further, as it is shown in figure 9, this first acquiring unit 802 includes:
Display device parameter acquisition module 8021, for obtaining the performance parameter of display device;
Desired display complicated dynamic behaviour module 8022, for being calculated the desired display complexity of this display device according to the performance parameter of display device.
This second acquisition unit 803 includes:
Display unit acquisition module 8031, for obtaining the relevant parameter of the various display units of electronic document;
Display complicated dynamic behaviour unit 8032, for being calculated electronic document display complexity under various display patterns according to the relevant parameter of various display units.
Here, display complicated dynamic behaviour unit 8032 can also calculate electronic document display complexity under various display patterns further with the performance parameter of the display device that display device parameter acquisition module 8021 obtains.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can be completed by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer read/write memory medium, this program upon execution, performs to include the step of said method embodiment;And aforesaid storage medium includes: the various media that can store program code such as ROM, RAM, magnetic disc or CDs.
The above; being only the detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, any those familiar with the art is in the technical scope that the invention discloses; change can be readily occurred in or replace, all should contain within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.

Claims (9)

1. an electronic document display method, it is characterised in that including:
Load electronic document;
Obtain the desired display complexity of display device according to the desired page display time, described desired display complexity reflects user and uses the desired display speed of display device;
Obtaining described electronic document display complexity under various display patterns, described electronic document display complexity under various display patterns reflects described electronic document display speed under various display patterns;Described electronic document is in the corresponding different display quality of different display modes and different display time;Described electronic document display complexity under a certain display pattern refers to, all display units of described electronic document, the complexity sum of each self-corresponding display mode under this display pattern;Wherein, the complexity of same display unit difference display mode, computational methods are different;
According to described desired display complexity, from described display complexity, select selected display complexity;
Described electronic document is shown according to the space of a whole page of original text shelves with the display pattern that described selected display complexity is corresponding.
Electronic document display method the most according to claim 1, it is characterised in that according to the importance of the various display units of electronic document, determines the display mode of various display units under each display pattern.
Electronic document display method the most according to claim 1, it is characterised in that the desired display complexity obtaining display device includes:
Obtain the performance parameter of display device;
The desired display complexity of described display device is calculated according to described performance parameter.
Electronic document display method the most according to claim 1, it is characterised in that obtain described electronic document display complexity under various display patterns and include:
Obtain the relevant parameter of the various display units of described electronic document;Relevant parameter according to described various display units calculates described various display units complexity in the first display mode;The complexity of all display units is added and obtains described electronic document display complexity under described first display pattern;
Method described above is calculated described electronic document display complexity under various display patterns.
Electronic document display method the most according to claim 4, it is characterised in that calculate described various display unit complexity in the first display mode and include:
For various display units different display modes in the first display mode, it is calculated various display unit complexity under corresponding display mode respectively.
Electronic document display method the most according to claim 1, it is characterised in that according to described desired display complexity, selects selected display complexity from described display complexity and includes:
The conduct selected display complexity equal to described desired display complexity is selected from described display complexity;
Or
Select from described display complexity and be less than and the conduct selected display complexity of closest described desired display complexity;
Or
If described display complexity is all higher than described desired display complexity, then the conduct selected display complexity that selective value is minimum.
7. a display processing unit, it is characterised in that including:
Loading unit, is used for loading electronic document;
First acquiring unit, for obtaining the desired display complexity of display device according to the desired page display time, described desired display complexity reflects user and uses the desired display speed of display device;
Second acquisition unit, for obtaining described electronic document display complexity under various display patterns, described electronic document display complexity under various display patterns reflects described electronic document display speed under various display patterns;Described electronic document is in the corresponding different display quality of different display modes and different display time;Described electronic document display complexity under a certain display pattern refers to, all display units of described electronic document, the complexity sum of each self-corresponding display mode under this display pattern;Wherein, the complexity of same display unit difference display mode, computational methods are different;
Select unit, for according to described desired display complexity, from described display complexity, select selected display complexity;
Display unit, for showing described electronic document with the display pattern that described selected display complexity is corresponding according to the space of a whole page of original text shelves.
Display processing unit the most according to claim 7, it is characterised in that described first acquiring unit includes:
Display device parameter acquisition module, for obtaining the performance parameter of display device;
Desired display complicated dynamic behaviour module, for being calculated the desired display complexity of described display device according to the performance parameter of described display device.
Display processing unit the most according to claim 7, it is characterised in that described second acquisition unit includes:
Display unit acquisition module, for obtaining the relevant parameter of the various display units of described electronic document;
Display complicated dynamic behaviour unit, for being calculated described electronic document display complexity under various display patterns according to the relevant parameter of described various display units.
CN201110274264.2A 2011-09-15 2011-09-15 A kind of electronic document display method and display processing unit Active CN102999478B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110274264.2A CN102999478B (en) 2011-09-15 2011-09-15 A kind of electronic document display method and display processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110274264.2A CN102999478B (en) 2011-09-15 2011-09-15 A kind of electronic document display method and display processing unit

Publications (2)

Publication Number Publication Date
CN102999478A CN102999478A (en) 2013-03-27
CN102999478B true CN102999478B (en) 2016-08-03

Family

ID=47928060

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110274264.2A Active CN102999478B (en) 2011-09-15 2011-09-15 A kind of electronic document display method and display processing unit

Country Status (1)

Country Link
CN (1) CN102999478B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6760887B1 (en) * 1998-12-31 2004-07-06 International Business Machines Corporation System and method for highlighting of multifont documents
CN1647035A (en) * 2002-04-15 2005-07-27 皇家飞利浦电子股份有限公司 Method, system, computer program product and storage device for displaying a document
CN101978709A (en) * 2008-03-20 2011-02-16 诺基亚公司 Method and apparatus for providing location based service

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100374615B1 (en) * 2001-02-07 2003-03-03 삼성전자주식회사 Apparatus and method for processing print data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6760887B1 (en) * 1998-12-31 2004-07-06 International Business Machines Corporation System and method for highlighting of multifont documents
CN1647035A (en) * 2002-04-15 2005-07-27 皇家飞利浦电子股份有限公司 Method, system, computer program product and storage device for displaying a document
CN101978709A (en) * 2008-03-20 2011-02-16 诺基亚公司 Method and apparatus for providing location based service

Also Published As

Publication number Publication date
CN102999478A (en) 2013-03-27

Similar Documents

Publication Publication Date Title
CN109783181B (en) Screen adaptive display method, electronic device and computer storage medium
CN100587720C (en) Rendering apparatus and method, and shape data generation apparatus and method
CN107015788B (en) Method and device for displaying images on mobile device in animation mode
EP2319017B1 (en) Apparatus and method of viewing electronic documents
US9983760B2 (en) Apparatus, method and computer readable recording medium for arranging a plurality of items automatically in a canvas
CN110908762B (en) Dynamic wallpaper implementation method and device
CN108665520A (en) A kind of method and device that page animation renders
CN102122502B (en) Method and related device for displaying three-dimensional (3D) font
CN103034467B (en) Method for displaying image, device and mobile terminal
CN103150699B (en) Graphics command generating apparatus and graphics command generation method
CN105335445A (en) Layout display method and device
CN112070864A (en) Animation rendering method, animation rendering device, computer-readable storage medium and computer equipment
EP2515275A1 (en) Device and method for image generation
CN106095437A (en) The implementation method of the layout type of user interface RTL from right to left and device
CN107526592B (en) Page adaptation method and device
CN108346131A (en) A kind of digital image scaling method, device and display equipment
CN106649541A (en) Cartoon playing and generating method and device
CN103914213A (en) Method and device for eliminating page dithering
CN107707965A (en) The generation method and device of a kind of barrage
CN105100862B (en) The display processing method and its system of Grid Mobile
CN106610824B (en) Page height self-adaption method and device
US10825134B2 (en) System and method for scaling content across multiple form factors
CN102479387A (en) Method for generating multimedia animation and playing multimedia animation and apparatus thereof
CN110007919A (en) A kind of dynamic density screen adaptation method and system for the automatic airport of unmanned plane
CN113486280A (en) Page rendering display method, device, equipment, storage medium and program product

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
CP03 Change of name, title or address

Address after: 100871, Beijing, Haidian District Cheng Fu Road 298, founder building, 9 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.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20220919

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, 9 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