CN102541820B - A kind of multi-format composite document generates and methods of exhibiting and system - Google Patents

A kind of multi-format composite document generates and methods of exhibiting and system Download PDF

Info

Publication number
CN102541820B
CN102541820B CN201010622288.8A CN201010622288A CN102541820B CN 102541820 B CN102541820 B CN 102541820B CN 201010622288 A CN201010622288 A CN 201010622288A CN 102541820 B CN102541820 B CN 102541820B
Authority
CN
China
Prior art keywords
format
format data
data
displaying terminal
document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010622288.8A
Other languages
Chinese (zh)
Other versions
CN102541820A (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.)
Peking University
Founder International Beijing Co Ltd
Original Assignee
Peking University
Founder International Beijing 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 Peking University, Founder International Beijing Co Ltd filed Critical Peking University
Priority to CN201010622288.8A priority Critical patent/CN102541820B/en
Publication of CN102541820A publication Critical patent/CN102541820A/en
Application granted granted Critical
Publication of CN102541820B publication Critical patent/CN102541820B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a kind of multiple-format composite electron document structure tree and methods of exhibiting and system.The present invention is when generating electronic document, and document content is separated preservation with format data, and same document content adds the format data of the different format of some covers.When displaying terminal shows described electronic document, document content can carry out relevance switching between some cover format datas, and the focal position before approximate maintenance switching.The present invention not only achieves same document content and switches freely between many cover format datas, and bandwagon effect is good, and data redudancy is low, and the data volume of storage and transmission is little, and displaying terminal just can realize complex effects without the need to stronger layout capacity to be shown.

Description

