CN102999478A - Electronic document display method and display processing device - Google Patents

Electronic document display method and display processing device Download PDF

Info

Publication number
CN102999478A
CN102999478A CN2011102742642A CN201110274264A CN102999478A CN 102999478 A CN102999478 A CN 102999478A CN 2011102742642 A CN2011102742642 A CN 2011102742642A CN 201110274264 A CN201110274264 A CN 201110274264A CN 102999478 A CN102999478 A CN 102999478A
Authority
CN
China
Prior art keywords
display
complexity
electronic document
demonstration
unit
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.)
Granted
Application number
CN2011102742642A
Other languages
Chinese (zh)
Other versions
CN102999478B (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

Images

Abstract

The embodiment of the invention provides an electronic document display method and a display processing device, and relates to the field of the computer information processing. A higher display speed can be guaranteed on various pieces of display equipment, and the user experience is improved. The electronic document display method comprises the following steps of: loading an electronic document; obtaining the expected display complexity of the display equipment; obtaining the display complexity of the electronic document under various display modes; according to the expected display complexity, selecting the display complexity from the obtained display complexity; and displaying the electronic document in a display mode corresponding to the selected display complexity. The embodiment of the invention is used for displaying the electronic document.

Description

A kind of electronic document display method and display processing unit
Technical field
The present invention relates to the computer information processing field, relate in particular to a kind of electronic document display method and display processing unit.
Background technology
Along with the development of mobile technology and mobile Internet, increasing people brings into use mobile device as the platform of handling official business, reading, and typical an application is to read and the demonstration electronic document at mobile device.At present, mobile device commonly used, such as smart mobile phone, MID (Mobile Internet Device, mobile internet device) etc., there is a big difference for its computing power and PC (PC), and the existing characteristics of on content production, often not considering mobile device for the electronic document of PC.
Therefore, if the inventor finds to have comprised the display units such as complicated figure, image in the electronic document, then the display speed on mobile device can reduce greatly, and this will bring very large inconvenience to user's use.
Summary of the invention
Embodiments of the invention provide a kind of electronic document display method and display processing unit, can guarantee faster display speed at various display devices, have improved user's impression.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of electronic document display method comprises:
Load electronic document;
Obtain the desired display complexity of display device;
Obtain the demonstration complexity of described electronic document under various display modes;
According to described desired display complexity, from described demonstration complexity, select the selected complexity that shows,
Show described electronic document with display mode corresponding to described selected demonstration complexity.
A kind of display processing unit comprises:
Loading unit is used for loading electronic document;
The first acquiring unit is for the desired display complexity of obtaining display device;
Second acquisition unit is used for obtaining the demonstration complexity of described electronic document under various display modes;
Selected cell is used for according to described desired display complexity, selects the selected complexity that shows from described demonstration complexity;
Display unit is used for showing described electronic document with display mode corresponding to described selected demonstration complexity.
The electronic document display method that the embodiment of the invention provides and display processing unit, after loading electronic document, obtain the desired display complexity of display device and obtain the demonstration complexity of described electronic document under various display modes, afterwards, according to the desired display complexity, from show complexity, select the selected complexity that shows, show electronic document with this selected display mode corresponding to complexity that show again.Like this, because electronic document has been considered the display performance of display device in the process that shows, adopted suitable display mode, thereby can guarantee faster display speed.And the space of a whole page of electronic document is not done any change, can show according to the space of a whole page of former document, improved user's impression.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The FB(flow block) of the electronic document display method that Fig. 1 provides for the embodiment of the invention;
Fig. 2 is the schematic diagram of electronic document;
Fig. 3 represents the display mode content of the electronic document display method that the embodiment of the invention provides;
Fig. 4 represents the circular of complexity of T1, the T2 display mode of word segment display unit;
The circular of the M1 of Fig. 5 presentation video partial display unit, the complexity of M2 display mode;
Fig. 6 represents the circular of complexity of G1, the G2 display mode of gradual change partial display unit;
Fig. 7 represents the demonstration complexity of each display mode of the electronic document display method that the embodiment of the invention provides;
The structural representation of the display processing unit that Fig. 8 provides for the embodiment of the invention;
Another structural representation of the display processing unit that Fig. 9 provides for the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
A kind of electronic document display method that the embodiment of the invention provides, as shown in Figure 1, the method step comprises:
S101, loading electronic document.
S102, obtain the desired display complexity of display device.
This desired display complexity has reflected that the user uses the desired display speed of this display device, can be according to the performance parameter of display device etc., calculate with default computing method.
S103, obtain the demonstration complexity of electronic document under various display modes.
Electronic document has comprised multiple display unit, such as text, vector graphics, raster graphic etc.
Can according to display quality from high to low, plurality of display modes be set.In every kind of display mode, can according to the importance of various display units, determine the display mode of the various display units under each display mode.
Electronic document has reflected its display speed under various display modes in the demonstration complexity under the various display modes, can calculate according to the performance parameter of display device and the correlation parameter of the various display units of electronic document etc.Concrete, for example under a certain display mode, different display modes for various display units, calculate respectively the complexity of various display units under the display mode of correspondence, the complexity addition of all display units is just obtained the demonstration complexity of this electronic document under this display mode.
S104, according to the desired display complexity, from above-mentioned demonstration complexity, select the selected complexity that shows.
Concrete, can be from above-mentioned demonstration complexity, to select the selected complexity that shows of the conduct that equals the desired display complexity; Perhaps, from above-mentioned demonstration complexity, select less than and near the selected complexity that shows of the conduct of desired display complexity; Perhaps, if above-mentioned demonstration complexity all greater than the desired display complexity, the selected complexity that shows of the conduct of selective value minimum then.
S105, show this electronic document with selected display mode corresponding to complexity that show.
The electronic document display method that the embodiment of the invention provides, after loading electronic document, obtain the desired display complexity of display device and obtain the demonstration complexity of described electronic document under various display modes, afterwards, according to the desired display complexity, from show complexity, select the selected complexity that shows, show electronic document with this selected display mode corresponding to complexity that show again.Like this, because electronic document has been considered the display performance of display device in the process that shows, adopted suitable display mode, thereby can guarantee faster display speed.And the space of a whole page of electronic document is not done any change, can show according to the space of a whole page of former document, improved user's impression.
The electronic document display method that another embodiment of the present invention provides, electronic document as shown in Figure 2, comprising three display units: word segment display unit 201, image section display unit 202, gradual change partial display unit 203.The display packing step is as follows:
Step 1 sets in advance display mode as shown in Figure 3.
In Fig. 3, display mode divides according to display quality from high to low for four kinds of display modes, i.e. A, B, C, D.In every kind of display mode, the importance difference according to display unit is provided with different display modes again.Concrete: in display mode A, the word segment display unit shows with the T1 mode, and the image section display unit shows with the M1 mode, and gradual change partial display unit shows with the G1 mode; In display mode B, the word segment display unit shows with the T1 mode, and the image section display unit shows with the M1 mode, and gradual change partial display unit shows with the G2 mode; In display mode C, the word segment display unit shows with the T1 mode, and the image section display unit shows with the M2 mode, and gradual change partial display unit shows with the G2 mode; In display mode D, the word segment display unit shows with the T2 mode, and the image section display unit shows with the M2 mode, and gradual change partial display unit shows with the G2 mode.
Fig. 4 is the circular of complexity of T1, the T2 display mode of word segment display unit.
T1 is the reverse sawtooth flow display in Fig. 4, and its complexity calculating method is C * S 2* 50; T2 is non-flow display, and its complexity calculating method is C * S 2* 30.Wherein, C is character number, and S is font size.
Fig. 5 is the circular of complexity of M1, the M2 display mode of image section display unit.
M1 is that bilinear interpolation shows in Fig. 5, and its complexity calculating method is W * H * 200; M 2 is the demonstration of arest neighbors difference, and its complexity calculating method is W * H * 50.Wherein, W is picture traverse, and H is picture altitude.
Fig. 6 is the circular of complexity of G1, the G2 display mode of gradual change partial display unit.
G1 is that the interpolation calculation gradual change shows in Fig. 6, and its complexity calculating method is W ' * H ' * 400; G 2 fills with Neutral colour to show, its complexity calculating method is W ' * H ' * 10.Wherein, W ' is the gradual change width, and H ' is the gradual change height.
Need to prove, the present embodiment just illustrates in these used computing method that each shows complexity, the embodiment of the invention is not restricted to this, other computing method also can, for example can take the display quality grade as parameter, calculate the complexity of various display units etc. with computing method.And the correlation parameter of display unit also is not limited to this, can also be other correlation parameters.In addition, calculate the complexity of display unit can also be further with reference to the performance parameter of display device etc.
Step 2 loads electronic document shown in Figure 2.
Then, obtain the desired display complexity of display device.In the present embodiment, the computing method of desired display complexity are F * T, and wherein, F is the CPU frequency of display device, and T is the page displaying time of expectation.In the present embodiment, suppose that CPU frequency is 300MHz (F), the page displaying time of expectation is 50 milliseconds (T), and the desired display complexity of the display device that then gets access to is F * T=15,000,000.
Need to prove, the present embodiment just illustrates at this used desired display complexity calculating method, and the embodiment of the invention is not restricted to this, and other computing method also can.And the performance parameter of display device also is not limited to this, can be the various parameters of reflection expense operation time.
Step 3 is obtained the demonstration complexity of electronic document under various display modes.
Concrete, at first get access to the correlation 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), font size is 36 pixels (S); The display width of image section display unit 202 is 250 pixels (W), shows highly be 150 pixels (H); The display width of gradual change partial display unit 203 is 500 pixels (W '), shows highly be 40 pixels (H ').
Then, calculate the complexity of various display units under various display modes according to Fig. 3 to Fig. 6, and the demonstration complexity of electronic document under various display modes, as shown in Figure 7.Wherein, the demonstration complexity of electronic document is the complexity sum of all display units under this display mode.
Step 4 according to desired display complexity 15,000,000, is selected the selected complexity that shows from showing in the complexity 20,943,200,13,143,200,7,518,200,5,340,920.Concrete, can be according to display quality A, B from high to low, the order of C, D, one by one the demonstration complexity of the electronic document that calculates is compared with the desired display complexity, in the present embodiment, with less than and near the desired display complexity as the selected complexity that shows.Can obviously find out 13,143 from Fig. 7,200 meet the requirements.
Selecting by this way the selected complexity that shows in the present embodiment, is under the prerequisite that shows with fast speed, guarantees to greatest extent display quality.
Step 5 shows electronic document with the selected B display mode of complexity 13,143,200 correspondences that shows.The word segment display unit 201 that is electronic document adopts T1 reverse sawtooth flow display mode to show, image section display unit 202 adopts the bilinear interpolation mode to show, gradual change partial display unit 203 adopts the Neutral colour filling mode to show.
Like this, final display effect shows with better quality important writings and image part, relatively unessential gradual change is partly used than inferior quality show, makes the reader under the prerequisite that reaches desired display speed, reads maximum quantity of information.
In addition, owing to the embodiment of the invention is not set type again to the content of the page, thereby kept the whole structure of original space of a whole page.
The display processing unit 80 that the embodiment of the invention provides as shown in Figure 8, comprising:
Loading unit 801 is used for loading electronic document;
The first acquiring unit 802 is for the desired display complexity of obtaining display device;
Second acquisition unit 803 is used for obtaining the demonstration complexity of this electronic document under various display modes;
Selected cell 804 is used for according to the desired display complexity, selects the selected complexity that shows from show complexity;
Display unit 805 is used for showing electronic document with this selected display mode corresponding to complexity that show.
The display processing unit that the embodiment of the invention provides, after loading electronic document, obtain the desired display complexity of display device and obtain the demonstration complexity of described electronic document under various display modes, afterwards, according to the desired display complexity, from show complexity, select the selected complexity that shows, show electronic document with this selected display mode corresponding to complexity that show again.Like this, because electronic document has been considered the display performance of display device in the process that shows, adopted suitable display mode, thereby can guarantee faster display speed.And the space of a whole page of electronic document is not done any change, can show according to the space of a whole page of former document, improved user's impression.
Further, as shown in Figure 9, this first acquiring unit 802 comprises:
Display device parameter acquisition module 8021 is for the performance parameter of obtaining display device;
Desired display complexity computing module 8022 is for the desired display complexity that calculates this display device according to the performance parameter of display device.
This second acquisition unit 803 comprises:
Display unit acquisition module 8031 is for the correlation parameter of the various display units that obtain electronic document;
Show complexity computing unit 8032, be used for calculating the demonstration complexity of electronic document under various display modes according to the correlation parameter of various display units.
Here, show that complexity computing unit 8032 can also further utilize the performance parameter of the display device that display device parameter acquisition module 8021 obtains to calculate the demonstration complexity of electronic document under various display modes.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of programmed instruction, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
The above; be the specific embodiment of the present invention only, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within 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 (9)

