CN102541819B - Electronic document reading mode processing method and device - Google Patents

Electronic document reading mode processing method and device Download PDF

Info

Publication number
CN102541819B
CN102541819B CN201010621808.3A CN201010621808A CN102541819B CN 102541819 B CN102541819 B CN 102541819B CN 201010621808 A CN201010621808 A CN 201010621808A CN 102541819 B CN102541819 B CN 102541819B
Authority
CN
China
Prior art keywords
reading
document
hint information
content
read
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.)
Expired - Fee Related
Application number
CN201010621808.3A
Other languages
Chinese (zh)
Other versions
CN102541819A (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
Peking University Founder Research and Development Center
Original Assignee
BEIDA FANGZHENG TECHN INST Co Ltd BEIJING
Peking University Founder Group 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 BEIDA FANGZHENG TECHN INST Co Ltd BEIJING, Peking University Founder Group Co Ltd filed Critical BEIDA FANGZHENG TECHN INST Co Ltd BEIJING
Priority to CN201010621808.3A priority Critical patent/CN102541819B/en
Publication of CN102541819A publication Critical patent/CN102541819A/en
Application granted granted Critical
Publication of CN102541819B publication Critical patent/CN102541819B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to the technical field of information processing of computers, in particular to an electronic document reading mode processing method and an electronic document reading mode processing device, which are used for solving the problem of singularity of reading mode used when contents of documents are displayed. The electronic document reading mode processing method includes: acquiring information reading clues corresponding to a document to be displayed and containing multiple corresponding relations between document content signs and reading modes; reading the partial data contents corresponding to the document content segment signs in each corresponding relation, and then displaying read partial document contents according to the corresponding reading mode of the partial document contents, wherein the document content segment signs correspond to partial data contents in the document to be displayed and the document content segment signs in different corresponding relations correspond to different partial data contents. Accordingly, the problem of singularity of reading mode used when contents of documents are displayed can be avoided by the electronic document reading mode processing method and the electronic document reading mode processing device.

Description

A kind of method of electronic document reading mode treatment and device
Technical field
The present invention relates to technical field of computer information processing, particularly relate to a kind of method and device of electronic document reading mode treatment.
Background technology
Along with widely using of the electronic products such as mobile phone, computer and e-book, increasing books are edited as electronic file form, help reader can read anywhere or anytime when using the electronic reading application program in electronic product.Be that the full content of electronic document is carried out typesetting according to unified reading model in prior art, reader is read according to the single reading model pre-set when using electronic product.Tradition reading model includes but not limited to following several: format reading model, streaming reading model, caricature reading model, multimedia pattern and animation play mode.
Format reading model is organizing electronic document in units of page, show equally, but format reading model shows after can not carrying out typesetting again according to the size of viewing area when reading in units of page; Streaming reading model is organizing electronic document in units of chapters and sections hierarchical structure, and shows after can carrying out typesetting again according to the size of viewing area; Caricature reading model is in units of frame, and by being multiple region by page division, each frame quotes a region in this page, shows each frame successively when reading; Multimedia pattern comprises with the mode of page embedding or exclusive mode viewing video, and listening to audio; Animation play mode is when showing document content, along with the change of time, and the display result of partial document content and changing.
Electronic document can be divided into format document and streaming document according to traditional reading model.Format document adopts a kind of describing mode of absolute fix, have recorded the display position and size etc. of each pel in document, the output device of different size ensures consistent space of a whole page display effect, therefore format document does not adjust accordingly according to the size of viewing area, is widely used in the fields such as e-book, electronic journal, electronic government documents; Typical format document form has Portable Document format (Portable Document Format, PDF) and XPS (XML Paper Specification, XPS) form.Streaming document does not adopt absolute fix to describe, but the ordinal relation between the record size of pel and pel, allow when showing to change Show Styles, and do typesetting according to output device size, therefore can all provide suitable reading effect under various viewing area, but not ensure the consistance of space of a whole page display effect.Typical streaming document format has HTML (Hypertext Markup Language) form (HyperText Mark-up Language, HTML) and EPUB form.
In format document and streaming document, the content of Audio and Video can be embedded.Such as based on common electronic document (the Common e-Document of Blending XML of mixing XML, CEBX) be a kind of format document, video or audio frequency can be embedded in CEBX document file page, user is when reading documents content, freely determine whether play video or audio frequency, and when play.
The present inventor finds, the use in an electronic document of the above-mentioned multiple reading model mentioned also exists following problem:
When 1, showing electronic document in prior art, reading model is single, but actual use in different content part in electronic document should use different reading models;
2, to some content, document creator cannot specify accurate reading order.Such as one e-book with the CEBX form of embedding audio or video, document creator, according to the needs of content arrangement, wishes that user listens to embedding audio or video while having read certain section of word.Prior art cannot ensure user's when this audio or video of uppick, namely likely start to play while opening electronic document reader, and even user may not notice audio content.
Summary of the invention
The embodiment of the present invention provides method and the device of the process of a kind of document electronic document reading model, the problem that the reading model used when showing document content for solving is more single.
A document content display, the method comprises:
Judge whether to store reading hint information corresponding to described document to be shown;
When judging to store reading hint information corresponding to described document to be shown, obtain the reading hint information that document to be shown is corresponding, the corresponding relation of many document contents fragment marks and reading model is comprised in this reading hint information, partial data content in the corresponding described document to be shown of described many document contents fragments mark, and partial data content corresponding to document content fragment identification in different corresponding relation is different;
Read the partial data content that document content fragment identification in every bar corresponding relation is corresponding, and the partial document content read is shown according to the reading model that this partial document contents fragment mark is corresponding; Wherein, described reading model is: format reading model or streaming reading model or caricature reading model or multimedia pattern or animation play mode, and identical document content fragment identification can corresponding different reading model, and the reading model that different document content fragment identification can be corresponding identical or different;
Otherwise, by the total data content of described document to be shown, show according to the reading model of the document described to be shown preset.
A kind of document content display device, this device comprises:
Judge module, stores reading hint information corresponding to described document to be shown for judging whether;
Acquisition module, for when storing reading hint information corresponding to described document to be shown, obtain the reading hint information that document to be shown is corresponding, the corresponding relation of many document contents fragment marks and reading model is comprised in this reading hint information, partial data content in the corresponding described document to be shown of described many document contents fragments mark, and partial data content corresponding to document content fragment identification in different corresponding relation is different;
Read module, for reading partial data content corresponding to document content fragment identification in every bar corresponding relation;
Display module, for showing the partial document read content according to the reading model that this partial document contents fragment mark is corresponding; Wherein, described reading model is: format reading model or streaming reading model or caricature reading model or multimedia pattern or animation play mode, and identical document content fragment identification can corresponding different reading model, and different document content fragment identification can corresponding identical or different reading model, and when described judge module judges not store reading hint information corresponding to described document to be shown, by the total data content of document to be shown, show according to the reading model of the document described to be shown preset.
In method provided by the invention, the corresponding relation of document content fragment identification and reading model is obtained by the reading hint information of electronic document, read the partial data content that document content fragment identification in every bar corresponding relation is corresponding, and the partial document content read is shown according to the reading model that this partial document content is corresponding.The method, by obtaining different piece document content corresponding to different document content fragment identification and reading model corresponding to this partial document content, and according to the reading model got, this partial document content is shown, therefore, this electronic document can be shown multiple different reading model set by same section electronic document, avoid the problem that the reading model that uses when showing document content is more single.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of a kind of electronic document reading mode treatment method provided by the invention;
The page display effect schematic diagram of the document to be shown that Fig. 2 provides for the embodiment of the present invention three;
The page display effect schematic diagram of the streaming reading model of the document to be shown that Fig. 3 provides for the embodiment of the present invention three;
The page display effect schematic diagram of the caricature reading model of the document to be shown that Fig. 4 A provides for the embodiment of the present invention three;
In the document to be shown that Fig. 4 B provides for the embodiment of the present invention three, " chapter 1 sample " carries out the schematic diagram shown with caricature reading model;
In the document to be shown that Fig. 4 C provides for the embodiment of the present invention three, " character introduction " carries out the schematic diagram shown with caricature reading model;
Part A in the picture of the document to be shown that Fig. 4 D provides for the embodiment of the present invention three carries out the schematic diagram shown with caricature reading model;
Part B in the picture of the document to be shown that Fig. 4 E provides for the embodiment of the present invention three carries out the schematic diagram shown with caricature reading model;
C part in the picture of the document to be shown that Fig. 4 F provides for the embodiment of the present invention three carries out the schematic diagram shown with caricature reading model;
The document to be shown that Fig. 5 provides for the embodiment of the present invention three is using " mobile phone reading " as page display effect schematic diagram when reading hint information;
The electronic document reading mode treatment apparatus structure schematic diagram that Fig. 6 provides for the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of method and device of electronic document reading mode treatment method, the method is passed through in advance according to the content in electronic document, be respectively the reading model that different document curriculum offering in same electronic document is corresponding with the document content, set reading model carried out one or more reading hint information that one or more are combined to form this electronic document simultaneously.Make user when read electronic documents, reading application program can according to the document display platform at place, such as, mobile phone or computer etc., select one that is applicable to the document display platform and read hint information, because selected reading hint information is different, the array mode of the reading model that same document uses is not identical yet, read application program and determine which reading model this electronic document all employ according to the selection result of reading clue, finally the reading model of the document content in electronic document corresponding to self is shown.As shown in Figure 1, concrete steps are as follows:
Step 11, obtain the reading hint information that document to be shown is corresponding, the corresponding relation of many document contents fragment marks and reading model is comprised in this reading hint information, partial data content in the corresponding described document to be shown of described many document contents fragments mark, and partial data content corresponding to document content fragment identification in different corresponding relation is different;
Step 12 reads partial data content corresponding to document content fragment identification in every bar corresponding relation, and the partial document content read is shown according to the reading model that this partial document content is corresponding.
Before step 11, judge whether to store reading hint information corresponding to described document to be shown; If store the reading hint information that described document to be shown is corresponding, then carry out step 11; Otherwise, by the total data content of described document to be shown, show according to the reading model of the document described to be shown preset, namely conventionally select reading model and show;
In step 11, when storing reading hint information corresponding to described document to be shown, obtain the reading hint information that described document to be shown is corresponding; If when to get reading hint information corresponding to document to be shown be multiple, then from the multiple reading hint information got for described document to be shown selects one to read hint information; From the multiple reading hint information got, select one to read hint information for described document to be shown in this step can have multiple method, specifically comprise following two kinds of methods:
The first, according to the reading clue selection mode preset, for described document to be shown selects one to read hint information from the multiple reading hint information got;
The second, prompting user selects one to read hint information from described multiple reading hint information, and reading hint information user chosen is as the reading hint information selected for described document to be shown;
Due to read in hint information also comprise this reading hint information the document display platform information that is suitable for, when using first method, the document display platform of current use can be determined, and be suitable for the reading hint information of the document display platform in multiple reading hint information; Select the reading hint information that this reading hint information uses as described document to be shown;
In step 12, the partial data content that the document content fragment identification in the every bar corresponding relation comprised in the reading hint information that reading is selected is corresponding; The method read can have multiple, specifically can comprise the following steps:
According to the corresponding relation reading order preset, read the partial data content that document content fragment identification in the corresponding relation and this corresponding relation comprised in described reading hint information is corresponding;
According to the reading order of partial document content, the partial document content read is shown according to the reading model that this partial document content is corresponding.
Below with specific embodiment introduction:
Embodiment one:
The embodiment of the present invention one provides a kind of method of electronic document reading mode treatment method, the method is by obtaining the reading hint information in electronic document, and according to the corresponding relation of document contents fragment mark in this reading hint information with reading model, read the partial data content that document content fragment identification is corresponding, and the partial document content read is shown according to the reading model that this partial document content is corresponding.Concrete operation step is as follows:
Step 21, operating personnel are that multiple document content fragments of electronic document arrange document content fragment identification, and are the foundation of document content fragment identification and the corresponding relation of reading model; Described operating personnel can be documents editing personnel or computer program; Setting up for document content fragment identification has multiple with the method for the corresponding relation of reading model, specific as follows:
Such as, in this electronic document, first paragraph is character introduction, and second segment is picture, and the 3rd section is can interactive animation, and the 4th section is audio frequency; According to the definition of various reading model, be respectively foregoing and reading model be set, specifically can do following process:
Be 1 for character introduction part arranges document content fragment identification, reading model corresponding to the document contents fragment mark can comprise: streaming reading model or caricature reading model;
Be 2 for Picture section arranges document content fragment identification, reading model corresponding to the document contents fragment mark can comprise: streaming reading model or caricature reading model;
For can interactive animation part to arrange document content fragment identification be 3, reading model corresponding to the document contents fragment mark can comprise: animation play mode or caricature reading model;
Be 4 for audio-frequency unit arranges document content fragment identification, reading model corresponding to the document contents fragment mark can comprise: multimedia pattern;
Described reading model is not limited to following several: format reading model, streaming reading model, caricature reading model, multimedia pattern and animation play mode;
Format reading model is organizing electronic document in units of page, show equally, but format reading model shows after can not carrying out typesetting again according to the size of viewing area when reading in units of page; Streaming reading model is organizing electronic document in units of chapters and sections hierarchical structure, and shows after can carrying out typesetting again according to the size of viewing area; Caricature reading model is in units of frame, and by being multiple region by page division, each frame quotes a region in this page, shows each frame successively when reading; Multimedia pattern comprises with the mode of page embedding or exclusive mode viewing video, and listening to audio; Animation play mode is that along with the change of time, the display result of partial document content changes when showing document content;
Step 22, according to the reading model corresponding to the document content fragment identification arranged in step 21, be respectively each document fragment identification and mark off one and read fragment, this reading fragment is as the corresponding relation of the document fragment identification and reading model; Such as, above-mentioned document content mark is divided the method for reading fragment for: can from word or file content identification, photo-document content identification, can interactive animation document content mark, pick out a reading model respectively as reading fragment reading model corresponding to audio documents content identification; Reading fragment corresponding to such as word or file content identification is streaming reading model; Reading fragment corresponding to photo-document content identification is caricature reading model; Can reading fragment corresponding to interactive animation document content mark be animation play mode; Reading fragment corresponding to audio documents content identification is multimedia pattern;
Also can mark off other to document content mark in this step and read fragment as corresponding relation, repeat no more herein;
Step 23, reading fragment out will be divided, determine that the sequential combination of described reading fragment is one and reads hint information according to the document content fragment identification order in a document corresponding to this reading fragment, and define this reading hint information and be suitable for which kind of document display platform; And this reading hint information is saved in this electronic document; Described document display platform can be mobile phone or computer etc.;
In this step, the method which kind of document display platform is this reading hint information of described definition be suitable for has multiple, can be specifically: when this reading hint information is suitable for mobile phone display screen this reading thread definitions can be read for being suitable for mobile phone, and called after " mobile phone reading clue "; When this reading hint information is suitable for computer monitor, this reading hint information can be defined as and be suitable for desktop reading, and called after " computer reading clue ";
According to the difference of reading fragment, the reading hint information of multiple applicable different document display platform can be combined in this step;
In this step, also can determine the sequence number of this reading fragment according to the document content fragment identification order in a document of reading corresponding to fragment, and be combined as a reading clue according to numeric order;
Step 24, when reader uses reading application program to open this electronic document, reads application program and judges whether this electronic document preserves reading hint information corresponding to this electronic document to be shown, if had, proceeds to step 26; If, do not proceed to step 25;
Step 25, reads application program by the full content of described document to be shown, shows according to the reading model of the document described to be shown preset; The reading model of the described document described to be shown according to presetting carries out display and refers to, when reading clue do not preserved by document to be shown, reads application program and conventionally selects reading model;
Step 26, the title of reading all reading hint information that the document is preserved by application program is shown to user, selects for user;
Step 27, read application program by user-selected reading hint information, as the reading hint information selected for described document to be shown, obtain the corresponding relation in this reading hint information and partial data content corresponding to the document content fragment flag in this corresponding relation successively according to the corresponding relation reading order preset; The described corresponding relation reading order preset refers to the order of the reading fragment of reading in hint information; Or read fragment and read the numeric order in hint information;
Step 28, reads the partial data content of reading in hint information and reading the document content mark correspondence that fragment comprises according to the corresponding relation reading order preset;
Step 29, according to the reading reading order of partial document content, shows the partial document content read according to the reading model that this partial document content is corresponding;
In addition, in step 26, read application program also can, automatically according to the display platform at this electronic document place, to select to read hint information accordingly; Such as, if use mobile phone to read, then name is selected to be called the reading hint information of " mobile phone reading clue "; If use computer to read, name is then selected to be called the reading hint information etc. of " desktop reading clue ", complete read application program to read hint information automatic selection after, in step 27 then according to the reading hint information of reading selected by application program, obtain the reading fragment in this reading hint information; Then step 28 and step 29 is carried out successively.
Embodiment two:
The embodiment of the present invention two provides a kind of optimized electronic electronic document reading mode treatment method, the method is by creating the optimal read pattern corresponding to the document contents fragment mark for document content fragments different in same electronic document, and the optimal read pattern of establishment is carried out be combined to form this electronic document applicable optimal read clue required under certain electronic reading product, and the optimal read pattern obtained when readers ' reading in the optimal read clue that this electronic document preserves and partial document contents fragment corresponding to this reading model, and according to this optimal read pattern, partial document contents fragment is shown, to improve the reading experience effect of reader.Concrete operation step is as follows:
Step 31, operating personnel are that each partial document contents fragment setting of electronic document identifies corresponding optimal read pattern with the document contents fragment; Such as, in this electronic document, first paragraph is character introduction, and second segment is picture, and the 3rd section is can interactive animation, and the 4th section is audio frequency; According to the definition of various reading model, following process can be done when arranging optimal read pattern for foregoing:
For character introduction arranges document content fragment identification, the document contents fragment identifies corresponding streaming reading model;
For picture arranges document content fragment identification, the document contents fragment identifies corresponding caricature reading model;
For arranging document content fragment identification by interactive animation, the document contents fragment identifies corresponding animation play mode;
For audio setting document content fragment identification, the document contents fragment identifies corresponding multimedia pattern;
The kind of above-mentioned reading model and definition, see embodiment one;
Step 32, by the optimal read pattern arranged each partial document contents fragment, determine that the sequential combination of described optimal read pattern is an optimal read hint information according to the document content fragment identification position in a document corresponding to this optimal read pattern, and define this optimal read hint information and be suitable for which kind of display platform; And this reading hint information is saved in this electronic document; Definition optimal read hint information is suitable for the method for which kind of display platform see embodiment one;
In this step, also can determine that the numeric order of described optimal read pattern is combined as an optimal read hint information in the document content fragment identification position in a document corresponding to optimal read pattern;
Step 33, when reader uses reading application program to open this electronic document, reads application program and judges whether this electronic document preserves reading hint information, if had, proceed to step 35; If, do not proceed to step 34;
Step 34, reads application program by the full content of described document to be shown, shows according to the reading model of the document described to be shown preset; The reading model of the described document described to be shown according to presetting carries out display and refers to, when reading clue do not preserved by document to be shown, reads application program and conventionally selects reading model;
Step 35, read the optimal read hint information that application program is preserved according to electronic document, according to the corresponding relation reading order pre-set, the partial document content that the contents fragment obtained in this optimal read hint information identifies and this contents fragment mark is corresponding;
The described corresponding relation reading order pre-set refers to the order determining described optimal read pattern according to the document content fragment identification position in a document corresponding to this optimal read pattern; Or the numeric order of described optimal read pattern is determined in the document content fragment identification position in a document corresponding to optimal read pattern;
Step 36, obtains the electronic document content fragment identification corresponding to this optimal read pattern according to the corresponding relation reading order preset;
Step 37, is shown to reader by the partial document content corresponding to electronic document content fragment identification according to the optimal read pattern corresponding to this partial document content successively according to acquisition order.
In addition, in step 35, read application program and also the optimal read clue that electronic document is preserved can be supplied to reader, allow reader select; And using the optimal read hint information of user-selected reading hint information as this electronic document, and complete subsequent step.
Embodiment three:
According to a kind of electronic document reading model disposal route that embodiment one provides, in the present embodiment embodiment one is described in detail, the kind of the reading model related in the present embodiment and definition, see specific embodiment one, detailed process is as follows:
The such as page display effect of existence one format electronic document as shown in Figure 2, wherein contain 4 partial contents, respectively: title " chapter 1 sample ", text " introduce word ", by A, B, C tri-the secondary name that forms of part be called picture and a multimedia audio of " Image3 ".Want that many are created to this electronic document and read hint information, just experience optimal read effect with user, arrange by following steps:
Step 401, operating personnel, according to the content in the electronic document shown in Fig. 2, are defined by the structure of code to the format reading model of the content in this page and this page, specific as follows:
To the content-defined code of this page be:
Step 402, operating personnel carry out the structure definition of streaming reading model to the page of the electronic document shown in Fig. 2, and the structural code of concrete convection type reading model definition is:
After final definition, the display effect of streaming reading model as shown in Figure 3, the content in Fig. 2 shown with the form of chapters and sections by the structure of streaming reading model, comprises 3 paragraphs in Fig. 3, refers to the document in Fig. 2 and caricature content respectively;
Step 403, operating personnel are according to the content in the electronic document shown in Fig. 2, and by code, this page is carried out to the structure definition of caricature reading model, the structural code of the caricature reading model of concrete definition is:
Content in electronic document in Fig. 2 can be divided into effect shown in Fig. 4 A according to the area size defined in code according to above-mentioned definition, the content therefore in Fig. 2, when reader browsers, will be shown to reader with the form of Fig. 4 B to Fig. 4 F successively;
Step 404, after for the content-defined complete required reading model structure definition of the electronic document in Fig. 2, is this electronic document definition reading hint information structure according to the structure of definition;
6 of defining in this step under above-mentioned 4 kinds of reading models read the corresponding relation of fragment and document content fragment identification and reading model, and its code structure is as follows:
According to above-mentioned definition, the reading fragment that ID is " 4001 " contains streaming reading model structure Documents contents fragment and is designated " 2001 " and " 2002 " and the content corresponding to the document contents fragment mark, is about to " chapter 1 sample " and shows with streaming reading model with " character introduction "; The reading fragment that ID is " 4002 " contains the corresponding image content that streaming reading model structure Documents contents fragment is designated " 2003 " and the document contents fragment mark, and namely image content shows with streaming reading model; The reading fragment that ID is " 4003 " contains caricature reading model Documents contents fragment and is designated " 3001 " and " 3002 " and the content corresponding to the document contents fragment mark, and namely " chapter 1 sample " and " character introduction " show with caricature reading model; The reading fragment that ID is " 4004 " contains caricature reading model Documents contents fragment and is designated " 3003 ", " 3004 " and " 3005 " and the content corresponding to the document contents fragment mark, A, B, C namely in picture tri-part show with caricature reading model; The reading fragment that ID is " 4005 " contains format reading model Documents contents fragment and is designated " 1001 " and the content corresponding to the document contents fragment mark, and this page is shown with format reading model; The reading fragment that ID is " 4006 " contains format reading model Documents contents fragment and is designated document content fragment identification in the page of " 1001 " content of multimedia corresponding to " 5 " and the document contents fragment mark, and the multimedia file that namely this content of multimedia defines in this format reading model with it shows;
Step 405, according to reading fragment defined above, the structure of hint information is read in definition; Read hint information for two that carry out reading to define applicable mobile phone and display in this step, code is as follows:
In this step, determine that the sequential combination of described reading fragment is one and reads hint information according to the document content fragment identification order in a document of reading corresponding to fragment; Or determine the sequence number of this reading fragment according to the document content fragment identification order in a document of reading corresponding to fragment, and be combined as a reading clue according to numeric order;
That in this step, name is called that the reading hint information of " mobile phone reading " quotes is ID is the reading fragment of " 4001 " and " 4004 ", namely show the word segment of electronic document with streaming reading model and at relevant position play multimedia file, show the Picture section of electronic document with caricature reading model; That name is called that the reading hint information of " desktop readings " quotes is ID is the reading fragment of " 4005 ", and namely showing electronic document content fragment identification with format reading model is all the elements in the page of " 1001 ";
In this step, when the reading hint information selecting " mobile phone reading " as document to be shown, the display effect that mobile phone first shields as shown in Figure 3; The display effect of following 3 screens is as shown in Fig. 4 D to Fig. 4 F; And broadcasting name is called the multimedia file of " Audio5 " while this 3 screen content display of Fig. 4 D to Fig. 4 F;
Step 406, user is when terminal is read, and reader application opens the electronic document that user specifies;
Step 407, reader application judges whether this electronic document stores reading clue, if stored, reading clue corresponding for this electronic document is shown to user, and forwards step 409 to; If, do not forward step 408 to;
Step 408, reads application program by the full content of described document to be shown, shows according to the reading model of the document described to be shown preset; The reading model of the described document described to be shown according to presetting carries out display and refers to, when reading clue do not preserved by document to be shown, reads application program and conventionally selects reading model;
Step 409, the title of reading all reading hint information that the document is preserved by application program is shown to user, selects for user;
Step 410, read application program by user-selected reading hint information, as the reading hint information selected for described document to be shown, obtain the corresponding relation in this reading clue and partial data content corresponding to the document content fragment identification in this corresponding relation successively according to the corresponding relation reading order preset; The described corresponding relation reading order preset refers to the order of the reading fragment of reading in hint information; Or read fragment and read the numeric order in hint information;
Step 411, reads to read in hint information according to the corresponding relation reading order that presets and reads partial data content corresponding to document content fragment identification that fragment comprises;
Step 412, according to the reading order of partial document content, shows the partial document content read according to the reading model that this partial document content is corresponding, as shown in Figure 5;
In addition, in step 407, read application program also can, automatically according to the display platform at this electronic document place, to select to read hint information accordingly; Such as, if use mobile phone to read, then name is selected to be called the reading hint information of " mobile phone reading clue "; If use computer to read, name is then selected to be called the reading hint information etc. of " desktop reading clue ", complete read application program to read hint information automatic selection after, in step 410 then according to the reading hint information of reading selected by application program, as the reading hint information of document to be shown, and obtain the reading fragment in this reading hint information; Then other steps are carried out successively.
As shown in Figure 6, the embodiment of the present invention provides a kind of electronic document reading mode treatment device, and this device comprises:
Acquisition module 62, for obtaining reading hint information corresponding to document to be shown, the corresponding relation of many document contents fragment marks and reading model is comprised in this reading hint information, partial data content in the corresponding described document to be shown of described many document contents fragments mark, and partial data content corresponding to document content fragment identification in different corresponding relation is different;
Read module 66, for reading partial data content corresponding to document content fragment identification in every bar corresponding relation;
Display module 67, for showing the partial document read content according to the reading model that this partial document content is corresponding;
Further, this device also comprises:
Select module 64, for from the multiple reading hint information got for described document to be shown select one read hint information;
Accordingly, described read module 66, for reading partial data content corresponding to document content fragment identification in every bar corresponding relation of comprising in the reading hint information of selection;
Accordingly, described selection module 64, for according to the reading clue selection mode preset, for described document to be shown selects one to read hint information from the multiple reading hint information got; Or prompting user selects one to read hint information from described multiple reading hint information, reading hint information user chosen is as the reading hint information selected for described document to be shown;
Further, described selection module 64, also for determining the document display platform of current use, and is suitable for the reading hint information of the document display platform in multiple reading hint information; Select the reading hint information that this reading hint information uses as described document to be shown;
Further, this device also comprises:
Judge module 61, stores reading hint information corresponding to described document to be shown for judging whether;
Accordingly, described acquisition module 62, for when storing reading hint information corresponding to described document to be shown, obtains the reading hint information that described document to be shown is corresponding;
Further, described display module 67, time also for judging not store reading hint information corresponding to described document to be shown when described judge module, by the total data content of document to be shown, show according to the reading model of the document described to be shown preset;
Described read module 66, for according to the corresponding relation reading order preset, reads the partial data content that document content fragment identification in the corresponding relation and this corresponding relation comprised in described reading hint information is corresponding;
Corresponding described display module 67, for the reading order according to partial document content, shows the partial document content read according to the reading model that this partial document content is corresponding.
In sum, beneficial effect of the present invention:
Adopt method provided by the invention, according to the partial content in electronic document to be shown, can be respectively described partial content and set suitable reading model, namely each partial content all can set a kind of reading model being applicable to this partial content; When user reads this electronic document, read the reading model of application program corresponding to the partial content in electronic document to show this partial content, content in same electronic document can be shown with different reading models, avoid electronic document when showing, the problem that reading model is single; Partial document content simultaneously corresponding to reading model is all be arranged in order to read in clue, therefore also can accurate reading order, such as being arranged according to the reading model preset by audio or video file reads in clue, the particular location playing this audio or video can be determined, therefore reading application program can be used to play this audio or video file at assigned address, therefore can improve the reading experience effect of user.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (11)

1. an electronic document reading mode treatment method, is characterized in that, the method comprises:
Judge whether to store reading hint information corresponding to document to be shown;
When judging to store reading hint information corresponding to described document to be shown, obtain the reading hint information that document to be shown is corresponding, the corresponding relation of many document contents fragment marks and reading model is comprised in this reading hint information, partial data content in the corresponding described document to be shown of described many document contents fragments mark, and partial data content corresponding to document content fragment identification in different corresponding relation is different;
Read the partial data content that document content fragment identification in every bar corresponding relation is corresponding, and the partial document content read is shown according to the reading model that this partial document content is corresponding; Wherein, described reading model is: format reading model or streaming reading model or caricature reading model or multimedia pattern or animation play mode, and identical document content fragment identification can corresponding different reading model, and the reading model that different document content fragment identification can be corresponding different;
When judging not store reading hint information corresponding to described document to be shown, by the total data content of described document to be shown, show according to the reading model of the document described to be shown preset.
2. electronic document reading mode treatment method as claimed in claim 1, it is characterized in that, if get multiple reading hint information that document to be shown is corresponding, then, before reading partial data content corresponding to the document content fragment identification in every bar corresponding relation, the method comprises further:
For described document to be shown selects one to read hint information from the multiple reading hint information got;
The partial data content that document content fragment identification in described reading every bar corresponding relation is corresponding comprises:
The partial data content that document content fragment identification in the every bar corresponding relation comprised in the reading hint information that reading is selected is corresponding.
3. electronic document reading mode treatment method as claimed in claim 2, is characterized in that, selects one to read hint information comprise described multiple reading hint information from getting for described document to be shown:
According to the reading clue selection mode preset, for described document to be shown selects one to read hint information from the multiple reading hint information got; Or,
Prompting user selects one to read hint information from described multiple reading hint information, and reading hint information user chosen is as the reading hint information selected for described document to be shown.
4. electronic document reading mode treatment method as claimed in claim 3, is characterized in that, also comprise in described reading hint information this reading hint information the document display platform information that is suitable for; The reading clue selection mode that described basis presets, from the multiple reading hint information got, select one to read hint information for described document to be shown comprise:
Determine the document display platform of current use, and be suitable for the reading hint information of the document display platform in multiple reading hint information; Select the reading hint information that this reading hint information uses as described document to be shown.
5. electronic document reading mode treatment method as claimed in claim 1, it is characterized in that, the partial data content that the document content fragment identification in described reading every bar corresponding relation is corresponding comprises:
According to the corresponding relation reading order preset, read the partial data content that document content fragment identification in the corresponding relation and this corresponding relation comprised in described reading hint information is corresponding;
Describedly the partial document content read carried out display according to the reading model that this partial document content is corresponding comprise:
According to the reading order of partial document content, the partial document content read is shown according to the reading model that this partial document content is corresponding.
6. electronic document reading mode treatment method as claimed in claim 5, is characterized in that, described in the corresponding relation reading order that presets be:
The sequence of positions of corresponding relation in described reading hint information, or the numeric order of corresponding relation.
7. an electronic document reading mode treatment device, is characterized in that, this device comprises:
Judge module, stores reading hint information corresponding to document to be shown for judging whether;
Acquisition module, for when judging to store reading hint information corresponding to described document to be shown, obtain the reading hint information that document to be shown is corresponding, the corresponding relation of many document contents fragment marks and reading model is comprised in this reading hint information, partial data content in the corresponding described document to be shown of described many document contents fragments mark, and partial data content corresponding to document content fragment identification in different corresponding relation is different;
Read module, for reading partial data content corresponding to document content fragment identification in every bar corresponding relation;
Display module, for showing the partial document read content according to the reading model that this partial document content is corresponding; Wherein, described reading model is: format reading model or streaming reading model or caricature reading model or multimedia pattern or animation play mode, and identical document content fragment identification can corresponding different reading model, and different document content fragment identification can corresponding different reading model, and when described judge module judges not store reading hint information corresponding to described document to be shown, by the total data content of document to be shown, show according to the reading model of the document described to be shown preset.
8. electronic document reading mode treatment device as claimed in claim 7, it is characterized in that, this device also comprises:
Select module, if for getting multiple reading hint information corresponding to document to be shown, before reading partial data content corresponding to the document content fragment identification in every bar corresponding relation, for described document to be shown selects one to read hint information from the multiple reading hint information got;
Described read module, for reading partial data content corresponding to document content fragment identification in every bar corresponding relation of comprising in the reading hint information of selection.
9. electronic document reading mode treatment device as claimed in claim 8, it is characterized in that, described selection module, for according to the reading clue selection mode preset, for described document to be shown selects one to read hint information from the multiple reading hint information got; Or,
Prompting user selects one to read hint information from described multiple reading hint information, and reading hint information user chosen is as the reading hint information selected for described document to be shown.
10. electronic document reading mode treatment device as claimed in claim 9, is characterized in that, described selection module also for:
According to read in hint information the reading hint information that comprises the document display platform information that is suitable for, determine the document display platform of current use, and be suitable for the reading hint information of the document display platform in multiple reading hint information; Select the reading hint information that this reading hint information uses as described document to be shown.
11. electronic document reading mode treatment devices as claimed in claim 7, it is characterized in that, described read module, for according to the corresponding relation reading order preset, read the partial data content that document content fragment identification in the corresponding relation and this corresponding relation comprised in described reading hint information is corresponding;
Described display module, for the reading order according to partial document content, shows the partial document content read according to the reading model that this partial document content is corresponding.
CN201010621808.3A 2010-12-27 2010-12-27 Electronic document reading mode processing method and device Expired - Fee Related CN102541819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010621808.3A CN102541819B (en) 2010-12-27 2010-12-27 Electronic document reading mode processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010621808.3A CN102541819B (en) 2010-12-27 2010-12-27 Electronic document reading mode processing method and device

Publications (2)

Publication Number Publication Date
CN102541819A CN102541819A (en) 2012-07-04
CN102541819B true CN102541819B (en) 2015-03-04

Family

ID=46348745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010621808.3A Expired - Fee Related CN102541819B (en) 2010-12-27 2010-12-27 Electronic document reading mode processing method and device

Country Status (1)

Country Link
CN (1) CN102541819B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102890670B (en) * 2012-09-10 2015-11-25 北京京东世纪贸易有限公司 For reading the method and system switched between streaming reading method in format
US20140181097A1 (en) * 2012-12-20 2014-06-26 Microsoft Corporation Providing organized content
CN103353878A (en) * 2013-06-14 2013-10-16 陆昀 Method for displaying files of different file formats in webpage
TWI533194B (en) * 2014-05-07 2016-05-11 金舷國際文創事業有限公司 Methods for generating reflow-content electronic-book and website system thereof
KR101685106B1 (en) * 2015-02-09 2016-12-09 네이버 주식회사 Statistical data providing method and statistical data providing device
CN106802880B (en) * 2015-11-25 2020-12-04 创新先进技术有限公司 Electronic document content display and processing method and device
CN108228544B (en) * 2017-12-28 2019-03-29 掌阅科技股份有限公司 E-book reading parameter regulation means, electronic equipment and computer storage medium
CN109993738A (en) * 2019-03-31 2019-07-09 联想(北京)有限公司 A kind of processing method and electronic equipment
CN112001151B (en) * 2020-08-10 2023-12-19 青岛海尔科技有限公司 Method, device and equipment for displaying document
CN114035760B (en) * 2021-11-02 2023-03-24 珠海读书郎软件科技有限公司 Translation display system and method based on double-screen telephone watch

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101258461A (en) * 2005-09-09 2008-09-03 微软公司 Reading mode for electronic documents
CN101751379A (en) * 2008-12-02 2010-06-23 北大方正集团有限公司 Method and equipment for manufacturing electronic newspaper document

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006350867A (en) * 2005-06-17 2006-12-28 Ricoh Co Ltd Document processing device, method, program, and information storage medium
CN101308488B (en) * 2008-06-05 2010-06-02 北京大学 Document stream type information processing method based on format document and device therefor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101258461A (en) * 2005-09-09 2008-09-03 微软公司 Reading mode for electronic documents
CN101751379A (en) * 2008-12-02 2010-06-23 北大方正集团有限公司 Method and equipment for manufacturing electronic newspaper document

Also Published As

Publication number Publication date
CN102541819A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
CN102541819B (en) Electronic document reading mode processing method and device
US8977978B2 (en) Outline view
US8996981B2 (en) Managing forms in electronic documents
US9483808B2 (en) Display method and display device
US20110161792A1 (en) Producing interactive documents
US20150046797A1 (en) Document format processing apparatus and document format processing method
EP2291010A1 (en) Structure processing method and apparatus for layout file
CN105069060B (en) HTML document paging typesetting method
CN104079652B (en) A kind of making of HTML promotional literatures and player method
JP2014197341A (en) Electronic book production device, electronic book system, electronic book production method and program
US9286309B2 (en) Representation of last viewed or last modified portion of a document
CN105659584A (en) Customizing mobile media captioning based on mobile media rendering
CN105956133B (en) Method and device for displaying file on intelligent terminal
JP2012133663A (en) Viewer device, browsing system, viewer program and recording medium
CN106648349B (en) Information display method and device
Whittaker Producing for Web 2.0: a student guide
CN104768083B (en) A kind of video broadcasting method and device of chapters and sections content displaying
KR20140098929A (en) Web-based online e-book publishing method and system using user oriented self publishing tool
KR102087274B1 (en) Web electric document editing apparatus for rendering object and operating method thereof
KR101984058B1 (en) Template application system and method using the file format svg
JP2013522706A (en) System and method for automatic continuation symbols in electronic publications
CN111027280A (en) Method and system for generating and rendering digital publication and readable storage medium
JP2014171053A (en) Electronic document container data file, electronic document container data file generating apparatus, electronic document container data file generating program, server apparatus, and electronic document container data file generating method
CN102915654A (en) Digital document processing method and electronic reading device
JP5528410B2 (en) Viewer device, server device, display control method, electronic comic editing method and program

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
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: PEKING University FOUNDER R & D CENTER

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

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

Patentee before: PEKING University FOUNDER R & D CENTER

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150304