A kind of multi-format composite document generates and methods of exhibiting and system
Technical field
The present invention relates to a kind of document structure tree and methods of exhibiting and system, especially relate to a kind of multiple-format composite electron document structure tree and methods of exhibiting and system.
Background technology
Document content refers to the information needing to be shown by format, comprises word, picture, figure, form etc.Format data refers to the data such as region, displaying configuration of expression content, as text importing size, word spacing.
In existing data for electronic documents, except comprising document content, format data store the following two kinds mode:
(1) the specific format data for certain concrete format is only comprised.
This type of document, when displaying terminal is shown, only just can carry out format reduction fast and accurately, under other format, then not possess above-mentioned characteristic under this concrete format.When showing under other format, or need the full document obtaining the specific format data simultaneously comprised under document content and this format, or depend on otherwise in-time generatin format data.
, at storage and transmission link, there is the drawbacks such as data volume is large, data redundancy, be unfavorable for the Internet Transmission of electronic document in the electronic document of this structure.
(2) format data is not comprised.
This type of document, when displaying terminal is shown, needs to depend on otherwise in-time generatin format data.The electronic document of this structure, in displaying link, the undue computing power relying on displaying terminal, causes problems such as cannot processing complex calculation, cannot respond fast.Such as, instant typesetting, fast response and complex effects cannot be carried out show at the mobile terminal that computing power is on the weak side.
Summary of the invention
For the defect existed in prior art, technical matters to be solved by this invention is to provide a kind of multiple-format composite electron document structure tree, methods of exhibiting and system, and the electronic document that the method generates can switch when showing between different format datas.
For solving the problems of the technologies described above, the technical solution used in the present invention is as follows:
A kind of multiple-format composite electron document structure tree method, described method is when generating electronic document, and document content is separated preservation with format data, and same document content adds the format data of the different format of some covers.
Multiple-format composite electron document structure tree method as above, wherein, described document content and format data are preserved and are kept in one file or respectively in different files, are associated by the unique identification of document content.
The multiple-format composite electron document display method that said method generates, when displaying terminal carries out electronic document displaying, document content can carry out relevance switching between some cover format datas, the focal position before approximate maintenance switches.
Whether multiple-format composite electron document display method as above, wherein, when carrying out format data and switching, if document content addition of corresponding format data and network can be used, then exist correction data by network to this format data of server lookup; If existed, then download this correction data, switch again after this format data is revised; If network is unavailable or there are not the correction data of this format data, then directly switch.
Multiple-format composite electron document display method as above, wherein, when carrying out format data and switching, if document content adds corresponding format data, network is unavailable and displaying terminal has generation format data ability, then in-time generatin format data.
Multiple-format composite electron document display method as above, wherein, when carrying out format data and switching, if the additional corresponding format data of document content and network can be used, then obtain corresponding format data by network from server, be attached in the document content; If the unavailable and displaying terminal of network does not have generate format data ability, then select the most similar format data in the format data added in the document content.
Multiple-format composite electron document display method as above, wherein, the process obtaining format data from server end is as follows:
(1) displaying terminal sends format data request to server end, and described request comprises the hardware configuration of displaying terminal, software for composing configuration and typesetting requirement;
(2) request of server end response displaying terminal, whether the format data searching displaying terminal request in file exists, if existed, is then returned to displaying terminal; If there is no, then file according to after the request in-time generatin format data of displaying terminal, and returned to displaying terminal.
Multiple-format composite electron document display method as above, in step (2), if server exists the format data of displaying terminal request, then searches the correction data whether existed this format data further; If existed, then return to displaying terminal after this format data being revised, or this format data and correction data are together returned to displaying terminal, revised voluntarily by displaying terminal.
Multiple-format composite electron document display method as above, wherein, the approximate method switching front focus position that keeps is as follows:
Record the content of pages of current page before the handover;
When carrying out format and switching, described content of pages is mapped in the current page in new format.
Multiple-format composite electron document display method as above, wherein, if the content of pages of current page can not be mapped completely in the one page in new format before switching, then can show the content of pages of current page according to one of following strategy: content perhaps perhaps selected in central region in the content of pages central-fore area comprising current page before switching.
Multiple-format composite electron document display method as above, wherein, when format data switches, keeps switching front to the operation based on document content.
A kind of multiple-format composite electron document display system, comprising:
Producing device, for making electronic document, in making electronic document process, document content is separated preservation with format data, and same document content can add some cover format datas;
Displaying terminal, for showing electronic document, in displaying electronic document process, document content can carry out relevance switching between some cover format datas, and the focal position before approximate maintenance switching.
Multiple-format composite electron document display system as above, wherein, displaying terminal also comprises the generation unit for in-time generatin format data.
Multiple-format composite electron document display system as above, is also comprised server, is connected by network with displaying terminal; Described displaying terminal also comprises asks for unit for what ask for format data to server;
The format data that described server is used for displaying terminal to ask for returns to displaying terminal, or returns to displaying terminal according to after the request in-time generatin format data of displaying terminal.
The method of the invention and system, by same document content being added the mode of many cover format datas, not only achieve same document content and switch freely between many cover format datas, and bandwagon effect is good, data redudancy is low, and the data volume of storage and transmission is little.By downloading the mode of format data from server, make displaying terminal just can realize complex effects without the need to stronger layout capacity and show.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of multiple-format composite electron document display system in embodiment;
Fig. 2 is the process flow diagram of multiple-format composite electron document display method in embodiment;
Fig. 3 is that in embodiment, displaying terminal obtains format data and revises the process flow diagram of data.
Embodiment
Describe the present invention below in conjunction with embodiment and Figure of description.
Embodiment 1
A kind of multiple-format composite electron document display system is described in present embodiment.As shown in Figure 1, this system comprises producing device 11, displaying terminal 12 and server 13.Displaying terminal 12 is specifically as follows the handheld device such as mobile phone, E-book reader.Multiple displaying terminal 12 is connected with server 13 by wired or wireless network.
Producing device 11 is for making electronic document, and in making electronic document process, document content is separated preservation with format data, and same document content can add some cover format datas.
Displaying terminal 12 is for showing electronic document, and in displaying electronic document process, document content can carry out relevance switching between some cover format datas, and the focal position before approximate maintenance switching.Wherein, generation unit 121 is for in-time generatin format data.Ask for unit 122 for asking for format data to server.
Server 13 returns to displaying terminal 12 for the format data asked for by displaying terminal 12, or according to after the request in-time generatin format data of displaying terminal, is returned to displaying terminal 12.
During embody rule, producing device 11 can be set to a part for server 13 or be connected with server 13, is issued by the electronic document made, download for displaying terminal 12 on server 13.
Embodiment 2
Present embodiment describes a kind of multiple-format composite electron document structure tree method, and the method is when generating electronic document, and document content is separated preservation with format data, and same document content adds the format data of the different format of some covers.
Concrete, document content and format data can be preserved in one file, are associated by the unique identification of document content.Also can document content and format data be kept in different files respectively, be associated by the unique identification of document content.Certainly, other modes can also be adopted to preserve.
Embodiment 3
Present embodiment describes the method adopting system demonstration multiple-format composite electron document described in embodiment 1.As shown in Figure 2, the method comprises the following steps:
(1) displaying terminal 12 is when carrying out multiple-format composite electron document display, first shows electronic document with a certain format.
(2) when needs switch format data time (as displaying terminal by vertical direction 90-degree rotation horizontally), displaying terminal 12 first obtains required format data, then record switching front focus position.
When switching format data, first search in the additional format data of this electronic document whether there is corresponding format data.If existed, then directly switch; If there is no, the unavailable and displaying terminal 12 of network has the generative capacity of required format data, then switch by after displaying terminal 12 in-time generatin format data; If there is no and network can use, then obtain required format data by network from server 13, and be attached in the document content; If the unavailable and displaying terminal of network does not have generate format data ability, then select the most similar format data in the format data added in the document content.
With reference to Fig. 3, the process obtaining required format data from server 13 is as follows:
1. displaying terminal 12 sends format data request to server 13, described request comprise displaying terminal hardware configuration, software for composing configuration and typesetting requirement.
Described hardware configuration comprises the information such as CPU, internal memory and screen resolution, and software merit rating comprises the configuring condition, layout capacity descriptor etc. of Rendering software.
2. server 13 responds the request of displaying terminal 12, and whether the format data searching displaying terminal 12 request in file exists, if existed, is then returned to displaying terminal 12; If there is no, then after the format data that in-time generatin displaying terminal 12 is asked, returned to displaying terminal 12, and the format data of in-time generatin is filed.Like this, when needing this format data next time, can obtain from file, thus improving the acquisition efficiency of format data.
Server 13 requires to generate corresponding format data according to the hardware configuration of displaying terminal 12, software for composing configuration and typesetting.If displaying terminal 12 does not have layout capacity, then return to this displaying terminal 12 after generating complete format data by server 13; If displaying terminal 12 has certain layout capacity, then server 13 only generate displaying terminal 12 can not the partial data of typesetting, remainingly can to process by displaying terminal 12, the data volume of format data can be reduced like this, improve the data transmission efficiency of displaying terminal 12 and server 13.
Preferably, if server exists the format data that displaying terminal 12 is asked in filing, the correction data whether existed this format data can also be searched further.If existed, then return to displaying terminal 12 after this format data being revised, also this format data and correction data together can be returned to displaying terminal 12, be revised voluntarily by displaying terminal 12.
Preferably, if there is corresponding format data in the format data that electronic document is additional and network can be used, also can arrive server 13 and inquire about the correction data that whether there is this format data, if existed, then after server 13 downloads correction data, this format data be revised.
(3) format data is switched, the focal position before approximate maintenance switches.
Switch front focus position and simply can be interpreted as the current page switched in front format, the some intervals (as word flow) in its corresponding content or object (as picture, form etc.).When carrying out format and switching, the content of pages of current page before record switches; According to these, interval and object conveniently can be mapped to its page after handover in format.In general, these contents may be distributed in multipage in format after handover, can according to must comprise switch before page front area content, central region content, selection the Different Strategies such as content, determine to switch current page in the front format corresponding page after handover in format, namely new focus.Given this, can be considered that " being similar to " maintains current focus position, this is also due to when reading, and the real reading " focus " of the reader uncertainty in Page Range determines.
When carrying out format and switching, can also the operation based on document content carried out under format before the handover of recorded electronic document, as selected word or other space of a whole page content object, generation document content label etc., when switching to other format, be mapped in new format.Like this, before the handover format can accurately remain in the format after switching the operation of document content.
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 technology thereof, then the present invention is also intended to comprise these change and modification.