1. an electronic document display method is characterized in that, comprising:
Load electronic document;
Obtain the desired display complexity of display device;
Obtain the demonstration complexity of described electronic document under various display modes;
According to described desired display complexity, from described demonstration complexity, select the selected complexity that shows;
Show described electronic document with display mode corresponding to described selected demonstration complexity.
2. electronic document display method according to claim 1 is characterized in that, according to the importance of the various display units of electronic document, determines the display mode of the various display units under each display mode.
3. electronic document display method according to claim 1 is characterized in that, the desired display complexity of obtaining display device comprises:
Obtain the performance parameter of display device;
Calculate the desired display complexity of described display device according to described performance parameter.
4. electronic document display method according to claim 1 is characterized in that, obtains the demonstration complexity of described electronic document under various display modes and comprises:
Obtain the correlation parameter of the various display units of described electronic document; Correlation parameter according to described various display units calculates the complexity of described various display unit under the first display mode; The complexity addition of all display units is obtained the demonstration complexity of described electronic document under described the first display mode;
Calculate the demonstration complexity of described electronic document under various display modes with said method.
5. electronic document display method according to claim 4 is characterized in that, calculates the complexity of described various display unit under the first display mode and comprises:
For the different display modes of various display units under the first display mode, calculate respectively the complexity of various display units under the display mode of correspondence.
6. electronic document display method according to claim 1 is characterized in that, according to described desired display complexity, selects selected demonstration complexity and comprise from described demonstration complexity:
From described demonstration complexity, select the selected complexity that shows of the conduct that equals described desired display complexity;
Perhaps
From described demonstration complexity, select less than and near the selected complexity that shows of the conduct of described desired display complexity;
Perhaps
If described demonstration complexity is all greater than described desired display complexity, then the conduct of selective value minimum is selected and is shown complexity.
7. a display processing unit is characterized in that, comprising:
Loading unit is used for loading electronic document;
The first acquiring unit is for the desired display complexity of obtaining display device;
Second acquisition unit is used for obtaining the demonstration complexity of described electronic document under various display modes;
Selected cell is used for according to described desired display complexity, selects the selected complexity that shows from described demonstration complexity;
Display unit is used for showing described electronic document with display mode corresponding to described selected demonstration complexity.
8. display processing unit according to claim 7 is characterized in that, described the first acquiring unit comprises:
The display device parameter acquisition module is for the performance parameter of obtaining display device;
Desired display complexity computing module is for the desired display complexity that calculates described display device according to the performance parameter of described display device.
9. display processing unit according to claim 7 is characterized in that, described second acquisition unit comprises:
The display unit acquisition module is for the correlation parameter of the various display units that obtain described electronic document;
Show the complexity computing unit, be used for calculating the demonstration complexity of described electronic document under various display modes according to the correlation 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 true CN102999478A (en) 2013-03-27
CN102999478B 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 (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020065761A (en) * 2001-02-07 2002-08-14 삼성전자 주식회사 Apparatus and method for processing print data
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

Patent Citations (4)

* 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
KR20020065761A (en) * 2001-02-07 2002-08-14 삼성전자 주식회사 Apparatus and method for processing print data
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
CN102999478B (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN107015788B (en) Method and device for displaying images on mobile device in animation mode
CN1659595B (en) Method and apparatus for encoding texture information
EP2319017B1 (en) Apparatus and method of viewing electronic documents
CN101866476B (en) Generate and resolve the pixel value in graphics processing pipeline
CN110908762B (en) Dynamic wallpaper implementation method and device
CN103034467B (en) Method for displaying image, device and mobile terminal
CN102122502B (en) Method and related device for displaying three-dimensional (3D) font
CN102890632A (en) Screen adaptation method, system and terminal device
CN106649541A (en) Cartoon playing and generating method and device
CN105335445A (en) Layout display method and device
CN102165515A (en) Image processing device and image processing method
US20040227767A1 (en) Vector graphics circuit accelerator for display systems
CN103026386A (en) Image processing device, image display device, image processing method, and data structure of image file
CN104219532A (en) Method for determining small object areas and method and device for frame interpolation among video frames
CN104899038A (en) Interface style transformation method and device
CN110737321B (en) Image display device for displaying background image with low power consumption and method thereof
CN101790749B (en) Multi-sample rendering of 2d vector images
CN102479387A (en) Method for generating multimedia animation and playing multimedia animation and apparatus thereof
CN111402369B (en) Interactive advertisement processing method and device, terminal equipment and storage medium
CN107526576B (en) Method and device for displaying view components of page
US10713753B2 (en) Data processing systems
CN102999478B (en) A kind of electronic document display method and display processing unit
CN114820988A (en) Three-dimensional modeling method, device, equipment and storage medium
CN107273072B (en) Picture display method and device and electronic equipment
CN102263924B (en) Image processing method based on bicubic interpolation and image display method

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
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.

TR01 Transfer of patent right
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.