Claims (9)

1. a multiple-format composite electron document display method, is characterized in that: described method is when generating electronic document, and document content is separated preservation with format data, and same document content adds the format data of the different format of some covers; When displaying terminal carries out electronic document displaying, document content can carry out relevance switching between some cover format datas, focal position before approximate maintenance switches, when carrying out format and switching, the operation based on document content that recorded electronic document carries out under format before the handover, when switching to other format, be mapped in new format; Wherein, described format data refers to the region of expression content and shows configuration data, comprises text importing size and word spacing;
When carrying out format data and switching, if document content addition of corresponding format data and network can be used, then whether there are correction data by network to this format data of server lookup; If existed, then download this correction data, switch again after this format data is revised; If network is unavailable or there are not the correction data of this format data, then directly switch;
When carrying out format data and switching, if document content adds corresponding format data, network is unavailable and displaying terminal has generation format data ability, then in-time generatin format data;
When carrying out format data and switching, if the additional corresponding format data of document content and network can be used, then obtain corresponding format data by network from server, be attached in the document content; If the unavailable and displaying terminal of network does not have generate format data ability, then select the most similar format data in the format data added in the document content.
2. multiple-format composite electron document display method as claimed in claim 1, it is characterized in that: described document content and format data are preserved in one file or document content and format data are kept in different files respectively, are associated by the unique identification of document content.
3. multiple-format composite electron document display method as claimed in claim 1, is characterized in that: the described process from server end acquisition format data is as follows:
(1) displaying terminal sends format data request to server end, and described request comprises the hardware configuration of displaying terminal, software for composing configuration and typesetting requirement;
(2) request of server end response displaying terminal, whether the format data searching displaying terminal request in file exists, if existed, is then returned to displaying terminal; If there is no, then file according to after the request in-time generatin format data of displaying terminal, and returned to displaying terminal.
4. multiple-format composite electron document display method as claimed in claim 3, is characterized in that: in step (2), if server exists the format data of displaying terminal request, then searches the correction data whether existed this format data further; If existed, then return to displaying terminal after this format data being revised, or this format data and correction data are together returned to displaying terminal, revised voluntarily by displaying terminal.
5. multiple-format composite electron document display method as claimed in claim 1, is characterized in that: the described approximate method switching front focus position that keeps is as follows:
Record the content of pages of current page before the handover;
When carrying out format and switching, described content of pages is mapped in the current page in new format.
6. multiple-format composite electron document display method as claimed in claim 5, it is characterized in that: if the content of pages of current page can not be mapped completely in the one page in new format before switching, then can show the content of pages of current page according to one of following strategy: perhaps perhaps selected content in central region in the content of pages central-fore area comprising current page before switching.
7. multiple-format composite electron document display method as claimed in claim 1, is characterized in that: when format data switches, and keeps switching front to the operation based on document content.
8. a multiple-format composite electron document display system, comprising:
Producing device (11), for making electronic document, in making electronic document process, document content is separated preservation with format data, and same document content can add some cover format datas; Described format data refers to the region of expression content and shows configuration data, comprises text importing size and word spacing;
Displaying terminal (12), for showing electronic document, in displaying electronic document process, document content can carry out relevance switching between some cover format datas, and the focal position before approximate maintenance switching is when carrying out format and switching, the operation based on document content that recorded electronic document carries out under format before the handover, when switching to other format, is mapped in new format;
Described system also comprises server (13), is connected with displaying terminal (12) by network; Described displaying terminal (12) also comprises asks for unit (122) for what ask for format data to server (13);
Described server (13) returns to displaying terminal (12) for the format data asked for by displaying terminal (12), or returns to displaying terminal (12) according to after the request in-time generatin format data of displaying terminal (12);
When carrying out format data and switching, if document content addition of corresponding format data and network can be used, then whether there are correction data by network to this format data of server lookup; If existed, then download this correction data, switch again after this format data is revised; If network is unavailable or there are not the correction data of this format data, then directly switch;
When carrying out format data and switching, if document content adds corresponding format data, network is unavailable and displaying terminal has generation format data ability, then in-time generatin format data;
When carrying out format data and switching, if the additional corresponding format data of document content and network can be used, then obtain corresponding format data by network from server, be attached in the document content; If the unavailable and displaying terminal of network does not have generate format data ability, then select the most similar format data in the format data added in the document content.
9. multiple-format composite electron document display system as claimed in claim 8, is characterized in that: described displaying terminal (12) also comprises the generation unit (121) for in-time generatin format data.
CN201010622288.8A 2010-12-27 2010-12-27 A kind of multi-format composite document generates and methods of exhibiting and system Active CN102541820B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010622288.8A CN102541820B (en) 2010-12-27 2010-12-27 A kind of multi-format composite document generates and methods of exhibiting and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010622288.8A CN102541820B (en) 2010-12-27 2010-12-27 A kind of multi-format composite document generates and methods of exhibiting and system

Publications (2)

Publication Number Publication Date
CN102541820A CN102541820A (en) 2012-07-04
CN102541820B true CN102541820B (en) 2015-08-05

Family

ID=46348746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010622288.8A Active CN102541820B (en) 2010-12-27 2010-12-27 A kind of multi-format composite document generates and methods of exhibiting and system

Country Status (1)

Country Link
CN (1) CN102541820B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103268309B (en) * 2013-06-05 2016-08-10 合肥华恒电子科技有限责任公司 Method for fusing and automatically adapting multi-row layout patterns of digital publication
WO2016201571A1 (en) * 2015-06-18 2016-12-22 Tylio Inc. System and method for generating an electronic page
CN107291763B (en) * 2016-04-05 2020-10-16 北大方正集团有限公司 Electronic document management method and management device
CN111090979B (en) * 2018-10-23 2021-10-26 北大方正集团有限公司 Layout linkage adjustment method, device and equipment and computer readable storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1680933A (en) * 2004-04-05 2005-10-12 中国电子技术标准化研究所 Document recording method meeting requirement of separation of form and content and mixed set simulataneously

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100356372C (en) * 2005-12-31 2007-12-19 无锡永中科技有限公司 Generating method of computer format document and opening method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1680933A (en) * 2004-04-05 2005-10-12 中国电子技术标准化研究所 Document recording method meeting requirement of separation of form and content and mixed set simulataneously

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于虚拟表示模型的Web页面模块化设计方法;熊茜等;《计算机应用》;20050228;第25卷(第2期);301-304,308 *

Also Published As

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

Similar Documents

Publication Publication Date Title
CN110750741B (en) Webpage link skipping processing method, computer device and storage medium
CN103377652B (en) A kind of method, device and equipment for carrying out speech recognition
CN110502298B (en) Method and equipment for providing update reminding information of electronic book
CN104753966A (en) Resource file inquiry method and system based on server and client caches
CN104424261A (en) Information exhibiting method and device based on electronic map
CN105549936B (en) Data table display method and device
CN102314486A (en) Method and equipment for browsing page
CN102541820B (en) A kind of multi-format composite document generates and methods of exhibiting and system
CN105843800A (en) DOI-based language information display method and device
CN109408696A (en) It is a kind of for search for boarding program method and apparatus
CN109359237A (en) It is a kind of for search for boarding program method and apparatus
CN104834645B (en) Method and apparatus for showing format document
US20160085874A1 (en) System and method to identify machine-readable codes
CN108021333A (en) The system of random read-write data, device and method
US8156162B2 (en) Storage method and search method for mark event on two-dimensional space
CN103577544A (en) Method and device for providing information to be sent
CN113992658A (en) Data transmission method and related device, equipment, system and storage medium
CN110502299B (en) Method and equipment for providing novel information
US20160315997A1 (en) File transfer method, device, and system
CN103034734A (en) File storage and inquiry agency and information searching method and system
JP2007114942A (en) Metadata generation apparatus and metadata generation method
CN103377246B (en) Bookmark processing method and terminal browser
CN104980464A (en) Network request processing method, network server and network system
CN111460765B (en) Electronic book labeling processing method, electronic equipment and storage medium
CN105404672A (en) Webpage data storage and operation system and 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